diff --git a/Dependencies/Readme.txt b/Dependencies/Readme.txt index 53283067..3904f2e0 100644 --- a/Dependencies/Readme.txt +++ b/Dependencies/Readme.txt @@ -3,18 +3,20 @@ dependencies for OpenTK. These are meant for your convenience and are completely optional to use. The folder structure is split by CPU architecture: +Dependencies/license - license files +Dependencies/managed - .Net assemblies compiled for AnyCPU Dependencies/x86/ - compiled for 32bit Intel and AMD processors Dependencies/x64/ - compiled for 64bit Intel and AMD processors -Dependencies/ - contains readme and license files -The dependencies are as follows: +To deploy a dependency, simply copy it to your application directory, along with the relevant license file. + +Detailed instructions follow. [SDL2.dll] [libSDL2.dylib] -The Simple DirectMedia Library compiled for Windows and Mac OS X. -Copy these to your application directory in order to use the SDL2 +The Simple DirectMedia Library compiled for Windows and Mac OS X. Copy to your application directory in order to enable the SDL2 platform backend for OpenTK. http://libsdl.org @@ -55,15 +57,25 @@ Linux and Mac OS X support OpenAL out of the box. [libGLESv2.dll] [d3dcompiler_46.dll] -ANGLE Project compiled for Windows. Copy these to your application -directory in order to use OpenGL ES 2.0 on Windows. +ANGLE Project compiled for Windows. Copy these to your application directory in order to use OpenGL ES 2.0 on Windows. https://code.google.com/p/angleproject/ -"The goal of ANGLE is to allow Windows users to seamlessly run WebGL -and other OpenGL ES 2.0 content by translating OpenGL ES 2.0 API -calls to DirectX 9 or DirectX 11 API calls." +"The goal of ANGLE is to allow Windows users to seamlessly run WebGL and other OpenGL ES 2.0 content by translating OpenGL ES 2.0 API calls to DirectX 9 or DirectX 11 API calls." -These are required if you wish to publish an OpenGL ES application -to the Windows Store. You can also use these in order to port or test -OpenGL ES code from and to mobile devices (Android, iPhone). +These are required if you wish to publish an OpenGL ES application to the Windows Store. You can also use these in order to port or test OpenGL ES code from and to mobile devices (Android, iPhone). + + +[monolinker] + +Mono Linker project. Use this to reduce the size of OpenTK.dll. + +http://www.mono-project.com/Linker + +"The linker is a tool one can use to only ship the minimal possible set of functions that a set of programs might require to run as opposed to the full libraries." + +Execute as follows: + +monolinker.exe -a YourApplication.exe + +where "YourApplication.exe" is the name of your application binary. This command will create a new folder "output/" with a copy of your application and optimized version of OpenTK.dll and any other dll your application is using. \ No newline at end of file diff --git a/Dependencies/SDL2.COPYING.txt b/Dependencies/license/SDL2.COPYING.txt similarity index 100% rename from Dependencies/SDL2.COPYING.txt rename to Dependencies/license/SDL2.COPYING.txt diff --git a/Dependencies/angle.COPYING.txt b/Dependencies/license/angle.COPYING.txt similarity index 100% rename from Dependencies/angle.COPYING.txt rename to Dependencies/license/angle.COPYING.txt diff --git a/Dependencies/license/cecil.COPYING.txt b/Dependencies/license/cecil.COPYING.txt new file mode 100644 index 00000000..44f424ff --- /dev/null +++ b/Dependencies/license/cecil.COPYING.txt @@ -0,0 +1,19 @@ +Copyright (c) 2008 - 2011, Jb Evain + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. \ No newline at end of file diff --git a/Dependencies/d3dcompiler.COPYING.txt b/Dependencies/license/d3dcompiler.COPYING.txt similarity index 100% rename from Dependencies/d3dcompiler.COPYING.txt rename to Dependencies/license/d3dcompiler.COPYING.txt diff --git a/Dependencies/license/ikvm.COPYING.txt b/Dependencies/license/ikvm.COPYING.txt new file mode 100644 index 00000000..b7081146 --- /dev/null +++ b/Dependencies/license/ikvm.COPYING.txt @@ -0,0 +1,20 @@ +Copyright (C) 2002-2012 Jeroen Frijters + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. + +Jeroen Frijters +jeroen@frijters.net \ No newline at end of file diff --git a/Dependencies/license/monolinker.COPYING.txt b/Dependencies/license/monolinker.COPYING.txt new file mode 100644 index 00000000..921d6cff --- /dev/null +++ b/Dependencies/license/monolinker.COPYING.txt @@ -0,0 +1,21 @@ +Copyright (c) 2007 Novell, Inc and the individuals listed on the +ChangeLog entries. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/Dependencies/openal.COPYING.txt b/Dependencies/license/openal.COPYING.txt similarity index 100% rename from Dependencies/openal.COPYING.txt rename to Dependencies/license/openal.COPYING.txt diff --git a/Dependencies/managed/IKVM.Reflection.dll b/Dependencies/managed/IKVM.Reflection.dll new file mode 100644 index 00000000..c2b777cc Binary files /dev/null and b/Dependencies/managed/IKVM.Reflection.dll differ diff --git a/Dependencies/managed/Mono.Cecil.Mdb.dll b/Dependencies/managed/Mono.Cecil.Mdb.dll new file mode 100644 index 00000000..6417dfdd Binary files /dev/null and b/Dependencies/managed/Mono.Cecil.Mdb.dll differ diff --git a/Dependencies/managed/Mono.Cecil.Pdb.dll b/Dependencies/managed/Mono.Cecil.Pdb.dll new file mode 100644 index 00000000..d778f8e9 Binary files /dev/null and b/Dependencies/managed/Mono.Cecil.Pdb.dll differ diff --git a/Dependencies/managed/Mono.Cecil.Rocks.dll b/Dependencies/managed/Mono.Cecil.Rocks.dll new file mode 100644 index 00000000..06b14562 Binary files /dev/null and b/Dependencies/managed/Mono.Cecil.Rocks.dll differ diff --git a/Dependencies/managed/Mono.Cecil.dll b/Dependencies/managed/Mono.Cecil.dll new file mode 100644 index 00000000..c24af9c3 Binary files /dev/null and b/Dependencies/managed/Mono.Cecil.dll differ diff --git a/Dependencies/managed/monolinker.exe b/Dependencies/managed/monolinker.exe new file mode 100644 index 00000000..6870bc26 Binary files /dev/null and b/Dependencies/managed/monolinker.exe differ diff --git a/OpenTK.sln b/OpenTK.sln index 87d97d46..a4dfcd63 100644 --- a/OpenTK.sln +++ b/OpenTK.sln @@ -1,4 +1,4 @@ - + Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 2013 VisualStudioVersion = 12.0.21005.1 @@ -6,6 +6,7 @@ MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenTK", "Source\OpenTK\OpenTK.csproj", "{A37A7E14-0000-0000-0000-000000000000}" ProjectSection(ProjectDependencies) = postProject {75DC22B1-113F-4A66-96B9-2FF8208C10E8} = {75DC22B1-113F-4A66-96B9-2FF8208C10E8} + {C426C9D1-8857-4E52-BAC7-4C05EE6070AB} = {C426C9D1-8857-4E52-BAC7-4C05EE6070AB} EndProjectSection EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenTK.Compatibility", "Source\Compatibility\OpenTK.Compatibility.csproj", "{62C0DB35-0000-0000-0000-000000000000}" @@ -33,6 +34,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Build.Installer.Nuget", "In {75DC22B1-113F-4A66-96B9-2FF8208C10E8} = {75DC22B1-113F-4A66-96B9-2FF8208C10E8} EndProjectSection EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Generator.Rewrite", "Source\Generator.Rewrite\Generator.Rewrite.csproj", "{C426C9D1-8857-4E52-BAC7-4C05EE6070AB}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -111,11 +114,14 @@ Global {ADC34399-7613-44D2-90B2-19250F06FE7B}.Nsis|Any CPU.ActiveCfg = Nsis|Any CPU {ADC34399-7613-44D2-90B2-19250F06FE7B}.Nsis|Any CPU.Build.0 = Nsis|Any CPU {ADC34399-7613-44D2-90B2-19250F06FE7B}.Release|Any CPU.ActiveCfg = Release|Any CPU - {ADC34399-7613-44D2-90B2-19250F12FE7B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {ADC34399-7613-44D2-90B2-19250F12FE7B}.Documentation|Any CPU.ActiveCfg = Documentation|Any CPU - {ADC34399-7613-44D2-90B2-19250F12FE7B}.Nsis|Any CPU.ActiveCfg = Nsis|Any CPU - {ADC34399-7613-44D2-90B2-19250F12FE7B}.Nsis|Any CPU.Build.0 = Nsis|Any CPU - {ADC34399-7613-44D2-90B2-19250F12FE7B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C426C9D1-8857-4E52-BAC7-4C05EE6070AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C426C9D1-8857-4E52-BAC7-4C05EE6070AB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C426C9D1-8857-4E52-BAC7-4C05EE6070AB}.Documentation|Any CPU.ActiveCfg = Debug|Any CPU + {C426C9D1-8857-4E52-BAC7-4C05EE6070AB}.Documentation|Any CPU.Build.0 = Debug|Any CPU + {C426C9D1-8857-4E52-BAC7-4C05EE6070AB}.Nsis|Any CPU.ActiveCfg = Release|Any CPU + {C426C9D1-8857-4E52-BAC7-4C05EE6070AB}.Nsis|Any CPU.Build.0 = Release|Any CPU + {C426C9D1-8857-4E52-BAC7-4C05EE6070AB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C426C9D1-8857-4E52-BAC7-4C05EE6070AB}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/Source/Bind/CSharpSpecWriter.cs b/Source/Bind/CSharpSpecWriter.cs index b5c81bff..daf82092 100644 --- a/Source/Bind/CSharpSpecWriter.cs +++ b/Source/Bind/CSharpSpecWriter.cs @@ -77,8 +77,6 @@ namespace Bind Directory.CreateDirectory(Settings.OutputPath); string temp_enums_file = Path.GetTempFileName(); - string temp_delegates_file = Path.GetTempFileName(); - string temp_core_file = Path.GetTempFileName(); string temp_wrappers_file = Path.GetTempFileName(); // Enums @@ -114,43 +112,6 @@ namespace Bind sw.WriteLine("}"); } - // Delegates - using (BindStreamWriter sw = new BindStreamWriter(temp_delegates_file)) - { - WriteLicense(sw); - sw.WriteLine("namespace {0}", Settings.OutputNamespace); - sw.WriteLine("{"); - sw.Indent(); - - sw.WriteLine("using System;"); - sw.WriteLine("using System.Text;"); - sw.WriteLine("using System.Runtime.InteropServices;"); - - sw.WriteLine("#pragma warning disable 0649"); - WriteDelegates(sw, delegates); - - sw.Unindent(); - sw.WriteLine("}"); - } - - // Core - using (BindStreamWriter sw = new BindStreamWriter(temp_core_file)) - { - WriteLicense(sw); - sw.WriteLine("namespace {0}", Settings.OutputNamespace); - sw.WriteLine("{"); - sw.Indent(); - //specWriter.WriteTypes(sw, Bind.Structures.Type.CSTypes); - sw.WriteLine("using System;"); - sw.WriteLine("using System.Text;"); - sw.WriteLine("using System.Runtime.InteropServices;"); - - WriteImports(sw, delegates); - - sw.Unindent(); - sw.WriteLine("}"); - } - // Wrappers using (BindStreamWriter sw = new BindStreamWriter(temp_wrappers_file)) { @@ -163,7 +124,7 @@ namespace Bind sw.WriteLine("using System.Text;"); sw.WriteLine("using System.Runtime.InteropServices;"); - WriteWrappers(sw, wrappers, enums, Generator.CSTypes); + WriteWrappers(sw, wrappers, delegates, enums, Generator.CSTypes); sw.Unindent(); sw.WriteLine("}"); @@ -180,115 +141,47 @@ namespace Bind if (File.Exists(output_wrappers)) File.Delete(output_wrappers); File.Move(temp_enums_file, output_enums); - File.Move(temp_delegates_file, output_delegates); - File.Move(temp_core_file, output_core); File.Move(temp_wrappers_file, output_wrappers); } #endregion - #region WriteDelegates - - void WriteDelegates(BindStreamWriter sw, DelegateCollection delegates) - { - Trace.WriteLine(String.Format("Writing delegates to:\t{0}.{1}.{2}", Settings.OutputNamespace, Settings.OutputClass, Settings.DelegatesClass)); - - sw.WriteLine("#pragma warning disable 3019"); // CLSCompliant attribute - sw.WriteLine("#pragma warning disable 1591"); // Missing doc comments - - sw.WriteLine(); - sw.WriteLine("partial class {0}", Settings.OutputClass); - sw.WriteLine("{"); - sw.Indent(); - - sw.WriteLine("internal static partial class {0}", Settings.DelegatesClass); - sw.WriteLine("{"); - sw.Indent(); - - foreach (var overloads in delegates.Values) - { - // Generate only one delegate per entry point.. - // Overloads are only used for wrapper generation, - // so ignore them. - var d = overloads.First(); - - sw.WriteLine("[System.Security.SuppressUnmanagedCodeSecurity()]"); - sw.WriteLine("internal {0};", GetDeclarationString(d, true)); - sw.WriteLine("internal {0}static {2} {1}{2};", // = null - d.Unsafe ? "unsafe " : "", - Settings.FunctionPrefix, - d.Name); - } - - sw.Unindent(); - sw.WriteLine("}"); - - sw.Unindent(); - sw.WriteLine("}"); - } - - #endregion - - #region WriteImports - - public void WriteImports(BindStreamWriter sw, DelegateCollection delegates) - { - Trace.WriteLine(String.Format("Writing imports to:\t{0}.{1}.{2}", Settings.OutputNamespace, Settings.OutputClass, Settings.ImportsClass)); - - sw.WriteLine("#pragma warning disable 3019"); // CLSCompliant attribute - sw.WriteLine("#pragma warning disable 1591"); // Missing doc comments - - sw.WriteLine(); - sw.WriteLine("partial class {0}", Settings.OutputClass); - sw.WriteLine("{"); - sw.Indent(); - sw.WriteLine(); - sw.WriteLine("internal static partial class {0}", Settings.ImportsClass); - sw.WriteLine("{"); - sw.Indent(); - //sw.WriteLine("static {0}() {1} {2}", Settings.ImportsClass, "{", "}"); // Disable BeforeFieldInit - sw.WriteLine(); - foreach (var overloads in delegates.Values) - { - var d = overloads.First(); // generate only 1 DllImport per entry point - sw.WriteLine("[System.Security.SuppressUnmanagedCodeSecurity()]"); - sw.WriteLine( - "[System.Runtime.InteropServices.DllImport({0}.Library, EntryPoint = \"{1}{2}\"{3})]", - Settings.OutputClass, - Settings.FunctionPrefix, - d.EntryPoint, - d.EntryPoint.EndsWith("W") || d.EntryPoint.EndsWith("A") ? ", CharSet = CharSet.Auto" : ", ExactSpelling = true" - ); - sw.WriteLine("internal extern static {0};", GetDeclarationString(d, false)); - } - sw.Unindent(); - sw.WriteLine("}"); - sw.Unindent(); - sw.WriteLine("}"); - } - - #endregion - #region WriteWrappers - void WriteWrappers(BindStreamWriter sw, FunctionCollection wrappers, EnumCollection enums, IDictionary CSTypes) + void WriteWrappers(BindStreamWriter sw, FunctionCollection wrappers, + DelegateCollection delegates, EnumCollection enums, + IDictionary CSTypes) { Trace.WriteLine(String.Format("Writing wrappers to:\t{0}.{1}", Settings.OutputNamespace, Settings.OutputClass)); - sw.WriteLine("#pragma warning disable 3019"); // CLSCompliant attribute - sw.WriteLine("#pragma warning disable 1591"); // Missing doc comments - sw.WriteLine("#pragma warning disable 1572"); // Wrong param comments - sw.WriteLine("#pragma warning disable 1573"); // Missing param comments + sw.WriteLine("#pragma warning disable 3019"); // CLSCompliant attribute + sw.WriteLine("#pragma warning disable 1591"); // Missing doc comments + sw.WriteLine("#pragma warning disable 1572"); // Wrong param comments + sw.WriteLine("#pragma warning disable 1573"); // Missing param comments + sw.WriteLine("#pragma warning disable 626"); // extern method without DllImport sw.WriteLine(); sw.WriteLine("partial class {0}", Settings.OutputClass); sw.WriteLine("{"); - sw.Indent(); - //sw.WriteLine("static {0}() {1} {2}", className, "{", "}"); // Static init in GLHelper.cs + + // Write constructor + sw.WriteLine("static {0}()", Settings.OutputClass); + sw.WriteLine("{"); + sw.Indent(); + sw.WriteLine("EntryPointNames = new string[]", delegates.Count); + sw.WriteLine("{"); + sw.Indent(); + foreach (var d in delegates.Values.Select(d => d.First())) + sw.WriteLine("\"{0}{1}\",", Settings.FunctionPrefix, d.Name); + sw.Unindent(); + sw.WriteLine("};"); + sw.WriteLine("EntryPoints = new IntPtr[EntryPointNames.Length];"); + sw.Unindent(); + sw.WriteLine("}"); sw.WriteLine(); - int current = 0; + int current_wrapper = 0; foreach (string key in wrappers.Keys) { if (((Settings.Compatibility & Settings.Legacy.NoSeparateFunctionNamespaces) == Settings.Legacy.None) && key != "Core") @@ -309,7 +202,8 @@ namespace Bind wrappers[key].Sort(); foreach (Function f in wrappers[key]) { - current = WriteWrapper(sw, current, f, enums); + WriteWrapper(sw, f, enums); + current_wrapper++; } if (((Settings.Compatibility & Settings.Legacy.NoSeparateFunctionNamespaces) == Settings.Legacy.None) && key != "Core") @@ -319,28 +213,36 @@ namespace Bind sw.WriteLine(); } } + + // Emit native signatures. + // These are required by the patcher. + int current_signature = 0; + foreach (var d in wrappers.Values.SelectMany(e => e).Select(w => w.WrappedDelegate).Distinct()) + { + sw.WriteLine("[Slot({0})]", d.Slot); + sw.WriteLine("[DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)]"); + sw.WriteLine("static extern {0};", GetDeclarationString(d, false)); + current_signature++; + } + sw.Unindent(); sw.WriteLine("}"); + + Console.WriteLine("Wrote {0} wrappers for {1} signatures", current_wrapper, current_signature); } - int WriteWrapper(BindStreamWriter sw, int current, Function f, EnumCollection enums) + void WriteWrapper(BindStreamWriter sw, Function f, EnumCollection enums) { if ((Settings.Compatibility & Settings.Legacy.NoDocumentation) == 0) { - string text = String.Format("Writing function #{0}: {1}", current++, f.ToString()); - ConsoleRewrite(text); - WriteDocumentation(sw, f); } WriteMethod(sw, f, enums); sw.WriteLine(); - return current; } private void WriteMethod(BindStreamWriter sw, Function f, EnumCollection enums) { - CreateBody(f, enums); - if (!String.IsNullOrEmpty(f.Obsolete)) { sw.WriteLine("[Obsolete(\"{0}\")]", f.Obsolete); @@ -357,9 +259,7 @@ namespace Bind sw.WriteLine("[AutoGenerated(Category = \"{0}\", Version = \"{1}\", EntryPoint = \"{2}\")]", f.Category, f.Version, Settings.FunctionPrefix + f.WrappedDelegate.EntryPoint); - sw.WriteLine("public static "); - sw.Write(GetDeclarationString(f)); - sw.WriteLine(); + sw.WriteLine("public static extern {0};", GetDeclarationString(f, Settings.Compatibility)); } DocProcessor processor_; @@ -524,9 +424,6 @@ namespace Bind int current = 0; foreach (Enum @enum in enums.Values) { - string text = String.Format("Writing enum #{0}: {1}", current++, @enum.Name); - ConsoleRewrite(text); - if (!Settings.IsEnabled(Settings.Legacy.NoDocumentation)) { // Document which functions use this enum. @@ -609,302 +506,6 @@ namespace Bind return enums.ContainsKey(s); } - void CreateBody(Function func, EnumCollection enums) - { - Function f = new Function(func); - f.Body.Clear(); - - var handle_statements = new List(); - var handle_release_statements = new List(); - var fixed_statements = new List(); - var assign_statements = new List(); - var declaration_statements = new List(); - - // Obtain pointers by pinning the parameters - int index = -1; - foreach (Parameter p in f.Parameters) - { - index++; - if (p.NeedsPin) - { - if (p.WrapperType == WrapperTypes.GenericParameter) - { - // Use GCHandle to obtain pointer to generic parameters and 'fixed' for arrays. - // This is because fixed can only take the address of fields, not managed objects. - handle_statements.Add(String.Format( - "{0} {1}_ptr = {0}.Alloc({1}, GCHandleType.Pinned);", - "GCHandle", p.Name)); - - handle_release_statements.Add(String.Format("{0}_ptr.Free();", p.Name)); - - // Due to the GCHandle-style pinning (which boxes value types), we need to assign the modified - // value back to the reference parameter (but only if it has an out or in/out flow direction). - if ((p.Flow == FlowDirection.Out || p.Flow == FlowDirection.Undefined) && p.Reference) - { - assign_statements.Add(String.Format( - "{0} = ({1}){0}_ptr.Target;", - p.Name, p.QualifiedType)); - } - } - else if (p.WrapperType == WrapperTypes.PointerParameter || - p.WrapperType == WrapperTypes.ArrayParameter || - p.WrapperType == WrapperTypes.ReferenceParameter) - { - // A fixed statement is issued for all non-generic pointers, arrays and references. - fixed_statements.Add(String.Format( - "fixed ({0}{3} {1} = {2})", - p.QualifiedType, - p.Name + "_ptr", - p.Array > 0 ? p.Name : "&" + p.Name, - pointer_levels[p.IndirectionLevel])); - - // Arrays are not value types, so we don't need to do anything for them. - // Pointers are passed directly by value, so we don't need to assign them back either (they don't change). - if ((p.Flow == FlowDirection.Out || p.Flow == FlowDirection.Undefined) && p.Reference) - { - assign_statements.Add(String.Format("{0} = *{0}_ptr;", p.Name)); - } - } - else if (p.WrapperType == WrapperTypes.None) - { - // do nothing - } - else - { - throw new ApplicationException(String.Format( - "Unknown wrapper type '{0}', code generation failed", - p.WrapperType)); - } - } - else if (p.WrapperType == WrapperTypes.ConvenienceArrayType) - { - var p_array = f.WrappedDelegate.Parameters[f.WrappedDelegate.Parameters.Count - 1]; - var p_size = f.WrappedDelegate.Parameters[f.WrappedDelegate.Parameters.Count - 2]; - declaration_statements.Add(String.Format( - "const {0} = 1;", - GetDeclarationString(p_size, false))); - declaration_statements.Add(String.Format("{0}_ptr = ({1})&{2};", - GetDeclarationString(p_array, false), - GetDeclarationString(p_array as Type), - p.Name)); - } - - p.QualifiedType = f.WrappedDelegate.Parameters[index].QualifiedType; - } - - if (f.ReturnType.WrapperType == WrapperTypes.ConvenienceReturnType || - f.ReturnType.WrapperType == WrapperTypes.ConvenienceArrayReturnType) - { - var r = f.ReturnType; - var p = f.WrappedDelegate.Parameters.Last(); - if (r.WrapperType == WrapperTypes.ConvenienceArrayReturnType) - { - var p_size = f.WrappedDelegate.Parameters[f.WrappedDelegate.Parameters.Count - 2]; - declaration_statements.Add(String.Format( - "const {0} = 1;", - GetDeclarationString(p_size, false))); - } - declaration_statements.Add(String.Format("{0} retval;", GetDeclarationString(r))); - declaration_statements.Add(String.Format("{0}{2} {1}_ptr = &retval;", - GetDeclarationString(r), - p.Name, - pointer_levels[p.IndirectionLevel])); - } - - f.Body.Indent(); - - // Automatic OpenGL error checking. - // See OpenTK.Graphics.ErrorHelper for more information. - // Make sure that no error checking is added to the GetError function, - // as that would cause infinite recursion! - if ((Settings.Compatibility & Settings.Legacy.NoDebugHelpers) == 0) - { - if (f.TrimmedName != "GetError") - { - f.Body.Add("#if DEBUG"); - f.Body.Add("using (new ErrorHelper(GraphicsContext.CurrentContext))"); - f.Body.Add("{"); - if (f.TrimmedName == "Begin") - f.Body.Add("GraphicsContext.CurrentContext.ErrorChecking = false;"); - f.Body.Add("#endif"); - } - } - - bool add_unsafe = !f.Unsafe && - (fixed_statements.Count > 0 || declaration_statements.Count > 0); - if (add_unsafe) - { - f.Body.Add("unsafe"); - f.Body.Add("{"); - f.Body.Indent(); - } - - if (declaration_statements.Count > 0) - { - f.Body.AddRange(declaration_statements); - } - - if (fixed_statements.Count > 0) - { - f.Body.AddRange(fixed_statements); - f.Body.Add("{"); - f.Body.Indent(); - } - - if (handle_statements.Count > 0) - { - f.Body.AddRange(handle_statements); - f.Body.Add("try"); - f.Body.Add("{"); - f.Body.Indent(); - } - - // Hack: When creating untyped enum wrappers, it is possible that the wrapper uses an "All" - // enum, while the delegate uses a specific enum (e.g. "TextureUnit"). For this reason, we need - // to modify the parameters before generating the call string. - // Note: We cannot generate a callstring using WrappedDelegate directly, as its parameters will - // typically be different than the parameters of the wrapper. We need to modify the parameters - // of the wrapper directly. - if ((Settings.Compatibility & Settings.Legacy.KeepUntypedEnums) != 0) - { - int parameter_index = -1; // Used for comparing wrapper parameters with delegate parameters - foreach (Parameter p in f.Parameters) - { - parameter_index++; - if (IsEnum(p.Name, enums) && p.QualifiedType != f.WrappedDelegate.Parameters[parameter_index].QualifiedType) - { - p.QualifiedType = f.WrappedDelegate.Parameters[parameter_index].QualifiedType; - } - } - } - - if (assign_statements.Count > 0) - { - // Call function - var callstring = GetInvocationString(f); - if (func.Parameters.Any(p => p.WrapperType == WrapperTypes.ConvenienceArrayType)) - { - // foo(int id) { foo(1, ref id) } - callstring = GetInvocationString(f.WrappedDelegate); - f.Body.Add(String.Format("{0}{1};", - f.ReturnType.CurrentType.ToLower().Contains("void") ? String.Empty : "return ", - callstring)); - } - else if (f.ReturnType.CurrentType.ToLower().Contains("void")) - { - f.Body.Add(String.Format("{0};", callstring)); - } - else if (func.ReturnType.WrapperType == WrapperTypes.ConvenienceReturnType || - func.ReturnType.WrapperType == WrapperTypes.ConvenienceArrayReturnType) - { - // int foo() { int value; foo(1, &value); retval = value } - callstring = GetInvocationString(f.WrappedDelegate); - var p = f.WrappedDelegate.Parameters.Last(); - f.Body.Add(String.Format("{0};", callstring)); - f.Body.Add(String.Format( - "retval = {0}{1};", - pointer_levels[p.IndirectionLevel], - p.Name)); - } - else if (func.ReturnType.CurrentType.ToLower().Contains("string")) - { - f.Body.Add(String.Format("{0} {1} = null; unsafe {{ {1} = new string((sbyte*){2}); }}", - func.ReturnType.QualifiedType, "retval", callstring)); - } - else - { - f.Body.Add(String.Format("{0} {1} = {2};", - GetDeclarationString(f.ReturnType), "retval", callstring)); - } - - // Assign out parameters - f.Body.AddRange(assign_statements); - - // Return - if (!f.ReturnType.CurrentType.ToLower().Contains("void")) - { - f.Body.Add("return retval;"); - } - } - else - { - // Call function and return - var callstring = GetInvocationString(f); - if (func.Parameters.Any(p => p.WrapperType == WrapperTypes.ConvenienceArrayType)) - { - // int foo(int id) { return foo(1, ref id) } - callstring = GetInvocationString(f.WrappedDelegate); - f.Body.Add(String.Format("{0}{1};", - f.ReturnType.CurrentType.ToLower().Contains("void") ? String.Empty : "return ", - callstring)); - } - else if (f.ReturnType.CurrentType.ToLower().Contains("void")) - { - f.Body.Add(String.Format("{0};", callstring)); - } - else if (func.ReturnType.WrapperType == WrapperTypes.ConvenienceReturnType || - func.ReturnType.WrapperType == WrapperTypes.ConvenienceArrayReturnType) - { - // int foo() { int retval; foo(1, &retval); return retval } - callstring = GetInvocationString(f.WrappedDelegate); - f.Body.Add(String.Format("{0};", callstring)); - f.Body.Add(String.Format("return retval;")); - } - else if (func.ReturnType.CurrentType.ToLower().Contains("string")) - { - f.Body.Add(String.Format("unsafe {{ return new string((sbyte*){0}); }}", - callstring)); - } - else - { - f.Body.Add(String.Format("return {0};", callstring)); - } - } - - // Free all allocated GCHandles - if (handle_statements.Count > 0) - { - f.Body.Unindent(); - f.Body.Add("}"); - f.Body.Add("finally"); - f.Body.Add("{"); - f.Body.Indent(); - - f.Body.AddRange(handle_release_statements); - - f.Body.Unindent(); - f.Body.Add("}"); - } - - if (add_unsafe) - { - f.Body.Unindent(); - f.Body.Add("}"); - } - - if (fixed_statements.Count > 0) - { - f.Body.Unindent(); - f.Body.Add("}"); - } - - if ((Settings.Compatibility & Settings.Legacy.NoDebugHelpers) == 0) - { - if (f.TrimmedName != "GetError") - { - f.Body.Add("#if DEBUG"); - if (f.TrimmedName == "End") - f.Body.Add("GraphicsContext.CurrentContext.ErrorChecking = true;"); - f.Body.Add("}"); - f.Body.Add("#endif"); - } - } - - f.Body.Unindent(); - - func.Body = f.Body; - } - string GetDeclarationString(Constant c) { if (String.IsNullOrEmpty(c.Name)) @@ -928,10 +529,11 @@ namespace Bind sb.Append(d.Unsafe ? "unsafe " : ""); if (is_delegate) sb.Append("delegate "); - sb.Append(GetDeclarationString(d.ReturnType)); + sb.Append(GetDeclarationString(d.ReturnType, Settings.Legacy.ConstIntEnums)); sb.Append(" "); + sb.Append(Settings.FunctionPrefix); sb.Append(d.Name); - sb.Append(GetDeclarationString(d.Parameters)); + sb.Append(GetDeclarationString(d.Parameters, Settings.Legacy.ConstIntEnums)); return sb.ToString(); } @@ -969,12 +571,12 @@ namespace Bind return sb.ToString(); } - string GetDeclarationString(Function f) + string GetDeclarationString(Function f, Settings.Legacy settings) { StringBuilder sb = new StringBuilder(); sb.Append(f.Unsafe ? "unsafe " : ""); - sb.Append(GetDeclarationString(f.ReturnType)); + sb.Append(GetDeclarationString(f.ReturnType, settings)); sb.Append(" "); if ((Settings.Compatibility & Settings.Legacy.NoTrimFunctionEnding) != Settings.Legacy.None) { @@ -996,9 +598,12 @@ namespace Bind sb.Remove(sb.Length - 1, 1); sb.Append(">"); } - sb.AppendLine(GetDeclarationString(f.Parameters)); + + sb.Append(GetDeclarationString(f.Parameters, settings)); + if (f.Parameters.HasGenericParameters) { + sb.AppendLine(); foreach (Parameter p in f.Parameters) { if (p.Generic) @@ -1006,17 +611,10 @@ namespace Bind } } - sb.AppendLine("{"); - foreach (var line in f.Body) - { - sb.AppendLine(line); - } - sb.Append("}"); - return sb.ToString(); } - string GetDeclarationString(Parameter p, bool override_unsafe_setting) + string GetDeclarationString(Parameter p, bool override_unsafe_setting, Settings.Legacy settings) { StringBuilder sb = new StringBuilder(); @@ -1041,12 +639,12 @@ namespace Bind } else { - sb.Append(GetDeclarationString(p as Type)); + sb.Append(GetDeclarationString(p as Type, settings)); } } else { - sb.Append(GetDeclarationString(p as Type)); + sb.Append(GetDeclarationString(p as Type, settings)); } if (!String.IsNullOrEmpty(p.Name)) { @@ -1057,7 +655,7 @@ namespace Bind return sb.ToString(); } - string GetDeclarationString(ParameterCollection parameters) + string GetDeclarationString(ParameterCollection parameters, Settings.Legacy settings) { StringBuilder sb = new StringBuilder(); @@ -1066,7 +664,7 @@ namespace Bind { foreach (Parameter p in parameters) { - sb.Append(GetDeclarationString(p, false)); + sb.Append(GetDeclarationString(p, false, settings)); sb.Append(", "); } sb.Replace(", ", ")", sb.Length - 2, 2); @@ -1079,112 +677,23 @@ namespace Bind return sb.ToString(); } - string GetDeclarationString(Type type) + string GetDeclarationString(Type type, Settings.Legacy settings) { + var t = type.QualifiedType; + if ((settings & Settings.Legacy.ConstIntEnums) != 0) + { + if (type.IsEnum) + { + t = "System.Int32"; + } + } + return String.Format("{0}{1}{2}", - type.QualifiedType, + t, pointer_levels[type.Pointer], array_levels[type.Array]); } - string GetInvocationString(Delegate d) - { - StringBuilder sb = new StringBuilder(); - - sb.Append(Settings.DelegatesClass); - sb.Append(Settings.NamespaceSeparator); - sb.Append(Settings.FunctionPrefix); - sb.Append(d.Name); - sb.Append(GetInvocationString(d.Parameters)); - - return sb.ToString(); - } - - string GetInvocationString(ParameterCollection parameters) - { - StringBuilder sb = new StringBuilder(); - - sb.Append("("); - - if (parameters.Count > 0) - { - foreach (Parameter p in parameters) - { - if (p.Unchecked) - sb.Append("unchecked((" + p.QualifiedType + ")"); - - if (!p.Generic && p.CurrentType != "object") - { - if (p.CurrentType.ToLower().Contains("string")) - { - sb.Append(String.Format("({0}{1})", - p.QualifiedType, (p.Array > 0) ? "[]" : "")); - } - else if (p.IndirectionLevel != 0) - { - if (((Settings.Compatibility & Settings.Legacy.TurnVoidPointersToIntPtr) != Settings.Legacy.None) && - p.Pointer != 0 && p.CurrentType.Contains("void")) - { - sb.Append("(IntPtr)"); - } - else - { - sb.Append("("); - - sb.Append(p.QualifiedType); - for (int i = 0; i < p.IndirectionLevel; i++) - sb.Append("*"); - sb.Append(")"); - } - } - else - { - sb.Append(String.Format("({0})", p.QualifiedType)); - } - } - - - switch (p.WrapperType) - { - case WrapperTypes.GenericParameter: - if (p.Generic) - { - sb.Append("(IntPtr)"); - sb.Append(p.Name); - sb.Append("_ptr.AddrOfPinnedObject()"); - } - else - { - sb.Append(p.Name); - } - break; - - case WrapperTypes.ArrayParameter: - case WrapperTypes.ReferenceParameter: - sb.Append(p.Name); - sb.Append("_ptr"); - break; - - default: - sb.Append(p.Name); - break; - } - - if (p.Unchecked) - sb.Append(")"); - - sb.Append(", "); - } - sb.Replace(", ", ")", sb.Length - 2, 2); - } - else - { - sb.Append(")"); - } - - return sb.ToString(); - } - #endregion } } diff --git a/Source/Bind/FuncProcessor.cs b/Source/Bind/FuncProcessor.cs index 42abddd3..0e22710a 100644 --- a/Source/Bind/FuncProcessor.cs +++ b/Source/Bind/FuncProcessor.cs @@ -1,4 +1,4 @@ -#region License +#region License // // The Open Toolkit Library License // @@ -128,11 +128,27 @@ namespace Bind Console.WriteLine("Removing overloaded delegates."); RemoveOverloadedDelegates(delegates, wrappers); + Console.WriteLine("Generating address table."); + GenerateAddressTable(delegates); + return wrappers; } #region Private Members + static void GenerateAddressTable(DelegateCollection delegates) + { + int slot = -1; + foreach (var list in delegates.Values) + { + slot++; + foreach (var d in list) + { + d.Slot = slot; + } + } + } + // When we have a list of overloaded delegates, make sure that // all generated wrappers use the first (original) delegate, not // the overloaded ones. This allows us to reduce the amount @@ -507,17 +523,17 @@ namespace Bind TranslateType(d.ReturnType, function_override, nav, enum_processor, enums, d.Category, apiname); - if (d.ReturnType.CurrentType.ToLower().Contains("void") && d.ReturnType.Pointer != 0) + if (d.ReturnType.CurrentType.ToLower() == "void" && d.ReturnType.Pointer != 0) { d.ReturnType.QualifiedType = "IntPtr"; d.ReturnType.Pointer--; - d.ReturnType.WrapperType = WrapperTypes.GenericReturnType; + d.ReturnType.WrapperType |= WrapperTypes.GenericReturnType; } - if (d.ReturnType.CurrentType.ToLower().Contains("string")) + if (d.ReturnType.CurrentType.ToLower() == "string") { d.ReturnType.QualifiedType = "IntPtr"; - d.ReturnType.WrapperType = WrapperTypes.StringReturnType; + d.ReturnType.WrapperType |= WrapperTypes.StringReturnType; } if (d.ReturnType.CurrentType.ToLower() == "object") @@ -563,7 +579,7 @@ namespace Bind { TranslateParameter(d.Parameters[i], function_override, nav, enum_processor, enums, d.Category, apiname); if (d.Parameters[i].CurrentType == "UInt16" && d.Name.Contains("LineStipple")) - d.Parameters[i].WrapperType = WrapperTypes.UncheckedParameter; + d.Parameters[i].WrapperType |= WrapperTypes.UncheckedParameter; } } @@ -574,49 +590,64 @@ namespace Bind { TranslateType(p, function_override, overrides, enum_processor, enums, category, apiname); - // Find out the necessary wrapper types. - if (p.Pointer != 0)/* || CurrentType == "IntPtr")*/ + // Translate char* -> string. This simplifies the rest of the logic below + if (p.CurrentType.ToLower().Contains("char") && p.Pointer > 0) { - if (p.CurrentType.ToLower().Contains("string") || - p.CurrentType.ToLower().Contains("char") && p.Pointer > 1) - { - // string* -> [In] String[] or [Out] StringBuilder[] - p.QualifiedType = - p.Flow == FlowDirection.Out ? - "StringBuilder[]" : - "String[]"; + p.CurrentType = "string"; + p.Pointer--; + } - p.Pointer = 0; - p.WrapperType = WrapperTypes.None; - } - else if (p.CurrentType.ToLower().Contains("char")) - { - // char* -> [In] String or [Out] StringBuilder - p.QualifiedType = - p.Flow == FlowDirection.Out ? - "StringBuilder" : - "String"; + // Find out the necessary wrapper types. + if (p.CurrentType.ToLower() == "string" && p.Pointer == 0) + { + // char* -> IntPtr + // Due to a bug in the Mono runtime, we need + // to marshal [out] string parameters ourselves. + // StringBuilder crashes at runtime. + // For symmetry, and to avoid potential runtime bugs, + // we will also marshal [in] string types manually. + p.QualifiedType = "IntPtr"; + p.WrapperType |= WrapperTypes.StringParameter; + } - p.Pointer = 0; - p.WrapperType = WrapperTypes.None; - } - else if (p.CurrentType.ToLower().Contains("void") || - (!String.IsNullOrEmpty(p.PreviousType) && p.PreviousType.ToLower().Contains("void"))) - //|| CurrentType.Contains("IntPtr")) + if (p.CurrentType.ToLower() == "string" && p.Pointer >= 1) + { + // string* -> [In] String[] + // [Out] StringBuilder[] parameter is not currently supported + // Higher indirection levels are also not supported + if (p.Flow == FlowDirection.Out) { - p.CurrentType = "IntPtr"; - p.Pointer = 0; - p.WrapperType = WrapperTypes.GenericParameter; + throw new NotSupportedException("[Out] String* parameters are not currently supported."); + } + if (p.Pointer >= 2) + { + throw new NotSupportedException("String arrays with arity >= 2 are not currently supported."); + } + + p.QualifiedType = "IntPtr"; + p.Pointer = 0; + p.Array = 0; + p.WrapperType |= WrapperTypes.StringArrayParameter; + } + + if (p.Pointer > 0 && p.WrapperType == 0) + { + if (p.QualifiedType.ToLower().StartsWith("void")) + { + p.QualifiedType = "IntPtr"; + p.Pointer = 0; // Generic parameters cannot have pointers + p.WrapperType |= WrapperTypes.GenericParameter; + p.WrapperType |= WrapperTypes.ArrayParameter; + p.WrapperType |= WrapperTypes.ReferenceParameter; } else { - p.WrapperType = WrapperTypes.ArrayParameter; + p.WrapperType |= WrapperTypes.ArrayParameter; + p.WrapperType |= WrapperTypes.ReferenceParameter; + p.WrapperType |= WrapperTypes.PointerParameter; } } - if (p.Reference) - p.WrapperType |= WrapperTypes.ReferenceParameter; - if (Utilities.Keywords(Settings.Language).Contains(p.Name)) p.Name = Settings.KeywordEscapeCharacter + p.Name; @@ -880,14 +911,9 @@ namespace Bind if (f != null) { - // If we have a convenience overload, we should turn its name from - // plural into singular - if (f.ReturnType.WrapperType == WrapperTypes.ConvenienceReturnType || - f.ReturnType.WrapperType == WrapperTypes.ConvenienceArrayReturnType || - f.Parameters.Any(t => t.WrapperType == WrapperTypes.ConvenienceArrayType)) - { - f.TrimmedName = f.TrimmedName.Replace("Queries", "Query").TrimEnd('s'); - } + // If we have a convenience overload, we should turn its name from plural into singular + f.TrimmedName = f.TrimmedName.Replace("Queries", "Query").TrimEnd('s'); + convenience_wrappers.Add(f); } } @@ -901,7 +927,7 @@ namespace Bind f.ReturnType = new Type(f.Parameters.Last()); f.ReturnType.Pointer = 0; f.Parameters.RemoveAt(f.Parameters.Count - 1); - f.ReturnType.WrapperType = WrapperTypes.ConvenienceReturnType; + f.ReturnType.WrapperType |= WrapperTypes.ConvenienceReturnType; if (f.Parameters.Count > 0) { @@ -909,7 +935,7 @@ namespace Bind if (p_size.CurrentType.ToLower().StartsWith("int") && p_size.Pointer == 0) { f.Parameters.RemoveAt(f.Parameters.Count - 1); - f.ReturnType.WrapperType = WrapperTypes.ConvenienceArrayReturnType; + f.ReturnType.WrapperType |= WrapperTypes.ConvenienceArrayReturnType; } } return f; @@ -921,172 +947,228 @@ namespace Bind var p_array = f.Parameters.Last(); var p_size = f.Parameters[f.Parameters.Count - 2]; f.Parameters.RemoveAt(f.Parameters.Count - 2); - p_array.WrapperType = WrapperTypes.ConvenienceArrayType; - p_array.Pointer = 0; + p_array.WrapperType |= WrapperTypes.ConvenienceArrayType; + // Since this is a 1-element overload, we don't need + // array or reference wrappers. + p_array.WrapperType &= ~( + WrapperTypes.ReferenceParameter | + WrapperTypes.ArrayParameter); + p_array.Array = p_array.Pointer = 0; + p_array.Reference = false; return f; } + List GetWrapper(IDictionary> dictionary, WrapperTypes key, Function raw) + { + if (!dictionary.ContainsKey(key)) + { + dictionary.Add(key, new List()); + if (raw != null) + { + dictionary[key].Add(new Function(raw)); + } + } + return dictionary[key]; + } + public IEnumerable WrapParameters(Function func, EnumCollection enums) { - Function f; - - if (func.Parameters.HasPointerParameters) + if (func.Parameters.Count == 0) { - Function _this = new Function(func); - // Array overloads - foreach (Parameter p in _this.Parameters) + // Functions without parameters do not need + // parameter wrappers + yield return func; + yield break; + } + + var wrappers = new Dictionary>(); + for (int i = 0; i < func.Parameters.Count; i++) + { + var parameter = func.Parameters[i]; + + // Handle all non-generic parameters first. + // Generics are handled in a second pass. + if ((parameter.WrapperType & WrapperTypes.GenericParameter) == 0) { - if (p.WrapperType == WrapperTypes.ArrayParameter) + if ((parameter.WrapperType & WrapperTypes.ArrayParameter) != 0) { - if (p.ElementCount != 1) + foreach (var wrapper in GetWrapper(wrappers, WrapperTypes.ArrayParameter, func)) { - // Create a proper array - p.Reference = false; - p.Array++; + var p = wrapper.Parameters[i]; + + if (p.ElementCount == 1) + { + p.Reference = true; + } + else + { + p.Array++; + } p.Pointer--; } + } + + if ((parameter.WrapperType & WrapperTypes.ReferenceParameter) != 0) + { + foreach (var wrapper in GetWrapper(wrappers, WrapperTypes.ReferenceParameter, func)) + { + var p = wrapper.Parameters[i]; + + p.Reference = true; + p.Pointer--; + } + } + + if ((parameter.WrapperType & WrapperTypes.PointerParameter) != 0) + { + foreach (var wrapper in GetWrapper(wrappers, WrapperTypes.PointerParameter, func)) + { + var p = wrapper.Parameters[i]; + + if (Settings.IsEnabled(Settings.Legacy.NoPublicUnsafeFunctions)) + { + p.QualifiedType = "IntPtr"; + p.Pointer = 0; + } + } + } + + if (parameter.WrapperType == 0 || + (parameter.WrapperType & WrapperTypes.ConvenienceArrayType) != 0 || + (parameter.WrapperType & WrapperTypes.ConvenienceReturnType) != 0 || + (parameter.WrapperType & WrapperTypes.ConvenienceArrayReturnType) != 0) + { + // We don't need to do anything, just add this function directly + // to the list of wrappers. + GetWrapper(wrappers, parameter.WrapperType, func); + } + } + } + + // Handle generic parameters + if (wrappers.Count == 0) + { + // Some functions, such as VDPAUInit, only have generic parameters + // This means no wrapper has been generated by any of the previous + // transformations. Since the generic translation below operates on + // existing wrappers, add one here to get the process started. + wrappers.Add(WrapperTypes.None, new List { new Function(func) }); + } + var list = new List(); + foreach (var wrapper in wrappers.Values.SelectMany(v => v)) + { + // Add generic 'ref T' wrapper + Function generic_wrapper = null; + for (int i = 0; i < wrapper.Parameters.Count; i++) + { + var parameter = wrapper.Parameters[i]; + if ((parameter.WrapperType & WrapperTypes.GenericParameter) != 0) + { + generic_wrapper = generic_wrapper ?? new Function(wrapper); + var p = generic_wrapper.Parameters[i]; + + p.Reference = true; + p.Pointer = 0; + p.Array = 0; + p.Generic = true; + p.QualifiedType = "T" + i.ToString(); + p.Flow = FlowDirection.Undefined; + } + } + if (generic_wrapper != null) + { + list.Add(generic_wrapper); + } + + // Add the following wrappers: + // 'IntPtr', 'T[]', 'T[,]' and 'T[,,]' + for (int arity = 0; arity < 4; arity++) + { + generic_wrapper = null; + for (int i = 0; i < wrapper.Parameters.Count; i++) + { + var parameter = wrapper.Parameters[i]; + if ((parameter.WrapperType & WrapperTypes.GenericParameter) != 0) + { + generic_wrapper = generic_wrapper ?? new Function(wrapper); + var p = generic_wrapper.Parameters[i]; + + p.Reference = false; + p.Pointer = 0; + p.Array = arity; + if (arity == 0) + { + p.QualifiedType = "IntPtr"; + } + else + { + p.Generic = true; + p.QualifiedType = "T" + i.ToString(); + p.Flow = FlowDirection.Undefined; + } + } + } + if (generic_wrapper != null) + { + list.Add(generic_wrapper); + } + } + } + GetWrapper(wrappers, WrapperTypes.GenericParameter, null) + .AddRange(list); + + // Handle string parameters + foreach (var wrapper in wrappers.Values.SelectMany(v => v)) + { + for (int i = 0; i < wrapper.Parameters.Count; i++) + { + var p = wrapper.Parameters[i]; + if ((p.WrapperType & WrapperTypes.StringParameter) != 0) + { + if (p.Flow == FlowDirection.Out) + { + p.QualifiedType = "StringBuilder"; + } else { - // Create a reference - p.Reference = true; - p.Array--; - p.Pointer--; - p.WrapperType = WrapperTypes.ReferenceParameter; + p.QualifiedType = "String"; + } + } + + if ((p.WrapperType & WrapperTypes.StringArrayParameter) != 0) + { + if (p.Flow == FlowDirection.Out) + { + throw new NotImplementedException(); + } + else + { + p.QualifiedType = "String"; + p.Pointer = 0; + p.Array = 1; } } } - f = new Function(_this); - yield return f; - foreach (var w in WrapVoidPointers(f, enums)) - yield return w; - - _this = new Function(func); - // Reference overloads - foreach (Parameter p in _this.Parameters) - { - if (p.WrapperType == WrapperTypes.ArrayParameter) - { - p.Reference = true; - p.Array--; - p.Pointer--; - p.WrapperType = WrapperTypes.ReferenceParameter; - } - } - f = new Function(_this); - yield return f; - foreach (var w in WrapVoidPointers(f, enums)) - yield return w; - - _this = func; - // Pointer overloads - // Should be last to work around an Intellisense bug, where - // array overloads are not reported if there is a pointer overload. - foreach (Parameter p in _this.Parameters) - { - if (p.WrapperType == WrapperTypes.ArrayParameter) - { - p.Reference = false; - p.WrapperType = WrapperTypes.PointerParameter; - } - } - f = new Function(_this); - yield return f; - foreach (var w in WrapVoidPointers(f, enums)) - yield return w; } - else + + // Return all generated wrappers + foreach (var w in wrappers.Values.SelectMany(v => v).OrderBy(v => v)) { - f = new Function(func); - yield return f; + yield return w; } } - IEnumerable WrapVoidPointers(Function f, EnumCollection enums) - { - // reference wrapper (e.g. void Foo(int, ref T1, ref T2)) - var func = new Function(f); - int index = -1; - foreach (var p in func.Parameters) - { - index++; - if (p.WrapperType == WrapperTypes.GenericParameter) - { - p.Reference = true; - p.Array = 0; - p.Pointer = 0; - p.Generic = true; - p.CurrentType = "T" + index.ToString(); - p.Flow = FlowDirection.Undefined; - func.Parameters.Rebuild = true; - } - } - yield return func; - - // 1d-array wrapper (e.g. void Foo(int, T1[], T2[])) - func = new Function(f); - index = -1; - foreach (var p in func.Parameters) - { - index++; - if (p.WrapperType == WrapperTypes.GenericParameter) - { - p.Reference = false; - p.Array = 1; - p.Pointer = 0; - p.Generic = true; - p.CurrentType = "T" + index.ToString(); - p.Flow = FlowDirection.Undefined; - func.Parameters.Rebuild = true; - } - } - yield return func; - - // 2d-array wrapper (e.g. void Foo(int, T1[,], T2[,])) - func = new Function(f); - index = -1; - foreach (var p in func.Parameters) - { - index++; - if (p.WrapperType == WrapperTypes.GenericParameter) - { - p.Reference = false; - p.Array = 2; - p.Pointer = 0; - p.Generic = true; - p.CurrentType = "T" + index.ToString(); - p.Flow = FlowDirection.Undefined; - func.Parameters.Rebuild = true; - } - } - yield return func; - - // 3d-array wrapper (e.g. void Foo(int, T1[,,], T2[,,])) - func = new Function(f); - index = -1; - foreach (var p in func.Parameters) - { - index++; - if (p.WrapperType == WrapperTypes.GenericParameter) - { - p.Reference = false; - p.Array = 3; - p.Pointer = 0; - p.Generic = true; - p.CurrentType = "T" + index.ToString(); - p.Flow = FlowDirection.Undefined; - func.Parameters.Rebuild = true; - } - } - yield return func; - } - static void WrapReturnType(Function func) { - switch (func.ReturnType.WrapperType) + if ((func.ReturnType.WrapperType & WrapperTypes.StringReturnType) != 0) { - case WrapperTypes.StringReturnType: - func.ReturnType.QualifiedType = "String"; - break; + func.ReturnType.QualifiedType = "String"; + } + + if ((func.ReturnType.WrapperType & WrapperTypes.GenericReturnType) != 0) + { + // Nothing else we can do, using generics will break the runtime + func.ReturnType.QualifiedType = "IntPtr"; } } diff --git a/Source/Bind/Generator.Bind.csproj b/Source/Bind/Generator.Bind.csproj index 1e3bcebd..4eb98e16 100644 --- a/Source/Bind/Generator.Bind.csproj +++ b/Source/Bind/Generator.Bind.csproj @@ -46,12 +46,10 @@ DEBUG;TRACE; - - True 4096 False - ..\..\Binaries\OpenTK\Debug\ + ..\..\Binaries\Tools\Debug\ False False 4 @@ -63,11 +61,9 @@ TRACE; - - 4096 True - ..\..\Binaries\OpenTK\Release\ + ..\..\Binaries\Tools\Release\ False False 4 @@ -79,11 +75,9 @@ TRACE; - - 4096 True - ..\..\Binaries\OpenTK\Release\ + ..\..\Binaries\Tools\Release\ False False 4 @@ -91,7 +85,7 @@ none - ..\..\Binaries\OpenTK\Release\ + ..\..\Binaries\Tools\Release\ none 4 True @@ -1049,4 +1043,18 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Source/Bind/Structures/Delegate.cs b/Source/Bind/Structures/Delegate.cs index 2596be87..5c87bfad 100644 --- a/Source/Bind/Structures/Delegate.cs +++ b/Source/Bind/Structures/Delegate.cs @@ -53,6 +53,7 @@ namespace Bind.Structures DeprecatedVersion = d.DeprecatedVersion; EntryPoint = d.EntryPoint; Obsolete = d.Obsolete; + Slot = d.Slot; } #endregion @@ -242,6 +243,9 @@ namespace Bind.Structures public string EntryPoint { get; set; } public string Obsolete { get; set; } + // Slot index in the address table + public int Slot { get; set; } + #endregion // This method should only be used for debugging purposes, not for code generation! diff --git a/Source/Bind/Utilities.cs b/Source/Bind/Utilities.cs index 6d019396..c1f559a8 100644 --- a/Source/Bind/Utilities.cs +++ b/Source/Bind/Utilities.cs @@ -27,60 +27,68 @@ namespace Bind /// /// Function takes bool parameter - C uses Int for bools, so we have to marshal. /// - BoolParameter, + BoolParameter = 1 << 0, /// /// Function takes generic parameters - add ref/out generic and generic overloads. /// - GenericParameter, + GenericParameter = 1 << 1, /// /// Function takes arrays as parameters - add ref/out and ([Out]) array overloads. /// - ArrayParameter, + ArrayParameter = 1 << 2, /// /// Function with bitmask parameters. Bitmask parameters map to UInt, but since we can only use signed /// types (for CLS compliance), we must add the unchecked keyword. /// Usually found in bitmasks /// - UncheckedParameter, + UncheckedParameter = 1 << 3, /// /// Function that takes (in/ref/out) a naked pointer as a parameter - we pass an IntPtr. /// - PointerParameter, + PointerParameter = 1 << 4, /// /// Function that takes a reference to a struct. /// - ReferenceParameter, + ReferenceParameter = 1 << 5, /// /// Function returns string - needs manual marshalling through IntPtr to prevent the managed GC /// from freeing memory allocated on the unmanaged side (e.g. glGetString). /// - StringReturnType, + StringReturnType = 1 << 6, /// /// Function returns a void pointer - maps to IntPtr, and the user has to manually marshal the type. /// - GenericReturnType, + GenericReturnType = 1 << 7, /// /// Function returns a typed pointer - we have to copy the data to an array to protect it from the GC. /// - ArrayReturnType, + ArrayReturnType = 1 << 8, /// /// Function normally returns a value via an out parameter. /// This overload returns a single item directly. /// e.g. void GetIntegerv(enum pname, out int value) => int GetInteger(enum pname) /// - ConvenienceReturnType, + ConvenienceReturnType = 1 << 9, /// /// Function normally returns an array via an out parameter. /// This overload returns a single item directly. /// e.g. void GenBuffers(int count, int[] ids) => int GenBuffer() /// - ConvenienceArrayReturnType, + ConvenienceArrayReturnType = 1 << 10, /// /// Function normally takes an array in parameter. /// This overload takes a single item directly. /// e.g. void DeleteBuffers(int count, int[] ids) => DeleteBuffer(int id) /// - ConvenienceArrayType, + ConvenienceArrayType = 1 << 11, + /// + /// Function takes a String or StringBuilder parameter + /// + StringParameter = 1 << 12, + /// + /// Function takes a String[] parameter + /// + StringArrayParameter = 1 << 13, } #endregion diff --git a/Source/Build.UpdateVersion/Build.UpdateVersion.csproj b/Source/Build.UpdateVersion/Build.UpdateVersion.csproj index 88783f24..2c2a275d 100644 --- a/Source/Build.UpdateVersion/Build.UpdateVersion.csproj +++ b/Source/Build.UpdateVersion/Build.UpdateVersion.csproj @@ -1,25 +1,5 @@ - + - - ..\..\Binaries\OpenTK\Release - TRACE - true - - - ..\..\Binaries\OpenTK\Debug - TRACE;DEBUG - false - - - ..\..\Binaries\OpenTK\Release - true - TRACE - - - ..\..\Binaries\OpenTK\Release - true - TRACE - {75DC22B1-113F-4A66-96B9-2FF8208C10E8} Build.UpdateVersion @@ -31,6 +11,32 @@ 10.0.0 2.0 + + TRACE + 4 + ..\..\Binaries\Tools\Release\ + true + + + TRACE;DEBUG + True + full + 4 + ..\..\Binaries\Tools\Debug\ + false + + + TRACE + 4 + ..\..\Binaries\Tools\Release\ + true + + + TRACE + 4 + ..\..\Binaries\Tools\Release\ + true + @@ -44,23 +50,6 @@ - - TRACE; - 4 - - - True - full - 4 - - - TRACE; - 4 - - - TRACE; - 4 - diff --git a/Source/Compatibility/OpenTK.Compatibility.csproj b/Source/Compatibility/OpenTK.Compatibility.csproj index 8ae52688..37c12b87 100644 --- a/Source/Compatibility/OpenTK.Compatibility.csproj +++ b/Source/Compatibility/OpenTK.Compatibility.csproj @@ -47,8 +47,6 @@ DEBUG;TRACE; - - True 4096 False @@ -66,8 +64,6 @@ TRACE; - - 4096 True ..\..\Binaries\OpenTK\Release\ @@ -76,7 +72,8 @@ 4 0219, 0414, 0612, 0618, 1591, 3005, 3006 AllRules.ruleset - none + pdbonly + true ..\..\Binaries\OpenTK\Release\ @@ -92,8 +89,6 @@ TRACE; - - 4096 True ..\..\Binaries\OpenTK\Release\ diff --git a/Source/Converter/Generator.Convert.csproj b/Source/Converter/Generator.Convert.csproj index 9e232f10..0dede34d 100644 --- a/Source/Converter/Generator.Convert.csproj +++ b/Source/Converter/Generator.Convert.csproj @@ -1,4 +1,4 @@ - + Local @@ -45,12 +45,10 @@ DEBUG;TRACE; - - True 4096 False - ..\..\Binaries\OpenTK\Debug\ + ..\..\Binaries\Tools\Debug\ False False 4 @@ -63,11 +61,9 @@ TRACE; - - 4096 True - ..\..\Binaries\OpenTK\Release\ + ..\..\Binaries\Tools\Release\ False False 4 @@ -75,7 +71,7 @@ none - ..\..\Binaries\OpenTK\Release\ + ..\..\Binaries\Tools\Release\ none 4 True @@ -86,11 +82,9 @@ TRACE; - - 4096 True - ..\..\Binaries\OpenTK\Release\ + ..\..\Binaries\Tools\Release\ False False 4 diff --git a/Source/Examples/OpenTK.Examples.csproj b/Source/Examples/OpenTK.Examples.csproj index 39592652..4871f240 100644 --- a/Source/Examples/OpenTK.Examples.csproj +++ b/Source/Examples/OpenTK.Examples.csproj @@ -49,8 +49,6 @@ DEBUG;TRACE; - - True 4096 False @@ -67,8 +65,6 @@ TRACE; - - 4096 True ..\..\Binaries\OpenTK\Release\ @@ -76,7 +72,8 @@ False 4 AllRules.ruleset - none + pdbonly + true ..\..\Binaries\OpenTK\Release\ @@ -91,8 +88,6 @@ TRACE; - - 4096 True ..\..\Binaries\OpenTK\Release\ diff --git a/Source/Generator.Rewrite/Generator.Rewrite.csproj b/Source/Generator.Rewrite/Generator.Rewrite.csproj new file mode 100644 index 00000000..59c12385 --- /dev/null +++ b/Source/Generator.Rewrite/Generator.Rewrite.csproj @@ -0,0 +1,91 @@ + + + + + Debug + AnyCPU + {C426C9D1-8857-4E52-BAC7-4C05EE6070AB} + Exe + Properties + OpenTK.Rewrite + Rewrite + v3.5 + 512 + 12.0.0 + 2.0 + + + AnyCPU + true + full + false + ..\..\Binaries\Tools\Debug\ + DEBUG;TRACE + prompt + 4 + ../../OpenTK/Debug/OpenTK.dll ../../../OpenTK.snk + + + AnyCPU + pdbonly + true + ..\..\Binaries\Tools\Release\ + TRACE + prompt + 4 + ../../OpenTK/Release/OpenTK.dll ../../../OpenTK.snk + + + true + + + ..\..\OpenTK.snk + + + + ..\..\Dependencies\managed\Mono.Cecil.dll + + + ..\..\Dependencies\managed\Mono.Cecil.Mdb.dll + + + ..\..\Dependencies\managed\Mono.Cecil.Pdb.dll + + + ..\..\Dependencies\managed\Mono.Cecil.Rocks.dll + + + + + + + + + + + OpenTK.snk + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Source/Generator.Rewrite/Program.cs b/Source/Generator.Rewrite/Program.cs new file mode 100644 index 00000000..b6d5189e --- /dev/null +++ b/Source/Generator.Rewrite/Program.cs @@ -0,0 +1,635 @@ +// OpenTK.Rewrite: IL rewriter for OpenTK.dll +// Copyright (C) 2013 Stefanos Apostolopoulos +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; + +using Mono.Cecil; +using Mono.Cecil.Cil; +using Mono.Cecil.Rocks; + +namespace OpenTK.Rewrite +{ + // Replaces OpenTK.InteropHelper method instances + // with the s IL instructions. + class Program + { + static void Main(string[] args) + { + if (args.Length == 0) + { + Console.WriteLine("Usage: rewrite [file.dll] [file.snk]"); + return; + } + + var program = new Program(); + var file = args[0]; + var key = args.Length >= 2 ? args[1] : null; + program.Rewrite(file, key); + } + + // mscorlib types + static AssemblyDefinition mscorlib; + static TypeDefinition TypeMarshal; + static TypeDefinition TypeStringArray; + static TypeDefinition TypeStringBuilder; + static TypeDefinition TypeVoid; + static TypeDefinition TypeIntPtr; + + // OpenTK.BindingsBase + static TypeDefinition TypeBindingsBase; + + void Rewrite(string file, string keyfile) + { + // Specify assembly read and write parameters + // We want to keep a valid symbols file (pdb or mdb) + var read_params = new ReaderParameters(); + var write_params = new WriterParameters(); + var pdb = Path.ChangeExtension(file, "pdb"); + var mdb = Path.ChangeExtension(file, "mdb"); + ISymbolReaderProvider provider = null; + if (File.Exists(pdb)) + { + provider = new Mono.Cecil.Pdb.PdbReaderProvider(); + } + else if (File.Exists(mdb)) + { + provider = new Mono.Cecil.Mdb.MdbReaderProvider(); + } + read_params.SymbolReaderProvider = provider; + read_params.ReadSymbols = true; + write_params.WriteSymbols = true; + + if (!String.IsNullOrEmpty(keyfile) && File.Exists(keyfile)) + { + keyfile = Path.GetFullPath(keyfile); + var fs = new FileStream(keyfile, FileMode.Open); + var keypair = new System.Reflection.StrongNameKeyPair(fs); + fs.Close(); + write_params.StrongNameKeyPair = keypair; + } + else + { + Console.Error.WriteLine("No keyfile specified or keyfile missing."); + } + + // Load assembly and process all modules + var assembly = AssemblyDefinition.ReadAssembly(file, read_params); + var rewritten = assembly.CustomAttributes.FirstOrDefault(a => a.AttributeType.Name == "RewrittenAttribute"); + if (rewritten == null) + { + foreach (var module in assembly.Modules) + { + foreach (var reference in module.AssemblyReferences) + { + var resolved = module.AssemblyResolver.Resolve(reference); + if (reference.Name == "mscorlib") + { + mscorlib = resolved; + } + } + } + + if (mscorlib == null) + { + Console.Error.WriteLine("Failed to locate mscorlib"); + return; + } + TypeMarshal = mscorlib.MainModule.GetType("System.Runtime.InteropServices.Marshal"); + TypeStringArray = mscorlib.MainModule.GetType("System.String").MakeArrayType().Resolve(); + TypeStringBuilder = mscorlib.MainModule.GetType("System.Text.StringBuilder"); + TypeVoid = mscorlib.MainModule.GetType("System.Void"); + TypeIntPtr = mscorlib.MainModule.GetType("System.IntPtr"); + + TypeBindingsBase = assembly.Modules.Select(m => m.GetType("OpenTK.BindingsBase")).First(); + + foreach (var module in assembly.Modules) + { + foreach (var type in module.Types) + { + Rewrite(type); + } + } + } + else + { + Console.Error.WriteLine("Error: assembly has already been rewritten"); + } + + // Save rewritten assembly + assembly.Write(file, write_params); + } + + void Rewrite(TypeDefinition type) + { + var entry_points = type.Fields.FirstOrDefault(f => f.Name == "EntryPoints"); + if (entry_points != null) + { + // Build list of entry point signatures (one per entry point) + var entry_signatures = new List(); + entry_signatures.AddRange(type.Methods + .Where(t => t.CustomAttributes.Any(a => a.AttributeType.Name == "SlotAttribute"))); + + Rewrite(type, entry_points, entry_signatures); + + RemoveNativeSignatures(type, entry_signatures); + } + + if (type.Name == "RewrittenAttribute") + { + var rewritten_constructor = type.GetConstructors().First(); + var rewritten = new CustomAttribute(rewritten_constructor); + rewritten.ConstructorArguments.Add(new CustomAttributeArgument( + type.Module.Import(mscorlib.MainModule.GetType("System.Boolean")), true)); + type.Module.Assembly.CustomAttributes.Add(rewritten); + } + } + + void Rewrite(TypeDefinition type, FieldDefinition entry_points, + List entry_signatures) + { + // Rewrite all wrapper methods + var wrapper_signatures = new List(); + wrapper_signatures.AddRange(type.Methods + .Where(m => m.IsPublic && m.CustomAttributes.Any(a => a.AttributeType.Name == "AutoGeneratedAttribute"))); + + foreach (var wrapper in wrapper_signatures) + { + var autogenerated = wrapper.CustomAttributes + .Where(a => a.AttributeType.Name == "AutoGeneratedAttribute"); + if (autogenerated.Count() > 0) + { + var signature_name = (string)autogenerated.First() + .Fields.First(f => f.Name == "EntryPoint").Argument.Value; + var signature = entry_signatures.First(s => s.Name == signature_name); + var slot = (int)signature.CustomAttributes + .First(a => a.AttributeType.Name == "SlotAttribute") + .ConstructorArguments[0].Value; + + ProcessMethod(wrapper, signature, slot, entry_points); + } + } + + RemoveSupportingAttributes(type); + + if (type.NestedTypes.Count > 0) + { + foreach (var nested_type in type.NestedTypes) + { + Rewrite(nested_type, entry_points, entry_signatures); + } + } + } + + void RemoveNativeSignatures(TypeDefinition type, List methods) + { + while (methods.Count > 0) + { + type.Methods.Remove(methods.Last()); + methods.RemoveAt(methods.Count - 1); + } + } + + void RemoveSupportingAttributes(TypeDefinition type) + { + foreach (var method in type.Methods) + { + var attr = method.CustomAttributes; + for (int i = 0; i < attr.Count; i++) + { + if (attr[i].AttributeType.Name == "AutoGeneratedAttribute") + { + attr.RemoveAt(i); + i--; + } + } + } + } + + // Create body for method + static void ProcessMethod(MethodDefinition wrapper, MethodDefinition native, int slot, FieldDefinition entry_points) + { + var body = wrapper.Body; + var il = body.GetILProcessor(); + var instructions = body.Instructions; + instructions.Clear(); + + // Declare pinned variables for every reference and array parameter + // and push each parameter on the stack + + // Patch convenience wrappers + if (wrapper.Parameters.Count == native.Parameters.Count) + { + EmitParameters(wrapper, body, il); + } + else + { + int difference = native.Parameters.Count - wrapper.Parameters.Count; + EmitConvenienceWrapper(wrapper, native, difference, body, il); + } + + // push the entry point address on the stack + EmitEntryPoint(entry_points, il, slot); + + // issue calli + EmitCall(il, native); + + if (wrapper.ReturnType.Name != "Void") + { + EmitReturnTypeWrapper(wrapper, native, body, il); + } + if (wrapper.Parameters.Any(p => p.ParameterType.Name == "StringBuilder")) + { + EmitStringBuilderEpilogue(wrapper, native, body, il); + } + if (wrapper.Parameters.Any(p => p.ParameterType.Name == "String" && p.ParameterType.IsArray)) + { + EmitStringArrayEpilogue(wrapper, body, il); + } + if (wrapper.Parameters.Any(p => p.ParameterType.Name == "String" && !p.ParameterType.IsArray)) + { + EmitStringEpilogue(wrapper, body, il); + } + + // return + il.Emit(OpCodes.Ret); + + if (body.Variables.Count > 0) + { + // Required for verifiable executables + // (otherwise peverify complains bitterly) + body.InitLocals = true; + } + body.OptimizeMacros(); + } + + private static void EmitReturnTypeWrapper(MethodDefinition wrapper, MethodDefinition native, MethodBody body, ILProcessor il) + { + if (wrapper.Parameters.Count < native.Parameters.Count) + { + // Convenience wrapper. The result is stored in the last local variable + il.Emit(OpCodes.Ldloc, body.Variables.Count - 1); + } + else if (wrapper.ReturnType != native.ReturnType) + { + if (wrapper.ReturnType.Name == "String") + { + // String return-type wrapper + // return new string((sbyte*)((void*)GetString())); + + var intptr_to_voidpointer = wrapper.Module.Import(mscorlib.MainModule.GetType("System.IntPtr").GetMethods() + .First(m => + { + return + m.Name == "op_Explicit" && + m.ReturnType.Name == "Void*"; + })); + + var string_constructor = wrapper.Module.Import(mscorlib.MainModule.GetType("System.String").GetConstructors() + .First(m => + { + var p = m.Parameters; + return p.Count > 0 && p[0].ParameterType.Name == "SByte*"; + })); + + il.Emit(OpCodes.Call, intptr_to_voidpointer); + il.Emit(OpCodes.Newobj, string_constructor); + } + else if (wrapper.ReturnType.Resolve().IsEnum) + { + // Nothing to do + } + else + { + Console.Error.WriteLine("Return wrapper for '{1}' not implemented yet ({0})", native.Name, wrapper.ReturnType.Name); + } + } + else + { + // nothing to do, the native call leaves the return value + // on the stack and we return that unmodified to the caller. + } + } + + static void EmitStringBuilderEpilogue(MethodDefinition wrapper, MethodDefinition native, MethodBody body, ILProcessor il) + { + for (int i = 0; i < wrapper.Parameters.Count; i++) + { + var p = wrapper.Parameters[i].ParameterType; + if (p.Name == "StringBuilder") + { + // void GetShaderInfoLog(..., StringBuilder foo) + // try { + // foo_sb_ptr = Marshal.AllocHGlobal(sb.Capacity + 1); -- already emitted + // glGetShaderInfoLog(..., foo_sb_ptr); -- already emitted + // MarshalPtrToStringBuilder(foo_sb_ptr, foo); + // } + // finally { + // Marshal.FreeHGlobal(foo_sb_ptr); + // } + + // Make sure we have imported BindingsBase::MasrhalPtrToStringBuilder and Marshal::FreeHGlobal + var ptr_to_sb = wrapper.Module.Import(TypeBindingsBase.Methods.First(m => m.Name == "MarshalPtrToStringBuilder")); + var free_hglobal = wrapper.Module.Import(TypeMarshal.Methods.First(m => m.Name == "FreeHGlobal")); + + var block = new ExceptionHandler(ExceptionHandlerType.Finally); + block.TryStart = body.Instructions[0]; + + var variable_name = p.Name + " _sb_ptr"; + var v = body.Variables.First(m => m.Name == variable_name); + il.Emit(OpCodes.Ldloc, v.Index); + il.Emit(OpCodes.Ldarg, i); + il.Emit(OpCodes.Call, ptr_to_sb); + + block.TryEnd = body.Instructions.Last(); + block.HandlerStart = body.Instructions.Last(); + + il.Emit(OpCodes.Ldloc, v.Index); + il.Emit(OpCodes.Call, free_hglobal); + + block.HandlerEnd = body.Instructions.Last(); + } + } + } + + static void EmitStringParameter(MethodDefinition wrapper, TypeReference p, MethodBody body, ILProcessor il) + { + // string marshaling: + // IntPtr ptr = Marshal.StringToHGlobalAnsi(str); + // try { calli } + // finally { Marshal.FreeHGlobal(ptr); } + var marshal_str_to_ptr = wrapper.Module.Import(TypeMarshal.Methods.First(m => m.Name == "StringToHGlobalAnsi")); + + // IntPtr ptr; + var variable_name = p.Name + "_string_ptr"; + body.Variables.Add(new VariableDefinition(variable_name, TypeIntPtr)); + int index = body.Variables.Count - 1; + + // ptr = Marshal.StringToHGlobalAnsi(str); + il.Emit(OpCodes.Call, marshal_str_to_ptr); + il.Emit(OpCodes.Stloc, index); + il.Emit(OpCodes.Ldloc, index); + + // The finally block will be emitted in the function epilogue + } + + static void EmitStringEpilogue(MethodDefinition wrapper, MethodBody body, ILProcessor il) + { + for (int i = 0; i < wrapper.Parameters.Count; i++) + { + var p = wrapper.Parameters[i].ParameterType; + if (p.Name == "String" && !p.IsArray) + { + var free = wrapper.Module.Import(TypeMarshal.Methods.First(m => m.Name == "FreeHGlobal")); + + // Marshal.FreeHGlobal(ptr) + var variable_name = p.Name + "_string_ptr"; + var v = body.Variables.First(m => m.Name == variable_name); + il.Emit(OpCodes.Ldloc, v.Index); + il.Emit(OpCodes.Call, free); + } + } + } + + static void EmitStringArrayParameter(MethodDefinition wrapper, TypeReference p, MethodBody body, ILProcessor il) + { + // string[] masrhaling: + // IntPtr ptr = MarshalStringArrayToPtr(strings); + // try { calli } + // finally { UnmarshalStringArray(ptr); } + var marshal_str_array_to_ptr = wrapper.Module.Import(TypeBindingsBase.Methods.First(m => m.Name == "MarshalStringArrayToPtr")); + + // IntPtr ptr; + var variable_name = p.Name + " _string_array_ptr"; + body.Variables.Add(new VariableDefinition(variable_name, TypeIntPtr)); + int index = body.Variables.Count - 1; + + // ptr = MarshalStringArrayToPtr(strings); + il.Emit(OpCodes.Call, marshal_str_array_to_ptr); + il.Emit(OpCodes.Stloc, index); + il.Emit(OpCodes.Ldloc, index); + + // The finally block will be emitted in the function epilogue + } + + static void EmitStringArrayEpilogue(MethodDefinition wrapper, MethodBody body, ILProcessor il) + { + for (int i = 0; i < wrapper.Parameters.Count; i++) + { + var p = wrapper.Parameters[i].ParameterType; + if (p.Name == "String" && p.IsArray) + { + var free = wrapper.Module.Import(TypeBindingsBase.Methods.First(m => m.Name == "FreeStringArrayPtr")); + var get_length = wrapper.Module.Import(TypeStringArray.Methods.First(m => m.Name == "get_Length")); + + // FreeStringArrayPtr(string_array_ptr, string_array.Length) + var variable_name = p.Name + "_string_array_ptr"; + var v = body.Variables.First(m => m.Name == variable_name); + il.Emit(OpCodes.Ldloc, v.Index); + il.Emit(OpCodes.Ldarg, i); + il.Emit(OpCodes.Callvirt, get_length); + il.Emit(OpCodes.Call, free); + } + } + } + + private static void EmitConvenienceWrapper(MethodDefinition wrapper, + MethodDefinition native, int difference, MethodBody body, ILProcessor il) + { + if (wrapper.Parameters.Count > 1) + { + EmitParameters(wrapper, body, il); + } + + if (wrapper.ReturnType.Name != "Void") + { + if (difference == 2) + { + // Convert sized out-array/reference to return value, for example: + // void GenTextures(int n, int[] textures) -> int GenTexture() + // { + // const int n = 1; + // int buffers; + // calli GenTextures(n, &textures); + // return result; + // } + body.Variables.Add(new VariableDefinition(wrapper.ReturnType)); + il.Emit(OpCodes.Ldc_I4, 1); // const int n = 1 + il.Emit(OpCodes.Ldloca, body.Variables.Count - 1); // &buffers + } + else if (difference == 1) + { + // Convert unsized out-array/reference to return value, for example: + // void GetBoolean(GetPName pname, out bool data) -> bool GetBoolean(GetPName pname) + // { + // bool result; + // GetBooleanv(pname, &result); + // return result; + // } + body.Variables.Add(new VariableDefinition(wrapper.ReturnType)); + il.Emit(OpCodes.Ldloca, body.Variables.Count - 1); + } + else + { + Console.Error.WriteLine("Unknown wrapper type for ({0})", native.Name); + } + } + else + { + if (difference == 1) + { + // Convert in-array/reference to single element, for example: + // void DeleteTextures(int n, ref int textures) -> void DeleteTexture(int texture) + // { + // const int n = 1; + // calli DeleteTextures(n, &textures); + // } + il.Emit(OpCodes.Ldc_I4, 1); // const int n = 1 + il.Emit(OpCodes.Ldarga, wrapper.Parameters.Last()); // &textures + } + else + { + Console.Error.WriteLine("Unknown wrapper type for ({0})", native.Name); + } + } + } + + static int EmitParameters(MethodDefinition method, MethodBody body, ILProcessor il) + { + int i; + for (i = 0; i < method.Parameters.Count; i++) + { + var p = method.Module.Import(method.Parameters[i].ParameterType); + il.Emit(OpCodes.Ldarg, i); + + if (p.Name == "StringBuilder") + { + // void GetShaderInfoLog(..., StringBuilder foo) + // IntPtr foo_sb_ptr; + // try { + // foo_sb_ptr = Marshal.AllocHGlobal(sb.Capacity + 1); + // glGetShaderInfoLog(..., foo_sb_ptr); + // MarshalPtrToStringBuilder(foo_sb_ptr, sb); + // } + // finally { + // Marshal.FreeHGlobal(sb_ptr); + // } + + // Make sure we have imported StringBuilder::Capacity and Marshal::AllocHGlobal + var sb_get_capacity = method.Module.Import(TypeStringBuilder.Methods.First(m => m.Name == "get_Capacity")); + var alloc_hglobal = method.Module.Import(TypeMarshal.Methods.First(m => m.Name == "AllocHGlobal")); + + // IntPtr ptr; + var variable_name = p.Name + " _sb_ptr"; + body.Variables.Add(new VariableDefinition(variable_name, TypeIntPtr)); + int index = body.Variables.Count - 1; + + // ptr = Marshal.AllocHGlobal(sb.Capacity + 1); + il.Emit(OpCodes.Callvirt, sb_get_capacity); + il.Emit(OpCodes.Call, alloc_hglobal); + il.Emit(OpCodes.Stloc, index); + il.Emit(OpCodes.Ldloc, index); + + // We'll emit the try-finally block in the epilogue implementation, + // because we haven't yet emitted all necessary instructions here. + } + else if (p.Name == "String" && !p.IsArray) + { + EmitStringParameter(method, p, body, il); + } + else if (p.IsByReference) + { + body.Variables.Add(new VariableDefinition(new PinnedType(p))); + var index = body.Variables.Count - 1; + il.Emit(OpCodes.Stloc, index); + il.Emit(OpCodes.Ldloc, index); + il.Emit(OpCodes.Conv_I); + } + else if (p.IsArray) + { + if (p.Name != method.Module.Import(typeof(string[])).Name) + { + // Pin the array and pass the address + // of its first element. + var element_type = p.GetElementType(); + body.Variables.Add(new VariableDefinition(new PinnedType(new ByReferenceType(element_type)))); + int pinned_index = body.Variables.Count - 1; + + var empty = il.Create(OpCodes.Ldc_I4, 0); + var pin = il.Create(OpCodes.Ldarg, i); + var end = il.Create(OpCodes.Stloc, pinned_index); + + // if (array == null) goto empty + il.Emit(OpCodes.Brfalse, empty); + + // else if (array.Length != 0) goto pin + il.Emit(OpCodes.Ldarg, i); + il.Emit(OpCodes.Ldlen); + il.Emit(OpCodes.Conv_I4); + il.Emit(OpCodes.Brtrue, pin); + + // empty: IntPtr ptr = IntPtr.Zero + il.Append(empty); + il.Emit(OpCodes.Conv_U); + il.Emit(OpCodes.Br, end); + + // pin: &array[0] + il.Append(pin); + il.Emit(OpCodes.Ldc_I4, 0); + il.Emit(OpCodes.Ldelema, element_type); + + // end: fixed (IntPtr ptr = &array[0]) + il.Append(end); + il.Emit(OpCodes.Ldloc, pinned_index); + il.Emit(OpCodes.Conv_I); + } + else + { + EmitStringArrayParameter(method, p, body, il); + } + } + } + return i; + } + + static void EmitEntryPoint(FieldDefinition entry_points, ILProcessor il, int slot) + { + il.Emit(OpCodes.Ldsfld, entry_points); + il.Emit(OpCodes.Ldc_I4, slot); + il.Emit(OpCodes.Ldelem_I); + } + + static void EmitCall(ILProcessor il, MethodReference reference) + { + var signature = new CallSite(reference.ReturnType) + { + CallingConvention = MethodCallingConvention.StdCall, + }; + + foreach (var p in reference.Parameters) + { + signature.Parameters.Add(p); + } + + // Since the last parameter is always the entry point address, + // we do not need any special preparation before emiting calli. + il.Emit(OpCodes.Calli, signature); + } + } +} diff --git a/Source/Generator.Rewrite/Properties/AssemblyInfo.cs b/Source/Generator.Rewrite/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..56e42852 --- /dev/null +++ b/Source/Generator.Rewrite/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("OpenTK.Rewrite")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("OpenTK.Rewrite")] +[assembly: AssemblyCopyright("Copyright © 2013")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("01f167a5-6aff-41be-a70a-828c124c5164")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Source/OpenTK/AutoGeneratedAttribute.cs b/Source/OpenTK/AutoGeneratedAttribute.cs index cbd6b49d..a705f15b 100644 --- a/Source/OpenTK/AutoGeneratedAttribute.cs +++ b/Source/OpenTK/AutoGeneratedAttribute.cs @@ -34,6 +34,7 @@ namespace OpenTK /// /// Indicates that this function is generated automatically by a tool. /// + [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)] public sealed class AutoGeneratedAttribute : Attribute { /// diff --git a/Source/OpenTK/BindingsBase.cs b/Source/OpenTK/BindingsBase.cs index 60b0716f..36d421fe 100644 --- a/Source/OpenTK/BindingsBase.cs +++ b/Source/OpenTK/BindingsBase.cs @@ -119,13 +119,84 @@ namespace OpenTK /// unique objects, but all instances of ES10.GL should return the same object. protected abstract object SyncRoot { get; } + /// + /// Marshals a pointer to a null-terminated byte array to the specified StringBuilder. + /// This method supports OpenTK and is not intended to be called by user code. + /// + /// A pointer to a null-terminated byte array. + /// The StringBuilder to receive the contents of the pointer. + protected static void MarshalPtrToStringBuilder(IntPtr ptr, StringBuilder sb) + { + if (ptr == IntPtr.Zero) + throw new ArgumentException("ptr"); + if (sb == null) + throw new ArgumentNullException("sb"); + + sb.Length = 0; + for (int i = 0; i < sb.Capacity; i++) + { + byte b = Marshal.ReadByte(ptr, i); + if (b == 0) + { + return; + } + sb.Append((char)b); + } + } + + /// + /// Marshals a string array to unmanaged memory by calling + /// Marshal.AllocHGlobal for each element. + /// + /// An unmanaged pointer to an array of null-terminated strings + /// The string array to marshal. + protected static IntPtr MarshalStringArrayToPtr(string[] str_array) + { + IntPtr ptr = IntPtr.Zero; + if (str_array != null && str_array.Length != 0) + { + ptr = Marshal.AllocHGlobal(str_array.Length * IntPtr.Size); + if (ptr == IntPtr.Zero) + { + throw new OutOfMemoryException(); + } + + for (int i = 0; i < str_array.Length; i++) + { + IntPtr str = Marshal.StringToHGlobalAnsi(str_array[i]); + if (str == IntPtr.Zero) + { + throw new OutOfMemoryException(); + } + + Marshal.WriteIntPtr(ptr, i * IntPtr.Size, str); + } + } + return ptr; + } + + /// + /// Frees a string array that has previously been + /// marshalled by MarshalStringArrayToPtr. + /// + /// An unmanaged pointer allocated by MarshalStringArrayToPtr + /// The length of the string array. + protected static void FreeStringArrayPtr(IntPtr ptr, int length) + { + for (int i = 0; i < length; i++) + { + Marshal.FreeHGlobal(Marshal.ReadIntPtr(ptr, length * IntPtr.Size)); + } + Marshal.FreeHGlobal(ptr); + } + #endregion #region Internal Members #region LoadEntryPoints - internal void LoadEntryPoints() + internal virtual void LoadEntryPoints() { // Using reflection is more than 3 times faster than directly loading delegates on the first // run, probably due to code generation overhead. Subsequent runs are faster with direct loading @@ -166,7 +237,7 @@ namespace OpenTK #region LoadEntryPoint - internal bool LoadEntryPoint(string function) + internal virtual bool LoadEntryPoint(string function) { FieldInfo f = DelegatesClass.GetField(function, BindingFlags.Static | BindingFlags.NonPublic); if (f == null) @@ -186,6 +257,27 @@ namespace OpenTK #endregion + #region GetExtensionDelegate + + // Creates a System.Delegate that can be used to call a dynamically exported OpenGL function. + internal virtual Delegate GetExtensionDelegate(string name, Type signature) + { + IntPtr address = GetAddress(name); + + if (address == IntPtr.Zero || + address == new IntPtr(1) || // Workaround for buggy nvidia drivers which return + address == new IntPtr(2)) // 1 or 2 instead of IntPtr.Zero for some extensions. + { + return null; + } + else + { + return Marshal.GetDelegateForFunctionPointer(address, signature); + } + } + + #endregion + #endregion #region Private Members @@ -204,27 +296,6 @@ namespace OpenTK #endregion - #region GetExtensionDelegate - - // Creates a System.Delegate that can be used to call a dynamically exported OpenGL function. - internal Delegate GetExtensionDelegate(string name, Type signature) - { - IntPtr address = GetAddress(name); - - if (address == IntPtr.Zero || - address == new IntPtr(1) || // Workaround for buggy nvidia drivers which return - address == new IntPtr(2)) // 1 or 2 instead of IntPtr.Zero for some extensions. - { - return null; - } - else - { - return Marshal.GetDelegateForFunctionPointer(address, signature); - } - } - - #endregion - #endregion } } diff --git a/Source/OpenTK/Graphics/ES10/Delegates.cs b/Source/OpenTK/Graphics/ES10/Delegates.cs deleted file mode 100644 index 8a6d11e8..00000000 --- a/Source/OpenTK/Graphics/ES10/Delegates.cs +++ /dev/null @@ -1,361 +0,0 @@ -#region License -// -// The Open Toolkit Library License -// -// Copyright (c) 2006 - 2009 the Open Toolkit library. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights to -// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -// the Software, and to permit persons to whom the Software is furnished to do -// so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -// OTHER DEALINGS IN THE SOFTWARE. -// -#endregion - -namespace OpenTK.Graphics.ES10 -{ - using System; - using System.Text; - using System.Runtime.InteropServices; - #pragma warning disable 0649 - #pragma warning disable 3019 - #pragma warning disable 1591 - - partial class GL - { - internal static partial class Delegates - { - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ActiveTexture(OpenTK.Graphics.ES10.All texture); - internal static ActiveTexture glActiveTexture; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void AlphaFunc(OpenTK.Graphics.ES10.All func, Single @ref); - internal static AlphaFunc glAlphaFunc; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void AlphaFuncx(OpenTK.Graphics.ES10.All func, int @ref); - internal static AlphaFuncx glAlphaFuncx; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindTexture(OpenTK.Graphics.ES10.All target, UInt32 texture); - internal static BindTexture glBindTexture; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendFunc(OpenTK.Graphics.ES10.All sfactor, OpenTK.Graphics.ES10.All dfactor); - internal static BlendFunc glBlendFunc; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Clear(UInt32 mask); - internal static Clear glClear; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearColor(Single red, Single green, Single blue, Single alpha); - internal static ClearColor glClearColor; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearColorx(int red, int green, int blue, int alpha); - internal static ClearColorx glClearColorx; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearDepthf(Single depth); - internal static ClearDepthf glClearDepthf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearDepthx(int depth); - internal static ClearDepthx glClearDepthx; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearStencil(Int32 s); - internal static ClearStencil glClearStencil; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClientActiveTexture(OpenTK.Graphics.ES10.All texture); - internal static ClientActiveTexture glClientActiveTexture; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Color4f(Single red, Single green, Single blue, Single alpha); - internal static Color4f glColor4f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Color4x(int red, int green, int blue, int alpha); - internal static Color4x glColor4x; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorMask(bool red, bool green, bool blue, bool alpha); - internal static ColorMask glColorMask; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorPointer(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, IntPtr pointer); - internal static ColorPointer glColorPointer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexImage2D(OpenTK.Graphics.ES10.All target, Int32 level, OpenTK.Graphics.ES10.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); - internal static CompressedTexImage2D glCompressedTexImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexSubImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, Int32 imageSize, IntPtr data); - internal static CompressedTexSubImage2D glCompressedTexSubImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexImage2D(OpenTK.Graphics.ES10.All target, Int32 level, OpenTK.Graphics.ES10.All internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); - internal static CopyTexImage2D glCopyTexImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexSubImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); - internal static CopyTexSubImage2D glCopyTexSubImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CullFace(OpenTK.Graphics.ES10.All mode); - internal static CullFace glCullFace; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteTextures(Int32 n, UInt32* textures); - internal unsafe static DeleteTextures glDeleteTextures; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DepthFunc(OpenTK.Graphics.ES10.All func); - internal static DepthFunc glDepthFunc; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DepthMask(bool flag); - internal static DepthMask glDepthMask; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DepthRangef(Single zNear, Single zFar); - internal static DepthRangef glDepthRangef; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DepthRangex(int zNear, int zFar); - internal static DepthRangex glDepthRangex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Disable(OpenTK.Graphics.ES10.All cap); - internal static Disable glDisable; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DisableClientState(OpenTK.Graphics.ES10.All array); - internal static DisableClientState glDisableClientState; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawArrays(OpenTK.Graphics.ES10.All mode, Int32 first, Int32 count); - internal static DrawArrays glDrawArrays; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElements(OpenTK.Graphics.ES10.All mode, Int32 count, OpenTK.Graphics.ES10.All type, IntPtr indices); - internal static DrawElements glDrawElements; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Enable(OpenTK.Graphics.ES10.All cap); - internal static Enable glEnable; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EnableClientState(OpenTK.Graphics.ES10.All array); - internal static EnableClientState glEnableClientState; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Finish(); - internal static Finish glFinish; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Flush(); - internal static Flush glFlush; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Fogf(OpenTK.Graphics.ES10.All pname, Single param); - internal static Fogf glFogf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Fogfv(OpenTK.Graphics.ES10.All pname, Single* @params); - internal unsafe static Fogfv glFogfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Fogx(OpenTK.Graphics.ES10.All pname, int param); - internal static Fogx glFogx; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Fogxv(OpenTK.Graphics.ES10.All pname, int* @params); - internal unsafe static Fogxv glFogxv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FrontFace(OpenTK.Graphics.ES10.All mode); - internal static FrontFace glFrontFace; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Frustumf(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar); - internal static Frustumf glFrustumf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Frustumx(int left, int right, int bottom, int top, int zNear, int zFar); - internal static Frustumx glFrustumx; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenTextures(Int32 n, UInt32* textures); - internal unsafe static GenTextures glGenTextures; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate OpenTK.Graphics.ES10.All GetError(); - internal static GetError glGetError; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetIntegerv(OpenTK.Graphics.ES10.All pname, Int32* @params); - internal unsafe static GetIntegerv glGetIntegerv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate System.IntPtr GetString(OpenTK.Graphics.ES10.All name); - internal unsafe static GetString glGetString; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Hint(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All mode); - internal static Hint glHint; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Lightf(OpenTK.Graphics.ES10.All light, OpenTK.Graphics.ES10.All pname, Single param); - internal static Lightf glLightf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Lightfv(OpenTK.Graphics.ES10.All light, OpenTK.Graphics.ES10.All pname, Single* @params); - internal unsafe static Lightfv glLightfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LightModelf(OpenTK.Graphics.ES10.All pname, Single param); - internal static LightModelf glLightModelf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void LightModelfv(OpenTK.Graphics.ES10.All pname, Single* @params); - internal unsafe static LightModelfv glLightModelfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LightModelx(OpenTK.Graphics.ES10.All pname, int param); - internal static LightModelx glLightModelx; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void LightModelxv(OpenTK.Graphics.ES10.All pname, int* @params); - internal unsafe static LightModelxv glLightModelxv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Lightx(OpenTK.Graphics.ES10.All light, OpenTK.Graphics.ES10.All pname, int param); - internal static Lightx glLightx; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Lightxv(OpenTK.Graphics.ES10.All light, OpenTK.Graphics.ES10.All pname, int* @params); - internal unsafe static Lightxv glLightxv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LineWidth(Single width); - internal static LineWidth glLineWidth; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LineWidthx(int width); - internal static LineWidthx glLineWidthx; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LoadIdentity(); - internal static LoadIdentity glLoadIdentity; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void LoadMatrixf(Single* m); - internal unsafe static LoadMatrixf glLoadMatrixf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void LoadMatrixx(int* m); - internal unsafe static LoadMatrixx glLoadMatrixx; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LogicOp(OpenTK.Graphics.ES10.All opcode); - internal static LogicOp glLogicOp; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Materialf(OpenTK.Graphics.ES10.All face, OpenTK.Graphics.ES10.All pname, Single param); - internal static Materialf glMaterialf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Materialfv(OpenTK.Graphics.ES10.All face, OpenTK.Graphics.ES10.All pname, Single* @params); - internal unsafe static Materialfv glMaterialfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Materialx(OpenTK.Graphics.ES10.All face, OpenTK.Graphics.ES10.All pname, int param); - internal static Materialx glMaterialx; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Materialxv(OpenTK.Graphics.ES10.All face, OpenTK.Graphics.ES10.All pname, int* @params); - internal unsafe static Materialxv glMaterialxv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MatrixMode(OpenTK.Graphics.ES10.All mode); - internal static MatrixMode glMatrixMode; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord4f(OpenTK.Graphics.ES10.All target, Single s, Single t, Single r, Single q); - internal static MultiTexCoord4f glMultiTexCoord4f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord4x(OpenTK.Graphics.ES10.All target, int s, int t, int r, int q); - internal static MultiTexCoord4x glMultiTexCoord4x; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultMatrixf(Single* m); - internal unsafe static MultMatrixf glMultMatrixf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultMatrixx(int* m); - internal unsafe static MultMatrixx glMultMatrixx; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Normal3f(Single nx, Single ny, Single nz); - internal static Normal3f glNormal3f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Normal3x(int nx, int ny, int nz); - internal static Normal3x glNormal3x; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NormalPointer(OpenTK.Graphics.ES10.All type, Int32 stride, IntPtr pointer); - internal static NormalPointer glNormalPointer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Orthof(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar); - internal static Orthof glOrthof; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Orthox(int left, int right, int bottom, int top, int zNear, int zFar); - internal static Orthox glOrthox; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelStorei(OpenTK.Graphics.ES10.All pname, Int32 param); - internal static PixelStorei glPixelStorei; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PointSize(Single size); - internal static PointSize glPointSize; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PointSizex(int size); - internal static PointSizex glPointSizex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PolygonOffset(Single factor, Single units); - internal static PolygonOffset glPolygonOffset; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PolygonOffsetx(int factor, int units); - internal static PolygonOffsetx glPolygonOffsetx; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PopMatrix(); - internal static PopMatrix glPopMatrix; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PushMatrix(); - internal static PushMatrix glPushMatrix; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, IntPtr pixels); - internal static ReadPixels glReadPixels; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Rotatef(Single angle, Single x, Single y, Single z); - internal static Rotatef glRotatef; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Rotatex(int angle, int x, int y, int z); - internal static Rotatex glRotatex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SampleCoverage(Single value, bool invert); - internal static SampleCoverage glSampleCoverage; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SampleCoveragex(int value, bool invert); - internal static SampleCoveragex glSampleCoveragex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Scalef(Single x, Single y, Single z); - internal static Scalef glScalef; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Scalex(int x, int y, int z); - internal static Scalex glScalex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Scissor(Int32 x, Int32 y, Int32 width, Int32 height); - internal static Scissor glScissor; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ShadeModel(OpenTK.Graphics.ES10.All mode); - internal static ShadeModel glShadeModel; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilFunc(OpenTK.Graphics.ES10.All func, Int32 @ref, UInt32 mask); - internal static StencilFunc glStencilFunc; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilMask(UInt32 mask); - internal static StencilMask glStencilMask; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilOp(OpenTK.Graphics.ES10.All fail, OpenTK.Graphics.ES10.All zfail, OpenTK.Graphics.ES10.All zpass); - internal static StencilOp glStencilOp; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoordPointer(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, IntPtr pointer); - internal static TexCoordPointer glTexCoordPointer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexEnvf(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, Single param); - internal static TexEnvf glTexEnvf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexEnvfv(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, Single* @params); - internal unsafe static TexEnvfv glTexEnvfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexEnvx(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, int param); - internal static TexEnvx glTexEnvx; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexEnvxv(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, int* @params); - internal unsafe static TexEnvxv glTexEnvxv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, IntPtr pixels); - internal static TexImage2D glTexImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexParameterf(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, Single param); - internal static TexParameterf glTexParameterf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexParameterx(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, int param); - internal static TexParameterx glTexParameterx; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexSubImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, IntPtr pixels); - internal static TexSubImage2D glTexSubImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Translatef(Single x, Single y, Single z); - internal static Translatef glTranslatef; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Translatex(int x, int y, int z); - internal static Translatex glTranslatex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexPointer(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, IntPtr pointer); - internal static VertexPointer glVertexPointer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Viewport(Int32 x, Int32 y, Int32 width, Int32 height); - internal static Viewport glViewport; - } - } -} diff --git a/Source/OpenTK/Graphics/ES10/ES.cs b/Source/OpenTK/Graphics/ES10/ES.cs index 14ee343c..9da61a4a 100644 --- a/Source/OpenTK/Graphics/ES10/ES.cs +++ b/Source/OpenTK/Graphics/ES10/ES.cs @@ -56,7 +56,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glActiveTexture((OpenTK.Graphics.ES10.All)texture); + Core.ActiveTexture((OpenTK.Graphics.ES10.All)texture); #if DEBUG } #endif @@ -84,7 +84,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glAlphaFunc((OpenTK.Graphics.ES10.All)func, (Single)@ref); + Core.AlphaFunc((OpenTK.Graphics.ES10.All)func, (Single)@ref); #if DEBUG } #endif @@ -99,7 +99,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glAlphaFuncx((OpenTK.Graphics.ES10.All)func, (int)@ref); + Core.AlphaFuncx((OpenTK.Graphics.ES10.All)func, (int)@ref); #if DEBUG } #endif @@ -127,7 +127,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindTexture((OpenTK.Graphics.ES10.All)target, (UInt32)texture); + Core.BindTexture((OpenTK.Graphics.ES10.All)target, (UInt32)texture); #if DEBUG } #endif @@ -156,7 +156,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindTexture((OpenTK.Graphics.ES10.All)target, (UInt32)texture); + Core.BindTexture((OpenTK.Graphics.ES10.All)target, (UInt32)texture); #if DEBUG } #endif @@ -184,7 +184,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBlendFunc((OpenTK.Graphics.ES10.All)sfactor, (OpenTK.Graphics.ES10.All)dfactor); + Core.BlendFunc((OpenTK.Graphics.ES10.All)sfactor, (OpenTK.Graphics.ES10.All)dfactor); #if DEBUG } #endif @@ -207,7 +207,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glClear((UInt32)mask); + Core.Clear((UInt32)mask); #if DEBUG } #endif @@ -231,7 +231,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glClear((UInt32)mask); + Core.Clear((UInt32)mask); #if DEBUG } #endif @@ -254,7 +254,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glClearColor((Single)red, (Single)green, (Single)blue, (Single)alpha); + Core.ClearColor((Single)red, (Single)green, (Single)blue, (Single)alpha); #if DEBUG } #endif @@ -269,7 +269,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glClearColorx((int)red, (int)green, (int)blue, (int)alpha); + Core.ClearColorx((int)red, (int)green, (int)blue, (int)alpha); #if DEBUG } #endif @@ -292,7 +292,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glClearDepthf((Single)depth); + Core.ClearDepthf((Single)depth); #if DEBUG } #endif @@ -307,7 +307,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glClearDepthx((int)depth); + Core.ClearDepthx((int)depth); #if DEBUG } #endif @@ -330,7 +330,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glClearStencil((Int32)s); + Core.ClearStencil((Int32)s); #if DEBUG } #endif @@ -353,7 +353,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glClientActiveTexture((OpenTK.Graphics.ES10.All)texture); + Core.ClientActiveTexture((OpenTK.Graphics.ES10.All)texture); #if DEBUG } #endif @@ -381,7 +381,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glColor4f((Single)red, (Single)green, (Single)blue, (Single)alpha); + Core.Color4f((Single)red, (Single)green, (Single)blue, (Single)alpha); #if DEBUG } #endif @@ -396,7 +396,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glColor4x((int)red, (int)green, (int)blue, (int)alpha); + Core.Color4x((int)red, (int)green, (int)blue, (int)alpha); #if DEBUG } #endif @@ -419,7 +419,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glColorMask((bool)red, (bool)green, (bool)blue, (bool)alpha); + Core.ColorMask((bool)red, (bool)green, (bool)blue, (bool)alpha); #if DEBUG } #endif @@ -457,7 +457,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer); + Core.ColorPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer); #if DEBUG } #endif @@ -499,7 +499,7 @@ namespace OpenTK.Graphics.ES10 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Core.ColorPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -546,7 +546,7 @@ namespace OpenTK.Graphics.ES10 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Core.ColorPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -593,7 +593,7 @@ namespace OpenTK.Graphics.ES10 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Core.ColorPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -640,7 +640,7 @@ namespace OpenTK.Graphics.ES10 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Core.ColorPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); pointer = (T3)pointer_ptr.Target; } finally @@ -704,7 +704,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (OpenTK.Graphics.ES10.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); + Core.CompressedTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (OpenTK.Graphics.ES10.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); #if DEBUG } #endif @@ -766,7 +766,7 @@ namespace OpenTK.Graphics.ES10 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (OpenTK.Graphics.ES10.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Core.CompressedTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (OpenTK.Graphics.ES10.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -833,7 +833,7 @@ namespace OpenTK.Graphics.ES10 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (OpenTK.Graphics.ES10.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Core.CompressedTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (OpenTK.Graphics.ES10.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -900,7 +900,7 @@ namespace OpenTK.Graphics.ES10 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (OpenTK.Graphics.ES10.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Core.CompressedTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (OpenTK.Graphics.ES10.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -967,7 +967,7 @@ namespace OpenTK.Graphics.ES10 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (OpenTK.Graphics.ES10.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Core.CompressedTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (OpenTK.Graphics.ES10.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); data = (T7)data_ptr.Target; } finally @@ -1036,7 +1036,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (Int32)imageSize, (IntPtr)data); + Core.CompressedTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (Int32)imageSize, (IntPtr)data); #if DEBUG } #endif @@ -1103,7 +1103,7 @@ namespace OpenTK.Graphics.ES10 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Core.CompressedTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -1175,7 +1175,7 @@ namespace OpenTK.Graphics.ES10 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Core.CompressedTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -1247,7 +1247,7 @@ namespace OpenTK.Graphics.ES10 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Core.CompressedTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -1319,7 +1319,7 @@ namespace OpenTK.Graphics.ES10 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Core.CompressedTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); data = (T8)data_ptr.Target; } finally @@ -1378,7 +1378,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (OpenTK.Graphics.ES10.All)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); + Core.CopyTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (OpenTK.Graphics.ES10.All)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); #if DEBUG } #endif @@ -1431,7 +1431,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + Core.CopyTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); #if DEBUG } #endif @@ -1454,7 +1454,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCullFace((OpenTK.Graphics.ES10.All)mode); + Core.CullFace((OpenTK.Graphics.ES10.All)mode); #if DEBUG } #endif @@ -1486,7 +1486,7 @@ namespace OpenTK.Graphics.ES10 { fixed (Int32* textures_ptr = textures) { - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); + Core.DeleteTextures((Int32)n, (UInt32*)textures_ptr); } } #if DEBUG @@ -1520,7 +1520,7 @@ namespace OpenTK.Graphics.ES10 { fixed (Int32* textures_ptr = &textures) { - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); + Core.DeleteTextures((Int32)n, (UInt32*)textures_ptr); } } #if DEBUG @@ -1551,7 +1551,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); + Core.DeleteTextures((Int32)n, (UInt32*)textures); #if DEBUG } #endif @@ -1584,7 +1584,7 @@ namespace OpenTK.Graphics.ES10 { fixed (UInt32* textures_ptr = textures) { - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); + Core.DeleteTextures((Int32)n, (UInt32*)textures_ptr); } } #if DEBUG @@ -1619,7 +1619,7 @@ namespace OpenTK.Graphics.ES10 { fixed (UInt32* textures_ptr = &textures) { - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); + Core.DeleteTextures((Int32)n, (UInt32*)textures_ptr); } } #if DEBUG @@ -1650,7 +1650,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); + Core.DeleteTextures((Int32)n, (UInt32*)textures); #if DEBUG } #endif @@ -1673,7 +1673,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDepthFunc((OpenTK.Graphics.ES10.All)func); + Core.DepthFunc((OpenTK.Graphics.ES10.All)func); #if DEBUG } #endif @@ -1696,7 +1696,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDepthMask((bool)flag); + Core.DepthMask((bool)flag); #if DEBUG } #endif @@ -1724,7 +1724,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDepthRangef((Single)zNear, (Single)zFar); + Core.DepthRangef((Single)zNear, (Single)zFar); #if DEBUG } #endif @@ -1739,7 +1739,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDepthRangex((int)zNear, (int)zFar); + Core.DepthRangex((int)zNear, (int)zFar); #if DEBUG } #endif @@ -1754,7 +1754,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDisable((OpenTK.Graphics.ES10.All)cap); + Core.Disable((OpenTK.Graphics.ES10.All)cap); #if DEBUG } #endif @@ -1769,7 +1769,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDisableClientState((OpenTK.Graphics.ES10.All)array); + Core.DisableClientState((OpenTK.Graphics.ES10.All)array); #if DEBUG } #endif @@ -1802,7 +1802,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawArrays((OpenTK.Graphics.ES10.All)mode, (Int32)first, (Int32)count); + Core.DrawArrays((OpenTK.Graphics.ES10.All)mode, (Int32)first, (Int32)count); #if DEBUG } #endif @@ -1840,7 +1840,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawElements((OpenTK.Graphics.ES10.All)mode, (Int32)count, (OpenTK.Graphics.ES10.All)type, (IntPtr)indices); + Core.DrawElements((OpenTK.Graphics.ES10.All)mode, (Int32)count, (OpenTK.Graphics.ES10.All)type, (IntPtr)indices); #if DEBUG } #endif @@ -1882,7 +1882,7 @@ namespace OpenTK.Graphics.ES10 GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElements((OpenTK.Graphics.ES10.All)mode, (Int32)count, (OpenTK.Graphics.ES10.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + Core.DrawElements((OpenTK.Graphics.ES10.All)mode, (Int32)count, (OpenTK.Graphics.ES10.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); } finally { @@ -1929,7 +1929,7 @@ namespace OpenTK.Graphics.ES10 GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElements((OpenTK.Graphics.ES10.All)mode, (Int32)count, (OpenTK.Graphics.ES10.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + Core.DrawElements((OpenTK.Graphics.ES10.All)mode, (Int32)count, (OpenTK.Graphics.ES10.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); } finally { @@ -1976,7 +1976,7 @@ namespace OpenTK.Graphics.ES10 GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElements((OpenTK.Graphics.ES10.All)mode, (Int32)count, (OpenTK.Graphics.ES10.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + Core.DrawElements((OpenTK.Graphics.ES10.All)mode, (Int32)count, (OpenTK.Graphics.ES10.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); } finally { @@ -2023,7 +2023,7 @@ namespace OpenTK.Graphics.ES10 GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElements((OpenTK.Graphics.ES10.All)mode, (Int32)count, (OpenTK.Graphics.ES10.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + Core.DrawElements((OpenTK.Graphics.ES10.All)mode, (Int32)count, (OpenTK.Graphics.ES10.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); indices = (T3)indices_ptr.Target; } finally @@ -2052,7 +2052,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glEnable((OpenTK.Graphics.ES10.All)cap); + Core.Enable((OpenTK.Graphics.ES10.All)cap); #if DEBUG } #endif @@ -2075,7 +2075,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glEnableClientState((OpenTK.Graphics.ES10.All)array); + Core.EnableClientState((OpenTK.Graphics.ES10.All)array); #if DEBUG } #endif @@ -2093,7 +2093,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFinish(); + Core.Finish(); #if DEBUG } #endif @@ -2111,7 +2111,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFlush(); + Core.Flush(); #if DEBUG } #endif @@ -2139,7 +2139,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFogf((OpenTK.Graphics.ES10.All)pname, (Single)param); + Core.Fogf((OpenTK.Graphics.ES10.All)pname, (Single)param); #if DEBUG } #endif @@ -2171,7 +2171,7 @@ namespace OpenTK.Graphics.ES10 { fixed (Single* @params_ptr = @params) { - Delegates.glFogfv((OpenTK.Graphics.ES10.All)pname, (Single*)@params_ptr); + Core.Fogfv((OpenTK.Graphics.ES10.All)pname, (Single*)@params_ptr); } } #if DEBUG @@ -2202,7 +2202,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFogfv((OpenTK.Graphics.ES10.All)pname, (Single*)@params); + Core.Fogfv((OpenTK.Graphics.ES10.All)pname, (Single*)@params); #if DEBUG } #endif @@ -2217,7 +2217,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFogx((OpenTK.Graphics.ES10.All)pname, (int)param); + Core.Fogx((OpenTK.Graphics.ES10.All)pname, (int)param); #if DEBUG } #endif @@ -2236,7 +2236,7 @@ namespace OpenTK.Graphics.ES10 { fixed (int* @params_ptr = @params) { - Delegates.glFogxv((OpenTK.Graphics.ES10.All)pname, (int*)@params_ptr); + Core.Fogxv((OpenTK.Graphics.ES10.All)pname, (int*)@params_ptr); } } #if DEBUG @@ -2254,7 +2254,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFogxv((OpenTK.Graphics.ES10.All)pname, (int*)@params); + Core.Fogxv((OpenTK.Graphics.ES10.All)pname, (int*)@params); #if DEBUG } #endif @@ -2277,7 +2277,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFrontFace((OpenTK.Graphics.ES10.All)mode); + Core.FrontFace((OpenTK.Graphics.ES10.All)mode); #if DEBUG } #endif @@ -2310,7 +2310,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFrustumf((Single)left, (Single)right, (Single)bottom, (Single)top, (Single)zNear, (Single)zFar); + Core.Frustumf((Single)left, (Single)right, (Single)bottom, (Single)top, (Single)zNear, (Single)zFar); #if DEBUG } #endif @@ -2325,7 +2325,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFrustumx((int)left, (int)right, (int)bottom, (int)top, (int)zNear, (int)zFar); + Core.Frustumx((int)left, (int)right, (int)bottom, (int)top, (int)zNear, (int)zFar); #if DEBUG } #endif @@ -2357,7 +2357,7 @@ namespace OpenTK.Graphics.ES10 { fixed (Int32* textures_ptr = textures) { - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); + Core.GenTextures((Int32)n, (UInt32*)textures_ptr); } } #if DEBUG @@ -2391,7 +2391,7 @@ namespace OpenTK.Graphics.ES10 { fixed (Int32* textures_ptr = &textures) { - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); + Core.GenTextures((Int32)n, (UInt32*)textures_ptr); } } #if DEBUG @@ -2422,7 +2422,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGenTextures((Int32)n, (UInt32*)textures); + Core.GenTextures((Int32)n, (UInt32*)textures); #if DEBUG } #endif @@ -2455,7 +2455,7 @@ namespace OpenTK.Graphics.ES10 { fixed (UInt32* textures_ptr = textures) { - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); + Core.GenTextures((Int32)n, (UInt32*)textures_ptr); } } #if DEBUG @@ -2490,7 +2490,7 @@ namespace OpenTK.Graphics.ES10 { fixed (UInt32* textures_ptr = &textures) { - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); + Core.GenTextures((Int32)n, (UInt32*)textures_ptr); } } #if DEBUG @@ -2521,7 +2521,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGenTextures((Int32)n, (UInt32*)textures); + Core.GenTextures((Int32)n, (UInt32*)textures); #if DEBUG } #endif @@ -2535,7 +2535,7 @@ namespace OpenTK.Graphics.ES10 public static OpenTK.Graphics.ES10.All GetError() { - return Delegates.glGetError(); + return Core.GetError(); } /// [requires: v1.0 and 1.0] @@ -2551,7 +2551,7 @@ namespace OpenTK.Graphics.ES10 { fixed (Int32* @params_ptr = @params) { - Delegates.glGetIntegerv((OpenTK.Graphics.ES10.All)pname, (Int32*)@params_ptr); + Core.GetIntegerv((OpenTK.Graphics.ES10.All)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -2572,7 +2572,7 @@ namespace OpenTK.Graphics.ES10 { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetIntegerv((OpenTK.Graphics.ES10.All)pname, (Int32*)@params_ptr); + Core.GetIntegerv((OpenTK.Graphics.ES10.All)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -2590,7 +2590,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetIntegerv((OpenTK.Graphics.ES10.All)pname, (Int32*)@params); + Core.GetIntegerv((OpenTK.Graphics.ES10.All)pname, (Int32*)@params); #if DEBUG } #endif @@ -2619,7 +2619,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe { return new string((sbyte*)Delegates.glGetString((OpenTK.Graphics.ES10.All)name)); } + unsafe { return new string((sbyte*)Core.GetString((OpenTK.Graphics.ES10.All)name)); } #if DEBUG } #endif @@ -2647,7 +2647,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glHint((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)mode); + Core.Hint((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)mode); #if DEBUG } #endif @@ -2680,7 +2680,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLightf((OpenTK.Graphics.ES10.All)light, (OpenTK.Graphics.ES10.All)pname, (Single)param); + Core.Lightf((OpenTK.Graphics.ES10.All)light, (OpenTK.Graphics.ES10.All)pname, (Single)param); #if DEBUG } #endif @@ -2717,7 +2717,7 @@ namespace OpenTK.Graphics.ES10 { fixed (Single* @params_ptr = @params) { - Delegates.glLightfv((OpenTK.Graphics.ES10.All)light, (OpenTK.Graphics.ES10.All)pname, (Single*)@params_ptr); + Core.Lightfv((OpenTK.Graphics.ES10.All)light, (OpenTK.Graphics.ES10.All)pname, (Single*)@params_ptr); } } #if DEBUG @@ -2753,7 +2753,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLightfv((OpenTK.Graphics.ES10.All)light, (OpenTK.Graphics.ES10.All)pname, (Single*)@params); + Core.Lightfv((OpenTK.Graphics.ES10.All)light, (OpenTK.Graphics.ES10.All)pname, (Single*)@params); #if DEBUG } #endif @@ -2781,7 +2781,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLightModelf((OpenTK.Graphics.ES10.All)pname, (Single)param); + Core.LightModelf((OpenTK.Graphics.ES10.All)pname, (Single)param); #if DEBUG } #endif @@ -2813,7 +2813,7 @@ namespace OpenTK.Graphics.ES10 { fixed (Single* @params_ptr = @params) { - Delegates.glLightModelfv((OpenTK.Graphics.ES10.All)pname, (Single*)@params_ptr); + Core.LightModelfv((OpenTK.Graphics.ES10.All)pname, (Single*)@params_ptr); } } #if DEBUG @@ -2844,7 +2844,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLightModelfv((OpenTK.Graphics.ES10.All)pname, (Single*)@params); + Core.LightModelfv((OpenTK.Graphics.ES10.All)pname, (Single*)@params); #if DEBUG } #endif @@ -2859,7 +2859,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLightModelx((OpenTK.Graphics.ES10.All)pname, (int)param); + Core.LightModelx((OpenTK.Graphics.ES10.All)pname, (int)param); #if DEBUG } #endif @@ -2878,7 +2878,7 @@ namespace OpenTK.Graphics.ES10 { fixed (int* @params_ptr = @params) { - Delegates.glLightModelxv((OpenTK.Graphics.ES10.All)pname, (int*)@params_ptr); + Core.LightModelxv((OpenTK.Graphics.ES10.All)pname, (int*)@params_ptr); } } #if DEBUG @@ -2896,7 +2896,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLightModelxv((OpenTK.Graphics.ES10.All)pname, (int*)@params); + Core.LightModelxv((OpenTK.Graphics.ES10.All)pname, (int*)@params); #if DEBUG } #endif @@ -2911,7 +2911,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLightx((OpenTK.Graphics.ES10.All)light, (OpenTK.Graphics.ES10.All)pname, (int)param); + Core.Lightx((OpenTK.Graphics.ES10.All)light, (OpenTK.Graphics.ES10.All)pname, (int)param); #if DEBUG } #endif @@ -2930,7 +2930,7 @@ namespace OpenTK.Graphics.ES10 { fixed (int* @params_ptr = @params) { - Delegates.glLightxv((OpenTK.Graphics.ES10.All)light, (OpenTK.Graphics.ES10.All)pname, (int*)@params_ptr); + Core.Lightxv((OpenTK.Graphics.ES10.All)light, (OpenTK.Graphics.ES10.All)pname, (int*)@params_ptr); } } #if DEBUG @@ -2948,7 +2948,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLightxv((OpenTK.Graphics.ES10.All)light, (OpenTK.Graphics.ES10.All)pname, (int*)@params); + Core.Lightxv((OpenTK.Graphics.ES10.All)light, (OpenTK.Graphics.ES10.All)pname, (int*)@params); #if DEBUG } #endif @@ -2971,7 +2971,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLineWidth((Single)width); + Core.LineWidth((Single)width); #if DEBUG } #endif @@ -2986,7 +2986,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLineWidthx((int)width); + Core.LineWidthx((int)width); #if DEBUG } #endif @@ -3004,7 +3004,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLoadIdentity(); + Core.LoadIdentity(); #if DEBUG } #endif @@ -3031,7 +3031,7 @@ namespace OpenTK.Graphics.ES10 { fixed (Single* m_ptr = m) { - Delegates.glLoadMatrixf((Single*)m_ptr); + Core.LoadMatrixf((Single*)m_ptr); } } #if DEBUG @@ -3060,7 +3060,7 @@ namespace OpenTK.Graphics.ES10 { fixed (Single* m_ptr = &m) { - Delegates.glLoadMatrixf((Single*)m_ptr); + Core.LoadMatrixf((Single*)m_ptr); } } #if DEBUG @@ -3086,7 +3086,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLoadMatrixf((Single*)m); + Core.LoadMatrixf((Single*)m); #if DEBUG } #endif @@ -3105,7 +3105,7 @@ namespace OpenTK.Graphics.ES10 { fixed (int* m_ptr = m) { - Delegates.glLoadMatrixx((int*)m_ptr); + Core.LoadMatrixx((int*)m_ptr); } } #if DEBUG @@ -3126,7 +3126,7 @@ namespace OpenTK.Graphics.ES10 { fixed (int* m_ptr = &m) { - Delegates.glLoadMatrixx((int*)m_ptr); + Core.LoadMatrixx((int*)m_ptr); } } #if DEBUG @@ -3144,7 +3144,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLoadMatrixx((int*)m); + Core.LoadMatrixx((int*)m); #if DEBUG } #endif @@ -3167,7 +3167,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLogicOp((OpenTK.Graphics.ES10.All)opcode); + Core.LogicOp((OpenTK.Graphics.ES10.All)opcode); #if DEBUG } #endif @@ -3200,7 +3200,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMaterialf((OpenTK.Graphics.ES10.All)face, (OpenTK.Graphics.ES10.All)pname, (Single)param); + Core.Materialf((OpenTK.Graphics.ES10.All)face, (OpenTK.Graphics.ES10.All)pname, (Single)param); #if DEBUG } #endif @@ -3237,7 +3237,7 @@ namespace OpenTK.Graphics.ES10 { fixed (Single* @params_ptr = @params) { - Delegates.glMaterialfv((OpenTK.Graphics.ES10.All)face, (OpenTK.Graphics.ES10.All)pname, (Single*)@params_ptr); + Core.Materialfv((OpenTK.Graphics.ES10.All)face, (OpenTK.Graphics.ES10.All)pname, (Single*)@params_ptr); } } #if DEBUG @@ -3273,7 +3273,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMaterialfv((OpenTK.Graphics.ES10.All)face, (OpenTK.Graphics.ES10.All)pname, (Single*)@params); + Core.Materialfv((OpenTK.Graphics.ES10.All)face, (OpenTK.Graphics.ES10.All)pname, (Single*)@params); #if DEBUG } #endif @@ -3288,7 +3288,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMaterialx((OpenTK.Graphics.ES10.All)face, (OpenTK.Graphics.ES10.All)pname, (int)param); + Core.Materialx((OpenTK.Graphics.ES10.All)face, (OpenTK.Graphics.ES10.All)pname, (int)param); #if DEBUG } #endif @@ -3307,7 +3307,7 @@ namespace OpenTK.Graphics.ES10 { fixed (int* @params_ptr = @params) { - Delegates.glMaterialxv((OpenTK.Graphics.ES10.All)face, (OpenTK.Graphics.ES10.All)pname, (int*)@params_ptr); + Core.Materialxv((OpenTK.Graphics.ES10.All)face, (OpenTK.Graphics.ES10.All)pname, (int*)@params_ptr); } } #if DEBUG @@ -3325,7 +3325,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMaterialxv((OpenTK.Graphics.ES10.All)face, (OpenTK.Graphics.ES10.All)pname, (int*)@params); + Core.Materialxv((OpenTK.Graphics.ES10.All)face, (OpenTK.Graphics.ES10.All)pname, (int*)@params); #if DEBUG } #endif @@ -3348,7 +3348,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMatrixMode((OpenTK.Graphics.ES10.All)mode); + Core.MatrixMode((OpenTK.Graphics.ES10.All)mode); #if DEBUG } #endif @@ -3376,7 +3376,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord4f((OpenTK.Graphics.ES10.All)target, (Single)s, (Single)t, (Single)r, (Single)q); + Core.MultiTexCoord4f((OpenTK.Graphics.ES10.All)target, (Single)s, (Single)t, (Single)r, (Single)q); #if DEBUG } #endif @@ -3391,7 +3391,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord4x((OpenTK.Graphics.ES10.All)target, (int)s, (int)t, (int)r, (int)q); + Core.MultiTexCoord4x((OpenTK.Graphics.ES10.All)target, (int)s, (int)t, (int)r, (int)q); #if DEBUG } #endif @@ -3418,7 +3418,7 @@ namespace OpenTK.Graphics.ES10 { fixed (Single* m_ptr = m) { - Delegates.glMultMatrixf((Single*)m_ptr); + Core.MultMatrixf((Single*)m_ptr); } } #if DEBUG @@ -3447,7 +3447,7 @@ namespace OpenTK.Graphics.ES10 { fixed (Single* m_ptr = &m) { - Delegates.glMultMatrixf((Single*)m_ptr); + Core.MultMatrixf((Single*)m_ptr); } } #if DEBUG @@ -3473,7 +3473,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultMatrixf((Single*)m); + Core.MultMatrixf((Single*)m); #if DEBUG } #endif @@ -3492,7 +3492,7 @@ namespace OpenTK.Graphics.ES10 { fixed (int* m_ptr = m) { - Delegates.glMultMatrixx((int*)m_ptr); + Core.MultMatrixx((int*)m_ptr); } } #if DEBUG @@ -3513,7 +3513,7 @@ namespace OpenTK.Graphics.ES10 { fixed (int* m_ptr = &m) { - Delegates.glMultMatrixx((int*)m_ptr); + Core.MultMatrixx((int*)m_ptr); } } #if DEBUG @@ -3531,7 +3531,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultMatrixx((int*)m); + Core.MultMatrixx((int*)m); #if DEBUG } #endif @@ -3557,7 +3557,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNormal3f((Single)nx, (Single)ny, (Single)nz); + Core.Normal3f((Single)nx, (Single)ny, (Single)nz); #if DEBUG } #endif @@ -3572,7 +3572,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNormal3x((int)nx, (int)ny, (int)nz); + Core.Normal3x((int)nx, (int)ny, (int)nz); #if DEBUG } #endif @@ -3605,7 +3605,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNormalPointer((OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer); + Core.NormalPointer((OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer); #if DEBUG } #endif @@ -3642,7 +3642,7 @@ namespace OpenTK.Graphics.ES10 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glNormalPointer((OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Core.NormalPointer((OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -3684,7 +3684,7 @@ namespace OpenTK.Graphics.ES10 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glNormalPointer((OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Core.NormalPointer((OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -3726,7 +3726,7 @@ namespace OpenTK.Graphics.ES10 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glNormalPointer((OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Core.NormalPointer((OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -3768,7 +3768,7 @@ namespace OpenTK.Graphics.ES10 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glNormalPointer((OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Core.NormalPointer((OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); pointer = (T2)pointer_ptr.Target; } finally @@ -3807,7 +3807,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glOrthof((Single)left, (Single)right, (Single)bottom, (Single)top, (Single)zNear, (Single)zFar); + Core.Orthof((Single)left, (Single)right, (Single)bottom, (Single)top, (Single)zNear, (Single)zFar); #if DEBUG } #endif @@ -3822,7 +3822,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glOrthox((int)left, (int)right, (int)bottom, (int)top, (int)zNear, (int)zFar); + Core.Orthox((int)left, (int)right, (int)bottom, (int)top, (int)zNear, (int)zFar); #if DEBUG } #endif @@ -3850,7 +3850,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPixelStorei((OpenTK.Graphics.ES10.All)pname, (Int32)param); + Core.PixelStorei((OpenTK.Graphics.ES10.All)pname, (Int32)param); #if DEBUG } #endif @@ -3873,7 +3873,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPointSize((Single)size); + Core.PointSize((Single)size); #if DEBUG } #endif @@ -3888,7 +3888,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPointSizex((int)size); + Core.PointSizex((int)size); #if DEBUG } #endif @@ -3916,7 +3916,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPolygonOffset((Single)factor, (Single)units); + Core.PolygonOffset((Single)factor, (Single)units); #if DEBUG } #endif @@ -3931,7 +3931,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPolygonOffsetx((int)factor, (int)units); + Core.PolygonOffsetx((int)factor, (int)units); #if DEBUG } #endif @@ -3946,7 +3946,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPopMatrix(); + Core.PopMatrix(); #if DEBUG } #endif @@ -3964,7 +3964,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPushMatrix(); + Core.PushMatrix(); #if DEBUG } #endif @@ -4007,7 +4007,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels); + Core.ReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels); #if DEBUG } #endif @@ -4054,7 +4054,7 @@ namespace OpenTK.Graphics.ES10 GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Core.ReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -4106,7 +4106,7 @@ namespace OpenTK.Graphics.ES10 GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Core.ReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -4158,7 +4158,7 @@ namespace OpenTK.Graphics.ES10 GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Core.ReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -4210,7 +4210,7 @@ namespace OpenTK.Graphics.ES10 GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Core.ReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); pixels = (T6)pixels_ptr.Target; } finally @@ -4244,7 +4244,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glRotatef((Single)angle, (Single)x, (Single)y, (Single)z); + Core.Rotatef((Single)angle, (Single)x, (Single)y, (Single)z); #if DEBUG } #endif @@ -4259,7 +4259,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glRotatex((int)angle, (int)x, (int)y, (int)z); + Core.Rotatex((int)angle, (int)x, (int)y, (int)z); #if DEBUG } #endif @@ -4287,7 +4287,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glSampleCoverage((Single)value, (bool)invert); + Core.SampleCoverage((Single)value, (bool)invert); #if DEBUG } #endif @@ -4302,7 +4302,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glSampleCoveragex((int)value, (bool)invert); + Core.SampleCoveragex((int)value, (bool)invert); #if DEBUG } #endif @@ -4325,7 +4325,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glScalef((Single)x, (Single)y, (Single)z); + Core.Scalef((Single)x, (Single)y, (Single)z); #if DEBUG } #endif @@ -4340,7 +4340,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glScalex((int)x, (int)y, (int)z); + Core.Scalex((int)x, (int)y, (int)z); #if DEBUG } #endif @@ -4368,7 +4368,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glScissor((Int32)x, (Int32)y, (Int32)width, (Int32)height); + Core.Scissor((Int32)x, (Int32)y, (Int32)width, (Int32)height); #if DEBUG } #endif @@ -4391,7 +4391,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glShadeModel((OpenTK.Graphics.ES10.All)mode); + Core.ShadeModel((OpenTK.Graphics.ES10.All)mode); #if DEBUG } #endif @@ -4424,7 +4424,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glStencilFunc((OpenTK.Graphics.ES10.All)func, (Int32)@ref, (UInt32)mask); + Core.StencilFunc((OpenTK.Graphics.ES10.All)func, (Int32)@ref, (UInt32)mask); #if DEBUG } #endif @@ -4458,7 +4458,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glStencilFunc((OpenTK.Graphics.ES10.All)func, (Int32)@ref, (UInt32)mask); + Core.StencilFunc((OpenTK.Graphics.ES10.All)func, (Int32)@ref, (UInt32)mask); #if DEBUG } #endif @@ -4481,7 +4481,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glStencilMask((UInt32)mask); + Core.StencilMask((UInt32)mask); #if DEBUG } #endif @@ -4505,7 +4505,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glStencilMask((UInt32)mask); + Core.StencilMask((UInt32)mask); #if DEBUG } #endif @@ -4538,7 +4538,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glStencilOp((OpenTK.Graphics.ES10.All)fail, (OpenTK.Graphics.ES10.All)zfail, (OpenTK.Graphics.ES10.All)zpass); + Core.StencilOp((OpenTK.Graphics.ES10.All)fail, (OpenTK.Graphics.ES10.All)zfail, (OpenTK.Graphics.ES10.All)zpass); #if DEBUG } #endif @@ -4576,7 +4576,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer); + Core.TexCoordPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer); #if DEBUG } #endif @@ -4618,7 +4618,7 @@ namespace OpenTK.Graphics.ES10 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Core.TexCoordPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -4665,7 +4665,7 @@ namespace OpenTK.Graphics.ES10 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Core.TexCoordPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -4712,7 +4712,7 @@ namespace OpenTK.Graphics.ES10 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Core.TexCoordPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -4759,7 +4759,7 @@ namespace OpenTK.Graphics.ES10 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Core.TexCoordPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); pointer = (T3)pointer_ptr.Target; } finally @@ -4798,7 +4798,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexEnvf((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)pname, (Single)param); + Core.TexEnvf((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)pname, (Single)param); #if DEBUG } #endif @@ -4835,7 +4835,7 @@ namespace OpenTK.Graphics.ES10 { fixed (Single* @params_ptr = @params) { - Delegates.glTexEnvfv((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)pname, (Single*)@params_ptr); + Core.TexEnvfv((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)pname, (Single*)@params_ptr); } } #if DEBUG @@ -4871,7 +4871,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexEnvfv((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)pname, (Single*)@params); + Core.TexEnvfv((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)pname, (Single*)@params); #if DEBUG } #endif @@ -4886,7 +4886,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexEnvx((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)pname, (int)param); + Core.TexEnvx((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)pname, (int)param); #if DEBUG } #endif @@ -4905,7 +4905,7 @@ namespace OpenTK.Graphics.ES10 { fixed (int* @params_ptr = @params) { - Delegates.glTexEnvxv((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)pname, (int*)@params_ptr); + Core.TexEnvxv((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)pname, (int*)@params_ptr); } } #if DEBUG @@ -4923,7 +4923,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexEnvxv((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)pname, (int*)@params); + Core.TexEnvxv((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)pname, (int*)@params); #if DEBUG } #endif @@ -4986,7 +4986,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels); + Core.TexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels); #if DEBUG } #endif @@ -5053,7 +5053,7 @@ namespace OpenTK.Graphics.ES10 GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Core.TexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -5125,7 +5125,7 @@ namespace OpenTK.Graphics.ES10 GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Core.TexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -5197,7 +5197,7 @@ namespace OpenTK.Graphics.ES10 GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Core.TexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -5269,7 +5269,7 @@ namespace OpenTK.Graphics.ES10 GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Core.TexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); pixels = (T8)pixels_ptr.Target; } finally @@ -5308,7 +5308,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexParameterf((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)pname, (Single)param); + Core.TexParameterf((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)pname, (Single)param); #if DEBUG } #endif @@ -5323,7 +5323,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexParameterx((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)pname, (int)param); + Core.TexParameterx((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)pname, (int)param); #if DEBUG } #endif @@ -5386,7 +5386,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels); + Core.TexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels); #if DEBUG } #endif @@ -5453,7 +5453,7 @@ namespace OpenTK.Graphics.ES10 GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Core.TexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -5525,7 +5525,7 @@ namespace OpenTK.Graphics.ES10 GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Core.TexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -5597,7 +5597,7 @@ namespace OpenTK.Graphics.ES10 GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Core.TexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -5669,7 +5669,7 @@ namespace OpenTK.Graphics.ES10 GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Core.TexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); pixels = (T8)pixels_ptr.Target; } finally @@ -5698,7 +5698,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTranslatef((Single)x, (Single)y, (Single)z); + Core.Translatef((Single)x, (Single)y, (Single)z); #if DEBUG } #endif @@ -5713,7 +5713,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTranslatex((int)x, (int)y, (int)z); + Core.Translatex((int)x, (int)y, (int)z); #if DEBUG } #endif @@ -5751,7 +5751,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer); + Core.VertexPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer); #if DEBUG } #endif @@ -5793,7 +5793,7 @@ namespace OpenTK.Graphics.ES10 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Core.VertexPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -5840,7 +5840,7 @@ namespace OpenTK.Graphics.ES10 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Core.VertexPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -5887,7 +5887,7 @@ namespace OpenTK.Graphics.ES10 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Core.VertexPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -5934,7 +5934,7 @@ namespace OpenTK.Graphics.ES10 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Core.VertexPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); pointer = (T3)pointer_ptr.Target; } finally @@ -5968,7 +5968,7 @@ namespace OpenTK.Graphics.ES10 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glViewport((Int32)x, (Int32)y, (Int32)width, (Int32)height); + Core.Viewport((Int32)x, (Int32)y, (Int32)width, (Int32)height); #if DEBUG } #endif diff --git a/Source/OpenTK/Graphics/ES10/Helper.cs b/Source/OpenTK/Graphics/ES10/Helper.cs index 16f87c7c..8dbfd270 100644 --- a/Source/OpenTK/Graphics/ES10/Helper.cs +++ b/Source/OpenTK/Graphics/ES10/Helper.cs @@ -24,5 +24,14 @@ namespace OpenTK.Graphics.ES10 #endregion + internal override void LoadEntryPoints() + { + // nothing to do + } + + internal override bool LoadEntryPoint(string function) + { + return true; // nothing to do + } } } diff --git a/Source/OpenTK/Graphics/ES11/ES11.cs b/Source/OpenTK/Graphics/ES11/ES11.cs index f1e38bc7..abed7959 100644 --- a/Source/OpenTK/Graphics/ES11/ES11.cs +++ b/Source/OpenTK/Graphics/ES11/ES11.cs @@ -34,9 +34,401 @@ namespace OpenTK.Graphics.ES11 #pragma warning disable 1591 #pragma warning disable 1572 #pragma warning disable 1573 + #pragma warning disable 626 partial class GL { + static GL() + { + EntryPointNames = new string[] + { + "glAccumxOES", + "glActiveTexture", + "glAlphaFunc", + "glAlphaFuncx", + "glAlphaFuncxOES", + "glBindBuffer", + "glBindFramebufferOES", + "glBindRenderbufferOES", + "glBindTexture", + "glBindVertexArrayOES", + "glBitmapxOES", + "glBlendColorxOES", + "glBlendEquationEXT", + "glBlendEquationOES", + "glBlendEquationSeparateOES", + "glBlendFunc", + "glBlendFuncSeparateOES", + "glBufferData", + "glBufferSubData", + "glCheckFramebufferStatusOES", + "glClear", + "glClearAccumxOES", + "glClearColor", + "glClearColorx", + "glClearColorxOES", + "glClearDepthf", + "glClearDepthfOES", + "glClearDepthx", + "glClearDepthxOES", + "glClearStencil", + "glClientActiveTexture", + "glClientWaitSyncAPPLE", + "glClipPlanef", + "glClipPlanefIMG", + "glClipPlanefOES", + "glClipPlanex", + "glClipPlanexIMG", + "glClipPlanexOES", + "glColor3xOES", + "glColor3xvOES", + "glColor4f", + "glColor4ub", + "glColor4x", + "glColor4xOES", + "glColor4xvOES", + "glColorMask", + "glColorPointer", + "glCompressedTexImage2D", + "glCompressedTexSubImage2D", + "glConvolutionParameterxOES", + "glConvolutionParameterxvOES", + "glCopyTexImage2D", + "glCopyTexSubImage2D", + "glCopyTextureLevelsAPPLE", + "glCullFace", + "glCurrentPaletteMatrixOES", + "glDeleteBuffers", + "glDeleteFencesNV", + "glDeleteFramebuffersOES", + "glDeleteRenderbuffersOES", + "glDeleteSyncAPPLE", + "glDeleteTextures", + "glDeleteVertexArraysOES", + "glDepthFunc", + "glDepthMask", + "glDepthRangef", + "glDepthRangefOES", + "glDepthRangex", + "glDepthRangexOES", + "glDisable", + "glDisableClientState", + "glDisableDriverControlQCOM", + "glDiscardFramebufferEXT", + "glDrawArrays", + "glDrawElements", + "glDrawTexfOES", + "glDrawTexfvOES", + "glDrawTexiOES", + "glDrawTexivOES", + "glDrawTexsOES", + "glDrawTexsvOES", + "glDrawTexxOES", + "glDrawTexxvOES", + "glEGLImageTargetRenderbufferStorageOES", + "glEGLImageTargetTexture2DOES", + "glEnable", + "glEnableClientState", + "glEnableDriverControlQCOM", + "glEndTilingQCOM", + "glEvalCoord1xOES", + "glEvalCoord1xvOES", + "glEvalCoord2xOES", + "glEvalCoord2xvOES", + "glExtGetBufferPointervQCOM", + "glExtGetBuffersQCOM", + "glExtGetFramebuffersQCOM", + "glExtGetProgramBinarySourceQCOM", + "glExtGetProgramsQCOM", + "glExtGetRenderbuffersQCOM", + "glExtGetShadersQCOM", + "glExtGetTexLevelParameterivQCOM", + "glExtGetTexSubImageQCOM", + "glExtGetTexturesQCOM", + "glExtIsProgramBinaryQCOM", + "glExtTexObjectStateOverrideiQCOM", + "glFeedbackBufferxOES", + "glFenceSyncAPPLE", + "glFinish", + "glFinishFenceNV", + "glFlush", + "glFlushMappedBufferRangeEXT", + "glFogf", + "glFogfv", + "glFogx", + "glFogxOES", + "glFogxv", + "glFogxvOES", + "glFramebufferRenderbufferOES", + "glFramebufferTexture2DMultisampleEXT", + "glFramebufferTexture2DMultisampleIMG", + "glFramebufferTexture2DOES", + "glFrontFace", + "glFrustumf", + "glFrustumfOES", + "glFrustumx", + "glFrustumxOES", + "glGenBuffers", + "glGenerateMipmapOES", + "glGenFencesNV", + "glGenFramebuffersOES", + "glGenRenderbuffersOES", + "glGenTextures", + "glGenVertexArraysOES", + "glGetBooleanv", + "glGetBufferParameteriv", + "glGetBufferPointervOES", + "glGetClipPlanef", + "glGetClipPlanefOES", + "glGetClipPlanex", + "glGetClipPlanexOES", + "glGetConvolutionParameterxvOES", + "glGetDriverControlsQCOM", + "glGetDriverControlStringQCOM", + "glGetError", + "glGetFenceivNV", + "glGetFixedv", + "glGetFixedvOES", + "glGetFloatv", + "glGetFramebufferAttachmentParameterivOES", + "glGetGraphicsResetStatusEXT", + "glGetHistogramParameterxvOES", + "glGetInteger64vAPPLE", + "glGetIntegerv", + "glGetLightfv", + "glGetLightxOES", + "glGetLightxv", + "glGetLightxvOES", + "glGetMapxvOES", + "glGetMaterialfv", + "glGetMaterialxOES", + "glGetMaterialxv", + "glGetMaterialxvOES", + "glGetnUniformfvEXT", + "glGetnUniformivEXT", + "glGetPixelMapxv", + "glGetPointerv", + "glGetRenderbufferParameterivOES", + "glGetString", + "glGetSyncivAPPLE", + "glGetTexEnvfv", + "glGetTexEnviv", + "glGetTexEnvxv", + "glGetTexEnvxvOES", + "glGetTexGenfvOES", + "glGetTexGenivOES", + "glGetTexGenxvOES", + "glGetTexLevelParameterxvOES", + "glGetTexParameterfv", + "glGetTexParameteriv", + "glGetTexParameterxv", + "glGetTexParameterxvOES", + "glHint", + "glIndexxOES", + "glIndexxvOES", + "glIsBuffer", + "glIsEnabled", + "glIsFenceNV", + "glIsFramebufferOES", + "glIsRenderbufferOES", + "glIsSyncAPPLE", + "glIsTexture", + "glIsVertexArrayOES", + "glLightf", + "glLightfv", + "glLightModelf", + "glLightModelfv", + "glLightModelx", + "glLightModelxOES", + "glLightModelxv", + "glLightModelxvOES", + "glLightx", + "glLightxOES", + "glLightxv", + "glLightxvOES", + "glLineWidth", + "glLineWidthx", + "glLineWidthxOES", + "glLoadIdentity", + "glLoadMatrixf", + "glLoadMatrixx", + "glLoadMatrixxOES", + "glLoadPaletteFromModelViewMatrixOES", + "glLoadTransposeMatrixxOES", + "glLogicOp", + "glMap1xOES", + "glMap2xOES", + "glMapBufferOES", + "glMapBufferRangeEXT", + "glMapGrid1xOES", + "glMapGrid2xOES", + "glMaterialf", + "glMaterialfv", + "glMaterialx", + "glMaterialxOES", + "glMaterialxv", + "glMaterialxvOES", + "glMatrixIndexPointerOES", + "glMatrixMode", + "glMultiDrawArraysEXT", + "glMultiDrawElementsEXT", + "glMultiTexCoord1bOES", + "glMultiTexCoord1bvOES", + "glMultiTexCoord1xOES", + "glMultiTexCoord1xvOES", + "glMultiTexCoord2bOES", + "glMultiTexCoord2bvOES", + "glMultiTexCoord2xOES", + "glMultiTexCoord2xvOES", + "glMultiTexCoord3bOES", + "glMultiTexCoord3bvOES", + "glMultiTexCoord3xOES", + "glMultiTexCoord3xvOES", + "glMultiTexCoord4bOES", + "glMultiTexCoord4bvOES", + "glMultiTexCoord4f", + "glMultiTexCoord4x", + "glMultiTexCoord4xOES", + "glMultiTexCoord4xvOES", + "glMultMatrixf", + "glMultMatrixx", + "glMultMatrixxOES", + "glMultTransposeMatrixxOES", + "glNormal3f", + "glNormal3x", + "glNormal3xOES", + "glNormal3xvOES", + "glNormalPointer", + "glOrthof", + "glOrthofOES", + "glOrthox", + "glOrthoxOES", + "glPassThroughxOES", + "glPixelMapx", + "glPixelStorei", + "glPixelStorex", + "glPixelTransferxOES", + "glPixelZoomxOES", + "glPointParameterf", + "glPointParameterfv", + "glPointParameterx", + "glPointParameterxOES", + "glPointParameterxv", + "glPointParameterxvOES", + "glPointSize", + "glPointSizePointerOES", + "glPointSizex", + "glPointSizexOES", + "glPolygonOffset", + "glPolygonOffsetx", + "glPolygonOffsetxOES", + "glPopMatrix", + "glPrioritizeTexturesxOES", + "glPushMatrix", + "glQueryMatrixxOES", + "glRasterPos2xOES", + "glRasterPos2xvOES", + "glRasterPos3xOES", + "glRasterPos3xvOES", + "glRasterPos4xOES", + "glRasterPos4xvOES", + "glReadnPixelsEXT", + "glReadPixels", + "glRectxOES", + "glRectxvOES", + "glRenderbufferStorageMultisampleAPPLE", + "glRenderbufferStorageMultisampleEXT", + "glRenderbufferStorageMultisampleIMG", + "glRenderbufferStorageOES", + "glResolveMultisampleFramebufferAPPLE", + "glRotatef", + "glRotatex", + "glRotatexOES", + "glSampleCoverage", + "glSampleCoverageOES", + "glSampleCoveragex", + "glSampleCoveragexOES", + "glScalef", + "glScalex", + "glScalexOES", + "glScissor", + "glSetFenceNV", + "glShadeModel", + "glStartTilingQCOM", + "glStencilFunc", + "glStencilMask", + "glStencilOp", + "glTestFenceNV", + "glTexCoord1bOES", + "glTexCoord1bvOES", + "glTexCoord1xOES", + "glTexCoord1xvOES", + "glTexCoord2bOES", + "glTexCoord2bvOES", + "glTexCoord2xOES", + "glTexCoord2xvOES", + "glTexCoord3bOES", + "glTexCoord3bvOES", + "glTexCoord3xOES", + "glTexCoord3xvOES", + "glTexCoord4bOES", + "glTexCoord4bvOES", + "glTexCoord4xOES", + "glTexCoord4xvOES", + "glTexCoordPointer", + "glTexEnvf", + "glTexEnvfv", + "glTexEnvi", + "glTexEnviv", + "glTexEnvx", + "glTexEnvxOES", + "glTexEnvxv", + "glTexEnvxvOES", + "glTexGenfOES", + "glTexGenfvOES", + "glTexGeniOES", + "glTexGenivOES", + "glTexGenxOES", + "glTexGenxvOES", + "glTexImage2D", + "glTexParameterf", + "glTexParameterfv", + "glTexParameteri", + "glTexParameteriv", + "glTexParameterx", + "glTexParameterxOES", + "glTexParameterxv", + "glTexParameterxvOES", + "glTexStorage1DEXT", + "glTexStorage2DEXT", + "glTexStorage3DEXT", + "glTexSubImage2D", + "glTextureStorage1DEXT", + "glTextureStorage2DEXT", + "glTextureStorage3DEXT", + "glTranslatef", + "glTranslatex", + "glTranslatexOES", + "glUnmapBufferOES", + "glVertex2bOES", + "glVertex2bvOES", + "glVertex2xOES", + "glVertex2xvOES", + "glVertex3bOES", + "glVertex3bvOES", + "glVertex3xOES", + "glVertex3xvOES", + "glVertex4bOES", + "glVertex4bvOES", + "glVertex4xOES", + "glVertex4xvOES", + "glVertexPointer", + "glViewport", + "glWaitSyncAPPLE", + "glWeightPointerOES", + }; + EntryPoints = new IntPtr[EntryPointNames.Length]; + } public static partial class Apple { @@ -59,18 +451,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")] - public static - OpenTK.Graphics.ES11.All ClientWaitSync(IntPtr sync, Int32 flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glClientWaitSyncAPPLE((IntPtr)sync, (UInt32)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.ES11.All ClientWaitSync(IntPtr sync, Int32 flags, Int64 timeout); /// [requires: APPLE_sync] /// Block and wait for a sync object to become signaled @@ -92,49 +473,16 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")] - public static - OpenTK.Graphics.ES11.All ClientWaitSync(IntPtr sync, UInt32 flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glClientWaitSyncAPPLE((IntPtr)sync, (UInt32)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.ES11.All ClientWaitSync(IntPtr sync, UInt32 flags, UInt64 timeout); /// [requires: APPLE_copy_texture_levels] [AutoGenerated(Category = "APPLE_copy_texture_levels", Version = "", EntryPoint = "glCopyTextureLevelsAPPLE")] - public static - void CopyTextureLevel(Int32 destinationTexture, Int32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTextureLevelsAPPLE((UInt32)destinationTexture, (UInt32)sourceTexture, (Int32)sourceBaseLevel, (Int32)sourceLevelCount); - #if DEBUG - } - #endif - } + public static extern void CopyTextureLevel(Int32 destinationTexture, Int32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount); /// [requires: APPLE_copy_texture_levels] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_copy_texture_levels", Version = "", EntryPoint = "glCopyTextureLevelsAPPLE")] - public static - void CopyTextureLevel(UInt32 destinationTexture, UInt32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTextureLevelsAPPLE((UInt32)destinationTexture, (UInt32)sourceTexture, (Int32)sourceBaseLevel, (Int32)sourceLevelCount); - #if DEBUG - } - #endif - } + public static extern void CopyTextureLevel(UInt32 destinationTexture, UInt32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount); /// [requires: APPLE_sync] /// Delete a sync object @@ -145,18 +493,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glDeleteSyncAPPLE")] - public static - void DeleteSync(IntPtr sync) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteSyncAPPLE((IntPtr)sync); - #if DEBUG - } - #endif - } + public static extern void DeleteSync(IntPtr sync); /// [requires: APPLE_sync] /// Create a new sync object and insert it into the GL command stream @@ -172,18 +509,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glFenceSyncAPPLE")] - public static - IntPtr FenceSync(OpenTK.Graphics.ES11.All condition, Int32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glFenceSyncAPPLE((OpenTK.Graphics.ES11.All)condition, (UInt32)flags); - #if DEBUG - } - #endif - } + public static extern IntPtr FenceSync(OpenTK.Graphics.ES11.All condition, Int32 flags); /// [requires: APPLE_sync] /// Create a new sync object and insert it into the GL command stream @@ -200,98 +526,24 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glFenceSyncAPPLE")] - public static - IntPtr FenceSync(OpenTK.Graphics.ES11.All condition, UInt32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glFenceSyncAPPLE((OpenTK.Graphics.ES11.All)condition, (UInt32)flags); - #if DEBUG - } - #endif - } + public static extern IntPtr FenceSync(OpenTK.Graphics.ES11.All condition, UInt32 flags); /// [requires: APPLE_sync] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static - Int64 GetInteger64(OpenTK.Graphics.ES11.All pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int64 retval; - Int64* @params_ptr = &retval; - Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES11.All)pname, (Int64*)@params_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int64 GetInteger64(OpenTK.Graphics.ES11.All pname); /// [requires: APPLE_sync] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static - void GetInteger64(OpenTK.Graphics.ES11.All pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES11.All)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.ES11.All pname, [OutAttribute] Int64[] @params); /// [requires: APPLE_sync] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static - void GetInteger64(OpenTK.Graphics.ES11.All pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES11.All)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.ES11.All pname, [OutAttribute] out Int64 @params); /// [requires: APPLE_sync] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static - unsafe void GetInteger64(OpenTK.Graphics.ES11.All pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES11.All)pname, (Int64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger64(OpenTK.Graphics.ES11.All pname, [OutAttribute] Int64* @params); /// [requires: APPLE_sync] /// Query the properties of a sync object @@ -322,25 +574,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")] - public static - void GetSync(IntPtr sync, OpenTK.Graphics.ES11.All pname, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - fixed (Int32* values_ptr = values) - { - Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES11.All)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetSync(IntPtr sync, OpenTK.Graphics.ES11.All pname, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] values); /// [requires: APPLE_sync] /// Query the properties of a sync object @@ -371,27 +605,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")] - public static - void GetSync(IntPtr sync, OpenTK.Graphics.ES11.All pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* values_ptr = &values) - { - Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES11.All)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr); - length = *length_ptr; - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSync(IntPtr sync, OpenTK.Graphics.ES11.All pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values); /// [requires: APPLE_sync] /// Query the properties of a sync object @@ -423,18 +637,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")] - public static - unsafe void GetSync(IntPtr sync, OpenTK.Graphics.ES11.All pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES11.All)pname, (Int32)bufSize, (Int32*)length, (Int32*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetSync(IntPtr sync, OpenTK.Graphics.ES11.All pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); /// [requires: APPLE_sync] /// Determine if a name corresponds to a sync object @@ -445,18 +648,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glIsSyncAPPLE")] - public static - bool IsSync(IntPtr sync) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsSyncAPPLE((IntPtr)sync); - #if DEBUG - } - #endif - } + public static extern bool IsSync(IntPtr sync); /// [requires: APPLE_framebuffer_multisample] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -487,33 +679,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "APPLE_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleAPPLE")] - public static - void RenderbufferStorageMultisample(OpenTK.Graphics.ES11.All target, Int32 samples, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageMultisampleAPPLE((OpenTK.Graphics.ES11.All)target, (Int32)samples, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorageMultisample(OpenTK.Graphics.ES11.All target, Int32 samples, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height); /// [requires: APPLE_framebuffer_multisample] [AutoGenerated(Category = "APPLE_framebuffer_multisample", Version = "", EntryPoint = "glResolveMultisampleFramebufferAPPLE")] - public static - void ResolveMultisampleFramebuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glResolveMultisampleFramebufferAPPLE(); - #if DEBUG - } - #endif - } + public static extern void ResolveMultisampleFramebuffer(); /// [requires: APPLE_sync] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -534,18 +704,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glWaitSyncAPPLE")] - public static - void WaitSync(IntPtr sync, Int32 flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWaitSyncAPPLE((IntPtr)sync, (UInt32)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern void WaitSync(IntPtr sync, Int32 flags, Int64 timeout); /// [requires: APPLE_sync] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -567,18 +726,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glWaitSyncAPPLE")] - public static - void WaitSync(IntPtr sync, UInt32 flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWaitSyncAPPLE((IntPtr)sync, (UInt32)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern void WaitSync(IntPtr sync, UInt32 flags, UInt64 timeout); } @@ -592,18 +740,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glActiveTexture")] - public static - void ActiveTexture(OpenTK.Graphics.ES11.All texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glActiveTexture((OpenTK.Graphics.ES11.TextureUnit)texture); - #if DEBUG - } - #endif - } + public static extern void ActiveTexture(OpenTK.Graphics.ES11.All texture); /// [requires: v1.0] /// Select active texture unit @@ -614,18 +751,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glActiveTexture")] - public static - void ActiveTexture(OpenTK.Graphics.ES11.TextureUnit texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glActiveTexture((OpenTK.Graphics.ES11.TextureUnit)texture); - #if DEBUG - } - #endif - } + public static extern void ActiveTexture(OpenTK.Graphics.ES11.TextureUnit texture); /// [requires: v1.0] /// Specify the alpha test function @@ -642,18 +768,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glAlphaFunc")] - public static - void AlphaFunc(OpenTK.Graphics.ES11.All func, Single @ref) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAlphaFunc((OpenTK.Graphics.ES11.AlphaFunction)func, (Single)@ref); - #if DEBUG - } - #endif - } + public static extern void AlphaFunc(OpenTK.Graphics.ES11.All func, Single @ref); /// [requires: v1.0] /// Specify the alpha test function @@ -669,33 +784,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glAlphaFunc")] - public static - void AlphaFunc(OpenTK.Graphics.ES11.AlphaFunction func, Single @ref) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAlphaFunc((OpenTK.Graphics.ES11.AlphaFunction)func, (Single)@ref); - #if DEBUG - } - #endif - } + public static extern void AlphaFunc(OpenTK.Graphics.ES11.AlphaFunction func, Single @ref); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glAlphaFuncx")] - public static - void AlphaFuncx(OpenTK.Graphics.ES11.All func, int @ref) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAlphaFuncx((OpenTK.Graphics.ES11.All)func, (int)@ref); - #if DEBUG - } - #endif - } + public static extern void AlphaFuncx(OpenTK.Graphics.ES11.All func, int @ref); /// [requires: v1.0] /// Bind a named buffer object @@ -711,18 +804,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBindBuffer")] - public static - void BindBuffer(OpenTK.Graphics.ES11.All target, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBuffer((OpenTK.Graphics.ES11.All)target, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void BindBuffer(OpenTK.Graphics.ES11.All target, Int32 buffer); /// [requires: v1.0] /// Bind a named buffer object @@ -739,18 +821,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBindBuffer")] - public static - void BindBuffer(OpenTK.Graphics.ES11.All target, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBuffer((OpenTK.Graphics.ES11.All)target, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void BindBuffer(OpenTK.Graphics.ES11.All target, UInt32 buffer); /// [requires: v1.0] /// Bind a named texture to a texturing target @@ -767,18 +838,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBindTexture")] - public static - void BindTexture(OpenTK.Graphics.ES11.All target, Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTexture((OpenTK.Graphics.ES11.TextureTarget)target, (UInt32)texture); - #if DEBUG - } - #endif - } + public static extern void BindTexture(OpenTK.Graphics.ES11.All target, Int32 texture); /// [requires: v1.0] /// Bind a named texture to a texturing target @@ -796,18 +856,7 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBindTexture")] - public static - void BindTexture(OpenTK.Graphics.ES11.All target, UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTexture((OpenTK.Graphics.ES11.TextureTarget)target, (UInt32)texture); - #if DEBUG - } - #endif - } + public static extern void BindTexture(OpenTK.Graphics.ES11.All target, UInt32 texture); /// [requires: v1.0] /// Bind a named texture to a texturing target @@ -823,18 +872,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBindTexture")] - public static - void BindTexture(OpenTK.Graphics.ES11.TextureTarget target, Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTexture((OpenTK.Graphics.ES11.TextureTarget)target, (UInt32)texture); - #if DEBUG - } - #endif - } + public static extern void BindTexture(OpenTK.Graphics.ES11.TextureTarget target, Int32 texture); /// [requires: v1.0] /// Bind a named texture to a texturing target @@ -851,18 +889,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBindTexture")] - public static - void BindTexture(OpenTK.Graphics.ES11.TextureTarget target, UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTexture((OpenTK.Graphics.ES11.TextureTarget)target, (UInt32)texture); - #if DEBUG - } - #endif - } + public static extern void BindTexture(OpenTK.Graphics.ES11.TextureTarget target, UInt32 texture); /// [requires: v1.0] /// Specify pixel arithmetic @@ -884,18 +911,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBlendFunc")] - public static - void BlendFunc(OpenTK.Graphics.ES11.All sfactor, OpenTK.Graphics.ES11.All dfactor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFunc((OpenTK.Graphics.ES11.BlendingFactorSrc)sfactor, (OpenTK.Graphics.ES11.BlendingFactorDest)dfactor); - #if DEBUG - } - #endif - } + public static extern void BlendFunc(OpenTK.Graphics.ES11.All sfactor, OpenTK.Graphics.ES11.All dfactor); /// [requires: v1.0] /// Specify pixel arithmetic @@ -916,18 +932,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBlendFunc")] - public static - void BlendFunc(OpenTK.Graphics.ES11.BlendingFactorSrc sfactor, OpenTK.Graphics.ES11.BlendingFactorDest dfactor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFunc((OpenTK.Graphics.ES11.BlendingFactorSrc)sfactor, (OpenTK.Graphics.ES11.BlendingFactorDest)dfactor); - #if DEBUG - } - #endif - } + public static extern void BlendFunc(OpenTK.Graphics.ES11.BlendingFactorSrc sfactor, OpenTK.Graphics.ES11.BlendingFactorDest dfactor); /// [requires: v1.0] /// Creates and initializes a buffer object's data store @@ -953,18 +958,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.ES11.All target, IntPtr size, IntPtr data, OpenTK.Graphics.ES11.All usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBufferData((OpenTK.Graphics.ES11.All)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ES11.All)usage); - #if DEBUG - } - #endif - } + public static extern void BufferData(OpenTK.Graphics.ES11.All target, IntPtr size, IntPtr data, OpenTK.Graphics.ES11.All usage); /// [requires: v1.0] /// Creates and initializes a buffer object's data store @@ -990,27 +984,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.ES11.All target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.ES11.All usage) + public static extern void BufferData(OpenTK.Graphics.ES11.All target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.ES11.All usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.ES11.All)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES11.All)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Creates and initializes a buffer object's data store @@ -1036,27 +1012,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.ES11.All target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.ES11.All usage) + public static extern void BufferData(OpenTK.Graphics.ES11.All target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.ES11.All usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.ES11.All)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES11.All)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Creates and initializes a buffer object's data store @@ -1082,27 +1040,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.ES11.All target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.ES11.All usage) + public static extern void BufferData(OpenTK.Graphics.ES11.All target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.ES11.All usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.ES11.All)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES11.All)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Creates and initializes a buffer object's data store @@ -1128,28 +1068,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.ES11.All target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.ES11.All usage) + public static extern void BufferData(OpenTK.Graphics.ES11.All target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.ES11.All usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.ES11.All)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES11.All)usage); - data = (T2)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Updates a subset of a buffer object's data store @@ -1175,18 +1096,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr size, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBufferSubData((OpenTK.Graphics.ES11.All)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void BufferSubData(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr size, IntPtr data); /// [requires: v1.0] /// Updates a subset of a buffer object's data store @@ -1212,27 +1122,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) + public static extern void BufferSubData(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubData((OpenTK.Graphics.ES11.All)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Updates a subset of a buffer object's data store @@ -1258,27 +1150,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) + public static extern void BufferSubData(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubData((OpenTK.Graphics.ES11.All)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Updates a subset of a buffer object's data store @@ -1304,27 +1178,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) + public static extern void BufferSubData(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubData((OpenTK.Graphics.ES11.All)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Updates a subset of a buffer object's data store @@ -1350,28 +1206,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) + public static extern void BufferSubData(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubData((OpenTK.Graphics.ES11.All)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T3)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Clear buffers to preset values @@ -1383,18 +1220,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClear")] - public static - void Clear(OpenTK.Graphics.ES11.All mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClear((OpenTK.Graphics.ES11.ClearBufferMask)mask); - #if DEBUG - } - #endif - } + public static extern void Clear(OpenTK.Graphics.ES11.All mask); /// [requires: v1.0] /// Clear buffers to preset values @@ -1405,18 +1231,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClear")] - public static - void Clear(OpenTK.Graphics.ES11.ClearBufferMask mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClear((OpenTK.Graphics.ES11.ClearBufferMask)mask); - #if DEBUG - } - #endif - } + public static extern void Clear(OpenTK.Graphics.ES11.ClearBufferMask mask); /// [requires: v1.0] /// Clear buffers to preset values @@ -1428,18 +1243,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use ClearMask overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClear")] - public static - void Clear(Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClear((OpenTK.Graphics.ES11.ClearBufferMask)mask); - #if DEBUG - } - #endif - } + public static extern void Clear(Int32 mask); /// [requires: v1.0] /// Clear buffers to preset values @@ -1452,18 +1256,7 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use ClearMask overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClear")] - public static - void Clear(UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClear((OpenTK.Graphics.ES11.ClearBufferMask)mask); - #if DEBUG - } - #endif - } + public static extern void Clear(UInt32 mask); /// [requires: v1.0] /// Specify clear values for the color buffers @@ -1474,33 +1267,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClearColor")] - public static - void ClearColor(Single red, Single green, Single blue, Single alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearColor((Single)red, (Single)green, (Single)blue, (Single)alpha); - #if DEBUG - } - #endif - } + public static extern void ClearColor(Single red, Single green, Single blue, Single alpha); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClearColorx")] - public static - void ClearColorx(int red, int green, int blue, int alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearColorx((int)red, (int)green, (int)blue, (int)alpha); - #if DEBUG - } - #endif - } + public static extern void ClearColorx(int red, int green, int blue, int alpha); /// [requires: v1.0] /// Specify the clear value for the depth buffer @@ -1511,33 +1282,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClearDepthf")] - public static - void ClearDepth(Single d) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearDepthf((Single)d); - #if DEBUG - } - #endif - } + public static extern void ClearDepth(Single d); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClearDepthx")] - public static - void ClearDepthx(int depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearDepthx((int)depth); - #if DEBUG - } - #endif - } + public static extern void ClearDepthx(int depth); /// [requires: v1.0] /// Specify the clear value for the stencil buffer @@ -1548,18 +1297,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClearStencil")] - public static - void ClearStencil(Int32 s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearStencil((Int32)s); - #if DEBUG - } - #endif - } + public static extern void ClearStencil(Int32 s); /// [requires: v1.0] /// Select active texture unit @@ -1571,18 +1309,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClientActiveTexture")] - public static - void ClientActiveTexture(OpenTK.Graphics.ES11.All texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClientActiveTexture((OpenTK.Graphics.ES11.TextureUnit)texture); - #if DEBUG - } - #endif - } + public static extern void ClientActiveTexture(OpenTK.Graphics.ES11.All texture); /// [requires: v1.0] /// Select active texture unit @@ -1593,18 +1320,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClientActiveTexture")] - public static - void ClientActiveTexture(OpenTK.Graphics.ES11.TextureUnit texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClientActiveTexture((OpenTK.Graphics.ES11.TextureUnit)texture); - #if DEBUG - } - #endif - } + public static extern void ClientActiveTexture(OpenTK.Graphics.ES11.TextureUnit texture); /// [requires: v1.0] /// Specify a plane against which all geometry is clipped @@ -1620,24 +1336,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClipPlanef")] - public static - void ClipPlane(OpenTK.Graphics.ES11.All p, Single[] eqn) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* eqn_ptr = eqn) - { - Delegates.glClipPlanef((OpenTK.Graphics.ES11.All)p, (Single*)eqn_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClipPlane(OpenTK.Graphics.ES11.All p, Single[] eqn); /// [requires: v1.0] /// Specify a plane against which all geometry is clipped @@ -1653,24 +1352,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClipPlanef")] - public static - void ClipPlane(OpenTK.Graphics.ES11.All p, ref Single eqn) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* eqn_ptr = &eqn) - { - Delegates.glClipPlanef((OpenTK.Graphics.ES11.All)p, (Single*)eqn_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClipPlane(OpenTK.Graphics.ES11.All p, ref Single eqn); /// [requires: v1.0] /// Specify a plane against which all geometry is clipped @@ -1687,76 +1369,20 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClipPlanef")] - public static - unsafe void ClipPlane(OpenTK.Graphics.ES11.All p, Single* eqn) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClipPlanef((OpenTK.Graphics.ES11.All)p, (Single*)eqn); - #if DEBUG - } - #endif - } + public static extern unsafe void ClipPlane(OpenTK.Graphics.ES11.All p, Single* eqn); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClipPlanex")] - public static - void ClipPlanex(OpenTK.Graphics.ES11.All plane, int[] equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* equation_ptr = equation) - { - Delegates.glClipPlanex((OpenTK.Graphics.ES11.All)plane, (int*)equation_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClipPlanex(OpenTK.Graphics.ES11.All plane, int[] equation); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClipPlanex")] - public static - void ClipPlanex(OpenTK.Graphics.ES11.All plane, ref int equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* equation_ptr = &equation) - { - Delegates.glClipPlanex((OpenTK.Graphics.ES11.All)plane, (int*)equation_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClipPlanex(OpenTK.Graphics.ES11.All plane, ref int equation); /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClipPlanex")] - public static - unsafe void ClipPlanex(OpenTK.Graphics.ES11.All plane, int* equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClipPlanex((OpenTK.Graphics.ES11.All)plane, (int*)equation); - #if DEBUG - } - #endif - } + public static extern unsafe void ClipPlanex(OpenTK.Graphics.ES11.All plane, int* equation); /// [requires: v1.0] /// Set the current color @@ -1772,18 +1398,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColor4f")] - public static - void Color4(Single red, Single green, Single blue, Single alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4f((Single)red, (Single)green, (Single)blue, (Single)alpha); - #if DEBUG - } - #endif - } + public static extern void Color4(Single red, Single green, Single blue, Single alpha); /// [requires: v1.0] /// Set the current color @@ -1799,33 +1414,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColor4ub")] - public static - void Color4(Byte red, Byte green, Byte blue, Byte alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4ub((Byte)red, (Byte)green, (Byte)blue, (Byte)alpha); - #if DEBUG - } - #endif - } + public static extern void Color4(Byte red, Byte green, Byte blue, Byte alpha); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColor4x")] - public static - void Color4x(int red, int green, int blue, int alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4x((int)red, (int)green, (int)blue, (int)alpha); - #if DEBUG - } - #endif - } + public static extern void Color4x(int red, int green, int blue, int alpha); /// [requires: v1.0] /// Enable and disable writing of frame buffer color components @@ -1841,18 +1434,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColorMask")] - public static - void ColorMask(bool red, bool green, bool blue, bool alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorMask((bool)red, (bool)green, (bool)blue, (bool)alpha); - #if DEBUG - } - #endif - } + public static extern void ColorMask(bool red, bool green, bool blue, bool alpha); /// [requires: v1.0] /// Define an array of colors @@ -1879,18 +1461,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColorPointer")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES11.ColorPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void ColorPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer); /// [requires: v1.0] /// Define an array of colors @@ -1917,27 +1488,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColorPointer")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) + public static extern void ColorPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES11.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Define an array of colors @@ -1964,27 +1517,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColorPointer")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) + public static extern void ColorPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES11.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Define an array of colors @@ -2011,27 +1546,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColorPointer")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) + public static extern void ColorPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES11.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Define an array of colors @@ -2058,28 +1575,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColorPointer")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) + public static extern void ColorPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES11.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Define an array of colors @@ -2105,18 +1603,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColorPointer")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.ES11.ColorPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES11.ColorPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void ColorPointer(Int32 size, OpenTK.Graphics.ES11.ColorPointerType type, Int32 stride, IntPtr pointer); /// [requires: v1.0] /// Define an array of colors @@ -2142,27 +1629,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColorPointer")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.ES11.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) + public static extern void ColorPointer(Int32 size, OpenTK.Graphics.ES11.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES11.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Define an array of colors @@ -2188,27 +1657,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColorPointer")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.ES11.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) + public static extern void ColorPointer(Int32 size, OpenTK.Graphics.ES11.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES11.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Define an array of colors @@ -2234,27 +1685,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColorPointer")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.ES11.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) + public static extern void ColorPointer(Int32 size, OpenTK.Graphics.ES11.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES11.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Define an array of colors @@ -2280,28 +1713,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColorPointer")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.ES11.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) + public static extern void ColorPointer(Int32 size, OpenTK.Graphics.ES11.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES11.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture image in a compressed format @@ -2348,18 +1762,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); /// [requires: v1.0] /// Specify a two-dimensional texture image in a compressed format @@ -2406,27 +1809,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture image in a compressed format @@ -2473,27 +1858,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture image in a compressed format @@ -2540,27 +1907,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture image in a compressed format @@ -2607,28 +1956,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T7)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture image in a compressed format @@ -2674,18 +2004,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); /// [requires: v1.0] /// Specify a two-dimensional texture image in a compressed format @@ -2731,27 +2050,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture image in a compressed format @@ -2797,27 +2098,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture image in a compressed format @@ -2863,27 +2146,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture image in a compressed format @@ -2929,28 +2194,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T7)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture subimage in a compressed format @@ -3002,18 +2248,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, Int32 imageSize, IntPtr data); /// [requires: v1.0] /// Specify a two-dimensional texture subimage in a compressed format @@ -3065,27 +2300,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture subimage in a compressed format @@ -3137,27 +2354,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture subimage in a compressed format @@ -3209,27 +2408,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture subimage in a compressed format @@ -3281,28 +2462,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T8)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture subimage in a compressed format @@ -3353,18 +2515,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, Int32 imageSize, IntPtr data); /// [requires: v1.0] /// Specify a two-dimensional texture subimage in a compressed format @@ -3415,27 +2566,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture subimage in a compressed format @@ -3486,27 +2619,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture subimage in a compressed format @@ -3557,27 +2672,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture subimage in a compressed format @@ -3628,28 +2725,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T8)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Copy pixels into a 2D texture image @@ -3691,18 +2769,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCopyTexImage2D")] - public static - void CopyTexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); - #if DEBUG - } - #endif - } + public static extern void CopyTexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); /// [requires: v1.0] /// Copy pixels into a 2D texture image @@ -3743,18 +2810,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCopyTexImage2D")] - public static - void CopyTexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); - #if DEBUG - } - #endif - } + public static extern void CopyTexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); /// [requires: v1.0] /// Copy a two-dimensional texture subimage @@ -3796,18 +2852,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCopyTexSubImage2D")] - public static - void CopyTexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void CopyTexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v1.0] /// Copy a two-dimensional texture subimage @@ -3848,18 +2893,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCopyTexSubImage2D")] - public static - void CopyTexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void CopyTexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v1.0] /// Specify whether front- or back-facing facets can be culled @@ -3871,18 +2905,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCullFace")] - public static - void CullFace(OpenTK.Graphics.ES11.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCullFace((OpenTK.Graphics.ES11.CullFaceMode)mode); - #if DEBUG - } - #endif - } + public static extern void CullFace(OpenTK.Graphics.ES11.All mode); /// [requires: v1.0] /// Specify whether front- or back-facing facets can be culled @@ -3893,18 +2916,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCullFace")] - public static - void CullFace(OpenTK.Graphics.ES11.CullFaceMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCullFace((OpenTK.Graphics.ES11.CullFaceMode)mode); - #if DEBUG - } - #endif - } + public static extern void CullFace(OpenTK.Graphics.ES11.CullFaceMode mode); /// [requires: v1.0] /// Delete named buffer objects @@ -3920,23 +2932,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffer(Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* buffers_ptr = (UInt32*)&buffers; - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffer(Int32 buffers); /// [requires: v1.0] /// Delete named buffer objects @@ -3953,23 +2949,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffer(UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* buffers_ptr = (UInt32*)&buffers; - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffer(UInt32 buffers); /// [requires: v1.0] /// Delete named buffer objects @@ -3985,24 +2965,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffers(Int32 n, Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffers(Int32 n, Int32[] buffers); /// [requires: v1.0] /// Delete named buffer objects @@ -4018,24 +2981,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffers(Int32 n, ref Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - { - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffers(Int32 n, ref Int32 buffers); /// [requires: v1.0] /// Delete named buffer objects @@ -4052,18 +2998,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteBuffers")] - public static - unsafe void DeleteBuffers(Int32 n, Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteBuffers(Int32 n, Int32* buffers); /// [requires: v1.0] /// Delete named buffer objects @@ -4080,24 +3015,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffers(Int32 n, UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffers(Int32 n, UInt32[] buffers); /// [requires: v1.0] /// Delete named buffer objects @@ -4114,24 +3032,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffers(Int32 n, ref UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - { - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffers(Int32 n, ref UInt32 buffers); /// [requires: v1.0] /// Delete named buffer objects @@ -4148,18 +3049,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteBuffers")] - public static - unsafe void DeleteBuffers(Int32 n, UInt32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteBuffers(Int32 n, UInt32* buffers); /// [requires: v1.0] /// Delete named textures @@ -4175,23 +3065,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteTextures")] - public static - void DeleteTexture(Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* textures_ptr = (UInt32*)&textures; - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteTexture(Int32 textures); /// [requires: v1.0] /// Delete named textures @@ -4208,23 +3082,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteTextures")] - public static - void DeleteTexture(UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* textures_ptr = (UInt32*)&textures; - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteTexture(UInt32 textures); /// [requires: v1.0] /// Delete named textures @@ -4240,24 +3098,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteTextures")] - public static - void DeleteTextures(Int32 n, Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTextures(Int32 n, Int32[] textures); /// [requires: v1.0] /// Delete named textures @@ -4273,24 +3114,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteTextures")] - public static - void DeleteTextures(Int32 n, ref Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTextures(Int32 n, ref Int32 textures); /// [requires: v1.0] /// Delete named textures @@ -4307,18 +3131,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteTextures")] - public static - unsafe void DeleteTextures(Int32 n, Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteTextures(Int32 n, Int32* textures); /// [requires: v1.0] /// Delete named textures @@ -4335,24 +3148,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteTextures")] - public static - void DeleteTextures(Int32 n, UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTextures(Int32 n, UInt32[] textures); /// [requires: v1.0] /// Delete named textures @@ -4369,24 +3165,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteTextures")] - public static - void DeleteTextures(Int32 n, ref UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTextures(Int32 n, ref UInt32 textures); /// [requires: v1.0] /// Delete named textures @@ -4403,18 +3182,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteTextures")] - public static - unsafe void DeleteTextures(Int32 n, UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteTextures(Int32 n, UInt32* textures); /// [requires: v1.0] /// Specify the value used for depth buffer comparisons @@ -4426,18 +3194,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDepthFunc")] - public static - void DepthFunc(OpenTK.Graphics.ES11.All func) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthFunc((OpenTK.Graphics.ES11.DepthFunction)func); - #if DEBUG - } - #endif - } + public static extern void DepthFunc(OpenTK.Graphics.ES11.All func); /// [requires: v1.0] /// Specify the value used for depth buffer comparisons @@ -4448,18 +3205,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDepthFunc")] - public static - void DepthFunc(OpenTK.Graphics.ES11.DepthFunction func) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthFunc((OpenTK.Graphics.ES11.DepthFunction)func); - #if DEBUG - } - #endif - } + public static extern void DepthFunc(OpenTK.Graphics.ES11.DepthFunction func); /// [requires: v1.0] /// Enable or disable writing into the depth buffer @@ -4470,18 +3216,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDepthMask")] - public static - void DepthMask(bool flag) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthMask((bool)flag); - #if DEBUG - } - #endif - } + public static extern void DepthMask(bool flag); /// [requires: v1.0] /// Specify mapping of depth values from normalized device coordinates to window coordinates @@ -4497,95 +3232,29 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDepthRangef")] - public static - void DepthRange(Single n, Single f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthRangef((Single)n, (Single)f); - #if DEBUG - } - #endif - } + public static extern void DepthRange(Single n, Single f); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDepthRangex")] - public static - void DepthRangex(int n, int f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthRangex((int)n, (int)f); - #if DEBUG - } - #endif - } + public static extern void DepthRangex(int n, int f); /// [requires: v1.0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDisable")] - public static - void Disable(OpenTK.Graphics.ES11.All cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisable((OpenTK.Graphics.ES11.EnableCap)cap); - #if DEBUG - } - #endif - } + public static extern void Disable(OpenTK.Graphics.ES11.All cap); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDisable")] - public static - void Disable(OpenTK.Graphics.ES11.EnableCap cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisable((OpenTK.Graphics.ES11.EnableCap)cap); - #if DEBUG - } - #endif - } + public static extern void Disable(OpenTK.Graphics.ES11.EnableCap cap); /// [requires: v1.0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDisableClientState")] - public static - void DisableClientState(OpenTK.Graphics.ES11.All array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableClientState((OpenTK.Graphics.ES11.EnableCap)array); - #if DEBUG - } - #endif - } + public static extern void DisableClientState(OpenTK.Graphics.ES11.All array); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDisableClientState")] - public static - void DisableClientState(OpenTK.Graphics.ES11.EnableCap array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableClientState((OpenTK.Graphics.ES11.EnableCap)array); - #if DEBUG - } - #endif - } + public static extern void DisableClientState(OpenTK.Graphics.ES11.EnableCap array); /// [requires: v1.0] /// Render primitives from array data @@ -4607,18 +3276,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawArrays")] - public static - void DrawArrays(OpenTK.Graphics.ES11.All mode, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArrays((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)first, (Int32)count); - #if DEBUG - } - #endif - } + public static extern void DrawArrays(OpenTK.Graphics.ES11.All mode, Int32 first, Int32 count); /// [requires: v1.0] /// Render primitives from array data @@ -4640,18 +3298,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawArrays")] - public static - void DrawArrays(OpenTK.Graphics.ES11.BeginMode mode, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArrays((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)first, (Int32)count); - #if DEBUG - } - #endif - } + public static extern void DrawArrays(OpenTK.Graphics.ES11.BeginMode mode, Int32 first, Int32 count); /// [requires: v1.0] /// Render primitives from array data @@ -4672,18 +3319,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawArrays")] - public static - void DrawArrays(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArrays((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)first, (Int32)count); - #if DEBUG - } - #endif - } + public static extern void DrawArrays(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 first, Int32 count); /// [requires: v1.0] /// Render primitives from array data @@ -4710,18 +3346,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES11.All mode, Int32 count, OpenTK.Graphics.ES11.All type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElements((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices); - #if DEBUG - } - #endif - } + public static extern void DrawElements(OpenTK.Graphics.ES11.All mode, Int32 count, OpenTK.Graphics.ES11.All type, IntPtr indices); /// [requires: v1.0] /// Render primitives from array data @@ -4748,27 +3373,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES11.All mode, Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[] indices) + public static extern void DrawElements(OpenTK.Graphics.ES11.All mode, Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[] indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Render primitives from array data @@ -4795,27 +3402,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES11.All mode, Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,] indices) + public static extern void DrawElements(OpenTK.Graphics.ES11.All mode, Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,] indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Render primitives from array data @@ -4842,27 +3431,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES11.All mode, Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,,] indices) + public static extern void DrawElements(OpenTK.Graphics.ES11.All mode, Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,,] indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Render primitives from array data @@ -4889,28 +3460,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES11.All mode, Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] ref T3 indices) + public static extern void DrawElements(OpenTK.Graphics.ES11.All mode, Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] ref T3 indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Render primitives from array data @@ -4937,18 +3489,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES11.BeginMode mode, Int32 count, OpenTK.Graphics.ES11.All type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElements((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices); - #if DEBUG - } - #endif - } + public static extern void DrawElements(OpenTK.Graphics.ES11.BeginMode mode, Int32 count, OpenTK.Graphics.ES11.All type, IntPtr indices); /// [requires: v1.0] /// Render primitives from array data @@ -4975,27 +3516,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES11.BeginMode mode, Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[] indices) + public static extern void DrawElements(OpenTK.Graphics.ES11.BeginMode mode, Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[] indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Render primitives from array data @@ -5022,27 +3545,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES11.BeginMode mode, Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,] indices) + public static extern void DrawElements(OpenTK.Graphics.ES11.BeginMode mode, Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,] indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Render primitives from array data @@ -5069,27 +3574,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES11.BeginMode mode, Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,,] indices) + public static extern void DrawElements(OpenTK.Graphics.ES11.BeginMode mode, Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,,] indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Render primitives from array data @@ -5116,28 +3603,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES11.BeginMode mode, Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] ref T3 indices) + public static extern void DrawElements(OpenTK.Graphics.ES11.BeginMode mode, Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] ref T3 indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Render primitives from array data @@ -5163,18 +3631,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES11.All type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElements((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices); - #if DEBUG - } - #endif - } + public static extern void DrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES11.All type, IntPtr indices); /// [requires: v1.0] /// Render primitives from array data @@ -5200,27 +3657,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[] indices) + public static extern void DrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[] indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Render primitives from array data @@ -5246,27 +3685,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,] indices) + public static extern void DrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,] indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Render primitives from array data @@ -5292,27 +3713,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,,] indices) + public static extern void DrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,,] indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Render primitives from array data @@ -5338,28 +3741,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] ref T3 indices) + public static extern void DrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] ref T3 indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Enable or disable server-side GL capabilities @@ -5376,18 +3760,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glEnable")] - public static - void Enable(OpenTK.Graphics.ES11.All cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnable((OpenTK.Graphics.ES11.EnableCap)cap); - #if DEBUG - } - #endif - } + public static extern void Enable(OpenTK.Graphics.ES11.All cap); /// [requires: v1.0] /// Enable or disable server-side GL capabilities @@ -5403,18 +3776,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glEnable")] - public static - void Enable(OpenTK.Graphics.ES11.EnableCap cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnable((OpenTK.Graphics.ES11.EnableCap)cap); - #if DEBUG - } - #endif - } + public static extern void Enable(OpenTK.Graphics.ES11.EnableCap cap); /// [requires: v1.0] /// Enable or disable client-side capability @@ -5426,18 +3788,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glEnableClientState")] - public static - void EnableClientState(OpenTK.Graphics.ES11.All array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableClientState((OpenTK.Graphics.ES11.EnableCap)array); - #if DEBUG - } - #endif - } + public static extern void EnableClientState(OpenTK.Graphics.ES11.All array); /// [requires: v1.0] /// Enable or disable client-side capability @@ -5448,52 +3799,19 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glEnableClientState")] - public static - void EnableClientState(OpenTK.Graphics.ES11.EnableCap array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableClientState((OpenTK.Graphics.ES11.EnableCap)array); - #if DEBUG - } - #endif - } + public static extern void EnableClientState(OpenTK.Graphics.ES11.EnableCap array); /// [requires: v1.0] /// Block until all GL execution is complete /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFinish")] - public static - void Finish() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFinish(); - #if DEBUG - } - #endif - } + public static extern void Finish(); /// [requires: v1.0] /// Force execution of GL commands in finite time /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFlush")] - public static - void Flush() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFlush(); - #if DEBUG - } - #endif - } + public static extern void Flush(); /// [requires: v1.0] /// Specify fog parameters @@ -5510,18 +3828,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFogf")] - public static - void Fog(OpenTK.Graphics.ES11.All pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogf((OpenTK.Graphics.ES11.FogParameter)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void Fog(OpenTK.Graphics.ES11.All pname, Single param); /// [requires: v1.0] /// Specify fog parameters @@ -5537,18 +3844,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFogf")] - public static - void Fog(OpenTK.Graphics.ES11.FogParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogf((OpenTK.Graphics.ES11.FogParameter)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void Fog(OpenTK.Graphics.ES11.FogParameter pname, Single param); /// [requires: v1.0] /// Specify fog parameters @@ -5565,24 +3861,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFogfv")] - public static - void Fog(OpenTK.Graphics.ES11.All pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glFogfv((OpenTK.Graphics.ES11.FogParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Fog(OpenTK.Graphics.ES11.All pname, Single[] @params); /// [requires: v1.0] /// Specify fog parameters @@ -5600,18 +3879,7 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFogfv")] - public static - unsafe void Fog(OpenTK.Graphics.ES11.All pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogfv((OpenTK.Graphics.ES11.FogParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void Fog(OpenTK.Graphics.ES11.All pname, Single* @params); /// [requires: v1.0] /// Specify fog parameters @@ -5627,24 +3895,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFogfv")] - public static - void Fog(OpenTK.Graphics.ES11.FogParameter pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glFogfv((OpenTK.Graphics.ES11.FogParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Fog(OpenTK.Graphics.ES11.FogParameter pname, Single[] @params); /// [requires: v1.0] /// Specify fog parameters @@ -5661,70 +3912,20 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFogfv")] - public static - unsafe void Fog(OpenTK.Graphics.ES11.FogParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogfv((OpenTK.Graphics.ES11.FogParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void Fog(OpenTK.Graphics.ES11.FogParameter pname, Single* @params); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFogx")] - public static - void Fogx(OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogx((OpenTK.Graphics.ES11.All)pname, (int)param); - #if DEBUG - } - #endif - } + public static extern void Fogx(OpenTK.Graphics.ES11.All pname, int param); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFogxv")] - public static - void Fogx(OpenTK.Graphics.ES11.All pname, int[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* param_ptr = param) - { - Delegates.glFogxv((OpenTK.Graphics.ES11.All)pname, (int*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Fogx(OpenTK.Graphics.ES11.All pname, int[] param); /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFogxv")] - public static - unsafe void Fogx(OpenTK.Graphics.ES11.All pname, int* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogxv((OpenTK.Graphics.ES11.All)pname, (int*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void Fogx(OpenTK.Graphics.ES11.All pname, int* param); /// [requires: v1.0] /// Define front- and back-facing polygons @@ -5736,18 +3937,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFrontFace")] - public static - void FrontFace(OpenTK.Graphics.ES11.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFrontFace((OpenTK.Graphics.ES11.FrontFaceDirection)mode); - #if DEBUG - } - #endif - } + public static extern void FrontFace(OpenTK.Graphics.ES11.All mode); /// [requires: v1.0] /// Define front- and back-facing polygons @@ -5758,18 +3948,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFrontFace")] - public static - void FrontFace(OpenTK.Graphics.ES11.FrontFaceDirection mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFrontFace((OpenTK.Graphics.ES11.FrontFaceDirection)mode); - #if DEBUG - } - #endif - } + public static extern void FrontFace(OpenTK.Graphics.ES11.FrontFaceDirection mode); /// [requires: v1.0] /// Multiply the current matrix by a perspective matrix @@ -5790,33 +3969,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFrustumf")] - public static - void Frustum(Single l, Single r, Single b, Single t, Single n, Single f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFrustumf((Single)l, (Single)r, (Single)b, (Single)t, (Single)n, (Single)f); - #if DEBUG - } - #endif - } + public static extern void Frustum(Single l, Single r, Single b, Single t, Single n, Single f); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFrustumx")] - public static - void Frustumx(int l, int r, int b, int t, int n, int f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFrustumx((int)l, (int)r, (int)b, (int)t, (int)n, (int)f); - #if DEBUG - } - #endif - } + public static extern void Frustumx(int l, int r, int b, int t, int n, int f); /// [requires: v1.0] /// Generate buffer object names @@ -5832,25 +3989,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenBuffers")] - public static - Int32 GenBuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* buffers_ptr = &retval; - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenBuffer(); /// [requires: v1.0] /// Generate buffer object names @@ -5866,24 +4005,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenBuffers")] - public static - void GenBuffers(Int32 n, [OutAttribute] Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenBuffers(Int32 n, [OutAttribute] Int32[] buffers); /// [requires: v1.0] /// Generate buffer object names @@ -5899,25 +4021,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenBuffers")] - public static - void GenBuffers(Int32 n, [OutAttribute] out Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - { - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - buffers = *buffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenBuffers(Int32 n, [OutAttribute] out Int32 buffers); /// [requires: v1.0] /// Generate buffer object names @@ -5934,18 +4038,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenBuffers")] - public static - unsafe void GenBuffers(Int32 n, [OutAttribute] Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenBuffers(Int32 n, [OutAttribute] Int32* buffers); /// [requires: v1.0] /// Generate buffer object names @@ -5962,24 +4055,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenBuffers")] - public static - void GenBuffers(Int32 n, [OutAttribute] UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenBuffers(Int32 n, [OutAttribute] UInt32[] buffers); /// [requires: v1.0] /// Generate buffer object names @@ -5996,25 +4072,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenBuffers")] - public static - void GenBuffers(Int32 n, [OutAttribute] out UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - { - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - buffers = *buffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenBuffers(Int32 n, [OutAttribute] out UInt32 buffers); /// [requires: v1.0] /// Generate buffer object names @@ -6031,18 +4089,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenBuffers")] - public static - unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers); /// [requires: v1.0] /// Generate texture names @@ -6058,25 +4105,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenTextures")] - public static - Int32 GenTexture() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* textures_ptr = &retval; - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenTexture(); /// [requires: v1.0] /// Generate texture names @@ -6092,24 +4121,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenTextures")] - public static - void GenTextures(Int32 n, [OutAttribute] Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenTextures(Int32 n, [OutAttribute] Int32[] textures); /// [requires: v1.0] /// Generate texture names @@ -6125,25 +4137,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenTextures")] - public static - void GenTextures(Int32 n, [OutAttribute] out Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - textures = *textures_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenTextures(Int32 n, [OutAttribute] out Int32 textures); /// [requires: v1.0] /// Generate texture names @@ -6160,18 +4154,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenTextures")] - public static - unsafe void GenTextures(Int32 n, [OutAttribute] Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenTextures((Int32)n, (UInt32*)textures); - #if DEBUG - } - #endif - } + public static extern unsafe void GenTextures(Int32 n, [OutAttribute] Int32* textures); /// [requires: v1.0] /// Generate texture names @@ -6188,24 +4171,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenTextures")] - public static - void GenTextures(Int32 n, [OutAttribute] UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenTextures(Int32 n, [OutAttribute] UInt32[] textures); /// [requires: v1.0] /// Generate texture names @@ -6222,25 +4188,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenTextures")] - public static - void GenTextures(Int32 n, [OutAttribute] out UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - textures = *textures_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenTextures(Int32 n, [OutAttribute] out UInt32 textures); /// [requires: v1.0] /// Generate texture names @@ -6257,182 +4205,45 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenTextures")] - public static - unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenTextures((Int32)n, (UInt32*)textures); - #if DEBUG - } - #endif - } + public static extern unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures); /// [requires: v1.0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")] - public static - bool GetBoolean(OpenTK.Graphics.ES11.All pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - bool retval; - bool* data_ptr = &retval; - Delegates.glGetBooleanv((OpenTK.Graphics.ES11.GetPName)pname, (bool*)data_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern bool GetBoolean(OpenTK.Graphics.ES11.All pname); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")] - public static - bool GetBoolean(OpenTK.Graphics.ES11.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - bool retval; - bool* data_ptr = &retval; - Delegates.glGetBooleanv((OpenTK.Graphics.ES11.GetPName)pname, (bool*)data_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern bool GetBoolean(OpenTK.Graphics.ES11.GetPName pname); /// [requires: v1.0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")] - public static - void GetBoolean(OpenTK.Graphics.ES11.All pname, [OutAttribute] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetBooleanv((OpenTK.Graphics.ES11.GetPName)pname, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetBoolean(OpenTK.Graphics.ES11.All pname, [OutAttribute] bool[] data); /// [requires: v1.0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")] - public static - void GetBoolean(OpenTK.Graphics.ES11.All pname, [OutAttribute] out bool data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetBooleanv((OpenTK.Graphics.ES11.GetPName)pname, (bool*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetBoolean(OpenTK.Graphics.ES11.All pname, [OutAttribute] out bool data); /// [requires: v1.0] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")] - public static - unsafe void GetBoolean(OpenTK.Graphics.ES11.All pname, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBooleanv((OpenTK.Graphics.ES11.GetPName)pname, (bool*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetBoolean(OpenTK.Graphics.ES11.All pname, [OutAttribute] bool* data); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")] - public static - void GetBoolean(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetBooleanv((OpenTK.Graphics.ES11.GetPName)pname, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetBoolean(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] bool[] data); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")] - public static - void GetBoolean(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] out bool data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetBooleanv((OpenTK.Graphics.ES11.GetPName)pname, (bool*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetBoolean(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] out bool data); /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")] - public static - unsafe void GetBoolean(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBooleanv((OpenTK.Graphics.ES11.GetPName)pname, (bool*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetBoolean(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] bool* data); /// [requires: v1.0] /// Return parameters of a buffer object @@ -6453,24 +4264,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetBufferParameteriv")] - public static - void GetBufferParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetBufferParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32[] @params); /// [requires: v1.0] /// Return parameters of a buffer object @@ -6491,25 +4285,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetBufferParameteriv")] - public static - void GetBufferParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetBufferParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] out Int32 @params); /// [requires: v1.0] /// Return parameters of a buffer object @@ -6531,18 +4307,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetBufferParameteriv")] - public static - unsafe void GetBufferParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetBufferParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params); /// [requires: v1.0] /// Return the coefficients of the specified clipping plane @@ -6558,24 +4323,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetClipPlanef")] - public static - Single GetClipPlane(OpenTK.Graphics.ES11.All plane) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* equation_ptr = &retval; - Delegates.glGetClipPlanef((OpenTK.Graphics.ES11.All)plane, (Single*)equation_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Single GetClipPlane(OpenTK.Graphics.ES11.All plane); /// [requires: v1.0] /// Return the coefficients of the specified clipping plane @@ -6591,24 +4339,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetClipPlanef")] - public static - void GetClipPlane(OpenTK.Graphics.ES11.All plane, [OutAttribute] Single[] equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* equation_ptr = equation) - { - Delegates.glGetClipPlanef((OpenTK.Graphics.ES11.All)plane, (Single*)equation_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetClipPlane(OpenTK.Graphics.ES11.All plane, [OutAttribute] Single[] equation); /// [requires: v1.0] /// Return the coefficients of the specified clipping plane @@ -6624,25 +4355,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetClipPlanef")] - public static - void GetClipPlane(OpenTK.Graphics.ES11.All plane, [OutAttribute] out Single equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* equation_ptr = &equation) - { - Delegates.glGetClipPlanef((OpenTK.Graphics.ES11.All)plane, (Single*)equation_ptr); - equation = *equation_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetClipPlane(OpenTK.Graphics.ES11.All plane, [OutAttribute] out Single equation); /// [requires: v1.0] /// Return the coefficients of the specified clipping plane @@ -6659,516 +4372,123 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetClipPlanef")] - public static - unsafe void GetClipPlane(OpenTK.Graphics.ES11.All plane, [OutAttribute] Single* equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetClipPlanef((OpenTK.Graphics.ES11.All)plane, (Single*)equation); - #if DEBUG - } - #endif - } + public static extern unsafe void GetClipPlane(OpenTK.Graphics.ES11.All plane, [OutAttribute] Single* equation); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetClipPlanex")] - public static - int GetClipPlanex(OpenTK.Graphics.ES11.All plane) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - int retval; - int* equation_ptr = &retval; - Delegates.glGetClipPlanex((OpenTK.Graphics.ES11.All)plane, (int*)equation_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern int GetClipPlanex(OpenTK.Graphics.ES11.All plane); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetClipPlanex")] - public static - void GetClipPlanex(OpenTK.Graphics.ES11.All plane, [OutAttribute] int[] equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* equation_ptr = equation) - { - Delegates.glGetClipPlanex((OpenTK.Graphics.ES11.All)plane, (int*)equation_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetClipPlanex(OpenTK.Graphics.ES11.All plane, [OutAttribute] int[] equation); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetClipPlanex")] - public static - void GetClipPlanex(OpenTK.Graphics.ES11.All plane, [OutAttribute] out int equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* equation_ptr = &equation) - { - Delegates.glGetClipPlanex((OpenTK.Graphics.ES11.All)plane, (int*)equation_ptr); - equation = *equation_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetClipPlanex(OpenTK.Graphics.ES11.All plane, [OutAttribute] out int equation); /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetClipPlanex")] - public static - unsafe void GetClipPlanex(OpenTK.Graphics.ES11.All plane, [OutAttribute] int* equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetClipPlanex((OpenTK.Graphics.ES11.All)plane, (int*)equation); - #if DEBUG - } - #endif - } + public static extern unsafe void GetClipPlanex(OpenTK.Graphics.ES11.All plane, [OutAttribute] int* equation); /// [requires: v1.0] /// Return error information /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetError")] - public static - OpenTK.Graphics.ES11.ErrorCode GetError() - { - return Delegates.glGetError(); - } + public static extern OpenTK.Graphics.ES11.ErrorCode GetError(); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetFixedv")] - public static - int GetFixed(OpenTK.Graphics.ES11.All pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - int retval; - int* @params_ptr = &retval; - Delegates.glGetFixedv((OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern int GetFixed(OpenTK.Graphics.ES11.All pname); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetFixedv")] - public static - void GetFixed(OpenTK.Graphics.ES11.All pname, [OutAttribute] int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glGetFixedv((OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFixed(OpenTK.Graphics.ES11.All pname, [OutAttribute] int[] @params); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetFixedv")] - public static - void GetFixed(OpenTK.Graphics.ES11.All pname, [OutAttribute] out int @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = &@params) - { - Delegates.glGetFixedv((OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFixed(OpenTK.Graphics.ES11.All pname, [OutAttribute] out int @params); /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetFixedv")] - public static - unsafe void GetFixed(OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFixedv((OpenTK.Graphics.ES11.All)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFixed(OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); /// [requires: v1.0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetFloatv")] - public static - Single GetFloat(OpenTK.Graphics.ES11.All pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* data_ptr = &retval; - Delegates.glGetFloatv((OpenTK.Graphics.ES11.GetPName)pname, (Single*)data_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Single GetFloat(OpenTK.Graphics.ES11.All pname); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetFloatv")] - public static - Single GetFloat(OpenTK.Graphics.ES11.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* data_ptr = &retval; - Delegates.glGetFloatv((OpenTK.Graphics.ES11.GetPName)pname, (Single*)data_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Single GetFloat(OpenTK.Graphics.ES11.GetPName pname); /// [requires: v1.0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetFloatv")] - public static - void GetFloat(OpenTK.Graphics.ES11.All pname, [OutAttribute] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - Delegates.glGetFloatv((OpenTK.Graphics.ES11.GetPName)pname, (Single*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFloat(OpenTK.Graphics.ES11.All pname, [OutAttribute] Single[] data); /// [requires: v1.0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetFloatv")] - public static - void GetFloat(OpenTK.Graphics.ES11.All pname, [OutAttribute] out Single data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = &data) - { - Delegates.glGetFloatv((OpenTK.Graphics.ES11.GetPName)pname, (Single*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFloat(OpenTK.Graphics.ES11.All pname, [OutAttribute] out Single data); /// [requires: v1.0] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetFloatv")] - public static - unsafe void GetFloat(OpenTK.Graphics.ES11.All pname, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFloatv((OpenTK.Graphics.ES11.GetPName)pname, (Single*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFloat(OpenTK.Graphics.ES11.All pname, [OutAttribute] Single* data); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetFloatv")] - public static - void GetFloat(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - Delegates.glGetFloatv((OpenTK.Graphics.ES11.GetPName)pname, (Single*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFloat(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] Single[] data); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetFloatv")] - public static - void GetFloat(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] out Single data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = &data) - { - Delegates.glGetFloatv((OpenTK.Graphics.ES11.GetPName)pname, (Single*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFloat(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] out Single data); /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetFloatv")] - public static - unsafe void GetFloat(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFloatv((OpenTK.Graphics.ES11.GetPName)pname, (Single*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFloat(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] Single* data); /// [requires: v1.0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")] - public static - Int32 GetInteger(OpenTK.Graphics.ES11.All pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int32 retval; - Int32* data_ptr = &retval; - Delegates.glGetIntegerv((OpenTK.Graphics.ES11.GetPName)pname, (Int32*)data_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GetInteger(OpenTK.Graphics.ES11.All pname); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")] - public static - Int32 GetInteger(OpenTK.Graphics.ES11.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int32 retval; - Int32* data_ptr = &retval; - Delegates.glGetIntegerv((OpenTK.Graphics.ES11.GetPName)pname, (Int32*)data_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GetInteger(OpenTK.Graphics.ES11.GetPName pname); /// [requires: v1.0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")] - public static - void GetInteger(OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegerv((OpenTK.Graphics.ES11.GetPName)pname, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32[] data); /// [requires: v1.0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")] - public static - void GetInteger(OpenTK.Graphics.ES11.All pname, [OutAttribute] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetIntegerv((OpenTK.Graphics.ES11.GetPName)pname, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES11.All pname, [OutAttribute] out Int32 data); /// [requires: v1.0] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")] - public static - unsafe void GetInteger(OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegerv((OpenTK.Graphics.ES11.GetPName)pname, (Int32*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger(OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* data); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")] - public static - void GetInteger(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegerv((OpenTK.Graphics.ES11.GetPName)pname, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] Int32[] data); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")] - public static - void GetInteger(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetIntegerv((OpenTK.Graphics.ES11.GetPName)pname, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] out Int32 data); /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")] - public static - unsafe void GetInteger(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegerv((OpenTK.Graphics.ES11.GetPName)pname, (Int32*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] Int32* data); /// [requires: v1.0] /// Return light source parameter values @@ -7190,24 +4510,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetLightfv")] - public static - void GetLight(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetLightfv((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetLight(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, [OutAttribute] Single[] @params); /// [requires: v1.0] /// Return light source parameter values @@ -7229,25 +4532,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetLightfv")] - public static - void GetLight(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetLightfv((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetLight(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, [OutAttribute] out Single @params); /// [requires: v1.0] /// Return light source parameter values @@ -7270,18 +4555,7 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetLightfv")] - public static - unsafe void GetLight(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetLightfv((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetLight(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, [OutAttribute] Single* @params); /// [requires: v1.0] /// Return light source parameter values @@ -7302,24 +4576,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetLightfv")] - public static - void GetLight(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetLightfv((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetLight(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, [OutAttribute] Single[] @params); /// [requires: v1.0] /// Return light source parameter values @@ -7340,25 +4597,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetLightfv")] - public static - void GetLight(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetLightfv((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetLight(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, [OutAttribute] out Single @params); /// [requires: v1.0] /// Return light source parameter values @@ -7380,77 +4619,20 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetLightfv")] - public static - unsafe void GetLight(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetLightfv((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetLight(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, [OutAttribute] Single* @params); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetLightxv")] - public static - void GetLightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, [OutAttribute] int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glGetLightxv((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetLightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, [OutAttribute] int[] @params); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetLightxv")] - public static - void GetLightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, [OutAttribute] out int @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = &@params) - { - Delegates.glGetLightxv((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetLightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, [OutAttribute] out int @params); /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetLightxv")] - public static - unsafe void GetLightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetLightxv((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetLightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); /// [requires: v1.0] /// Return material parameters @@ -7472,24 +4654,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetMaterialfv")] - public static - void GetMaterial(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetMaterialfv((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMaterial(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, [OutAttribute] Single[] @params); /// [requires: v1.0] /// Return material parameters @@ -7511,25 +4676,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetMaterialfv")] - public static - void GetMaterial(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetMaterialfv((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMaterial(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, [OutAttribute] out Single @params); /// [requires: v1.0] /// Return material parameters @@ -7552,18 +4699,7 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetMaterialfv")] - public static - unsafe void GetMaterial(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMaterialfv((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMaterial(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, [OutAttribute] Single* @params); /// [requires: v1.0] /// Return material parameters @@ -7584,24 +4720,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetMaterialfv")] - public static - void GetMaterial(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetMaterialfv((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMaterial(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, [OutAttribute] Single[] @params); /// [requires: v1.0] /// Return material parameters @@ -7622,25 +4741,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetMaterialfv")] - public static - void GetMaterial(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetMaterialfv((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMaterial(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, [OutAttribute] out Single @params); /// [requires: v1.0] /// Return material parameters @@ -7662,136 +4763,33 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetMaterialfv")] - public static - unsafe void GetMaterial(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMaterialfv((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMaterial(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, [OutAttribute] Single* @params); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetMaterialxv")] - public static - void GetMaterialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, [OutAttribute] int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glGetMaterialxv((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMaterialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, [OutAttribute] int[] @params); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetMaterialxv")] - public static - void GetMaterialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, [OutAttribute] out int @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = &@params) - { - Delegates.glGetMaterialxv((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMaterialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, [OutAttribute] out int @params); /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetMaterialxv")] - public static - unsafe void GetMaterialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMaterialxv((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMaterialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); /// [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetPixelMapxv")] - public static - void GetPixelMapx(OpenTK.Graphics.ES11.All map, Int32 size, [OutAttribute] int[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* values_ptr = values) - { - Delegates.glGetPixelMapxv((OpenTK.Graphics.ES11.All)map, (Int32)size, (int*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetPixelMapx(OpenTK.Graphics.ES11.All map, Int32 size, [OutAttribute] int[] values); /// [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetPixelMapxv")] - public static - void GetPixelMapx(OpenTK.Graphics.ES11.All map, Int32 size, [OutAttribute] out int values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* values_ptr = &values) - { - Delegates.glGetPixelMapxv((OpenTK.Graphics.ES11.All)map, (Int32)size, (int*)values_ptr); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPixelMapx(OpenTK.Graphics.ES11.All map, Int32 size, [OutAttribute] out int values); /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetPixelMapxv")] - public static - unsafe void GetPixelMapx(OpenTK.Graphics.ES11.All map, Int32 size, [OutAttribute] int* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPixelMapxv((OpenTK.Graphics.ES11.All)map, (Int32)size, (int*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPixelMapx(OpenTK.Graphics.ES11.All map, Int32 size, [OutAttribute] int* values); /// [requires: v1.0] /// Return the address of the specified pointer @@ -7808,18 +4806,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.ES11.All pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPointerv((OpenTK.Graphics.ES11.GetPointervPName)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } + public static extern void GetPointer(OpenTK.Graphics.ES11.All pname, [OutAttribute] IntPtr @params); /// [requires: v1.0] /// Return the address of the specified pointer @@ -7836,27 +4823,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.ES11.All pname, [InAttribute, OutAttribute] T1[] @params) + public static extern void GetPointer(OpenTK.Graphics.ES11.All pname, [InAttribute, OutAttribute] T1[] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.ES11.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Return the address of the specified pointer @@ -7873,27 +4842,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.ES11.All pname, [InAttribute, OutAttribute] T1[,] @params) + public static extern void GetPointer(OpenTK.Graphics.ES11.All pname, [InAttribute, OutAttribute] T1[,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.ES11.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Return the address of the specified pointer @@ -7910,27 +4861,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.ES11.All pname, [InAttribute, OutAttribute] T1[,,] @params) + public static extern void GetPointer(OpenTK.Graphics.ES11.All pname, [InAttribute, OutAttribute] T1[,,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.ES11.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Return the address of the specified pointer @@ -7947,28 +4880,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.ES11.All pname, [InAttribute, OutAttribute] ref T1 @params) + public static extern void GetPointer(OpenTK.Graphics.ES11.All pname, [InAttribute, OutAttribute] ref T1 @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.ES11.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - @params = (T1)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Return the address of the specified pointer @@ -7984,18 +4898,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.ES11.GetPointervPName pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPointerv((OpenTK.Graphics.ES11.GetPointervPName)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } + public static extern void GetPointer(OpenTK.Graphics.ES11.GetPointervPName pname, [OutAttribute] IntPtr @params); /// [requires: v1.0] /// Return the address of the specified pointer @@ -8011,27 +4914,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.ES11.GetPointervPName pname, [InAttribute, OutAttribute] T1[] @params) + public static extern void GetPointer(OpenTK.Graphics.ES11.GetPointervPName pname, [InAttribute, OutAttribute] T1[] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.ES11.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Return the address of the specified pointer @@ -8047,27 +4932,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.ES11.GetPointervPName pname, [InAttribute, OutAttribute] T1[,] @params) + public static extern void GetPointer(OpenTK.Graphics.ES11.GetPointervPName pname, [InAttribute, OutAttribute] T1[,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.ES11.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Return the address of the specified pointer @@ -8083,27 +4950,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.ES11.GetPointervPName pname, [InAttribute, OutAttribute] T1[,,] @params) + public static extern void GetPointer(OpenTK.Graphics.ES11.GetPointervPName pname, [InAttribute, OutAttribute] T1[,,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.ES11.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Return the address of the specified pointer @@ -8119,28 +4968,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.ES11.GetPointervPName pname, [InAttribute, OutAttribute] ref T1 @params) + public static extern void GetPointer(OpenTK.Graphics.ES11.GetPointervPName pname, [InAttribute, OutAttribute] ref T1 @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.ES11.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - @params = (T1)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Return a string describing the current GL connection @@ -8157,18 +4987,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetString")] - public static - String GetString(OpenTK.Graphics.ES11.All name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)Delegates.glGetString((OpenTK.Graphics.ES11.StringName)name)); } - #if DEBUG - } - #endif - } + public static extern String GetString(OpenTK.Graphics.ES11.All name); /// [requires: v1.0] /// Return a string describing the current GL connection @@ -8184,18 +5003,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetString")] - public static - String GetString(OpenTK.Graphics.ES11.StringName name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)Delegates.glGetString((OpenTK.Graphics.ES11.StringName)name)); } - #if DEBUG - } - #endif - } + public static extern String GetString(OpenTK.Graphics.ES11.StringName name); /// [requires: v1.0] /// Return texture environment parameters @@ -8217,24 +5025,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnvfv")] - public static - void GetTexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTexEnvfv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Single[] @params); /// [requires: v1.0] /// Return texture environment parameters @@ -8256,25 +5047,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnvfv")] - public static - void GetTexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetTexEnvfv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] out Single @params); /// [requires: v1.0] /// Return texture environment parameters @@ -8297,18 +5070,7 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnvfv")] - public static - unsafe void GetTexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexEnvfv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Single* @params); /// [requires: v1.0] /// Return texture environment parameters @@ -8329,24 +5091,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnvfv")] - public static - void GetTexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTexEnvfv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, [OutAttribute] Single[] @params); /// [requires: v1.0] /// Return texture environment parameters @@ -8367,25 +5112,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnvfv")] - public static - void GetTexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetTexEnvfv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, [OutAttribute] out Single @params); /// [requires: v1.0] /// Return texture environment parameters @@ -8407,18 +5134,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnvfv")] - public static - unsafe void GetTexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexEnvfv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, [OutAttribute] Single* @params); /// [requires: v1.0] /// Return texture environment parameters @@ -8440,24 +5156,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnviv")] - public static - void GetTexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTexEnviv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32[] @params); /// [requires: v1.0] /// Return texture environment parameters @@ -8479,25 +5178,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnviv")] - public static - void GetTexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTexEnviv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] out Int32 @params); /// [requires: v1.0] /// Return texture environment parameters @@ -8520,18 +5201,7 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnviv")] - public static - unsafe void GetTexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexEnviv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params); /// [requires: v1.0] /// Return texture environment parameters @@ -8552,24 +5222,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnviv")] - public static - void GetTexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTexEnviv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, [OutAttribute] Int32[] @params); /// [requires: v1.0] /// Return texture environment parameters @@ -8590,25 +5243,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnviv")] - public static - void GetTexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTexEnviv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, [OutAttribute] out Int32 @params); /// [requires: v1.0] /// Return texture environment parameters @@ -8630,77 +5265,20 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnviv")] - public static - unsafe void GetTexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexEnviv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, [OutAttribute] Int32* @params); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnvxv")] - public static - void GetTexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glGetTexEnvxv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int[] @params); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnvxv")] - public static - void GetTexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] out int @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = &@params) - { - Delegates.glGetTexEnvxv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] out int @params); /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnvxv")] - public static - unsafe void GetTexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexEnvxv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); /// [requires: v1.0] /// Return texture parameter values @@ -8722,24 +5300,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameterfv")] - public static - void GetTexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTexParameterfv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.GetTextureParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Single[] @params); /// [requires: v1.0] /// Return texture parameter values @@ -8761,25 +5322,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameterfv")] - public static - void GetTexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetTexParameterfv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.GetTextureParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] out Single @params); /// [requires: v1.0] /// Return texture parameter values @@ -8802,18 +5345,7 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameterfv")] - public static - unsafe void GetTexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameterfv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.GetTextureParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Single* @params); /// [requires: v1.0] /// Return texture parameter values @@ -8834,24 +5366,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameterfv")] - public static - void GetTexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.GetTextureParameter pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTexParameterfv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.GetTextureParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.GetTextureParameter pname, [OutAttribute] Single[] @params); /// [requires: v1.0] /// Return texture parameter values @@ -8872,25 +5387,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameterfv")] - public static - void GetTexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.GetTextureParameter pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetTexParameterfv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.GetTextureParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.GetTextureParameter pname, [OutAttribute] out Single @params); /// [requires: v1.0] /// Return texture parameter values @@ -8912,18 +5409,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameterfv")] - public static - unsafe void GetTexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.GetTextureParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameterfv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.GetTextureParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.GetTextureParameter pname, [OutAttribute] Single* @params); /// [requires: v1.0] /// Return texture parameter values @@ -8945,24 +5431,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameteriv")] - public static - void GetTexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTexParameteriv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32[] @params); /// [requires: v1.0] /// Return texture parameter values @@ -8984,25 +5453,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameteriv")] - public static - void GetTexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTexParameteriv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] out Int32 @params); /// [requires: v1.0] /// Return texture parameter values @@ -9025,18 +5476,7 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameteriv")] - public static - unsafe void GetTexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameteriv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params); /// [requires: v1.0] /// Return texture parameter values @@ -9057,24 +5497,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameteriv")] - public static - void GetTexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.GetTextureParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTexParameteriv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.GetTextureParameter pname, [OutAttribute] Int32[] @params); /// [requires: v1.0] /// Return texture parameter values @@ -9095,25 +5518,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameteriv")] - public static - void GetTexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.GetTextureParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTexParameteriv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.GetTextureParameter pname, [OutAttribute] out Int32 @params); /// [requires: v1.0] /// Return texture parameter values @@ -9135,77 +5540,20 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameteriv")] - public static - unsafe void GetTexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameteriv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.GetTextureParameter pname, [OutAttribute] Int32* @params); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameterxv")] - public static - void GetTexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glGetTexParameterxv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int[] @params); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameterxv")] - public static - void GetTexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] out int @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = &@params) - { - Delegates.glGetTexParameterxv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] out int @params); /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameterxv")] - public static - unsafe void GetTexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameterxv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); /// [requires: v1.0] /// Specify implementation-specific hints @@ -9222,18 +5570,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glHint")] - public static - void Hint(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glHint((OpenTK.Graphics.ES11.HintTarget)target, (OpenTK.Graphics.ES11.HintMode)mode); - #if DEBUG - } - #endif - } + public static extern void Hint(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All mode); /// [requires: v1.0] /// Specify implementation-specific hints @@ -9249,18 +5586,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glHint")] - public static - void Hint(OpenTK.Graphics.ES11.HintTarget target, OpenTK.Graphics.ES11.HintMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glHint((OpenTK.Graphics.ES11.HintTarget)target, (OpenTK.Graphics.ES11.HintMode)mode); - #if DEBUG - } - #endif - } + public static extern void Hint(OpenTK.Graphics.ES11.HintTarget target, OpenTK.Graphics.ES11.HintMode mode); /// [requires: v1.0] /// Determine if a name corresponds to a buffer object @@ -9271,18 +5597,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glIsBuffer")] - public static - bool IsBuffer(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsBuffer((UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern bool IsBuffer(Int32 buffer); /// [requires: v1.0] /// Determine if a name corresponds to a buffer object @@ -9294,18 +5609,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glIsBuffer")] - public static - bool IsBuffer(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsBuffer((UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern bool IsBuffer(UInt32 buffer); /// [requires: v1.0] /// Test whether a capability is enabled @@ -9322,18 +5626,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glIsEnabled")] - public static - bool IsEnabled(OpenTK.Graphics.ES11.All cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsEnabled((OpenTK.Graphics.ES11.EnableCap)cap); - #if DEBUG - } - #endif - } + public static extern bool IsEnabled(OpenTK.Graphics.ES11.All cap); /// [requires: v1.0] /// Test whether a capability is enabled @@ -9349,18 +5642,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glIsEnabled")] - public static - bool IsEnabled(OpenTK.Graphics.ES11.EnableCap cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsEnabled((OpenTK.Graphics.ES11.EnableCap)cap); - #if DEBUG - } - #endif - } + public static extern bool IsEnabled(OpenTK.Graphics.ES11.EnableCap cap); /// [requires: v1.0] /// Determine if a name corresponds to a texture @@ -9371,18 +5653,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glIsTexture")] - public static - bool IsTexture(Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsTexture((UInt32)texture); - #if DEBUG - } - #endif - } + public static extern bool IsTexture(Int32 texture); /// [requires: v1.0] /// Determine if a name corresponds to a texture @@ -9394,18 +5665,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glIsTexture")] - public static - bool IsTexture(UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsTexture((UInt32)texture); - #if DEBUG - } - #endif - } + public static extern bool IsTexture(UInt32 texture); /// [requires: v1.0] /// Set light source parameters @@ -9427,18 +5687,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightf")] - public static - void Light(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightf((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void Light(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, Single param); /// [requires: v1.0] /// Set light source parameters @@ -9459,18 +5708,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightf")] - public static - void Light(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightf((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void Light(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, Single param); /// [requires: v1.0] /// Set light source parameters @@ -9492,24 +5730,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightfv")] - public static - void Light(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glLightfv((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Light(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, Single[] @params); /// [requires: v1.0] /// Set light source parameters @@ -9532,18 +5753,7 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightfv")] - public static - unsafe void Light(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightfv((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void Light(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, Single* @params); /// [requires: v1.0] /// Set light source parameters @@ -9564,24 +5774,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightfv")] - public static - void Light(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glLightfv((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Light(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, Single[] @params); /// [requires: v1.0] /// Set light source parameters @@ -9603,18 +5796,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightfv")] - public static - unsafe void Light(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightfv((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void Light(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, Single* @params); /// [requires: v1.0] /// Set the lighting model parameters @@ -9631,18 +5813,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightModelf")] - public static - void LightModel(OpenTK.Graphics.ES11.All pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightModelf((OpenTK.Graphics.ES11.LightModelParameter)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void LightModel(OpenTK.Graphics.ES11.All pname, Single param); /// [requires: v1.0] /// Set the lighting model parameters @@ -9658,18 +5829,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightModelf")] - public static - void LightModel(OpenTK.Graphics.ES11.LightModelParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightModelf((OpenTK.Graphics.ES11.LightModelParameter)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void LightModel(OpenTK.Graphics.ES11.LightModelParameter pname, Single param); /// [requires: v1.0] /// Set the lighting model parameters @@ -9686,24 +5846,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightModelfv")] - public static - void LightModel(OpenTK.Graphics.ES11.All pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glLightModelfv((OpenTK.Graphics.ES11.LightModelParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LightModel(OpenTK.Graphics.ES11.All pname, Single[] @params); /// [requires: v1.0] /// Set the lighting model parameters @@ -9721,18 +5864,7 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightModelfv")] - public static - unsafe void LightModel(OpenTK.Graphics.ES11.All pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightModelfv((OpenTK.Graphics.ES11.LightModelParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void LightModel(OpenTK.Graphics.ES11.All pname, Single* @params); /// [requires: v1.0] /// Set the lighting model parameters @@ -9748,24 +5880,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightModelfv")] - public static - void LightModel(OpenTK.Graphics.ES11.LightModelParameter pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glLightModelfv((OpenTK.Graphics.ES11.LightModelParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LightModel(OpenTK.Graphics.ES11.LightModelParameter pname, Single[] @params); /// [requires: v1.0] /// Set the lighting model parameters @@ -9782,122 +5897,33 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightModelfv")] - public static - unsafe void LightModel(OpenTK.Graphics.ES11.LightModelParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightModelfv((OpenTK.Graphics.ES11.LightModelParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void LightModel(OpenTK.Graphics.ES11.LightModelParameter pname, Single* @params); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightModelx")] - public static - void LightModelx(OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightModelx((OpenTK.Graphics.ES11.All)pname, (int)param); - #if DEBUG - } - #endif - } + public static extern void LightModelx(OpenTK.Graphics.ES11.All pname, int param); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightModelxv")] - public static - void LightModelx(OpenTK.Graphics.ES11.All pname, int[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* param_ptr = param) - { - Delegates.glLightModelxv((OpenTK.Graphics.ES11.All)pname, (int*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LightModelx(OpenTK.Graphics.ES11.All pname, int[] param); /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightModelxv")] - public static - unsafe void LightModelx(OpenTK.Graphics.ES11.All pname, int* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightModelxv((OpenTK.Graphics.ES11.All)pname, (int*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void LightModelx(OpenTK.Graphics.ES11.All pname, int* param); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightx")] - public static - void Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightx((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int)param); - #if DEBUG - } - #endif - } + public static extern void Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int param); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightxv")] - public static - void Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glLightxv((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int[] @params); /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightxv")] - public static - unsafe void Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightxv((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params); /// [requires: v1.0] /// Specify the width of rasterized lines @@ -9908,50 +5934,17 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLineWidth")] - public static - void LineWidth(Single width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLineWidth((Single)width); - #if DEBUG - } - #endif - } + public static extern void LineWidth(Single width); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLineWidthx")] - public static - void LineWidthx(int width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLineWidthx((int)width); - #if DEBUG - } - #endif - } + public static extern void LineWidthx(int width); /// [requires: v1.0] /// Replace the current matrix with the identity matrix /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLoadIdentity")] - public static - void LoadIdentity() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadIdentity(); - #if DEBUG - } - #endif - } + public static extern void LoadIdentity(); /// [requires: v1.0] /// Replace the current matrix with the specified matrix @@ -9962,24 +5955,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLoadMatrixf")] - public static - void LoadMatrix(Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - Delegates.glLoadMatrixf((Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LoadMatrix(Single[] m); /// [requires: v1.0] /// Replace the current matrix with the specified matrix @@ -9990,24 +5966,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLoadMatrixf")] - public static - void LoadMatrix(ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - Delegates.glLoadMatrixf((Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LoadMatrix(ref Single m); /// [requires: v1.0] /// Replace the current matrix with the specified matrix @@ -10019,76 +5978,20 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLoadMatrixf")] - public static - unsafe void LoadMatrix(Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadMatrixf((Single*)m); - #if DEBUG - } - #endif - } + public static extern unsafe void LoadMatrix(Single* m); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLoadMatrixx")] - public static - void LoadMatrixx(int[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = m) - { - Delegates.glLoadMatrixx((int*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LoadMatrixx(int[] m); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLoadMatrixx")] - public static - void LoadMatrixx(ref int m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = &m) - { - Delegates.glLoadMatrixx((int*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LoadMatrixx(ref int m); /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLoadMatrixx")] - public static - unsafe void LoadMatrixx(int* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadMatrixx((int*)m); - #if DEBUG - } - #endif - } + public static extern unsafe void LoadMatrixx(int* m); /// [requires: v1.0] /// Specify a logical pixel operation for rendering @@ -10100,18 +6003,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLogicOp")] - public static - void LogicOp(OpenTK.Graphics.ES11.All opcode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLogicOp((OpenTK.Graphics.ES11.LogicOp)opcode); - #if DEBUG - } - #endif - } + public static extern void LogicOp(OpenTK.Graphics.ES11.All opcode); /// [requires: v1.0] /// Specify a logical pixel operation for rendering @@ -10122,18 +6014,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLogicOp")] - public static - void LogicOp(OpenTK.Graphics.ES11.LogicOp opcode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLogicOp((OpenTK.Graphics.ES11.LogicOp)opcode); - #if DEBUG - } - #endif - } + public static extern void LogicOp(OpenTK.Graphics.ES11.LogicOp opcode); /// [requires: v1.0] /// Specify material parameters for the lighting model @@ -10155,18 +6036,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMaterialf")] - public static - void Material(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMaterialf((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void Material(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, Single param); /// [requires: v1.0] /// Specify material parameters for the lighting model @@ -10187,18 +6057,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMaterialf")] - public static - void Material(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMaterialf((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void Material(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, Single param); /// [requires: v1.0] /// Specify material parameters for the lighting model @@ -10220,24 +6079,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMaterialfv")] - public static - void Material(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glMaterialfv((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Material(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, Single[] @params); /// [requires: v1.0] /// Specify material parameters for the lighting model @@ -10260,18 +6102,7 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMaterialfv")] - public static - unsafe void Material(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMaterialfv((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void Material(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, Single* @params); /// [requires: v1.0] /// Specify material parameters for the lighting model @@ -10292,24 +6123,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMaterialfv")] - public static - void Material(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glMaterialfv((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Material(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, Single[] @params); /// [requires: v1.0] /// Specify material parameters for the lighting model @@ -10331,70 +6145,20 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMaterialfv")] - public static - unsafe void Material(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMaterialfv((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void Material(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, Single* @params); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMaterialx")] - public static - void Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMaterialx((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int)param); - #if DEBUG - } - #endif - } + public static extern void Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int param); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMaterialxv")] - public static - void Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* param_ptr = param) - { - Delegates.glMaterialxv((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int[] param); /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMaterialxv")] - public static - unsafe void Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMaterialxv((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* param); /// [requires: v1.0] /// Specify which matrix is the current matrix @@ -10406,18 +6170,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMatrixMode")] - public static - void MatrixMode(OpenTK.Graphics.ES11.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixMode((OpenTK.Graphics.ES11.MatrixMode)mode); - #if DEBUG - } - #endif - } + public static extern void MatrixMode(OpenTK.Graphics.ES11.All mode); /// [requires: v1.0] /// Specify which matrix is the current matrix @@ -10428,18 +6181,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMatrixMode")] - public static - void MatrixMode(OpenTK.Graphics.ES11.MatrixMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixMode((OpenTK.Graphics.ES11.MatrixMode)mode); - #if DEBUG - } - #endif - } + public static extern void MatrixMode(OpenTK.Graphics.ES11.MatrixMode mode); /// [requires: v1.0] /// Set the current texture coordinates @@ -10456,18 +6198,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMultiTexCoord4f")] - public static - void MultiTexCoord4(OpenTK.Graphics.ES11.All target, Single s, Single t, Single r, Single q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4f((OpenTK.Graphics.ES11.TextureUnit)target, (Single)s, (Single)t, (Single)r, (Single)q); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.ES11.All target, Single s, Single t, Single r, Single q); /// [requires: v1.0] /// Set the current texture coordinates @@ -10483,33 +6214,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMultiTexCoord4f")] - public static - void MultiTexCoord4(OpenTK.Graphics.ES11.TextureUnit target, Single s, Single t, Single r, Single q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4f((OpenTK.Graphics.ES11.TextureUnit)target, (Single)s, (Single)t, (Single)r, (Single)q); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.ES11.TextureUnit target, Single s, Single t, Single r, Single q); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMultiTexCoord4x")] - public static - void MultiTexCoord4x(OpenTK.Graphics.ES11.All texture, int s, int t, int r, int q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4x((OpenTK.Graphics.ES11.All)texture, (int)s, (int)t, (int)r, (int)q); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4x(OpenTK.Graphics.ES11.All texture, int s, int t, int r, int q); /// [requires: v1.0] /// Multiply the current matrix with the specified matrix @@ -10520,24 +6229,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMultMatrixf")] - public static - void MultMatrix(Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - Delegates.glMultMatrixf((Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultMatrix(Single[] m); /// [requires: v1.0] /// Multiply the current matrix with the specified matrix @@ -10548,24 +6240,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMultMatrixf")] - public static - void MultMatrix(ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - Delegates.glMultMatrixf((Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultMatrix(ref Single m); /// [requires: v1.0] /// Multiply the current matrix with the specified matrix @@ -10577,76 +6252,20 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMultMatrixf")] - public static - unsafe void MultMatrix(Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultMatrixf((Single*)m); - #if DEBUG - } - #endif - } + public static extern unsafe void MultMatrix(Single* m); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMultMatrixx")] - public static - void MultMatrixx(int[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = m) - { - Delegates.glMultMatrixx((int*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultMatrixx(int[] m); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMultMatrixx")] - public static - void MultMatrixx(ref int m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = &m) - { - Delegates.glMultMatrixx((int*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultMatrixx(ref int m); /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMultMatrixx")] - public static - unsafe void MultMatrixx(int* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultMatrixx((int*)m); - #if DEBUG - } - #endif - } + public static extern unsafe void MultMatrixx(int* m); /// [requires: v1.0] /// Set the current normal vector @@ -10660,33 +6279,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glNormal3f")] - public static - void Normal3(Single nx, Single ny, Single nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3f((Single)nx, (Single)ny, (Single)nz); - #if DEBUG - } - #endif - } + public static extern void Normal3(Single nx, Single ny, Single nz); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glNormal3x")] - public static - void Normal3x(int nx, int ny, int nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3x((int)nx, (int)ny, (int)nz); - #if DEBUG - } - #endif - } + public static extern void Normal3x(int nx, int ny, int nz); /// [requires: v1.0] /// Define an array of normals @@ -10708,18 +6305,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glNormalPointer")] - public static - void NormalPointer(OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalPointer((OpenTK.Graphics.ES11.NormalPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void NormalPointer(OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer); /// [requires: v1.0] /// Define an array of normals @@ -10741,27 +6327,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glNormalPointer")] - public static - void NormalPointer(OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) + public static extern void NormalPointer(OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointer((OpenTK.Graphics.ES11.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Define an array of normals @@ -10783,27 +6351,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glNormalPointer")] - public static - void NormalPointer(OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) + public static extern void NormalPointer(OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointer((OpenTK.Graphics.ES11.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Define an array of normals @@ -10825,27 +6375,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glNormalPointer")] - public static - void NormalPointer(OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) + public static extern void NormalPointer(OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointer((OpenTK.Graphics.ES11.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Define an array of normals @@ -10867,28 +6399,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glNormalPointer")] - public static - void NormalPointer(OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) + public static extern void NormalPointer(OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointer((OpenTK.Graphics.ES11.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Define an array of normals @@ -10909,18 +6422,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glNormalPointer")] - public static - void NormalPointer(OpenTK.Graphics.ES11.NormalPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalPointer((OpenTK.Graphics.ES11.NormalPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void NormalPointer(OpenTK.Graphics.ES11.NormalPointerType type, Int32 stride, IntPtr pointer); /// [requires: v1.0] /// Define an array of normals @@ -10941,27 +6443,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glNormalPointer")] - public static - void NormalPointer(OpenTK.Graphics.ES11.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) + public static extern void NormalPointer(OpenTK.Graphics.ES11.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointer((OpenTK.Graphics.ES11.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Define an array of normals @@ -10982,27 +6466,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glNormalPointer")] - public static - void NormalPointer(OpenTK.Graphics.ES11.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) + public static extern void NormalPointer(OpenTK.Graphics.ES11.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointer((OpenTK.Graphics.ES11.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Define an array of normals @@ -11023,27 +6489,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glNormalPointer")] - public static - void NormalPointer(OpenTK.Graphics.ES11.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) + public static extern void NormalPointer(OpenTK.Graphics.ES11.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointer((OpenTK.Graphics.ES11.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Define an array of normals @@ -11064,28 +6512,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glNormalPointer")] - public static - void NormalPointer(OpenTK.Graphics.ES11.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) + public static extern void NormalPointer(OpenTK.Graphics.ES11.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointer((OpenTK.Graphics.ES11.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Multiply the current matrix with an orthographic matrix @@ -11106,91 +6535,24 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glOrthof")] - public static - void Ortho(Single l, Single r, Single b, Single t, Single n, Single f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glOrthof((Single)l, (Single)r, (Single)b, (Single)t, (Single)n, (Single)f); - #if DEBUG - } - #endif - } + public static extern void Ortho(Single l, Single r, Single b, Single t, Single n, Single f); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glOrthox")] - public static - void Orthox(int l, int r, int b, int t, int n, int f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glOrthox((int)l, (int)r, (int)b, (int)t, (int)n, (int)f); - #if DEBUG - } - #endif - } + public static extern void Orthox(int l, int r, int b, int t, int n, int f); /// [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPixelMapx")] - public static - void PixelMapx(OpenTK.Graphics.ES11.All map, Int32 size, int[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* values_ptr = values) - { - Delegates.glPixelMapx((OpenTK.Graphics.ES11.All)map, (Int32)size, (int*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PixelMapx(OpenTK.Graphics.ES11.All map, Int32 size, int[] values); /// [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPixelMapx")] - public static - void PixelMapx(OpenTK.Graphics.ES11.All map, Int32 size, ref int values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* values_ptr = &values) - { - Delegates.glPixelMapx((OpenTK.Graphics.ES11.All)map, (Int32)size, (int*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PixelMapx(OpenTK.Graphics.ES11.All map, Int32 size, ref int values); /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPixelMapx")] - public static - unsafe void PixelMapx(OpenTK.Graphics.ES11.All map, Int32 size, int* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelMapx((OpenTK.Graphics.ES11.All)map, (Int32)size, (int*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void PixelMapx(OpenTK.Graphics.ES11.All map, Int32 size, int* values); /// [requires: v1.0] /// Set pixel storage modes @@ -11207,18 +6569,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPixelStorei")] - public static - void PixelStore(OpenTK.Graphics.ES11.All pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelStorei((OpenTK.Graphics.ES11.PixelStoreParameter)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void PixelStore(OpenTK.Graphics.ES11.All pname, Int32 param); /// [requires: v1.0] /// Set pixel storage modes @@ -11234,33 +6585,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPixelStorei")] - public static - void PixelStore(OpenTK.Graphics.ES11.PixelStoreParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelStorei((OpenTK.Graphics.ES11.PixelStoreParameter)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void PixelStore(OpenTK.Graphics.ES11.PixelStoreParameter pname, Int32 param); /// [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPixelStorex")] - public static - void PixelStorex(OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelStorex((OpenTK.Graphics.ES11.All)pname, (int)param); - #if DEBUG - } - #endif - } + public static extern void PixelStorex(OpenTK.Graphics.ES11.All pname, int param); /// [requires: v1.0] /// Specify point parameters @@ -11281,18 +6610,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPointParameterf")] - public static - void PointParameter(OpenTK.Graphics.ES11.All pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameterf((OpenTK.Graphics.ES11.All)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void PointParameter(OpenTK.Graphics.ES11.All pname, Single param); /// [requires: v1.0] /// Specify point parameters @@ -11313,24 +6631,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPointParameterfv")] - public static - void PointParameter(OpenTK.Graphics.ES11.All pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glPointParameterfv((OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PointParameter(OpenTK.Graphics.ES11.All pname, Single[] @params); /// [requires: v1.0] /// Specify point parameters @@ -11352,70 +6653,20 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPointParameterfv")] - public static - unsafe void PointParameter(OpenTK.Graphics.ES11.All pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameterfv((OpenTK.Graphics.ES11.All)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void PointParameter(OpenTK.Graphics.ES11.All pname, Single* @params); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPointParameterx")] - public static - void PointParameterx(OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameterx((OpenTK.Graphics.ES11.All)pname, (int)param); - #if DEBUG - } - #endif - } + public static extern void PointParameterx(OpenTK.Graphics.ES11.All pname, int param); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPointParameterxv")] - public static - void PointParameterx(OpenTK.Graphics.ES11.All pname, int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glPointParameterxv((OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PointParameterx(OpenTK.Graphics.ES11.All pname, int[] @params); /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPointParameterxv")] - public static - unsafe void PointParameterx(OpenTK.Graphics.ES11.All pname, int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameterxv((OpenTK.Graphics.ES11.All)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void PointParameterx(OpenTK.Graphics.ES11.All pname, int* @params); /// [requires: v1.0] /// Specify the diameter of rasterized points @@ -11426,33 +6677,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPointSize")] - public static - void PointSize(Single size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointSize((Single)size); - #if DEBUG - } - #endif - } + public static extern void PointSize(Single size); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPointSizex")] - public static - void PointSizex(int size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointSizex((int)size); - #if DEBUG - } - #endif - } + public static extern void PointSizex(int size); /// [requires: v1.0] /// Set the scale and units used to calculate depth values @@ -11468,65 +6697,21 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPolygonOffset")] - public static - void PolygonOffset(Single factor, Single units) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPolygonOffset((Single)factor, (Single)units); - #if DEBUG - } - #endif - } + public static extern void PolygonOffset(Single factor, Single units); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPolygonOffsetx")] - public static - void PolygonOffsetx(int factor, int units) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPolygonOffsetx((int)factor, (int)units); - #if DEBUG - } - #endif - } + public static extern void PolygonOffsetx(int factor, int units); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPopMatrix")] - public static - void PopMatrix() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPopMatrix(); - #if DEBUG - } - #endif - } + public static extern void PopMatrix(); /// [requires: v1.0] /// Push and pop the current matrix stack /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPushMatrix")] - public static - void PushMatrix() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPushMatrix(); - #if DEBUG - } - #endif - } + public static extern void PushMatrix(); /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -11558,18 +6743,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [OutAttribute] IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [OutAttribute] IntPtr pixels); /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -11601,27 +6775,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T6[] pixels) + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T6[] pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -11653,27 +6809,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T6[,] pixels) + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T6[,] pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -11705,27 +6843,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T6[,,] pixels) + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T6[,,] pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -11757,28 +6877,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] ref T6 pixels) + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] ref T6 pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T6)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -11809,18 +6910,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [OutAttribute] IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [OutAttribute] IntPtr pixels); /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -11851,27 +6941,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] T6[] pixels) + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] T6[] pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -11902,27 +6974,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] T6[,] pixels) + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] T6[,] pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -11953,27 +7007,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] T6[,,] pixels) + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] T6[,,] pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -12004,28 +7040,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] ref T6 pixels) + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] ref T6 pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T6)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Multiply the current matrix by a rotation matrix @@ -12041,33 +7058,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glRotatef")] - public static - void Rotate(Single angle, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRotatef((Single)angle, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void Rotate(Single angle, Single x, Single y, Single z); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glRotatex")] - public static - void Rotatex(int angle, int x, int y, int z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRotatex((int)angle, (int)x, (int)y, (int)z); - #if DEBUG - } - #endif - } + public static extern void Rotatex(int angle, int x, int y, int z); /// [requires: v1.0] /// Specify multisample coverage parameters @@ -12083,33 +7078,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glSampleCoverage")] - public static - void SampleCoverage(Single value, bool invert) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSampleCoverage((Single)value, (bool)invert); - #if DEBUG - } - #endif - } + public static extern void SampleCoverage(Single value, bool invert); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glSampleCoveragex")] - public static - void SampleCoveragex(int value, bool invert) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSampleCoveragex((int)value, (bool)invert); - #if DEBUG - } - #endif - } + public static extern void SampleCoveragex(int value, bool invert); /// [requires: v1.0] /// Multiply the current matrix by a general scaling matrix @@ -12120,33 +7093,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glScalef")] - public static - void Scale(Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glScalef((Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void Scale(Single x, Single y, Single z); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glScalex")] - public static - void Scalex(int x, int y, int z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glScalex((int)x, (int)y, (int)z); - #if DEBUG - } - #endif - } + public static extern void Scalex(int x, int y, int z); /// [requires: v1.0] /// Define the scissor box @@ -12162,18 +7113,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glScissor")] - public static - void Scissor(Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glScissor((Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void Scissor(Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v1.0] /// Select flat or smooth shading @@ -12185,18 +7125,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glShadeModel")] - public static - void ShadeModel(OpenTK.Graphics.ES11.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShadeModel((OpenTK.Graphics.ES11.ShadingModel)mode); - #if DEBUG - } - #endif - } + public static extern void ShadeModel(OpenTK.Graphics.ES11.All mode); /// [requires: v1.0] /// Select flat or smooth shading @@ -12207,18 +7136,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glShadeModel")] - public static - void ShadeModel(OpenTK.Graphics.ES11.ShadingModel mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShadeModel((OpenTK.Graphics.ES11.ShadingModel)mode); - #if DEBUG - } - #endif - } + public static extern void ShadeModel(OpenTK.Graphics.ES11.ShadingModel mode); /// [requires: v1.0] /// Set front and back function and reference value for stencil testing @@ -12240,18 +7158,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glStencilFunc")] - public static - void StencilFunc(OpenTK.Graphics.ES11.All func, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFunc((OpenTK.Graphics.ES11.StencilFunction)func, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilFunc(OpenTK.Graphics.ES11.All func, Int32 @ref, Int32 mask); /// [requires: v1.0] /// Set front and back function and reference value for stencil testing @@ -12274,18 +7181,7 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glStencilFunc")] - public static - void StencilFunc(OpenTK.Graphics.ES11.All func, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFunc((OpenTK.Graphics.ES11.StencilFunction)func, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilFunc(OpenTK.Graphics.ES11.All func, Int32 @ref, UInt32 mask); /// [requires: v1.0] /// Set front and back function and reference value for stencil testing @@ -12306,18 +7202,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glStencilFunc")] - public static - void StencilFunc(OpenTK.Graphics.ES11.StencilFunction func, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFunc((OpenTK.Graphics.ES11.StencilFunction)func, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilFunc(OpenTK.Graphics.ES11.StencilFunction func, Int32 @ref, Int32 mask); /// [requires: v1.0] /// Set front and back function and reference value for stencil testing @@ -12339,18 +7224,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glStencilFunc")] - public static - void StencilFunc(OpenTK.Graphics.ES11.StencilFunction func, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFunc((OpenTK.Graphics.ES11.StencilFunction)func, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilFunc(OpenTK.Graphics.ES11.StencilFunction func, Int32 @ref, UInt32 mask); /// [requires: v1.0] /// Control the front and back writing of individual bits in the stencil planes @@ -12361,18 +7235,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glStencilMask")] - public static - void StencilMask(Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilMask((UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilMask(Int32 mask); /// [requires: v1.0] /// Control the front and back writing of individual bits in the stencil planes @@ -12384,18 +7247,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glStencilMask")] - public static - void StencilMask(UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilMask((UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilMask(UInt32 mask); /// [requires: v1.0] /// Set front and back stencil test actions @@ -12417,18 +7269,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glStencilOp")] - public static - void StencilOp(OpenTK.Graphics.ES11.All fail, OpenTK.Graphics.ES11.All zfail, OpenTK.Graphics.ES11.All zpass) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilOp((OpenTK.Graphics.ES11.StencilOp)fail, (OpenTK.Graphics.ES11.StencilOp)zfail, (OpenTK.Graphics.ES11.StencilOp)zpass); - #if DEBUG - } - #endif - } + public static extern void StencilOp(OpenTK.Graphics.ES11.All fail, OpenTK.Graphics.ES11.All zfail, OpenTK.Graphics.ES11.All zpass); /// [requires: v1.0] /// Set front and back stencil test actions @@ -12449,18 +7290,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glStencilOp")] - public static - void StencilOp(OpenTK.Graphics.ES11.StencilOp fail, OpenTK.Graphics.ES11.StencilOp zfail, OpenTK.Graphics.ES11.StencilOp zpass) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilOp((OpenTK.Graphics.ES11.StencilOp)fail, (OpenTK.Graphics.ES11.StencilOp)zfail, (OpenTK.Graphics.ES11.StencilOp)zpass); - #if DEBUG - } - #endif - } + public static extern void StencilOp(OpenTK.Graphics.ES11.StencilOp fail, OpenTK.Graphics.ES11.StencilOp zfail, OpenTK.Graphics.ES11.StencilOp zpass); /// [requires: v1.0] /// Define an array of texture coordinates @@ -12487,18 +7317,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexCoordPointer")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES11.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer); /// [requires: v1.0] /// Define an array of texture coordinates @@ -12525,27 +7344,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexCoordPointer")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) + public static extern void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES11.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Define an array of texture coordinates @@ -12572,27 +7373,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexCoordPointer")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) + public static extern void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES11.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Define an array of texture coordinates @@ -12619,27 +7402,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexCoordPointer")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) + public static extern void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES11.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Define an array of texture coordinates @@ -12666,28 +7431,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexCoordPointer")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) + public static extern void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES11.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Define an array of texture coordinates @@ -12713,18 +7459,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexCoordPointer")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.TexCoordPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES11.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.TexCoordPointerType type, Int32 stride, IntPtr pointer); /// [requires: v1.0] /// Define an array of texture coordinates @@ -12750,27 +7485,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexCoordPointer")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) + public static extern void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES11.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Define an array of texture coordinates @@ -12796,27 +7513,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexCoordPointer")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) + public static extern void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES11.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Define an array of texture coordinates @@ -12842,27 +7541,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexCoordPointer")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) + public static extern void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES11.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Define an array of texture coordinates @@ -12888,28 +7569,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexCoordPointer")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) + public static extern void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES11.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Set texture environment parameters @@ -12931,18 +7593,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnvf")] - public static - void TexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexEnvf((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void TexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single param); /// [requires: v1.0] /// Set texture environment parameters @@ -12963,18 +7614,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnvf")] - public static - void TexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexEnvf((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void TexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Single param); /// [requires: v1.0] /// Set texture environment parameters @@ -12996,24 +7636,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnvfv")] - public static - void TexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glTexEnvfv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single[] @params); /// [requires: v1.0] /// Set texture environment parameters @@ -13036,18 +7659,7 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnvfv")] - public static - unsafe void TexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexEnvfv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single* @params); /// [requires: v1.0] /// Set texture environment parameters @@ -13068,24 +7680,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnvfv")] - public static - void TexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glTexEnvfv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Single[] @params); /// [requires: v1.0] /// Set texture environment parameters @@ -13107,18 +7702,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnvfv")] - public static - unsafe void TexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexEnvfv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Single* @params); /// [requires: v1.0] /// Set texture environment parameters @@ -13140,18 +7724,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnvi")] - public static - void TexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexEnvi((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void TexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32 param); /// [requires: v1.0] /// Set texture environment parameters @@ -13172,18 +7745,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnvi")] - public static - void TexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexEnvi((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void TexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Int32 param); /// [requires: v1.0] /// Set texture environment parameters @@ -13205,24 +7767,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnviv")] - public static - void TexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glTexEnviv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32[] @params); /// [requires: v1.0] /// Set texture environment parameters @@ -13245,18 +7790,7 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnviv")] - public static - unsafe void TexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexEnviv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params); /// [requires: v1.0] /// Set texture environment parameters @@ -13277,24 +7811,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnviv")] - public static - void TexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glTexEnviv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Int32[] @params); /// [requires: v1.0] /// Set texture environment parameters @@ -13316,70 +7833,20 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnviv")] - public static - unsafe void TexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexEnviv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Int32* @params); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnvx")] - public static - void TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexEnvx((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int)param); - #if DEBUG - } - #endif - } + public static extern void TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnvxv")] - public static - void TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glTexEnvxv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int[] @params); /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnvxv")] - public static - unsafe void TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexEnvxv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params); /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -13431,18 +7898,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, IntPtr pixels); /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -13494,27 +7950,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T8[] pixels) + public static extern void TexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T8[] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -13566,27 +8004,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T8[,] pixels) + public static extern void TexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T8[,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -13638,27 +8058,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T8[,,] pixels) + public static extern void TexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T8[,,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -13710,28 +8112,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] ref T8 pixels) + public static extern void TexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] ref T8 pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T8)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -13782,18 +8165,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, IntPtr pixels); /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -13844,27 +8216,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] T8[] pixels) + public static extern void TexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] T8[] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -13915,27 +8269,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) + public static extern void TexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -13986,27 +8322,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) + public static extern void TexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -14057,28 +8375,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) + public static extern void TexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T8)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Set texture parameters @@ -14108,18 +8407,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameterf")] - public static - void TexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterf((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void TexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single param); /// [requires: v1.0] /// Set texture parameters @@ -14148,18 +8436,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameterf")] - public static - void TexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterf((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void TexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Single param); /// [requires: v1.0] /// Set texture parameters @@ -14189,24 +8466,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameterfv")] - public static - void TexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glTexParameterfv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single[] @params); /// [requires: v1.0] /// Set texture parameters @@ -14237,18 +8497,7 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameterfv")] - public static - unsafe void TexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterfv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single* @params); /// [requires: v1.0] /// Set texture parameters @@ -14277,24 +8526,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameterfv")] - public static - void TexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glTexParameterfv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Single[] @params); /// [requires: v1.0] /// Set texture parameters @@ -14324,18 +8556,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameterfv")] - public static - unsafe void TexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterfv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Single* @params); /// [requires: v1.0] /// Set texture parameters @@ -14365,18 +8586,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameteri")] - public static - void TexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameteri((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void TexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32 param); /// [requires: v1.0] /// Set texture parameters @@ -14405,18 +8615,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameteri")] - public static - void TexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameteri((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void TexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Int32 param); /// [requires: v1.0] /// Set texture parameters @@ -14446,24 +8645,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameteriv")] - public static - void TexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glTexParameteriv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32[] @params); /// [requires: v1.0] /// Set texture parameters @@ -14494,18 +8676,7 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameteriv")] - public static - unsafe void TexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameteriv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params); /// [requires: v1.0] /// Set texture parameters @@ -14534,24 +8705,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameteriv")] - public static - void TexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glTexParameteriv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Int32[] @params); /// [requires: v1.0] /// Set texture parameters @@ -14581,70 +8735,20 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameteriv")] - public static - unsafe void TexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameteriv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Int32* @params); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameterx")] - public static - void TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterx((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int)param); - #if DEBUG - } - #endif - } + public static extern void TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameterxv")] - public static - void TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glTexParameterxv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int[] @params); /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameterxv")] - public static - unsafe void TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterxv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params); /// [requires: v1.0] /// Specify a two-dimensional texture subimage @@ -14696,18 +8800,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, IntPtr pixels); /// [requires: v1.0] /// Specify a two-dimensional texture subimage @@ -14759,27 +8852,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T8[] pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T8[] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture subimage @@ -14831,27 +8906,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T8[,] pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T8[,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture subimage @@ -14903,27 +8960,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T8[,,] pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T8[,,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture subimage @@ -14975,28 +9014,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] ref T8 pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] ref T8 pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T8)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture subimage @@ -15047,18 +9067,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, IntPtr pixels); /// [requires: v1.0] /// Specify a two-dimensional texture subimage @@ -15109,27 +9118,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] T8[] pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] T8[] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture subimage @@ -15180,27 +9171,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture subimage @@ -15251,27 +9224,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture subimage @@ -15322,28 +9277,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T8)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Multiply the current matrix by a translation matrix @@ -15354,33 +9290,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTranslatef")] - public static - void Translate(Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTranslatef((Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void Translate(Single x, Single y, Single z); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTranslatex")] - public static - void Translatex(int x, int y, int z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTranslatex((int)x, (int)y, (int)z); - #if DEBUG - } - #endif - } + public static extern void Translatex(int x, int y, int z); /// [requires: v1.0] /// Define an array of vertex data @@ -15407,18 +9321,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glVertexPointer")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES11.VertexPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer); /// [requires: v1.0] /// Define an array of vertex data @@ -15445,27 +9348,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glVertexPointer")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) + public static extern void VertexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES11.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Define an array of vertex data @@ -15492,27 +9377,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glVertexPointer")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) + public static extern void VertexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES11.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Define an array of vertex data @@ -15539,27 +9406,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glVertexPointer")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) + public static extern void VertexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES11.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Define an array of vertex data @@ -15586,28 +9435,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glVertexPointer")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) + public static extern void VertexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES11.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Define an array of vertex data @@ -15633,18 +9463,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glVertexPointer")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.ES11.VertexPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES11.VertexPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexPointer(Int32 size, OpenTK.Graphics.ES11.VertexPointerType type, Int32 stride, IntPtr pointer); /// [requires: v1.0] /// Define an array of vertex data @@ -15670,27 +9489,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glVertexPointer")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.ES11.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) + public static extern void VertexPointer(Int32 size, OpenTK.Graphics.ES11.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES11.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Define an array of vertex data @@ -15716,27 +9517,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glVertexPointer")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.ES11.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) + public static extern void VertexPointer(Int32 size, OpenTK.Graphics.ES11.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES11.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Define an array of vertex data @@ -15762,27 +9545,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glVertexPointer")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.ES11.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) + public static extern void VertexPointer(Int32 size, OpenTK.Graphics.ES11.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES11.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Define an array of vertex data @@ -15808,28 +9573,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glVertexPointer")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.ES11.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) + public static extern void VertexPointer(Int32 size, OpenTK.Graphics.ES11.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES11.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Set the viewport @@ -15845,18 +9591,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glViewport")] - public static - void Viewport(Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glViewport((Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void Viewport(Int32 x, Int32 y, Int32 width, Int32 height); public static partial class Ext { @@ -15875,18 +9610,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_blend_minmax", Version = "", EntryPoint = "glBlendEquationEXT")] - public static - void BlendEquation(OpenTK.Graphics.ES11.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationEXT((OpenTK.Graphics.ES11.BlendEquationModeExt)mode); - #if DEBUG - } - #endif - } + public static extern void BlendEquation(OpenTK.Graphics.ES11.All mode); /// [requires: EXT_blend_minmax] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -15902,76 +9626,20 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_blend_minmax", Version = "", EntryPoint = "glBlendEquationEXT")] - public static - void BlendEquation(OpenTK.Graphics.ES11.BlendEquationModeExt mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationEXT((OpenTK.Graphics.ES11.BlendEquationModeExt)mode); - #if DEBUG - } - #endif - } + public static extern void BlendEquation(OpenTK.Graphics.ES11.BlendEquationModeExt mode); /// [requires: EXT_discard_framebuffer] [AutoGenerated(Category = "EXT_discard_framebuffer", Version = "", EntryPoint = "glDiscardFramebufferEXT")] - public static - void DiscardFramebuffer(OpenTK.Graphics.ES11.All target, Int32 numAttachments, OpenTK.Graphics.ES11.All[] attachments) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES11.All* attachments_ptr = attachments) - { - Delegates.glDiscardFramebufferEXT((OpenTK.Graphics.ES11.All)target, (Int32)numAttachments, (OpenTK.Graphics.ES11.All*)attachments_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DiscardFramebuffer(OpenTK.Graphics.ES11.All target, Int32 numAttachments, OpenTK.Graphics.ES11.All[] attachments); /// [requires: EXT_discard_framebuffer] [AutoGenerated(Category = "EXT_discard_framebuffer", Version = "", EntryPoint = "glDiscardFramebufferEXT")] - public static - void DiscardFramebuffer(OpenTK.Graphics.ES11.All target, Int32 numAttachments, ref OpenTK.Graphics.ES11.All attachments) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES11.All* attachments_ptr = &attachments) - { - Delegates.glDiscardFramebufferEXT((OpenTK.Graphics.ES11.All)target, (Int32)numAttachments, (OpenTK.Graphics.ES11.All*)attachments_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DiscardFramebuffer(OpenTK.Graphics.ES11.All target, Int32 numAttachments, ref OpenTK.Graphics.ES11.All attachments); /// [requires: EXT_discard_framebuffer] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_discard_framebuffer", Version = "", EntryPoint = "glDiscardFramebufferEXT")] - public static - unsafe void DiscardFramebuffer(OpenTK.Graphics.ES11.All target, Int32 numAttachments, OpenTK.Graphics.ES11.All* attachments) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDiscardFramebufferEXT((OpenTK.Graphics.ES11.All)target, (Int32)numAttachments, (OpenTK.Graphics.ES11.All*)attachments); - #if DEBUG - } - #endif - } + public static extern unsafe void DiscardFramebuffer(OpenTK.Graphics.ES11.All target, Int32 numAttachments, OpenTK.Graphics.ES11.All* attachments); /// [requires: EXT_map_buffer_range] /// Indicate modifications to a range of a mapped buffer @@ -15992,304 +9660,76 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glFlushMappedBufferRangeEXT")] - public static - void FlushMappedBufferRange(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFlushMappedBufferRangeEXT((OpenTK.Graphics.ES11.All)target, (IntPtr)offset, (IntPtr)length); - #if DEBUG - } - #endif - } + public static extern void FlushMappedBufferRange(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr length); /// [requires: EXT_multisampled_render_to_texture] [AutoGenerated(Category = "EXT_multisampled_render_to_texture", Version = "", EntryPoint = "glFramebufferTexture2DMultisampleEXT")] - public static - void FramebufferTexture2DMultisample(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All textarget, Int32 texture, Int32 level, Int32 samples) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2DMultisampleEXT((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture2DMultisample(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All textarget, Int32 texture, Int32 level, Int32 samples); /// [requires: EXT_multisampled_render_to_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multisampled_render_to_texture", Version = "", EntryPoint = "glFramebufferTexture2DMultisampleEXT")] - public static - void FramebufferTexture2DMultisample(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All textarget, UInt32 texture, Int32 level, Int32 samples) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2DMultisampleEXT((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture2DMultisample(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All textarget, UInt32 texture, Int32 level, Int32 samples); /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetGraphicsResetStatusEXT")] - public static - OpenTK.Graphics.ES11.All GetGraphicsResetStatus() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetGraphicsResetStatusEXT(); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.ES11.All GetGraphicsResetStatus(); /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static - void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetnUniformfvEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Single[] @params); /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static - void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetnUniformfvEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] out Single @params); /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static - unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnUniformfvEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params); /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static - void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetnUniformfvEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single[] @params); /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static - void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetnUniformfvEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] out Single @params); /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static - unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnUniformfvEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params); /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static - void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetnUniformivEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32[] @params); /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static - void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetnUniformivEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] out Int32 @params); /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static - unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnUniformivEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params); /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static - void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetnUniformivEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32[] @params); /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static - void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetnUniformivEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] out Int32 @params); /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static - unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnUniformivEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params); /// [requires: EXT_map_buffer_range] /// Map a section of a buffer object's data store @@ -16315,18 +9755,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glMapBufferRangeEXT")] - public static - IntPtr MapBufferRange(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr length, Int32 access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glMapBufferRangeEXT((OpenTK.Graphics.ES11.All)target, (IntPtr)offset, (IntPtr)length, (UInt32)access); - #if DEBUG - } - #endif - } + public static extern IntPtr MapBufferRange(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr length, Int32 access); /// [requires: EXT_map_buffer_range] /// Map a section of a buffer object's data store @@ -16353,18 +9782,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glMapBufferRangeEXT")] - public static - IntPtr MapBufferRange(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr length, UInt32 access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glMapBufferRangeEXT((OpenTK.Graphics.ES11.All)target, (IntPtr)offset, (IntPtr)length, (UInt32)access); - #if DEBUG - } - #endif - } + public static extern IntPtr MapBufferRange(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr length, UInt32 access); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -16391,25 +9809,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static - void MultiDrawArrays(OpenTK.Graphics.ES11.All mode, Int32[] first, Int32[] count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = first) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawArrays(OpenTK.Graphics.ES11.All mode, Int32[] first, Int32[] count, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -16436,25 +9836,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static - void MultiDrawArrays(OpenTK.Graphics.ES11.All mode, ref Int32 first, ref Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = &first) - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawArrays(OpenTK.Graphics.ES11.All mode, ref Int32 first, ref Int32 count, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -16482,18 +9864,7 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static - unsafe void MultiDrawArrays(OpenTK.Graphics.ES11.All mode, Int32* first, Int32* count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)first, (Int32*)count, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiDrawArrays(OpenTK.Graphics.ES11.All mode, Int32* first, Int32* count, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -16519,25 +9890,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static - void MultiDrawArrays(OpenTK.Graphics.ES11.PrimitiveType mode, Int32[] first, Int32[] count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = first) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawArrays(OpenTK.Graphics.ES11.PrimitiveType mode, Int32[] first, Int32[] count, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -16563,25 +9916,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static - void MultiDrawArrays(OpenTK.Graphics.ES11.PrimitiveType mode, ref Int32 first, ref Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = &first) - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawArrays(OpenTK.Graphics.ES11.PrimitiveType mode, ref Int32 first, ref Int32 count, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -16608,18 +9943,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static - unsafe void MultiDrawArrays(OpenTK.Graphics.ES11.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)first, (Int32*)count, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiDrawArrays(OpenTK.Graphics.ES11.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -16651,24 +9975,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES11.All mode, Int32[] count, OpenTK.Graphics.ES11.All type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawElements(OpenTK.Graphics.ES11.All mode, Int32[] count, OpenTK.Graphics.ES11.All type, IntPtr indices, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -16700,33 +10007,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES11.All mode, Int32[] count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES11.All mode, Int32[] count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -16758,33 +10041,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES11.All mode, Int32[] count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES11.All mode, Int32[] count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -16816,33 +10075,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES11.All mode, Int32[] count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES11.All mode, Int32[] count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -16874,34 +10109,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES11.All mode, Int32[] count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES11.All mode, Int32[] count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -16933,24 +10143,7 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES11.All mode, ref Int32 count, OpenTK.Graphics.ES11.All type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawElements(OpenTK.Graphics.ES11.All mode, ref Int32 count, OpenTK.Graphics.ES11.All type, IntPtr indices, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -16982,33 +10175,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES11.All mode, ref Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES11.All mode, ref Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -17040,33 +10209,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES11.All mode, ref Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES11.All mode, ref Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -17098,33 +10243,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES11.All mode, ref Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES11.All mode, ref Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -17156,34 +10277,9 @@ namespace OpenTK.Graphics.ES11 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES11.All mode, ref Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES11.All mode, ref Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -17216,18 +10312,7 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.ES11.All mode, Int32* count, OpenTK.Graphics.ES11.All type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.ES11.All mode, Int32* count, OpenTK.Graphics.ES11.All type, IntPtr indices, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -17260,27 +10345,9 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.ES11.All mode, Int32* count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.ES11.All mode, Int32* count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -17313,27 +10380,9 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.ES11.All mode, Int32* count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.ES11.All mode, Int32* count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -17366,27 +10415,9 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.ES11.All mode, Int32* count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.ES11.All mode, Int32* count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -17419,28 +10450,9 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.ES11.All mode, Int32* count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.ES11.All mode, Int32* count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -17471,24 +10483,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES11.All type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES11.All type, IntPtr indices, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -17519,33 +10514,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -17576,33 +10547,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -17633,33 +10580,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -17690,34 +10613,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -17748,24 +10646,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES11.All type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES11.All type, IntPtr indices, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -17796,33 +10677,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -17853,33 +10710,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -17910,33 +10743,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -17967,34 +10776,9 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -18026,18 +10810,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES11.All type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES11.All type, IntPtr indices, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -18069,27 +10842,9 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -18121,27 +10876,9 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -18173,27 +10910,9 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -18225,140 +10944,37 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")] - public static - void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, Int32 bufSize, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReadnPixelsEXT((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (Int32)bufSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, Int32 bufSize, [OutAttribute] IntPtr data); /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")] - public static - void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, Int32 bufSize, [InAttribute, OutAttribute] T7[] data) + public static extern void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, Int32 bufSize, [InAttribute, OutAttribute] T7[] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glReadnPixelsEXT((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")] - public static - void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, Int32 bufSize, [InAttribute, OutAttribute] T7[,] data) + public static extern void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, Int32 bufSize, [InAttribute, OutAttribute] T7[,] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glReadnPixelsEXT((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")] - public static - void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, Int32 bufSize, [InAttribute, OutAttribute] T7[,,] data) + public static extern void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, Int32 bufSize, [InAttribute, OutAttribute] T7[,,] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glReadnPixelsEXT((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")] - public static - void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, Int32 bufSize, [InAttribute, OutAttribute] ref T7 data) + public static extern void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, Int32 bufSize, [InAttribute, OutAttribute] ref T7 data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glReadnPixelsEXT((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T7)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multisampled_render_to_texture] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -18389,18 +11005,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_multisampled_render_to_texture", Version = "", EntryPoint = "glRenderbufferStorageMultisampleEXT")] - public static - void RenderbufferStorageMultisample(OpenTK.Graphics.ES11.All target, Int32 samples, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageMultisampleEXT((OpenTK.Graphics.ES11.All)target, (Int32)samples, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorageMultisample(OpenTK.Graphics.ES11.All target, Int32 samples, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height); /// [requires: EXT_texture_storage] /// Simultaneously specify storage for all levels of a one-dimensional texture @@ -18426,18 +11031,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTexStorage1DEXT")] - public static - void TexStorage1D(OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexStorage1DEXT((OpenTK.Graphics.ES11.All)target, (Int32)levels, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width); - #if DEBUG - } - #endif - } + public static extern void TexStorage1D(OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width); /// [requires: EXT_texture_storage] /// Simultaneously specify storage for all levels of a two-dimensional or one-dimensional array texture @@ -18468,18 +11062,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTexStorage2DEXT")] - public static - void TexStorage2D(OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexStorage2DEXT((OpenTK.Graphics.ES11.All)target, (Int32)levels, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void TexStorage2D(OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height); /// [requires: EXT_texture_storage] /// Simultaneously specify storage for all levels of a three-dimensional, two-dimensional array or cube-map array texture @@ -18515,111 +11098,34 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTexStorage3DEXT")] - public static - void TexStorage3D(OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexStorage3DEXT((OpenTK.Graphics.ES11.All)target, (Int32)levels, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)depth); - #if DEBUG - } - #endif - } + public static extern void TexStorage3D(OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 depth); /// [requires: EXT_texture_storage] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage1DEXT")] - public static - void TextureStorage1D(Int32 texture, OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureStorage1DEXT((UInt32)texture, (OpenTK.Graphics.ES11.All)target, (Int32)levels, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width); - #if DEBUG - } - #endif - } + public static extern void TextureStorage1D(Int32 texture, OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width); /// [requires: EXT_texture_storage] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage1DEXT")] - public static - void TextureStorage1D(UInt32 texture, OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureStorage1DEXT((UInt32)texture, (OpenTK.Graphics.ES11.All)target, (Int32)levels, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width); - #if DEBUG - } - #endif - } + public static extern void TextureStorage1D(UInt32 texture, OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width); /// [requires: EXT_texture_storage] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage2DEXT")] - public static - void TextureStorage2D(Int32 texture, OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureStorage2DEXT((UInt32)texture, (OpenTK.Graphics.ES11.All)target, (Int32)levels, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void TextureStorage2D(Int32 texture, OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height); /// [requires: EXT_texture_storage] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage2DEXT")] - public static - void TextureStorage2D(UInt32 texture, OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureStorage2DEXT((UInt32)texture, (OpenTK.Graphics.ES11.All)target, (Int32)levels, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void TextureStorage2D(UInt32 texture, OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height); /// [requires: EXT_texture_storage] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage3DEXT")] - public static - void TextureStorage3D(Int32 texture, OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureStorage3DEXT((UInt32)texture, (OpenTK.Graphics.ES11.All)target, (Int32)levels, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)depth); - #if DEBUG - } - #endif - } + public static extern void TextureStorage3D(Int32 texture, OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 depth); /// [requires: EXT_texture_storage] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage3DEXT")] - public static - void TextureStorage3D(UInt32 texture, OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureStorage3DEXT((UInt32)texture, (OpenTK.Graphics.ES11.All)target, (Int32)levels, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)depth); - #if DEBUG - } - #endif - } + public static extern void TextureStorage3D(UInt32 texture, OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 depth); } @@ -18639,24 +11145,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "IMG_user_clip_plane", Version = "", EntryPoint = "glClipPlanefIMG")] - public static - void ClipPlane(OpenTK.Graphics.ES11.All p, Single[] eqn) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* eqn_ptr = eqn) - { - Delegates.glClipPlanefIMG((OpenTK.Graphics.ES11.All)p, (Single*)eqn_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClipPlane(OpenTK.Graphics.ES11.All p, Single[] eqn); /// [requires: IMG_user_clip_plane] /// Specify a plane against which all geometry is clipped @@ -18672,24 +11161,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "IMG_user_clip_plane", Version = "", EntryPoint = "glClipPlanefIMG")] - public static - void ClipPlane(OpenTK.Graphics.ES11.All p, ref Single eqn) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* eqn_ptr = &eqn) - { - Delegates.glClipPlanefIMG((OpenTK.Graphics.ES11.All)p, (Single*)eqn_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClipPlane(OpenTK.Graphics.ES11.All p, ref Single eqn); /// [requires: IMG_user_clip_plane] /// Specify a plane against which all geometry is clipped @@ -18706,107 +11178,29 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "IMG_user_clip_plane", Version = "", EntryPoint = "glClipPlanefIMG")] - public static - unsafe void ClipPlane(OpenTK.Graphics.ES11.All p, Single* eqn) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClipPlanefIMG((OpenTK.Graphics.ES11.All)p, (Single*)eqn); - #if DEBUG - } - #endif - } + public static extern unsafe void ClipPlane(OpenTK.Graphics.ES11.All p, Single* eqn); /// [requires: IMG_user_clip_plane] [AutoGenerated(Category = "IMG_user_clip_plane", Version = "", EntryPoint = "glClipPlanexIMG")] - public static - void ClipPlanex(OpenTK.Graphics.ES11.All p, int[] eqn) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* eqn_ptr = eqn) - { - Delegates.glClipPlanexIMG((OpenTK.Graphics.ES11.All)p, (int*)eqn_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClipPlanex(OpenTK.Graphics.ES11.All p, int[] eqn); /// [requires: IMG_user_clip_plane] [AutoGenerated(Category = "IMG_user_clip_plane", Version = "", EntryPoint = "glClipPlanexIMG")] - public static - void ClipPlanex(OpenTK.Graphics.ES11.All p, ref int eqn) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* eqn_ptr = &eqn) - { - Delegates.glClipPlanexIMG((OpenTK.Graphics.ES11.All)p, (int*)eqn_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClipPlanex(OpenTK.Graphics.ES11.All p, ref int eqn); /// [requires: IMG_user_clip_plane] [System.CLSCompliant(false)] [AutoGenerated(Category = "IMG_user_clip_plane", Version = "", EntryPoint = "glClipPlanexIMG")] - public static - unsafe void ClipPlanex(OpenTK.Graphics.ES11.All p, int* eqn) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClipPlanexIMG((OpenTK.Graphics.ES11.All)p, (int*)eqn); - #if DEBUG - } - #endif - } + public static extern unsafe void ClipPlanex(OpenTK.Graphics.ES11.All p, int* eqn); /// [requires: IMG_multisampled_render_to_texture] [AutoGenerated(Category = "IMG_multisampled_render_to_texture", Version = "", EntryPoint = "glFramebufferTexture2DMultisampleIMG")] - public static - void FramebufferTexture2DMultisample(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All textarget, Int32 texture, Int32 level, Int32 samples) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2DMultisampleIMG((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture2DMultisample(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All textarget, Int32 texture, Int32 level, Int32 samples); /// [requires: IMG_multisampled_render_to_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "IMG_multisampled_render_to_texture", Version = "", EntryPoint = "glFramebufferTexture2DMultisampleIMG")] - public static - void FramebufferTexture2DMultisample(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All textarget, UInt32 texture, Int32 level, Int32 samples) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2DMultisampleIMG((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture2DMultisample(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All textarget, UInt32 texture, Int32 level, Int32 samples); /// [requires: IMG_multisampled_render_to_texture] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -18837,18 +11231,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "IMG_multisampled_render_to_texture", Version = "", EntryPoint = "glRenderbufferStorageMultisampleIMG")] - public static - void RenderbufferStorageMultisample(OpenTK.Graphics.ES11.All target, Int32 samples, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageMultisampleIMG((OpenTK.Graphics.ES11.All)target, (Int32)samples, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorageMultisample(OpenTK.Graphics.ES11.All target, Int32 samples, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height); } @@ -18856,548 +11239,136 @@ namespace OpenTK.Graphics.ES11 { /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static - void DeleteFence(Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* fences_ptr = (UInt32*)&fences; - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteFence(Int32 fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static - void DeleteFence(UInt32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* fences_ptr = (UInt32*)&fences; - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteFence(UInt32 fences); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static - void DeleteFences(Int32 n, Int32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = fences) - { - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFences(Int32 n, Int32[] fences); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static - void DeleteFences(Int32 n, ref Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = &fences) - { - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFences(Int32 n, ref Int32 fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static - unsafe void DeleteFences(Int32 n, Int32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteFences(Int32 n, Int32* fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static - void DeleteFences(Int32 n, UInt32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = fences) - { - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFences(Int32 n, UInt32[] fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static - void DeleteFences(Int32 n, ref UInt32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = &fences) - { - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFences(Int32 n, ref UInt32 fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static - unsafe void DeleteFences(Int32 n, UInt32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteFences(Int32 n, UInt32* fences); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glFinishFenceNV")] - public static - void FinishFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFinishFenceNV((UInt32)fence); - #if DEBUG - } - #endif - } + public static extern void FinishFence(Int32 fence); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glFinishFenceNV")] - public static - void FinishFence(UInt32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFinishFenceNV((UInt32)fence); - #if DEBUG - } - #endif - } + public static extern void FinishFence(UInt32 fence); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static - Int32 GenFence() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* fences_ptr = &retval; - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenFence(); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static - void GenFences(Int32 n, [OutAttribute] Int32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = fences) - { - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenFences(Int32 n, [OutAttribute] Int32[] fences); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static - void GenFences(Int32 n, [OutAttribute] out Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = &fences) - { - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); - fences = *fences_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenFences(Int32 n, [OutAttribute] out Int32 fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static - unsafe void GenFences(Int32 n, [OutAttribute] Int32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences); - #if DEBUG - } - #endif - } + public static extern unsafe void GenFences(Int32 n, [OutAttribute] Int32* fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static - void GenFences(Int32 n, [OutAttribute] UInt32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = fences) - { - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenFences(Int32 n, [OutAttribute] UInt32[] fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static - void GenFences(Int32 n, [OutAttribute] out UInt32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = &fences) - { - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); - fences = *fences_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenFences(Int32 n, [OutAttribute] out UInt32 fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static - unsafe void GenFences(Int32 n, [OutAttribute] UInt32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences); - #if DEBUG - } - #endif - } + public static extern unsafe void GenFences(Int32 n, [OutAttribute] UInt32* fences); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static - void GetFence(Int32 fence, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFence(Int32 fence, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32[] @params); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static - void GetFence(Int32 fence, OpenTK.Graphics.ES11.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFence(Int32 fence, OpenTK.Graphics.ES11.All pname, [OutAttribute] out Int32 @params); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static - unsafe void GetFence(Int32 fence, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFence(Int32 fence, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static - void GetFence(UInt32 fence, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFence(UInt32 fence, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32[] @params); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static - void GetFence(UInt32 fence, OpenTK.Graphics.ES11.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFence(UInt32 fence, OpenTK.Graphics.ES11.All pname, [OutAttribute] out Int32 @params); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static - unsafe void GetFence(UInt32 fence, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFence(UInt32 fence, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glIsFenceNV")] - public static - bool IsFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsFenceNV((UInt32)fence); - #if DEBUG - } - #endif - } + public static extern bool IsFence(Int32 fence); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glIsFenceNV")] - public static - bool IsFence(UInt32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsFenceNV((UInt32)fence); - #if DEBUG - } - #endif - } + public static extern bool IsFence(UInt32 fence); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glSetFenceNV")] - public static - void SetFence(Int32 fence, OpenTK.Graphics.ES11.All condition) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.ES11.All)condition); - #if DEBUG - } - #endif - } + public static extern void SetFence(Int32 fence, OpenTK.Graphics.ES11.All condition); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glSetFenceNV")] - public static - void SetFence(UInt32 fence, OpenTK.Graphics.ES11.All condition) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.ES11.All)condition); - #if DEBUG - } - #endif - } + public static extern void SetFence(UInt32 fence, OpenTK.Graphics.ES11.All condition); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glTestFenceNV")] - public static - bool TestFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glTestFenceNV((UInt32)fence); - #if DEBUG - } - #endif - } + public static extern bool TestFence(Int32 fence); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glTestFenceNV")] - public static - bool TestFence(UInt32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glTestFenceNV((UInt32)fence); - #if DEBUG - } - #endif - } + public static extern bool TestFence(UInt32 fence); } @@ -19405,33 +11376,11 @@ namespace OpenTK.Graphics.ES11 { /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glAccumxOES")] - public static - void Accumx(OpenTK.Graphics.ES11.All op, int value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAccumxOES((OpenTK.Graphics.ES11.All)op, (int)value); - #if DEBUG - } - #endif - } + public static extern void Accumx(OpenTK.Graphics.ES11.All op, int value); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glAlphaFuncxOES")] - public static - void AlphaFuncx(OpenTK.Graphics.ES11.All func, int @ref) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAlphaFuncxOES((OpenTK.Graphics.ES11.All)func, (int)@ref); - #if DEBUG - } - #endif - } + public static extern void AlphaFuncx(OpenTK.Graphics.ES11.All func, int @ref); /// [requires: OES_framebuffer_object] /// Bind a framebuffer to a framebuffer target @@ -19447,18 +11396,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glBindFramebufferOES")] - public static - void BindFramebuffer(OpenTK.Graphics.ES11.All target, Int32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFramebufferOES((OpenTK.Graphics.ES11.All)target, (UInt32)framebuffer); - #if DEBUG - } - #endif - } + public static extern void BindFramebuffer(OpenTK.Graphics.ES11.All target, Int32 framebuffer); /// [requires: OES_framebuffer_object] /// Bind a framebuffer to a framebuffer target @@ -19475,18 +11413,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glBindFramebufferOES")] - public static - void BindFramebuffer(OpenTK.Graphics.ES11.All target, UInt32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFramebufferOES((OpenTK.Graphics.ES11.All)target, (UInt32)framebuffer); - #if DEBUG - } - #endif - } + public static extern void BindFramebuffer(OpenTK.Graphics.ES11.All target, UInt32 framebuffer); /// [requires: OES_framebuffer_object] /// Bind a renderbuffer to a renderbuffer target @@ -19502,18 +11429,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glBindRenderbufferOES")] - public static - void BindRenderbuffer(OpenTK.Graphics.ES11.All target, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindRenderbufferOES((OpenTK.Graphics.ES11.All)target, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void BindRenderbuffer(OpenTK.Graphics.ES11.All target, Int32 renderbuffer); /// [requires: OES_framebuffer_object] /// Bind a renderbuffer to a renderbuffer target @@ -19530,18 +11446,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glBindRenderbufferOES")] - public static - void BindRenderbuffer(OpenTK.Graphics.ES11.All target, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindRenderbufferOES((OpenTK.Graphics.ES11.All)target, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void BindRenderbuffer(OpenTK.Graphics.ES11.All target, UInt32 renderbuffer); /// [requires: OES_vertex_array_object] /// Bind a vertex array object @@ -19552,18 +11457,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glBindVertexArrayOES")] - public static - void BindVertexArray(Int32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindVertexArrayOES((UInt32)array); - #if DEBUG - } - #endif - } + public static extern void BindVertexArray(Int32 array); /// [requires: OES_vertex_array_object] /// Bind a vertex array object @@ -19575,91 +11469,24 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glBindVertexArrayOES")] - public static - void BindVertexArray(UInt32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindVertexArrayOES((UInt32)array); - #if DEBUG - } - #endif - } + public static extern void BindVertexArray(UInt32 array); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glBitmapxOES")] - public static - void Bitmapx(Int32 width, Int32 height, int xorig, int yorig, int xmove, int ymove, Byte[] bitmap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* bitmap_ptr = bitmap) - { - Delegates.glBitmapxOES((Int32)width, (Int32)height, (int)xorig, (int)yorig, (int)xmove, (int)ymove, (Byte*)bitmap_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Bitmapx(Int32 width, Int32 height, int xorig, int yorig, int xmove, int ymove, Byte[] bitmap); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glBitmapxOES")] - public static - void Bitmapx(Int32 width, Int32 height, int xorig, int yorig, int xmove, int ymove, ref Byte bitmap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* bitmap_ptr = &bitmap) - { - Delegates.glBitmapxOES((Int32)width, (Int32)height, (int)xorig, (int)yorig, (int)xmove, (int)ymove, (Byte*)bitmap_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Bitmapx(Int32 width, Int32 height, int xorig, int yorig, int xmove, int ymove, ref Byte bitmap); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glBitmapxOES")] - public static - unsafe void Bitmapx(Int32 width, Int32 height, int xorig, int yorig, int xmove, int ymove, Byte* bitmap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBitmapxOES((Int32)width, (Int32)height, (int)xorig, (int)yorig, (int)xmove, (int)ymove, (Byte*)bitmap); - #if DEBUG - } - #endif - } + public static extern unsafe void Bitmapx(Int32 width, Int32 height, int xorig, int yorig, int xmove, int ymove, Byte* bitmap); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glBlendColorxOES")] - public static - void BlendColorx(int red, int green, int blue, int alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendColorxOES((int)red, (int)green, (int)blue, (int)alpha); - #if DEBUG - } - #endif - } + public static extern void BlendColorx(int red, int green, int blue, int alpha); /// [requires: OES_blend_subtract] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -19675,18 +11502,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_blend_subtract", Version = "", EntryPoint = "glBlendEquationOES")] - public static - void BlendEquation(OpenTK.Graphics.ES11.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationOES((OpenTK.Graphics.ES11.All)mode); - #if DEBUG - } - #endif - } + public static extern void BlendEquation(OpenTK.Graphics.ES11.All mode); /// [requires: OES_blend_equation_separate] /// Set the RGB blend equation and the alpha blend equation separately @@ -19707,18 +11523,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_blend_equation_separate", Version = "", EntryPoint = "glBlendEquationSeparateOES")] - public static - void BlendEquationSeparate(OpenTK.Graphics.ES11.All modeRGB, OpenTK.Graphics.ES11.All modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationSeparateOES((OpenTK.Graphics.ES11.All)modeRGB, (OpenTK.Graphics.ES11.All)modeAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendEquationSeparate(OpenTK.Graphics.ES11.All modeRGB, OpenTK.Graphics.ES11.All modeAlpha); /// [requires: OES_blend_func_separate] /// Specify pixel arithmetic for RGB and alpha components separately @@ -19749,18 +11554,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_blend_func_separate", Version = "", EntryPoint = "glBlendFuncSeparateOES")] - public static - void BlendFuncSeparate(OpenTK.Graphics.ES11.All srcRGB, OpenTK.Graphics.ES11.All dstRGB, OpenTK.Graphics.ES11.All srcAlpha, OpenTK.Graphics.ES11.All dstAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFuncSeparateOES((OpenTK.Graphics.ES11.All)srcRGB, (OpenTK.Graphics.ES11.All)dstRGB, (OpenTK.Graphics.ES11.All)srcAlpha, (OpenTK.Graphics.ES11.All)dstAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendFuncSeparate(OpenTK.Graphics.ES11.All srcRGB, OpenTK.Graphics.ES11.All dstRGB, OpenTK.Graphics.ES11.All srcAlpha, OpenTK.Graphics.ES11.All dstAlpha); /// [requires: OES_framebuffer_object] /// Check the completeness status of a framebuffer @@ -19771,48 +11565,15 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glCheckFramebufferStatusOES")] - public static - OpenTK.Graphics.ES11.All CheckFramebufferStatus(OpenTK.Graphics.ES11.All target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCheckFramebufferStatusOES((OpenTK.Graphics.ES11.All)target); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.ES11.All CheckFramebufferStatus(OpenTK.Graphics.ES11.All target); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glClearAccumxOES")] - public static - void ClearAccumx(int red, int green, int blue, int alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearAccumxOES((int)red, (int)green, (int)blue, (int)alpha); - #if DEBUG - } - #endif - } + public static extern void ClearAccumx(int red, int green, int blue, int alpha); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glClearColorxOES")] - public static - void ClearColorx(int red, int green, int blue, int alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearColorxOES((int)red, (int)green, (int)blue, (int)alpha); - #if DEBUG - } - #endif - } + public static extern void ClearColorx(int red, int green, int blue, int alpha); /// [requires: OES_single_precision] /// Specify the clear value for the depth buffer @@ -19823,33 +11584,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glClearDepthfOES")] - public static - void ClearDepth(Single depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearDepthfOES((Single)depth); - #if DEBUG - } - #endif - } + public static extern void ClearDepth(Single depth); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glClearDepthxOES")] - public static - void ClearDepthx(int depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearDepthxOES((int)depth); - #if DEBUG - } - #endif - } + public static extern void ClearDepthx(int depth); /// [requires: OES_single_precision] /// Specify a plane against which all geometry is clipped @@ -19865,24 +11604,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glClipPlanefOES")] - public static - void ClipPlane(OpenTK.Graphics.ES11.All plane, Single[] equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* equation_ptr = equation) - { - Delegates.glClipPlanefOES((OpenTK.Graphics.ES11.All)plane, (Single*)equation_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClipPlane(OpenTK.Graphics.ES11.All plane, Single[] equation); /// [requires: OES_single_precision] /// Specify a plane against which all geometry is clipped @@ -19898,24 +11620,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glClipPlanefOES")] - public static - void ClipPlane(OpenTK.Graphics.ES11.All plane, ref Single equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* equation_ptr = &equation) - { - Delegates.glClipPlanefOES((OpenTK.Graphics.ES11.All)plane, (Single*)equation_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClipPlane(OpenTK.Graphics.ES11.All plane, ref Single equation); /// [requires: OES_single_precision] /// Specify a plane against which all geometry is clipped @@ -19932,346 +11637,85 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glClipPlanefOES")] - public static - unsafe void ClipPlane(OpenTK.Graphics.ES11.All plane, Single* equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClipPlanefOES((OpenTK.Graphics.ES11.All)plane, (Single*)equation); - #if DEBUG - } - #endif - } + public static extern unsafe void ClipPlane(OpenTK.Graphics.ES11.All plane, Single* equation); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glClipPlanexOES")] - public static - void ClipPlanex(OpenTK.Graphics.ES11.All plane, int[] equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* equation_ptr = equation) - { - Delegates.glClipPlanexOES((OpenTK.Graphics.ES11.All)plane, (int*)equation_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClipPlanex(OpenTK.Graphics.ES11.All plane, int[] equation); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glClipPlanexOES")] - public static - void ClipPlanex(OpenTK.Graphics.ES11.All plane, ref int equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* equation_ptr = &equation) - { - Delegates.glClipPlanexOES((OpenTK.Graphics.ES11.All)plane, (int*)equation_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClipPlanex(OpenTK.Graphics.ES11.All plane, ref int equation); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glClipPlanexOES")] - public static - unsafe void ClipPlanex(OpenTK.Graphics.ES11.All plane, int* equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClipPlanexOES((OpenTK.Graphics.ES11.All)plane, (int*)equation); - #if DEBUG - } - #endif - } + public static extern unsafe void ClipPlanex(OpenTK.Graphics.ES11.All plane, int* equation); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor3xOES")] - public static - void Color3x(int red, int green, int blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3xOES((int)red, (int)green, (int)blue); - #if DEBUG - } - #endif - } + public static extern void Color3x(int red, int green, int blue); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor3xvOES")] - public static - void Color3x(int[] components) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* components_ptr = components) - { - Delegates.glColor3xvOES((int*)components_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color3x(int[] components); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor3xvOES")] - public static - void Color3x(ref int components) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* components_ptr = &components) - { - Delegates.glColor3xvOES((int*)components_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color3x(ref int components); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor3xvOES")] - public static - unsafe void Color3x(int* components) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3xvOES((int*)components); - #if DEBUG - } - #endif - } + public static extern unsafe void Color3x(int* components); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor4xOES")] - public static - void Color4x(int red, int green, int blue, int alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4xOES((int)red, (int)green, (int)blue, (int)alpha); - #if DEBUG - } - #endif - } + public static extern void Color4x(int red, int green, int blue, int alpha); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor4xvOES")] - public static - void Color4x(int[] components) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* components_ptr = components) - { - Delegates.glColor4xvOES((int*)components_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color4x(int[] components); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor4xvOES")] - public static - void Color4x(ref int components) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* components_ptr = &components) - { - Delegates.glColor4xvOES((int*)components_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color4x(ref int components); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor4xvOES")] - public static - unsafe void Color4x(int* components) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4xvOES((int*)components); - #if DEBUG - } - #endif - } + public static extern unsafe void Color4x(int* components); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glConvolutionParameterxOES")] - public static - void ConvolutionParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionParameterxOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int)param); - #if DEBUG - } - #endif - } + public static extern void ConvolutionParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glConvolutionParameterxvOES")] - public static - void ConvolutionParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glConvolutionParameterxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ConvolutionParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int[] @params); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glConvolutionParameterxvOES")] - public static - unsafe void ConvolutionParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionParameterxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ConvolutionParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params); /// [requires: OES_matrix_palette] [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glCurrentPaletteMatrixOES")] - public static - void CurrentPaletteMatrix(Int32 matrixpaletteindex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCurrentPaletteMatrixOES((UInt32)matrixpaletteindex); - #if DEBUG - } - #endif - } + public static extern void CurrentPaletteMatrix(Int32 matrixpaletteindex); /// [requires: OES_matrix_palette] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glCurrentPaletteMatrixOES")] - public static - void CurrentPaletteMatrix(UInt32 matrixpaletteindex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCurrentPaletteMatrixOES((UInt32)matrixpaletteindex); - #if DEBUG - } - #endif - } + public static extern void CurrentPaletteMatrix(UInt32 matrixpaletteindex); /// [requires: OES_framebuffer_object] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersOES")] - public static - void DeleteFramebuffer(Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* framebuffers_ptr = (UInt32*)&framebuffers; - Delegates.glDeleteFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffer(Int32 framebuffers); /// [requires: OES_framebuffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersOES")] - public static - void DeleteFramebuffer(UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* framebuffers_ptr = (UInt32*)&framebuffers; - Delegates.glDeleteFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffer(UInt32 framebuffers); /// [requires: OES_framebuffer_object] /// Delete framebuffer objects @@ -20287,24 +11731,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersOES")] - public static - void DeleteFramebuffers(Int32 n, Int32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - Delegates.glDeleteFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffers(Int32 n, Int32[] framebuffers); /// [requires: OES_framebuffer_object] /// Delete framebuffer objects @@ -20320,24 +11747,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersOES")] - public static - void DeleteFramebuffers(Int32 n, ref Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - { - Delegates.glDeleteFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffers(Int32 n, ref Int32 framebuffers); /// [requires: OES_framebuffer_object] /// Delete framebuffer objects @@ -20354,18 +11764,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersOES")] - public static - unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFramebuffersOES((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers); /// [requires: OES_framebuffer_object] /// Delete framebuffer objects @@ -20382,24 +11781,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersOES")] - public static - void DeleteFramebuffers(Int32 n, UInt32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = framebuffers) - { - Delegates.glDeleteFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffers(Int32 n, UInt32[] framebuffers); /// [requires: OES_framebuffer_object] /// Delete framebuffer objects @@ -20416,24 +11798,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersOES")] - public static - void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = &framebuffers) - { - Delegates.glDeleteFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers); /// [requires: OES_framebuffer_object] /// Delete framebuffer objects @@ -20450,59 +11815,16 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersOES")] - public static - unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFramebuffersOES((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers); /// [requires: OES_framebuffer_object] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersOES")] - public static - void DeleteRenderbuffer(Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* renderbuffers_ptr = (UInt32*)&renderbuffers; - Delegates.glDeleteRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffer(Int32 renderbuffers); /// [requires: OES_framebuffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersOES")] - public static - void DeleteRenderbuffer(UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* renderbuffers_ptr = (UInt32*)&renderbuffers; - Delegates.glDeleteRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffer(UInt32 renderbuffers); /// [requires: OES_framebuffer_object] /// Delete renderbuffer objects @@ -20518,24 +11840,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersOES")] - public static - void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = renderbuffers) - { - Delegates.glDeleteRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers); /// [requires: OES_framebuffer_object] /// Delete renderbuffer objects @@ -20551,24 +11856,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersOES")] - public static - void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glDeleteRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers); /// [requires: OES_framebuffer_object] /// Delete renderbuffer objects @@ -20585,18 +11873,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersOES")] - public static - unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteRenderbuffersOES((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers); /// [requires: OES_framebuffer_object] /// Delete renderbuffer objects @@ -20613,24 +11890,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersOES")] - public static - void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = renderbuffers) - { - Delegates.glDeleteRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers); /// [requires: OES_framebuffer_object] /// Delete renderbuffer objects @@ -20647,24 +11907,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersOES")] - public static - void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glDeleteRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers); /// [requires: OES_framebuffer_object] /// Delete renderbuffer objects @@ -20681,59 +11924,16 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersOES")] - public static - unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteRenderbuffersOES((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers); /// [requires: OES_vertex_array_object] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static - void DeleteVertexArray(Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* arrays_ptr = (UInt32*)&arrays; - Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArray(Int32 arrays); /// [requires: OES_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static - void DeleteVertexArray(UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* arrays_ptr = (UInt32*)&arrays; - Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArray(UInt32 arrays); /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -20749,24 +11949,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static - void DeleteVertexArrays(Int32 n, Int32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArrays(Int32 n, Int32[] arrays); /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -20782,24 +11965,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static - void DeleteVertexArrays(Int32 n, ref Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = &arrays) - { - Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArrays(Int32 n, ref Int32 arrays); /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -20816,18 +11982,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static - unsafe void DeleteVertexArrays(Int32 n, Int32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteVertexArrays(Int32 n, Int32* arrays); /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -20844,24 +11999,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static - void DeleteVertexArrays(Int32 n, UInt32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = arrays) - { - Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArrays(Int32 n, UInt32[] arrays); /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -20878,24 +12016,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static - void DeleteVertexArrays(Int32 n, ref UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = &arrays) - { - Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArrays(Int32 n, ref UInt32 arrays); /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -20912,18 +12033,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static - unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays); /// [requires: OES_single_precision] /// Specify mapping of depth values from normalized device coordinates to window coordinates @@ -20939,569 +12049,139 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glDepthRangefOES")] - public static - void DepthRange(Single n, Single f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthRangefOES((Single)n, (Single)f); - #if DEBUG - } - #endif - } + public static extern void DepthRange(Single n, Single f); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glDepthRangexOES")] - public static - void DepthRangex(int n, int f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthRangexOES((int)n, (int)f); - #if DEBUG - } - #endif - } + public static extern void DepthRangex(int n, int f); /// [requires: OES_draw_texture] [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexfOES")] - public static - void DrawTex(Single x, Single y, Single z, Single width, Single height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawTexfOES((Single)x, (Single)y, (Single)z, (Single)width, (Single)height); - #if DEBUG - } - #endif - } + public static extern void DrawTex(Single x, Single y, Single z, Single width, Single height); /// [requires: OES_draw_texture] [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexfvOES")] - public static - void DrawTex(Single[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = coords) - { - Delegates.glDrawTexfvOES((Single*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawTex(Single[] coords); /// [requires: OES_draw_texture] [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexfvOES")] - public static - void DrawTex(ref Single coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = &coords) - { - Delegates.glDrawTexfvOES((Single*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawTex(ref Single coords); /// [requires: OES_draw_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexfvOES")] - public static - unsafe void DrawTex(Single* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawTexfvOES((Single*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void DrawTex(Single* coords); /// [requires: OES_draw_texture] [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexiOES")] - public static - void DrawTex(Int32 x, Int32 y, Int32 z, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawTexiOES((Int32)x, (Int32)y, (Int32)z, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void DrawTex(Int32 x, Int32 y, Int32 z, Int32 width, Int32 height); /// [requires: OES_draw_texture] [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexivOES")] - public static - void DrawTex(Int32[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* coords_ptr = coords) - { - Delegates.glDrawTexivOES((Int32*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawTex(Int32[] coords); /// [requires: OES_draw_texture] [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexivOES")] - public static - void DrawTex(ref Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* coords_ptr = &coords) - { - Delegates.glDrawTexivOES((Int32*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawTex(ref Int32 coords); /// [requires: OES_draw_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexivOES")] - public static - unsafe void DrawTex(Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawTexivOES((Int32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void DrawTex(Int32* coords); /// [requires: OES_draw_texture] [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexsOES")] - public static - void DrawTex(Int16 x, Int16 y, Int16 z, Int16 width, Int16 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawTexsOES((Int16)x, (Int16)y, (Int16)z, (Int16)width, (Int16)height); - #if DEBUG - } - #endif - } + public static extern void DrawTex(Int16 x, Int16 y, Int16 z, Int16 width, Int16 height); /// [requires: OES_draw_texture] [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexsvOES")] - public static - void DrawTex(Int16[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* coords_ptr = coords) - { - Delegates.glDrawTexsvOES((Int16*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawTex(Int16[] coords); /// [requires: OES_draw_texture] [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexsvOES")] - public static - void DrawTex(ref Int16 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* coords_ptr = &coords) - { - Delegates.glDrawTexsvOES((Int16*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawTex(ref Int16 coords); /// [requires: OES_draw_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexsvOES")] - public static - unsafe void DrawTex(Int16* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawTexsvOES((Int16*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void DrawTex(Int16* coords); /// [requires: OES_draw_texture] [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexxOES")] - public static - void DrawTexx(int x, int y, int z, int width, int height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawTexxOES((int)x, (int)y, (int)z, (int)width, (int)height); - #if DEBUG - } - #endif - } + public static extern void DrawTexx(int x, int y, int z, int width, int height); /// [requires: OES_draw_texture] [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexxvOES")] - public static - void DrawTexx(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - Delegates.glDrawTexxvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawTexx(int[] coords); /// [requires: OES_draw_texture] [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexxvOES")] - public static - void DrawTexx(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - Delegates.glDrawTexxvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawTexx(ref int coords); /// [requires: OES_draw_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexxvOES")] - public static - unsafe void DrawTexx(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawTexxvOES((int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void DrawTexx(int* coords); /// [requires: OES_EGL_image] [AutoGenerated(Category = "OES_EGL_image", Version = "", EntryPoint = "glEGLImageTargetRenderbufferStorageOES")] - public static - void EGLImageTargetRenderbufferStorage(OpenTK.Graphics.ES11.All target, IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEGLImageTargetRenderbufferStorageOES((OpenTK.Graphics.ES11.All)target, (IntPtr)image); - #if DEBUG - } - #endif - } + public static extern void EGLImageTargetRenderbufferStorage(OpenTK.Graphics.ES11.All target, IntPtr image); /// [requires: OES_EGL_image] [AutoGenerated(Category = "OES_EGL_image", Version = "", EntryPoint = "glEGLImageTargetTexture2DOES")] - public static - void EGLImageTargetTexture2D(OpenTK.Graphics.ES11.All target, IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEGLImageTargetTexture2DOES((OpenTK.Graphics.ES11.All)target, (IntPtr)image); - #if DEBUG - } - #endif - } + public static extern void EGLImageTargetTexture2D(OpenTK.Graphics.ES11.All target, IntPtr image); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glEvalCoord1xOES")] - public static - void EvalCoord1x(int u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalCoord1xOES((int)u); - #if DEBUG - } - #endif - } + public static extern void EvalCoord1x(int u); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glEvalCoord1xvOES")] - public static - unsafe void EvalCoord1x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalCoord1xvOES((int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void EvalCoord1x(int* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glEvalCoord2xOES")] - public static - void EvalCoord2x(int u, int v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalCoord2xOES((int)u, (int)v); - #if DEBUG - } - #endif - } + public static extern void EvalCoord2x(int u, int v); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glEvalCoord2xvOES")] - public static - void EvalCoord2x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - Delegates.glEvalCoord2xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void EvalCoord2x(int[] coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glEvalCoord2xvOES")] - public static - void EvalCoord2x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - Delegates.glEvalCoord2xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void EvalCoord2x(ref int coords); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glEvalCoord2xvOES")] - public static - unsafe void EvalCoord2x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalCoord2xvOES((int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void EvalCoord2x(int* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFeedbackBufferxOES")] - public static - void FeedbackBufferx(Int32 n, OpenTK.Graphics.ES11.All type, int[] buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* buffer_ptr = buffer) - { - Delegates.glFeedbackBufferxOES((Int32)n, (OpenTK.Graphics.ES11.All)type, (int*)buffer_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void FeedbackBufferx(Int32 n, OpenTK.Graphics.ES11.All type, int[] buffer); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFeedbackBufferxOES")] - public static - void FeedbackBufferx(Int32 n, OpenTK.Graphics.ES11.All type, ref int buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* buffer_ptr = &buffer) - { - Delegates.glFeedbackBufferxOES((Int32)n, (OpenTK.Graphics.ES11.All)type, (int*)buffer_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void FeedbackBufferx(Int32 n, OpenTK.Graphics.ES11.All type, ref int buffer); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFeedbackBufferxOES")] - public static - unsafe void FeedbackBufferx(Int32 n, OpenTK.Graphics.ES11.All type, int* buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFeedbackBufferxOES((Int32)n, (OpenTK.Graphics.ES11.All)type, (int*)buffer); - #if DEBUG - } - #endif - } + public static extern unsafe void FeedbackBufferx(Int32 n, OpenTK.Graphics.ES11.All type, int* buffer); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFogxOES")] - public static - void Fogx(OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogxOES((OpenTK.Graphics.ES11.All)pname, (int)param); - #if DEBUG - } - #endif - } + public static extern void Fogx(OpenTK.Graphics.ES11.All pname, int param); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFogxvOES")] - public static - void Fogx(OpenTK.Graphics.ES11.All pname, int[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* param_ptr = param) - { - Delegates.glFogxvOES((OpenTK.Graphics.ES11.All)pname, (int*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Fogx(OpenTK.Graphics.ES11.All pname, int[] param); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFogxvOES")] - public static - unsafe void Fogx(OpenTK.Graphics.ES11.All pname, int* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogxvOES((OpenTK.Graphics.ES11.All)pname, (int*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void Fogx(OpenTK.Graphics.ES11.All pname, int* param); /// [requires: OES_framebuffer_object] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -21527,18 +12207,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glFramebufferRenderbufferOES")] - public static - void FramebufferRenderbuffer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All renderbuffertarget, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferRenderbufferOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)renderbuffertarget, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void FramebufferRenderbuffer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All renderbuffertarget, Int32 renderbuffer); /// [requires: OES_framebuffer_object] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -21565,49 +12234,16 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glFramebufferRenderbufferOES")] - public static - void FramebufferRenderbuffer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All renderbuffertarget, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferRenderbufferOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)renderbuffertarget, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void FramebufferRenderbuffer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All renderbuffertarget, UInt32 renderbuffer); /// [requires: OES_framebuffer_object] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glFramebufferTexture2DOES")] - public static - void FramebufferTexture2D(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All textarget, Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2DOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture2D(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All textarget, Int32 texture, Int32 level); /// [requires: OES_framebuffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glFramebufferTexture2DOES")] - public static - void FramebufferTexture2D(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All textarget, UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2DOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture2D(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All textarget, UInt32 texture, Int32 level); /// [requires: OES_single_precision] /// Multiply the current matrix by a perspective matrix @@ -21628,33 +12264,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glFrustumfOES")] - public static - void Frustum(Single l, Single r, Single b, Single t, Single n, Single f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFrustumfOES((Single)l, (Single)r, (Single)b, (Single)t, (Single)n, (Single)f); - #if DEBUG - } - #endif - } + public static extern void Frustum(Single l, Single r, Single b, Single t, Single n, Single f); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFrustumxOES")] - public static - void Frustumx(int l, int r, int b, int t, int n, int f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFrustumxOES((int)l, (int)r, (int)b, (int)t, (int)n, (int)f); - #if DEBUG - } - #endif - } + public static extern void Frustumx(int l, int r, int b, int t, int n, int f); /// [requires: OES_framebuffer_object] /// Generate mipmaps for a specified texture target @@ -21665,40 +12279,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenerateMipmapOES")] - public static - void GenerateMipmap(OpenTK.Graphics.ES11.All target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenerateMipmapOES((OpenTK.Graphics.ES11.All)target); - #if DEBUG - } - #endif - } + public static extern void GenerateMipmap(OpenTK.Graphics.ES11.All target); /// [requires: OES_framebuffer_object] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenFramebuffersOES")] - public static - Int32 GenFramebuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* framebuffers_ptr = &retval; - Delegates.glGenFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenFramebuffer(); /// [requires: OES_framebuffer_object] /// Generate framebuffer object names @@ -21714,24 +12299,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenFramebuffersOES")] - public static - void GenFramebuffers(Int32 n, [OutAttribute] Int32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - Delegates.glGenFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenFramebuffers(Int32 n, [OutAttribute] Int32[] framebuffers); /// [requires: OES_framebuffer_object] /// Generate framebuffer object names @@ -21747,25 +12315,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenFramebuffersOES")] - public static - void GenFramebuffers(Int32 n, [OutAttribute] out Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - { - Delegates.glGenFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr); - framebuffers = *framebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenFramebuffers(Int32 n, [OutAttribute] out Int32 framebuffers); /// [requires: OES_framebuffer_object] /// Generate framebuffer object names @@ -21782,18 +12332,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenFramebuffersOES")] - public static - unsafe void GenFramebuffers(Int32 n, [OutAttribute] Int32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenFramebuffersOES((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenFramebuffers(Int32 n, [OutAttribute] Int32* framebuffers); /// [requires: OES_framebuffer_object] /// Generate framebuffer object names @@ -21810,24 +12349,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenFramebuffersOES")] - public static - void GenFramebuffers(Int32 n, [OutAttribute] UInt32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = framebuffers) - { - Delegates.glGenFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenFramebuffers(Int32 n, [OutAttribute] UInt32[] framebuffers); /// [requires: OES_framebuffer_object] /// Generate framebuffer object names @@ -21844,25 +12366,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenFramebuffersOES")] - public static - void GenFramebuffers(Int32 n, [OutAttribute] out UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = &framebuffers) - { - Delegates.glGenFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr); - framebuffers = *framebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenFramebuffers(Int32 n, [OutAttribute] out UInt32 framebuffers); /// [requires: OES_framebuffer_object] /// Generate framebuffer object names @@ -21879,40 +12383,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenFramebuffersOES")] - public static - unsafe void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenFramebuffersOES((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers); /// [requires: OES_framebuffer_object] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenRenderbuffersOES")] - public static - Int32 GenRenderbuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* renderbuffers_ptr = &retval; - Delegates.glGenRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenRenderbuffer(); /// [requires: OES_framebuffer_object] /// Generate renderbuffer object names @@ -21928,24 +12403,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenRenderbuffersOES")] - public static - void GenRenderbuffers(Int32 n, [OutAttribute] Int32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = renderbuffers) - { - Delegates.glGenRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] Int32[] renderbuffers); /// [requires: OES_framebuffer_object] /// Generate renderbuffer object names @@ -21961,25 +12419,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenRenderbuffersOES")] - public static - void GenRenderbuffers(Int32 n, [OutAttribute] out Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glGenRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr); - renderbuffers = *renderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] out Int32 renderbuffers); /// [requires: OES_framebuffer_object] /// Generate renderbuffer object names @@ -21996,18 +12436,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenRenderbuffersOES")] - public static - unsafe void GenRenderbuffers(Int32 n, [OutAttribute] Int32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenRenderbuffersOES((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenRenderbuffers(Int32 n, [OutAttribute] Int32* renderbuffers); /// [requires: OES_framebuffer_object] /// Generate renderbuffer object names @@ -22024,24 +12453,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenRenderbuffersOES")] - public static - void GenRenderbuffers(Int32 n, [OutAttribute] UInt32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = renderbuffers) - { - Delegates.glGenRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] UInt32[] renderbuffers); /// [requires: OES_framebuffer_object] /// Generate renderbuffer object names @@ -22058,25 +12470,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenRenderbuffersOES")] - public static - void GenRenderbuffers(Int32 n, [OutAttribute] out UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glGenRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr); - renderbuffers = *renderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] out UInt32 renderbuffers); /// [requires: OES_framebuffer_object] /// Generate renderbuffer object names @@ -22093,40 +12487,11 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenRenderbuffersOES")] - public static - unsafe void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenRenderbuffersOES((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers); /// [requires: OES_vertex_array_object] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static - Int32 GenVertexArray() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* arrays_ptr = &retval; - Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenVertexArray(); /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -22142,24 +12507,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static - void GenVertexArrays(Int32 n, [OutAttribute] Int32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenVertexArrays(Int32 n, [OutAttribute] Int32[] arrays); /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -22175,25 +12523,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static - void GenVertexArrays(Int32 n, [OutAttribute] out Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = &arrays) - { - Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); - arrays = *arrays_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenVertexArrays(Int32 n, [OutAttribute] out Int32 arrays); /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -22210,18 +12540,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static - unsafe void GenVertexArrays(Int32 n, [OutAttribute] Int32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } + public static extern unsafe void GenVertexArrays(Int32 n, [OutAttribute] Int32* arrays); /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -22238,24 +12557,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static - void GenVertexArrays(Int32 n, [OutAttribute] UInt32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = arrays) - { - Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenVertexArrays(Int32 n, [OutAttribute] UInt32[] arrays); /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -22272,25 +12574,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static - void GenVertexArrays(Int32 n, [OutAttribute] out UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = &arrays) - { - Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); - arrays = *arrays_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenVertexArrays(Int32 n, [OutAttribute] out UInt32 arrays); /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -22307,130 +12591,35 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static - unsafe void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } + public static extern unsafe void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays); /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static - void GetBufferPointer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } + public static extern void GetBufferPointer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] IntPtr @params); /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static - void GetBufferPointer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [InAttribute, OutAttribute] T2[] @params) + public static extern void GetBufferPointer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [InAttribute, OutAttribute] T2[] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static - void GetBufferPointer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [InAttribute, OutAttribute] T2[,] @params) + public static extern void GetBufferPointer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [InAttribute, OutAttribute] T2[,] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static - void GetBufferPointer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [InAttribute, OutAttribute] T2[,,] @params) + public static extern void GetBufferPointer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [InAttribute, OutAttribute] T2[,,] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static - void GetBufferPointer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [InAttribute, OutAttribute] ref T2 @params) + public static extern void GetBufferPointer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [InAttribute, OutAttribute] ref T2 @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - @params = (T2)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_single_precision] /// Return the coefficients of the specified clipping plane @@ -22446,24 +12635,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glGetClipPlanefOES")] - public static - void GetClipPlane(OpenTK.Graphics.ES11.All plane, [OutAttribute] Single[] equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* equation_ptr = equation) - { - Delegates.glGetClipPlanefOES((OpenTK.Graphics.ES11.All)plane, (Single*)equation_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetClipPlane(OpenTK.Graphics.ES11.All plane, [OutAttribute] Single[] equation); /// [requires: OES_single_precision] /// Return the coefficients of the specified clipping plane @@ -22479,25 +12651,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glGetClipPlanefOES")] - public static - void GetClipPlane(OpenTK.Graphics.ES11.All plane, [OutAttribute] out Single equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* equation_ptr = &equation) - { - Delegates.glGetClipPlanefOES((OpenTK.Graphics.ES11.All)plane, (Single*)equation_ptr); - equation = *equation_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetClipPlane(OpenTK.Graphics.ES11.All plane, [OutAttribute] out Single equation); /// [requires: OES_single_precision] /// Return the coefficients of the specified clipping plane @@ -22514,216 +12668,50 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glGetClipPlanefOES")] - public static - unsafe void GetClipPlane(OpenTK.Graphics.ES11.All plane, [OutAttribute] Single* equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetClipPlanefOES((OpenTK.Graphics.ES11.All)plane, (Single*)equation); - #if DEBUG - } - #endif - } + public static extern unsafe void GetClipPlane(OpenTK.Graphics.ES11.All plane, [OutAttribute] Single* equation); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetClipPlanexOES")] - public static - void GetClipPlanex(OpenTK.Graphics.ES11.All plane, [OutAttribute] int[] equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* equation_ptr = equation) - { - Delegates.glGetClipPlanexOES((OpenTK.Graphics.ES11.All)plane, (int*)equation_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetClipPlanex(OpenTK.Graphics.ES11.All plane, [OutAttribute] int[] equation); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetClipPlanexOES")] - public static - void GetClipPlanex(OpenTK.Graphics.ES11.All plane, [OutAttribute] out int equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* equation_ptr = &equation) - { - Delegates.glGetClipPlanexOES((OpenTK.Graphics.ES11.All)plane, (int*)equation_ptr); - equation = *equation_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetClipPlanex(OpenTK.Graphics.ES11.All plane, [OutAttribute] out int equation); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetClipPlanexOES")] - public static - unsafe void GetClipPlanex(OpenTK.Graphics.ES11.All plane, [OutAttribute] int* equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetClipPlanexOES((OpenTK.Graphics.ES11.All)plane, (int*)equation); - #if DEBUG - } - #endif - } + public static extern unsafe void GetClipPlanex(OpenTK.Graphics.ES11.All plane, [OutAttribute] int* equation); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetConvolutionParameterxvOES")] - public static - void GetConvolutionParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glGetConvolutionParameterxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetConvolutionParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int[] @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetConvolutionParameterxvOES")] - public static - void GetConvolutionParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] out int @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = &@params) - { - Delegates.glGetConvolutionParameterxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetConvolutionParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] out int @params); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetConvolutionParameterxvOES")] - public static - unsafe void GetConvolutionParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetConvolutionParameterxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetConvolutionParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetFixedvOES")] - public static - int GetFixed(OpenTK.Graphics.ES11.All pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - int retval; - int* @params_ptr = &retval; - Delegates.glGetFixedvOES((OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern int GetFixed(OpenTK.Graphics.ES11.All pname); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetFixedvOES")] - public static - void GetFixed(OpenTK.Graphics.ES11.All pname, [OutAttribute] int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glGetFixedvOES((OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFixed(OpenTK.Graphics.ES11.All pname, [OutAttribute] int[] @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetFixedvOES")] - public static - void GetFixed(OpenTK.Graphics.ES11.All pname, [OutAttribute] out int @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = &@params) - { - Delegates.glGetFixedvOES((OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFixed(OpenTK.Graphics.ES11.All pname, [OutAttribute] out int @params); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetFixedvOES")] - public static - unsafe void GetFixed(OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFixedvOES((OpenTK.Graphics.ES11.All)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFixed(OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); /// [requires: OES_framebuffer_object] /// Retrieve information about attachments of a bound framebuffer object @@ -22749,24 +12737,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGetFramebufferAttachmentParameterivOES")] - public static - void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFramebufferAttachmentParameterivOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32[] @params); /// [requires: OES_framebuffer_object] /// Retrieve information about attachments of a bound framebuffer object @@ -22792,25 +12763,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGetFramebufferAttachmentParameterivOES")] - public static - void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFramebufferAttachmentParameterivOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All pname, [OutAttribute] out Int32 @params); /// [requires: OES_framebuffer_object] /// Retrieve information about attachments of a bound framebuffer object @@ -22837,247 +12790,59 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGetFramebufferAttachmentParameterivOES")] - public static - unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFramebufferAttachmentParameterivOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetHistogramParameterxvOES")] - public static - void GetHistogramParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glGetHistogramParameterxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetHistogramParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int[] @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetHistogramParameterxvOES")] - public static - void GetHistogramParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] out int @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = &@params) - { - Delegates.glGetHistogramParameterxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetHistogramParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] out int @params); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetHistogramParameterxvOES")] - public static - unsafe void GetHistogramParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetHistogramParameterxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetHistogramParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetLightxOES")] - public static - void GetLightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, [OutAttribute] int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glGetLightxOES((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetLightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, [OutAttribute] int[] @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetLightxOES")] - public static - void GetLightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, [OutAttribute] out int @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = &@params) - { - Delegates.glGetLightxOES((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetLightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, [OutAttribute] out int @params); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetLightxOES")] - public static - unsafe void GetLightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetLightxOES((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetLightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetMapxvOES")] - public static - void GetMapx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All query, [OutAttribute] int[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* v_ptr = v) - { - Delegates.glGetMapxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)query, (int*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMapx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All query, [OutAttribute] int[] v); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetMapxvOES")] - public static - void GetMapx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All query, [OutAttribute] out int v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* v_ptr = &v) - { - Delegates.glGetMapxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)query, (int*)v_ptr); - v = *v_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMapx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All query, [OutAttribute] out int v); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetMapxvOES")] - public static - unsafe void GetMapx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All query, [OutAttribute] int* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMapxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)query, (int*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMapx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All query, [OutAttribute] int* v); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetMaterialxOES")] - public static - void GetMaterialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMaterialxOES((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int)param); - #if DEBUG - } - #endif - } + public static extern void GetMaterialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int param); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetMaterialxvOES")] - public static - void GetMaterialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, [OutAttribute] int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glGetMaterialxvOES((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMaterialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, [OutAttribute] int[] @params); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetMaterialxvOES")] - public static - unsafe void GetMaterialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMaterialxvOES((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMaterialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); /// [requires: OES_framebuffer_object] /// Retrieve information about a bound renderbuffer object @@ -23098,24 +12863,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGetRenderbufferParameterivOES")] - public static - void GetRenderbufferParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetRenderbufferParameterivOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetRenderbufferParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32[] @params); /// [requires: OES_framebuffer_object] /// Retrieve information about a bound renderbuffer object @@ -23136,25 +12884,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGetRenderbufferParameterivOES")] - public static - void GetRenderbufferParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetRenderbufferParameterivOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetRenderbufferParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] out Int32 @params); /// [requires: OES_framebuffer_object] /// Retrieve information about a bound renderbuffer object @@ -23176,77 +12906,20 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGetRenderbufferParameterivOES")] - public static - unsafe void GetRenderbufferParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetRenderbufferParameterivOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetRenderbufferParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexEnvxvOES")] - public static - void GetTexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glGetTexEnvxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int[] @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexEnvxvOES")] - public static - void GetTexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] out int @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = &@params) - { - Delegates.glGetTexEnvxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] out int @params); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexEnvxvOES")] - public static - unsafe void GetTexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexEnvxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); /// [requires: OES_texture_cube_map] /// Return texture coordinate generation parameters @@ -23267,24 +12940,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glGetTexGenfvOES")] - public static - void GetTexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTexGenfvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] Single[] @params); /// [requires: OES_texture_cube_map] /// Return texture coordinate generation parameters @@ -23305,25 +12961,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glGetTexGenfvOES")] - public static - void GetTexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetTexGenfvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] out Single @params); /// [requires: OES_texture_cube_map] /// Return texture coordinate generation parameters @@ -23345,18 +12983,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glGetTexGenfvOES")] - public static - unsafe void GetTexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexGenfvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] Single* @params); /// [requires: OES_texture_cube_map] /// Return texture coordinate generation parameters @@ -23377,24 +13004,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glGetTexGenivOES")] - public static - void GetTexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTexGenivOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32[] @params); /// [requires: OES_texture_cube_map] /// Return texture coordinate generation parameters @@ -23415,25 +13025,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glGetTexGenivOES")] - public static - void GetTexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTexGenivOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] out Int32 @params); /// [requires: OES_texture_cube_map] /// Return texture coordinate generation parameters @@ -23455,226 +13047,55 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glGetTexGenivOES")] - public static - unsafe void GetTexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexGenivOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params); /// [requires: OES_fixed_point|OES_texture_cube_map] [AutoGenerated(Category = "OES_fixed_point|OES_texture_cube_map", Version = "", EntryPoint = "glGetTexGenxvOES")] - public static - void GetTexGenx(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glGetTexGenxvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexGenx(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] int[] @params); /// [requires: OES_fixed_point|OES_texture_cube_map] [AutoGenerated(Category = "OES_fixed_point|OES_texture_cube_map", Version = "", EntryPoint = "glGetTexGenxvOES")] - public static - void GetTexGenx(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] out int @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = &@params) - { - Delegates.glGetTexGenxvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexGenx(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] out int @params); /// [requires: OES_fixed_point|OES_texture_cube_map] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point|OES_texture_cube_map", Version = "", EntryPoint = "glGetTexGenxvOES")] - public static - unsafe void GetTexGenx(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexGenxvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexGenx(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexLevelParameterxvOES")] - public static - void GetTexLevelParameterx(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All pname, [OutAttribute] int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glGetTexLevelParameterxvOES((OpenTK.Graphics.ES11.All)target, (Int32)level, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexLevelParameterx(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All pname, [OutAttribute] int[] @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexLevelParameterxvOES")] - public static - void GetTexLevelParameterx(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All pname, [OutAttribute] out int @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = &@params) - { - Delegates.glGetTexLevelParameterxvOES((OpenTK.Graphics.ES11.All)target, (Int32)level, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexLevelParameterx(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All pname, [OutAttribute] out int @params); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexLevelParameterxvOES")] - public static - unsafe void GetTexLevelParameterx(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexLevelParameterxvOES((OpenTK.Graphics.ES11.All)target, (Int32)level, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexLevelParameterx(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexParameterxvOES")] - public static - void GetTexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glGetTexParameterxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int[] @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexParameterxvOES")] - public static - void GetTexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] out int @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = &@params) - { - Delegates.glGetTexParameterxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] out int @params); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexParameterxvOES")] - public static - unsafe void GetTexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameterxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glIndexxOES")] - public static - void Indexx(int component) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glIndexxOES((int)component); - #if DEBUG - } - #endif - } + public static extern void Indexx(int component); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glIndexxvOES")] - public static - unsafe void Indexx(int* component) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glIndexxvOES((int*)component); - #if DEBUG - } - #endif - } + public static extern unsafe void Indexx(int* component); /// [requires: OES_framebuffer_object] /// Determine if a name corresponds to a framebuffer object @@ -23685,18 +13106,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glIsFramebufferOES")] - public static - bool IsFramebuffer(Int32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsFramebufferOES((UInt32)framebuffer); - #if DEBUG - } - #endif - } + public static extern bool IsFramebuffer(Int32 framebuffer); /// [requires: OES_framebuffer_object] /// Determine if a name corresponds to a framebuffer object @@ -23708,18 +13118,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glIsFramebufferOES")] - public static - bool IsFramebuffer(UInt32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsFramebufferOES((UInt32)framebuffer); - #if DEBUG - } - #endif - } + public static extern bool IsFramebuffer(UInt32 framebuffer); /// [requires: OES_framebuffer_object] /// Determine if a name corresponds to a renderbuffer object @@ -23730,18 +13129,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glIsRenderbufferOES")] - public static - bool IsRenderbuffer(Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsRenderbufferOES((UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern bool IsRenderbuffer(Int32 renderbuffer); /// [requires: OES_framebuffer_object] /// Determine if a name corresponds to a renderbuffer object @@ -23753,18 +13141,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glIsRenderbufferOES")] - public static - bool IsRenderbuffer(UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsRenderbufferOES((UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern bool IsRenderbuffer(UInt32 renderbuffer); /// [requires: OES_vertex_array_object] /// Determine if a name corresponds to a vertex array object @@ -23775,18 +13152,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glIsVertexArrayOES")] - public static - bool IsVertexArray(Int32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsVertexArrayOES((UInt32)array); - #if DEBUG - } - #endif - } + public static extern bool IsVertexArray(Int32 array); /// [requires: OES_vertex_array_object] /// Determine if a name corresponds to a vertex array object @@ -23798,298 +13164,75 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glIsVertexArrayOES")] - public static - bool IsVertexArray(UInt32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsVertexArrayOES((UInt32)array); - #if DEBUG - } - #endif - } + public static extern bool IsVertexArray(UInt32 array); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLightModelxOES")] - public static - void LightModelx(OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightModelxOES((OpenTK.Graphics.ES11.All)pname, (int)param); - #if DEBUG - } - #endif - } + public static extern void LightModelx(OpenTK.Graphics.ES11.All pname, int param); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLightModelxvOES")] - public static - void LightModelx(OpenTK.Graphics.ES11.All pname, int[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* param_ptr = param) - { - Delegates.glLightModelxvOES((OpenTK.Graphics.ES11.All)pname, (int*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LightModelx(OpenTK.Graphics.ES11.All pname, int[] param); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLightModelxvOES")] - public static - unsafe void LightModelx(OpenTK.Graphics.ES11.All pname, int* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightModelxvOES((OpenTK.Graphics.ES11.All)pname, (int*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void LightModelx(OpenTK.Graphics.ES11.All pname, int* param); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLightxOES")] - public static - void Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightxOES((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int)param); - #if DEBUG - } - #endif - } + public static extern void Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int param); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLightxvOES")] - public static - void Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glLightxvOES((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int[] @params); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLightxvOES")] - public static - unsafe void Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightxvOES((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLineWidthxOES")] - public static - void LineWidthx(int width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLineWidthxOES((int)width); - #if DEBUG - } - #endif - } + public static extern void LineWidthx(int width); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLoadMatrixxOES")] - public static - void LoadMatrixx(int[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = m) - { - Delegates.glLoadMatrixxOES((int*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LoadMatrixx(int[] m); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLoadMatrixxOES")] - public static - void LoadMatrixx(ref int m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = &m) - { - Delegates.glLoadMatrixxOES((int*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LoadMatrixx(ref int m); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLoadMatrixxOES")] - public static - unsafe void LoadMatrixx(int* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadMatrixxOES((int*)m); - #if DEBUG - } - #endif - } + public static extern unsafe void LoadMatrixx(int* m); /// [requires: OES_matrix_palette] [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glLoadPaletteFromModelViewMatrixOES")] - public static - void LoadPaletteFromModelViewMatrix() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadPaletteFromModelViewMatrixOES(); - #if DEBUG - } - #endif - } + public static extern void LoadPaletteFromModelViewMatrix(); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLoadTransposeMatrixxOES")] - public static - void LoadTransposeMatrixx(int[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = m) - { - Delegates.glLoadTransposeMatrixxOES((int*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LoadTransposeMatrixx(int[] m); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLoadTransposeMatrixxOES")] - public static - void LoadTransposeMatrixx(ref int m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = &m) - { - Delegates.glLoadTransposeMatrixxOES((int*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LoadTransposeMatrixx(ref int m); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLoadTransposeMatrixxOES")] - public static - unsafe void LoadTransposeMatrixx(int* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadTransposeMatrixxOES((int*)m); - #if DEBUG - } - #endif - } + public static extern unsafe void LoadTransposeMatrixx(int* m); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMap1xOES")] - public static - void Map1x(OpenTK.Graphics.ES11.All target, int u1, int u2, Int32 stride, Int32 order, int points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMap1xOES((OpenTK.Graphics.ES11.All)target, (int)u1, (int)u2, (Int32)stride, (Int32)order, (int)points); - #if DEBUG - } - #endif - } + public static extern void Map1x(OpenTK.Graphics.ES11.All target, int u1, int u2, Int32 stride, Int32 order, int points); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMap2xOES")] - public static - void Map2x(OpenTK.Graphics.ES11.All target, int u1, int u2, Int32 ustride, Int32 uorder, int v1, int v2, Int32 vstride, Int32 vorder, int points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMap2xOES((OpenTK.Graphics.ES11.All)target, (int)u1, (int)u2, (Int32)ustride, (Int32)uorder, (int)v1, (int)v2, (Int32)vstride, (Int32)vorder, (int)points); - #if DEBUG - } - #endif - } + public static extern void Map2x(OpenTK.Graphics.ES11.All target, int u1, int u2, Int32 ustride, Int32 uorder, int v1, int v2, Int32 vstride, Int32 vorder, int points); /// [requires: OES_mapbuffer] /// Map a buffer object's data store @@ -24105,212 +13248,56 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glMapBufferOES")] - public static - IntPtr MapBuffer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glMapBufferOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)access); - #if DEBUG - } - #endif - } + public static extern IntPtr MapBuffer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All access); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMapGrid1xOES")] - public static - void MapGrid1x(Int32 n, int u1, int u2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapGrid1xOES((Int32)n, (int)u1, (int)u2); - #if DEBUG - } - #endif - } + public static extern void MapGrid1x(Int32 n, int u1, int u2); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMapGrid2xOES")] - public static - void MapGrid2x(Int32 n, int u1, int u2, int v1, int v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapGrid2xOES((Int32)n, (int)u1, (int)u2, (int)v1, (int)v2); - #if DEBUG - } - #endif - } + public static extern void MapGrid2x(Int32 n, int u1, int u2, int v1, int v2); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMaterialxOES")] - public static - void Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMaterialxOES((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int)param); - #if DEBUG - } - #endif - } + public static extern void Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int param); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMaterialxvOES")] - public static - void Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* param_ptr = param) - { - Delegates.glMaterialxvOES((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int[] param); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMaterialxvOES")] - public static - unsafe void Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMaterialxvOES((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* param); /// [requires: OES_matrix_palette] [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glMatrixIndexPointerOES")] - public static - void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixIndexPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer); /// [requires: OES_matrix_palette] [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glMatrixIndexPointerOES")] - public static - void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) + public static extern void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glMatrixIndexPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_matrix_palette] [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glMatrixIndexPointerOES")] - public static - void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) + public static extern void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glMatrixIndexPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_matrix_palette] [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glMatrixIndexPointerOES")] - public static - void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) + public static extern void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glMatrixIndexPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_matrix_palette] [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glMatrixIndexPointerOES")] - public static - void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) + public static extern void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glMatrixIndexPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -24326,18 +13313,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord1bOES")] - public static - void MultiTexCoord1(OpenTK.Graphics.ES11.All texture, Byte s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1bOES((OpenTK.Graphics.ES11.All)texture, (SByte)s); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord1(OpenTK.Graphics.ES11.All texture, Byte s); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -24354,18 +13330,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord1bOES")] - public static - void MultiTexCoord1(OpenTK.Graphics.ES11.All texture, SByte s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1bOES((OpenTK.Graphics.ES11.All)texture, (SByte)s); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord1(OpenTK.Graphics.ES11.All texture, SByte s); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -24382,18 +13347,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord1bvOES")] - public static - unsafe void MultiTexCoord1(OpenTK.Graphics.ES11.All texture, Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1bvOES((OpenTK.Graphics.ES11.All)texture, (SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord1(OpenTK.Graphics.ES11.All texture, Byte* coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -24410,49 +13364,16 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord1bvOES")] - public static - unsafe void MultiTexCoord1(OpenTK.Graphics.ES11.All texture, SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1bvOES((OpenTK.Graphics.ES11.All)texture, (SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord1(OpenTK.Graphics.ES11.All texture, SByte* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord1xOES")] - public static - void MultiTexCoord1x(OpenTK.Graphics.ES11.All texture, int s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1xOES((OpenTK.Graphics.ES11.All)texture, (int)s); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord1x(OpenTK.Graphics.ES11.All texture, int s); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord1xvOES")] - public static - unsafe void MultiTexCoord1x(OpenTK.Graphics.ES11.All texture, int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1xvOES((OpenTK.Graphics.ES11.All)texture, (int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord1x(OpenTK.Graphics.ES11.All texture, int* coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -24468,18 +13389,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bOES")] - public static - void MultiTexCoord2(OpenTK.Graphics.ES11.All texture, Byte s, Byte t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2bOES((OpenTK.Graphics.ES11.All)texture, (SByte)s, (SByte)t); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.ES11.All texture, Byte s, Byte t); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -24496,18 +13406,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bOES")] - public static - void MultiTexCoord2(OpenTK.Graphics.ES11.All texture, SByte s, SByte t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2bOES((OpenTK.Graphics.ES11.All)texture, (SByte)s, (SByte)t); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.ES11.All texture, SByte s, SByte t); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -24523,24 +13422,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bvOES")] - public static - void MultiTexCoord2(OpenTK.Graphics.ES11.All texture, Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - Delegates.glMultiTexCoord2bvOES((OpenTK.Graphics.ES11.All)texture, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.ES11.All texture, Byte[] coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -24556,24 +13438,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bvOES")] - public static - void MultiTexCoord2(OpenTK.Graphics.ES11.All texture, ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - Delegates.glMultiTexCoord2bvOES((OpenTK.Graphics.ES11.All)texture, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.ES11.All texture, ref Byte coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -24590,18 +13455,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bvOES")] - public static - unsafe void MultiTexCoord2(OpenTK.Graphics.ES11.All texture, Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2bvOES((OpenTK.Graphics.ES11.All)texture, (SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord2(OpenTK.Graphics.ES11.All texture, Byte* coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -24618,24 +13472,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bvOES")] - public static - void MultiTexCoord2(OpenTK.Graphics.ES11.All texture, SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - Delegates.glMultiTexCoord2bvOES((OpenTK.Graphics.ES11.All)texture, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.ES11.All texture, SByte[] coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -24652,24 +13489,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bvOES")] - public static - void MultiTexCoord2(OpenTK.Graphics.ES11.All texture, ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - Delegates.glMultiTexCoord2bvOES((OpenTK.Graphics.ES11.All)texture, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.ES11.All texture, ref SByte coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -24686,91 +13506,24 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bvOES")] - public static - unsafe void MultiTexCoord2(OpenTK.Graphics.ES11.All texture, SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2bvOES((OpenTK.Graphics.ES11.All)texture, (SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord2(OpenTK.Graphics.ES11.All texture, SByte* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord2xOES")] - public static - void MultiTexCoord2x(OpenTK.Graphics.ES11.All texture, int s, int t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2xOES((OpenTK.Graphics.ES11.All)texture, (int)s, (int)t); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2x(OpenTK.Graphics.ES11.All texture, int s, int t); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord2xvOES")] - public static - void MultiTexCoord2x(OpenTK.Graphics.ES11.All texture, int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - Delegates.glMultiTexCoord2xvOES((OpenTK.Graphics.ES11.All)texture, (int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2x(OpenTK.Graphics.ES11.All texture, int[] coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord2xvOES")] - public static - void MultiTexCoord2x(OpenTK.Graphics.ES11.All texture, ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - Delegates.glMultiTexCoord2xvOES((OpenTK.Graphics.ES11.All)texture, (int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2x(OpenTK.Graphics.ES11.All texture, ref int coords); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord2xvOES")] - public static - unsafe void MultiTexCoord2x(OpenTK.Graphics.ES11.All texture, int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2xvOES((OpenTK.Graphics.ES11.All)texture, (int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord2x(OpenTK.Graphics.ES11.All texture, int* coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -24786,18 +13539,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bOES")] - public static - void MultiTexCoord3(OpenTK.Graphics.ES11.All texture, Byte s, Byte t, Byte r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3bOES((OpenTK.Graphics.ES11.All)texture, (SByte)s, (SByte)t, (SByte)r); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.ES11.All texture, Byte s, Byte t, Byte r); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -24814,18 +13556,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bOES")] - public static - void MultiTexCoord3(OpenTK.Graphics.ES11.All texture, SByte s, SByte t, SByte r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3bOES((OpenTK.Graphics.ES11.All)texture, (SByte)s, (SByte)t, (SByte)r); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.ES11.All texture, SByte s, SByte t, SByte r); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -24841,24 +13572,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bvOES")] - public static - void MultiTexCoord3(OpenTK.Graphics.ES11.All texture, Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - Delegates.glMultiTexCoord3bvOES((OpenTK.Graphics.ES11.All)texture, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.ES11.All texture, Byte[] coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -24874,24 +13588,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bvOES")] - public static - void MultiTexCoord3(OpenTK.Graphics.ES11.All texture, ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - Delegates.glMultiTexCoord3bvOES((OpenTK.Graphics.ES11.All)texture, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.ES11.All texture, ref Byte coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -24908,18 +13605,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bvOES")] - public static - unsafe void MultiTexCoord3(OpenTK.Graphics.ES11.All texture, Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3bvOES((OpenTK.Graphics.ES11.All)texture, (SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord3(OpenTK.Graphics.ES11.All texture, Byte* coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -24936,24 +13622,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bvOES")] - public static - void MultiTexCoord3(OpenTK.Graphics.ES11.All texture, SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - Delegates.glMultiTexCoord3bvOES((OpenTK.Graphics.ES11.All)texture, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.ES11.All texture, SByte[] coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -24970,24 +13639,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bvOES")] - public static - void MultiTexCoord3(OpenTK.Graphics.ES11.All texture, ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - Delegates.glMultiTexCoord3bvOES((OpenTK.Graphics.ES11.All)texture, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.ES11.All texture, ref SByte coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -25004,91 +13656,24 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bvOES")] - public static - unsafe void MultiTexCoord3(OpenTK.Graphics.ES11.All texture, SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3bvOES((OpenTK.Graphics.ES11.All)texture, (SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord3(OpenTK.Graphics.ES11.All texture, SByte* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord3xOES")] - public static - void MultiTexCoord3x(OpenTK.Graphics.ES11.All texture, int s, int t, int r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3xOES((OpenTK.Graphics.ES11.All)texture, (int)s, (int)t, (int)r); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3x(OpenTK.Graphics.ES11.All texture, int s, int t, int r); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord3xvOES")] - public static - void MultiTexCoord3x(OpenTK.Graphics.ES11.All texture, int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - Delegates.glMultiTexCoord3xvOES((OpenTK.Graphics.ES11.All)texture, (int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3x(OpenTK.Graphics.ES11.All texture, int[] coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord3xvOES")] - public static - void MultiTexCoord3x(OpenTK.Graphics.ES11.All texture, ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - Delegates.glMultiTexCoord3xvOES((OpenTK.Graphics.ES11.All)texture, (int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3x(OpenTK.Graphics.ES11.All texture, ref int coords); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord3xvOES")] - public static - unsafe void MultiTexCoord3x(OpenTK.Graphics.ES11.All texture, int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3xvOES((OpenTK.Graphics.ES11.All)texture, (int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord3x(OpenTK.Graphics.ES11.All texture, int* coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -25104,18 +13689,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bOES")] - public static - void MultiTexCoord4(OpenTK.Graphics.ES11.All texture, Byte s, Byte t, Byte r, Byte q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4bOES((OpenTK.Graphics.ES11.All)texture, (SByte)s, (SByte)t, (SByte)r, (SByte)q); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.ES11.All texture, Byte s, Byte t, Byte r, Byte q); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -25132,18 +13706,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bOES")] - public static - void MultiTexCoord4(OpenTK.Graphics.ES11.All texture, SByte s, SByte t, SByte r, SByte q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4bOES((OpenTK.Graphics.ES11.All)texture, (SByte)s, (SByte)t, (SByte)r, (SByte)q); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.ES11.All texture, SByte s, SByte t, SByte r, SByte q); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -25159,24 +13722,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bvOES")] - public static - void MultiTexCoord4(OpenTK.Graphics.ES11.All texture, Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - Delegates.glMultiTexCoord4bvOES((OpenTK.Graphics.ES11.All)texture, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.ES11.All texture, Byte[] coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -25192,24 +13738,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bvOES")] - public static - void MultiTexCoord4(OpenTK.Graphics.ES11.All texture, ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - Delegates.glMultiTexCoord4bvOES((OpenTK.Graphics.ES11.All)texture, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.ES11.All texture, ref Byte coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -25226,18 +13755,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bvOES")] - public static - unsafe void MultiTexCoord4(OpenTK.Graphics.ES11.All texture, Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4bvOES((OpenTK.Graphics.ES11.All)texture, (SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord4(OpenTK.Graphics.ES11.All texture, Byte* coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -25254,24 +13772,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bvOES")] - public static - void MultiTexCoord4(OpenTK.Graphics.ES11.All texture, SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - Delegates.glMultiTexCoord4bvOES((OpenTK.Graphics.ES11.All)texture, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.ES11.All texture, SByte[] coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -25288,24 +13789,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bvOES")] - public static - void MultiTexCoord4(OpenTK.Graphics.ES11.All texture, ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - Delegates.glMultiTexCoord4bvOES((OpenTK.Graphics.ES11.All)texture, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.ES11.All texture, ref SByte coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -25322,280 +13806,67 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bvOES")] - public static - unsafe void MultiTexCoord4(OpenTK.Graphics.ES11.All texture, SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4bvOES((OpenTK.Graphics.ES11.All)texture, (SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord4(OpenTK.Graphics.ES11.All texture, SByte* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord4xOES")] - public static - void MultiTexCoord4x(OpenTK.Graphics.ES11.All texture, int s, int t, int r, int q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4xOES((OpenTK.Graphics.ES11.All)texture, (int)s, (int)t, (int)r, (int)q); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4x(OpenTK.Graphics.ES11.All texture, int s, int t, int r, int q); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord4xvOES")] - public static - void MultiTexCoord4x(OpenTK.Graphics.ES11.All texture, int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - Delegates.glMultiTexCoord4xvOES((OpenTK.Graphics.ES11.All)texture, (int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4x(OpenTK.Graphics.ES11.All texture, int[] coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord4xvOES")] - public static - void MultiTexCoord4x(OpenTK.Graphics.ES11.All texture, ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - Delegates.glMultiTexCoord4xvOES((OpenTK.Graphics.ES11.All)texture, (int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4x(OpenTK.Graphics.ES11.All texture, ref int coords); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord4xvOES")] - public static - unsafe void MultiTexCoord4x(OpenTK.Graphics.ES11.All texture, int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4xvOES((OpenTK.Graphics.ES11.All)texture, (int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord4x(OpenTK.Graphics.ES11.All texture, int* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultMatrixxOES")] - public static - void MultMatrixx(int[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = m) - { - Delegates.glMultMatrixxOES((int*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultMatrixx(int[] m); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultMatrixxOES")] - public static - void MultMatrixx(ref int m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = &m) - { - Delegates.glMultMatrixxOES((int*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultMatrixx(ref int m); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultMatrixxOES")] - public static - unsafe void MultMatrixx(int* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultMatrixxOES((int*)m); - #if DEBUG - } - #endif - } + public static extern unsafe void MultMatrixx(int* m); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultTransposeMatrixxOES")] - public static - void MultTransposeMatrixx(int[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = m) - { - Delegates.glMultTransposeMatrixxOES((int*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultTransposeMatrixx(int[] m); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultTransposeMatrixxOES")] - public static - void MultTransposeMatrixx(ref int m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = &m) - { - Delegates.glMultTransposeMatrixxOES((int*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultTransposeMatrixx(ref int m); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultTransposeMatrixxOES")] - public static - unsafe void MultTransposeMatrixx(int* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultTransposeMatrixxOES((int*)m); - #if DEBUG - } - #endif - } + public static extern unsafe void MultTransposeMatrixx(int* m); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glNormal3xOES")] - public static - void Normal3x(int nx, int ny, int nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3xOES((int)nx, (int)ny, (int)nz); - #if DEBUG - } - #endif - } + public static extern void Normal3x(int nx, int ny, int nz); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glNormal3xvOES")] - public static - void Normal3x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - Delegates.glNormal3xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Normal3x(int[] coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glNormal3xvOES")] - public static - void Normal3x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - Delegates.glNormal3xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Normal3x(ref int coords); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glNormal3xvOES")] - public static - unsafe void Normal3x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3xvOES((int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void Normal3x(int* coords); /// [requires: OES_single_precision] /// Multiply the current matrix with an orthographic matrix @@ -25616,751 +13887,181 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glOrthofOES")] - public static - void Ortho(Single l, Single r, Single b, Single t, Single n, Single f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glOrthofOES((Single)l, (Single)r, (Single)b, (Single)t, (Single)n, (Single)f); - #if DEBUG - } - #endif - } + public static extern void Ortho(Single l, Single r, Single b, Single t, Single n, Single f); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glOrthoxOES")] - public static - void Orthox(int l, int r, int b, int t, int n, int f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glOrthoxOES((int)l, (int)r, (int)b, (int)t, (int)n, (int)f); - #if DEBUG - } - #endif - } + public static extern void Orthox(int l, int r, int b, int t, int n, int f); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPassThroughxOES")] - public static - void PassThroughx(int token) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPassThroughxOES((int)token); - #if DEBUG - } - #endif - } + public static extern void PassThroughx(int token); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPixelTransferxOES")] - public static - void PixelTransferx(OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelTransferxOES((OpenTK.Graphics.ES11.All)pname, (int)param); - #if DEBUG - } - #endif - } + public static extern void PixelTransferx(OpenTK.Graphics.ES11.All pname, int param); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPixelZoomxOES")] - public static - void PixelZoomx(int xfactor, int yfactor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelZoomxOES((int)xfactor, (int)yfactor); - #if DEBUG - } - #endif - } + public static extern void PixelZoomx(int xfactor, int yfactor); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPointParameterxOES")] - public static - void PointParameterx(OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameterxOES((OpenTK.Graphics.ES11.All)pname, (int)param); - #if DEBUG - } - #endif - } + public static extern void PointParameterx(OpenTK.Graphics.ES11.All pname, int param); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPointParameterxvOES")] - public static - void PointParameterx(OpenTK.Graphics.ES11.All pname, int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glPointParameterxvOES((OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PointParameterx(OpenTK.Graphics.ES11.All pname, int[] @params); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPointParameterxvOES")] - public static - unsafe void PointParameterx(OpenTK.Graphics.ES11.All pname, int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameterxvOES((OpenTK.Graphics.ES11.All)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void PointParameterx(OpenTK.Graphics.ES11.All pname, int* @params); /// [requires: OES_point_size_array] [AutoGenerated(Category = "OES_point_size_array", Version = "", EntryPoint = "glPointSizePointerOES")] - public static - void PointSizePointer(OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointSizePointerOES((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void PointSizePointer(OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer); /// [requires: OES_point_size_array] [AutoGenerated(Category = "OES_point_size_array", Version = "", EntryPoint = "glPointSizePointerOES")] - public static - void PointSizePointer(OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) + public static extern void PointSizePointer(OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glPointSizePointerOES((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_point_size_array] [AutoGenerated(Category = "OES_point_size_array", Version = "", EntryPoint = "glPointSizePointerOES")] - public static - void PointSizePointer(OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) + public static extern void PointSizePointer(OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glPointSizePointerOES((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_point_size_array] [AutoGenerated(Category = "OES_point_size_array", Version = "", EntryPoint = "glPointSizePointerOES")] - public static - void PointSizePointer(OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) + public static extern void PointSizePointer(OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glPointSizePointerOES((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_point_size_array] [AutoGenerated(Category = "OES_point_size_array", Version = "", EntryPoint = "glPointSizePointerOES")] - public static - void PointSizePointer(OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) + public static extern void PointSizePointer(OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glPointSizePointerOES((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPointSizexOES")] - public static - void PointSizex(int size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointSizexOES((int)size); - #if DEBUG - } - #endif - } + public static extern void PointSizex(int size); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPolygonOffsetxOES")] - public static - void PolygonOffsetx(int factor, int units) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPolygonOffsetxOES((int)factor, (int)units); - #if DEBUG - } - #endif - } + public static extern void PolygonOffsetx(int factor, int units); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPrioritizeTexturesxOES")] - public static - void PrioritizeTexturesx(Int32 n, Int32[] textures, int[] priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - fixed (int* priorities_ptr = priorities) - { - Delegates.glPrioritizeTexturesxOES((Int32)n, (UInt32*)textures_ptr, (int*)priorities_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PrioritizeTexturesx(Int32 n, Int32[] textures, int[] priorities); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPrioritizeTexturesxOES")] - public static - void PrioritizeTexturesx(Int32 n, ref Int32 textures, ref int priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - fixed (int* priorities_ptr = &priorities) - { - Delegates.glPrioritizeTexturesxOES((Int32)n, (UInt32*)textures_ptr, (int*)priorities_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PrioritizeTexturesx(Int32 n, ref Int32 textures, ref int priorities); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPrioritizeTexturesxOES")] - public static - unsafe void PrioritizeTexturesx(Int32 n, Int32* textures, int* priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPrioritizeTexturesxOES((Int32)n, (UInt32*)textures, (int*)priorities); - #if DEBUG - } - #endif - } + public static extern unsafe void PrioritizeTexturesx(Int32 n, Int32* textures, int* priorities); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPrioritizeTexturesxOES")] - public static - void PrioritizeTexturesx(Int32 n, UInt32[] textures, int[] priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - fixed (int* priorities_ptr = priorities) - { - Delegates.glPrioritizeTexturesxOES((Int32)n, (UInt32*)textures_ptr, (int*)priorities_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PrioritizeTexturesx(Int32 n, UInt32[] textures, int[] priorities); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPrioritizeTexturesxOES")] - public static - void PrioritizeTexturesx(Int32 n, ref UInt32 textures, ref int priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - fixed (int* priorities_ptr = &priorities) - { - Delegates.glPrioritizeTexturesxOES((Int32)n, (UInt32*)textures_ptr, (int*)priorities_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PrioritizeTexturesx(Int32 n, ref UInt32 textures, ref int priorities); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPrioritizeTexturesxOES")] - public static - unsafe void PrioritizeTexturesx(Int32 n, UInt32* textures, int* priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPrioritizeTexturesxOES((Int32)n, (UInt32*)textures, (int*)priorities); - #if DEBUG - } - #endif - } + public static extern unsafe void PrioritizeTexturesx(Int32 n, UInt32* textures, int* priorities); /// [requires: OES_query_matrix] [AutoGenerated(Category = "OES_query_matrix", Version = "", EntryPoint = "glQueryMatrixxOES")] - public static - Int32 QueryMatrixx([OutAttribute] int[] mantissa, [OutAttribute] Int32[] exponent) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* mantissa_ptr = mantissa) - fixed (Int32* exponent_ptr = exponent) - { - return Delegates.glQueryMatrixxOES((int*)mantissa_ptr, (Int32*)exponent_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern Int32 QueryMatrixx([OutAttribute] int[] mantissa, [OutAttribute] Int32[] exponent); /// [requires: OES_query_matrix] [AutoGenerated(Category = "OES_query_matrix", Version = "", EntryPoint = "glQueryMatrixxOES")] - public static - Int32 QueryMatrixx([OutAttribute] out int mantissa, [OutAttribute] out Int32 exponent) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* mantissa_ptr = &mantissa) - fixed (Int32* exponent_ptr = &exponent) - { - Int32 retval = Delegates.glQueryMatrixxOES((int*)mantissa_ptr, (Int32*)exponent_ptr); - mantissa = *mantissa_ptr; - exponent = *exponent_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 QueryMatrixx([OutAttribute] out int mantissa, [OutAttribute] out Int32 exponent); /// [requires: OES_query_matrix] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_query_matrix", Version = "", EntryPoint = "glQueryMatrixxOES")] - public static - unsafe Int32 QueryMatrixx([OutAttribute] int* mantissa, [OutAttribute] Int32* exponent) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glQueryMatrixxOES((int*)mantissa, (Int32*)exponent); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 QueryMatrixx([OutAttribute] int* mantissa, [OutAttribute] Int32* exponent); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos2xOES")] - public static - void RasterPos2x(int x, int y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos2xOES((int)x, (int)y); - #if DEBUG - } - #endif - } + public static extern void RasterPos2x(int x, int y); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos2xvOES")] - public static - void RasterPos2x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - Delegates.glRasterPos2xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos2x(int[] coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos2xvOES")] - public static - void RasterPos2x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - Delegates.glRasterPos2xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos2x(ref int coords); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos2xvOES")] - public static - unsafe void RasterPos2x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos2xvOES((int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void RasterPos2x(int* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos3xOES")] - public static - void RasterPos3x(int x, int y, int z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos3xOES((int)x, (int)y, (int)z); - #if DEBUG - } - #endif - } + public static extern void RasterPos3x(int x, int y, int z); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos3xvOES")] - public static - void RasterPos3x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - Delegates.glRasterPos3xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos3x(int[] coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos3xvOES")] - public static - void RasterPos3x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - Delegates.glRasterPos3xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos3x(ref int coords); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos3xvOES")] - public static - unsafe void RasterPos3x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos3xvOES((int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void RasterPos3x(int* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos4xOES")] - public static - void RasterPos4x(int x, int y, int z, int w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos4xOES((int)x, (int)y, (int)z, (int)w); - #if DEBUG - } - #endif - } + public static extern void RasterPos4x(int x, int y, int z, int w); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos4xvOES")] - public static - void RasterPos4x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - Delegates.glRasterPos4xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos4x(int[] coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos4xvOES")] - public static - void RasterPos4x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - Delegates.glRasterPos4xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos4x(ref int coords); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos4xvOES")] - public static - unsafe void RasterPos4x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos4xvOES((int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void RasterPos4x(int* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRectxOES")] - public static - void Rectx(int x1, int y1, int x2, int y2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRectxOES((int)x1, (int)y1, (int)x2, (int)y2); - #if DEBUG - } - #endif - } + public static extern void Rectx(int x1, int y1, int x2, int y2); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRectxvOES")] - public static - void Rectx(int[] v1, int[] v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* v1_ptr = v1) - fixed (int* v2_ptr = v2) - { - Delegates.glRectxvOES((int*)v1_ptr, (int*)v2_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Rectx(int[] v1, int[] v2); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRectxvOES")] - public static - void Rectx(ref int v1, ref int v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* v1_ptr = &v1) - fixed (int* v2_ptr = &v2) - { - Delegates.glRectxvOES((int*)v1_ptr, (int*)v2_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Rectx(ref int v1, ref int v2); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRectxvOES")] - public static - unsafe void Rectx(int* v1, int* v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRectxvOES((int*)v1, (int*)v2); - #if DEBUG - } - #endif - } + public static extern unsafe void Rectx(int* v1, int* v2); /// [requires: OES_framebuffer_object] /// Establish data storage, format and dimensions of a renderbuffer object's image @@ -26386,33 +14087,11 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glRenderbufferStorageOES")] - public static - void RenderbufferStorage(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorage(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRotatexOES")] - public static - void Rotatex(int angle, int x, int y, int z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRotatexOES((int)angle, (int)x, (int)y, (int)z); - #if DEBUG - } - #endif - } + public static extern void Rotatex(int angle, int x, int y, int z); /// [requires: OES_fixed_point] /// Specify multisample coverage parameters @@ -26428,48 +14107,15 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glSampleCoverageOES")] - public static - void SampleCoverage(int value, bool invert) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSampleCoverageOES((int)value, (bool)invert); - #if DEBUG - } - #endif - } + public static extern void SampleCoverage(int value, bool invert); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glSampleCoveragexOES")] - public static - void SampleCoveragex(int value, bool invert) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSampleCoveragexOES((int)value, (bool)invert); - #if DEBUG - } - #endif - } + public static extern void SampleCoveragex(int value, bool invert); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glScalexOES")] - public static - void Scalex(int x, int y, int z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glScalexOES((int)x, (int)y, (int)z); - #if DEBUG - } - #endif - } + public static extern void Scalex(int x, int y, int z); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -26480,18 +14126,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord1bOES")] - public static - void TexCoord1(Byte s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord1bOES((SByte)s); - #if DEBUG - } - #endif - } + public static extern void TexCoord1(Byte s); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -26503,18 +14138,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord1bOES")] - public static - void TexCoord1(SByte s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord1bOES((SByte)s); - #if DEBUG - } - #endif - } + public static extern void TexCoord1(SByte s); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -26526,18 +14150,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord1bvOES")] - public static - unsafe void TexCoord1(Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord1bvOES((SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord1(Byte* coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -26549,49 +14162,16 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord1bvOES")] - public static - unsafe void TexCoord1(SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord1bvOES((SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord1(SByte* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord1xOES")] - public static - void TexCoord1x(int s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord1xOES((int)s); - #if DEBUG - } - #endif - } + public static extern void TexCoord1x(int s); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord1xvOES")] - public static - unsafe void TexCoord1x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord1xvOES((int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord1x(int* coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -26602,18 +14182,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bOES")] - public static - void TexCoord2(Byte s, Byte t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2bOES((SByte)s, (SByte)t); - #if DEBUG - } - #endif - } + public static extern void TexCoord2(Byte s, Byte t); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -26625,18 +14194,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bOES")] - public static - void TexCoord2(SByte s, SByte t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2bOES((SByte)s, (SByte)t); - #if DEBUG - } - #endif - } + public static extern void TexCoord2(SByte s, SByte t); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -26647,24 +14205,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bvOES")] - public static - void TexCoord2(Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - Delegates.glTexCoord2bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord2(Byte[] coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -26675,24 +14216,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bvOES")] - public static - void TexCoord2(ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - Delegates.glTexCoord2bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord2(ref Byte coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -26704,18 +14228,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bvOES")] - public static - unsafe void TexCoord2(Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2bvOES((SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord2(Byte* coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -26727,24 +14240,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bvOES")] - public static - void TexCoord2(SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - Delegates.glTexCoord2bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord2(SByte[] coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -26756,24 +14252,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bvOES")] - public static - void TexCoord2(ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - Delegates.glTexCoord2bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord2(ref SByte coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -26785,91 +14264,24 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bvOES")] - public static - unsafe void TexCoord2(SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2bvOES((SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord2(SByte* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord2xOES")] - public static - void TexCoord2x(int s, int t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2xOES((int)s, (int)t); - #if DEBUG - } - #endif - } + public static extern void TexCoord2x(int s, int t); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord2xvOES")] - public static - void TexCoord2x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - Delegates.glTexCoord2xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord2x(int[] coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord2xvOES")] - public static - void TexCoord2x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - Delegates.glTexCoord2xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord2x(ref int coords); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord2xvOES")] - public static - unsafe void TexCoord2x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2xvOES((int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord2x(int* coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -26880,18 +14292,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bOES")] - public static - void TexCoord3(Byte s, Byte t, Byte r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord3bOES((SByte)s, (SByte)t, (SByte)r); - #if DEBUG - } - #endif - } + public static extern void TexCoord3(Byte s, Byte t, Byte r); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -26903,18 +14304,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bOES")] - public static - void TexCoord3(SByte s, SByte t, SByte r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord3bOES((SByte)s, (SByte)t, (SByte)r); - #if DEBUG - } - #endif - } + public static extern void TexCoord3(SByte s, SByte t, SByte r); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -26925,24 +14315,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bvOES")] - public static - void TexCoord3(Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - Delegates.glTexCoord3bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord3(Byte[] coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -26953,24 +14326,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bvOES")] - public static - void TexCoord3(ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - Delegates.glTexCoord3bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord3(ref Byte coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -26982,18 +14338,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bvOES")] - public static - unsafe void TexCoord3(Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord3bvOES((SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord3(Byte* coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -27005,24 +14350,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bvOES")] - public static - void TexCoord3(SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - Delegates.glTexCoord3bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord3(SByte[] coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -27034,24 +14362,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bvOES")] - public static - void TexCoord3(ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - Delegates.glTexCoord3bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord3(ref SByte coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -27063,91 +14374,24 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bvOES")] - public static - unsafe void TexCoord3(SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord3bvOES((SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord3(SByte* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord3xOES")] - public static - void TexCoord3x(int s, int t, int r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord3xOES((int)s, (int)t, (int)r); - #if DEBUG - } - #endif - } + public static extern void TexCoord3x(int s, int t, int r); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord3xvOES")] - public static - void TexCoord3x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - Delegates.glTexCoord3xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord3x(int[] coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord3xvOES")] - public static - void TexCoord3x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - Delegates.glTexCoord3xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord3x(ref int coords); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord3xvOES")] - public static - unsafe void TexCoord3x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord3xvOES((int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord3x(int* coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -27158,18 +14402,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bOES")] - public static - void TexCoord4(Byte s, Byte t, Byte r, Byte q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4bOES((SByte)s, (SByte)t, (SByte)r, (SByte)q); - #if DEBUG - } - #endif - } + public static extern void TexCoord4(Byte s, Byte t, Byte r, Byte q); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -27181,18 +14414,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bOES")] - public static - void TexCoord4(SByte s, SByte t, SByte r, SByte q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4bOES((SByte)s, (SByte)t, (SByte)r, (SByte)q); - #if DEBUG - } - #endif - } + public static extern void TexCoord4(SByte s, SByte t, SByte r, SByte q); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -27203,24 +14425,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bvOES")] - public static - void TexCoord4(Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - Delegates.glTexCoord4bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord4(Byte[] coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -27231,24 +14436,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bvOES")] - public static - void TexCoord4(ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - Delegates.glTexCoord4bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord4(ref Byte coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -27260,18 +14448,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bvOES")] - public static - unsafe void TexCoord4(Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4bvOES((SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord4(Byte* coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -27283,24 +14460,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bvOES")] - public static - void TexCoord4(SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - Delegates.glTexCoord4bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord4(SByte[] coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -27312,24 +14472,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bvOES")] - public static - void TexCoord4(ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - Delegates.glTexCoord4bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord4(ref SByte coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -27341,143 +14484,37 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bvOES")] - public static - unsafe void TexCoord4(SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4bvOES((SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord4(SByte* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord4xOES")] - public static - void TexCoord4x(int s, int t, int r, int q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4xOES((int)s, (int)t, (int)r, (int)q); - #if DEBUG - } - #endif - } + public static extern void TexCoord4x(int s, int t, int r, int q); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord4xvOES")] - public static - void TexCoord4x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - Delegates.glTexCoord4xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord4x(int[] coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord4xvOES")] - public static - void TexCoord4x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - Delegates.glTexCoord4xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord4x(ref int coords); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord4xvOES")] - public static - unsafe void TexCoord4x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4xvOES((int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord4x(int* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexEnvxOES")] - public static - void TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexEnvxOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int)param); - #if DEBUG - } - #endif - } + public static extern void TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexEnvxvOES")] - public static - void TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glTexEnvxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int[] @params); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexEnvxvOES")] - public static - unsafe void TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexEnvxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params); /// [requires: OES_texture_cube_map] /// Control the generation of texture coordinates @@ -27498,18 +14535,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glTexGenfOES")] - public static - void TexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexGenfOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void TexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single param); /// [requires: OES_texture_cube_map] /// Control the generation of texture coordinates @@ -27530,24 +14556,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glTexGenfvOES")] - public static - void TexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glTexGenfvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single[] @params); /// [requires: OES_texture_cube_map] /// Control the generation of texture coordinates @@ -27569,18 +14578,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glTexGenfvOES")] - public static - unsafe void TexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexGenfvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single* @params); /// [requires: OES_texture_cube_map] /// Control the generation of texture coordinates @@ -27601,18 +14599,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glTexGeniOES")] - public static - void TexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexGeniOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void TexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32 param); /// [requires: OES_texture_cube_map] /// Control the generation of texture coordinates @@ -27633,24 +14620,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glTexGenivOES")] - public static - void TexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glTexGenivOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32[] @params); /// [requires: OES_texture_cube_map] /// Control the generation of texture coordinates @@ -27672,152 +14642,41 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glTexGenivOES")] - public static - unsafe void TexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexGenivOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32* @params); /// [requires: OES_fixed_point|OES_texture_cube_map] [AutoGenerated(Category = "OES_fixed_point|OES_texture_cube_map", Version = "", EntryPoint = "glTexGenxOES")] - public static - void TexGenx(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexGenxOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (int)param); - #if DEBUG - } - #endif - } + public static extern void TexGenx(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int param); /// [requires: OES_fixed_point|OES_texture_cube_map] [AutoGenerated(Category = "OES_fixed_point|OES_texture_cube_map", Version = "", EntryPoint = "glTexGenxvOES")] - public static - void TexGenx(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glTexGenxvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexGenx(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int[] @params); /// [requires: OES_fixed_point|OES_texture_cube_map] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point|OES_texture_cube_map", Version = "", EntryPoint = "glTexGenxvOES")] - public static - unsafe void TexGenx(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexGenxvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexGenx(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int* @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexParameterxOES")] - public static - void TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterxOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int)param); - #if DEBUG - } - #endif - } + public static extern void TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexParameterxvOES")] - public static - void TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glTexParameterxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int[] @params); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexParameterxvOES")] - public static - unsafe void TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTranslatexOES")] - public static - void Translatex(int x, int y, int z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTranslatexOES((int)x, (int)y, (int)z); - #if DEBUG - } - #endif - } + public static extern void Translatex(int x, int y, int z); /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glUnmapBufferOES")] - public static - bool UnmapBuffer(OpenTK.Graphics.ES11.All target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glUnmapBufferOES((OpenTK.Graphics.ES11.All)target); - #if DEBUG - } - #endif - } + public static extern bool UnmapBuffer(OpenTK.Graphics.ES11.All target); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -27828,18 +14687,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex2bOES")] - public static - void Vertex2(Byte x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2bOES((SByte)x); - #if DEBUG - } - #endif - } + public static extern void Vertex2(Byte x); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -27851,18 +14699,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex2bOES")] - public static - void Vertex2(SByte x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2bOES((SByte)x); - #if DEBUG - } - #endif - } + public static extern void Vertex2(SByte x); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -27873,24 +14710,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex2bvOES")] - public static - void Vertex2(Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - Delegates.glVertex2bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex2(Byte[] coords); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -27902,18 +14722,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex2bvOES")] - public static - unsafe void Vertex2(Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2bvOES((SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void Vertex2(Byte* coords); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -27925,24 +14734,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex2bvOES")] - public static - void Vertex2(SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - Delegates.glVertex2bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex2(SByte[] coords); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -27954,70 +14746,20 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex2bvOES")] - public static - unsafe void Vertex2(SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2bvOES((SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void Vertex2(SByte* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex2xOES")] - public static - void Vertex2x(int x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2xOES((int)x); - #if DEBUG - } - #endif - } + public static extern void Vertex2x(int x); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex2xvOES")] - public static - void Vertex2x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - Delegates.glVertex2xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex2x(int[] coords); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex2xvOES")] - public static - unsafe void Vertex2x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2xvOES((int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void Vertex2x(int* coords); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28028,18 +14770,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bOES")] - public static - void Vertex3(Byte x, Byte y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3bOES((SByte)x, (SByte)y); - #if DEBUG - } - #endif - } + public static extern void Vertex3(Byte x, Byte y); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28051,18 +14782,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bOES")] - public static - void Vertex3(SByte x, SByte y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3bOES((SByte)x, (SByte)y); - #if DEBUG - } - #endif - } + public static extern void Vertex3(SByte x, SByte y); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28073,24 +14793,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bvOES")] - public static - void Vertex3(Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - Delegates.glVertex3bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex3(Byte[] coords); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28101,24 +14804,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bvOES")] - public static - void Vertex3(ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - Delegates.glVertex3bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex3(ref Byte coords); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28130,18 +14816,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bvOES")] - public static - unsafe void Vertex3(Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3bvOES((SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void Vertex3(Byte* coords); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28153,24 +14828,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bvOES")] - public static - void Vertex3(SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - Delegates.glVertex3bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex3(SByte[] coords); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28182,24 +14840,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bvOES")] - public static - void Vertex3(ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - Delegates.glVertex3bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex3(ref SByte coords); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28211,91 +14852,24 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bvOES")] - public static - unsafe void Vertex3(SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3bvOES((SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void Vertex3(SByte* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex3xOES")] - public static - void Vertex3x(int x, int y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3xOES((int)x, (int)y); - #if DEBUG - } - #endif - } + public static extern void Vertex3x(int x, int y); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex3xvOES")] - public static - void Vertex3x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - Delegates.glVertex3xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex3x(int[] coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex3xvOES")] - public static - void Vertex3x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - Delegates.glVertex3xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex3x(ref int coords); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex3xvOES")] - public static - unsafe void Vertex3x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3xvOES((int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void Vertex3x(int* coords); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28306,18 +14880,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bOES")] - public static - void Vertex4(Byte x, Byte y, Byte z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4bOES((SByte)x, (SByte)y, (SByte)z); - #if DEBUG - } - #endif - } + public static extern void Vertex4(Byte x, Byte y, Byte z); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28329,18 +14892,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bOES")] - public static - void Vertex4(SByte x, SByte y, SByte z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4bOES((SByte)x, (SByte)y, (SByte)z); - #if DEBUG - } - #endif - } + public static extern void Vertex4(SByte x, SByte y, SByte z); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28351,24 +14903,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bvOES")] - public static - void Vertex4(Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - Delegates.glVertex4bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex4(Byte[] coords); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28379,24 +14914,7 @@ namespace OpenTK.Graphics.ES11 /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bvOES")] - public static - void Vertex4(ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - Delegates.glVertex4bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex4(ref Byte coords); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28408,18 +14926,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bvOES")] - public static - unsafe void Vertex4(Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4bvOES((SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void Vertex4(Byte* coords); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28431,24 +14938,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bvOES")] - public static - void Vertex4(SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - Delegates.glVertex4bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex4(SByte[] coords); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28460,24 +14950,7 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bvOES")] - public static - void Vertex4(ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - Delegates.glVertex4bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex4(ref SByte coords); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -28489,203 +14962,52 @@ namespace OpenTK.Graphics.ES11 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bvOES")] - public static - unsafe void Vertex4(SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4bvOES((SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void Vertex4(SByte* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex4xOES")] - public static - void Vertex4x(int x, int y, int z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4xOES((int)x, (int)y, (int)z); - #if DEBUG - } - #endif - } + public static extern void Vertex4x(int x, int y, int z); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex4xvOES")] - public static - void Vertex4x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - Delegates.glVertex4xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex4x(int[] coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex4xvOES")] - public static - void Vertex4x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - Delegates.glVertex4xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex4x(ref int coords); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex4xvOES")] - public static - unsafe void Vertex4x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4xvOES((int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void Vertex4x(int* coords); /// [requires: OES_matrix_palette] [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glWeightPointerOES")] - public static - void WeightPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWeightPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void WeightPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer); /// [requires: OES_matrix_palette] [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glWeightPointerOES")] - public static - void WeightPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) + public static extern void WeightPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glWeightPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_matrix_palette] [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glWeightPointerOES")] - public static - void WeightPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) + public static extern void WeightPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glWeightPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_matrix_palette] [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glWeightPointerOES")] - public static - void WeightPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) + public static extern void WeightPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glWeightPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_matrix_palette] [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glWeightPointerOES")] - public static - void WeightPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) + public static extern void WeightPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glWeightPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; } @@ -28693,1641 +15015,1539 @@ namespace OpenTK.Graphics.ES11 { /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glDisableDriverControlQCOM")] - public static - void DisableDriverControl(Int32 driverControl) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableDriverControlQCOM((UInt32)driverControl); - #if DEBUG - } - #endif - } + public static extern void DisableDriverControl(Int32 driverControl); /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glDisableDriverControlQCOM")] - public static - void DisableDriverControl(UInt32 driverControl) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableDriverControlQCOM((UInt32)driverControl); - #if DEBUG - } - #endif - } + public static extern void DisableDriverControl(UInt32 driverControl); /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glEnableDriverControlQCOM")] - public static - void EnableDriverControl(Int32 driverControl) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableDriverControlQCOM((UInt32)driverControl); - #if DEBUG - } - #endif - } + public static extern void EnableDriverControl(Int32 driverControl); /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glEnableDriverControlQCOM")] - public static - void EnableDriverControl(UInt32 driverControl) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableDriverControlQCOM((UInt32)driverControl); - #if DEBUG - } - #endif - } + public static extern void EnableDriverControl(UInt32 driverControl); /// [requires: QCOM_tiled_rendering] [AutoGenerated(Category = "QCOM_tiled_rendering", Version = "", EntryPoint = "glEndTilingQCOM")] - public static - void EndTiling(Int32 preserveMask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndTilingQCOM((UInt32)preserveMask); - #if DEBUG - } - #endif - } + public static extern void EndTiling(Int32 preserveMask); /// [requires: QCOM_tiled_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_tiled_rendering", Version = "", EntryPoint = "glEndTilingQCOM")] - public static - void EndTiling(UInt32 preserveMask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndTilingQCOM((UInt32)preserveMask); - #if DEBUG - } - #endif - } + public static extern void EndTiling(UInt32 preserveMask); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")] - public static - void ExtGetBufferPointer(OpenTK.Graphics.ES11.All target, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetBufferPointervQCOM((OpenTK.Graphics.ES11.All)target, (IntPtr)@params); - #if DEBUG - } - #endif - } + public static extern void ExtGetBufferPointer(OpenTK.Graphics.ES11.All target, [OutAttribute] IntPtr @params); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")] - public static - void ExtGetBufferPointer(OpenTK.Graphics.ES11.All target, [InAttribute, OutAttribute] T1[] @params) + public static extern void ExtGetBufferPointer(OpenTK.Graphics.ES11.All target, [InAttribute, OutAttribute] T1[] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glExtGetBufferPointervQCOM((OpenTK.Graphics.ES11.All)target, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")] - public static - void ExtGetBufferPointer(OpenTK.Graphics.ES11.All target, [InAttribute, OutAttribute] T1[,] @params) + public static extern void ExtGetBufferPointer(OpenTK.Graphics.ES11.All target, [InAttribute, OutAttribute] T1[,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glExtGetBufferPointervQCOM((OpenTK.Graphics.ES11.All)target, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")] - public static - void ExtGetBufferPointer(OpenTK.Graphics.ES11.All target, [InAttribute, OutAttribute] T1[,,] @params) + public static extern void ExtGetBufferPointer(OpenTK.Graphics.ES11.All target, [InAttribute, OutAttribute] T1[,,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glExtGetBufferPointervQCOM((OpenTK.Graphics.ES11.All)target, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")] - public static - void ExtGetBufferPointer(OpenTK.Graphics.ES11.All target, [InAttribute, OutAttribute] ref T1 @params) + public static extern void ExtGetBufferPointer(OpenTK.Graphics.ES11.All target, [InAttribute, OutAttribute] ref T1 @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glExtGetBufferPointervQCOM((OpenTK.Graphics.ES11.All)target, (IntPtr)@params_ptr.AddrOfPinnedObject()); - @params = (T1)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - public static - void ExtGetBuffers([OutAttribute] Int32[] buffers, Int32 maxBuffers, [OutAttribute] Int32[] numBuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - fixed (Int32* numBuffers_ptr = numBuffers) - { - Delegates.glExtGetBuffersQCOM((UInt32*)buffers_ptr, (Int32)maxBuffers, (Int32*)numBuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetBuffers([OutAttribute] Int32[] buffers, Int32 maxBuffers, [OutAttribute] Int32[] numBuffers); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - public static - void ExtGetBuffers([OutAttribute] out Int32 buffers, Int32 maxBuffers, [OutAttribute] out Int32 numBuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - fixed (Int32* numBuffers_ptr = &numBuffers) - { - Delegates.glExtGetBuffersQCOM((UInt32*)buffers_ptr, (Int32)maxBuffers, (Int32*)numBuffers_ptr); - buffers = *buffers_ptr; - numBuffers = *numBuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetBuffers([OutAttribute] out Int32 buffers, Int32 maxBuffers, [OutAttribute] out Int32 numBuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - public static - unsafe void ExtGetBuffers([OutAttribute] Int32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetBuffersQCOM((UInt32*)buffers, (Int32)maxBuffers, (Int32*)numBuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetBuffers([OutAttribute] Int32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - public static - void ExtGetBuffers([OutAttribute] UInt32[] buffers, Int32 maxBuffers, [OutAttribute] Int32[] numBuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - fixed (Int32* numBuffers_ptr = numBuffers) - { - Delegates.glExtGetBuffersQCOM((UInt32*)buffers_ptr, (Int32)maxBuffers, (Int32*)numBuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetBuffers([OutAttribute] UInt32[] buffers, Int32 maxBuffers, [OutAttribute] Int32[] numBuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - public static - void ExtGetBuffers([OutAttribute] out UInt32 buffers, Int32 maxBuffers, [OutAttribute] out Int32 numBuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - fixed (Int32* numBuffers_ptr = &numBuffers) - { - Delegates.glExtGetBuffersQCOM((UInt32*)buffers_ptr, (Int32)maxBuffers, (Int32*)numBuffers_ptr); - buffers = *buffers_ptr; - numBuffers = *numBuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetBuffers([OutAttribute] out UInt32 buffers, Int32 maxBuffers, [OutAttribute] out Int32 numBuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - public static - unsafe void ExtGetBuffers([OutAttribute] UInt32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetBuffersQCOM((UInt32*)buffers, (Int32)maxBuffers, (Int32*)numBuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetBuffers([OutAttribute] UInt32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static - void ExtGetFramebuffers([OutAttribute] Int32[] framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32[] numFramebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - fixed (Int32* numFramebuffers_ptr = numFramebuffers) - { - Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers_ptr, (Int32)maxFramebuffers, (Int32*)numFramebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetFramebuffers([OutAttribute] Int32[] framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32[] numFramebuffers); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static - void ExtGetFramebuffers([OutAttribute] out Int32 framebuffers, Int32 maxFramebuffers, [OutAttribute] out Int32 numFramebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - fixed (Int32* numFramebuffers_ptr = &numFramebuffers) - { - Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers_ptr, (Int32)maxFramebuffers, (Int32*)numFramebuffers_ptr); - framebuffers = *framebuffers_ptr; - numFramebuffers = *numFramebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetFramebuffers([OutAttribute] out Int32 framebuffers, Int32 maxFramebuffers, [OutAttribute] out Int32 numFramebuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static - unsafe void ExtGetFramebuffers([OutAttribute] Int32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers, (Int32)maxFramebuffers, (Int32*)numFramebuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetFramebuffers([OutAttribute] Int32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static - void ExtGetFramebuffers([OutAttribute] UInt32[] framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32[] numFramebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = framebuffers) - fixed (Int32* numFramebuffers_ptr = numFramebuffers) - { - Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers_ptr, (Int32)maxFramebuffers, (Int32*)numFramebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetFramebuffers([OutAttribute] UInt32[] framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32[] numFramebuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static - void ExtGetFramebuffers([OutAttribute] out UInt32 framebuffers, Int32 maxFramebuffers, [OutAttribute] out Int32 numFramebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = &framebuffers) - fixed (Int32* numFramebuffers_ptr = &numFramebuffers) - { - Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers_ptr, (Int32)maxFramebuffers, (Int32*)numFramebuffers_ptr); - framebuffers = *framebuffers_ptr; - numFramebuffers = *numFramebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetFramebuffers([OutAttribute] out UInt32 framebuffers, Int32 maxFramebuffers, [OutAttribute] out Int32 numFramebuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static - unsafe void ExtGetFramebuffers([OutAttribute] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers, (Int32)maxFramebuffers, (Int32*)numFramebuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetFramebuffers([OutAttribute] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers); /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static - void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES11.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32[] length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES11.All)shadertype, (StringBuilder)source, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES11.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32[] length); /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static - void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES11.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] out Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES11.All)shadertype, (StringBuilder)source, (Int32*)length_ptr); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES11.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] out Int32 length); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static - unsafe void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES11.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES11.All)shadertype, (StringBuilder)source, (Int32*)length); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES11.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32* length); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static - void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES11.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32[] length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES11.All)shadertype, (StringBuilder)source, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES11.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32[] length); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static - void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES11.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] out Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES11.All)shadertype, (StringBuilder)source, (Int32*)length_ptr); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES11.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] out Int32 length); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static - unsafe void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES11.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES11.All)shadertype, (StringBuilder)source, (Int32*)length); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES11.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32* length); /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static - void ExtGetProgram([OutAttribute] Int32[] programs, Int32 maxPrograms, [OutAttribute] Int32[] numPrograms) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = programs) - fixed (Int32* numPrograms_ptr = numPrograms) - { - Delegates.glExtGetProgramsQCOM((UInt32*)programs_ptr, (Int32)maxPrograms, (Int32*)numPrograms_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetProgram([OutAttribute] Int32[] programs, Int32 maxPrograms, [OutAttribute] Int32[] numPrograms); /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static - void ExtGetProgram([OutAttribute] out Int32 programs, Int32 maxPrograms, [OutAttribute] out Int32 numPrograms) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = &programs) - fixed (Int32* numPrograms_ptr = &numPrograms) - { - Delegates.glExtGetProgramsQCOM((UInt32*)programs_ptr, (Int32)maxPrograms, (Int32*)numPrograms_ptr); - programs = *programs_ptr; - numPrograms = *numPrograms_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetProgram([OutAttribute] out Int32 programs, Int32 maxPrograms, [OutAttribute] out Int32 numPrograms); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static - unsafe void ExtGetProgram([OutAttribute] Int32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetProgramsQCOM((UInt32*)programs, (Int32)maxPrograms, (Int32*)numPrograms); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetProgram([OutAttribute] Int32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static - void ExtGetProgram([OutAttribute] UInt32[] programs, Int32 maxPrograms, [OutAttribute] Int32[] numPrograms) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = programs) - fixed (Int32* numPrograms_ptr = numPrograms) - { - Delegates.glExtGetProgramsQCOM((UInt32*)programs_ptr, (Int32)maxPrograms, (Int32*)numPrograms_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetProgram([OutAttribute] UInt32[] programs, Int32 maxPrograms, [OutAttribute] Int32[] numPrograms); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static - void ExtGetProgram([OutAttribute] out UInt32 programs, Int32 maxPrograms, [OutAttribute] out Int32 numPrograms) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = &programs) - fixed (Int32* numPrograms_ptr = &numPrograms) - { - Delegates.glExtGetProgramsQCOM((UInt32*)programs_ptr, (Int32)maxPrograms, (Int32*)numPrograms_ptr); - programs = *programs_ptr; - numPrograms = *numPrograms_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetProgram([OutAttribute] out UInt32 programs, Int32 maxPrograms, [OutAttribute] out Int32 numPrograms); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static - unsafe void ExtGetProgram([OutAttribute] UInt32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetProgramsQCOM((UInt32*)programs, (Int32)maxPrograms, (Int32*)numPrograms); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetProgram([OutAttribute] UInt32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static - void ExtGetRenderbuffers([OutAttribute] Int32[] renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32[] numRenderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = renderbuffers) - fixed (Int32* numRenderbuffers_ptr = numRenderbuffers) - { - Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers_ptr, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetRenderbuffers([OutAttribute] Int32[] renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32[] numRenderbuffers); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static - void ExtGetRenderbuffers([OutAttribute] out Int32 renderbuffers, Int32 maxRenderbuffers, [OutAttribute] out Int32 numRenderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = &renderbuffers) - fixed (Int32* numRenderbuffers_ptr = &numRenderbuffers) - { - Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers_ptr, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers_ptr); - renderbuffers = *renderbuffers_ptr; - numRenderbuffers = *numRenderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetRenderbuffers([OutAttribute] out Int32 renderbuffers, Int32 maxRenderbuffers, [OutAttribute] out Int32 numRenderbuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static - unsafe void ExtGetRenderbuffers([OutAttribute] Int32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetRenderbuffers([OutAttribute] Int32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static - void ExtGetRenderbuffers([OutAttribute] UInt32[] renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32[] numRenderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = renderbuffers) - fixed (Int32* numRenderbuffers_ptr = numRenderbuffers) - { - Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers_ptr, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetRenderbuffers([OutAttribute] UInt32[] renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32[] numRenderbuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static - void ExtGetRenderbuffers([OutAttribute] out UInt32 renderbuffers, Int32 maxRenderbuffers, [OutAttribute] out Int32 numRenderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) - fixed (Int32* numRenderbuffers_ptr = &numRenderbuffers) - { - Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers_ptr, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers_ptr); - renderbuffers = *renderbuffers_ptr; - numRenderbuffers = *numRenderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetRenderbuffers([OutAttribute] out UInt32 renderbuffers, Int32 maxRenderbuffers, [OutAttribute] out Int32 numRenderbuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static - unsafe void ExtGetRenderbuffers([OutAttribute] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetRenderbuffers([OutAttribute] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers); /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static - void ExtGetShaders([OutAttribute] Int32[] shaders, Int32 maxShaders, [OutAttribute] Int32[] numShaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = shaders) - fixed (Int32* numShaders_ptr = numShaders) - { - Delegates.glExtGetShadersQCOM((UInt32*)shaders_ptr, (Int32)maxShaders, (Int32*)numShaders_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetShaders([OutAttribute] Int32[] shaders, Int32 maxShaders, [OutAttribute] Int32[] numShaders); /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static - void ExtGetShaders([OutAttribute] out Int32 shaders, Int32 maxShaders, [OutAttribute] out Int32 numShaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = &shaders) - fixed (Int32* numShaders_ptr = &numShaders) - { - Delegates.glExtGetShadersQCOM((UInt32*)shaders_ptr, (Int32)maxShaders, (Int32*)numShaders_ptr); - shaders = *shaders_ptr; - numShaders = *numShaders_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetShaders([OutAttribute] out Int32 shaders, Int32 maxShaders, [OutAttribute] out Int32 numShaders); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static - unsafe void ExtGetShaders([OutAttribute] Int32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetShadersQCOM((UInt32*)shaders, (Int32)maxShaders, (Int32*)numShaders); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetShaders([OutAttribute] Int32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static - void ExtGetShaders([OutAttribute] UInt32[] shaders, Int32 maxShaders, [OutAttribute] Int32[] numShaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = shaders) - fixed (Int32* numShaders_ptr = numShaders) - { - Delegates.glExtGetShadersQCOM((UInt32*)shaders_ptr, (Int32)maxShaders, (Int32*)numShaders_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetShaders([OutAttribute] UInt32[] shaders, Int32 maxShaders, [OutAttribute] Int32[] numShaders); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static - void ExtGetShaders([OutAttribute] out UInt32 shaders, Int32 maxShaders, [OutAttribute] out Int32 numShaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = &shaders) - fixed (Int32* numShaders_ptr = &numShaders) - { - Delegates.glExtGetShadersQCOM((UInt32*)shaders_ptr, (Int32)maxShaders, (Int32*)numShaders_ptr); - shaders = *shaders_ptr; - numShaders = *numShaders_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetShaders([OutAttribute] out UInt32 shaders, Int32 maxShaders, [OutAttribute] out Int32 numShaders); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static - unsafe void ExtGetShaders([OutAttribute] UInt32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetShadersQCOM((UInt32*)shaders, (Int32)maxShaders, (Int32*)numShaders); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetShaders([OutAttribute] UInt32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static - void ExtGetTexLevelParameter(Int32 texture, OpenTK.Graphics.ES11.All face, Int32 level, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES11.All)face, (Int32)level, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetTexLevelParameter(Int32 texture, OpenTK.Graphics.ES11.All face, Int32 level, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32[] @params); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static - void ExtGetTexLevelParameter(Int32 texture, OpenTK.Graphics.ES11.All face, Int32 level, OpenTK.Graphics.ES11.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES11.All)face, (Int32)level, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetTexLevelParameter(Int32 texture, OpenTK.Graphics.ES11.All face, Int32 level, OpenTK.Graphics.ES11.All pname, [OutAttribute] out Int32 @params); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static - unsafe void ExtGetTexLevelParameter(Int32 texture, OpenTK.Graphics.ES11.All face, Int32 level, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES11.All)face, (Int32)level, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetTexLevelParameter(Int32 texture, OpenTK.Graphics.ES11.All face, Int32 level, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static - void ExtGetTexLevelParameter(UInt32 texture, OpenTK.Graphics.ES11.All face, Int32 level, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES11.All)face, (Int32)level, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetTexLevelParameter(UInt32 texture, OpenTK.Graphics.ES11.All face, Int32 level, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32[] @params); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static - void ExtGetTexLevelParameter(UInt32 texture, OpenTK.Graphics.ES11.All face, Int32 level, OpenTK.Graphics.ES11.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES11.All)face, (Int32)level, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetTexLevelParameter(UInt32 texture, OpenTK.Graphics.ES11.All face, Int32 level, OpenTK.Graphics.ES11.All pname, [OutAttribute] out Int32 @params); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static - unsafe void ExtGetTexLevelParameter(UInt32 texture, OpenTK.Graphics.ES11.All face, Int32 level, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES11.All)face, (Int32)level, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetTexLevelParameter(UInt32 texture, OpenTK.Graphics.ES11.All face, Int32 level, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")] - public static - void ExtGetTexSubImage(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [OutAttribute] IntPtr texels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetTexSubImageQCOM((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)texels); - #if DEBUG - } - #endif - } + public static extern void ExtGetTexSubImage(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [OutAttribute] IntPtr texels); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")] - public static - void ExtGetTexSubImage(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T10[] texels) + public static extern void ExtGetTexSubImage(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T10[] texels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle texels_ptr = GCHandle.Alloc(texels, GCHandleType.Pinned); - try - { - Delegates.glExtGetTexSubImageQCOM((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)texels_ptr.AddrOfPinnedObject()); - } - finally - { - texels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")] - public static - void ExtGetTexSubImage(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T10[,] texels) + public static extern void ExtGetTexSubImage(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T10[,] texels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle texels_ptr = GCHandle.Alloc(texels, GCHandleType.Pinned); - try - { - Delegates.glExtGetTexSubImageQCOM((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)texels_ptr.AddrOfPinnedObject()); - } - finally - { - texels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")] - public static - void ExtGetTexSubImage(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T10[,,] texels) + public static extern void ExtGetTexSubImage(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T10[,,] texels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle texels_ptr = GCHandle.Alloc(texels, GCHandleType.Pinned); - try - { - Delegates.glExtGetTexSubImageQCOM((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)texels_ptr.AddrOfPinnedObject()); - } - finally - { - texels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")] - public static - void ExtGetTexSubImage(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] ref T10 texels) + public static extern void ExtGetTexSubImage(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] ref T10 texels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle texels_ptr = GCHandle.Alloc(texels, GCHandleType.Pinned); - try - { - Delegates.glExtGetTexSubImageQCOM((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)texels_ptr.AddrOfPinnedObject()); - texels = (T10)texels_ptr.Target; - } - finally - { - texels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")] - public static - void ExtGetTextures([OutAttribute] Int32[] textures, Int32 maxTextures, [OutAttribute] Int32[] numTextures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - fixed (Int32* numTextures_ptr = numTextures) - { - Delegates.glExtGetTexturesQCOM((UInt32*)textures_ptr, (Int32)maxTextures, (Int32*)numTextures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetTextures([OutAttribute] Int32[] textures, Int32 maxTextures, [OutAttribute] Int32[] numTextures); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")] - public static - void ExtGetTextures([OutAttribute] out Int32 textures, Int32 maxTextures, [OutAttribute] out Int32 numTextures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - fixed (Int32* numTextures_ptr = &numTextures) - { - Delegates.glExtGetTexturesQCOM((UInt32*)textures_ptr, (Int32)maxTextures, (Int32*)numTextures_ptr); - textures = *textures_ptr; - numTextures = *numTextures_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetTextures([OutAttribute] out Int32 textures, Int32 maxTextures, [OutAttribute] out Int32 numTextures); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")] - public static - unsafe void ExtGetTextures([OutAttribute] Int32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetTexturesQCOM((UInt32*)textures, (Int32)maxTextures, (Int32*)numTextures); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetTextures([OutAttribute] Int32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")] - public static - void ExtGetTextures([OutAttribute] UInt32[] textures, Int32 maxTextures, [OutAttribute] Int32[] numTextures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - fixed (Int32* numTextures_ptr = numTextures) - { - Delegates.glExtGetTexturesQCOM((UInt32*)textures_ptr, (Int32)maxTextures, (Int32*)numTextures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetTextures([OutAttribute] UInt32[] textures, Int32 maxTextures, [OutAttribute] Int32[] numTextures); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")] - public static - void ExtGetTextures([OutAttribute] out UInt32 textures, Int32 maxTextures, [OutAttribute] out Int32 numTextures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - fixed (Int32* numTextures_ptr = &numTextures) - { - Delegates.glExtGetTexturesQCOM((UInt32*)textures_ptr, (Int32)maxTextures, (Int32*)numTextures_ptr); - textures = *textures_ptr; - numTextures = *numTextures_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetTextures([OutAttribute] out UInt32 textures, Int32 maxTextures, [OutAttribute] out Int32 numTextures); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")] - public static - unsafe void ExtGetTextures([OutAttribute] UInt32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetTexturesQCOM((UInt32*)textures, (Int32)maxTextures, (Int32*)numTextures); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetTextures([OutAttribute] UInt32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures); /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtIsProgramBinaryQCOM")] - public static - bool ExtIsProgramBinary(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glExtIsProgramBinaryQCOM((UInt32)program); - #if DEBUG - } - #endif - } + public static extern bool ExtIsProgramBinary(Int32 program); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtIsProgramBinaryQCOM")] - public static - bool ExtIsProgramBinary(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glExtIsProgramBinaryQCOM((UInt32)program); - #if DEBUG - } - #endif - } + public static extern bool ExtIsProgramBinary(UInt32 program); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtTexObjectStateOverrideiQCOM")] - public static - void ExtTexObjectStateOverride(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtTexObjectStateOverrideiQCOM((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void ExtTexObjectStateOverride(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32 param); /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static - void GetDriverControl([OutAttribute] Int32[] num, Int32 size, [OutAttribute] Int32[] driverControls) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* num_ptr = num) - fixed (Int32* driverControls_ptr = driverControls) - { - Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetDriverControl([OutAttribute] Int32[] num, Int32 size, [OutAttribute] Int32[] driverControls); /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static - void GetDriverControl([OutAttribute] Int32[] num, Int32 size, [OutAttribute] UInt32[] driverControls) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* num_ptr = num) - fixed (UInt32* driverControls_ptr = driverControls) - { - Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetDriverControl([OutAttribute] Int32[] num, Int32 size, [OutAttribute] UInt32[] driverControls); /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static - void GetDriverControl([OutAttribute] out Int32 num, Int32 size, [OutAttribute] out Int32 driverControls) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* num_ptr = &num) - fixed (Int32* driverControls_ptr = &driverControls) - { - Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr); - num = *num_ptr; - driverControls = *driverControls_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetDriverControl([OutAttribute] out Int32 num, Int32 size, [OutAttribute] out Int32 driverControls); /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static - void GetDriverControl([OutAttribute] out Int32 num, Int32 size, [OutAttribute] out UInt32 driverControls) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* num_ptr = &num) - fixed (UInt32* driverControls_ptr = &driverControls) - { - Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr); - num = *num_ptr; - driverControls = *driverControls_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetDriverControl([OutAttribute] out Int32 num, Int32 size, [OutAttribute] out UInt32 driverControls); /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static - unsafe void GetDriverControl([OutAttribute] Int32* num, Int32 size, [OutAttribute] Int32* driverControls) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetDriverControlsQCOM((Int32*)num, (Int32)size, (UInt32*)driverControls); - #if DEBUG - } - #endif - } + public static extern unsafe void GetDriverControl([OutAttribute] Int32* num, Int32 size, [OutAttribute] Int32* driverControls); /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static - unsafe void GetDriverControl([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetDriverControlsQCOM((Int32*)num, (Int32)size, (UInt32*)driverControls); - #if DEBUG - } - #endif - } + public static extern unsafe void GetDriverControl([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls); /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static - void GetDriverControlString(Int32 driverControl, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder driverControlString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)driverControlString); - } - } - #if DEBUG - } - #endif - } + public static extern void GetDriverControlString(Int32 driverControl, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder driverControlString); /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static - void GetDriverControlString(Int32 driverControl, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder driverControlString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)driverControlString); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetDriverControlString(Int32 driverControl, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder driverControlString); /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static - unsafe void GetDriverControlString(Int32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length, (StringBuilder)driverControlString); - #if DEBUG - } - #endif - } + public static extern unsafe void GetDriverControlString(Int32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString); /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static - void GetDriverControlString(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder driverControlString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)driverControlString); - } - } - #if DEBUG - } - #endif - } + public static extern void GetDriverControlString(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder driverControlString); /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static - void GetDriverControlString(UInt32 driverControl, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder driverControlString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)driverControlString); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetDriverControlString(UInt32 driverControl, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder driverControlString); /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static - unsafe void GetDriverControlString(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length, (StringBuilder)driverControlString); - #if DEBUG - } - #endif - } + public static extern unsafe void GetDriverControlString(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString); /// [requires: QCOM_tiled_rendering] [AutoGenerated(Category = "QCOM_tiled_rendering", Version = "", EntryPoint = "glStartTilingQCOM")] - public static - void StartTiling(Int32 x, Int32 y, Int32 width, Int32 height, Int32 preserveMask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStartTilingQCOM((UInt32)x, (UInt32)y, (UInt32)width, (UInt32)height, (UInt32)preserveMask); - #if DEBUG - } - #endif - } + public static extern void StartTiling(Int32 x, Int32 y, Int32 width, Int32 height, Int32 preserveMask); /// [requires: QCOM_tiled_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_tiled_rendering", Version = "", EntryPoint = "glStartTilingQCOM")] - public static - void StartTiling(UInt32 x, UInt32 y, UInt32 width, UInt32 height, UInt32 preserveMask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStartTilingQCOM((UInt32)x, (UInt32)y, (UInt32)width, (UInt32)height, (UInt32)preserveMask); - #if DEBUG - } - #endif - } + public static extern void StartTiling(UInt32 x, UInt32 y, UInt32 width, UInt32 height, UInt32 preserveMask); } + [Slot(31)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern System.Int32 glClientWaitSyncAPPLE(IntPtr sync, UInt32 flags, UInt64 timeout); + [Slot(53)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyTextureLevelsAPPLE(UInt32 destinationTexture, UInt32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount); + [Slot(60)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDeleteSyncAPPLE(IntPtr sync); + [Slot(106)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern IntPtr glFenceSyncAPPLE(System.Int32 condition, UInt32 flags); + [Slot(151)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetInteger64vAPPLE(System.Int32 pname, [OutAttribute] Int64* @params); + [Slot(168)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetSyncivAPPLE(IntPtr sync, System.Int32 pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); + [Slot(189)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsSyncAPPLE(IntPtr sync); + [Slot(294)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRenderbufferStorageMultisampleAPPLE(System.Int32 target, Int32 samples, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(298)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glResolveMultisampleFramebufferAPPLE(); + [Slot(382)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWaitSyncAPPLE(IntPtr sync, UInt32 flags, UInt64 timeout); + [Slot(1)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glActiveTexture(System.Int32 texture); + [Slot(2)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glAlphaFunc(System.Int32 func, Single @ref); + [Slot(3)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glAlphaFuncx(System.Int32 func, int @ref); + [Slot(5)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindBuffer(System.Int32 target, UInt32 buffer); + [Slot(8)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindTexture(System.Int32 target, UInt32 texture); + [Slot(15)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendFunc(System.Int32 sfactor, System.Int32 dfactor); + [Slot(17)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBufferData(System.Int32 target, IntPtr size, IntPtr data, System.Int32 usage); + [Slot(18)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBufferSubData(System.Int32 target, IntPtr offset, IntPtr size, IntPtr data); + [Slot(20)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClear(System.Int32 mask); + [Slot(22)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearColor(Single red, Single green, Single blue, Single alpha); + [Slot(23)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearColorx(int red, int green, int blue, int alpha); + [Slot(25)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearDepthf(Single d); + [Slot(27)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearDepthx(int depth); + [Slot(29)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearStencil(Int32 s); + [Slot(30)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClientActiveTexture(System.Int32 texture); + [Slot(32)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glClipPlanef(System.Int32 p, Single* eqn); + [Slot(35)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glClipPlanex(System.Int32 plane, int* equation); + [Slot(40)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColor4f(Single red, Single green, Single blue, Single alpha); + [Slot(41)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColor4ub(Byte red, Byte green, Byte blue, Byte alpha); + [Slot(42)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColor4x(int red, int green, int blue, int alpha); + [Slot(45)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColorMask(bool red, bool green, bool blue, bool alpha); + [Slot(46)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColorPointer(Int32 size, System.Int32 type, Int32 stride, IntPtr pointer); + [Slot(47)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTexImage2D(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); + [Slot(48)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTexSubImage2D(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, System.Int32 format, Int32 imageSize, IntPtr data); + [Slot(51)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyTexImage2D(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); + [Slot(52)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyTexSubImage2D(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [Slot(54)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCullFace(System.Int32 mode); + [Slot(56)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteBuffers(Int32 n, UInt32* buffers); + [Slot(61)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteTextures(Int32 n, UInt32* textures); + [Slot(63)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDepthFunc(System.Int32 func); + [Slot(64)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDepthMask(bool flag); + [Slot(65)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDepthRangef(Single n, Single f); + [Slot(67)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDepthRangex(int n, int f); + [Slot(69)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDisable(System.Int32 cap); + [Slot(70)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDisableClientState(System.Int32 array); + [Slot(73)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawArrays(System.Int32 mode, Int32 first, Int32 count); + [Slot(74)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawElements(System.Int32 mode, Int32 count, System.Int32 type, IntPtr indices); + [Slot(85)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEnable(System.Int32 cap); + [Slot(86)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEnableClientState(System.Int32 array); + [Slot(107)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFinish(); + [Slot(109)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFlush(); + [Slot(111)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFogf(System.Int32 pname, Single param); + [Slot(112)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glFogfv(System.Int32 pname, Single* @params); + [Slot(113)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFogx(System.Int32 pname, int param); + [Slot(115)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glFogxv(System.Int32 pname, int* param); + [Slot(121)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFrontFace(System.Int32 mode); + [Slot(122)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFrustumf(Single l, Single r, Single b, Single t, Single n, Single f); + [Slot(124)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFrustumx(int l, int r, int b, int t, int n, int f); + [Slot(126)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenBuffers(Int32 n, [OutAttribute] UInt32* buffers); + [Slot(131)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenTextures(Int32 n, [OutAttribute] UInt32* textures); + [Slot(133)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetBooleanv(System.Int32 pname, [OutAttribute] bool* data); + [Slot(134)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetBufferParameteriv(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(136)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetClipPlanef(System.Int32 plane, [OutAttribute] Single* equation); + [Slot(138)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetClipPlanex(System.Int32 plane, [OutAttribute] int* equation); + [Slot(143)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern System.Int32 glGetError(); + [Slot(145)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetFixedv(System.Int32 pname, [OutAttribute] int* @params); + [Slot(147)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetFloatv(System.Int32 pname, [OutAttribute] Single* data); + [Slot(152)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetIntegerv(System.Int32 pname, [OutAttribute] Int32* data); + [Slot(153)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetLightfv(System.Int32 light, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(155)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetLightxv(System.Int32 light, System.Int32 pname, [OutAttribute] int* @params); + [Slot(158)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMaterialfv(System.Int32 face, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(160)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMaterialxv(System.Int32 face, System.Int32 pname, [OutAttribute] int* @params); + [Slot(164)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPixelMapxv(System.Int32 map, Int32 size, [OutAttribute] int* values); + [Slot(165)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetPointerv(System.Int32 pname, [OutAttribute] IntPtr @params); + [Slot(167)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern IntPtr glGetString(System.Int32 name); + [Slot(169)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexEnvfv(System.Int32 target, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(170)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexEnviv(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(171)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexEnvxv(System.Int32 target, System.Int32 pname, [OutAttribute] int* @params); + [Slot(177)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexParameterfv(System.Int32 target, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(178)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexParameteriv(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(179)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexParameterxv(System.Int32 target, System.Int32 pname, [OutAttribute] int* @params); + [Slot(181)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glHint(System.Int32 target, System.Int32 mode); + [Slot(184)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsBuffer(UInt32 buffer); + [Slot(185)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsEnabled(System.Int32 cap); + [Slot(190)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsTexture(UInt32 texture); + [Slot(192)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLightf(System.Int32 light, System.Int32 pname, Single param); + [Slot(193)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glLightfv(System.Int32 light, System.Int32 pname, Single* @params); + [Slot(194)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLightModelf(System.Int32 pname, Single param); + [Slot(195)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glLightModelfv(System.Int32 pname, Single* @params); + [Slot(196)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLightModelx(System.Int32 pname, int param); + [Slot(198)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glLightModelxv(System.Int32 pname, int* param); + [Slot(200)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLightx(System.Int32 light, System.Int32 pname, int param); + [Slot(202)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glLightxv(System.Int32 light, System.Int32 pname, int* @params); + [Slot(204)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLineWidth(Single width); + [Slot(205)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLineWidthx(int width); + [Slot(207)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLoadIdentity(); + [Slot(208)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glLoadMatrixf(Single* m); + [Slot(209)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glLoadMatrixx(int* m); + [Slot(213)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLogicOp(System.Int32 opcode); + [Slot(220)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMaterialf(System.Int32 face, System.Int32 pname, Single param); + [Slot(221)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMaterialfv(System.Int32 face, System.Int32 pname, Single* @params); + [Slot(222)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMaterialx(System.Int32 face, System.Int32 pname, int param); + [Slot(224)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMaterialxv(System.Int32 face, System.Int32 pname, int* param); + [Slot(227)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMatrixMode(System.Int32 mode); + [Slot(244)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord4f(System.Int32 target, Single s, Single t, Single r, Single q); + [Slot(245)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord4x(System.Int32 texture, int s, int t, int r, int q); + [Slot(248)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultMatrixf(Single* m); + [Slot(249)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultMatrixx(int* m); + [Slot(252)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNormal3f(Single nx, Single ny, Single nz); + [Slot(253)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNormal3x(int nx, int ny, int nz); + [Slot(256)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNormalPointer(System.Int32 type, Int32 stride, IntPtr pointer); + [Slot(257)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glOrthof(Single l, Single r, Single b, Single t, Single n, Single f); + [Slot(259)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glOrthox(int l, int r, int b, int t, int n, int f); + [Slot(262)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPixelMapx(System.Int32 map, Int32 size, int* values); + [Slot(263)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPixelStorei(System.Int32 pname, Int32 param); + [Slot(264)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPixelStorex(System.Int32 pname, int param); + [Slot(267)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPointParameterf(System.Int32 pname, Single param); + [Slot(268)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPointParameterfv(System.Int32 pname, Single* @params); + [Slot(269)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPointParameterx(System.Int32 pname, int param); + [Slot(271)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPointParameterxv(System.Int32 pname, int* @params); + [Slot(273)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPointSize(Single size); + [Slot(275)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPointSizex(int size); + [Slot(277)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPolygonOffset(Single factor, Single units); + [Slot(278)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPolygonOffsetx(int factor, int units); + [Slot(280)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPopMatrix(); + [Slot(282)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPushMatrix(); + [Slot(291)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, System.Int32 format, System.Int32 type, [OutAttribute] IntPtr pixels); + [Slot(299)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRotatef(Single angle, Single x, Single y, Single z); + [Slot(300)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRotatex(int angle, int x, int y, int z); + [Slot(302)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSampleCoverage(Single value, bool invert); + [Slot(304)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSampleCoveragex(int value, bool invert); + [Slot(306)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glScalef(Single x, Single y, Single z); + [Slot(307)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glScalex(int x, int y, int z); + [Slot(309)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glScissor(Int32 x, Int32 y, Int32 width, Int32 height); + [Slot(311)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glShadeModel(System.Int32 mode); + [Slot(313)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStencilFunc(System.Int32 func, Int32 @ref, UInt32 mask); + [Slot(314)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStencilMask(UInt32 mask); + [Slot(315)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStencilOp(System.Int32 fail, System.Int32 zfail, System.Int32 zpass); + [Slot(333)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoordPointer(Int32 size, System.Int32 type, Int32 stride, IntPtr pointer); + [Slot(334)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexEnvf(System.Int32 target, System.Int32 pname, Single param); + [Slot(335)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexEnvfv(System.Int32 target, System.Int32 pname, Single* @params); + [Slot(336)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexEnvi(System.Int32 target, System.Int32 pname, Int32 param); + [Slot(337)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexEnviv(System.Int32 target, System.Int32 pname, Int32* @params); + [Slot(338)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexEnvx(System.Int32 target, System.Int32 pname, int param); + [Slot(340)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexEnvxv(System.Int32 target, System.Int32 pname, int* @params); + [Slot(348)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexImage2D(System.Int32 target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(349)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexParameterf(System.Int32 target, System.Int32 pname, Single param); + [Slot(350)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexParameterfv(System.Int32 target, System.Int32 pname, Single* @params); + [Slot(351)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexParameteri(System.Int32 target, System.Int32 pname, Int32 param); + [Slot(352)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexParameteriv(System.Int32 target, System.Int32 pname, Int32* @params); + [Slot(353)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexParameterx(System.Int32 target, System.Int32 pname, int param); + [Slot(355)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexParameterxv(System.Int32 target, System.Int32 pname, int* @params); + [Slot(360)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexSubImage2D(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(364)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTranslatef(Single x, Single y, Single z); + [Slot(365)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTranslatex(int x, int y, int z); + [Slot(380)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexPointer(Int32 size, System.Int32 type, Int32 stride, IntPtr pointer); + [Slot(381)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glViewport(Int32 x, Int32 y, Int32 width, Int32 height); + [Slot(12)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendEquationEXT(System.Int32 mode); + [Slot(72)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDiscardFramebufferEXT(System.Int32 target, Int32 numAttachments, System.Int32* attachments); + [Slot(110)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFlushMappedBufferRangeEXT(System.Int32 target, IntPtr offset, IntPtr length); + [Slot(118)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferTexture2DMultisampleEXT(System.Int32 target, System.Int32 attachment, System.Int32 textarget, UInt32 texture, Int32 level, Int32 samples); + [Slot(149)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern System.Int32 glGetGraphicsResetStatusEXT(); + [Slot(162)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetnUniformfvEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params); + [Slot(163)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetnUniformivEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params); + [Slot(217)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern IntPtr glMapBufferRangeEXT(System.Int32 target, IntPtr offset, IntPtr length, UInt32 access); + [Slot(228)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiDrawArraysEXT(System.Int32 mode, Int32* first, Int32* count, Int32 primcount); + [Slot(229)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiDrawElementsEXT(System.Int32 mode, Int32* count, System.Int32 type, IntPtr indices, Int32 primcount); + [Slot(290)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glReadnPixelsEXT(Int32 x, Int32 y, Int32 width, Int32 height, System.Int32 format, System.Int32 type, Int32 bufSize, [OutAttribute] IntPtr data); + [Slot(295)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRenderbufferStorageMultisampleEXT(System.Int32 target, Int32 samples, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(357)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexStorage1DEXT(System.Int32 target, Int32 levels, System.Int32 internalformat, Int32 width); + [Slot(358)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexStorage2DEXT(System.Int32 target, Int32 levels, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(359)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexStorage3DEXT(System.Int32 target, Int32 levels, System.Int32 internalformat, Int32 width, Int32 height, Int32 depth); + [Slot(361)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureStorage1DEXT(UInt32 texture, System.Int32 target, Int32 levels, System.Int32 internalformat, Int32 width); + [Slot(362)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureStorage2DEXT(UInt32 texture, System.Int32 target, Int32 levels, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(363)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureStorage3DEXT(UInt32 texture, System.Int32 target, Int32 levels, System.Int32 internalformat, Int32 width, Int32 height, Int32 depth); + [Slot(33)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glClipPlanefIMG(System.Int32 p, Single* eqn); + [Slot(36)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glClipPlanexIMG(System.Int32 p, int* eqn); + [Slot(119)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferTexture2DMultisampleIMG(System.Int32 target, System.Int32 attachment, System.Int32 textarget, UInt32 texture, Int32 level, Int32 samples); + [Slot(296)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRenderbufferStorageMultisampleIMG(System.Int32 target, Int32 samples, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(57)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteFencesNV(Int32 n, UInt32* fences); + [Slot(108)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFinishFenceNV(UInt32 fence); + [Slot(128)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenFencesNV(Int32 n, [OutAttribute] UInt32* fences); + [Slot(144)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetFenceivNV(UInt32 fence, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(186)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsFenceNV(UInt32 fence); + [Slot(310)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSetFenceNV(UInt32 fence, System.Int32 condition); + [Slot(316)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glTestFenceNV(UInt32 fence); + [Slot(0)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glAccumxOES(System.Int32 op, int value); + [Slot(4)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glAlphaFuncxOES(System.Int32 func, int @ref); + [Slot(6)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindFramebufferOES(System.Int32 target, UInt32 framebuffer); + [Slot(7)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindRenderbufferOES(System.Int32 target, UInt32 renderbuffer); + [Slot(9)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindVertexArrayOES(UInt32 array); + [Slot(10)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glBitmapxOES(Int32 width, Int32 height, int xorig, int yorig, int xmove, int ymove, Byte* bitmap); + [Slot(11)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendColorxOES(int red, int green, int blue, int alpha); + [Slot(13)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendEquationOES(System.Int32 mode); + [Slot(14)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendEquationSeparateOES(System.Int32 modeRGB, System.Int32 modeAlpha); + [Slot(16)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendFuncSeparateOES(System.Int32 srcRGB, System.Int32 dstRGB, System.Int32 srcAlpha, System.Int32 dstAlpha); + [Slot(19)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern System.Int32 glCheckFramebufferStatusOES(System.Int32 target); + [Slot(21)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearAccumxOES(int red, int green, int blue, int alpha); + [Slot(24)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearColorxOES(int red, int green, int blue, int alpha); + [Slot(26)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearDepthfOES(Single depth); + [Slot(28)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearDepthxOES(int depth); + [Slot(34)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glClipPlanefOES(System.Int32 plane, Single* equation); + [Slot(37)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glClipPlanexOES(System.Int32 plane, int* equation); + [Slot(38)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColor3xOES(int red, int green, int blue); + [Slot(39)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColor3xvOES(int* components); + [Slot(43)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColor4xOES(int red, int green, int blue, int alpha); + [Slot(44)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColor4xvOES(int* components); + [Slot(49)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glConvolutionParameterxOES(System.Int32 target, System.Int32 pname, int param); + [Slot(50)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glConvolutionParameterxvOES(System.Int32 target, System.Int32 pname, int* @params); + [Slot(55)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCurrentPaletteMatrixOES(UInt32 matrixpaletteindex); + [Slot(58)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteFramebuffersOES(Int32 n, UInt32* framebuffers); + [Slot(59)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteRenderbuffersOES(Int32 n, UInt32* renderbuffers); + [Slot(62)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteVertexArraysOES(Int32 n, UInt32* arrays); + [Slot(66)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDepthRangefOES(Single n, Single f); + [Slot(68)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDepthRangexOES(int n, int f); + [Slot(75)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawTexfOES(Single x, Single y, Single z, Single width, Single height); + [Slot(76)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDrawTexfvOES(Single* coords); + [Slot(77)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawTexiOES(Int32 x, Int32 y, Int32 z, Int32 width, Int32 height); + [Slot(78)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDrawTexivOES(Int32* coords); + [Slot(79)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawTexsOES(Int16 x, Int16 y, Int16 z, Int16 width, Int16 height); + [Slot(80)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDrawTexsvOES(Int16* coords); + [Slot(81)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawTexxOES(int x, int y, int z, int width, int height); + [Slot(82)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDrawTexxvOES(int* coords); + [Slot(83)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEGLImageTargetRenderbufferStorageOES(System.Int32 target, IntPtr image); + [Slot(84)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEGLImageTargetTexture2DOES(System.Int32 target, IntPtr image); + [Slot(89)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEvalCoord1xOES(int u); + [Slot(90)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glEvalCoord1xvOES(int* coords); + [Slot(91)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEvalCoord2xOES(int u, int v); + [Slot(92)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glEvalCoord2xvOES(int* coords); + [Slot(105)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glFeedbackBufferxOES(Int32 n, System.Int32 type, int* buffer); + [Slot(114)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFogxOES(System.Int32 pname, int param); + [Slot(116)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glFogxvOES(System.Int32 pname, int* param); + [Slot(117)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferRenderbufferOES(System.Int32 target, System.Int32 attachment, System.Int32 renderbuffertarget, UInt32 renderbuffer); + [Slot(120)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferTexture2DOES(System.Int32 target, System.Int32 attachment, System.Int32 textarget, UInt32 texture, Int32 level); + [Slot(123)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFrustumfOES(Single l, Single r, Single b, Single t, Single n, Single f); + [Slot(125)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFrustumxOES(int l, int r, int b, int t, int n, int f); + [Slot(127)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGenerateMipmapOES(System.Int32 target); + [Slot(129)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenFramebuffersOES(Int32 n, [OutAttribute] UInt32* framebuffers); + [Slot(130)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenRenderbuffersOES(Int32 n, [OutAttribute] UInt32* renderbuffers); + [Slot(132)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenVertexArraysOES(Int32 n, [OutAttribute] UInt32* arrays); + [Slot(135)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetBufferPointervOES(System.Int32 target, System.Int32 pname, [OutAttribute] IntPtr @params); + [Slot(137)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetClipPlanefOES(System.Int32 plane, [OutAttribute] Single* equation); + [Slot(139)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetClipPlanexOES(System.Int32 plane, [OutAttribute] int* equation); + [Slot(140)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetConvolutionParameterxvOES(System.Int32 target, System.Int32 pname, [OutAttribute] int* @params); + [Slot(146)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetFixedvOES(System.Int32 pname, [OutAttribute] int* @params); + [Slot(148)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetFramebufferAttachmentParameterivOES(System.Int32 target, System.Int32 attachment, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(150)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetHistogramParameterxvOES(System.Int32 target, System.Int32 pname, [OutAttribute] int* @params); + [Slot(154)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetLightxOES(System.Int32 light, System.Int32 pname, [OutAttribute] int* @params); + [Slot(157)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMapxvOES(System.Int32 target, System.Int32 query, [OutAttribute] int* v); + [Slot(159)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetMaterialxOES(System.Int32 face, System.Int32 pname, int param); + [Slot(161)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMaterialxvOES(System.Int32 face, System.Int32 pname, [OutAttribute] int* @params); + [Slot(166)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetRenderbufferParameterivOES(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(172)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexEnvxvOES(System.Int32 target, System.Int32 pname, [OutAttribute] int* @params); + [Slot(173)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexGenfvOES(System.Int32 coord, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(174)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexGenivOES(System.Int32 coord, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(175)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexGenxvOES(System.Int32 coord, System.Int32 pname, [OutAttribute] int* @params); + [Slot(176)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexLevelParameterxvOES(System.Int32 target, Int32 level, System.Int32 pname, [OutAttribute] int* @params); + [Slot(180)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexParameterxvOES(System.Int32 target, System.Int32 pname, [OutAttribute] int* @params); + [Slot(182)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glIndexxOES(int component); + [Slot(183)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glIndexxvOES(int* component); + [Slot(187)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsFramebufferOES(UInt32 framebuffer); + [Slot(188)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsRenderbufferOES(UInt32 renderbuffer); + [Slot(191)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsVertexArrayOES(UInt32 array); + [Slot(197)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLightModelxOES(System.Int32 pname, int param); + [Slot(199)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glLightModelxvOES(System.Int32 pname, int* param); + [Slot(201)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLightxOES(System.Int32 light, System.Int32 pname, int param); + [Slot(203)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glLightxvOES(System.Int32 light, System.Int32 pname, int* @params); + [Slot(206)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLineWidthxOES(int width); + [Slot(210)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glLoadMatrixxOES(int* m); + [Slot(211)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLoadPaletteFromModelViewMatrixOES(); + [Slot(212)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glLoadTransposeMatrixxOES(int* m); + [Slot(214)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMap1xOES(System.Int32 target, int u1, int u2, Int32 stride, Int32 order, int points); + [Slot(215)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMap2xOES(System.Int32 target, int u1, int u2, Int32 ustride, Int32 uorder, int v1, int v2, Int32 vstride, Int32 vorder, int points); + [Slot(216)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern IntPtr glMapBufferOES(System.Int32 target, System.Int32 access); + [Slot(218)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMapGrid1xOES(Int32 n, int u1, int u2); + [Slot(219)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMapGrid2xOES(Int32 n, int u1, int u2, int v1, int v2); + [Slot(223)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMaterialxOES(System.Int32 face, System.Int32 pname, int param); + [Slot(225)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMaterialxvOES(System.Int32 face, System.Int32 pname, int* param); + [Slot(226)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMatrixIndexPointerOES(Int32 size, System.Int32 type, Int32 stride, IntPtr pointer); + [Slot(230)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord1bOES(System.Int32 texture, SByte s); + [Slot(231)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord1bvOES(System.Int32 texture, SByte* coords); + [Slot(232)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord1xOES(System.Int32 texture, int s); + [Slot(233)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord1xvOES(System.Int32 texture, int* coords); + [Slot(234)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord2bOES(System.Int32 texture, SByte s, SByte t); + [Slot(235)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord2bvOES(System.Int32 texture, SByte* coords); + [Slot(236)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord2xOES(System.Int32 texture, int s, int t); + [Slot(237)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord2xvOES(System.Int32 texture, int* coords); + [Slot(238)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord3bOES(System.Int32 texture, SByte s, SByte t, SByte r); + [Slot(239)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord3bvOES(System.Int32 texture, SByte* coords); + [Slot(240)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord3xOES(System.Int32 texture, int s, int t, int r); + [Slot(241)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord3xvOES(System.Int32 texture, int* coords); + [Slot(242)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord4bOES(System.Int32 texture, SByte s, SByte t, SByte r, SByte q); + [Slot(243)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord4bvOES(System.Int32 texture, SByte* coords); + [Slot(246)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord4xOES(System.Int32 texture, int s, int t, int r, int q); + [Slot(247)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord4xvOES(System.Int32 texture, int* coords); + [Slot(250)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultMatrixxOES(int* m); + [Slot(251)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultTransposeMatrixxOES(int* m); + [Slot(254)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNormal3xOES(int nx, int ny, int nz); + [Slot(255)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glNormal3xvOES(int* coords); + [Slot(258)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glOrthofOES(Single l, Single r, Single b, Single t, Single n, Single f); + [Slot(260)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glOrthoxOES(int l, int r, int b, int t, int n, int f); + [Slot(261)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPassThroughxOES(int token); + [Slot(265)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPixelTransferxOES(System.Int32 pname, int param); + [Slot(266)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPixelZoomxOES(int xfactor, int yfactor); + [Slot(270)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPointParameterxOES(System.Int32 pname, int param); + [Slot(272)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPointParameterxvOES(System.Int32 pname, int* @params); + [Slot(274)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPointSizePointerOES(System.Int32 type, Int32 stride, IntPtr pointer); + [Slot(276)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPointSizexOES(int size); + [Slot(279)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPolygonOffsetxOES(int factor, int units); + [Slot(281)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPrioritizeTexturesxOES(Int32 n, UInt32* textures, int* priorities); + [Slot(283)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe Int32 glQueryMatrixxOES([OutAttribute] int* mantissa, [OutAttribute] Int32* exponent); + [Slot(284)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRasterPos2xOES(int x, int y); + [Slot(285)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glRasterPos2xvOES(int* coords); + [Slot(286)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRasterPos3xOES(int x, int y, int z); + [Slot(287)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glRasterPos3xvOES(int* coords); + [Slot(288)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRasterPos4xOES(int x, int y, int z, int w); + [Slot(289)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glRasterPos4xvOES(int* coords); + [Slot(292)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRectxOES(int x1, int y1, int x2, int y2); + [Slot(293)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glRectxvOES(int* v1, int* v2); + [Slot(297)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRenderbufferStorageOES(System.Int32 target, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(301)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRotatexOES(int angle, int x, int y, int z); + [Slot(303)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSampleCoverageOES(int value, bool invert); + [Slot(305)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSampleCoveragexOES(int value, bool invert); + [Slot(308)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glScalexOES(int x, int y, int z); + [Slot(317)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord1bOES(SByte s); + [Slot(318)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord1bvOES(SByte* coords); + [Slot(319)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord1xOES(int s); + [Slot(320)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord1xvOES(int* coords); + [Slot(321)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord2bOES(SByte s, SByte t); + [Slot(322)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord2bvOES(SByte* coords); + [Slot(323)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord2xOES(int s, int t); + [Slot(324)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord2xvOES(int* coords); + [Slot(325)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord3bOES(SByte s, SByte t, SByte r); + [Slot(326)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord3bvOES(SByte* coords); + [Slot(327)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord3xOES(int s, int t, int r); + [Slot(328)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord3xvOES(int* coords); + [Slot(329)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord4bOES(SByte s, SByte t, SByte r, SByte q); + [Slot(330)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord4bvOES(SByte* coords); + [Slot(331)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord4xOES(int s, int t, int r, int q); + [Slot(332)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord4xvOES(int* coords); + [Slot(339)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexEnvxOES(System.Int32 target, System.Int32 pname, int param); + [Slot(341)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexEnvxvOES(System.Int32 target, System.Int32 pname, int* @params); + [Slot(342)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexGenfOES(System.Int32 coord, System.Int32 pname, Single param); + [Slot(343)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexGenfvOES(System.Int32 coord, System.Int32 pname, Single* @params); + [Slot(344)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexGeniOES(System.Int32 coord, System.Int32 pname, Int32 param); + [Slot(345)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexGenivOES(System.Int32 coord, System.Int32 pname, Int32* @params); + [Slot(346)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexGenxOES(System.Int32 coord, System.Int32 pname, int param); + [Slot(347)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexGenxvOES(System.Int32 coord, System.Int32 pname, int* @params); + [Slot(354)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexParameterxOES(System.Int32 target, System.Int32 pname, int param); + [Slot(356)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexParameterxvOES(System.Int32 target, System.Int32 pname, int* @params); + [Slot(366)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTranslatexOES(int x, int y, int z); + [Slot(367)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glUnmapBufferOES(System.Int32 target); + [Slot(368)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertex2bOES(SByte x); + [Slot(369)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertex2bvOES(SByte* coords); + [Slot(370)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertex2xOES(int x); + [Slot(371)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertex2xvOES(int* coords); + [Slot(372)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertex3bOES(SByte x, SByte y); + [Slot(373)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertex3bvOES(SByte* coords); + [Slot(374)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertex3xOES(int x, int y); + [Slot(375)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertex3xvOES(int* coords); + [Slot(376)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertex4bOES(SByte x, SByte y, SByte z); + [Slot(377)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertex4bvOES(SByte* coords); + [Slot(378)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertex4xOES(int x, int y, int z); + [Slot(379)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertex4xvOES(int* coords); + [Slot(383)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWeightPointerOES(Int32 size, System.Int32 type, Int32 stride, IntPtr pointer); + [Slot(71)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDisableDriverControlQCOM(UInt32 driverControl); + [Slot(87)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEnableDriverControlQCOM(UInt32 driverControl); + [Slot(88)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEndTilingQCOM(UInt32 preserveMask); + [Slot(93)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glExtGetBufferPointervQCOM(System.Int32 target, [OutAttribute] IntPtr @params); + [Slot(94)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glExtGetBuffersQCOM([OutAttribute] UInt32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers); + [Slot(95)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glExtGetFramebuffersQCOM([OutAttribute] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers); + [Slot(96)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glExtGetProgramBinarySourceQCOM(UInt32 program, System.Int32 shadertype, [OutAttribute] IntPtr source, [OutAttribute] Int32* length); + [Slot(97)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glExtGetProgramsQCOM([OutAttribute] UInt32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms); + [Slot(98)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glExtGetRenderbuffersQCOM([OutAttribute] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers); + [Slot(99)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glExtGetShadersQCOM([OutAttribute] UInt32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders); + [Slot(100)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glExtGetTexLevelParameterivQCOM(UInt32 texture, System.Int32 face, Int32 level, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(101)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glExtGetTexSubImageQCOM(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, System.Int32 format, System.Int32 type, [OutAttribute] IntPtr texels); + [Slot(102)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glExtGetTexturesQCOM([OutAttribute] UInt32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures); + [Slot(103)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glExtIsProgramBinaryQCOM(UInt32 program); + [Slot(104)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glExtTexObjectStateOverrideiQCOM(System.Int32 target, System.Int32 pname, Int32 param); + [Slot(141)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetDriverControlsQCOM([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls); + [Slot(142)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr driverControlString); + [Slot(312)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStartTilingQCOM(UInt32 x, UInt32 y, UInt32 width, UInt32 height, UInt32 preserveMask); } } diff --git a/Source/OpenTK/Graphics/ES11/ES11Core.cs b/Source/OpenTK/Graphics/ES11/ES11Core.cs deleted file mode 100644 index 294934ec..00000000 --- a/Source/OpenTK/Graphics/ES11/ES11Core.cs +++ /dev/null @@ -1,1196 +0,0 @@ -// -// The Open Toolkit Library License -// -// Copyright (c) 2006 - 2013 Stefanos Apostolopoulos for the Open Toolkit Library -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights to -// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -// the Software, and to permit persons to whom the Software is furnished to do -// so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -// OTHER DEALINGS IN THE SOFTWARE. -// - - - -namespace OpenTK.Graphics.ES11 -{ - using System; - using System.Text; - using System.Runtime.InteropServices; - #pragma warning disable 3019 - #pragma warning disable 1591 - - partial class GL - { - - internal static partial class Core - { - - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAccumxOES", ExactSpelling = true)] - internal extern static void AccumxOES(OpenTK.Graphics.ES11.All op, int value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveTexture", ExactSpelling = true)] - internal extern static void ActiveTexture(OpenTK.Graphics.ES11.TextureUnit texture); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAlphaFunc", ExactSpelling = true)] - internal extern static void AlphaFunc(OpenTK.Graphics.ES11.AlphaFunction func, Single @ref); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAlphaFuncx", ExactSpelling = true)] - internal extern static void AlphaFuncx(OpenTK.Graphics.ES11.All func, int @ref); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAlphaFuncxOES", ExactSpelling = true)] - internal extern static void AlphaFuncxOES(OpenTK.Graphics.ES11.All func, int @ref); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBuffer", ExactSpelling = true)] - internal extern static void BindBuffer(OpenTK.Graphics.ES11.All target, UInt32 buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindFramebufferOES", ExactSpelling = true)] - internal extern static void BindFramebufferOES(OpenTK.Graphics.ES11.All target, UInt32 framebuffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindRenderbufferOES", ExactSpelling = true)] - internal extern static void BindRenderbufferOES(OpenTK.Graphics.ES11.All target, UInt32 renderbuffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTexture", ExactSpelling = true)] - internal extern static void BindTexture(OpenTK.Graphics.ES11.TextureTarget target, UInt32 texture); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindVertexArrayOES", ExactSpelling = true)] - internal extern static void BindVertexArrayOES(UInt32 array); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBitmapxOES", ExactSpelling = true)] - internal extern static unsafe void BitmapxOES(Int32 width, Int32 height, int xorig, int yorig, int xmove, int ymove, Byte* bitmap); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendColorxOES", ExactSpelling = true)] - internal extern static void BlendColorxOES(int red, int green, int blue, int alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationEXT", ExactSpelling = true)] - internal extern static void BlendEquationEXT(OpenTK.Graphics.ES11.BlendEquationModeExt mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationOES", ExactSpelling = true)] - internal extern static void BlendEquationOES(OpenTK.Graphics.ES11.All mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationSeparateOES", ExactSpelling = true)] - internal extern static void BlendEquationSeparateOES(OpenTK.Graphics.ES11.All modeRGB, OpenTK.Graphics.ES11.All modeAlpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFunc", ExactSpelling = true)] - internal extern static void BlendFunc(OpenTK.Graphics.ES11.BlendingFactorSrc sfactor, OpenTK.Graphics.ES11.BlendingFactorDest dfactor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncSeparateOES", ExactSpelling = true)] - internal extern static void BlendFuncSeparateOES(OpenTK.Graphics.ES11.All srcRGB, OpenTK.Graphics.ES11.All dstRGB, OpenTK.Graphics.ES11.All srcAlpha, OpenTK.Graphics.ES11.All dstAlpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferData", ExactSpelling = true)] - internal extern static void BufferData(OpenTK.Graphics.ES11.All target, IntPtr size, IntPtr data, OpenTK.Graphics.ES11.All usage); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferSubData", ExactSpelling = true)] - internal extern static void BufferSubData(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr size, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCheckFramebufferStatusOES", ExactSpelling = true)] - internal extern static OpenTK.Graphics.ES11.All CheckFramebufferStatusOES(OpenTK.Graphics.ES11.All target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClear", ExactSpelling = true)] - internal extern static void Clear(OpenTK.Graphics.ES11.ClearBufferMask mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearAccumxOES", ExactSpelling = true)] - internal extern static void ClearAccumxOES(int red, int green, int blue, int alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearColor", ExactSpelling = true)] - internal extern static void ClearColor(Single red, Single green, Single blue, Single alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearColorx", ExactSpelling = true)] - internal extern static void ClearColorx(int red, int green, int blue, int alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearColorxOES", ExactSpelling = true)] - internal extern static void ClearColorxOES(int red, int green, int blue, int alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearDepthf", ExactSpelling = true)] - internal extern static void ClearDepthf(Single d); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearDepthfOES", ExactSpelling = true)] - internal extern static void ClearDepthfOES(Single depth); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearDepthx", ExactSpelling = true)] - internal extern static void ClearDepthx(int depth); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearDepthxOES", ExactSpelling = true)] - internal extern static void ClearDepthxOES(int depth); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearStencil", ExactSpelling = true)] - internal extern static void ClearStencil(Int32 s); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClientActiveTexture", ExactSpelling = true)] - internal extern static void ClientActiveTexture(OpenTK.Graphics.ES11.TextureUnit texture); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClientWaitSyncAPPLE", ExactSpelling = true)] - internal extern static OpenTK.Graphics.ES11.All ClientWaitSyncAPPLE(IntPtr sync, UInt32 flags, UInt64 timeout); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClipPlanef", ExactSpelling = true)] - internal extern static unsafe void ClipPlanef(OpenTK.Graphics.ES11.All p, Single* eqn); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClipPlanefIMG", ExactSpelling = true)] - internal extern static unsafe void ClipPlanefIMG(OpenTK.Graphics.ES11.All p, Single* eqn); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClipPlanefOES", ExactSpelling = true)] - internal extern static unsafe void ClipPlanefOES(OpenTK.Graphics.ES11.All plane, Single* equation); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClipPlanex", ExactSpelling = true)] - internal extern static unsafe void ClipPlanex(OpenTK.Graphics.ES11.All plane, int* equation); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClipPlanexIMG", ExactSpelling = true)] - internal extern static unsafe void ClipPlanexIMG(OpenTK.Graphics.ES11.All p, int* eqn); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClipPlanexOES", ExactSpelling = true)] - internal extern static unsafe void ClipPlanexOES(OpenTK.Graphics.ES11.All plane, int* equation); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3xOES", ExactSpelling = true)] - internal extern static void Color3xOES(int red, int green, int blue); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3xvOES", ExactSpelling = true)] - internal extern static unsafe void Color3xvOES(int* components); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4f", ExactSpelling = true)] - internal extern static void Color4f(Single red, Single green, Single blue, Single alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4ub", ExactSpelling = true)] - internal extern static void Color4ub(Byte red, Byte green, Byte blue, Byte alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4x", ExactSpelling = true)] - internal extern static void Color4x(int red, int green, int blue, int alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4xOES", ExactSpelling = true)] - internal extern static void Color4xOES(int red, int green, int blue, int alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4xvOES", ExactSpelling = true)] - internal extern static unsafe void Color4xvOES(int* components); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorMask", ExactSpelling = true)] - internal extern static void ColorMask(bool red, bool green, bool blue, bool alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorPointer", ExactSpelling = true)] - internal extern static void ColorPointer(Int32 size, OpenTK.Graphics.ES11.ColorPointerType type, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage2D", ExactSpelling = true)] - internal extern static void CompressedTexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage2D", ExactSpelling = true)] - internal extern static void CompressedTexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, Int32 imageSize, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterxOES", ExactSpelling = true)] - internal extern static void ConvolutionParameterxOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterxvOES", ExactSpelling = true)] - internal extern static unsafe void ConvolutionParameterxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexImage2D", ExactSpelling = true)] - internal extern static void CopyTexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage2D", ExactSpelling = true)] - internal extern static void CopyTexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTextureLevelsAPPLE", ExactSpelling = true)] - internal extern static void CopyTextureLevelsAPPLE(UInt32 destinationTexture, UInt32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCullFace", ExactSpelling = true)] - internal extern static void CullFace(OpenTK.Graphics.ES11.CullFaceMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCurrentPaletteMatrixOES", ExactSpelling = true)] - internal extern static void CurrentPaletteMatrixOES(UInt32 matrixpaletteindex); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteBuffers", ExactSpelling = true)] - internal extern static unsafe void DeleteBuffers(Int32 n, UInt32* buffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteFencesNV", ExactSpelling = true)] - internal extern static unsafe void DeleteFencesNV(Int32 n, UInt32* fences); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteFramebuffersOES", ExactSpelling = true)] - internal extern static unsafe void DeleteFramebuffersOES(Int32 n, UInt32* framebuffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteRenderbuffersOES", ExactSpelling = true)] - internal extern static unsafe void DeleteRenderbuffersOES(Int32 n, UInt32* renderbuffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteSyncAPPLE", ExactSpelling = true)] - internal extern static void DeleteSyncAPPLE(IntPtr sync); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteTextures", ExactSpelling = true)] - internal extern static unsafe void DeleteTextures(Int32 n, UInt32* textures); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteVertexArraysOES", ExactSpelling = true)] - internal extern static unsafe void DeleteVertexArraysOES(Int32 n, UInt32* arrays); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthFunc", ExactSpelling = true)] - internal extern static void DepthFunc(OpenTK.Graphics.ES11.DepthFunction func); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthMask", ExactSpelling = true)] - internal extern static void DepthMask(bool flag); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRangef", ExactSpelling = true)] - internal extern static void DepthRangef(Single n, Single f); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRangefOES", ExactSpelling = true)] - internal extern static void DepthRangefOES(Single n, Single f); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRangex", ExactSpelling = true)] - internal extern static void DepthRangex(int n, int f); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRangexOES", ExactSpelling = true)] - internal extern static void DepthRangexOES(int n, int f); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisable", ExactSpelling = true)] - internal extern static void Disable(OpenTK.Graphics.ES11.EnableCap cap); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableClientState", ExactSpelling = true)] - internal extern static void DisableClientState(OpenTK.Graphics.ES11.EnableCap array); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableDriverControlQCOM", ExactSpelling = true)] - internal extern static void DisableDriverControlQCOM(UInt32 driverControl); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDiscardFramebufferEXT", ExactSpelling = true)] - internal extern static unsafe void DiscardFramebufferEXT(OpenTK.Graphics.ES11.All target, Int32 numAttachments, OpenTK.Graphics.ES11.All* attachments); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArrays", ExactSpelling = true)] - internal extern static void DrawArrays(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 first, Int32 count); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElements", ExactSpelling = true)] - internal extern static void DrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES11.All type, IntPtr indices); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawTexfOES", ExactSpelling = true)] - internal extern static void DrawTexfOES(Single x, Single y, Single z, Single width, Single height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawTexfvOES", ExactSpelling = true)] - internal extern static unsafe void DrawTexfvOES(Single* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawTexiOES", ExactSpelling = true)] - internal extern static void DrawTexiOES(Int32 x, Int32 y, Int32 z, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawTexivOES", ExactSpelling = true)] - internal extern static unsafe void DrawTexivOES(Int32* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawTexsOES", ExactSpelling = true)] - internal extern static void DrawTexsOES(Int16 x, Int16 y, Int16 z, Int16 width, Int16 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawTexsvOES", ExactSpelling = true)] - internal extern static unsafe void DrawTexsvOES(Int16* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawTexxOES", ExactSpelling = true)] - internal extern static void DrawTexxOES(int x, int y, int z, int width, int height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawTexxvOES", ExactSpelling = true)] - internal extern static unsafe void DrawTexxvOES(int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEGLImageTargetRenderbufferStorageOES", ExactSpelling = true)] - internal extern static void EGLImageTargetRenderbufferStorageOES(OpenTK.Graphics.ES11.All target, IntPtr image); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEGLImageTargetTexture2DOES", ExactSpelling = true)] - internal extern static void EGLImageTargetTexture2DOES(OpenTK.Graphics.ES11.All target, IntPtr image); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnable", ExactSpelling = true)] - internal extern static void Enable(OpenTK.Graphics.ES11.EnableCap cap); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableClientState", ExactSpelling = true)] - internal extern static void EnableClientState(OpenTK.Graphics.ES11.EnableCap array); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableDriverControlQCOM", ExactSpelling = true)] - internal extern static void EnableDriverControlQCOM(UInt32 driverControl); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndTilingQCOM", ExactSpelling = true)] - internal extern static void EndTilingQCOM(UInt32 preserveMask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalCoord1xOES", ExactSpelling = true)] - internal extern static void EvalCoord1xOES(int u); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalCoord1xvOES", ExactSpelling = true)] - internal extern static unsafe void EvalCoord1xvOES(int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalCoord2xOES", ExactSpelling = true)] - internal extern static void EvalCoord2xOES(int u, int v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalCoord2xvOES", ExactSpelling = true)] - internal extern static unsafe void EvalCoord2xvOES(int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetBufferPointervQCOM", ExactSpelling = true)] - internal extern static void ExtGetBufferPointervQCOM(OpenTK.Graphics.ES11.All target, [OutAttribute] IntPtr @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetBuffersQCOM", ExactSpelling = true)] - internal extern static unsafe void ExtGetBuffersQCOM([OutAttribute] UInt32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetFramebuffersQCOM", ExactSpelling = true)] - internal extern static unsafe void ExtGetFramebuffersQCOM([OutAttribute] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetProgramBinarySourceQCOM", ExactSpelling = true)] - internal extern static unsafe void ExtGetProgramBinarySourceQCOM(UInt32 program, OpenTK.Graphics.ES11.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32* length); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetProgramsQCOM", ExactSpelling = true)] - internal extern static unsafe void ExtGetProgramsQCOM([OutAttribute] UInt32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetRenderbuffersQCOM", ExactSpelling = true)] - internal extern static unsafe void ExtGetRenderbuffersQCOM([OutAttribute] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetShadersQCOM", ExactSpelling = true)] - internal extern static unsafe void ExtGetShadersQCOM([OutAttribute] UInt32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetTexLevelParameterivQCOM", ExactSpelling = true)] - internal extern static unsafe void ExtGetTexLevelParameterivQCOM(UInt32 texture, OpenTK.Graphics.ES11.All face, Int32 level, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetTexSubImageQCOM", ExactSpelling = true)] - internal extern static void ExtGetTexSubImageQCOM(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [OutAttribute] IntPtr texels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetTexturesQCOM", ExactSpelling = true)] - internal extern static unsafe void ExtGetTexturesQCOM([OutAttribute] UInt32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtIsProgramBinaryQCOM", ExactSpelling = true)] - internal extern static bool ExtIsProgramBinaryQCOM(UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtTexObjectStateOverrideiQCOM", ExactSpelling = true)] - internal extern static void ExtTexObjectStateOverrideiQCOM(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFeedbackBufferxOES", ExactSpelling = true)] - internal extern static unsafe void FeedbackBufferxOES(Int32 n, OpenTK.Graphics.ES11.All type, int* buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFenceSyncAPPLE", ExactSpelling = true)] - internal extern static IntPtr FenceSyncAPPLE(OpenTK.Graphics.ES11.All condition, UInt32 flags); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinish", ExactSpelling = true)] - internal extern static void Finish(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinishFenceNV", ExactSpelling = true)] - internal extern static void FinishFenceNV(UInt32 fence); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlush", ExactSpelling = true)] - internal extern static void Flush(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushMappedBufferRangeEXT", ExactSpelling = true)] - internal extern static void FlushMappedBufferRangeEXT(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr length); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogf", ExactSpelling = true)] - internal extern static void Fogf(OpenTK.Graphics.ES11.FogParameter pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogfv", ExactSpelling = true)] - internal extern static unsafe void Fogfv(OpenTK.Graphics.ES11.FogParameter pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogx", ExactSpelling = true)] - internal extern static void Fogx(OpenTK.Graphics.ES11.All pname, int param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogxOES", ExactSpelling = true)] - internal extern static void FogxOES(OpenTK.Graphics.ES11.All pname, int param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogxv", ExactSpelling = true)] - internal extern static unsafe void Fogxv(OpenTK.Graphics.ES11.All pname, int* param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogxvOES", ExactSpelling = true)] - internal extern static unsafe void FogxvOES(OpenTK.Graphics.ES11.All pname, int* param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferRenderbufferOES", ExactSpelling = true)] - internal extern static void FramebufferRenderbufferOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All renderbuffertarget, UInt32 renderbuffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture2DMultisampleEXT", ExactSpelling = true)] - internal extern static void FramebufferTexture2DMultisampleEXT(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All textarget, UInt32 texture, Int32 level, Int32 samples); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture2DMultisampleIMG", ExactSpelling = true)] - internal extern static void FramebufferTexture2DMultisampleIMG(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All textarget, UInt32 texture, Int32 level, Int32 samples); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture2DOES", ExactSpelling = true)] - internal extern static void FramebufferTexture2DOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All textarget, UInt32 texture, Int32 level); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrontFace", ExactSpelling = true)] - internal extern static void FrontFace(OpenTK.Graphics.ES11.FrontFaceDirection mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrustumf", ExactSpelling = true)] - internal extern static void Frustumf(Single l, Single r, Single b, Single t, Single n, Single f); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrustumfOES", ExactSpelling = true)] - internal extern static void FrustumfOES(Single l, Single r, Single b, Single t, Single n, Single f); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrustumx", ExactSpelling = true)] - internal extern static void Frustumx(int l, int r, int b, int t, int n, int f); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrustumxOES", ExactSpelling = true)] - internal extern static void FrustumxOES(int l, int r, int b, int t, int n, int f); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenBuffers", ExactSpelling = true)] - internal extern static unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenerateMipmapOES", ExactSpelling = true)] - internal extern static void GenerateMipmapOES(OpenTK.Graphics.ES11.All target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFencesNV", ExactSpelling = true)] - internal extern static unsafe void GenFencesNV(Int32 n, [OutAttribute] UInt32* fences); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFramebuffersOES", ExactSpelling = true)] - internal extern static unsafe void GenFramebuffersOES(Int32 n, [OutAttribute] UInt32* framebuffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenRenderbuffersOES", ExactSpelling = true)] - internal extern static unsafe void GenRenderbuffersOES(Int32 n, [OutAttribute] UInt32* renderbuffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenTextures", ExactSpelling = true)] - internal extern static unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenVertexArraysOES", ExactSpelling = true)] - internal extern static unsafe void GenVertexArraysOES(Int32 n, [OutAttribute] UInt32* arrays); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBooleanv", ExactSpelling = true)] - internal extern static unsafe void GetBooleanv(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] bool* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetBufferParameteriv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferPointervOES", ExactSpelling = true)] - internal extern static void GetBufferPointervOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] IntPtr @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetClipPlanef", ExactSpelling = true)] - internal extern static unsafe void GetClipPlanef(OpenTK.Graphics.ES11.All plane, [OutAttribute] Single* equation); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetClipPlanefOES", ExactSpelling = true)] - internal extern static unsafe void GetClipPlanefOES(OpenTK.Graphics.ES11.All plane, [OutAttribute] Single* equation); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetClipPlanex", ExactSpelling = true)] - internal extern static unsafe void GetClipPlanex(OpenTK.Graphics.ES11.All plane, [OutAttribute] int* equation); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetClipPlanexOES", ExactSpelling = true)] - internal extern static unsafe void GetClipPlanexOES(OpenTK.Graphics.ES11.All plane, [OutAttribute] int* equation); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionParameterxvOES", ExactSpelling = true)] - internal extern static unsafe void GetConvolutionParameterxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDriverControlsQCOM", ExactSpelling = true)] - internal extern static unsafe void GetDriverControlsQCOM([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDriverControlStringQCOM", ExactSpelling = true)] - internal extern static unsafe void GetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetError", ExactSpelling = true)] - internal extern static OpenTK.Graphics.ES11.ErrorCode GetError(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFenceivNV", ExactSpelling = true)] - internal extern static unsafe void GetFenceivNV(UInt32 fence, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFixedv", ExactSpelling = true)] - internal extern static unsafe void GetFixedv(OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFixedvOES", ExactSpelling = true)] - internal extern static unsafe void GetFixedvOES(OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFloatv", ExactSpelling = true)] - internal extern static unsafe void GetFloatv(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] Single* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFramebufferAttachmentParameterivOES", ExactSpelling = true)] - internal extern static unsafe void GetFramebufferAttachmentParameterivOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetGraphicsResetStatusEXT", ExactSpelling = true)] - internal extern static OpenTK.Graphics.ES11.All GetGraphicsResetStatusEXT(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogramParameterxvOES", ExactSpelling = true)] - internal extern static unsafe void GetHistogramParameterxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInteger64vAPPLE", ExactSpelling = true)] - internal extern static unsafe void GetInteger64vAPPLE(OpenTK.Graphics.ES11.All pname, [OutAttribute] Int64* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegerv", ExactSpelling = true)] - internal extern static unsafe void GetIntegerv(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] Int32* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetLightfv", ExactSpelling = true)] - internal extern static unsafe void GetLightfv(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetLightxOES", ExactSpelling = true)] - internal extern static unsafe void GetLightxOES(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetLightxv", ExactSpelling = true)] - internal extern static unsafe void GetLightxv(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetLightxvOES", ExactSpelling = true)] - internal extern static unsafe void GetLightxvOES(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMapxvOES", ExactSpelling = true)] - internal extern static unsafe void GetMapxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All query, [OutAttribute] int* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMaterialfv", ExactSpelling = true)] - internal extern static unsafe void GetMaterialfv(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMaterialxOES", ExactSpelling = true)] - internal extern static void GetMaterialxOES(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMaterialxv", ExactSpelling = true)] - internal extern static unsafe void GetMaterialxv(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMaterialxvOES", ExactSpelling = true)] - internal extern static unsafe void GetMaterialxvOES(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnUniformfvEXT", ExactSpelling = true)] - internal extern static unsafe void GetnUniformfvEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnUniformivEXT", ExactSpelling = true)] - internal extern static unsafe void GetnUniformivEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPixelMapxv", ExactSpelling = true)] - internal extern static unsafe void GetPixelMapxv(OpenTK.Graphics.ES11.All map, Int32 size, [OutAttribute] int* values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPointerv", ExactSpelling = true)] - internal extern static void GetPointerv(OpenTK.Graphics.ES11.GetPointervPName pname, [OutAttribute] IntPtr @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetRenderbufferParameterivOES", ExactSpelling = true)] - internal extern static unsafe void GetRenderbufferParameterivOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetString", ExactSpelling = true)] - internal extern static IntPtr GetString(OpenTK.Graphics.ES11.StringName name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSyncivAPPLE", ExactSpelling = true)] - internal extern static unsafe void GetSyncivAPPLE(IntPtr sync, OpenTK.Graphics.ES11.All pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexEnvfv", ExactSpelling = true)] - internal extern static unsafe void GetTexEnvfv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexEnviv", ExactSpelling = true)] - internal extern static unsafe void GetTexEnviv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexEnvxv", ExactSpelling = true)] - internal extern static unsafe void GetTexEnvxv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexEnvxvOES", ExactSpelling = true)] - internal extern static unsafe void GetTexEnvxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexGenfvOES", ExactSpelling = true)] - internal extern static unsafe void GetTexGenfvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexGenivOES", ExactSpelling = true)] - internal extern static unsafe void GetTexGenivOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexGenxvOES", ExactSpelling = true)] - internal extern static unsafe void GetTexGenxvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexLevelParameterxvOES", ExactSpelling = true)] - internal extern static unsafe void GetTexLevelParameterxvOES(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterfv", ExactSpelling = true)] - internal extern static unsafe void GetTexParameterfv(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.GetTextureParameter pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetTexParameteriv(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.GetTextureParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterxv", ExactSpelling = true)] - internal extern static unsafe void GetTexParameterxv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterxvOES", ExactSpelling = true)] - internal extern static unsafe void GetTexParameterxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glHint", ExactSpelling = true)] - internal extern static void Hint(OpenTK.Graphics.ES11.HintTarget target, OpenTK.Graphics.ES11.HintMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexxOES", ExactSpelling = true)] - internal extern static void IndexxOES(int component); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexxvOES", ExactSpelling = true)] - internal extern static unsafe void IndexxvOES(int* component); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsBuffer", ExactSpelling = true)] - internal extern static bool IsBuffer(UInt32 buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsEnabled", ExactSpelling = true)] - internal extern static bool IsEnabled(OpenTK.Graphics.ES11.EnableCap cap); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsFenceNV", ExactSpelling = true)] - internal extern static bool IsFenceNV(UInt32 fence); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsFramebufferOES", ExactSpelling = true)] - internal extern static bool IsFramebufferOES(UInt32 framebuffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsRenderbufferOES", ExactSpelling = true)] - internal extern static bool IsRenderbufferOES(UInt32 renderbuffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsSyncAPPLE", ExactSpelling = true)] - internal extern static bool IsSyncAPPLE(IntPtr sync); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsTexture", ExactSpelling = true)] - internal extern static bool IsTexture(UInt32 texture); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsVertexArrayOES", ExactSpelling = true)] - internal extern static bool IsVertexArrayOES(UInt32 array); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightf", ExactSpelling = true)] - internal extern static void Lightf(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightfv", ExactSpelling = true)] - internal extern static unsafe void Lightfv(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModelf", ExactSpelling = true)] - internal extern static void LightModelf(OpenTK.Graphics.ES11.LightModelParameter pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModelfv", ExactSpelling = true)] - internal extern static unsafe void LightModelfv(OpenTK.Graphics.ES11.LightModelParameter pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModelx", ExactSpelling = true)] - internal extern static void LightModelx(OpenTK.Graphics.ES11.All pname, int param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModelxOES", ExactSpelling = true)] - internal extern static void LightModelxOES(OpenTK.Graphics.ES11.All pname, int param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModelxv", ExactSpelling = true)] - internal extern static unsafe void LightModelxv(OpenTK.Graphics.ES11.All pname, int* param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModelxvOES", ExactSpelling = true)] - internal extern static unsafe void LightModelxvOES(OpenTK.Graphics.ES11.All pname, int* param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightx", ExactSpelling = true)] - internal extern static void Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightxOES", ExactSpelling = true)] - internal extern static void LightxOES(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightxv", ExactSpelling = true)] - internal extern static unsafe void Lightxv(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightxvOES", ExactSpelling = true)] - internal extern static unsafe void LightxvOES(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLineWidth", ExactSpelling = true)] - internal extern static void LineWidth(Single width); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLineWidthx", ExactSpelling = true)] - internal extern static void LineWidthx(int width); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLineWidthxOES", ExactSpelling = true)] - internal extern static void LineWidthxOES(int width); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadIdentity", ExactSpelling = true)] - internal extern static void LoadIdentity(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadMatrixf", ExactSpelling = true)] - internal extern static unsafe void LoadMatrixf(Single* m); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadMatrixx", ExactSpelling = true)] - internal extern static unsafe void LoadMatrixx(int* m); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadMatrixxOES", ExactSpelling = true)] - internal extern static unsafe void LoadMatrixxOES(int* m); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadPaletteFromModelViewMatrixOES", ExactSpelling = true)] - internal extern static void LoadPaletteFromModelViewMatrixOES(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadTransposeMatrixxOES", ExactSpelling = true)] - internal extern static unsafe void LoadTransposeMatrixxOES(int* m); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLogicOp", ExactSpelling = true)] - internal extern static void LogicOp(OpenTK.Graphics.ES11.LogicOp opcode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMap1xOES", ExactSpelling = true)] - internal extern static void Map1xOES(OpenTK.Graphics.ES11.All target, int u1, int u2, Int32 stride, Int32 order, int points); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMap2xOES", ExactSpelling = true)] - internal extern static void Map2xOES(OpenTK.Graphics.ES11.All target, int u1, int u2, Int32 ustride, Int32 uorder, int v1, int v2, Int32 vstride, Int32 vorder, int points); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapBufferOES", ExactSpelling = true)] - internal extern static IntPtr MapBufferOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All access); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapBufferRangeEXT", ExactSpelling = true)] - internal extern static IntPtr MapBufferRangeEXT(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr length, UInt32 access); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapGrid1xOES", ExactSpelling = true)] - internal extern static void MapGrid1xOES(Int32 n, int u1, int u2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapGrid2xOES", ExactSpelling = true)] - internal extern static void MapGrid2xOES(Int32 n, int u1, int u2, int v1, int v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialf", ExactSpelling = true)] - internal extern static void Materialf(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialfv", ExactSpelling = true)] - internal extern static unsafe void Materialfv(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialx", ExactSpelling = true)] - internal extern static void Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialxOES", ExactSpelling = true)] - internal extern static void MaterialxOES(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialxv", ExactSpelling = true)] - internal extern static unsafe void Materialxv(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialxvOES", ExactSpelling = true)] - internal extern static unsafe void MaterialxvOES(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixIndexPointerOES", ExactSpelling = true)] - internal extern static void MatrixIndexPointerOES(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixMode", ExactSpelling = true)] - internal extern static void MatrixMode(OpenTK.Graphics.ES11.MatrixMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawArraysEXT", ExactSpelling = true)] - internal extern static unsafe void MultiDrawArraysEXT(OpenTK.Graphics.ES11.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElementsEXT", ExactSpelling = true)] - internal extern static unsafe void MultiDrawElementsEXT(OpenTK.Graphics.ES11.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES11.All type, IntPtr indices, Int32 primcount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1bOES", ExactSpelling = true)] - internal extern static void MultiTexCoord1bOES(OpenTK.Graphics.ES11.All texture, SByte s); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1bvOES", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord1bvOES(OpenTK.Graphics.ES11.All texture, SByte* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1xOES", ExactSpelling = true)] - internal extern static void MultiTexCoord1xOES(OpenTK.Graphics.ES11.All texture, int s); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1xvOES", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord1xvOES(OpenTK.Graphics.ES11.All texture, int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2bOES", ExactSpelling = true)] - internal extern static void MultiTexCoord2bOES(OpenTK.Graphics.ES11.All texture, SByte s, SByte t); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2bvOES", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord2bvOES(OpenTK.Graphics.ES11.All texture, SByte* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2xOES", ExactSpelling = true)] - internal extern static void MultiTexCoord2xOES(OpenTK.Graphics.ES11.All texture, int s, int t); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2xvOES", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord2xvOES(OpenTK.Graphics.ES11.All texture, int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3bOES", ExactSpelling = true)] - internal extern static void MultiTexCoord3bOES(OpenTK.Graphics.ES11.All texture, SByte s, SByte t, SByte r); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3bvOES", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord3bvOES(OpenTK.Graphics.ES11.All texture, SByte* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3xOES", ExactSpelling = true)] - internal extern static void MultiTexCoord3xOES(OpenTK.Graphics.ES11.All texture, int s, int t, int r); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3xvOES", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord3xvOES(OpenTK.Graphics.ES11.All texture, int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4bOES", ExactSpelling = true)] - internal extern static void MultiTexCoord4bOES(OpenTK.Graphics.ES11.All texture, SByte s, SByte t, SByte r, SByte q); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4bvOES", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord4bvOES(OpenTK.Graphics.ES11.All texture, SByte* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4f", ExactSpelling = true)] - internal extern static void MultiTexCoord4f(OpenTK.Graphics.ES11.TextureUnit target, Single s, Single t, Single r, Single q); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4x", ExactSpelling = true)] - internal extern static void MultiTexCoord4x(OpenTK.Graphics.ES11.All texture, int s, int t, int r, int q); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4xOES", ExactSpelling = true)] - internal extern static void MultiTexCoord4xOES(OpenTK.Graphics.ES11.All texture, int s, int t, int r, int q); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4xvOES", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord4xvOES(OpenTK.Graphics.ES11.All texture, int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultMatrixf", ExactSpelling = true)] - internal extern static unsafe void MultMatrixf(Single* m); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultMatrixx", ExactSpelling = true)] - internal extern static unsafe void MultMatrixx(int* m); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultMatrixxOES", ExactSpelling = true)] - internal extern static unsafe void MultMatrixxOES(int* m); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultTransposeMatrixxOES", ExactSpelling = true)] - internal extern static unsafe void MultTransposeMatrixxOES(int* m); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3f", ExactSpelling = true)] - internal extern static void Normal3f(Single nx, Single ny, Single nz); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3x", ExactSpelling = true)] - internal extern static void Normal3x(int nx, int ny, int nz); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3xOES", ExactSpelling = true)] - internal extern static void Normal3xOES(int nx, int ny, int nz); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3xvOES", ExactSpelling = true)] - internal extern static unsafe void Normal3xvOES(int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalPointer", ExactSpelling = true)] - internal extern static void NormalPointer(OpenTK.Graphics.ES11.NormalPointerType type, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glOrthof", ExactSpelling = true)] - internal extern static void Orthof(Single l, Single r, Single b, Single t, Single n, Single f); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glOrthofOES", ExactSpelling = true)] - internal extern static void OrthofOES(Single l, Single r, Single b, Single t, Single n, Single f); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glOrthox", ExactSpelling = true)] - internal extern static void Orthox(int l, int r, int b, int t, int n, int f); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glOrthoxOES", ExactSpelling = true)] - internal extern static void OrthoxOES(int l, int r, int b, int t, int n, int f); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPassThroughxOES", ExactSpelling = true)] - internal extern static void PassThroughxOES(int token); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelMapx", ExactSpelling = true)] - internal extern static unsafe void PixelMapx(OpenTK.Graphics.ES11.All map, Int32 size, int* values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelStorei", ExactSpelling = true)] - internal extern static void PixelStorei(OpenTK.Graphics.ES11.PixelStoreParameter pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelStorex", ExactSpelling = true)] - internal extern static void PixelStorex(OpenTK.Graphics.ES11.All pname, int param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTransferxOES", ExactSpelling = true)] - internal extern static void PixelTransferxOES(OpenTK.Graphics.ES11.All pname, int param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelZoomxOES", ExactSpelling = true)] - internal extern static void PixelZoomxOES(int xfactor, int yfactor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterf", ExactSpelling = true)] - internal extern static void PointParameterf(OpenTK.Graphics.ES11.All pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterfv", ExactSpelling = true)] - internal extern static unsafe void PointParameterfv(OpenTK.Graphics.ES11.All pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterx", ExactSpelling = true)] - internal extern static void PointParameterx(OpenTK.Graphics.ES11.All pname, int param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterxOES", ExactSpelling = true)] - internal extern static void PointParameterxOES(OpenTK.Graphics.ES11.All pname, int param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterxv", ExactSpelling = true)] - internal extern static unsafe void PointParameterxv(OpenTK.Graphics.ES11.All pname, int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterxvOES", ExactSpelling = true)] - internal extern static unsafe void PointParameterxvOES(OpenTK.Graphics.ES11.All pname, int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointSize", ExactSpelling = true)] - internal extern static void PointSize(Single size); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointSizePointerOES", ExactSpelling = true)] - internal extern static void PointSizePointerOES(OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointSizex", ExactSpelling = true)] - internal extern static void PointSizex(int size); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointSizexOES", ExactSpelling = true)] - internal extern static void PointSizexOES(int size); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPolygonOffset", ExactSpelling = true)] - internal extern static void PolygonOffset(Single factor, Single units); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPolygonOffsetx", ExactSpelling = true)] - internal extern static void PolygonOffsetx(int factor, int units); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPolygonOffsetxOES", ExactSpelling = true)] - internal extern static void PolygonOffsetxOES(int factor, int units); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPopMatrix", ExactSpelling = true)] - internal extern static void PopMatrix(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPrioritizeTexturesxOES", ExactSpelling = true)] - internal extern static unsafe void PrioritizeTexturesxOES(Int32 n, UInt32* textures, int* priorities); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPushMatrix", ExactSpelling = true)] - internal extern static void PushMatrix(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glQueryMatrixxOES", ExactSpelling = true)] - internal extern static unsafe Int32 QueryMatrixxOES([OutAttribute] int* mantissa, [OutAttribute] Int32* exponent); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos2xOES", ExactSpelling = true)] - internal extern static void RasterPos2xOES(int x, int y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos2xvOES", ExactSpelling = true)] - internal extern static unsafe void RasterPos2xvOES(int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos3xOES", ExactSpelling = true)] - internal extern static void RasterPos3xOES(int x, int y, int z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos3xvOES", ExactSpelling = true)] - internal extern static unsafe void RasterPos3xvOES(int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos4xOES", ExactSpelling = true)] - internal extern static void RasterPos4xOES(int x, int y, int z, int w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos4xvOES", ExactSpelling = true)] - internal extern static unsafe void RasterPos4xvOES(int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadnPixelsEXT", ExactSpelling = true)] - internal extern static void ReadnPixelsEXT(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, Int32 bufSize, [OutAttribute] IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadPixels", ExactSpelling = true)] - internal extern static void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [OutAttribute] IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRectxOES", ExactSpelling = true)] - internal extern static void RectxOES(int x1, int y1, int x2, int y2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRectxvOES", ExactSpelling = true)] - internal extern static unsafe void RectxvOES(int* v1, int* v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisampleAPPLE", ExactSpelling = true)] - internal extern static void RenderbufferStorageMultisampleAPPLE(OpenTK.Graphics.ES11.All target, Int32 samples, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisampleEXT", ExactSpelling = true)] - internal extern static void RenderbufferStorageMultisampleEXT(OpenTK.Graphics.ES11.All target, Int32 samples, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisampleIMG", ExactSpelling = true)] - internal extern static void RenderbufferStorageMultisampleIMG(OpenTK.Graphics.ES11.All target, Int32 samples, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageOES", ExactSpelling = true)] - internal extern static void RenderbufferStorageOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResolveMultisampleFramebufferAPPLE", ExactSpelling = true)] - internal extern static void ResolveMultisampleFramebufferAPPLE(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRotatef", ExactSpelling = true)] - internal extern static void Rotatef(Single angle, Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRotatex", ExactSpelling = true)] - internal extern static void Rotatex(int angle, int x, int y, int z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRotatexOES", ExactSpelling = true)] - internal extern static void RotatexOES(int angle, int x, int y, int z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleCoverage", ExactSpelling = true)] - internal extern static void SampleCoverage(Single value, bool invert); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleCoverageOES", ExactSpelling = true)] - internal extern static void SampleCoverageOES(int value, bool invert); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleCoveragex", ExactSpelling = true)] - internal extern static void SampleCoveragex(int value, bool invert); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleCoveragexOES", ExactSpelling = true)] - internal extern static void SampleCoveragexOES(int value, bool invert); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glScalef", ExactSpelling = true)] - internal extern static void Scalef(Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glScalex", ExactSpelling = true)] - internal extern static void Scalex(int x, int y, int z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glScalexOES", ExactSpelling = true)] - internal extern static void ScalexOES(int x, int y, int z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glScissor", ExactSpelling = true)] - internal extern static void Scissor(Int32 x, Int32 y, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSetFenceNV", ExactSpelling = true)] - internal extern static void SetFenceNV(UInt32 fence, OpenTK.Graphics.ES11.All condition); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShadeModel", ExactSpelling = true)] - internal extern static void ShadeModel(OpenTK.Graphics.ES11.ShadingModel mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStartTilingQCOM", ExactSpelling = true)] - internal extern static void StartTilingQCOM(UInt32 x, UInt32 y, UInt32 width, UInt32 height, UInt32 preserveMask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilFunc", ExactSpelling = true)] - internal extern static void StencilFunc(OpenTK.Graphics.ES11.StencilFunction func, Int32 @ref, UInt32 mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilMask", ExactSpelling = true)] - internal extern static void StencilMask(UInt32 mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilOp", ExactSpelling = true)] - internal extern static void StencilOp(OpenTK.Graphics.ES11.StencilOp fail, OpenTK.Graphics.ES11.StencilOp zfail, OpenTK.Graphics.ES11.StencilOp zpass); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTestFenceNV", ExactSpelling = true)] - internal extern static bool TestFenceNV(UInt32 fence); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1bOES", ExactSpelling = true)] - internal extern static void TexCoord1bOES(SByte s); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1bvOES", ExactSpelling = true)] - internal extern static unsafe void TexCoord1bvOES(SByte* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1xOES", ExactSpelling = true)] - internal extern static void TexCoord1xOES(int s); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1xvOES", ExactSpelling = true)] - internal extern static unsafe void TexCoord1xvOES(int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2bOES", ExactSpelling = true)] - internal extern static void TexCoord2bOES(SByte s, SByte t); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2bvOES", ExactSpelling = true)] - internal extern static unsafe void TexCoord2bvOES(SByte* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2xOES", ExactSpelling = true)] - internal extern static void TexCoord2xOES(int s, int t); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2xvOES", ExactSpelling = true)] - internal extern static unsafe void TexCoord2xvOES(int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3bOES", ExactSpelling = true)] - internal extern static void TexCoord3bOES(SByte s, SByte t, SByte r); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3bvOES", ExactSpelling = true)] - internal extern static unsafe void TexCoord3bvOES(SByte* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3xOES", ExactSpelling = true)] - internal extern static void TexCoord3xOES(int s, int t, int r); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3xvOES", ExactSpelling = true)] - internal extern static unsafe void TexCoord3xvOES(int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4bOES", ExactSpelling = true)] - internal extern static void TexCoord4bOES(SByte s, SByte t, SByte r, SByte q); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4bvOES", ExactSpelling = true)] - internal extern static unsafe void TexCoord4bvOES(SByte* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4xOES", ExactSpelling = true)] - internal extern static void TexCoord4xOES(int s, int t, int r, int q); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4xvOES", ExactSpelling = true)] - internal extern static unsafe void TexCoord4xvOES(int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordPointer", ExactSpelling = true)] - internal extern static void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.TexCoordPointerType type, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvf", ExactSpelling = true)] - internal extern static void TexEnvf(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvfv", ExactSpelling = true)] - internal extern static unsafe void TexEnvfv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvi", ExactSpelling = true)] - internal extern static void TexEnvi(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnviv", ExactSpelling = true)] - internal extern static unsafe void TexEnviv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvx", ExactSpelling = true)] - internal extern static void TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvxOES", ExactSpelling = true)] - internal extern static void TexEnvxOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvxv", ExactSpelling = true)] - internal extern static unsafe void TexEnvxv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvxvOES", ExactSpelling = true)] - internal extern static unsafe void TexEnvxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGenfOES", ExactSpelling = true)] - internal extern static void TexGenfOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGenfvOES", ExactSpelling = true)] - internal extern static unsafe void TexGenfvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGeniOES", ExactSpelling = true)] - internal extern static void TexGeniOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGenivOES", ExactSpelling = true)] - internal extern static unsafe void TexGenivOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGenxOES", ExactSpelling = true)] - internal extern static void TexGenxOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGenxvOES", ExactSpelling = true)] - internal extern static unsafe void TexGenxvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage2D", ExactSpelling = true)] - internal extern static void TexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterf", ExactSpelling = true)] - internal extern static void TexParameterf(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterfv", ExactSpelling = true)] - internal extern static unsafe void TexParameterfv(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameteri", ExactSpelling = true)] - internal extern static void TexParameteri(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameteriv", ExactSpelling = true)] - internal extern static unsafe void TexParameteriv(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterx", ExactSpelling = true)] - internal extern static void TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterxOES", ExactSpelling = true)] - internal extern static void TexParameterxOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterxv", ExactSpelling = true)] - internal extern static unsafe void TexParameterxv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterxvOES", ExactSpelling = true)] - internal extern static unsafe void TexParameterxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage1DEXT", ExactSpelling = true)] - internal extern static void TexStorage1DEXT(OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage2DEXT", ExactSpelling = true)] - internal extern static void TexStorage2DEXT(OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage3DEXT", ExactSpelling = true)] - internal extern static void TexStorage3DEXT(OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 depth); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage2D", ExactSpelling = true)] - internal extern static void TexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureStorage1DEXT", ExactSpelling = true)] - internal extern static void TextureStorage1DEXT(UInt32 texture, OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureStorage2DEXT", ExactSpelling = true)] - internal extern static void TextureStorage2DEXT(UInt32 texture, OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureStorage3DEXT", ExactSpelling = true)] - internal extern static void TextureStorage3DEXT(UInt32 texture, OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 depth); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTranslatef", ExactSpelling = true)] - internal extern static void Translatef(Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTranslatex", ExactSpelling = true)] - internal extern static void Translatex(int x, int y, int z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTranslatexOES", ExactSpelling = true)] - internal extern static void TranslatexOES(int x, int y, int z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUnmapBufferOES", ExactSpelling = true)] - internal extern static bool UnmapBufferOES(OpenTK.Graphics.ES11.All target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2bOES", ExactSpelling = true)] - internal extern static void Vertex2bOES(SByte x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2bvOES", ExactSpelling = true)] - internal extern static unsafe void Vertex2bvOES(SByte* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2xOES", ExactSpelling = true)] - internal extern static void Vertex2xOES(int x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2xvOES", ExactSpelling = true)] - internal extern static unsafe void Vertex2xvOES(int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3bOES", ExactSpelling = true)] - internal extern static void Vertex3bOES(SByte x, SByte y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3bvOES", ExactSpelling = true)] - internal extern static unsafe void Vertex3bvOES(SByte* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3xOES", ExactSpelling = true)] - internal extern static void Vertex3xOES(int x, int y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3xvOES", ExactSpelling = true)] - internal extern static unsafe void Vertex3xvOES(int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4bOES", ExactSpelling = true)] - internal extern static void Vertex4bOES(SByte x, SByte y, SByte z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4bvOES", ExactSpelling = true)] - internal extern static unsafe void Vertex4bvOES(SByte* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4xOES", ExactSpelling = true)] - internal extern static void Vertex4xOES(int x, int y, int z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4xvOES", ExactSpelling = true)] - internal extern static unsafe void Vertex4xvOES(int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexPointer", ExactSpelling = true)] - internal extern static void VertexPointer(Int32 size, OpenTK.Graphics.ES11.VertexPointerType type, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glViewport", ExactSpelling = true)] - internal extern static void Viewport(Int32 x, Int32 y, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWaitSyncAPPLE", ExactSpelling = true)] - internal extern static void WaitSyncAPPLE(IntPtr sync, UInt32 flags, UInt64 timeout); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWeightPointerOES", ExactSpelling = true)] - internal extern static void WeightPointerOES(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer); - } - } -} diff --git a/Source/OpenTK/Graphics/ES11/ES11Delegates.cs b/Source/OpenTK/Graphics/ES11/ES11Delegates.cs deleted file mode 100644 index 92f688af..00000000 --- a/Source/OpenTK/Graphics/ES11/ES11Delegates.cs +++ /dev/null @@ -1,1195 +0,0 @@ -// -// The Open Toolkit Library License -// -// Copyright (c) 2006 - 2013 Stefanos Apostolopoulos for the Open Toolkit Library -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights to -// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -// the Software, and to permit persons to whom the Software is furnished to do -// so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -// OTHER DEALINGS IN THE SOFTWARE. -// - - - -namespace OpenTK.Graphics.ES11 -{ - using System; - using System.Text; - using System.Runtime.InteropServices; - #pragma warning disable 0649 - #pragma warning disable 3019 - #pragma warning disable 1591 - - partial class GL - { - internal static partial class Delegates - { - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void AccumxOES(OpenTK.Graphics.ES11.All op, int value); - internal static AccumxOES glAccumxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ActiveTexture(OpenTK.Graphics.ES11.TextureUnit texture); - internal static ActiveTexture glActiveTexture; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void AlphaFunc(OpenTK.Graphics.ES11.AlphaFunction func, Single @ref); - internal static AlphaFunc glAlphaFunc; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void AlphaFuncx(OpenTK.Graphics.ES11.All func, int @ref); - internal static AlphaFuncx glAlphaFuncx; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void AlphaFuncxOES(OpenTK.Graphics.ES11.All func, int @ref); - internal static AlphaFuncxOES glAlphaFuncxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindBuffer(OpenTK.Graphics.ES11.All target, UInt32 buffer); - internal static BindBuffer glBindBuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindFramebufferOES(OpenTK.Graphics.ES11.All target, UInt32 framebuffer); - internal static BindFramebufferOES glBindFramebufferOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindRenderbufferOES(OpenTK.Graphics.ES11.All target, UInt32 renderbuffer); - internal static BindRenderbufferOES glBindRenderbufferOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindTexture(OpenTK.Graphics.ES11.TextureTarget target, UInt32 texture); - internal static BindTexture glBindTexture; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindVertexArrayOES(UInt32 array); - internal static BindVertexArrayOES glBindVertexArrayOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void BitmapxOES(Int32 width, Int32 height, int xorig, int yorig, int xmove, int ymove, Byte* bitmap); - internal unsafe static BitmapxOES glBitmapxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendColorxOES(int red, int green, int blue, int alpha); - internal static BlendColorxOES glBlendColorxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquationEXT(OpenTK.Graphics.ES11.BlendEquationModeExt mode); - internal static BlendEquationEXT glBlendEquationEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquationOES(OpenTK.Graphics.ES11.All mode); - internal static BlendEquationOES glBlendEquationOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquationSeparateOES(OpenTK.Graphics.ES11.All modeRGB, OpenTK.Graphics.ES11.All modeAlpha); - internal static BlendEquationSeparateOES glBlendEquationSeparateOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendFunc(OpenTK.Graphics.ES11.BlendingFactorSrc sfactor, OpenTK.Graphics.ES11.BlendingFactorDest dfactor); - internal static BlendFunc glBlendFunc; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendFuncSeparateOES(OpenTK.Graphics.ES11.All srcRGB, OpenTK.Graphics.ES11.All dstRGB, OpenTK.Graphics.ES11.All srcAlpha, OpenTK.Graphics.ES11.All dstAlpha); - internal static BlendFuncSeparateOES glBlendFuncSeparateOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BufferData(OpenTK.Graphics.ES11.All target, IntPtr size, IntPtr data, OpenTK.Graphics.ES11.All usage); - internal static BufferData glBufferData; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BufferSubData(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr size, IntPtr data); - internal static BufferSubData glBufferSubData; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate OpenTK.Graphics.ES11.All CheckFramebufferStatusOES(OpenTK.Graphics.ES11.All target); - internal static CheckFramebufferStatusOES glCheckFramebufferStatusOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Clear(OpenTK.Graphics.ES11.ClearBufferMask mask); - internal static Clear glClear; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearAccumxOES(int red, int green, int blue, int alpha); - internal static ClearAccumxOES glClearAccumxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearColor(Single red, Single green, Single blue, Single alpha); - internal static ClearColor glClearColor; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearColorx(int red, int green, int blue, int alpha); - internal static ClearColorx glClearColorx; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearColorxOES(int red, int green, int blue, int alpha); - internal static ClearColorxOES glClearColorxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearDepthf(Single d); - internal static ClearDepthf glClearDepthf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearDepthfOES(Single depth); - internal static ClearDepthfOES glClearDepthfOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearDepthx(int depth); - internal static ClearDepthx glClearDepthx; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearDepthxOES(int depth); - internal static ClearDepthxOES glClearDepthxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearStencil(Int32 s); - internal static ClearStencil glClearStencil; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClientActiveTexture(OpenTK.Graphics.ES11.TextureUnit texture); - internal static ClientActiveTexture glClientActiveTexture; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate OpenTK.Graphics.ES11.All ClientWaitSyncAPPLE(IntPtr sync, UInt32 flags, UInt64 timeout); - internal static ClientWaitSyncAPPLE glClientWaitSyncAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ClipPlanef(OpenTK.Graphics.ES11.All p, Single* eqn); - internal unsafe static ClipPlanef glClipPlanef; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ClipPlanefIMG(OpenTK.Graphics.ES11.All p, Single* eqn); - internal unsafe static ClipPlanefIMG glClipPlanefIMG; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ClipPlanefOES(OpenTK.Graphics.ES11.All plane, Single* equation); - internal unsafe static ClipPlanefOES glClipPlanefOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ClipPlanex(OpenTK.Graphics.ES11.All plane, int* equation); - internal unsafe static ClipPlanex glClipPlanex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ClipPlanexIMG(OpenTK.Graphics.ES11.All p, int* eqn); - internal unsafe static ClipPlanexIMG glClipPlanexIMG; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ClipPlanexOES(OpenTK.Graphics.ES11.All plane, int* equation); - internal unsafe static ClipPlanexOES glClipPlanexOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Color3xOES(int red, int green, int blue); - internal static Color3xOES glColor3xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Color3xvOES(int* components); - internal unsafe static Color3xvOES glColor3xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Color4f(Single red, Single green, Single blue, Single alpha); - internal static Color4f glColor4f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Color4ub(Byte red, Byte green, Byte blue, Byte alpha); - internal static Color4ub glColor4ub; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Color4x(int red, int green, int blue, int alpha); - internal static Color4x glColor4x; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Color4xOES(int red, int green, int blue, int alpha); - internal static Color4xOES glColor4xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Color4xvOES(int* components); - internal unsafe static Color4xvOES glColor4xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorMask(bool red, bool green, bool blue, bool alpha); - internal static ColorMask glColorMask; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorPointer(Int32 size, OpenTK.Graphics.ES11.ColorPointerType type, Int32 stride, IntPtr pointer); - internal static ColorPointer glColorPointer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); - internal static CompressedTexImage2D glCompressedTexImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, Int32 imageSize, IntPtr data); - internal static CompressedTexSubImage2D glCompressedTexSubImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ConvolutionParameterxOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param); - internal static ConvolutionParameterxOES glConvolutionParameterxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ConvolutionParameterxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params); - internal unsafe static ConvolutionParameterxvOES glConvolutionParameterxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); - internal static CopyTexImage2D glCopyTexImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); - internal static CopyTexSubImage2D glCopyTexSubImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTextureLevelsAPPLE(UInt32 destinationTexture, UInt32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount); - internal static CopyTextureLevelsAPPLE glCopyTextureLevelsAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CullFace(OpenTK.Graphics.ES11.CullFaceMode mode); - internal static CullFace glCullFace; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CurrentPaletteMatrixOES(UInt32 matrixpaletteindex); - internal static CurrentPaletteMatrixOES glCurrentPaletteMatrixOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteBuffers(Int32 n, UInt32* buffers); - internal unsafe static DeleteBuffers glDeleteBuffers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteFencesNV(Int32 n, UInt32* fences); - internal unsafe static DeleteFencesNV glDeleteFencesNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteFramebuffersOES(Int32 n, UInt32* framebuffers); - internal unsafe static DeleteFramebuffersOES glDeleteFramebuffersOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteRenderbuffersOES(Int32 n, UInt32* renderbuffers); - internal unsafe static DeleteRenderbuffersOES glDeleteRenderbuffersOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DeleteSyncAPPLE(IntPtr sync); - internal static DeleteSyncAPPLE glDeleteSyncAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteTextures(Int32 n, UInt32* textures); - internal unsafe static DeleteTextures glDeleteTextures; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteVertexArraysOES(Int32 n, UInt32* arrays); - internal unsafe static DeleteVertexArraysOES glDeleteVertexArraysOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DepthFunc(OpenTK.Graphics.ES11.DepthFunction func); - internal static DepthFunc glDepthFunc; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DepthMask(bool flag); - internal static DepthMask glDepthMask; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DepthRangef(Single n, Single f); - internal static DepthRangef glDepthRangef; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DepthRangefOES(Single n, Single f); - internal static DepthRangefOES glDepthRangefOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DepthRangex(int n, int f); - internal static DepthRangex glDepthRangex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DepthRangexOES(int n, int f); - internal static DepthRangexOES glDepthRangexOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Disable(OpenTK.Graphics.ES11.EnableCap cap); - internal static Disable glDisable; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DisableClientState(OpenTK.Graphics.ES11.EnableCap array); - internal static DisableClientState glDisableClientState; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DisableDriverControlQCOM(UInt32 driverControl); - internal static DisableDriverControlQCOM glDisableDriverControlQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DiscardFramebufferEXT(OpenTK.Graphics.ES11.All target, Int32 numAttachments, OpenTK.Graphics.ES11.All* attachments); - internal unsafe static DiscardFramebufferEXT glDiscardFramebufferEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawArrays(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 first, Int32 count); - internal static DrawArrays glDrawArrays; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES11.All type, IntPtr indices); - internal static DrawElements glDrawElements; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawTexfOES(Single x, Single y, Single z, Single width, Single height); - internal static DrawTexfOES glDrawTexfOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DrawTexfvOES(Single* coords); - internal unsafe static DrawTexfvOES glDrawTexfvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawTexiOES(Int32 x, Int32 y, Int32 z, Int32 width, Int32 height); - internal static DrawTexiOES glDrawTexiOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DrawTexivOES(Int32* coords); - internal unsafe static DrawTexivOES glDrawTexivOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawTexsOES(Int16 x, Int16 y, Int16 z, Int16 width, Int16 height); - internal static DrawTexsOES glDrawTexsOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DrawTexsvOES(Int16* coords); - internal unsafe static DrawTexsvOES glDrawTexsvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawTexxOES(int x, int y, int z, int width, int height); - internal static DrawTexxOES glDrawTexxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DrawTexxvOES(int* coords); - internal unsafe static DrawTexxvOES glDrawTexxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EGLImageTargetRenderbufferStorageOES(OpenTK.Graphics.ES11.All target, IntPtr image); - internal static EGLImageTargetRenderbufferStorageOES glEGLImageTargetRenderbufferStorageOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EGLImageTargetTexture2DOES(OpenTK.Graphics.ES11.All target, IntPtr image); - internal static EGLImageTargetTexture2DOES glEGLImageTargetTexture2DOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Enable(OpenTK.Graphics.ES11.EnableCap cap); - internal static Enable glEnable; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EnableClientState(OpenTK.Graphics.ES11.EnableCap array); - internal static EnableClientState glEnableClientState; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EnableDriverControlQCOM(UInt32 driverControl); - internal static EnableDriverControlQCOM glEnableDriverControlQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndTilingQCOM(UInt32 preserveMask); - internal static EndTilingQCOM glEndTilingQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EvalCoord1xOES(int u); - internal static EvalCoord1xOES glEvalCoord1xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void EvalCoord1xvOES(int* coords); - internal unsafe static EvalCoord1xvOES glEvalCoord1xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EvalCoord2xOES(int u, int v); - internal static EvalCoord2xOES glEvalCoord2xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void EvalCoord2xvOES(int* coords); - internal unsafe static EvalCoord2xvOES glEvalCoord2xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ExtGetBufferPointervQCOM(OpenTK.Graphics.ES11.All target, [OutAttribute] IntPtr @params); - internal static ExtGetBufferPointervQCOM glExtGetBufferPointervQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ExtGetBuffersQCOM([OutAttribute] UInt32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers); - internal unsafe static ExtGetBuffersQCOM glExtGetBuffersQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ExtGetFramebuffersQCOM([OutAttribute] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers); - internal unsafe static ExtGetFramebuffersQCOM glExtGetFramebuffersQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ExtGetProgramBinarySourceQCOM(UInt32 program, OpenTK.Graphics.ES11.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32* length); - internal unsafe static ExtGetProgramBinarySourceQCOM glExtGetProgramBinarySourceQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ExtGetProgramsQCOM([OutAttribute] UInt32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms); - internal unsafe static ExtGetProgramsQCOM glExtGetProgramsQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ExtGetRenderbuffersQCOM([OutAttribute] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers); - internal unsafe static ExtGetRenderbuffersQCOM glExtGetRenderbuffersQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ExtGetShadersQCOM([OutAttribute] UInt32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders); - internal unsafe static ExtGetShadersQCOM glExtGetShadersQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ExtGetTexLevelParameterivQCOM(UInt32 texture, OpenTK.Graphics.ES11.All face, Int32 level, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params); - internal unsafe static ExtGetTexLevelParameterivQCOM glExtGetTexLevelParameterivQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ExtGetTexSubImageQCOM(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [OutAttribute] IntPtr texels); - internal static ExtGetTexSubImageQCOM glExtGetTexSubImageQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ExtGetTexturesQCOM([OutAttribute] UInt32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures); - internal unsafe static ExtGetTexturesQCOM glExtGetTexturesQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool ExtIsProgramBinaryQCOM(UInt32 program); - internal static ExtIsProgramBinaryQCOM glExtIsProgramBinaryQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ExtTexObjectStateOverrideiQCOM(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32 param); - internal static ExtTexObjectStateOverrideiQCOM glExtTexObjectStateOverrideiQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void FeedbackBufferxOES(Int32 n, OpenTK.Graphics.ES11.All type, int* buffer); - internal unsafe static FeedbackBufferxOES glFeedbackBufferxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr FenceSyncAPPLE(OpenTK.Graphics.ES11.All condition, UInt32 flags); - internal static FenceSyncAPPLE glFenceSyncAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Finish(); - internal static Finish glFinish; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FinishFenceNV(UInt32 fence); - internal static FinishFenceNV glFinishFenceNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Flush(); - internal static Flush glFlush; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FlushMappedBufferRangeEXT(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr length); - internal static FlushMappedBufferRangeEXT glFlushMappedBufferRangeEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Fogf(OpenTK.Graphics.ES11.FogParameter pname, Single param); - internal static Fogf glFogf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Fogfv(OpenTK.Graphics.ES11.FogParameter pname, Single* @params); - internal unsafe static Fogfv glFogfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Fogx(OpenTK.Graphics.ES11.All pname, int param); - internal static Fogx glFogx; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FogxOES(OpenTK.Graphics.ES11.All pname, int param); - internal static FogxOES glFogxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Fogxv(OpenTK.Graphics.ES11.All pname, int* param); - internal unsafe static Fogxv glFogxv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void FogxvOES(OpenTK.Graphics.ES11.All pname, int* param); - internal unsafe static FogxvOES glFogxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferRenderbufferOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All renderbuffertarget, UInt32 renderbuffer); - internal static FramebufferRenderbufferOES glFramebufferRenderbufferOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTexture2DMultisampleEXT(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All textarget, UInt32 texture, Int32 level, Int32 samples); - internal static FramebufferTexture2DMultisampleEXT glFramebufferTexture2DMultisampleEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTexture2DMultisampleIMG(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All textarget, UInt32 texture, Int32 level, Int32 samples); - internal static FramebufferTexture2DMultisampleIMG glFramebufferTexture2DMultisampleIMG; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTexture2DOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All textarget, UInt32 texture, Int32 level); - internal static FramebufferTexture2DOES glFramebufferTexture2DOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FrontFace(OpenTK.Graphics.ES11.FrontFaceDirection mode); - internal static FrontFace glFrontFace; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Frustumf(Single l, Single r, Single b, Single t, Single n, Single f); - internal static Frustumf glFrustumf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FrustumfOES(Single l, Single r, Single b, Single t, Single n, Single f); - internal static FrustumfOES glFrustumfOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Frustumx(int l, int r, int b, int t, int n, int f); - internal static Frustumx glFrustumx; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FrustumxOES(int l, int r, int b, int t, int n, int f); - internal static FrustumxOES glFrustumxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers); - internal unsafe static GenBuffers glGenBuffers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GenerateMipmapOES(OpenTK.Graphics.ES11.All target); - internal static GenerateMipmapOES glGenerateMipmapOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenFencesNV(Int32 n, [OutAttribute] UInt32* fences); - internal unsafe static GenFencesNV glGenFencesNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenFramebuffersOES(Int32 n, [OutAttribute] UInt32* framebuffers); - internal unsafe static GenFramebuffersOES glGenFramebuffersOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenRenderbuffersOES(Int32 n, [OutAttribute] UInt32* renderbuffers); - internal unsafe static GenRenderbuffersOES glGenRenderbuffersOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenTextures(Int32 n, [OutAttribute] UInt32* textures); - internal unsafe static GenTextures glGenTextures; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenVertexArraysOES(Int32 n, [OutAttribute] UInt32* arrays); - internal unsafe static GenVertexArraysOES glGenVertexArraysOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetBooleanv(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] bool* data); - internal unsafe static GetBooleanv glGetBooleanv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetBufferParameteriv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params); - internal unsafe static GetBufferParameteriv glGetBufferParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetBufferPointervOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] IntPtr @params); - internal static GetBufferPointervOES glGetBufferPointervOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetClipPlanef(OpenTK.Graphics.ES11.All plane, [OutAttribute] Single* equation); - internal unsafe static GetClipPlanef glGetClipPlanef; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetClipPlanefOES(OpenTK.Graphics.ES11.All plane, [OutAttribute] Single* equation); - internal unsafe static GetClipPlanefOES glGetClipPlanefOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetClipPlanex(OpenTK.Graphics.ES11.All plane, [OutAttribute] int* equation); - internal unsafe static GetClipPlanex glGetClipPlanex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetClipPlanexOES(OpenTK.Graphics.ES11.All plane, [OutAttribute] int* equation); - internal unsafe static GetClipPlanexOES glGetClipPlanexOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetConvolutionParameterxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); - internal unsafe static GetConvolutionParameterxvOES glGetConvolutionParameterxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetDriverControlsQCOM([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls); - internal unsafe static GetDriverControlsQCOM glGetDriverControlsQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString); - internal unsafe static GetDriverControlStringQCOM glGetDriverControlStringQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate OpenTK.Graphics.ES11.ErrorCode GetError(); - internal static GetError glGetError; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFenceivNV(UInt32 fence, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params); - internal unsafe static GetFenceivNV glGetFenceivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFixedv(OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); - internal unsafe static GetFixedv glGetFixedv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFixedvOES(OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); - internal unsafe static GetFixedvOES glGetFixedvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFloatv(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] Single* data); - internal unsafe static GetFloatv glGetFloatv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFramebufferAttachmentParameterivOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params); - internal unsafe static GetFramebufferAttachmentParameterivOES glGetFramebufferAttachmentParameterivOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate OpenTK.Graphics.ES11.All GetGraphicsResetStatusEXT(); - internal static GetGraphicsResetStatusEXT glGetGraphicsResetStatusEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetHistogramParameterxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); - internal unsafe static GetHistogramParameterxvOES glGetHistogramParameterxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetInteger64vAPPLE(OpenTK.Graphics.ES11.All pname, [OutAttribute] Int64* @params); - internal unsafe static GetInteger64vAPPLE glGetInteger64vAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetIntegerv(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] Int32* data); - internal unsafe static GetIntegerv glGetIntegerv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetLightfv(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, [OutAttribute] Single* @params); - internal unsafe static GetLightfv glGetLightfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetLightxOES(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); - internal unsafe static GetLightxOES glGetLightxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetLightxv(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); - internal unsafe static GetLightxv glGetLightxv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetLightxvOES(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); - internal unsafe static GetLightxvOES glGetLightxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMapxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All query, [OutAttribute] int* v); - internal unsafe static GetMapxvOES glGetMapxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMaterialfv(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, [OutAttribute] Single* @params); - internal unsafe static GetMaterialfv glGetMaterialfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetMaterialxOES(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int param); - internal static GetMaterialxOES glGetMaterialxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMaterialxv(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); - internal unsafe static GetMaterialxv glGetMaterialxv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMaterialxvOES(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); - internal unsafe static GetMaterialxvOES glGetMaterialxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetnUniformfvEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params); - internal unsafe static GetnUniformfvEXT glGetnUniformfvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetnUniformivEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params); - internal unsafe static GetnUniformivEXT glGetnUniformivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPixelMapxv(OpenTK.Graphics.ES11.All map, Int32 size, [OutAttribute] int* values); - internal unsafe static GetPixelMapxv glGetPixelMapxv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetPointerv(OpenTK.Graphics.ES11.GetPointervPName pname, [OutAttribute] IntPtr @params); - internal static GetPointerv glGetPointerv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetRenderbufferParameterivOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params); - internal unsafe static GetRenderbufferParameterivOES glGetRenderbufferParameterivOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr GetString(OpenTK.Graphics.ES11.StringName name); - internal static GetString glGetString; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetSyncivAPPLE(IntPtr sync, OpenTK.Graphics.ES11.All pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); - internal unsafe static GetSyncivAPPLE glGetSyncivAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexEnvfv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, [OutAttribute] Single* @params); - internal unsafe static GetTexEnvfv glGetTexEnvfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexEnviv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetTexEnviv glGetTexEnviv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexEnvxv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); - internal unsafe static GetTexEnvxv glGetTexEnvxv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexEnvxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); - internal unsafe static GetTexEnvxvOES glGetTexEnvxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexGenfvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] Single* @params); - internal unsafe static GetTexGenfvOES glGetTexGenfvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexGenivOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params); - internal unsafe static GetTexGenivOES glGetTexGenivOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexGenxvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); - internal unsafe static GetTexGenxvOES glGetTexGenxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexLevelParameterxvOES(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); - internal unsafe static GetTexLevelParameterxvOES glGetTexLevelParameterxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexParameterfv(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.GetTextureParameter pname, [OutAttribute] Single* @params); - internal unsafe static GetTexParameterfv glGetTexParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexParameteriv(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.GetTextureParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetTexParameteriv glGetTexParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexParameterxv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); - internal unsafe static GetTexParameterxv glGetTexParameterxv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexParameterxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params); - internal unsafe static GetTexParameterxvOES glGetTexParameterxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Hint(OpenTK.Graphics.ES11.HintTarget target, OpenTK.Graphics.ES11.HintMode mode); - internal static Hint glHint; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void IndexxOES(int component); - internal static IndexxOES glIndexxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void IndexxvOES(int* component); - internal unsafe static IndexxvOES glIndexxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsBuffer(UInt32 buffer); - internal static IsBuffer glIsBuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsEnabled(OpenTK.Graphics.ES11.EnableCap cap); - internal static IsEnabled glIsEnabled; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsFenceNV(UInt32 fence); - internal static IsFenceNV glIsFenceNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsFramebufferOES(UInt32 framebuffer); - internal static IsFramebufferOES glIsFramebufferOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsRenderbufferOES(UInt32 renderbuffer); - internal static IsRenderbufferOES glIsRenderbufferOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsSyncAPPLE(IntPtr sync); - internal static IsSyncAPPLE glIsSyncAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsTexture(UInt32 texture); - internal static IsTexture glIsTexture; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsVertexArrayOES(UInt32 array); - internal static IsVertexArrayOES glIsVertexArrayOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Lightf(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, Single param); - internal static Lightf glLightf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Lightfv(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, Single* @params); - internal unsafe static Lightfv glLightfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LightModelf(OpenTK.Graphics.ES11.LightModelParameter pname, Single param); - internal static LightModelf glLightModelf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void LightModelfv(OpenTK.Graphics.ES11.LightModelParameter pname, Single* @params); - internal unsafe static LightModelfv glLightModelfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LightModelx(OpenTK.Graphics.ES11.All pname, int param); - internal static LightModelx glLightModelx; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LightModelxOES(OpenTK.Graphics.ES11.All pname, int param); - internal static LightModelxOES glLightModelxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void LightModelxv(OpenTK.Graphics.ES11.All pname, int* param); - internal unsafe static LightModelxv glLightModelxv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void LightModelxvOES(OpenTK.Graphics.ES11.All pname, int* param); - internal unsafe static LightModelxvOES glLightModelxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int param); - internal static Lightx glLightx; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LightxOES(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int param); - internal static LightxOES glLightxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Lightxv(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params); - internal unsafe static Lightxv glLightxv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void LightxvOES(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params); - internal unsafe static LightxvOES glLightxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LineWidth(Single width); - internal static LineWidth glLineWidth; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LineWidthx(int width); - internal static LineWidthx glLineWidthx; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LineWidthxOES(int width); - internal static LineWidthxOES glLineWidthxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LoadIdentity(); - internal static LoadIdentity glLoadIdentity; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void LoadMatrixf(Single* m); - internal unsafe static LoadMatrixf glLoadMatrixf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void LoadMatrixx(int* m); - internal unsafe static LoadMatrixx glLoadMatrixx; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void LoadMatrixxOES(int* m); - internal unsafe static LoadMatrixxOES glLoadMatrixxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LoadPaletteFromModelViewMatrixOES(); - internal static LoadPaletteFromModelViewMatrixOES glLoadPaletteFromModelViewMatrixOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void LoadTransposeMatrixxOES(int* m); - internal unsafe static LoadTransposeMatrixxOES glLoadTransposeMatrixxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LogicOp(OpenTK.Graphics.ES11.LogicOp opcode); - internal static LogicOp glLogicOp; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Map1xOES(OpenTK.Graphics.ES11.All target, int u1, int u2, Int32 stride, Int32 order, int points); - internal static Map1xOES glMap1xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Map2xOES(OpenTK.Graphics.ES11.All target, int u1, int u2, Int32 ustride, Int32 uorder, int v1, int v2, Int32 vstride, Int32 vorder, int points); - internal static Map2xOES glMap2xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr MapBufferOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All access); - internal static MapBufferOES glMapBufferOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr MapBufferRangeEXT(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr length, UInt32 access); - internal static MapBufferRangeEXT glMapBufferRangeEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MapGrid1xOES(Int32 n, int u1, int u2); - internal static MapGrid1xOES glMapGrid1xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MapGrid2xOES(Int32 n, int u1, int u2, int v1, int v2); - internal static MapGrid2xOES glMapGrid2xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Materialf(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, Single param); - internal static Materialf glMaterialf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Materialfv(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, Single* @params); - internal unsafe static Materialfv glMaterialfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int param); - internal static Materialx glMaterialx; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MaterialxOES(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int param); - internal static MaterialxOES glMaterialxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Materialxv(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* param); - internal unsafe static Materialxv glMaterialxv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MaterialxvOES(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* param); - internal unsafe static MaterialxvOES glMaterialxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MatrixIndexPointerOES(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer); - internal static MatrixIndexPointerOES glMatrixIndexPointerOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MatrixMode(OpenTK.Graphics.ES11.MatrixMode mode); - internal static MatrixMode glMatrixMode; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiDrawArraysEXT(OpenTK.Graphics.ES11.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount); - internal unsafe static MultiDrawArraysEXT glMultiDrawArraysEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiDrawElementsEXT(OpenTK.Graphics.ES11.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES11.All type, IntPtr indices, Int32 primcount); - internal unsafe static MultiDrawElementsEXT glMultiDrawElementsEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord1bOES(OpenTK.Graphics.ES11.All texture, SByte s); - internal static MultiTexCoord1bOES glMultiTexCoord1bOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord1bvOES(OpenTK.Graphics.ES11.All texture, SByte* coords); - internal unsafe static MultiTexCoord1bvOES glMultiTexCoord1bvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord1xOES(OpenTK.Graphics.ES11.All texture, int s); - internal static MultiTexCoord1xOES glMultiTexCoord1xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord1xvOES(OpenTK.Graphics.ES11.All texture, int* coords); - internal unsafe static MultiTexCoord1xvOES glMultiTexCoord1xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord2bOES(OpenTK.Graphics.ES11.All texture, SByte s, SByte t); - internal static MultiTexCoord2bOES glMultiTexCoord2bOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord2bvOES(OpenTK.Graphics.ES11.All texture, SByte* coords); - internal unsafe static MultiTexCoord2bvOES glMultiTexCoord2bvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord2xOES(OpenTK.Graphics.ES11.All texture, int s, int t); - internal static MultiTexCoord2xOES glMultiTexCoord2xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord2xvOES(OpenTK.Graphics.ES11.All texture, int* coords); - internal unsafe static MultiTexCoord2xvOES glMultiTexCoord2xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord3bOES(OpenTK.Graphics.ES11.All texture, SByte s, SByte t, SByte r); - internal static MultiTexCoord3bOES glMultiTexCoord3bOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord3bvOES(OpenTK.Graphics.ES11.All texture, SByte* coords); - internal unsafe static MultiTexCoord3bvOES glMultiTexCoord3bvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord3xOES(OpenTK.Graphics.ES11.All texture, int s, int t, int r); - internal static MultiTexCoord3xOES glMultiTexCoord3xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord3xvOES(OpenTK.Graphics.ES11.All texture, int* coords); - internal unsafe static MultiTexCoord3xvOES glMultiTexCoord3xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord4bOES(OpenTK.Graphics.ES11.All texture, SByte s, SByte t, SByte r, SByte q); - internal static MultiTexCoord4bOES glMultiTexCoord4bOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord4bvOES(OpenTK.Graphics.ES11.All texture, SByte* coords); - internal unsafe static MultiTexCoord4bvOES glMultiTexCoord4bvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord4f(OpenTK.Graphics.ES11.TextureUnit target, Single s, Single t, Single r, Single q); - internal static MultiTexCoord4f glMultiTexCoord4f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord4x(OpenTK.Graphics.ES11.All texture, int s, int t, int r, int q); - internal static MultiTexCoord4x glMultiTexCoord4x; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord4xOES(OpenTK.Graphics.ES11.All texture, int s, int t, int r, int q); - internal static MultiTexCoord4xOES glMultiTexCoord4xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord4xvOES(OpenTK.Graphics.ES11.All texture, int* coords); - internal unsafe static MultiTexCoord4xvOES glMultiTexCoord4xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultMatrixf(Single* m); - internal unsafe static MultMatrixf glMultMatrixf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultMatrixx(int* m); - internal unsafe static MultMatrixx glMultMatrixx; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultMatrixxOES(int* m); - internal unsafe static MultMatrixxOES glMultMatrixxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultTransposeMatrixxOES(int* m); - internal unsafe static MultTransposeMatrixxOES glMultTransposeMatrixxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Normal3f(Single nx, Single ny, Single nz); - internal static Normal3f glNormal3f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Normal3x(int nx, int ny, int nz); - internal static Normal3x glNormal3x; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Normal3xOES(int nx, int ny, int nz); - internal static Normal3xOES glNormal3xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Normal3xvOES(int* coords); - internal unsafe static Normal3xvOES glNormal3xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NormalPointer(OpenTK.Graphics.ES11.NormalPointerType type, Int32 stride, IntPtr pointer); - internal static NormalPointer glNormalPointer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Orthof(Single l, Single r, Single b, Single t, Single n, Single f); - internal static Orthof glOrthof; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void OrthofOES(Single l, Single r, Single b, Single t, Single n, Single f); - internal static OrthofOES glOrthofOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Orthox(int l, int r, int b, int t, int n, int f); - internal static Orthox glOrthox; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void OrthoxOES(int l, int r, int b, int t, int n, int f); - internal static OrthoxOES glOrthoxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PassThroughxOES(int token); - internal static PassThroughxOES glPassThroughxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PixelMapx(OpenTK.Graphics.ES11.All map, Int32 size, int* values); - internal unsafe static PixelMapx glPixelMapx; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelStorei(OpenTK.Graphics.ES11.PixelStoreParameter pname, Int32 param); - internal static PixelStorei glPixelStorei; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelStorex(OpenTK.Graphics.ES11.All pname, int param); - internal static PixelStorex glPixelStorex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelTransferxOES(OpenTK.Graphics.ES11.All pname, int param); - internal static PixelTransferxOES glPixelTransferxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelZoomxOES(int xfactor, int yfactor); - internal static PixelZoomxOES glPixelZoomxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PointParameterf(OpenTK.Graphics.ES11.All pname, Single param); - internal static PointParameterf glPointParameterf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PointParameterfv(OpenTK.Graphics.ES11.All pname, Single* @params); - internal unsafe static PointParameterfv glPointParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PointParameterx(OpenTK.Graphics.ES11.All pname, int param); - internal static PointParameterx glPointParameterx; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PointParameterxOES(OpenTK.Graphics.ES11.All pname, int param); - internal static PointParameterxOES glPointParameterxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PointParameterxv(OpenTK.Graphics.ES11.All pname, int* @params); - internal unsafe static PointParameterxv glPointParameterxv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PointParameterxvOES(OpenTK.Graphics.ES11.All pname, int* @params); - internal unsafe static PointParameterxvOES glPointParameterxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PointSize(Single size); - internal static PointSize glPointSize; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PointSizePointerOES(OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer); - internal static PointSizePointerOES glPointSizePointerOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PointSizex(int size); - internal static PointSizex glPointSizex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PointSizexOES(int size); - internal static PointSizexOES glPointSizexOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PolygonOffset(Single factor, Single units); - internal static PolygonOffset glPolygonOffset; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PolygonOffsetx(int factor, int units); - internal static PolygonOffsetx glPolygonOffsetx; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PolygonOffsetxOES(int factor, int units); - internal static PolygonOffsetxOES glPolygonOffsetxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PopMatrix(); - internal static PopMatrix glPopMatrix; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PrioritizeTexturesxOES(Int32 n, UInt32* textures, int* priorities); - internal unsafe static PrioritizeTexturesxOES glPrioritizeTexturesxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PushMatrix(); - internal static PushMatrix glPushMatrix; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Int32 QueryMatrixxOES([OutAttribute] int* mantissa, [OutAttribute] Int32* exponent); - internal unsafe static QueryMatrixxOES glQueryMatrixxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RasterPos2xOES(int x, int y); - internal static RasterPos2xOES glRasterPos2xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void RasterPos2xvOES(int* coords); - internal unsafe static RasterPos2xvOES glRasterPos2xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RasterPos3xOES(int x, int y, int z); - internal static RasterPos3xOES glRasterPos3xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void RasterPos3xvOES(int* coords); - internal unsafe static RasterPos3xvOES glRasterPos3xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RasterPos4xOES(int x, int y, int z, int w); - internal static RasterPos4xOES glRasterPos4xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void RasterPos4xvOES(int* coords); - internal unsafe static RasterPos4xvOES glRasterPos4xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReadnPixelsEXT(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, Int32 bufSize, [OutAttribute] IntPtr data); - internal static ReadnPixelsEXT glReadnPixelsEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [OutAttribute] IntPtr pixels); - internal static ReadPixels glReadPixels; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RectxOES(int x1, int y1, int x2, int y2); - internal static RectxOES glRectxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void RectxvOES(int* v1, int* v2); - internal unsafe static RectxvOES glRectxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RenderbufferStorageMultisampleAPPLE(OpenTK.Graphics.ES11.All target, Int32 samples, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height); - internal static RenderbufferStorageMultisampleAPPLE glRenderbufferStorageMultisampleAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RenderbufferStorageMultisampleEXT(OpenTK.Graphics.ES11.All target, Int32 samples, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height); - internal static RenderbufferStorageMultisampleEXT glRenderbufferStorageMultisampleEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RenderbufferStorageMultisampleIMG(OpenTK.Graphics.ES11.All target, Int32 samples, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height); - internal static RenderbufferStorageMultisampleIMG glRenderbufferStorageMultisampleIMG; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RenderbufferStorageOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height); - internal static RenderbufferStorageOES glRenderbufferStorageOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ResolveMultisampleFramebufferAPPLE(); - internal static ResolveMultisampleFramebufferAPPLE glResolveMultisampleFramebufferAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Rotatef(Single angle, Single x, Single y, Single z); - internal static Rotatef glRotatef; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Rotatex(int angle, int x, int y, int z); - internal static Rotatex glRotatex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RotatexOES(int angle, int x, int y, int z); - internal static RotatexOES glRotatexOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SampleCoverage(Single value, bool invert); - internal static SampleCoverage glSampleCoverage; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SampleCoverageOES(int value, bool invert); - internal static SampleCoverageOES glSampleCoverageOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SampleCoveragex(int value, bool invert); - internal static SampleCoveragex glSampleCoveragex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SampleCoveragexOES(int value, bool invert); - internal static SampleCoveragexOES glSampleCoveragexOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Scalef(Single x, Single y, Single z); - internal static Scalef glScalef; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Scalex(int x, int y, int z); - internal static Scalex glScalex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ScalexOES(int x, int y, int z); - internal static ScalexOES glScalexOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Scissor(Int32 x, Int32 y, Int32 width, Int32 height); - internal static Scissor glScissor; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SetFenceNV(UInt32 fence, OpenTK.Graphics.ES11.All condition); - internal static SetFenceNV glSetFenceNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ShadeModel(OpenTK.Graphics.ES11.ShadingModel mode); - internal static ShadeModel glShadeModel; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StartTilingQCOM(UInt32 x, UInt32 y, UInt32 width, UInt32 height, UInt32 preserveMask); - internal static StartTilingQCOM glStartTilingQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilFunc(OpenTK.Graphics.ES11.StencilFunction func, Int32 @ref, UInt32 mask); - internal static StencilFunc glStencilFunc; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilMask(UInt32 mask); - internal static StencilMask glStencilMask; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilOp(OpenTK.Graphics.ES11.StencilOp fail, OpenTK.Graphics.ES11.StencilOp zfail, OpenTK.Graphics.ES11.StencilOp zpass); - internal static StencilOp glStencilOp; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool TestFenceNV(UInt32 fence); - internal static TestFenceNV glTestFenceNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord1bOES(SByte s); - internal static TexCoord1bOES glTexCoord1bOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord1bvOES(SByte* coords); - internal unsafe static TexCoord1bvOES glTexCoord1bvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord1xOES(int s); - internal static TexCoord1xOES glTexCoord1xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord1xvOES(int* coords); - internal unsafe static TexCoord1xvOES glTexCoord1xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord2bOES(SByte s, SByte t); - internal static TexCoord2bOES glTexCoord2bOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord2bvOES(SByte* coords); - internal unsafe static TexCoord2bvOES glTexCoord2bvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord2xOES(int s, int t); - internal static TexCoord2xOES glTexCoord2xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord2xvOES(int* coords); - internal unsafe static TexCoord2xvOES glTexCoord2xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord3bOES(SByte s, SByte t, SByte r); - internal static TexCoord3bOES glTexCoord3bOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord3bvOES(SByte* coords); - internal unsafe static TexCoord3bvOES glTexCoord3bvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord3xOES(int s, int t, int r); - internal static TexCoord3xOES glTexCoord3xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord3xvOES(int* coords); - internal unsafe static TexCoord3xvOES glTexCoord3xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord4bOES(SByte s, SByte t, SByte r, SByte q); - internal static TexCoord4bOES glTexCoord4bOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord4bvOES(SByte* coords); - internal unsafe static TexCoord4bvOES glTexCoord4bvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord4xOES(int s, int t, int r, int q); - internal static TexCoord4xOES glTexCoord4xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord4xvOES(int* coords); - internal unsafe static TexCoord4xvOES glTexCoord4xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.TexCoordPointerType type, Int32 stride, IntPtr pointer); - internal static TexCoordPointer glTexCoordPointer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexEnvf(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Single param); - internal static TexEnvf glTexEnvf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexEnvfv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Single* @params); - internal unsafe static TexEnvfv glTexEnvfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexEnvi(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Int32 param); - internal static TexEnvi glTexEnvi; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexEnviv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Int32* @params); - internal unsafe static TexEnviv glTexEnviv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param); - internal static TexEnvx glTexEnvx; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexEnvxOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param); - internal static TexEnvxOES glTexEnvxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexEnvxv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params); - internal unsafe static TexEnvxv glTexEnvxv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexEnvxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params); - internal unsafe static TexEnvxvOES glTexEnvxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexGenfOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single param); - internal static TexGenfOES glTexGenfOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexGenfvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single* @params); - internal unsafe static TexGenfvOES glTexGenfvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexGeniOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32 param); - internal static TexGeniOES glTexGeniOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexGenivOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32* @params); - internal unsafe static TexGenivOES glTexGenivOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexGenxOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int param); - internal static TexGenxOES glTexGenxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexGenxvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int* @params); - internal unsafe static TexGenxvOES glTexGenxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, IntPtr pixels); - internal static TexImage2D glTexImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexParameterf(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Single param); - internal static TexParameterf glTexParameterf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexParameterfv(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Single* @params); - internal unsafe static TexParameterfv glTexParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexParameteri(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Int32 param); - internal static TexParameteri glTexParameteri; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexParameteriv(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Int32* @params); - internal unsafe static TexParameteriv glTexParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param); - internal static TexParameterx glTexParameterx; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexParameterxOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param); - internal static TexParameterxOES glTexParameterxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexParameterxv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params); - internal unsafe static TexParameterxv glTexParameterxv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexParameterxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params); - internal unsafe static TexParameterxvOES glTexParameterxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexStorage1DEXT(OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width); - internal static TexStorage1DEXT glTexStorage1DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexStorage2DEXT(OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height); - internal static TexStorage2DEXT glTexStorage2DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexStorage3DEXT(OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 depth); - internal static TexStorage3DEXT glTexStorage3DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, IntPtr pixels); - internal static TexSubImage2D glTexSubImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureStorage1DEXT(UInt32 texture, OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width); - internal static TextureStorage1DEXT glTextureStorage1DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureStorage2DEXT(UInt32 texture, OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height); - internal static TextureStorage2DEXT glTextureStorage2DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureStorage3DEXT(UInt32 texture, OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 depth); - internal static TextureStorage3DEXT glTextureStorage3DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Translatef(Single x, Single y, Single z); - internal static Translatef glTranslatef; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Translatex(int x, int y, int z); - internal static Translatex glTranslatex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TranslatexOES(int x, int y, int z); - internal static TranslatexOES glTranslatexOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool UnmapBufferOES(OpenTK.Graphics.ES11.All target); - internal static UnmapBufferOES glUnmapBufferOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Vertex2bOES(SByte x); - internal static Vertex2bOES glVertex2bOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Vertex2bvOES(SByte* coords); - internal unsafe static Vertex2bvOES glVertex2bvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Vertex2xOES(int x); - internal static Vertex2xOES glVertex2xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Vertex2xvOES(int* coords); - internal unsafe static Vertex2xvOES glVertex2xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Vertex3bOES(SByte x, SByte y); - internal static Vertex3bOES glVertex3bOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Vertex3bvOES(SByte* coords); - internal unsafe static Vertex3bvOES glVertex3bvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Vertex3xOES(int x, int y); - internal static Vertex3xOES glVertex3xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Vertex3xvOES(int* coords); - internal unsafe static Vertex3xvOES glVertex3xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Vertex4bOES(SByte x, SByte y, SByte z); - internal static Vertex4bOES glVertex4bOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Vertex4bvOES(SByte* coords); - internal unsafe static Vertex4bvOES glVertex4bvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Vertex4xOES(int x, int y, int z); - internal static Vertex4xOES glVertex4xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Vertex4xvOES(int* coords); - internal unsafe static Vertex4xvOES glVertex4xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexPointer(Int32 size, OpenTK.Graphics.ES11.VertexPointerType type, Int32 stride, IntPtr pointer); - internal static VertexPointer glVertexPointer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Viewport(Int32 x, Int32 y, Int32 width, Int32 height); - internal static Viewport glViewport; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WaitSyncAPPLE(IntPtr sync, UInt32 flags, UInt64 timeout); - internal static WaitSyncAPPLE glWaitSyncAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WeightPointerOES(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer); - internal static WeightPointerOES glWeightPointerOES; - } - } -} diff --git a/Source/OpenTK/Graphics/ES11/Helper.cs b/Source/OpenTK/Graphics/ES11/Helper.cs index 4037c0eb..57629fdd 100644 --- a/Source/OpenTK/Graphics/ES11/Helper.cs +++ b/Source/OpenTK/Graphics/ES11/Helper.cs @@ -15,6 +15,22 @@ namespace OpenTK.Graphics.ES11 const string Library = "GLESv1_CM"; static readonly object sync_root = new object(); + static IntPtr[] EntryPoints; + static string[] EntryPointNames; + + #region Constructors + + /// + /// Constructs a new instance. + /// + public GL() + { + EntryPointsInstance = EntryPoints; + EntryPointNamesInstance = EntryPointNames; + } + + #endregion + #region --- Protected Members --- /// diff --git a/Source/OpenTK/Graphics/ES20/ES20.cs b/Source/OpenTK/Graphics/ES20/ES20.cs index 1e74f5ea..024a9108 100644 --- a/Source/OpenTK/Graphics/ES20/ES20.cs +++ b/Source/OpenTK/Graphics/ES20/ES20.cs @@ -34,1269 +34,659 @@ namespace OpenTK.Graphics.ES20 #pragma warning disable 1591 #pragma warning disable 1572 #pragma warning disable 1573 + #pragma warning disable 626 partial class GL { + static GL() + { + EntryPointNames = new string[] + { + "glActiveProgramEXT", + "glActiveShaderProgramEXT", + "glActiveTexture", + "glAlphaFuncQCOM", + "glAttachShader", + "glBeginPerfMonitorAMD", + "glBeginQueryEXT", + "glBindAttribLocation", + "glBindBuffer", + "glBindFramebuffer", + "glBindProgramPipelineEXT", + "glBindRenderbuffer", + "glBindTexture", + "glBindVertexArrayOES", + "glBlendBarrierNV", + "glBlendColor", + "glBlendEquation", + "glBlendEquationEXT", + "glBlendEquationSeparate", + "glBlendFunc", + "glBlendFuncSeparate", + "glBlendParameteriNV", + "glBlitFramebufferANGLE", + "glBlitFramebufferNV", + "glBufferData", + "glBufferSubData", + "glCheckFramebufferStatus", + "glClear", + "glClearColor", + "glClearDepthf", + "glClearStencil", + "glClientWaitSyncAPPLE", + "glColorMask", + "glCompileShader", + "glCompressedTexImage2D", + "glCompressedTexImage3DOES", + "glCompressedTexSubImage2D", + "glCompressedTexSubImage3DOES", + "glCopyBufferSubDataNV", + "glCopyTexImage2D", + "glCopyTexSubImage2D", + "glCopyTexSubImage3DOES", + "glCopyTextureLevelsAPPLE", + "glCoverageMaskNV", + "glCoverageOperationNV", + "glCreateProgram", + "glCreateShader", + "glCreateShaderProgramEXT", + "glCreateShaderProgramvEXT", + "glCullFace", + "glDebugMessageCallback", + "glDebugMessageCallbackKHR", + "glDebugMessageControl", + "glDebugMessageControlKHR", + "glDebugMessageInsert", + "glDebugMessageInsertKHR", + "glDeleteBuffers", + "glDeleteFencesNV", + "glDeleteFramebuffers", + "glDeletePerfMonitorsAMD", + "glDeleteProgram", + "glDeleteProgramPipelinesEXT", + "glDeleteQueriesEXT", + "glDeleteRenderbuffers", + "glDeleteShader", + "glDeleteSyncAPPLE", + "glDeleteTextures", + "glDeleteVertexArraysOES", + "glDepthFunc", + "glDepthMask", + "glDepthRangef", + "glDetachShader", + "glDisable", + "glDisableDriverControlQCOM", + "glDisableVertexAttribArray", + "glDiscardFramebufferEXT", + "glDrawArrays", + "glDrawArraysInstancedANGLE", + "glDrawArraysInstancedEXT", + "glDrawArraysInstancedNV", + "glDrawBuffersEXT", + "glDrawBuffersIndexedEXT", + "glDrawBuffersNV", + "glDrawElements", + "glDrawElementsInstancedANGLE", + "glDrawElementsInstancedEXT", + "glDrawElementsInstancedNV", + "glEGLImageTargetRenderbufferStorageOES", + "glEGLImageTargetTexture2DOES", + "glEnable", + "glEnableDriverControlQCOM", + "glEnableVertexAttribArray", + "glEndPerfMonitorAMD", + "glEndQueryEXT", + "glEndTilingQCOM", + "glExtGetBufferPointervQCOM", + "glExtGetBuffersQCOM", + "glExtGetFramebuffersQCOM", + "glExtGetProgramBinarySourceQCOM", + "glExtGetProgramsQCOM", + "glExtGetRenderbuffersQCOM", + "glExtGetShadersQCOM", + "glExtGetTexLevelParameterivQCOM", + "glExtGetTexSubImageQCOM", + "glExtGetTexturesQCOM", + "glExtIsProgramBinaryQCOM", + "glExtTexObjectStateOverrideiQCOM", + "glFenceSyncAPPLE", + "glFinish", + "glFinishFenceNV", + "glFlush", + "glFlushMappedBufferRangeEXT", + "glFramebufferRenderbuffer", + "glFramebufferTexture2D", + "glFramebufferTexture2DMultisampleEXT", + "glFramebufferTexture2DMultisampleIMG", + "glFramebufferTexture3DOES", + "glFrontFace", + "glGenBuffers", + "glGenerateMipmap", + "glGenFencesNV", + "glGenFramebuffers", + "glGenPerfMonitorsAMD", + "glGenProgramPipelinesEXT", + "glGenQueriesEXT", + "glGenRenderbuffers", + "glGenTextures", + "glGenVertexArraysOES", + "glGetActiveAttrib", + "glGetActiveUniform", + "glGetAttachedShaders", + "glGetAttribLocation", + "glGetBooleanv", + "glGetBufferParameteriv", + "glGetBufferPointervOES", + "glGetDebugMessageLog", + "glGetDebugMessageLogKHR", + "glGetDriverControlsQCOM", + "glGetDriverControlStringQCOM", + "glGetError", + "glGetFenceivNV", + "glGetFloatv", + "glGetFramebufferAttachmentParameteriv", + "glGetGraphicsResetStatusEXT", + "glGetInteger64vAPPLE", + "glGetIntegeri_vEXT", + "glGetIntegerv", + "glGetnUniformfvEXT", + "glGetnUniformivEXT", + "glGetObjectLabel", + "glGetObjectLabelEXT", + "glGetObjectLabelKHR", + "glGetObjectPtrLabel", + "glGetObjectPtrLabelKHR", + "glGetPerfMonitorCounterDataAMD", + "glGetPerfMonitorCounterInfoAMD", + "glGetPerfMonitorCountersAMD", + "glGetPerfMonitorCounterStringAMD", + "glGetPerfMonitorGroupsAMD", + "glGetPerfMonitorGroupStringAMD", + "glGetPointerv", + "glGetPointervKHR", + "glGetProgramBinaryOES", + "glGetProgramInfoLog", + "glGetProgramiv", + "glGetProgramPipelineInfoLogEXT", + "glGetProgramPipelineivEXT", + "glGetQueryivEXT", + "glGetQueryObjecti64vEXT", + "glGetQueryObjectivEXT", + "glGetQueryObjectui64vEXT", + "glGetQueryObjectuivEXT", + "glGetRenderbufferParameteriv", + "glGetShaderInfoLog", + "glGetShaderiv", + "glGetShaderPrecisionFormat", + "glGetShaderSource", + "glGetString", + "glGetSyncivAPPLE", + "glGetTexParameterfv", + "glGetTexParameteriv", + "glGetTranslatedShaderSourceANGLE", + "glGetUniformfv", + "glGetUniformiv", + "glGetUniformLocation", + "glGetVertexAttribfv", + "glGetVertexAttribiv", + "glGetVertexAttribPointerv", + "glHint", + "glInsertEventMarkerEXT", + "glIsBuffer", + "glIsEnabled", + "glIsFenceNV", + "glIsFramebuffer", + "glIsProgram", + "glIsProgramPipelineEXT", + "glIsQueryEXT", + "glIsRenderbuffer", + "glIsShader", + "glIsSyncAPPLE", + "glIsTexture", + "glIsVertexArrayOES", + "glLabelObjectEXT", + "glLineWidth", + "glLinkProgram", + "glMapBufferOES", + "glMapBufferRangeEXT", + "glMultiDrawArraysEXT", + "glMultiDrawElementsEXT", + "glObjectLabel", + "glObjectLabelKHR", + "glObjectPtrLabel", + "glObjectPtrLabelKHR", + "glPixelStorei", + "glPolygonOffset", + "glPopDebugGroup", + "glPopDebugGroupKHR", + "glPopGroupMarkerEXT", + "glProgramBinaryOES", + "glProgramParameteriEXT", + "glProgramUniform1fEXT", + "glProgramUniform1fvEXT", + "glProgramUniform1iEXT", + "glProgramUniform1ivEXT", + "glProgramUniform1uiEXT", + "glProgramUniform1uivEXT", + "glProgramUniform2fEXT", + "glProgramUniform2fvEXT", + "glProgramUniform2iEXT", + "glProgramUniform2ivEXT", + "glProgramUniform2uiEXT", + "glProgramUniform2uivEXT", + "glProgramUniform3fEXT", + "glProgramUniform3fvEXT", + "glProgramUniform3iEXT", + "glProgramUniform3ivEXT", + "glProgramUniform3uiEXT", + "glProgramUniform3uivEXT", + "glProgramUniform4fEXT", + "glProgramUniform4fvEXT", + "glProgramUniform4iEXT", + "glProgramUniform4ivEXT", + "glProgramUniform4uiEXT", + "glProgramUniform4uivEXT", + "glProgramUniformMatrix2fvEXT", + "glProgramUniformMatrix2x3fvEXT", + "glProgramUniformMatrix2x4fvEXT", + "glProgramUniformMatrix3fvEXT", + "glProgramUniformMatrix3x2fvEXT", + "glProgramUniformMatrix3x4fvEXT", + "glProgramUniformMatrix4fvEXT", + "glProgramUniformMatrix4x2fvEXT", + "glProgramUniformMatrix4x3fvEXT", + "glPushDebugGroup", + "glPushDebugGroupKHR", + "glPushGroupMarkerEXT", + "glQueryCounterEXT", + "glReadBufferIndexedEXT", + "glReadBufferNV", + "glReadnPixelsEXT", + "glReadPixels", + "glReleaseShaderCompiler", + "glRenderbufferStorage", + "glRenderbufferStorageMultisampleANGLE", + "glRenderbufferStorageMultisampleAPPLE", + "glRenderbufferStorageMultisampleEXT", + "glRenderbufferStorageMultisampleIMG", + "glRenderbufferStorageMultisampleNV", + "glResolveMultisampleFramebufferAPPLE", + "glSampleCoverage", + "glScissor", + "glSelectPerfMonitorCountersAMD", + "glSetFenceNV", + "glShaderBinary", + "glShaderSource", + "glStartTilingQCOM", + "glStencilFunc", + "glStencilFuncSeparate", + "glStencilMask", + "glStencilMaskSeparate", + "glStencilOp", + "glStencilOpSeparate", + "glTestFenceNV", + "glTexImage2D", + "glTexImage3DOES", + "glTexParameterf", + "glTexParameterfv", + "glTexParameteri", + "glTexParameteriv", + "glTexStorage1DEXT", + "glTexStorage2DEXT", + "glTexStorage3DEXT", + "glTexSubImage2D", + "glTexSubImage3DOES", + "glTextureStorage1DEXT", + "glTextureStorage2DEXT", + "glTextureStorage3DEXT", + "glUniform1f", + "glUniform1fv", + "glUniform1i", + "glUniform1iv", + "glUniform2f", + "glUniform2fv", + "glUniform2i", + "glUniform2iv", + "glUniform3f", + "glUniform3fv", + "glUniform3i", + "glUniform3iv", + "glUniform4f", + "glUniform4fv", + "glUniform4i", + "glUniform4iv", + "glUniformMatrix2fv", + "glUniformMatrix2x3fvNV", + "glUniformMatrix2x4fvNV", + "glUniformMatrix3fv", + "glUniformMatrix3x2fvNV", + "glUniformMatrix3x4fvNV", + "glUniformMatrix4fv", + "glUniformMatrix4x2fvNV", + "glUniformMatrix4x3fvNV", + "glUnmapBufferOES", + "glUseProgram", + "glUseProgramStagesEXT", + "glUseShaderProgramEXT", + "glValidateProgram", + "glValidateProgramPipelineEXT", + "glVertexAttrib1f", + "glVertexAttrib1fv", + "glVertexAttrib2f", + "glVertexAttrib2fv", + "glVertexAttrib3f", + "glVertexAttrib3fv", + "glVertexAttrib4f", + "glVertexAttrib4fv", + "glVertexAttribDivisorANGLE", + "glVertexAttribDivisorEXT", + "glVertexAttribDivisorNV", + "glVertexAttribPointer", + "glViewport", + "glWaitSyncAPPLE", + }; + EntryPoints = new IntPtr[EntryPointNames.Length]; + } public static partial class Amd { /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glBeginPerfMonitorAMD")] - public static - void BeginPerfMonitor(Int32 monitor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginPerfMonitorAMD((UInt32)monitor); - #if DEBUG - } - #endif - } + public static extern void BeginPerfMonitor(Int32 monitor); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glBeginPerfMonitorAMD")] - public static - void BeginPerfMonitor(UInt32 monitor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginPerfMonitorAMD((UInt32)monitor); - #if DEBUG - } - #endif - } + public static extern void BeginPerfMonitor(UInt32 monitor); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - void DeletePerfMonitor(Int32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* monitors_ptr = (UInt32*)&monitors; - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeletePerfMonitor(Int32 monitors); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - void DeletePerfMonitor(UInt32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* monitors_ptr = (UInt32*)&monitors; - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeletePerfMonitor(UInt32 monitors); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - void DeletePerfMonitors(Int32 n, Int32[] monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* monitors_ptr = monitors) - { - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeletePerfMonitors(Int32 n, Int32[] monitors); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - void DeletePerfMonitors(Int32 n, ref Int32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* monitors_ptr = &monitors) - { - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeletePerfMonitors(Int32 n, ref Int32 monitors); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - unsafe void DeletePerfMonitors(Int32 n, Int32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors); - #if DEBUG - } - #endif - } + public static extern unsafe void DeletePerfMonitors(Int32 n, Int32* monitors); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - void DeletePerfMonitors(Int32 n, UInt32[] monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* monitors_ptr = monitors) - { - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeletePerfMonitors(Int32 n, UInt32[] monitors); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - void DeletePerfMonitors(Int32 n, ref UInt32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* monitors_ptr = &monitors) - { - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeletePerfMonitors(Int32 n, ref UInt32 monitors); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - unsafe void DeletePerfMonitors(Int32 n, UInt32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors); - #if DEBUG - } - #endif - } + public static extern unsafe void DeletePerfMonitors(Int32 n, UInt32* monitors); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glEndPerfMonitorAMD")] - public static - void EndPerfMonitor(Int32 monitor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndPerfMonitorAMD((UInt32)monitor); - #if DEBUG - } - #endif - } + public static extern void EndPerfMonitor(Int32 monitor); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glEndPerfMonitorAMD")] - public static - void EndPerfMonitor(UInt32 monitor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndPerfMonitorAMD((UInt32)monitor); - #if DEBUG - } - #endif - } + public static extern void EndPerfMonitor(UInt32 monitor); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static - Int32 GenPerfMonitor() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* monitors_ptr = &retval; - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenPerfMonitor(); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static - void GenPerfMonitors(Int32 n, [OutAttribute] Int32[] monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* monitors_ptr = monitors) - { - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenPerfMonitors(Int32 n, [OutAttribute] Int32[] monitors); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static - void GenPerfMonitors(Int32 n, [OutAttribute] out Int32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* monitors_ptr = &monitors) - { - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - monitors = *monitors_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenPerfMonitors(Int32 n, [OutAttribute] out Int32 monitors); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static - unsafe void GenPerfMonitors(Int32 n, [OutAttribute] Int32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors); - #if DEBUG - } - #endif - } + public static extern unsafe void GenPerfMonitors(Int32 n, [OutAttribute] Int32* monitors); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static - void GenPerfMonitors(Int32 n, [OutAttribute] UInt32[] monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* monitors_ptr = monitors) - { - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenPerfMonitors(Int32 n, [OutAttribute] UInt32[] monitors); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static - void GenPerfMonitors(Int32 n, [OutAttribute] out UInt32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* monitors_ptr = &monitors) - { - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - monitors = *monitors_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenPerfMonitors(Int32 n, [OutAttribute] out UInt32 monitors); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static - unsafe void GenPerfMonitors(Int32 n, [OutAttribute] UInt32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors); - #if DEBUG - } - #endif - } + public static extern unsafe void GenPerfMonitors(Int32 n, [OutAttribute] UInt32* monitors); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static - void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] Int32[] data, [OutAttribute] out Int32 bytesWritten) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - fixed (Int32* bytesWritten_ptr = &bytesWritten) - { - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES20.All)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr); - bytesWritten = *bytesWritten_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] Int32[] data, [OutAttribute] out Int32 bytesWritten); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static - void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] out Int32 data, [OutAttribute] out Int32 bytesWritten) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - fixed (Int32* bytesWritten_ptr = &bytesWritten) - { - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES20.All)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr); - data = *data_ptr; - bytesWritten = *bytesWritten_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] out Int32 data, [OutAttribute] out Int32 bytesWritten); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static - unsafe void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] Int32* data, [OutAttribute] Int32* bytesWritten) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES20.All)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] Int32* data, [OutAttribute] Int32* bytesWritten); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static - void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] UInt32[] data, [OutAttribute] out Int32 bytesWritten) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* data_ptr = data) - fixed (Int32* bytesWritten_ptr = &bytesWritten) - { - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES20.All)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr); - bytesWritten = *bytesWritten_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] UInt32[] data, [OutAttribute] out Int32 bytesWritten); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static - void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] out UInt32 data, [OutAttribute] out Int32 bytesWritten) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* data_ptr = &data) - fixed (Int32* bytesWritten_ptr = &bytesWritten) - { - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES20.All)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr); - data = *data_ptr; - bytesWritten = *bytesWritten_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] out UInt32 data, [OutAttribute] out Int32 bytesWritten); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static - unsafe void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] UInt32* data, [OutAttribute] Int32* bytesWritten) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES20.All)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] UInt32* data, [OutAttribute] Int32* bytesWritten); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr data); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T3[] data) + public static extern void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T3[] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T3[,] data) + public static extern void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T3[,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T3[,,] data) + public static extern void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T3[,,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] ref T3 data) + public static extern void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] ref T3 data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T3)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr data); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T3[] data) + public static extern void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T3[] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T3[,] data) + public static extern void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T3[,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T3[,,] data) + public static extern void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T3[,,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] ref T3 data) + public static extern void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] ref T3 data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T3)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static - void GetPerfMonitorCounters(Int32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] Int32[] counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* numCounters_ptr = &numCounters) - fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters) - fixed (Int32* counters_ptr = counters) - { - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr); - numCounters = *numCounters_ptr; - maxActiveCounters = *maxActiveCounters_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounters(Int32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] Int32[] counters); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static - void GetPerfMonitorCounters(Int32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] out Int32 counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* numCounters_ptr = &numCounters) - fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters) - fixed (Int32* counters_ptr = &counters) - { - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr); - numCounters = *numCounters_ptr; - maxActiveCounters = *maxActiveCounters_ptr; - counters = *counters_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounters(Int32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] out Int32 counters); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static - unsafe void GetPerfMonitorCounters(Int32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] Int32* counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPerfMonitorCounters(Int32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] Int32* counters); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static - void GetPerfMonitorCounters(UInt32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32[] counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* numCounters_ptr = &numCounters) - fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters) - fixed (UInt32* counters_ptr = counters) - { - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr); - numCounters = *numCounters_ptr; - maxActiveCounters = *maxActiveCounters_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounters(UInt32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32[] counters); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static - void GetPerfMonitorCounters(UInt32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] out UInt32 counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* numCounters_ptr = &numCounters) - fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters) - fixed (UInt32* counters_ptr = &counters) - { - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr); - numCounters = *numCounters_ptr; - maxActiveCounters = *maxActiveCounters_ptr; - counters = *counters_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounters(UInt32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] out UInt32 counters); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static - unsafe void GetPerfMonitorCounters(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPerfMonitorCounters(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterStringAMD")] - public static - void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder counterString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)counterString); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder counterString); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterStringAMD")] - public static - unsafe void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (StringBuilder)counterString); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterStringAMD")] - public static - void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder counterString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)counterString); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder counterString); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterStringAMD")] - public static - unsafe void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (StringBuilder)counterString); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static - void GetPerfMonitorGroups([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] Int32[] groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* numGroups_ptr = &numGroups) - fixed (Int32* groups_ptr = groups) - { - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr); - numGroups = *numGroups_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorGroups([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] Int32[] groups); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static - void GetPerfMonitorGroups([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] out Int32 groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* numGroups_ptr = &numGroups) - fixed (Int32* groups_ptr = &groups) - { - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr); - numGroups = *numGroups_ptr; - groups = *groups_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorGroups([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] out Int32 groups); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static - void GetPerfMonitorGroups([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] UInt32[] groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* numGroups_ptr = &numGroups) - fixed (UInt32* groups_ptr = groups) - { - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr); - numGroups = *numGroups_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorGroups([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] UInt32[] groups); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static - void GetPerfMonitorGroups([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] out UInt32 groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* numGroups_ptr = &numGroups) - fixed (UInt32* groups_ptr = &groups) - { - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr); - numGroups = *numGroups_ptr; - groups = *groups_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorGroups([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] out UInt32 groups); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static - unsafe void GetPerfMonitorGroups([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] Int32* groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPerfMonitorGroups([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] Int32* groups); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static - unsafe void GetPerfMonitorGroups([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPerfMonitorGroups([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupStringAMD")] - public static - void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder groupString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)groupString); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder groupString); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupStringAMD")] - public static - unsafe void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (StringBuilder)groupString); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupStringAMD")] - public static - void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder groupString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)groupString); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder groupString); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupStringAMD")] - public static - unsafe void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (StringBuilder)groupString); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static - void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [OutAttribute] Int32[] counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* counterList_ptr = counterList) - { - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [OutAttribute] Int32[] counterList); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static - void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [OutAttribute] out Int32 counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* counterList_ptr = &counterList) - { - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr); - counterList = *counterList_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [OutAttribute] out Int32 counterList); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static - unsafe void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [OutAttribute] Int32* counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList); - #if DEBUG - } - #endif - } + public static extern unsafe void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [OutAttribute] Int32* counterList); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static - void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32[] counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* counterList_ptr = counterList) - { - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32[] counterList); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static - void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] out UInt32 counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* counterList_ptr = &counterList) - { - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr); - counterList = *counterList_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] out UInt32 counterList); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static - unsafe void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32* counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList); - #if DEBUG - } - #endif - } + public static extern unsafe void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32* counterList); } @@ -1327,18 +717,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ANGLE_framebuffer_blit", Version = "", EntryPoint = "glBlitFramebufferANGLE")] - public static - void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES20.All mask, OpenTK.Graphics.ES20.All filter) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlitFramebufferANGLE((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ES20.ClearBufferMask)mask, (OpenTK.Graphics.ES20.BlitFramebufferFilter)filter); - #if DEBUG - } - #endif - } + public static extern void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES20.All mask, OpenTK.Graphics.ES20.All filter); /// [requires: ANGLE_framebuffer_blit] /// Copy a block of pixels from the read framebuffer to the draw framebuffer @@ -1364,18 +743,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ANGLE_framebuffer_blit", Version = "", EntryPoint = "glBlitFramebufferANGLE")] - public static - void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES20.ClearBufferMask mask, OpenTK.Graphics.ES20.BlitFramebufferFilter filter) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlitFramebufferANGLE((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ES20.ClearBufferMask)mask, (OpenTK.Graphics.ES20.BlitFramebufferFilter)filter); - #if DEBUG - } - #endif - } + public static extern void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES20.ClearBufferMask mask, OpenTK.Graphics.ES20.BlitFramebufferFilter filter); /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a range of elements @@ -1402,18 +770,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawArraysInstancedANGLE")] - public static - void DrawArraysInstanced(OpenTK.Graphics.ES20.All mode, Int32 first, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArraysInstancedANGLE((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern void DrawArraysInstanced(OpenTK.Graphics.ES20.All mode, Int32 first, Int32 count, Int32 primcount); /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a range of elements @@ -1439,18 +796,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawArraysInstancedANGLE")] - public static - void DrawArraysInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArraysInstancedANGLE((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern void DrawArraysInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount); /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -1482,18 +828,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstancedANGLE((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, IntPtr indices, Int32 primcount); /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -1525,27 +860,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedANGLE((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -1577,27 +894,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedANGLE((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -1629,27 +928,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedANGLE((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -1681,28 +962,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedANGLE((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -1733,18 +995,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstancedANGLE((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices, Int32 primcount); /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -1775,27 +1026,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedANGLE((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -1826,27 +1059,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedANGLE((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -1877,27 +1092,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedANGLE((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -1928,148 +1125,37 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedANGLE((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ANGLE_translated_shader_source] [AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")] - public static - void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetTranslatedShaderSourceANGLE((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)source); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder source); /// [requires: ANGLE_translated_shader_source] [AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")] - public static - void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetTranslatedShaderSourceANGLE((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)source); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source); /// [requires: ANGLE_translated_shader_source] [System.CLSCompliant(false)] [AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")] - public static - unsafe void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTranslatedShaderSourceANGLE((UInt32)shader, (Int32)bufsize, (Int32*)length, (StringBuilder)source); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); /// [requires: ANGLE_translated_shader_source] [System.CLSCompliant(false)] [AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")] - public static - void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetTranslatedShaderSourceANGLE((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)source); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder source); /// [requires: ANGLE_translated_shader_source] [System.CLSCompliant(false)] [AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")] - public static - void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetTranslatedShaderSourceANGLE((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)source); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source); /// [requires: ANGLE_translated_shader_source] [System.CLSCompliant(false)] [AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")] - public static - unsafe void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTranslatedShaderSourceANGLE((UInt32)shader, (Int32)bufsize, (Int32*)length, (StringBuilder)source); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); /// [requires: ANGLE_framebuffer_multisample] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -2101,18 +1187,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ANGLE_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleANGLE")] - public static - void RenderbufferStorageMultisample(OpenTK.Graphics.ES20.All target, Int32 samples, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageMultisampleANGLE((OpenTK.Graphics.ES20.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorageMultisample(OpenTK.Graphics.ES20.All target, Int32 samples, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height); /// [requires: ANGLE_framebuffer_multisample] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -2143,18 +1218,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ANGLE_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleANGLE")] - public static - void RenderbufferStorageMultisample(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageMultisampleANGLE((OpenTK.Graphics.ES20.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorageMultisample(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); /// [requires: ANGLE_instanced_arrays] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -2170,18 +1234,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glVertexAttribDivisorANGLE")] - public static - void VertexAttribDivisor(Int32 index, Int32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribDivisorANGLE((UInt32)index, (UInt32)divisor); - #if DEBUG - } - #endif - } + public static extern void VertexAttribDivisor(Int32 index, Int32 divisor); /// [requires: ANGLE_instanced_arrays] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -2198,18 +1251,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glVertexAttribDivisorANGLE")] - public static - void VertexAttribDivisor(UInt32 index, UInt32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribDivisorANGLE((UInt32)index, (UInt32)divisor); - #if DEBUG - } - #endif - } + public static extern void VertexAttribDivisor(UInt32 index, UInt32 divisor); } @@ -2235,18 +1277,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")] - public static - OpenTK.Graphics.ES20.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES20.All flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glClientWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES20.ClientWaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.ES20.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES20.All flags, Int64 timeout); /// [requires: APPLE_sync] /// Block and wait for a sync object to become signaled @@ -2269,18 +1300,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")] - public static - OpenTK.Graphics.ES20.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES20.All flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glClientWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES20.ClientWaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.ES20.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES20.All flags, UInt64 timeout); /// [requires: APPLE_sync] /// Block and wait for a sync object to become signaled @@ -2301,18 +1321,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")] - public static - OpenTK.Graphics.ES20.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES20.ClientWaitSyncFlags flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glClientWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES20.ClientWaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.ES20.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES20.ClientWaitSyncFlags flags, Int64 timeout); /// [requires: APPLE_sync] /// Block and wait for a sync object to become signaled @@ -2334,49 +1343,16 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")] - public static - OpenTK.Graphics.ES20.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES20.ClientWaitSyncFlags flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glClientWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES20.ClientWaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.ES20.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES20.ClientWaitSyncFlags flags, UInt64 timeout); /// [requires: APPLE_copy_texture_levels] [AutoGenerated(Category = "APPLE_copy_texture_levels", Version = "", EntryPoint = "glCopyTextureLevelsAPPLE")] - public static - void CopyTextureLevel(Int32 destinationTexture, Int32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTextureLevelsAPPLE((UInt32)destinationTexture, (UInt32)sourceTexture, (Int32)sourceBaseLevel, (Int32)sourceLevelCount); - #if DEBUG - } - #endif - } + public static extern void CopyTextureLevel(Int32 destinationTexture, Int32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount); /// [requires: APPLE_copy_texture_levels] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_copy_texture_levels", Version = "", EntryPoint = "glCopyTextureLevelsAPPLE")] - public static - void CopyTextureLevel(UInt32 destinationTexture, UInt32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTextureLevelsAPPLE((UInt32)destinationTexture, (UInt32)sourceTexture, (Int32)sourceBaseLevel, (Int32)sourceLevelCount); - #if DEBUG - } - #endif - } + public static extern void CopyTextureLevel(UInt32 destinationTexture, UInt32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount); /// [requires: APPLE_sync] /// Delete a sync object @@ -2387,18 +1363,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glDeleteSyncAPPLE")] - public static - void DeleteSync(IntPtr sync) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteSyncAPPLE((IntPtr)sync); - #if DEBUG - } - #endif - } + public static extern void DeleteSync(IntPtr sync); /// [requires: APPLE_sync] /// Create a new sync object and insert it into the GL command stream @@ -2415,18 +1380,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glFenceSyncAPPLE")] - public static - IntPtr FenceSync(OpenTK.Graphics.ES20.All condition, OpenTK.Graphics.ES20.All flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glFenceSyncAPPLE((OpenTK.Graphics.ES20.SyncCondition)condition, (OpenTK.Graphics.ES20.WaitSyncFlags)flags); - #if DEBUG - } - #endif - } + public static extern IntPtr FenceSync(OpenTK.Graphics.ES20.All condition, OpenTK.Graphics.ES20.All flags); /// [requires: APPLE_sync] /// Create a new sync object and insert it into the GL command stream @@ -2442,182 +1396,45 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glFenceSyncAPPLE")] - public static - IntPtr FenceSync(OpenTK.Graphics.ES20.SyncCondition condition, OpenTK.Graphics.ES20.WaitSyncFlags flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glFenceSyncAPPLE((OpenTK.Graphics.ES20.SyncCondition)condition, (OpenTK.Graphics.ES20.WaitSyncFlags)flags); - #if DEBUG - } - #endif - } + public static extern IntPtr FenceSync(OpenTK.Graphics.ES20.SyncCondition condition, OpenTK.Graphics.ES20.WaitSyncFlags flags); /// [requires: APPLE_sync] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static - Int64 GetInteger64(OpenTK.Graphics.ES20.All pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int64 retval; - Int64* @params_ptr = &retval; - Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES20.GetPName)pname, (Int64*)@params_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int64 GetInteger64(OpenTK.Graphics.ES20.All pname); /// [requires: APPLE_sync] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static - Int64 GetInteger64(OpenTK.Graphics.ES20.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int64 retval; - Int64* @params_ptr = &retval; - Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES20.GetPName)pname, (Int64*)@params_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int64 GetInteger64(OpenTK.Graphics.ES20.GetPName pname); /// [requires: APPLE_sync] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static - void GetInteger64(OpenTK.Graphics.ES20.All pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES20.GetPName)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.ES20.All pname, [OutAttribute] Int64[] @params); /// [requires: APPLE_sync] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static - void GetInteger64(OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES20.GetPName)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int64 @params); /// [requires: APPLE_sync] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static - unsafe void GetInteger64(OpenTK.Graphics.ES20.All pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES20.GetPName)pname, (Int64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger64(OpenTK.Graphics.ES20.All pname, [OutAttribute] Int64* @params); /// [requires: APPLE_sync] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static - void GetInteger64(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES20.GetPName)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int64[] @params); /// [requires: APPLE_sync] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static - void GetInteger64(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES20.GetPName)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] out Int64 @params); /// [requires: APPLE_sync] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static - unsafe void GetInteger64(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES20.GetPName)pname, (Int64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger64(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int64* @params); /// [requires: APPLE_sync] /// Query the properties of a sync object @@ -2649,25 +1466,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")] - public static - void GetSync(IntPtr sync, OpenTK.Graphics.ES20.All pname, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - fixed (Int32* values_ptr = values) - { - Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES20.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetSync(IntPtr sync, OpenTK.Graphics.ES20.All pname, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] values); /// [requires: APPLE_sync] /// Query the properties of a sync object @@ -2699,27 +1498,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")] - public static - void GetSync(IntPtr sync, OpenTK.Graphics.ES20.All pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* values_ptr = &values) - { - Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES20.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr); - length = *length_ptr; - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSync(IntPtr sync, OpenTK.Graphics.ES20.All pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values); /// [requires: APPLE_sync] /// Query the properties of a sync object @@ -2752,18 +1531,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")] - public static - unsafe void GetSync(IntPtr sync, OpenTK.Graphics.ES20.All pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES20.SyncParameterName)pname, (Int32)bufSize, (Int32*)length, (Int32*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetSync(IntPtr sync, OpenTK.Graphics.ES20.All pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); /// [requires: APPLE_sync] /// Query the properties of a sync object @@ -2794,25 +1562,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")] - public static - void GetSync(IntPtr sync, OpenTK.Graphics.ES20.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - fixed (Int32* values_ptr = values) - { - Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES20.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetSync(IntPtr sync, OpenTK.Graphics.ES20.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] values); /// [requires: APPLE_sync] /// Query the properties of a sync object @@ -2843,27 +1593,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")] - public static - void GetSync(IntPtr sync, OpenTK.Graphics.ES20.SyncParameterName pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* values_ptr = &values) - { - Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES20.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr); - length = *length_ptr; - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSync(IntPtr sync, OpenTK.Graphics.ES20.SyncParameterName pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values); /// [requires: APPLE_sync] /// Query the properties of a sync object @@ -2895,18 +1625,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")] - public static - unsafe void GetSync(IntPtr sync, OpenTK.Graphics.ES20.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES20.SyncParameterName)pname, (Int32)bufSize, (Int32*)length, (Int32*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetSync(IntPtr sync, OpenTK.Graphics.ES20.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); /// [requires: APPLE_sync] /// Determine if a name corresponds to a sync object @@ -2917,18 +1636,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glIsSyncAPPLE")] - public static - bool IsSync(IntPtr sync) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsSyncAPPLE((IntPtr)sync); - #if DEBUG - } - #endif - } + public static extern bool IsSync(IntPtr sync); /// [requires: APPLE_framebuffer_multisample] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -2960,18 +1668,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleAPPLE")] - public static - void RenderbufferStorageMultisample(OpenTK.Graphics.ES20.All target, Int32 samples, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageMultisampleAPPLE((OpenTK.Graphics.ES20.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorageMultisample(OpenTK.Graphics.ES20.All target, Int32 samples, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height); /// [requires: APPLE_framebuffer_multisample] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -3002,33 +1699,11 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "APPLE_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleAPPLE")] - public static - void RenderbufferStorageMultisample(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageMultisampleAPPLE((OpenTK.Graphics.ES20.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorageMultisample(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); /// [requires: APPLE_framebuffer_multisample] [AutoGenerated(Category = "APPLE_framebuffer_multisample", Version = "", EntryPoint = "glResolveMultisampleFramebufferAPPLE")] - public static - void ResolveMultisampleFramebuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glResolveMultisampleFramebufferAPPLE(); - #if DEBUG - } - #endif - } + public static extern void ResolveMultisampleFramebuffer(); /// [requires: APPLE_sync] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -3050,18 +1725,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glWaitSyncAPPLE")] - public static - void WaitSync(IntPtr sync, OpenTK.Graphics.ES20.All flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES20.WaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern void WaitSync(IntPtr sync, OpenTK.Graphics.ES20.All flags, Int64 timeout); /// [requires: APPLE_sync] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -3084,18 +1748,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glWaitSyncAPPLE")] - public static - void WaitSync(IntPtr sync, OpenTK.Graphics.ES20.All flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES20.WaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern void WaitSync(IntPtr sync, OpenTK.Graphics.ES20.All flags, UInt64 timeout); /// [requires: APPLE_sync] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -3116,18 +1769,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glWaitSyncAPPLE")] - public static - void WaitSync(IntPtr sync, OpenTK.Graphics.ES20.WaitSyncFlags flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES20.WaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern void WaitSync(IntPtr sync, OpenTK.Graphics.ES20.WaitSyncFlags flags, Int64 timeout); /// [requires: APPLE_sync] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -3149,18 +1791,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glWaitSyncAPPLE")] - public static - void WaitSync(IntPtr sync, OpenTK.Graphics.ES20.WaitSyncFlags flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES20.WaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern void WaitSync(IntPtr sync, OpenTK.Graphics.ES20.WaitSyncFlags flags, UInt64 timeout); } @@ -3174,18 +1805,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glActiveTexture")] - public static - void ActiveTexture(OpenTK.Graphics.ES20.All texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glActiveTexture((OpenTK.Graphics.ES20.TextureUnit)texture); - #if DEBUG - } - #endif - } + public static extern void ActiveTexture(OpenTK.Graphics.ES20.All texture); /// [requires: v2.0 and ES_VERSION_2_0] /// Select active texture unit @@ -3196,18 +1816,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glActiveTexture")] - public static - void ActiveTexture(OpenTK.Graphics.ES20.TextureUnit texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glActiveTexture((OpenTK.Graphics.ES20.TextureUnit)texture); - #if DEBUG - } - #endif - } + public static extern void ActiveTexture(OpenTK.Graphics.ES20.TextureUnit texture); /// [requires: v2.0 and ES_VERSION_2_0] /// Attaches a shader object to a program object @@ -3223,18 +1832,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glAttachShader")] - public static - void AttachShader(Int32 program, Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAttachShader((UInt32)program, (UInt32)shader); - #if DEBUG - } - #endif - } + public static extern void AttachShader(Int32 program, Int32 shader); /// [requires: v2.0 and ES_VERSION_2_0] /// Attaches a shader object to a program object @@ -3251,18 +1849,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glAttachShader")] - public static - void AttachShader(UInt32 program, UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAttachShader((UInt32)program, (UInt32)shader); - #if DEBUG - } - #endif - } + public static extern void AttachShader(UInt32 program, UInt32 shader); /// [requires: v2.0 and ES_VERSION_2_0] /// Associates a generic vertex attribute index with a named attribute variable @@ -3283,18 +1870,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindAttribLocation")] - public static - void BindAttribLocation(Int32 program, Int32 index, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name); - #if DEBUG - } - #endif - } + public static extern void BindAttribLocation(Int32 program, Int32 index, String name); /// [requires: v2.0 and ES_VERSION_2_0] /// Associates a generic vertex attribute index with a named attribute variable @@ -3316,18 +1892,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindAttribLocation")] - public static - void BindAttribLocation(UInt32 program, UInt32 index, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name); - #if DEBUG - } - #endif - } + public static extern void BindAttribLocation(UInt32 program, UInt32 index, String name); /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a named buffer object @@ -3344,18 +1909,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindBuffer")] - public static - void BindBuffer(OpenTK.Graphics.ES20.All target, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBuffer((OpenTK.Graphics.ES20.BufferTarget)target, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void BindBuffer(OpenTK.Graphics.ES20.All target, Int32 buffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a named buffer object @@ -3373,18 +1927,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindBuffer")] - public static - void BindBuffer(OpenTK.Graphics.ES20.All target, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBuffer((OpenTK.Graphics.ES20.BufferTarget)target, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void BindBuffer(OpenTK.Graphics.ES20.All target, UInt32 buffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a named buffer object @@ -3400,18 +1943,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindBuffer")] - public static - void BindBuffer(OpenTK.Graphics.ES20.BufferTarget target, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBuffer((OpenTK.Graphics.ES20.BufferTarget)target, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void BindBuffer(OpenTK.Graphics.ES20.BufferTarget target, Int32 buffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a named buffer object @@ -3428,18 +1960,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindBuffer")] - public static - void BindBuffer(OpenTK.Graphics.ES20.BufferTarget target, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBuffer((OpenTK.Graphics.ES20.BufferTarget)target, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void BindBuffer(OpenTK.Graphics.ES20.BufferTarget target, UInt32 buffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a framebuffer to a framebuffer target @@ -3456,18 +1977,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindFramebuffer")] - public static - void BindFramebuffer(OpenTK.Graphics.ES20.All target, Int32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFramebuffer((OpenTK.Graphics.ES20.FramebufferTarget)target, (UInt32)framebuffer); - #if DEBUG - } - #endif - } + public static extern void BindFramebuffer(OpenTK.Graphics.ES20.All target, Int32 framebuffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a framebuffer to a framebuffer target @@ -3485,18 +1995,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindFramebuffer")] - public static - void BindFramebuffer(OpenTK.Graphics.ES20.All target, UInt32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFramebuffer((OpenTK.Graphics.ES20.FramebufferTarget)target, (UInt32)framebuffer); - #if DEBUG - } - #endif - } + public static extern void BindFramebuffer(OpenTK.Graphics.ES20.All target, UInt32 framebuffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a framebuffer to a framebuffer target @@ -3512,18 +2011,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindFramebuffer")] - public static - void BindFramebuffer(OpenTK.Graphics.ES20.FramebufferTarget target, Int32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFramebuffer((OpenTK.Graphics.ES20.FramebufferTarget)target, (UInt32)framebuffer); - #if DEBUG - } - #endif - } + public static extern void BindFramebuffer(OpenTK.Graphics.ES20.FramebufferTarget target, Int32 framebuffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a framebuffer to a framebuffer target @@ -3540,18 +2028,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindFramebuffer")] - public static - void BindFramebuffer(OpenTK.Graphics.ES20.FramebufferTarget target, UInt32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFramebuffer((OpenTK.Graphics.ES20.FramebufferTarget)target, (UInt32)framebuffer); - #if DEBUG - } - #endif - } + public static extern void BindFramebuffer(OpenTK.Graphics.ES20.FramebufferTarget target, UInt32 framebuffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a renderbuffer to a renderbuffer target @@ -3568,18 +2045,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindRenderbuffer")] - public static - void BindRenderbuffer(OpenTK.Graphics.ES20.All target, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindRenderbuffer((OpenTK.Graphics.ES20.RenderbufferTarget)target, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void BindRenderbuffer(OpenTK.Graphics.ES20.All target, Int32 renderbuffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a renderbuffer to a renderbuffer target @@ -3597,18 +2063,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindRenderbuffer")] - public static - void BindRenderbuffer(OpenTK.Graphics.ES20.All target, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindRenderbuffer((OpenTK.Graphics.ES20.RenderbufferTarget)target, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void BindRenderbuffer(OpenTK.Graphics.ES20.All target, UInt32 renderbuffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a renderbuffer to a renderbuffer target @@ -3624,18 +2079,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindRenderbuffer")] - public static - void BindRenderbuffer(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindRenderbuffer((OpenTK.Graphics.ES20.RenderbufferTarget)target, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void BindRenderbuffer(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 renderbuffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a renderbuffer to a renderbuffer target @@ -3652,18 +2096,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindRenderbuffer")] - public static - void BindRenderbuffer(OpenTK.Graphics.ES20.RenderbufferTarget target, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindRenderbuffer((OpenTK.Graphics.ES20.RenderbufferTarget)target, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void BindRenderbuffer(OpenTK.Graphics.ES20.RenderbufferTarget target, UInt32 renderbuffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a named texture to a texturing target @@ -3680,18 +2113,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindTexture")] - public static - void BindTexture(OpenTK.Graphics.ES20.All target, Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTexture((OpenTK.Graphics.ES20.TextureTarget)target, (UInt32)texture); - #if DEBUG - } - #endif - } + public static extern void BindTexture(OpenTK.Graphics.ES20.All target, Int32 texture); /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a named texture to a texturing target @@ -3709,18 +2131,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindTexture")] - public static - void BindTexture(OpenTK.Graphics.ES20.All target, UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTexture((OpenTK.Graphics.ES20.TextureTarget)target, (UInt32)texture); - #if DEBUG - } - #endif - } + public static extern void BindTexture(OpenTK.Graphics.ES20.All target, UInt32 texture); /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a named texture to a texturing target @@ -3736,18 +2147,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindTexture")] - public static - void BindTexture(OpenTK.Graphics.ES20.TextureTarget target, Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTexture((OpenTK.Graphics.ES20.TextureTarget)target, (UInt32)texture); - #if DEBUG - } - #endif - } + public static extern void BindTexture(OpenTK.Graphics.ES20.TextureTarget target, Int32 texture); /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a named texture to a texturing target @@ -3764,18 +2164,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindTexture")] - public static - void BindTexture(OpenTK.Graphics.ES20.TextureTarget target, UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTexture((OpenTK.Graphics.ES20.TextureTarget)target, (UInt32)texture); - #if DEBUG - } - #endif - } + public static extern void BindTexture(OpenTK.Graphics.ES20.TextureTarget target, UInt32 texture); /// [requires: v2.0 and ES_VERSION_2_0] /// Set the blend color @@ -3786,18 +2175,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendColor")] - public static - void BlendColor(Single red, Single green, Single blue, Single alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendColor((Single)red, (Single)green, (Single)blue, (Single)alpha); - #if DEBUG - } - #endif - } + public static extern void BlendColor(Single red, Single green, Single blue, Single alpha); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -3814,18 +2192,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendEquation")] - public static - void BlendEquation(OpenTK.Graphics.ES20.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquation((OpenTK.Graphics.ES20.BlendEquationMode)mode); - #if DEBUG - } - #endif - } + public static extern void BlendEquation(OpenTK.Graphics.ES20.All mode); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -3841,18 +2208,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendEquation")] - public static - void BlendEquation(OpenTK.Graphics.ES20.BlendEquationMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquation((OpenTK.Graphics.ES20.BlendEquationMode)mode); - #if DEBUG - } - #endif - } + public static extern void BlendEquation(OpenTK.Graphics.ES20.BlendEquationMode mode); /// [requires: v2.0 and ES_VERSION_2_0] /// Set the RGB blend equation and the alpha blend equation separately @@ -3874,18 +2230,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendEquationSeparate")] - public static - void BlendEquationSeparate(OpenTK.Graphics.ES20.All modeRGB, OpenTK.Graphics.ES20.All modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationSeparate((OpenTK.Graphics.ES20.BlendEquationMode)modeRGB, (OpenTK.Graphics.ES20.BlendEquationMode)modeAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendEquationSeparate(OpenTK.Graphics.ES20.All modeRGB, OpenTK.Graphics.ES20.All modeAlpha); /// [requires: v2.0 and ES_VERSION_2_0] /// Set the RGB blend equation and the alpha blend equation separately @@ -3906,18 +2251,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendEquationSeparate")] - public static - void BlendEquationSeparate(OpenTK.Graphics.ES20.BlendEquationMode modeRGB, OpenTK.Graphics.ES20.BlendEquationMode modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationSeparate((OpenTK.Graphics.ES20.BlendEquationMode)modeRGB, (OpenTK.Graphics.ES20.BlendEquationMode)modeAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendEquationSeparate(OpenTK.Graphics.ES20.BlendEquationMode modeRGB, OpenTK.Graphics.ES20.BlendEquationMode modeAlpha); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify pixel arithmetic @@ -3939,18 +2273,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendFunc")] - public static - void BlendFunc(OpenTK.Graphics.ES20.All sfactor, OpenTK.Graphics.ES20.All dfactor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFunc((OpenTK.Graphics.ES20.BlendingFactorSrc)sfactor, (OpenTK.Graphics.ES20.BlendingFactorDest)dfactor); - #if DEBUG - } - #endif - } + public static extern void BlendFunc(OpenTK.Graphics.ES20.All sfactor, OpenTK.Graphics.ES20.All dfactor); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify pixel arithmetic @@ -3971,18 +2294,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendFunc")] - public static - void BlendFunc(OpenTK.Graphics.ES20.BlendingFactorSrc sfactor, OpenTK.Graphics.ES20.BlendingFactorDest dfactor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFunc((OpenTK.Graphics.ES20.BlendingFactorSrc)sfactor, (OpenTK.Graphics.ES20.BlendingFactorDest)dfactor); - #if DEBUG - } - #endif - } + public static extern void BlendFunc(OpenTK.Graphics.ES20.BlendingFactorSrc sfactor, OpenTK.Graphics.ES20.BlendingFactorDest dfactor); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify pixel arithmetic for RGB and alpha components separately @@ -4014,18 +2326,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendFuncSeparate")] - public static - void BlendFuncSeparate(OpenTK.Graphics.ES20.All sfactorRGB, OpenTK.Graphics.ES20.All dfactorRGB, OpenTK.Graphics.ES20.All sfactorAlpha, OpenTK.Graphics.ES20.All dfactorAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFuncSeparate((OpenTK.Graphics.ES20.BlendingFactorSrc)sfactorRGB, (OpenTK.Graphics.ES20.BlendingFactorDest)dfactorRGB, (OpenTK.Graphics.ES20.BlendingFactorSrc)sfactorAlpha, (OpenTK.Graphics.ES20.BlendingFactorDest)dfactorAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendFuncSeparate(OpenTK.Graphics.ES20.All sfactorRGB, OpenTK.Graphics.ES20.All dfactorRGB, OpenTK.Graphics.ES20.All sfactorAlpha, OpenTK.Graphics.ES20.All dfactorAlpha); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify pixel arithmetic for RGB and alpha components separately @@ -4056,18 +2357,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendFuncSeparate")] - public static - void BlendFuncSeparate(OpenTK.Graphics.ES20.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.ES20.BlendingFactorDest dfactorRGB, OpenTK.Graphics.ES20.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.ES20.BlendingFactorDest dfactorAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFuncSeparate((OpenTK.Graphics.ES20.BlendingFactorSrc)sfactorRGB, (OpenTK.Graphics.ES20.BlendingFactorDest)dfactorRGB, (OpenTK.Graphics.ES20.BlendingFactorSrc)sfactorAlpha, (OpenTK.Graphics.ES20.BlendingFactorDest)dfactorAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendFuncSeparate(OpenTK.Graphics.ES20.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.ES20.BlendingFactorDest dfactorRGB, OpenTK.Graphics.ES20.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.ES20.BlendingFactorDest dfactorAlpha); /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -4094,18 +2384,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.ES20.All target, IntPtr size, IntPtr data, OpenTK.Graphics.ES20.All usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ES20.BufferUsageHint)usage); - #if DEBUG - } - #endif - } + public static extern void BufferData(OpenTK.Graphics.ES20.All target, IntPtr size, IntPtr data, OpenTK.Graphics.ES20.All usage); /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -4132,27 +2411,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.ES20.All target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.ES20.All usage) + public static extern void BufferData(OpenTK.Graphics.ES20.All target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.ES20.All usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsageHint)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -4179,27 +2440,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.ES20.All target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.ES20.All usage) + public static extern void BufferData(OpenTK.Graphics.ES20.All target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.ES20.All usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsageHint)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -4226,27 +2469,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.ES20.All target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.ES20.All usage) + public static extern void BufferData(OpenTK.Graphics.ES20.All target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.ES20.All usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsageHint)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -4273,28 +2498,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.ES20.All target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.ES20.All usage) + public static extern void BufferData(OpenTK.Graphics.ES20.All target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.ES20.All usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsageHint)usage); - data = (T2)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -4321,18 +2527,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use BufferUsageHint overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES20.BufferUsage usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ES20.BufferUsageHint)usage); - #if DEBUG - } - #endif - } + public static extern void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES20.BufferUsage usage); /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -4358,18 +2553,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES20.BufferUsageHint usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ES20.BufferUsageHint)usage); - #if DEBUG - } - #endif - } + public static extern void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES20.BufferUsageHint usage); /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -4396,27 +2580,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use BufferUsageHint overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.ES20.BufferUsage usage) + public static extern void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.ES20.BufferUsage usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsageHint)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -4442,27 +2608,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.ES20.BufferUsageHint usage) + public static extern void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.ES20.BufferUsageHint usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsageHint)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -4489,27 +2637,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use BufferUsageHint overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.ES20.BufferUsage usage) + public static extern void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.ES20.BufferUsage usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsageHint)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -4535,27 +2665,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.ES20.BufferUsageHint usage) + public static extern void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.ES20.BufferUsageHint usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsageHint)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -4582,27 +2694,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use BufferUsageHint overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.ES20.BufferUsage usage) + public static extern void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.ES20.BufferUsage usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsageHint)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -4628,27 +2722,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.ES20.BufferUsageHint usage) + public static extern void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.ES20.BufferUsageHint usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsageHint)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -4675,28 +2751,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use BufferUsageHint overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.ES20.BufferUsage usage) + public static extern void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.ES20.BufferUsage usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsageHint)usage); - data = (T2)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -4722,28 +2779,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.ES20.BufferUsageHint usage) + public static extern void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.ES20.BufferUsageHint usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsageHint)usage); - data = (T2)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Updates a subset of a buffer object's data store @@ -4770,18 +2808,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.ES20.All target, IntPtr offset, IntPtr size, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBufferSubData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void BufferSubData(OpenTK.Graphics.ES20.All target, IntPtr offset, IntPtr size, IntPtr data); /// [requires: v2.0 and ES_VERSION_2_0] /// Updates a subset of a buffer object's data store @@ -4808,27 +2835,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.ES20.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) + public static extern void BufferSubData(OpenTK.Graphics.ES20.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Updates a subset of a buffer object's data store @@ -4855,27 +2864,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.ES20.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) + public static extern void BufferSubData(OpenTK.Graphics.ES20.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Updates a subset of a buffer object's data store @@ -4902,27 +2893,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.ES20.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) + public static extern void BufferSubData(OpenTK.Graphics.ES20.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Updates a subset of a buffer object's data store @@ -4949,28 +2922,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.ES20.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) + public static extern void BufferSubData(OpenTK.Graphics.ES20.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T3)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Updates a subset of a buffer object's data store @@ -4996,18 +2950,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBufferSubData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void BufferSubData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data); /// [requires: v2.0 and ES_VERSION_2_0] /// Updates a subset of a buffer object's data store @@ -5033,27 +2976,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) + public static extern void BufferSubData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Updates a subset of a buffer object's data store @@ -5079,27 +3004,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) + public static extern void BufferSubData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Updates a subset of a buffer object's data store @@ -5125,27 +3032,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) + public static extern void BufferSubData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Updates a subset of a buffer object's data store @@ -5171,28 +3060,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) + public static extern void BufferSubData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T3)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Check the completeness status of a framebuffer @@ -5204,18 +3074,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCheckFramebufferStatus")] - public static - OpenTK.Graphics.ES20.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.ES20.All target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCheckFramebufferStatus((OpenTK.Graphics.ES20.FramebufferTarget)target); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.ES20.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.ES20.All target); /// [requires: v2.0 and ES_VERSION_2_0] /// Check the completeness status of a framebuffer @@ -5226,18 +3085,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCheckFramebufferStatus")] - public static - OpenTK.Graphics.ES20.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.ES20.FramebufferTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCheckFramebufferStatus((OpenTK.Graphics.ES20.FramebufferTarget)target); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.ES20.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.ES20.FramebufferTarget target); /// [requires: v2.0 and ES_VERSION_2_0] /// Clear buffers to preset values @@ -5249,18 +3097,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glClear")] - public static - void Clear(OpenTK.Graphics.ES20.All mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClear((OpenTK.Graphics.ES20.ClearBufferMask)mask); - #if DEBUG - } - #endif - } + public static extern void Clear(OpenTK.Graphics.ES20.All mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Clear buffers to preset values @@ -5271,18 +3108,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glClear")] - public static - void Clear(OpenTK.Graphics.ES20.ClearBufferMask mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClear((OpenTK.Graphics.ES20.ClearBufferMask)mask); - #if DEBUG - } - #endif - } + public static extern void Clear(OpenTK.Graphics.ES20.ClearBufferMask mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify clear values for the color buffers @@ -5293,18 +3119,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glClearColor")] - public static - void ClearColor(Single red, Single green, Single blue, Single alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearColor((Single)red, (Single)green, (Single)blue, (Single)alpha); - #if DEBUG - } - #endif - } + public static extern void ClearColor(Single red, Single green, Single blue, Single alpha); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the clear value for the depth buffer @@ -5315,18 +3130,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glClearDepthf")] - public static - void ClearDepth(Single d) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearDepthf((Single)d); - #if DEBUG - } - #endif - } + public static extern void ClearDepth(Single d); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the clear value for the stencil buffer @@ -5337,18 +3141,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glClearStencil")] - public static - void ClearStencil(Int32 s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearStencil((Int32)s); - #if DEBUG - } - #endif - } + public static extern void ClearStencil(Int32 s); /// [requires: v2.0 and ES_VERSION_2_0] /// Enable and disable writing of frame buffer color components @@ -5364,18 +3157,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glColorMask")] - public static - void ColorMask(bool red, bool green, bool blue, bool alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorMask((bool)red, (bool)green, (bool)blue, (bool)alpha); - #if DEBUG - } - #endif - } + public static extern void ColorMask(bool red, bool green, bool blue, bool alpha); /// [requires: v2.0 and ES_VERSION_2_0] /// Compiles a shader object @@ -5386,18 +3168,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompileShader")] - public static - void CompileShader(Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompileShader((UInt32)shader); - #if DEBUG - } - #endif - } + public static extern void CompileShader(Int32 shader); /// [requires: v2.0 and ES_VERSION_2_0] /// Compiles a shader object @@ -5409,18 +3180,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompileShader")] - public static - void CompileShader(UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompileShader((UInt32)shader); - #if DEBUG - } - #endif - } + public static extern void CompileShader(UInt32 shader); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image in a compressed format @@ -5467,18 +3227,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image in a compressed format @@ -5525,27 +3274,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image in a compressed format @@ -5592,27 +3323,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image in a compressed format @@ -5659,27 +3372,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image in a compressed format @@ -5726,28 +3421,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T7)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image in a compressed format @@ -5794,18 +3470,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image in a compressed format @@ -5852,27 +3517,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image in a compressed format @@ -5919,27 +3566,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image in a compressed format @@ -5986,27 +3615,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image in a compressed format @@ -6053,28 +3664,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T7)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image in a compressed format @@ -6120,18 +3712,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image in a compressed format @@ -6177,27 +3758,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image in a compressed format @@ -6243,27 +3806,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image in a compressed format @@ -6309,27 +3854,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image in a compressed format @@ -6375,28 +3902,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T7)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage in a compressed format @@ -6448,18 +3956,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, Int32 imageSize, IntPtr data); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage in a compressed format @@ -6511,27 +4008,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage in a compressed format @@ -6583,27 +4062,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage in a compressed format @@ -6655,27 +4116,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage in a compressed format @@ -6727,28 +4170,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T8)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage in a compressed format @@ -6800,18 +4224,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d and CompressedInternalFormat overloads instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, IntPtr data); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage in a compressed format @@ -6863,27 +4276,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d and CompressedInternalFormat overloads instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage in a compressed format @@ -6935,27 +4330,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d and CompressedInternalFormat overloads instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage in a compressed format @@ -7007,27 +4384,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d and CompressedInternalFormat overloads instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage in a compressed format @@ -7079,28 +4438,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d and CompressedInternalFormat overloads instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T8)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage in a compressed format @@ -7151,18 +4491,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, IntPtr data); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage in a compressed format @@ -7213,27 +4542,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage in a compressed format @@ -7284,27 +4595,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage in a compressed format @@ -7355,27 +4648,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage in a compressed format @@ -7426,28 +4701,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T8)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Copy pixels into a 2D texture image @@ -7489,18 +4745,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCopyTexImage2D")] - public static - void CopyTexImage2D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureCopyComponentCount)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); - #if DEBUG - } - #endif - } + public static extern void CopyTexImage2D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); /// [requires: v2.0 and ES_VERSION_2_0] /// Copy pixels into a 2D texture image @@ -7542,18 +4787,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d and TextureCopyComponentCount overloads instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCopyTexImage2D")] - public static - void CopyTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureCopyComponentCount)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); - #if DEBUG - } - #endif - } + public static extern void CopyTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); /// [requires: v2.0 and ES_VERSION_2_0] /// Copy pixels into a 2D texture image @@ -7594,18 +4828,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCopyTexImage2D")] - public static - void CopyTexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.TextureCopyComponentCount internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureCopyComponentCount)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); - #if DEBUG - } - #endif - } + public static extern void CopyTexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.TextureCopyComponentCount internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); /// [requires: v2.0 and ES_VERSION_2_0] /// Copy a two-dimensional texture subimage @@ -7647,18 +4870,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCopyTexSubImage2D")] - public static - void CopyTexSubImage2D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void CopyTexSubImage2D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v2.0 and ES_VERSION_2_0] /// Copy a two-dimensional texture subimage @@ -7700,18 +4912,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCopyTexSubImage2D")] - public static - void CopyTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void CopyTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v2.0 and ES_VERSION_2_0] /// Copy a two-dimensional texture subimage @@ -7752,35 +4953,13 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCopyTexSubImage2D")] - public static - void CopyTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void CopyTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v2.0 and ES_VERSION_2_0] /// Creates a program object /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCreateProgram")] - public static - Int32 CreateProgram() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCreateProgram(); - #if DEBUG - } - #endif - } + public static extern Int32 CreateProgram(); /// [requires: v2.0 and ES_VERSION_2_0] /// Creates a shader object @@ -7792,18 +4971,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCreateShader")] - public static - Int32 CreateShader(OpenTK.Graphics.ES20.All type) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCreateShader((OpenTK.Graphics.ES20.ShaderType)type); - #if DEBUG - } - #endif - } + public static extern Int32 CreateShader(OpenTK.Graphics.ES20.All type); /// [requires: v2.0 and ES_VERSION_2_0] /// Creates a shader object @@ -7814,18 +4982,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCreateShader")] - public static - Int32 CreateShader(OpenTK.Graphics.ES20.ShaderType type) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCreateShader((OpenTK.Graphics.ES20.ShaderType)type); - #if DEBUG - } - #endif - } + public static extern Int32 CreateShader(OpenTK.Graphics.ES20.ShaderType type); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify whether front- or back-facing facets can be culled @@ -7837,18 +4994,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCullFace")] - public static - void CullFace(OpenTK.Graphics.ES20.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCullFace((OpenTK.Graphics.ES20.CullFaceMode)mode); - #if DEBUG - } - #endif - } + public static extern void CullFace(OpenTK.Graphics.ES20.All mode); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify whether front- or back-facing facets can be culled @@ -7859,18 +5005,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCullFace")] - public static - void CullFace(OpenTK.Graphics.ES20.CullFaceMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCullFace((OpenTK.Graphics.ES20.CullFaceMode)mode); - #if DEBUG - } - #endif - } + public static extern void CullFace(OpenTK.Graphics.ES20.CullFaceMode mode); /// /// Specify a callback to receive debugging messages from the GL @@ -7886,18 +5021,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallback")] - public static - void DebugMessageCallback(DebugProc callback, IntPtr userParam) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageCallback((DebugProc)callback, (IntPtr)userParam); - #if DEBUG - } - #endif - } + public static extern void DebugMessageCallback(DebugProc callback, IntPtr userParam); /// /// Specify a callback to receive debugging messages from the GL @@ -7913,27 +5037,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallback")] - public static - void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] T1[] userParam) + public static extern void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] T1[] userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallback((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Specify a callback to receive debugging messages from the GL @@ -7949,27 +5055,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallback")] - public static - void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] T1[,] userParam) + public static extern void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] T1[,] userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallback((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Specify a callback to receive debugging messages from the GL @@ -7985,27 +5073,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallback")] - public static - void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] T1[,,] userParam) + public static extern void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] T1[,,] userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallback((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Specify a callback to receive debugging messages from the GL @@ -8021,28 +5091,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallback")] - public static - void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] ref T1 userParam) + public static extern void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] ref T1 userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallback((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - userParam = (T1)userParam_ptr.Target; - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Control the reporting of debug messages in a debug context @@ -8079,24 +5130,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static - void DebugMessageControl(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, OpenTK.Graphics.ES20.All severity, Int32 count, Int32[] ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glDebugMessageControl((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, OpenTK.Graphics.ES20.All severity, Int32 count, Int32[] ids, bool enabled); /// /// Control the reporting of debug messages in a debug context @@ -8133,24 +5167,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static - void DebugMessageControl(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, OpenTK.Graphics.ES20.All severity, Int32 count, ref Int32 ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glDebugMessageControl((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, OpenTK.Graphics.ES20.All severity, Int32 count, ref Int32 ids, bool enabled); /// /// Control the reporting of debug messages in a debug context @@ -8188,18 +5205,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static - unsafe void DebugMessageControl(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, OpenTK.Graphics.ES20.All severity, Int32 count, Int32* ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageControl((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - #if DEBUG - } - #endif - } + public static extern unsafe void DebugMessageControl(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, OpenTK.Graphics.ES20.All severity, Int32 count, Int32* ids, bool enabled); /// /// Control the reporting of debug messages in a debug context @@ -8237,24 +5243,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static - void DebugMessageControl(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, OpenTK.Graphics.ES20.All severity, Int32 count, UInt32[] ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glDebugMessageControl((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, OpenTK.Graphics.ES20.All severity, Int32 count, UInt32[] ids, bool enabled); /// /// Control the reporting of debug messages in a debug context @@ -8292,24 +5281,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static - void DebugMessageControl(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, OpenTK.Graphics.ES20.All severity, Int32 count, ref UInt32 ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glDebugMessageControl((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, OpenTK.Graphics.ES20.All severity, Int32 count, ref UInt32 ids, bool enabled); /// /// Control the reporting of debug messages in a debug context @@ -8347,18 +5319,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static - unsafe void DebugMessageControl(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, OpenTK.Graphics.ES20.All severity, Int32 count, UInt32* ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageControl((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - #if DEBUG - } - #endif - } + public static extern unsafe void DebugMessageControl(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, OpenTK.Graphics.ES20.All severity, Int32 count, UInt32* ids, bool enabled); /// /// Control the reporting of debug messages in a debug context @@ -8394,24 +5355,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static - void DebugMessageControl(OpenTK.Graphics.ES20.DebugSourceControl source, OpenTK.Graphics.ES20.DebugTypeControl type, OpenTK.Graphics.ES20.DebugSeverityControl severity, Int32 count, Int32[] ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glDebugMessageControl((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.ES20.DebugSourceControl source, OpenTK.Graphics.ES20.DebugTypeControl type, OpenTK.Graphics.ES20.DebugSeverityControl severity, Int32 count, Int32[] ids, bool enabled); /// /// Control the reporting of debug messages in a debug context @@ -8447,24 +5391,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static - void DebugMessageControl(OpenTK.Graphics.ES20.DebugSourceControl source, OpenTK.Graphics.ES20.DebugTypeControl type, OpenTK.Graphics.ES20.DebugSeverityControl severity, Int32 count, ref Int32 ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glDebugMessageControl((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.ES20.DebugSourceControl source, OpenTK.Graphics.ES20.DebugTypeControl type, OpenTK.Graphics.ES20.DebugSeverityControl severity, Int32 count, ref Int32 ids, bool enabled); /// /// Control the reporting of debug messages in a debug context @@ -8501,18 +5428,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static - unsafe void DebugMessageControl(OpenTK.Graphics.ES20.DebugSourceControl source, OpenTK.Graphics.ES20.DebugTypeControl type, OpenTK.Graphics.ES20.DebugSeverityControl severity, Int32 count, Int32* ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageControl((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - #if DEBUG - } - #endif - } + public static extern unsafe void DebugMessageControl(OpenTK.Graphics.ES20.DebugSourceControl source, OpenTK.Graphics.ES20.DebugTypeControl type, OpenTK.Graphics.ES20.DebugSeverityControl severity, Int32 count, Int32* ids, bool enabled); /// /// Control the reporting of debug messages in a debug context @@ -8549,24 +5465,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static - void DebugMessageControl(OpenTK.Graphics.ES20.DebugSourceControl source, OpenTK.Graphics.ES20.DebugTypeControl type, OpenTK.Graphics.ES20.DebugSeverityControl severity, Int32 count, UInt32[] ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glDebugMessageControl((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.ES20.DebugSourceControl source, OpenTK.Graphics.ES20.DebugTypeControl type, OpenTK.Graphics.ES20.DebugSeverityControl severity, Int32 count, UInt32[] ids, bool enabled); /// /// Control the reporting of debug messages in a debug context @@ -8603,24 +5502,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static - void DebugMessageControl(OpenTK.Graphics.ES20.DebugSourceControl source, OpenTK.Graphics.ES20.DebugTypeControl type, OpenTK.Graphics.ES20.DebugSeverityControl severity, Int32 count, ref UInt32 ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glDebugMessageControl((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.ES20.DebugSourceControl source, OpenTK.Graphics.ES20.DebugTypeControl type, OpenTK.Graphics.ES20.DebugSeverityControl severity, Int32 count, ref UInt32 ids, bool enabled); /// /// Control the reporting of debug messages in a debug context @@ -8657,18 +5539,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static - unsafe void DebugMessageControl(OpenTK.Graphics.ES20.DebugSourceControl source, OpenTK.Graphics.ES20.DebugTypeControl type, OpenTK.Graphics.ES20.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageControl((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - #if DEBUG - } - #endif - } + public static extern unsafe void DebugMessageControl(OpenTK.Graphics.ES20.DebugSourceControl source, OpenTK.Graphics.ES20.DebugTypeControl type, OpenTK.Graphics.ES20.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled); /// /// Inject an application-supplied message into the debug message queue @@ -8705,18 +5576,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsert")] - public static - void DebugMessageInsert(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, Int32 id, OpenTK.Graphics.ES20.All severity, Int32 length, String buf) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageInsert((OpenTK.Graphics.ES20.DebugSourceExternal)source, (OpenTK.Graphics.ES20.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES20.DebugSeverity)severity, (Int32)length, (String)buf); - #if DEBUG - } - #endif - } + public static extern void DebugMessageInsert(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, Int32 id, OpenTK.Graphics.ES20.All severity, Int32 length, String buf); /// /// Inject an application-supplied message into the debug message queue @@ -8754,18 +5614,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsert")] - public static - void DebugMessageInsert(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, UInt32 id, OpenTK.Graphics.ES20.All severity, Int32 length, String buf) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageInsert((OpenTK.Graphics.ES20.DebugSourceExternal)source, (OpenTK.Graphics.ES20.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES20.DebugSeverity)severity, (Int32)length, (String)buf); - #if DEBUG - } - #endif - } + public static extern void DebugMessageInsert(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, UInt32 id, OpenTK.Graphics.ES20.All severity, Int32 length, String buf); /// /// Inject an application-supplied message into the debug message queue @@ -8801,18 +5650,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsert")] - public static - void DebugMessageInsert(OpenTK.Graphics.ES20.DebugSourceExternal source, OpenTK.Graphics.ES20.DebugType type, Int32 id, OpenTK.Graphics.ES20.DebugSeverity severity, Int32 length, String buf) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageInsert((OpenTK.Graphics.ES20.DebugSourceExternal)source, (OpenTK.Graphics.ES20.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES20.DebugSeverity)severity, (Int32)length, (String)buf); - #if DEBUG - } - #endif - } + public static extern void DebugMessageInsert(OpenTK.Graphics.ES20.DebugSourceExternal source, OpenTK.Graphics.ES20.DebugType type, Int32 id, OpenTK.Graphics.ES20.DebugSeverity severity, Int32 length, String buf); /// /// Inject an application-supplied message into the debug message queue @@ -8849,18 +5687,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsert")] - public static - void DebugMessageInsert(OpenTK.Graphics.ES20.DebugSourceExternal source, OpenTK.Graphics.ES20.DebugType type, UInt32 id, OpenTK.Graphics.ES20.DebugSeverity severity, Int32 length, String buf) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageInsert((OpenTK.Graphics.ES20.DebugSourceExternal)source, (OpenTK.Graphics.ES20.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES20.DebugSeverity)severity, (Int32)length, (String)buf); - #if DEBUG - } - #endif - } + public static extern void DebugMessageInsert(OpenTK.Graphics.ES20.DebugSourceExternal source, OpenTK.Graphics.ES20.DebugType type, UInt32 id, OpenTK.Graphics.ES20.DebugSeverity severity, Int32 length, String buf); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named buffer objects @@ -8876,23 +5703,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffer(Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* buffers_ptr = (UInt32*)&buffers; - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffer(Int32 buffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named buffer objects @@ -8909,23 +5720,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffer(UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* buffers_ptr = (UInt32*)&buffers; - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffer(UInt32 buffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named buffer objects @@ -8941,24 +5736,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffers(Int32 n, Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffers(Int32 n, Int32[] buffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named buffer objects @@ -8974,24 +5752,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffers(Int32 n, ref Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - { - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffers(Int32 n, ref Int32 buffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named buffer objects @@ -9008,18 +5769,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")] - public static - unsafe void DeleteBuffers(Int32 n, Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteBuffers(Int32 n, Int32* buffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named buffer objects @@ -9036,24 +5786,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffers(Int32 n, UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffers(Int32 n, UInt32[] buffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named buffer objects @@ -9070,24 +5803,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffers(Int32 n, ref UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - { - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffers(Int32 n, ref UInt32 buffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named buffer objects @@ -9104,18 +5820,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")] - public static - unsafe void DeleteBuffers(Int32 n, UInt32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteBuffers(Int32 n, UInt32* buffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete framebuffer objects @@ -9131,23 +5836,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] - public static - void DeleteFramebuffer(Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* framebuffers_ptr = (UInt32*)&framebuffers; - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffer(Int32 framebuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete framebuffer objects @@ -9164,23 +5853,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] - public static - void DeleteFramebuffer(UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* framebuffers_ptr = (UInt32*)&framebuffers; - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffer(UInt32 framebuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete framebuffer objects @@ -9196,24 +5869,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] - public static - void DeleteFramebuffers(Int32 n, Int32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffers(Int32 n, Int32[] framebuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete framebuffer objects @@ -9229,24 +5885,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] - public static - void DeleteFramebuffers(Int32 n, ref Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - { - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffers(Int32 n, ref Int32 framebuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete framebuffer objects @@ -9263,18 +5902,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] - public static - unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete framebuffer objects @@ -9291,24 +5919,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] - public static - void DeleteFramebuffers(Int32 n, UInt32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = framebuffers) - { - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffers(Int32 n, UInt32[] framebuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete framebuffer objects @@ -9325,24 +5936,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] - public static - void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = &framebuffers) - { - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete framebuffer objects @@ -9359,18 +5953,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] - public static - unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Deletes a program object @@ -9381,18 +5964,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteProgram")] - public static - void DeleteProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void DeleteProgram(Int32 program); /// [requires: v2.0 and ES_VERSION_2_0] /// Deletes a program object @@ -9404,18 +5976,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteProgram")] - public static - void DeleteProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void DeleteProgram(UInt32 program); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete renderbuffer objects @@ -9431,23 +5992,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] - public static - void DeleteRenderbuffer(Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* renderbuffers_ptr = (UInt32*)&renderbuffers; - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffer(Int32 renderbuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete renderbuffer objects @@ -9464,23 +6009,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] - public static - void DeleteRenderbuffer(UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* renderbuffers_ptr = (UInt32*)&renderbuffers; - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffer(UInt32 renderbuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete renderbuffer objects @@ -9496,24 +6025,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] - public static - void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = renderbuffers) - { - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete renderbuffer objects @@ -9529,24 +6041,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] - public static - void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete renderbuffer objects @@ -9563,18 +6058,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] - public static - unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete renderbuffer objects @@ -9591,24 +6075,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] - public static - void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = renderbuffers) - { - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete renderbuffer objects @@ -9625,24 +6092,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] - public static - void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete renderbuffer objects @@ -9659,18 +6109,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] - public static - unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Deletes a shader object @@ -9681,18 +6120,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteShader")] - public static - void DeleteShader(Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteShader((UInt32)shader); - #if DEBUG - } - #endif - } + public static extern void DeleteShader(Int32 shader); /// [requires: v2.0 and ES_VERSION_2_0] /// Deletes a shader object @@ -9704,18 +6132,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteShader")] - public static - void DeleteShader(UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteShader((UInt32)shader); - #if DEBUG - } - #endif - } + public static extern void DeleteShader(UInt32 shader); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named textures @@ -9731,23 +6148,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")] - public static - void DeleteTexture(Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* textures_ptr = (UInt32*)&textures; - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteTexture(Int32 textures); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named textures @@ -9764,23 +6165,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")] - public static - void DeleteTexture(UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* textures_ptr = (UInt32*)&textures; - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteTexture(UInt32 textures); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named textures @@ -9796,24 +6181,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")] - public static - void DeleteTextures(Int32 n, Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTextures(Int32 n, Int32[] textures); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named textures @@ -9829,24 +6197,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")] - public static - void DeleteTextures(Int32 n, ref Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTextures(Int32 n, ref Int32 textures); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named textures @@ -9863,18 +6214,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")] - public static - unsafe void DeleteTextures(Int32 n, Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteTextures(Int32 n, Int32* textures); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named textures @@ -9891,24 +6231,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")] - public static - void DeleteTextures(Int32 n, UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTextures(Int32 n, UInt32[] textures); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named textures @@ -9925,24 +6248,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")] - public static - void DeleteTextures(Int32 n, ref UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTextures(Int32 n, ref UInt32 textures); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named textures @@ -9959,18 +6265,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")] - public static - unsafe void DeleteTextures(Int32 n, UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteTextures(Int32 n, UInt32* textures); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value used for depth buffer comparisons @@ -9982,18 +6277,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDepthFunc")] - public static - void DepthFunc(OpenTK.Graphics.ES20.All func) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthFunc((OpenTK.Graphics.ES20.DepthFunction)func); - #if DEBUG - } - #endif - } + public static extern void DepthFunc(OpenTK.Graphics.ES20.All func); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value used for depth buffer comparisons @@ -10004,18 +6288,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDepthFunc")] - public static - void DepthFunc(OpenTK.Graphics.ES20.DepthFunction func) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthFunc((OpenTK.Graphics.ES20.DepthFunction)func); - #if DEBUG - } - #endif - } + public static extern void DepthFunc(OpenTK.Graphics.ES20.DepthFunction func); /// [requires: v2.0 and ES_VERSION_2_0] /// Enable or disable writing into the depth buffer @@ -10026,18 +6299,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDepthMask")] - public static - void DepthMask(bool flag) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthMask((bool)flag); - #if DEBUG - } - #endif - } + public static extern void DepthMask(bool flag); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify mapping of depth values from normalized device coordinates to window coordinates @@ -10053,18 +6315,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDepthRangef")] - public static - void DepthRange(Single n, Single f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthRangef((Single)n, (Single)f); - #if DEBUG - } - #endif - } + public static extern void DepthRange(Single n, Single f); /// [requires: v2.0 and ES_VERSION_2_0] /// Detaches a shader object from a program object to which it is attached @@ -10080,18 +6331,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDetachShader")] - public static - void DetachShader(Int32 program, Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDetachShader((UInt32)program, (UInt32)shader); - #if DEBUG - } - #endif - } + public static extern void DetachShader(Int32 program, Int32 shader); /// [requires: v2.0 and ES_VERSION_2_0] /// Detaches a shader object from a program object to which it is attached @@ -10108,80 +6348,25 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDetachShader")] - public static - void DetachShader(UInt32 program, UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDetachShader((UInt32)program, (UInt32)shader); - #if DEBUG - } - #endif - } + public static extern void DetachShader(UInt32 program, UInt32 shader); /// [requires: v2.0 and ES_VERSION_2_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDisable")] - public static - void Disable(OpenTK.Graphics.ES20.All cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisable((OpenTK.Graphics.ES20.EnableCap)cap); - #if DEBUG - } - #endif - } + public static extern void Disable(OpenTK.Graphics.ES20.All cap); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDisable")] - public static - void Disable(OpenTK.Graphics.ES20.EnableCap cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisable((OpenTK.Graphics.ES20.EnableCap)cap); - #if DEBUG - } - #endif - } + public static extern void Disable(OpenTK.Graphics.ES20.EnableCap cap); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")] - public static - void DisableVertexAttribArray(Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableVertexAttribArray((UInt32)index); - #if DEBUG - } - #endif - } + public static extern void DisableVertexAttribArray(Int32 index); /// [requires: v2.0 and ES_VERSION_2_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")] - public static - void DisableVertexAttribArray(UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableVertexAttribArray((UInt32)index); - #if DEBUG - } - #endif - } + public static extern void DisableVertexAttribArray(UInt32 index); /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -10203,18 +6388,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawArrays")] - public static - void DrawArrays(OpenTK.Graphics.ES20.All mode, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArrays((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)first, (Int32)count); - #if DEBUG - } - #endif - } + public static extern void DrawArrays(OpenTK.Graphics.ES20.All mode, Int32 first, Int32 count); /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -10236,18 +6410,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawArrays")] - public static - void DrawArrays(OpenTK.Graphics.ES20.BeginMode mode, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArrays((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)first, (Int32)count); - #if DEBUG - } - #endif - } + public static extern void DrawArrays(OpenTK.Graphics.ES20.BeginMode mode, Int32 first, Int32 count); /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -10268,18 +6431,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawArrays")] - public static - void DrawArrays(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArrays((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)first, (Int32)count); - #if DEBUG - } - #endif - } + public static extern void DrawArrays(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 first, Int32 count); /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -10306,18 +6458,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElements((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices); - #if DEBUG - } - #endif - } + public static extern void DrawElements(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, IntPtr indices); /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -10344,27 +6485,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[] indices) + public static extern void DrawElements(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[] indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -10391,27 +6514,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,] indices) + public static extern void DrawElements(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,] indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -10438,27 +6543,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,,] indices) + public static extern void DrawElements(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,,] indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -10485,28 +6572,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T3 indices) + public static extern void DrawElements(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T3 indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -10533,18 +6601,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES20.BeginMode mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElements((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices); - #if DEBUG - } - #endif - } + public static extern void DrawElements(OpenTK.Graphics.ES20.BeginMode mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices); /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -10571,27 +6628,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES20.BeginMode mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices) + public static extern void DrawElements(OpenTK.Graphics.ES20.BeginMode mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -10618,27 +6657,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES20.BeginMode mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices) + public static extern void DrawElements(OpenTK.Graphics.ES20.BeginMode mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -10665,27 +6686,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES20.BeginMode mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices) + public static extern void DrawElements(OpenTK.Graphics.ES20.BeginMode mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -10712,28 +6715,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES20.BeginMode mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices) + public static extern void DrawElements(OpenTK.Graphics.ES20.BeginMode mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -10759,18 +6743,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElements((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices); - #if DEBUG - } - #endif - } + public static extern void DrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices); /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -10796,27 +6769,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices) + public static extern void DrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -10842,27 +6797,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices) + public static extern void DrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -10888,27 +6825,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices) + public static extern void DrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -10934,28 +6853,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices) + public static extern void DrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Enable or disable server-side GL capabilities @@ -10972,18 +6872,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glEnable")] - public static - void Enable(OpenTK.Graphics.ES20.All cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnable((OpenTK.Graphics.ES20.EnableCap)cap); - #if DEBUG - } - #endif - } + public static extern void Enable(OpenTK.Graphics.ES20.All cap); /// [requires: v2.0 and ES_VERSION_2_0] /// Enable or disable server-side GL capabilities @@ -10999,18 +6888,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glEnable")] - public static - void Enable(OpenTK.Graphics.ES20.EnableCap cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnable((OpenTK.Graphics.ES20.EnableCap)cap); - #if DEBUG - } - #endif - } + public static extern void Enable(OpenTK.Graphics.ES20.EnableCap cap); /// [requires: v2.0 and ES_VERSION_2_0] /// Enable or disable a generic vertex attribute array @@ -11021,18 +6899,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")] - public static - void EnableVertexAttribArray(Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableVertexAttribArray((UInt32)index); - #if DEBUG - } - #endif - } + public static extern void EnableVertexAttribArray(Int32 index); /// [requires: v2.0 and ES_VERSION_2_0] /// Enable or disable a generic vertex attribute array @@ -11044,52 +6911,19 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")] - public static - void EnableVertexAttribArray(UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableVertexAttribArray((UInt32)index); - #if DEBUG - } - #endif - } + public static extern void EnableVertexAttribArray(UInt32 index); /// [requires: v2.0 and ES_VERSION_2_0] /// Block until all GL execution is complete /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFinish")] - public static - void Finish() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFinish(); - #if DEBUG - } - #endif - } + public static extern void Finish(); /// [requires: v2.0 and ES_VERSION_2_0] /// Force execution of GL commands in finite time /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFlush")] - public static - void Flush() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFlush(); - #if DEBUG - } - #endif - } + public static extern void Flush(); /// [requires: v2.0 and ES_VERSION_2_0] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -11116,18 +6950,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")] - public static - void FramebufferRenderbuffer(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All renderbuffertarget, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void FramebufferRenderbuffer(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All renderbuffertarget, Int32 renderbuffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -11155,18 +6978,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")] - public static - void FramebufferRenderbuffer(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All renderbuffertarget, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void FramebufferRenderbuffer(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All renderbuffertarget, UInt32 renderbuffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -11192,18 +7004,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")] - public static - void FramebufferRenderbuffer(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.RenderbufferTarget renderbuffertarget, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void FramebufferRenderbuffer(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.RenderbufferTarget renderbuffertarget, Int32 renderbuffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -11230,18 +7031,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")] - public static - void FramebufferRenderbuffer(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void FramebufferRenderbuffer(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -11268,18 +7058,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use FramebufferAttachment overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")] - public static - void FramebufferRenderbuffer(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.RenderbufferTarget renderbuffertarget, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void FramebufferRenderbuffer(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.RenderbufferTarget renderbuffertarget, Int32 renderbuffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -11307,148 +7086,49 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use FramebufferAttachment overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")] - public static - void FramebufferRenderbuffer(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void FramebufferRenderbuffer(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); /// [requires: v2.0 and ES_VERSION_2_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")] - public static - void FramebufferTexture2D(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.TextureTarget2d)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture2D(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, Int32 texture, Int32 level); /// [requires: v2.0 and ES_VERSION_2_0] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")] - public static - void FramebufferTexture2D(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.TextureTarget2d)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture2D(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, UInt32 texture, Int32 level); /// [requires: v2.0 and ES_VERSION_2_0] [Obsolete("Use TextureTarget2d overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")] - public static - void FramebufferTexture2D(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.TextureTarget textarget, Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.TextureTarget2d)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture2D(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.TextureTarget textarget, Int32 texture, Int32 level); /// [requires: v2.0 and ES_VERSION_2_0] [Obsolete("Use TextureTarget2d overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")] - public static - void FramebufferTexture2D(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.TextureTarget textarget, UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.TextureTarget2d)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture2D(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.TextureTarget textarget, UInt32 texture, Int32 level); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")] - public static - void FramebufferTexture2D(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.TextureTarget2d textarget, Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.TextureTarget2d)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture2D(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.TextureTarget2d textarget, Int32 texture, Int32 level); /// [requires: v2.0 and ES_VERSION_2_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")] - public static - void FramebufferTexture2D(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.TextureTarget2d textarget, UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.TextureTarget2d)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture2D(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.TextureTarget2d textarget, UInt32 texture, Int32 level); /// [requires: v2.0 and ES_VERSION_2_0] [Obsolete("Use TextureTarget2d overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")] - public static - void FramebufferTexture2D(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.TextureTarget textarget, Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.TextureTarget2d)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture2D(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.TextureTarget textarget, Int32 texture, Int32 level); /// [requires: v2.0 and ES_VERSION_2_0] [Obsolete("Use TextureTarget2d overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")] - public static - void FramebufferTexture2D(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.TextureTarget textarget, UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.TextureTarget2d)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture2D(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.TextureTarget textarget, UInt32 texture, Int32 level); /// [requires: v2.0 and ES_VERSION_2_0] /// Define front- and back-facing polygons @@ -11460,18 +7140,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFrontFace")] - public static - void FrontFace(OpenTK.Graphics.ES20.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFrontFace((OpenTK.Graphics.ES20.FrontFaceDirection)mode); - #if DEBUG - } - #endif - } + public static extern void FrontFace(OpenTK.Graphics.ES20.All mode); /// [requires: v2.0 and ES_VERSION_2_0] /// Define front- and back-facing polygons @@ -11482,18 +7151,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFrontFace")] - public static - void FrontFace(OpenTK.Graphics.ES20.FrontFaceDirection mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFrontFace((OpenTK.Graphics.ES20.FrontFaceDirection)mode); - #if DEBUG - } - #endif - } + public static extern void FrontFace(OpenTK.Graphics.ES20.FrontFaceDirection mode); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate buffer object names @@ -11509,25 +7167,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")] - public static - Int32 GenBuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* buffers_ptr = &retval; - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenBuffer(); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate buffer object names @@ -11543,24 +7183,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")] - public static - void GenBuffers(Int32 n, [OutAttribute] Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenBuffers(Int32 n, [OutAttribute] Int32[] buffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate buffer object names @@ -11576,25 +7199,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")] - public static - void GenBuffers(Int32 n, [OutAttribute] out Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - { - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - buffers = *buffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenBuffers(Int32 n, [OutAttribute] out Int32 buffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate buffer object names @@ -11611,18 +7216,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")] - public static - unsafe void GenBuffers(Int32 n, [OutAttribute] Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenBuffers(Int32 n, [OutAttribute] Int32* buffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate buffer object names @@ -11639,24 +7233,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")] - public static - void GenBuffers(Int32 n, [OutAttribute] UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenBuffers(Int32 n, [OutAttribute] UInt32[] buffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate buffer object names @@ -11673,25 +7250,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")] - public static - void GenBuffers(Int32 n, [OutAttribute] out UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - { - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - buffers = *buffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenBuffers(Int32 n, [OutAttribute] out UInt32 buffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate buffer object names @@ -11708,18 +7267,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")] - public static - unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate mipmaps for a specified texture target @@ -11731,18 +7279,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenerateMipmap")] - public static - void GenerateMipmap(OpenTK.Graphics.ES20.All target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenerateMipmap((OpenTK.Graphics.ES20.TextureTarget)target); - #if DEBUG - } - #endif - } + public static extern void GenerateMipmap(OpenTK.Graphics.ES20.All target); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate mipmaps for a specified texture target @@ -11753,18 +7290,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenerateMipmap")] - public static - void GenerateMipmap(OpenTK.Graphics.ES20.TextureTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenerateMipmap((OpenTK.Graphics.ES20.TextureTarget)target); - #if DEBUG - } - #endif - } + public static extern void GenerateMipmap(OpenTK.Graphics.ES20.TextureTarget target); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate framebuffer object names @@ -11780,25 +7306,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")] - public static - Int32 GenFramebuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* framebuffers_ptr = &retval; - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenFramebuffer(); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate framebuffer object names @@ -11814,24 +7322,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")] - public static - void GenFramebuffers(Int32 n, [OutAttribute] Int32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenFramebuffers(Int32 n, [OutAttribute] Int32[] framebuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate framebuffer object names @@ -11847,25 +7338,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")] - public static - void GenFramebuffers(Int32 n, [OutAttribute] out Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - { - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - framebuffers = *framebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenFramebuffers(Int32 n, [OutAttribute] out Int32 framebuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate framebuffer object names @@ -11882,18 +7355,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")] - public static - unsafe void GenFramebuffers(Int32 n, [OutAttribute] Int32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenFramebuffers(Int32 n, [OutAttribute] Int32* framebuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate framebuffer object names @@ -11910,24 +7372,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")] - public static - void GenFramebuffers(Int32 n, [OutAttribute] UInt32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = framebuffers) - { - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenFramebuffers(Int32 n, [OutAttribute] UInt32[] framebuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate framebuffer object names @@ -11944,25 +7389,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")] - public static - void GenFramebuffers(Int32 n, [OutAttribute] out UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = &framebuffers) - { - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - framebuffers = *framebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenFramebuffers(Int32 n, [OutAttribute] out UInt32 framebuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate framebuffer object names @@ -11979,18 +7406,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")] - public static - unsafe void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate renderbuffer object names @@ -12006,25 +7422,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")] - public static - Int32 GenRenderbuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* renderbuffers_ptr = &retval; - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenRenderbuffer(); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate renderbuffer object names @@ -12040,24 +7438,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")] - public static - void GenRenderbuffers(Int32 n, [OutAttribute] Int32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = renderbuffers) - { - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] Int32[] renderbuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate renderbuffer object names @@ -12073,25 +7454,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")] - public static - void GenRenderbuffers(Int32 n, [OutAttribute] out Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - renderbuffers = *renderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] out Int32 renderbuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate renderbuffer object names @@ -12108,18 +7471,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")] - public static - unsafe void GenRenderbuffers(Int32 n, [OutAttribute] Int32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenRenderbuffers(Int32 n, [OutAttribute] Int32* renderbuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate renderbuffer object names @@ -12136,24 +7488,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")] - public static - void GenRenderbuffers(Int32 n, [OutAttribute] UInt32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = renderbuffers) - { - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] UInt32[] renderbuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate renderbuffer object names @@ -12170,25 +7505,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")] - public static - void GenRenderbuffers(Int32 n, [OutAttribute] out UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - renderbuffers = *renderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] out UInt32 renderbuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate renderbuffer object names @@ -12205,18 +7522,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")] - public static - unsafe void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate texture names @@ -12232,25 +7538,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")] - public static - Int32 GenTexture() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* textures_ptr = &retval; - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenTexture(); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate texture names @@ -12266,24 +7554,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")] - public static - void GenTextures(Int32 n, [OutAttribute] Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenTextures(Int32 n, [OutAttribute] Int32[] textures); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate texture names @@ -12299,25 +7570,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")] - public static - void GenTextures(Int32 n, [OutAttribute] out Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - textures = *textures_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenTextures(Int32 n, [OutAttribute] out Int32 textures); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate texture names @@ -12334,18 +7587,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")] - public static - unsafe void GenTextures(Int32 n, [OutAttribute] Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenTextures((Int32)n, (UInt32*)textures); - #if DEBUG - } - #endif - } + public static extern unsafe void GenTextures(Int32 n, [OutAttribute] Int32* textures); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate texture names @@ -12362,24 +7604,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")] - public static - void GenTextures(Int32 n, [OutAttribute] UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenTextures(Int32 n, [OutAttribute] UInt32[] textures); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate texture names @@ -12396,25 +7621,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")] - public static - void GenTextures(Int32 n, [OutAttribute] out UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - textures = *textures_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenTextures(Int32 n, [OutAttribute] out UInt32 textures); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate texture names @@ -12431,18 +7638,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")] - public static - unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenTextures((Int32)n, (UInt32*)textures); - #if DEBUG - } - #endif - } + public static extern unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active attribute variable for the specified program object @@ -12483,29 +7679,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static - void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES20.ActiveAttribType type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ES20.ActiveAttribType* type_ptr = &type) - { - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.ActiveAttribType*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES20.ActiveAttribType type, [OutAttribute] StringBuilder name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active attribute variable for the specified program object @@ -12547,29 +7721,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static - void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES20.All type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ES20.All* type_ptr = &type) - { - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.ActiveAttribType*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES20.All type, [OutAttribute] StringBuilder name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active attribute variable for the specified program object @@ -12611,18 +7763,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static - unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveAttribType* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES20.ActiveAttribType*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveAttribType* type, [OutAttribute] StringBuilder name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active attribute variable for the specified program object @@ -12665,18 +7806,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static - unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.All* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES20.ActiveAttribType*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.All* type, [OutAttribute] StringBuilder name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active attribute variable for the specified program object @@ -12718,29 +7848,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static - void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES20.ActiveAttribType type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ES20.ActiveAttribType* type_ptr = &type) - { - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.ActiveAttribType*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES20.ActiveAttribType type, [OutAttribute] StringBuilder name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active attribute variable for the specified program object @@ -12783,29 +7891,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static - void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES20.All type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ES20.All* type_ptr = &type) - { - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.ActiveAttribType*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES20.All type, [OutAttribute] StringBuilder name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active attribute variable for the specified program object @@ -12847,18 +7933,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static - unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveAttribType* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES20.ActiveAttribType*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveAttribType* type, [OutAttribute] StringBuilder name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active attribute variable for the specified program object @@ -12901,18 +7976,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static - unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.All* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES20.ActiveAttribType*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.All* type, [OutAttribute] StringBuilder name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active uniform variable for the specified program object @@ -12953,29 +8017,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static - void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES20.ActiveUniformType type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ES20.ActiveUniformType* type_ptr = &type) - { - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.ActiveUniformType*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES20.ActiveUniformType type, [OutAttribute] StringBuilder name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active uniform variable for the specified program object @@ -13017,29 +8059,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static - void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES20.All type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ES20.All* type_ptr = &type) - { - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.ActiveUniformType*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES20.All type, [OutAttribute] StringBuilder name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active uniform variable for the specified program object @@ -13081,18 +8101,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static - unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveUniformType* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES20.ActiveUniformType*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveUniformType* type, [OutAttribute] StringBuilder name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active uniform variable for the specified program object @@ -13135,18 +8144,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static - unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.All* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES20.ActiveUniformType*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.All* type, [OutAttribute] StringBuilder name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active uniform variable for the specified program object @@ -13188,29 +8186,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static - void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES20.ActiveUniformType type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ES20.ActiveUniformType* type_ptr = &type) - { - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.ActiveUniformType*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES20.ActiveUniformType type, [OutAttribute] StringBuilder name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active uniform variable for the specified program object @@ -13253,29 +8229,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static - void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES20.All type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ES20.All* type_ptr = &type) - { - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.ActiveUniformType*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES20.All type, [OutAttribute] StringBuilder name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active uniform variable for the specified program object @@ -13317,18 +8271,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static - unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveUniformType* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES20.ActiveUniformType*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveUniformType* type, [OutAttribute] StringBuilder name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active uniform variable for the specified program object @@ -13371,18 +8314,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static - unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.All* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES20.ActiveUniformType*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.All* type, [OutAttribute] StringBuilder name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the handles of the shader objects attached to a program object @@ -13408,26 +8340,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static - void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] Int32[] shaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* shaders_ptr = shaders) - { - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)shaders_ptr); - count = *count_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] Int32[] shaders); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the handles of the shader objects attached to a program object @@ -13453,27 +8366,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static - void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] out Int32 shaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* shaders_ptr = &shaders) - { - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)shaders_ptr); - count = *count_ptr; - shaders = *shaders_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] out Int32 shaders); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the handles of the shader objects attached to a program object @@ -13500,18 +8393,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static - unsafe void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] Int32* shaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)shaders); - #if DEBUG - } - #endif - } + public static extern unsafe void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] Int32* shaders); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the handles of the shader objects attached to a program object @@ -13538,26 +8420,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static - void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] UInt32[] shaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (UInt32* shaders_ptr = shaders) - { - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)shaders_ptr); - count = *count_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] UInt32[] shaders); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the handles of the shader objects attached to a program object @@ -13584,27 +8447,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static - void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] out UInt32 shaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (UInt32* shaders_ptr = &shaders) - { - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)shaders_ptr); - count = *count_ptr; - shaders = *shaders_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] out UInt32 shaders); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the handles of the shader objects attached to a program object @@ -13631,18 +8474,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static - unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)shaders); - #if DEBUG - } - #endif - } + public static extern unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the location of an attribute variable @@ -13658,18 +8490,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttribLocation")] - public static - Int32 GetAttribLocation(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetAttribLocation((UInt32)program, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetAttribLocation(Int32 program, String name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the location of an attribute variable @@ -13686,182 +8507,45 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttribLocation")] - public static - Int32 GetAttribLocation(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetAttribLocation((UInt32)program, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetAttribLocation(UInt32 program, String name); /// [requires: v2.0 and ES_VERSION_2_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")] - public static - bool GetBoolean(OpenTK.Graphics.ES20.All pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - bool retval; - bool* data_ptr = &retval; - Delegates.glGetBooleanv((OpenTK.Graphics.ES20.GetPName)pname, (bool*)data_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern bool GetBoolean(OpenTK.Graphics.ES20.All pname); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")] - public static - bool GetBoolean(OpenTK.Graphics.ES20.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - bool retval; - bool* data_ptr = &retval; - Delegates.glGetBooleanv((OpenTK.Graphics.ES20.GetPName)pname, (bool*)data_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern bool GetBoolean(OpenTK.Graphics.ES20.GetPName pname); /// [requires: v2.0 and ES_VERSION_2_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")] - public static - void GetBoolean(OpenTK.Graphics.ES20.All pname, [OutAttribute] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetBooleanv((OpenTK.Graphics.ES20.GetPName)pname, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetBoolean(OpenTK.Graphics.ES20.All pname, [OutAttribute] bool[] data); /// [requires: v2.0 and ES_VERSION_2_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")] - public static - void GetBoolean(OpenTK.Graphics.ES20.All pname, [OutAttribute] out bool data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetBooleanv((OpenTK.Graphics.ES20.GetPName)pname, (bool*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetBoolean(OpenTK.Graphics.ES20.All pname, [OutAttribute] out bool data); /// [requires: v2.0 and ES_VERSION_2_0] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")] - public static - unsafe void GetBoolean(OpenTK.Graphics.ES20.All pname, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBooleanv((OpenTK.Graphics.ES20.GetPName)pname, (bool*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetBoolean(OpenTK.Graphics.ES20.All pname, [OutAttribute] bool* data); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")] - public static - void GetBoolean(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetBooleanv((OpenTK.Graphics.ES20.GetPName)pname, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetBoolean(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] bool[] data); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")] - public static - void GetBoolean(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] out bool data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetBooleanv((OpenTK.Graphics.ES20.GetPName)pname, (bool*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetBoolean(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] out bool data); /// [requires: v2.0 and ES_VERSION_2_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")] - public static - unsafe void GetBoolean(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBooleanv((OpenTK.Graphics.ES20.GetPName)pname, (bool*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetBoolean(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] bool* data); /// [requires: v2.0 and ES_VERSION_2_0] /// Return parameters of a buffer object @@ -13883,24 +8567,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")] - public static - void GetBufferParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetBufferParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return parameters of a buffer object @@ -13922,25 +8589,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")] - public static - void GetBufferParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetBufferParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return parameters of a buffer object @@ -13963,18 +8612,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")] - public static - unsafe void GetBufferParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetBufferParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return parameters of a buffer object @@ -13995,24 +8633,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")] - public static - void GetBufferParameter(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetBufferParameter(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferParameterName pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return parameters of a buffer object @@ -14033,25 +8654,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")] - public static - void GetBufferParameter(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetBufferParameter(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferParameterName pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return parameters of a buffer object @@ -14073,18 +8676,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")] - public static - unsafe void GetBufferParameter(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetBufferParameter(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferParameterName pname, [OutAttribute] Int32* @params); /// /// Retrieve messages from the debug message log @@ -14131,28 +8723,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static - Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.All[] sources, [OutAttribute] OpenTK.Graphics.ES20.All[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.ES20.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES20.All* sources_ptr = sources) - fixed (OpenTK.Graphics.ES20.All* types_ptr = types) - fixed (Int32* ids_ptr = ids) - fixed (OpenTK.Graphics.ES20.All* severities_ptr = severities) - fixed (Int32* lengths_ptr = lengths) - { - return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES20.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES20.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES20.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.All[] sources, [OutAttribute] OpenTK.Graphics.ES20.All[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.ES20.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog); /// /// Retrieve messages from the debug message log @@ -14199,34 +8770,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static - Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES20.All sources, [OutAttribute] out OpenTK.Graphics.ES20.All types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.ES20.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES20.All* sources_ptr = &sources) - fixed (OpenTK.Graphics.ES20.All* types_ptr = &types) - fixed (Int32* ids_ptr = &ids) - fixed (OpenTK.Graphics.ES20.All* severities_ptr = &severities) - fixed (Int32* lengths_ptr = &lengths) - { - Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES20.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES20.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES20.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES20.All sources, [OutAttribute] out OpenTK.Graphics.ES20.All types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.ES20.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog); /// /// Retrieve messages from the debug message log @@ -14274,18 +8818,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static - unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.All* sources, [OutAttribute] OpenTK.Graphics.ES20.All* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.ES20.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES20.DebugSourceExternal*)sources, (OpenTK.Graphics.ES20.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.ES20.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.All* sources, [OutAttribute] OpenTK.Graphics.ES20.All* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.ES20.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); /// /// Retrieve messages from the debug message log @@ -14331,28 +8864,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static - Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.DebugSourceExternal[] sources, [OutAttribute] OpenTK.Graphics.ES20.DebugType[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.ES20.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES20.DebugSourceExternal* sources_ptr = sources) - fixed (OpenTK.Graphics.ES20.DebugType* types_ptr = types) - fixed (Int32* ids_ptr = ids) - fixed (OpenTK.Graphics.ES20.DebugSeverity* severities_ptr = severities) - fixed (Int32* lengths_ptr = lengths) - { - return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES20.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES20.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES20.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.DebugSourceExternal[] sources, [OutAttribute] OpenTK.Graphics.ES20.DebugType[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.ES20.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog); /// /// Retrieve messages from the debug message log @@ -14398,34 +8910,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static - Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES20.DebugSourceExternal sources, [OutAttribute] out OpenTK.Graphics.ES20.DebugType types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.ES20.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES20.DebugSourceExternal* sources_ptr = &sources) - fixed (OpenTK.Graphics.ES20.DebugType* types_ptr = &types) - fixed (Int32* ids_ptr = &ids) - fixed (OpenTK.Graphics.ES20.DebugSeverity* severities_ptr = &severities) - fixed (Int32* lengths_ptr = &lengths) - { - Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES20.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES20.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES20.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES20.DebugSourceExternal sources, [OutAttribute] out OpenTK.Graphics.ES20.DebugType types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.ES20.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog); /// /// Retrieve messages from the debug message log @@ -14472,18 +8957,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static - unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES20.DebugType* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.ES20.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES20.DebugSourceExternal*)sources, (OpenTK.Graphics.ES20.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.ES20.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES20.DebugType* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.ES20.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); /// /// Retrieve messages from the debug message log @@ -14531,28 +9005,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static - Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.All[] sources, [OutAttribute] OpenTK.Graphics.ES20.All[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.ES20.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES20.All* sources_ptr = sources) - fixed (OpenTK.Graphics.ES20.All* types_ptr = types) - fixed (UInt32* ids_ptr = ids) - fixed (OpenTK.Graphics.ES20.All* severities_ptr = severities) - fixed (Int32* lengths_ptr = lengths) - { - return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES20.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES20.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES20.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.All[] sources, [OutAttribute] OpenTK.Graphics.ES20.All[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.ES20.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog); /// /// Retrieve messages from the debug message log @@ -14600,34 +9053,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static - Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES20.All sources, [OutAttribute] out OpenTK.Graphics.ES20.All types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.ES20.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES20.All* sources_ptr = &sources) - fixed (OpenTK.Graphics.ES20.All* types_ptr = &types) - fixed (UInt32* ids_ptr = &ids) - fixed (OpenTK.Graphics.ES20.All* severities_ptr = &severities) - fixed (Int32* lengths_ptr = &lengths) - { - Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES20.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES20.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES20.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES20.All sources, [OutAttribute] out OpenTK.Graphics.ES20.All types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.ES20.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog); /// /// Retrieve messages from the debug message log @@ -14675,18 +9101,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static - unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.All* sources, [OutAttribute] OpenTK.Graphics.ES20.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES20.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES20.DebugSourceExternal*)sources, (OpenTK.Graphics.ES20.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.ES20.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.All* sources, [OutAttribute] OpenTK.Graphics.ES20.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES20.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); /// /// Retrieve messages from the debug message log @@ -14733,28 +9148,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static - Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.DebugSourceExternal[] sources, [OutAttribute] OpenTK.Graphics.ES20.DebugType[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.ES20.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES20.DebugSourceExternal* sources_ptr = sources) - fixed (OpenTK.Graphics.ES20.DebugType* types_ptr = types) - fixed (UInt32* ids_ptr = ids) - fixed (OpenTK.Graphics.ES20.DebugSeverity* severities_ptr = severities) - fixed (Int32* lengths_ptr = lengths) - { - return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES20.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES20.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES20.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.DebugSourceExternal[] sources, [OutAttribute] OpenTK.Graphics.ES20.DebugType[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.ES20.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog); /// /// Retrieve messages from the debug message log @@ -14801,34 +9195,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static - Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES20.DebugSourceExternal sources, [OutAttribute] out OpenTK.Graphics.ES20.DebugType types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.ES20.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES20.DebugSourceExternal* sources_ptr = &sources) - fixed (OpenTK.Graphics.ES20.DebugType* types_ptr = &types) - fixed (UInt32* ids_ptr = &ids) - fixed (OpenTK.Graphics.ES20.DebugSeverity* severities_ptr = &severities) - fixed (Int32* lengths_ptr = &lengths) - { - Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES20.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES20.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES20.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES20.DebugSourceExternal sources, [OutAttribute] out OpenTK.Graphics.ES20.DebugType types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.ES20.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog); /// /// Retrieve messages from the debug message log @@ -14875,192 +9242,51 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static - unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES20.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES20.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES20.DebugSourceExternal*)sources, (OpenTK.Graphics.ES20.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.ES20.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES20.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES20.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); /// [requires: v2.0 and ES_VERSION_2_0] /// Return error information /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetError")] - public static - OpenTK.Graphics.ES20.ErrorCode GetError() - { - return Delegates.glGetError(); - } + public static extern OpenTK.Graphics.ES20.ErrorCode GetError(); /// [requires: v2.0 and ES_VERSION_2_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")] - public static - Single GetFloat(OpenTK.Graphics.ES20.All pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* data_ptr = &retval; - Delegates.glGetFloatv((OpenTK.Graphics.ES20.GetPName)pname, (Single*)data_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Single GetFloat(OpenTK.Graphics.ES20.All pname); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")] - public static - Single GetFloat(OpenTK.Graphics.ES20.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* data_ptr = &retval; - Delegates.glGetFloatv((OpenTK.Graphics.ES20.GetPName)pname, (Single*)data_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Single GetFloat(OpenTK.Graphics.ES20.GetPName pname); /// [requires: v2.0 and ES_VERSION_2_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")] - public static - void GetFloat(OpenTK.Graphics.ES20.All pname, [OutAttribute] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - Delegates.glGetFloatv((OpenTK.Graphics.ES20.GetPName)pname, (Single*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFloat(OpenTK.Graphics.ES20.All pname, [OutAttribute] Single[] data); /// [requires: v2.0 and ES_VERSION_2_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")] - public static - void GetFloat(OpenTK.Graphics.ES20.All pname, [OutAttribute] out Single data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = &data) - { - Delegates.glGetFloatv((OpenTK.Graphics.ES20.GetPName)pname, (Single*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFloat(OpenTK.Graphics.ES20.All pname, [OutAttribute] out Single data); /// [requires: v2.0 and ES_VERSION_2_0] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")] - public static - unsafe void GetFloat(OpenTK.Graphics.ES20.All pname, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFloatv((OpenTK.Graphics.ES20.GetPName)pname, (Single*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFloat(OpenTK.Graphics.ES20.All pname, [OutAttribute] Single* data); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")] - public static - void GetFloat(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - Delegates.glGetFloatv((OpenTK.Graphics.ES20.GetPName)pname, (Single*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFloat(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Single[] data); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")] - public static - void GetFloat(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] out Single data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = &data) - { - Delegates.glGetFloatv((OpenTK.Graphics.ES20.GetPName)pname, (Single*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFloat(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] out Single data); /// [requires: v2.0 and ES_VERSION_2_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")] - public static - unsafe void GetFloat(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFloatv((OpenTK.Graphics.ES20.GetPName)pname, (Single*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFloat(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Single* data); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about attachments of a bound framebuffer object @@ -15087,24 +9313,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static - void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.FramebufferParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about attachments of a bound framebuffer object @@ -15131,25 +9340,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static - void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.FramebufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about attachments of a bound framebuffer object @@ -15177,18 +9368,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static - unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.FramebufferParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about attachments of a bound framebuffer object @@ -15214,24 +9394,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static - void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.FramebufferParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.FramebufferParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.FramebufferParameterName pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about attachments of a bound framebuffer object @@ -15257,25 +9420,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static - void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.FramebufferParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.FramebufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.FramebufferParameterName pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about attachments of a bound framebuffer object @@ -15302,18 +9447,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static - unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.FramebufferParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.FramebufferParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.FramebufferParameterName pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about attachments of a bound framebuffer object @@ -15340,24 +9474,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use FramebufferAttachment overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static - void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.FramebufferParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.FramebufferParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.FramebufferParameterName pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about attachments of a bound framebuffer object @@ -15384,25 +9501,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use FramebufferAttachment overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static - void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.FramebufferParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.FramebufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.FramebufferParameterName pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about attachments of a bound framebuffer object @@ -15430,182 +9529,45 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use FramebufferAttachment overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static - unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.FramebufferParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.FramebufferParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.FramebufferParameterName pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")] - public static - Int32 GetInteger(OpenTK.Graphics.ES20.All pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int32 retval; - Int32* data_ptr = &retval; - Delegates.glGetIntegerv((OpenTK.Graphics.ES20.GetPName)pname, (Int32*)data_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GetInteger(OpenTK.Graphics.ES20.All pname); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")] - public static - Int32 GetInteger(OpenTK.Graphics.ES20.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int32 retval; - Int32* data_ptr = &retval; - Delegates.glGetIntegerv((OpenTK.Graphics.ES20.GetPName)pname, (Int32*)data_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GetInteger(OpenTK.Graphics.ES20.GetPName pname); /// [requires: v2.0 and ES_VERSION_2_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")] - public static - void GetInteger(OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegerv((OpenTK.Graphics.ES20.GetPName)pname, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] data); /// [requires: v2.0 and ES_VERSION_2_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")] - public static - void GetInteger(OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetIntegerv((OpenTK.Graphics.ES20.GetPName)pname, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 data); /// [requires: v2.0 and ES_VERSION_2_0] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")] - public static - unsafe void GetInteger(OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegerv((OpenTK.Graphics.ES20.GetPName)pname, (Int32*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger(OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* data); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")] - public static - void GetInteger(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegerv((OpenTK.Graphics.ES20.GetPName)pname, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int32[] data); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")] - public static - void GetInteger(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetIntegerv((OpenTK.Graphics.ES20.GetPName)pname, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] out Int32 data); /// [requires: v2.0 and ES_VERSION_2_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")] - public static - unsafe void GetInteger(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegerv((OpenTK.Graphics.ES20.GetPName)pname, (Int32*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int32* data); /// /// Retrieve the label of a named object identified within a namespace @@ -15637,24 +9599,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static - void GetObjectLabel(OpenTK.Graphics.ES20.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectLabel((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES20.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// /// Retrieve the label of a named object identified within a namespace @@ -15686,25 +9631,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static - void GetObjectLabel(OpenTK.Graphics.ES20.All identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectLabel((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES20.All identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// /// Retrieve the label of a named object identified within a namespace @@ -15737,18 +9664,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static - unsafe void GetObjectLabel(OpenTK.Graphics.ES20.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectLabel((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectLabel(OpenTK.Graphics.ES20.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// /// Retrieve the label of a named object identified within a namespace @@ -15781,24 +9697,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static - void GetObjectLabel(OpenTK.Graphics.ES20.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectLabel((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES20.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// /// Retrieve the label of a named object identified within a namespace @@ -15831,25 +9730,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static - void GetObjectLabel(OpenTK.Graphics.ES20.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectLabel((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES20.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// /// Retrieve the label of a named object identified within a namespace @@ -15882,18 +9763,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static - unsafe void GetObjectLabel(OpenTK.Graphics.ES20.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectLabel((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectLabel(OpenTK.Graphics.ES20.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// /// Retrieve the label of a named object identified within a namespace @@ -15924,24 +9794,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static - void GetObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectLabel((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// /// Retrieve the label of a named object identified within a namespace @@ -15972,25 +9825,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static - void GetObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectLabel((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// /// Retrieve the label of a named object identified within a namespace @@ -16022,18 +9857,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static - unsafe void GetObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectLabel((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// /// Retrieve the label of a named object identified within a namespace @@ -16065,24 +9889,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static - void GetObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectLabel((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// /// Retrieve the label of a named object identified within a namespace @@ -16114,25 +9921,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static - void GetObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectLabel((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// /// Retrieve the label of a named object identified within a namespace @@ -16164,18 +9953,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static - unsafe void GetObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectLabel((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// /// Retrieve the label of a sync object identified by a pointer @@ -16201,24 +9979,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// /// Retrieve the label of a sync object identified by a pointer @@ -16244,25 +10005,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// /// Retrieve the label of a sync object identified by a pointer @@ -16289,18 +10032,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static - unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectPtrLabel((IntPtr)ptr, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// /// Retrieve the label of a sync object identified by a pointer @@ -16326,33 +10058,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// /// Retrieve the label of a sync object identified by a pointer @@ -16378,34 +10086,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// /// Retrieve the label of a sync object identified by a pointer @@ -16432,27 +10115,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static - unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + public static extern unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Retrieve the label of a sync object identified by a pointer @@ -16478,33 +10143,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// /// Retrieve the label of a sync object identified by a pointer @@ -16530,34 +10171,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// /// Retrieve the label of a sync object identified by a pointer @@ -16584,27 +10200,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static - unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + public static extern unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Retrieve the label of a sync object identified by a pointer @@ -16630,33 +10228,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// /// Retrieve the label of a sync object identified by a pointer @@ -16682,34 +10256,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// /// Retrieve the label of a sync object identified by a pointer @@ -16736,27 +10285,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static - unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + public static extern unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Retrieve the label of a sync object identified by a pointer @@ -16782,34 +10313,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - ptr = (T0)ptr_ptr.Target; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// /// Retrieve the label of a sync object identified by a pointer @@ -16835,35 +10341,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - ptr = (T0)ptr_ptr.Target; - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// /// Retrieve the label of a sync object identified by a pointer @@ -16890,28 +10370,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static - unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + public static extern unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label); - ptr = (T0)ptr_ptr.Target; - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Return the address of the specified pointer @@ -16928,18 +10389,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPointerv((OpenTK.Graphics.ES20.GetPointervPName)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } + public static extern void GetPointer(OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr @params); /// /// Return the address of the specified pointer @@ -16956,27 +10406,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T1[] @params) + public static extern void GetPointer(OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T1[] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.ES20.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Return the address of the specified pointer @@ -16993,27 +10425,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T1[,] @params) + public static extern void GetPointer(OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T1[,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.ES20.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Return the address of the specified pointer @@ -17030,27 +10444,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T1[,,] @params) + public static extern void GetPointer(OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T1[,,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.ES20.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Return the address of the specified pointer @@ -17067,28 +10463,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] ref T1 @params) + public static extern void GetPointer(OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] ref T1 @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.ES20.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - @params = (T1)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Return the address of the specified pointer @@ -17104,18 +10481,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.ES20.GetPointervPName pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPointerv((OpenTK.Graphics.ES20.GetPointervPName)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } + public static extern void GetPointer(OpenTK.Graphics.ES20.GetPointervPName pname, [OutAttribute] IntPtr @params); /// /// Return the address of the specified pointer @@ -17131,27 +10497,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.ES20.GetPointervPName pname, [InAttribute, OutAttribute] T1[] @params) + public static extern void GetPointer(OpenTK.Graphics.ES20.GetPointervPName pname, [InAttribute, OutAttribute] T1[] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.ES20.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Return the address of the specified pointer @@ -17167,27 +10515,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.ES20.GetPointervPName pname, [InAttribute, OutAttribute] T1[,] @params) + public static extern void GetPointer(OpenTK.Graphics.ES20.GetPointervPName pname, [InAttribute, OutAttribute] T1[,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.ES20.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Return the address of the specified pointer @@ -17203,27 +10533,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.ES20.GetPointervPName pname, [InAttribute, OutAttribute] T1[,,] @params) + public static extern void GetPointer(OpenTK.Graphics.ES20.GetPointervPName pname, [InAttribute, OutAttribute] T1[,,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.ES20.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Return the address of the specified pointer @@ -17239,28 +10551,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.ES20.GetPointervPName pname, [InAttribute, OutAttribute] ref T1 @params) + public static extern void GetPointer(OpenTK.Graphics.ES20.GetPointervPName pname, [InAttribute, OutAttribute] ref T1 @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.ES20.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - @params = (T1)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the information log for a program object @@ -17286,25 +10579,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static - void GetProgramInfoLog(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramInfoLog(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the information log for a program object @@ -17331,18 +10606,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static - unsafe void GetProgramInfoLog(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramInfoLog(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the information log for a program object @@ -17369,25 +10633,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static - void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the information log for a program object @@ -17414,18 +10660,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static - unsafe void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -17447,24 +10682,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(Int32 program, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(Int32 program, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -17486,25 +10704,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(Int32 program, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(Int32 program, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -17527,18 +10727,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - unsafe void GetProgram(Int32 program, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgram(Int32 program, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -17559,24 +10748,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(Int32 program, OpenTK.Graphics.ES20.GetProgramParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(Int32 program, OpenTK.Graphics.ES20.GetProgramParameterName pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -17597,25 +10769,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(Int32 program, OpenTK.Graphics.ES20.GetProgramParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(Int32 program, OpenTK.Graphics.ES20.GetProgramParameterName pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -17637,18 +10791,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - unsafe void GetProgram(Int32 program, OpenTK.Graphics.ES20.GetProgramParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgram(Int32 program, OpenTK.Graphics.ES20.GetProgramParameterName pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -17670,24 +10813,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use GetProgramParameterName overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(Int32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(Int32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -17709,25 +10835,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use GetProgramParameterName overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(Int32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(Int32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -17750,18 +10858,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use GetProgramParameterName overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - unsafe void GetProgram(Int32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgram(Int32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -17784,24 +10881,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(UInt32 program, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(UInt32 program, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -17824,25 +10904,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(UInt32 program, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(UInt32 program, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -17865,18 +10927,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - unsafe void GetProgram(UInt32 program, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgram(UInt32 program, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -17898,24 +10949,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(UInt32 program, OpenTK.Graphics.ES20.GetProgramParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(UInt32 program, OpenTK.Graphics.ES20.GetProgramParameterName pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -17937,25 +10971,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(UInt32 program, OpenTK.Graphics.ES20.GetProgramParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(UInt32 program, OpenTK.Graphics.ES20.GetProgramParameterName pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -17977,18 +10993,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - unsafe void GetProgram(UInt32 program, OpenTK.Graphics.ES20.GetProgramParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgram(UInt32 program, OpenTK.Graphics.ES20.GetProgramParameterName pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -18011,24 +11016,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use GetProgramParameterName overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(UInt32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(UInt32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -18051,25 +11039,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use GetProgramParameterName overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(UInt32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(UInt32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -18092,18 +11062,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use GetProgramParameterName overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - unsafe void GetProgram(UInt32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgram(UInt32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about a bound renderbuffer object @@ -18125,24 +11084,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static - void GetRenderbufferParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.ES20.RenderbufferTarget)target, (OpenTK.Graphics.ES20.RenderbufferParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetRenderbufferParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about a bound renderbuffer object @@ -18164,25 +11106,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static - void GetRenderbufferParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.ES20.RenderbufferTarget)target, (OpenTK.Graphics.ES20.RenderbufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetRenderbufferParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about a bound renderbuffer object @@ -18205,18 +11129,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static - unsafe void GetRenderbufferParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.ES20.RenderbufferTarget)target, (OpenTK.Graphics.ES20.RenderbufferParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetRenderbufferParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about a bound renderbuffer object @@ -18237,24 +11150,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static - void GetRenderbufferParameter(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.ES20.RenderbufferTarget)target, (OpenTK.Graphics.ES20.RenderbufferParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetRenderbufferParameter(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferParameterName pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about a bound renderbuffer object @@ -18275,25 +11171,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static - void GetRenderbufferParameter(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.ES20.RenderbufferTarget)target, (OpenTK.Graphics.ES20.RenderbufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetRenderbufferParameter(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferParameterName pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about a bound renderbuffer object @@ -18315,18 +11193,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static - unsafe void GetRenderbufferParameter(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.ES20.RenderbufferTarget)target, (OpenTK.Graphics.ES20.RenderbufferParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetRenderbufferParameter(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferParameterName pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the information log for a shader object @@ -18352,25 +11219,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static - void GetShaderInfoLog(Int32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShaderInfoLog(Int32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the information log for a shader object @@ -18397,18 +11246,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static - unsafe void GetShaderInfoLog(Int32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShaderInfoLog(Int32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the information log for a shader object @@ -18435,25 +11273,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static - void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the information log for a shader object @@ -18480,18 +11300,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static - unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -18513,24 +11322,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - void GetShader(Int32 shader, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetShader(Int32 shader, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -18552,25 +11344,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - void GetShader(Int32 shader, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShader(Int32 shader, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -18593,18 +11367,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - unsafe void GetShader(Int32 shader, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShader(Int32 shader, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -18625,24 +11388,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - void GetShader(Int32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetShader(Int32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -18663,25 +11409,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - void GetShader(Int32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShader(Int32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -18703,18 +11431,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - unsafe void GetShader(Int32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShader(Int32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -18737,24 +11454,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - void GetShader(UInt32 shader, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetShader(UInt32 shader, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -18777,25 +11477,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - void GetShader(UInt32 shader, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShader(UInt32 shader, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -18818,18 +11500,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - unsafe void GetShader(UInt32 shader, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShader(UInt32 shader, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -18851,24 +11522,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - void GetShader(UInt32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetShader(UInt32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -18890,25 +11544,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - void GetShader(UInt32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShader(UInt32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -18930,18 +11566,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - unsafe void GetShader(UInt32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShader(UInt32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -18968,25 +11593,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")] - public static - void GetShaderPrecisionFormat(OpenTK.Graphics.ES20.All shadertype, OpenTK.Graphics.ES20.All precisiontype, [OutAttribute] Int32[] range, [OutAttribute] Int32[] precision) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* range_ptr = range) - fixed (Int32* precision_ptr = precision) - { - Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.ES20.ShaderType)shadertype, (OpenTK.Graphics.ES20.ShaderPrecision)precisiontype, (Int32*)range_ptr, (Int32*)precision_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetShaderPrecisionFormat(OpenTK.Graphics.ES20.All shadertype, OpenTK.Graphics.ES20.All precisiontype, [OutAttribute] Int32[] range, [OutAttribute] Int32[] precision); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -19013,27 +11620,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")] - public static - void GetShaderPrecisionFormat(OpenTK.Graphics.ES20.All shadertype, OpenTK.Graphics.ES20.All precisiontype, [OutAttribute] out Int32 range, [OutAttribute] out Int32 precision) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* range_ptr = &range) - fixed (Int32* precision_ptr = &precision) - { - Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.ES20.ShaderType)shadertype, (OpenTK.Graphics.ES20.ShaderPrecision)precisiontype, (Int32*)range_ptr, (Int32*)precision_ptr); - range = *range_ptr; - precision = *precision_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShaderPrecisionFormat(OpenTK.Graphics.ES20.All shadertype, OpenTK.Graphics.ES20.All precisiontype, [OutAttribute] out Int32 range, [OutAttribute] out Int32 precision); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -19061,18 +11648,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")] - public static - unsafe void GetShaderPrecisionFormat(OpenTK.Graphics.ES20.All shadertype, OpenTK.Graphics.ES20.All precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.ES20.ShaderType)shadertype, (OpenTK.Graphics.ES20.ShaderPrecision)precisiontype, (Int32*)range, (Int32*)precision); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShaderPrecisionFormat(OpenTK.Graphics.ES20.All shadertype, OpenTK.Graphics.ES20.All precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -19098,25 +11674,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")] - public static - void GetShaderPrecisionFormat(OpenTK.Graphics.ES20.ShaderType shadertype, OpenTK.Graphics.ES20.ShaderPrecision precisiontype, [OutAttribute] Int32[] range, [OutAttribute] Int32[] precision) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* range_ptr = range) - fixed (Int32* precision_ptr = precision) - { - Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.ES20.ShaderType)shadertype, (OpenTK.Graphics.ES20.ShaderPrecision)precisiontype, (Int32*)range_ptr, (Int32*)precision_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetShaderPrecisionFormat(OpenTK.Graphics.ES20.ShaderType shadertype, OpenTK.Graphics.ES20.ShaderPrecision precisiontype, [OutAttribute] Int32[] range, [OutAttribute] Int32[] precision); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -19142,27 +11700,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")] - public static - void GetShaderPrecisionFormat(OpenTK.Graphics.ES20.ShaderType shadertype, OpenTK.Graphics.ES20.ShaderPrecision precisiontype, [OutAttribute] out Int32 range, [OutAttribute] out Int32 precision) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* range_ptr = &range) - fixed (Int32* precision_ptr = &precision) - { - Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.ES20.ShaderType)shadertype, (OpenTK.Graphics.ES20.ShaderPrecision)precisiontype, (Int32*)range_ptr, (Int32*)precision_ptr); - range = *range_ptr; - precision = *precision_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShaderPrecisionFormat(OpenTK.Graphics.ES20.ShaderType shadertype, OpenTK.Graphics.ES20.ShaderPrecision precisiontype, [OutAttribute] out Int32 range, [OutAttribute] out Int32 precision); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -19189,18 +11727,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")] - public static - unsafe void GetShaderPrecisionFormat(OpenTK.Graphics.ES20.ShaderType shadertype, OpenTK.Graphics.ES20.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.ES20.ShaderType)shadertype, (OpenTK.Graphics.ES20.ShaderPrecision)precisiontype, (Int32*)range, (Int32*)precision); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShaderPrecisionFormat(OpenTK.Graphics.ES20.ShaderType shadertype, OpenTK.Graphics.ES20.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the source code string from a shader object @@ -19226,25 +11753,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static - void GetShaderSource(Int32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)source); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShaderSource(Int32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the source code string from a shader object @@ -19271,18 +11780,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static - unsafe void GetShaderSource(Int32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)source); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShaderSource(Int32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the source code string from a shader object @@ -19309,25 +11807,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static - void GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)source); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the source code string from a shader object @@ -19354,18 +11834,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static - unsafe void GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)source); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a string describing the current GL connection @@ -19382,18 +11851,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetString")] - public static - String GetString(OpenTK.Graphics.ES20.All name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)Delegates.glGetString((OpenTK.Graphics.ES20.StringName)name)); } - #if DEBUG - } - #endif - } + public static extern String GetString(OpenTK.Graphics.ES20.All name); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a string describing the current GL connection @@ -19409,18 +11867,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetString")] - public static - String GetString(OpenTK.Graphics.ES20.StringName name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)Delegates.glGetString((OpenTK.Graphics.ES20.StringName)name)); } - #if DEBUG - } - #endif - } + public static extern String GetString(OpenTK.Graphics.ES20.StringName name); /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -19442,24 +11889,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")] - public static - void GetTexParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTexParameterfv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] Single[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -19481,25 +11911,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")] - public static - void GetTexParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetTexParameterfv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Single @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -19522,18 +11934,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")] - public static - unsafe void GetTexParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameterfv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] Single* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -19555,24 +11956,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use GetTextureParameterName overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")] - public static - void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTexParameterfv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] Single[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -19594,25 +11978,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use GetTextureParameterName overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")] - public static - void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetTexParameterfv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] out Single @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -19635,18 +12001,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use GetTextureParameterName overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")] - public static - unsafe void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameterfv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] Single* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -19667,24 +12022,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")] - public static - void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameterName pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTexParameterfv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameterName pname, [OutAttribute] Single[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -19705,25 +12043,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")] - public static - void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameterName pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetTexParameterfv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameterName pname, [OutAttribute] out Single @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -19745,18 +12065,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")] - public static - unsafe void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameterName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameterfv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameterName pname, [OutAttribute] Single* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -19778,24 +12087,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")] - public static - void GetTexParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTexParameteriv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -19817,25 +12109,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")] - public static - void GetTexParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTexParameteriv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -19858,18 +12132,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")] - public static - unsafe void GetTexParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameteriv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -19891,24 +12154,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use GetTextureParameterName overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")] - public static - void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTexParameteriv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -19930,25 +12176,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use GetTextureParameterName overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")] - public static - void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTexParameteriv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -19971,18 +12199,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use GetTextureParameterName overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")] - public static - unsafe void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameteriv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -20003,24 +12220,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")] - public static - void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTexParameteriv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameterName pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -20041,25 +12241,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")] - public static - void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTexParameteriv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameterName pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -20081,18 +12263,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")] - public static - unsafe void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameteriv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameterName pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -20113,24 +12284,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static - void GetUniform(Int32 program, Int32 location, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] Single[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -20151,25 +12305,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static - void GetUniform(Int32 program, Int32 location, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] out Single @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -20191,18 +12327,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static - unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Single* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -20224,24 +12349,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static - void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -20263,25 +12371,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static - void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Single @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -20303,18 +12393,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static - unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -20335,24 +12414,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static - void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -20373,25 +12435,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static - void GetUniform(Int32 program, Int32 location, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -20413,18 +12457,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static - unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -20446,24 +12479,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static - void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -20485,25 +12501,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static - void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -20525,18 +12523,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static - unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the location of a uniform variable @@ -20552,18 +12539,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformLocation")] - public static - Int32 GetUniformLocation(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetUniformLocation((UInt32)program, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetUniformLocation(Int32 program, String name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the location of a uniform variable @@ -20580,18 +12556,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformLocation")] - public static - Int32 GetUniformLocation(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetUniformLocation((UInt32)program, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetUniformLocation(UInt32 program, String name); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -20613,24 +12578,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] Single[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -20652,25 +12600,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Single @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -20693,18 +12623,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] Single* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -20725,24 +12644,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Single[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -20763,25 +12665,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] out Single @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -20803,18 +12687,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Single* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -20837,24 +12710,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] Single[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -20877,25 +12733,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Single @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -20918,18 +12756,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] Single* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -20951,24 +12778,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Single[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -20990,25 +12800,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] out Single @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21030,18 +12822,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Single* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21063,24 +12844,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21102,25 +12866,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21143,18 +12889,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21175,24 +12910,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21213,25 +12931,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21253,18 +12953,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21287,24 +12976,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21327,25 +12999,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21368,18 +13022,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21401,24 +13044,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21440,25 +13066,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -21480,18 +13088,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -21513,18 +13110,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr pointer); /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -21546,27 +13132,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[] pointer) + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -21588,27 +13156,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[,] pointer) + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -21630,27 +13180,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[,,] pointer) + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[,,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -21672,28 +13204,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] ref T2 pointer) + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] ref T2 pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -21714,18 +13227,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer); /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -21746,27 +13248,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[] pointer) + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -21787,27 +13271,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,] pointer) + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -21828,27 +13294,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,,] pointer) + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -21869,28 +13317,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] ref T2 pointer) + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] ref T2 pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -21913,18 +13342,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr pointer); /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -21947,27 +13365,9 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[] pointer) + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -21990,27 +13390,9 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[,] pointer) + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -22033,27 +13415,9 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[,,] pointer) + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[,,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -22076,28 +13440,9 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] ref T2 pointer) + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] ref T2 pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -22119,18 +13464,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer); /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -22152,27 +13486,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[] pointer) + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -22194,27 +13510,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,] pointer) + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -22236,27 +13534,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,,] pointer) + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -22278,28 +13558,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] ref T2 pointer) + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] ref T2 pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify implementation-specific hints @@ -22316,18 +13577,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glHint")] - public static - void Hint(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glHint((OpenTK.Graphics.ES20.HintTarget)target, (OpenTK.Graphics.ES20.HintMode)mode); - #if DEBUG - } - #endif - } + public static extern void Hint(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All mode); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify implementation-specific hints @@ -22343,18 +13593,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glHint")] - public static - void Hint(OpenTK.Graphics.ES20.HintTarget target, OpenTK.Graphics.ES20.HintMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glHint((OpenTK.Graphics.ES20.HintTarget)target, (OpenTK.Graphics.ES20.HintMode)mode); - #if DEBUG - } - #endif - } + public static extern void Hint(OpenTK.Graphics.ES20.HintTarget target, OpenTK.Graphics.ES20.HintMode mode); /// [requires: v2.0 and ES_VERSION_2_0] /// Determine if a name corresponds to a buffer object @@ -22365,18 +13604,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsBuffer")] - public static - bool IsBuffer(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsBuffer((UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern bool IsBuffer(Int32 buffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Determine if a name corresponds to a buffer object @@ -22388,18 +13616,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsBuffer")] - public static - bool IsBuffer(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsBuffer((UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern bool IsBuffer(UInt32 buffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Test whether a capability is enabled @@ -22416,18 +13633,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsEnabled")] - public static - bool IsEnabled(OpenTK.Graphics.ES20.All cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsEnabled((OpenTK.Graphics.ES20.EnableCap)cap); - #if DEBUG - } - #endif - } + public static extern bool IsEnabled(OpenTK.Graphics.ES20.All cap); /// [requires: v2.0 and ES_VERSION_2_0] /// Test whether a capability is enabled @@ -22443,18 +13649,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsEnabled")] - public static - bool IsEnabled(OpenTK.Graphics.ES20.EnableCap cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsEnabled((OpenTK.Graphics.ES20.EnableCap)cap); - #if DEBUG - } - #endif - } + public static extern bool IsEnabled(OpenTK.Graphics.ES20.EnableCap cap); /// [requires: v2.0 and ES_VERSION_2_0] /// Determine if a name corresponds to a framebuffer object @@ -22465,18 +13660,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsFramebuffer")] - public static - bool IsFramebuffer(Int32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsFramebuffer((UInt32)framebuffer); - #if DEBUG - } - #endif - } + public static extern bool IsFramebuffer(Int32 framebuffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Determine if a name corresponds to a framebuffer object @@ -22488,18 +13672,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsFramebuffer")] - public static - bool IsFramebuffer(UInt32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsFramebuffer((UInt32)framebuffer); - #if DEBUG - } - #endif - } + public static extern bool IsFramebuffer(UInt32 framebuffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Determines if a name corresponds to a program object @@ -22510,18 +13683,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsProgram")] - public static - bool IsProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern bool IsProgram(Int32 program); /// [requires: v2.0 and ES_VERSION_2_0] /// Determines if a name corresponds to a program object @@ -22533,18 +13695,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsProgram")] - public static - bool IsProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern bool IsProgram(UInt32 program); /// [requires: v2.0 and ES_VERSION_2_0] /// Determine if a name corresponds to a renderbuffer object @@ -22555,18 +13706,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsRenderbuffer")] - public static - bool IsRenderbuffer(Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsRenderbuffer((UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern bool IsRenderbuffer(Int32 renderbuffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Determine if a name corresponds to a renderbuffer object @@ -22578,18 +13718,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsRenderbuffer")] - public static - bool IsRenderbuffer(UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsRenderbuffer((UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern bool IsRenderbuffer(UInt32 renderbuffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Determines if a name corresponds to a shader object @@ -22600,18 +13729,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsShader")] - public static - bool IsShader(Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsShader((UInt32)shader); - #if DEBUG - } - #endif - } + public static extern bool IsShader(Int32 shader); /// [requires: v2.0 and ES_VERSION_2_0] /// Determines if a name corresponds to a shader object @@ -22623,18 +13741,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsShader")] - public static - bool IsShader(UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsShader((UInt32)shader); - #if DEBUG - } - #endif - } + public static extern bool IsShader(UInt32 shader); /// [requires: v2.0 and ES_VERSION_2_0] /// Determine if a name corresponds to a texture @@ -22645,18 +13752,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsTexture")] - public static - bool IsTexture(Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsTexture((UInt32)texture); - #if DEBUG - } - #endif - } + public static extern bool IsTexture(Int32 texture); /// [requires: v2.0 and ES_VERSION_2_0] /// Determine if a name corresponds to a texture @@ -22668,18 +13764,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsTexture")] - public static - bool IsTexture(UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsTexture((UInt32)texture); - #if DEBUG - } - #endif - } + public static extern bool IsTexture(UInt32 texture); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the width of rasterized lines @@ -22690,18 +13775,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glLineWidth")] - public static - void LineWidth(Single width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLineWidth((Single)width); - #if DEBUG - } - #endif - } + public static extern void LineWidth(Single width); /// [requires: v2.0 and ES_VERSION_2_0] /// Links a program object @@ -22712,18 +13786,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glLinkProgram")] - public static - void LinkProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLinkProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void LinkProgram(Int32 program); /// [requires: v2.0 and ES_VERSION_2_0] /// Links a program object @@ -22735,18 +13798,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glLinkProgram")] - public static - void LinkProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLinkProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void LinkProgram(UInt32 program); /// /// Label a named object identified within a namespace @@ -22773,18 +13825,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabel")] - public static - void ObjectLabel(OpenTK.Graphics.ES20.All identifier, Int32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glObjectLabel((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void ObjectLabel(OpenTK.Graphics.ES20.All identifier, Int32 name, Int32 length, String label); /// /// Label a named object identified within a namespace @@ -22812,18 +13853,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabel")] - public static - void ObjectLabel(OpenTK.Graphics.ES20.All identifier, UInt32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glObjectLabel((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void ObjectLabel(OpenTK.Graphics.ES20.All identifier, UInt32 name, Int32 length, String label); /// /// Label a named object identified within a namespace @@ -22849,18 +13879,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabel")] - public static - void ObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, Int32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glObjectLabel((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void ObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, Int32 name, Int32 length, String label); /// /// Label a named object identified within a namespace @@ -22887,18 +13906,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabel")] - public static - void ObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glObjectLabel((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void ObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label); /// /// Label a a sync object identified by a pointer @@ -22919,18 +13927,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabel")] - public static - void ObjectPtrLabel(IntPtr ptr, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glObjectPtrLabel((IntPtr)ptr, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void ObjectPtrLabel(IntPtr ptr, Int32 length, String label); /// /// Label a a sync object identified by a pointer @@ -22951,27 +13948,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabel")] - public static - void ObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 length, String label) + public static extern void ObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 length, String label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Label a a sync object identified by a pointer @@ -22992,27 +13971,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabel")] - public static - void ObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 length, String label) + public static extern void ObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 length, String label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Label a a sync object identified by a pointer @@ -23033,27 +13994,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabel")] - public static - void ObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 length, String label) + public static extern void ObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 length, String label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Label a a sync object identified by a pointer @@ -23074,28 +14017,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabel")] - public static - void ObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 length, String label) + public static extern void ObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 length, String label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label); - ptr = (T0)ptr_ptr.Target; - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Set pixel storage modes @@ -23112,18 +14036,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glPixelStorei")] - public static - void PixelStore(OpenTK.Graphics.ES20.All pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelStorei((OpenTK.Graphics.ES20.PixelStoreParameter)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void PixelStore(OpenTK.Graphics.ES20.All pname, Int32 param); /// [requires: v2.0 and ES_VERSION_2_0] /// Set pixel storage modes @@ -23139,18 +14052,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glPixelStorei")] - public static - void PixelStore(OpenTK.Graphics.ES20.PixelStoreParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelStorei((OpenTK.Graphics.ES20.PixelStoreParameter)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void PixelStore(OpenTK.Graphics.ES20.PixelStoreParameter pname, Int32 param); /// [requires: v2.0 and ES_VERSION_2_0] /// Set the scale and units used to calculate depth values @@ -23166,35 +14068,13 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glPolygonOffset")] - public static - void PolygonOffset(Single factor, Single units) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPolygonOffset((Single)factor, (Single)units); - #if DEBUG - } - #endif - } + public static extern void PolygonOffset(Single factor, Single units); /// /// Pop the active debug group /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPopDebugGroup")] - public static - void PopDebugGroup() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPopDebugGroup(); - #if DEBUG - } - #endif - } + public static extern void PopDebugGroup(); /// /// Push a named debug group into the command stream @@ -23220,18 +14100,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPushDebugGroup")] - public static - void PushDebugGroup(OpenTK.Graphics.ES20.All source, Int32 id, Int32 length, String message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPushDebugGroup((OpenTK.Graphics.ES20.All)source, (UInt32)id, (Int32)length, (String)message); - #if DEBUG - } - #endif - } + public static extern void PushDebugGroup(OpenTK.Graphics.ES20.All source, Int32 id, Int32 length, String message); /// /// Push a named debug group into the command stream @@ -23258,18 +14127,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPushDebugGroup")] - public static - void PushDebugGroup(OpenTK.Graphics.ES20.All source, UInt32 id, Int32 length, String message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPushDebugGroup((OpenTK.Graphics.ES20.All)source, (UInt32)id, (Int32)length, (String)message); - #if DEBUG - } - #endif - } + public static extern void PushDebugGroup(OpenTK.Graphics.ES20.All source, UInt32 id, Int32 length, String message); /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -23301,18 +14159,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [OutAttribute] IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [OutAttribute] IntPtr pixels); /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -23344,27 +14191,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T6[] pixels) + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T6[] pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -23396,27 +14225,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T6[,] pixels) + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T6[,] pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -23448,27 +14259,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T6[,,] pixels) + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T6[,,] pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -23500,28 +14293,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T6 pixels) + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T6 pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T6)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -23552,18 +14326,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [OutAttribute] IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [OutAttribute] IntPtr pixels); /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -23594,27 +14357,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T6[] pixels) + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T6[] pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -23645,27 +14390,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T6[,] pixels) + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T6[,] pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -23696,27 +14423,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T6[,,] pixels) + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T6[,,] pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -23747,45 +14456,15 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] ref T6 pixels) + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] ref T6 pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T6)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Release resources consumed by the implementation's shader compiler /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReleaseShaderCompiler")] - public static - void ReleaseShaderCompiler() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReleaseShaderCompiler(); - #if DEBUG - } - #endif - } + public static extern void ReleaseShaderCompiler(); /// [requires: v2.0 and ES_VERSION_2_0] /// Establish data storage, format and dimensions of a renderbuffer object's image @@ -23812,18 +14491,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glRenderbufferStorage")] - public static - void RenderbufferStorage(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorage((OpenTK.Graphics.ES20.RenderbufferTarget)target, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorage(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height); /// [requires: v2.0 and ES_VERSION_2_0] /// Establish data storage, format and dimensions of a renderbuffer object's image @@ -23849,18 +14517,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glRenderbufferStorage")] - public static - void RenderbufferStorage(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorage((OpenTK.Graphics.ES20.RenderbufferTarget)target, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorage(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify multisample coverage parameters @@ -23876,18 +14533,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glSampleCoverage")] - public static - void SampleCoverage(Single value, bool invert) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSampleCoverage((Single)value, (bool)invert); - #if DEBUG - } - #endif - } + public static extern void SampleCoverage(Single value, bool invert); /// [requires: v2.0 and ES_VERSION_2_0] /// Define the scissor box @@ -23903,18 +14549,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glScissor")] - public static - void Scissor(Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glScissor((Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void Scissor(Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -23946,24 +14581,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES20.All binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = shaders) - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES20.All binaryformat, IntPtr binary, Int32 length); /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -23995,33 +14613,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -24053,33 +14647,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -24111,33 +14681,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -24169,34 +14715,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -24227,24 +14748,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = shaders) - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length); /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -24275,33 +14779,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -24332,33 +14812,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -24389,33 +14845,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -24446,34 +14878,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -24505,24 +14912,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES20.All binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = &shaders) - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES20.All binaryformat, IntPtr binary, Int32 length); /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -24554,33 +14944,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -24612,33 +14978,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -24670,33 +15012,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -24728,34 +15046,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -24786,24 +15079,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = &shaders) - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length); /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -24834,33 +15110,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -24891,33 +15143,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -24948,33 +15176,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -25005,34 +15209,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -25065,18 +15244,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES20.All binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - #if DEBUG - } - #endif - } + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES20.All binaryformat, IntPtr binary, Int32 length); /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -25109,27 +15277,9 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -25162,27 +15312,9 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -25215,27 +15347,9 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -25268,28 +15382,9 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -25321,18 +15416,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - #if DEBUG - } - #endif - } + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length); /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -25364,27 +15448,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -25416,27 +15482,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -25468,27 +15516,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -25520,28 +15550,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -25574,24 +15585,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES20.All binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = shaders) - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES20.All binaryformat, IntPtr binary, Int32 length); /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -25624,33 +15618,9 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -25683,33 +15653,9 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -25742,33 +15688,9 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -25801,34 +15723,9 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -25860,24 +15757,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = shaders) - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length); /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -25909,33 +15789,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -25967,33 +15823,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -26025,33 +15857,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -26083,34 +15891,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -26143,24 +15926,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES20.All binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = &shaders) - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES20.All binaryformat, IntPtr binary, Int32 length); /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -26193,33 +15959,9 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -26252,33 +15994,9 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -26311,33 +16029,9 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -26370,34 +16064,9 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -26429,24 +16098,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = &shaders) - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length); /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -26478,33 +16130,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -26536,33 +16164,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -26594,33 +16198,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -26652,34 +16232,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -26712,18 +16267,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES20.All binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - #if DEBUG - } - #endif - } + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES20.All binaryformat, IntPtr binary, Int32 length); /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -26756,27 +16300,9 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -26809,27 +16335,9 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -26862,27 +16370,9 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -26915,28 +16405,9 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -26968,18 +16439,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - #if DEBUG - } - #endif - } + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length); /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -27011,27 +16471,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -27063,27 +16505,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -27115,27 +16539,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -27167,28 +16573,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Replaces the source code in a shader object @@ -27214,24 +16601,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static - void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32[] length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32[] length); /// [requires: v2.0 and ES_VERSION_2_0] /// Replaces the source code in a shader object @@ -27257,24 +16627,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static - void ShaderSource(Int32 shader, Int32 count, String[] @string, ref Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderSource(Int32 shader, Int32 count, String[] @string, ref Int32 length); /// [requires: v2.0 and ES_VERSION_2_0] /// Replaces the source code in a shader object @@ -27301,18 +16654,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static - unsafe void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length); - #if DEBUG - } - #endif - } + public static extern unsafe void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32* length); /// [requires: v2.0 and ES_VERSION_2_0] /// Replaces the source code in a shader object @@ -27339,24 +16681,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static - void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32[] length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32[] length); /// [requires: v2.0 and ES_VERSION_2_0] /// Replaces the source code in a shader object @@ -27383,24 +16708,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static - void ShaderSource(UInt32 shader, Int32 count, String[] @string, ref Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderSource(UInt32 shader, Int32 count, String[] @string, ref Int32 length); /// [requires: v2.0 and ES_VERSION_2_0] /// Replaces the source code in a shader object @@ -27427,18 +16735,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static - unsafe void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length); - #if DEBUG - } - #endif - } + public static extern unsafe void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length); /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and back function and reference value for stencil testing @@ -27460,18 +16757,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFunc")] - public static - void StencilFunc(OpenTK.Graphics.ES20.All func, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFunc((OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilFunc(OpenTK.Graphics.ES20.All func, Int32 @ref, Int32 mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and back function and reference value for stencil testing @@ -27494,18 +16780,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFunc")] - public static - void StencilFunc(OpenTK.Graphics.ES20.All func, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFunc((OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilFunc(OpenTK.Graphics.ES20.All func, Int32 @ref, UInt32 mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and back function and reference value for stencil testing @@ -27526,18 +16801,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFunc")] - public static - void StencilFunc(OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFunc((OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilFunc(OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, Int32 mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and back function and reference value for stencil testing @@ -27559,18 +16823,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFunc")] - public static - void StencilFunc(OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFunc((OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilFunc(OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and/or back function and reference value for stencil testing @@ -27597,18 +16850,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] - public static - void StencilFuncSeparate(OpenTK.Graphics.ES20.All face, OpenTK.Graphics.ES20.All func, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFuncSeparate((OpenTK.Graphics.ES20.StencilFace)face, (OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilFuncSeparate(OpenTK.Graphics.ES20.All face, OpenTK.Graphics.ES20.All func, Int32 @ref, Int32 mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and/or back function and reference value for stencil testing @@ -27636,18 +16878,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] - public static - void StencilFuncSeparate(OpenTK.Graphics.ES20.All face, OpenTK.Graphics.ES20.All func, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFuncSeparate((OpenTK.Graphics.ES20.StencilFace)face, (OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilFuncSeparate(OpenTK.Graphics.ES20.All face, OpenTK.Graphics.ES20.All func, Int32 @ref, UInt32 mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and/or back function and reference value for stencil testing @@ -27674,18 +16905,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use StencilFace overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] - public static - void StencilFuncSeparate(OpenTK.Graphics.ES20.CullFaceMode face, OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFuncSeparate((OpenTK.Graphics.ES20.StencilFace)face, (OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilFuncSeparate(OpenTK.Graphics.ES20.CullFaceMode face, OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, Int32 mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and/or back function and reference value for stencil testing @@ -27713,18 +16933,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use StencilFace overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] - public static - void StencilFuncSeparate(OpenTK.Graphics.ES20.CullFaceMode face, OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFuncSeparate((OpenTK.Graphics.ES20.StencilFace)face, (OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilFuncSeparate(OpenTK.Graphics.ES20.CullFaceMode face, OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and/or back function and reference value for stencil testing @@ -27750,18 +16959,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] - public static - void StencilFuncSeparate(OpenTK.Graphics.ES20.StencilFace face, OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFuncSeparate((OpenTK.Graphics.ES20.StencilFace)face, (OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilFuncSeparate(OpenTK.Graphics.ES20.StencilFace face, OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, Int32 mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and/or back function and reference value for stencil testing @@ -27788,18 +16986,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] - public static - void StencilFuncSeparate(OpenTK.Graphics.ES20.StencilFace face, OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFuncSeparate((OpenTK.Graphics.ES20.StencilFace)face, (OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilFuncSeparate(OpenTK.Graphics.ES20.StencilFace face, OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Control the front and back writing of individual bits in the stencil planes @@ -27810,18 +16997,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMask")] - public static - void StencilMask(Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilMask((UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilMask(Int32 mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Control the front and back writing of individual bits in the stencil planes @@ -27833,18 +17009,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMask")] - public static - void StencilMask(UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilMask((UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilMask(UInt32 mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Control the front and/or back writing of individual bits in the stencil planes @@ -27861,18 +17026,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] - public static - void StencilMaskSeparate(OpenTK.Graphics.ES20.All face, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilMaskSeparate((OpenTK.Graphics.ES20.StencilFace)face, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilMaskSeparate(OpenTK.Graphics.ES20.All face, Int32 mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Control the front and/or back writing of individual bits in the stencil planes @@ -27890,18 +17044,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] - public static - void StencilMaskSeparate(OpenTK.Graphics.ES20.All face, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilMaskSeparate((OpenTK.Graphics.ES20.StencilFace)face, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilMaskSeparate(OpenTK.Graphics.ES20.All face, UInt32 mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Control the front and/or back writing of individual bits in the stencil planes @@ -27918,18 +17061,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use StencilFace overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] - public static - void StencilMaskSeparate(OpenTK.Graphics.ES20.CullFaceMode face, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilMaskSeparate((OpenTK.Graphics.ES20.StencilFace)face, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilMaskSeparate(OpenTK.Graphics.ES20.CullFaceMode face, Int32 mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Control the front and/or back writing of individual bits in the stencil planes @@ -27947,18 +17079,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use StencilFace overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] - public static - void StencilMaskSeparate(OpenTK.Graphics.ES20.CullFaceMode face, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilMaskSeparate((OpenTK.Graphics.ES20.StencilFace)face, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilMaskSeparate(OpenTK.Graphics.ES20.CullFaceMode face, UInt32 mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Control the front and/or back writing of individual bits in the stencil planes @@ -27974,18 +17095,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] - public static - void StencilMaskSeparate(OpenTK.Graphics.ES20.StencilFace face, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilMaskSeparate((OpenTK.Graphics.ES20.StencilFace)face, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilMaskSeparate(OpenTK.Graphics.ES20.StencilFace face, Int32 mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Control the front and/or back writing of individual bits in the stencil planes @@ -28002,18 +17112,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] - public static - void StencilMaskSeparate(OpenTK.Graphics.ES20.StencilFace face, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilMaskSeparate((OpenTK.Graphics.ES20.StencilFace)face, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilMaskSeparate(OpenTK.Graphics.ES20.StencilFace face, UInt32 mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and back stencil test actions @@ -28035,18 +17134,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilOp")] - public static - void StencilOp(OpenTK.Graphics.ES20.All fail, OpenTK.Graphics.ES20.All zfail, OpenTK.Graphics.ES20.All zpass) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilOp((OpenTK.Graphics.ES20.StencilOp)fail, (OpenTK.Graphics.ES20.StencilOp)zfail, (OpenTK.Graphics.ES20.StencilOp)zpass); - #if DEBUG - } - #endif - } + public static extern void StencilOp(OpenTK.Graphics.ES20.All fail, OpenTK.Graphics.ES20.All zfail, OpenTK.Graphics.ES20.All zpass); /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and back stencil test actions @@ -28067,18 +17155,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilOp")] - public static - void StencilOp(OpenTK.Graphics.ES20.StencilOp fail, OpenTK.Graphics.ES20.StencilOp zfail, OpenTK.Graphics.ES20.StencilOp zpass) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilOp((OpenTK.Graphics.ES20.StencilOp)fail, (OpenTK.Graphics.ES20.StencilOp)zfail, (OpenTK.Graphics.ES20.StencilOp)zpass); - #if DEBUG - } - #endif - } + public static extern void StencilOp(OpenTK.Graphics.ES20.StencilOp fail, OpenTK.Graphics.ES20.StencilOp zfail, OpenTK.Graphics.ES20.StencilOp zpass); /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and/or back stencil test actions @@ -28105,18 +17182,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilOpSeparate")] - public static - void StencilOpSeparate(OpenTK.Graphics.ES20.All face, OpenTK.Graphics.ES20.All sfail, OpenTK.Graphics.ES20.All dpfail, OpenTK.Graphics.ES20.All dppass) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilOpSeparate((OpenTK.Graphics.ES20.StencilFace)face, (OpenTK.Graphics.ES20.StencilOp)sfail, (OpenTK.Graphics.ES20.StencilOp)dpfail, (OpenTK.Graphics.ES20.StencilOp)dppass); - #if DEBUG - } - #endif - } + public static extern void StencilOpSeparate(OpenTK.Graphics.ES20.All face, OpenTK.Graphics.ES20.All sfail, OpenTK.Graphics.ES20.All dpfail, OpenTK.Graphics.ES20.All dppass); /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and/or back stencil test actions @@ -28143,18 +17209,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use StencilFace overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilOpSeparate")] - public static - void StencilOpSeparate(OpenTK.Graphics.ES20.CullFaceMode face, OpenTK.Graphics.ES20.StencilOp sfail, OpenTK.Graphics.ES20.StencilOp dpfail, OpenTK.Graphics.ES20.StencilOp dppass) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilOpSeparate((OpenTK.Graphics.ES20.StencilFace)face, (OpenTK.Graphics.ES20.StencilOp)sfail, (OpenTK.Graphics.ES20.StencilOp)dpfail, (OpenTK.Graphics.ES20.StencilOp)dppass); - #if DEBUG - } - #endif - } + public static extern void StencilOpSeparate(OpenTK.Graphics.ES20.CullFaceMode face, OpenTK.Graphics.ES20.StencilOp sfail, OpenTK.Graphics.ES20.StencilOp dpfail, OpenTK.Graphics.ES20.StencilOp dppass); /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and/or back stencil test actions @@ -28180,18 +17235,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilOpSeparate")] - public static - void StencilOpSeparate(OpenTK.Graphics.ES20.StencilFace face, OpenTK.Graphics.ES20.StencilOp sfail, OpenTK.Graphics.ES20.StencilOp dpfail, OpenTK.Graphics.ES20.StencilOp dppass) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilOpSeparate((OpenTK.Graphics.ES20.StencilFace)face, (OpenTK.Graphics.ES20.StencilOp)sfail, (OpenTK.Graphics.ES20.StencilOp)dpfail, (OpenTK.Graphics.ES20.StencilOp)dppass); - #if DEBUG - } - #endif - } + public static extern void StencilOpSeparate(OpenTK.Graphics.ES20.StencilFace face, OpenTK.Graphics.ES20.StencilOp sfail, OpenTK.Graphics.ES20.StencilOp dpfail, OpenTK.Graphics.ES20.StencilOp dppass); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -28243,18 +17287,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexImage2D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr pixels); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -28306,27 +17339,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T8[] pixels) + public static extern void TexImage2D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T8[] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -28378,27 +17393,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T8[,] pixels) + public static extern void TexImage2D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T8[,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -28450,27 +17447,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T8[,,] pixels) + public static extern void TexImage2D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T8[,,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -28522,28 +17501,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T8 pixels) + public static extern void TexImage2D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T8 pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T8)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -28595,18 +17555,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -28658,27 +17607,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[] pixels) + public static extern void TexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -28730,27 +17661,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) + public static extern void TexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -28802,27 +17715,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) + public static extern void TexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -28874,28 +17769,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) + public static extern void TexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T8)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -28946,18 +17822,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -29008,27 +17873,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[] pixels) + public static extern void TexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -29079,27 +17926,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) + public static extern void TexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -29150,27 +17979,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) + public static extern void TexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -29221,28 +18032,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) + public static extern void TexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T8)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -29272,18 +18064,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameterf")] - public static - void TexParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterf((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void TexParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Single param); /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -29312,18 +18093,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameterf")] - public static - void TexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterf((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void TexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single param); /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -29353,24 +18123,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameterfv")] - public static - void TexParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glTexParameterfv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Single[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -29401,18 +18154,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameterfv")] - public static - unsafe void TexParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterfv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Single* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -29441,24 +18183,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameterfv")] - public static - void TexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glTexParameterfv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -29488,18 +18213,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameterfv")] - public static - unsafe void TexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterfv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -29529,18 +18243,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameteri")] - public static - void TexParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameteri((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void TexParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Int32 param); /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -29569,18 +18272,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameteri")] - public static - void TexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameteri((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void TexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32 param); /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -29610,24 +18302,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameteriv")] - public static - void TexParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glTexParameteriv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -29658,18 +18333,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameteriv")] - public static - unsafe void TexParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameteriv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexParameter(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -29698,24 +18362,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameteriv")] - public static - void TexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glTexParameteriv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -29745,18 +18392,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameteriv")] - public static - unsafe void TexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameteriv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -29808,18 +18444,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexSubImage2D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr pixels); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -29871,27 +18496,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T8[] pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T8[] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -29943,27 +18550,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T8[,] pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T8[,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -30015,27 +18604,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T8[,,] pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T8[,,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -30087,28 +18658,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T8 pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T8 pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T8)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -30160,18 +18712,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -30223,27 +18764,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[] pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -30295,27 +18818,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -30367,27 +18872,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -30439,28 +18926,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use TextureTarget2d overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T8)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -30511,18 +18979,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -30573,27 +19030,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[] pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -30644,27 +19083,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -30715,27 +19136,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -30786,28 +19189,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T8)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -30841,18 +19225,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1f")] - public static - void Uniform1(Int32 location, Single v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1f((Int32)location, (Single)v0); - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Single v0); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -30886,24 +19259,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1fv")] - public static - void Uniform1(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, Single[] value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -30937,24 +19293,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1fv")] - public static - void Uniform1(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, ref Single value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -30989,18 +19328,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1fv")] - public static - unsafe void Uniform1(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform1(Int32 location, Int32 count, Single* value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31034,18 +19362,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1i")] - public static - void Uniform1(Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1i((Int32)location, (Int32)v0); - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 v0); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31079,24 +19396,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1iv")] - public static - void Uniform1(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, Int32[] value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31130,24 +19430,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1iv")] - public static - void Uniform1(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, ref Int32 value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31182,18 +19465,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1iv")] - public static - unsafe void Uniform1(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform1(Int32 location, Int32 count, Int32* value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31227,18 +19499,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2f")] - public static - void Uniform2(Int32 location, Single v0, Single v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2f((Int32)location, (Single)v0, (Single)v1); - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Single v0, Single v1); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31272,24 +19533,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2fv")] - public static - void Uniform2(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 count, Single[] value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31323,24 +19567,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2fv")] - public static - void Uniform2(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 count, ref Single value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31375,18 +19602,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2fv")] - public static - unsafe void Uniform2(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform2(Int32 location, Int32 count, Single* value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31420,18 +19636,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2i")] - public static - void Uniform2(Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2i((Int32)location, (Int32)v0, (Int32)v1); - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 v0, Int32 v1); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31465,24 +19670,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2iv")] - public static - void Uniform2(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 count, Int32[] value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31517,18 +19705,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2iv")] - public static - unsafe void Uniform2(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform2(Int32 location, Int32 count, Int32* value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31562,18 +19739,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3f")] - public static - void Uniform3(Int32 location, Single v0, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3f((Int32)location, (Single)v0, (Single)v1, (Single)v2); - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Single v0, Single v1, Single v2); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31607,24 +19773,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3fv")] - public static - void Uniform3(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, Single[] value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31658,24 +19807,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3fv")] - public static - void Uniform3(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, ref Single value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31710,18 +19842,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3fv")] - public static - unsafe void Uniform3(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform3(Int32 location, Int32 count, Single* value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31755,18 +19876,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3i")] - public static - void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31800,24 +19910,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3iv")] - public static - void Uniform3(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, Int32[] value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31851,24 +19944,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3iv")] - public static - void Uniform3(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, ref Int32 value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31903,18 +19979,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3iv")] - public static - unsafe void Uniform3(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform3(Int32 location, Int32 count, Int32* value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31948,18 +20013,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4f")] - public static - void Uniform4(Int32 location, Single v0, Single v1, Single v2, Single v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4f((Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Single v0, Single v1, Single v2, Single v3); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -31993,24 +20047,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4fv")] - public static - void Uniform4(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, Single[] value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -32044,24 +20081,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4fv")] - public static - void Uniform4(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, ref Single value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -32096,18 +20116,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4fv")] - public static - unsafe void Uniform4(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform4(Int32 location, Int32 count, Single* value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -32141,18 +20150,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4i")] - public static - void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -32186,24 +20184,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4iv")] - public static - void Uniform4(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, Int32[] value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -32237,24 +20218,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4iv")] - public static - void Uniform4(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, ref Int32 value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -32289,192 +20253,46 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4iv")] - public static - unsafe void Uniform4(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform4(Int32 location, Int32 count, Int32* value); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] - public static - void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] - public static - void UniformMatrix2(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v2.0 and ES_VERSION_2_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] - public static - unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] - public static - void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] - public static - void UniformMatrix3(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v2.0 and ES_VERSION_2_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] - public static - unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] - public static - void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] - public static - void UniformMatrix4(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v2.0 and ES_VERSION_2_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] - public static - unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v2.0 and ES_VERSION_2_0] /// Installs a program object as part of current rendering state @@ -32485,18 +20303,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUseProgram")] - public static - void UseProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUseProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void UseProgram(Int32 program); /// [requires: v2.0 and ES_VERSION_2_0] /// Installs a program object as part of current rendering state @@ -32508,18 +20315,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUseProgram")] - public static - void UseProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUseProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void UseProgram(UInt32 program); /// [requires: v2.0 and ES_VERSION_2_0] /// Validates a program object @@ -32530,18 +20326,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glValidateProgram")] - public static - void ValidateProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glValidateProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void ValidateProgram(Int32 program); /// [requires: v2.0 and ES_VERSION_2_0] /// Validates a program object @@ -32553,18 +20338,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glValidateProgram")] - public static - void ValidateProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glValidateProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void ValidateProgram(UInt32 program); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -32600,18 +20374,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1f")] - public static - void VertexAttrib1(Int32 index, Single x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1f((UInt32)index, (Single)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib1(Int32 index, Single x); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -32648,18 +20411,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1f")] - public static - void VertexAttrib1(UInt32 index, Single x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1f((UInt32)index, (Single)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib1(UInt32 index, Single x); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -32695,24 +20447,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] - public static - void VertexAttrib1(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib1(Int32 index, Single[] v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -32749,18 +20484,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] - public static - unsafe void VertexAttrib1(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib1(Int32 index, Single* v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -32797,24 +20521,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] - public static - void VertexAttrib1(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib1(UInt32 index, Single[] v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -32851,18 +20558,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] - public static - unsafe void VertexAttrib1(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib1(UInt32 index, Single* v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -32898,18 +20594,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2f")] - public static - void VertexAttrib2(Int32 index, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2f((UInt32)index, (Single)x, (Single)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, Single x, Single y); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -32946,18 +20631,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2f")] - public static - void VertexAttrib2(UInt32 index, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2f((UInt32)index, (Single)x, (Single)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, Single x, Single y); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -32993,24 +20667,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static - void VertexAttrib2(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, Single[] v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33046,24 +20703,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static - void VertexAttrib2(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, ref Single v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33100,18 +20740,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static - unsafe void VertexAttrib2(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib2(Int32 index, Single* v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33148,24 +20777,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static - void VertexAttrib2(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, Single[] v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33202,24 +20814,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static - void VertexAttrib2(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, ref Single v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33256,18 +20851,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static - unsafe void VertexAttrib2(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib2(UInt32 index, Single* v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33303,18 +20887,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3f")] - public static - void VertexAttrib3(Int32 index, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3f((UInt32)index, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, Single x, Single y, Single z); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33351,18 +20924,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3f")] - public static - void VertexAttrib3(UInt32 index, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3f((UInt32)index, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, Single x, Single y, Single z); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33398,24 +20960,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static - void VertexAttrib3(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, Single[] v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33451,24 +20996,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static - void VertexAttrib3(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, ref Single v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33505,18 +21033,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static - unsafe void VertexAttrib3(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib3(Int32 index, Single* v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33553,24 +21070,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static - void VertexAttrib3(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, Single[] v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33607,24 +21107,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static - void VertexAttrib3(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, ref Single v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33661,18 +21144,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static - unsafe void VertexAttrib3(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib3(UInt32 index, Single* v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33708,18 +21180,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4f")] - public static - void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4f((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33756,18 +21217,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4f")] - public static - void VertexAttrib4(UInt32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4f((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Single x, Single y, Single z, Single w); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33803,24 +21253,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static - void VertexAttrib4(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Single[] v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33856,24 +21289,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static - void VertexAttrib4(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, ref Single v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33910,18 +21326,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static - unsafe void VertexAttrib4(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(Int32 index, Single* v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -33958,24 +21363,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static - void VertexAttrib4(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Single[] v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -34012,24 +21400,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static - void VertexAttrib4(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, ref Single v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -34066,18 +21437,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static - unsafe void VertexAttrib4(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(UInt32 index, Single* v); /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -34114,18 +21474,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, IntPtr pointer); /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -34162,27 +21511,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] pointer) + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -34219,27 +21550,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] pointer) + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -34276,27 +21589,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] pointer) + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -34333,28 +21628,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 pointer) + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T5)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -34390,18 +21666,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer); /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -34437,27 +21702,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] pointer) + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -34493,27 +21740,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] pointer) + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -34549,27 +21778,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] pointer) + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -34605,28 +21816,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 pointer) + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T5)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -34664,18 +21856,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, IntPtr pointer); /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -34713,27 +21894,9 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] pointer) + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -34771,27 +21934,9 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] pointer) + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -34829,27 +21974,9 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] pointer) + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -34887,28 +22014,9 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 pointer) + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T5)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -34945,18 +22053,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer); /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -34993,27 +22090,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] pointer) + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -35050,27 +22129,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] pointer) + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -35107,27 +22168,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] pointer) + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -35164,28 +22207,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 pointer) + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T5)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Set the viewport @@ -35201,51 +22225,18 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glViewport")] - public static - void Viewport(Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glViewport((Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void Viewport(Int32 x, Int32 y, Int32 width, Int32 height); public static partial class Ext { /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glActiveProgramEXT")] - public static - void ActiveProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glActiveProgramEXT((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void ActiveProgram(Int32 program); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glActiveProgramEXT")] - public static - void ActiveProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glActiveProgramEXT((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void ActiveProgram(UInt32 program); /// [requires: EXT_separate_shader_objects] /// Set the active program object for a program pipeline object @@ -35261,18 +22252,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glActiveShaderProgramEXT")] - public static - void ActiveShaderProgram(Int32 pipeline, Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glActiveShaderProgramEXT((UInt32)pipeline, (UInt32)program); - #if DEBUG - } - #endif - } + public static extern void ActiveShaderProgram(Int32 pipeline, Int32 program); /// [requires: EXT_separate_shader_objects] /// Set the active program object for a program pipeline object @@ -35289,18 +22269,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glActiveShaderProgramEXT")] - public static - void ActiveShaderProgram(UInt32 pipeline, UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glActiveShaderProgramEXT((UInt32)pipeline, (UInt32)program); - #if DEBUG - } - #endif - } + public static extern void ActiveShaderProgram(UInt32 pipeline, UInt32 program); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delimit the boundaries of a query object @@ -35317,18 +22286,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glBeginQueryEXT")] - public static - void BeginQuery(OpenTK.Graphics.ES20.All target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginQueryEXT((OpenTK.Graphics.ES20.QueryTarget)target, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BeginQuery(OpenTK.Graphics.ES20.All target, Int32 id); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delimit the boundaries of a query object @@ -35346,18 +22304,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glBeginQueryEXT")] - public static - void BeginQuery(OpenTK.Graphics.ES20.All target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginQueryEXT((OpenTK.Graphics.ES20.QueryTarget)target, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BeginQuery(OpenTK.Graphics.ES20.All target, UInt32 id); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delimit the boundaries of a query object @@ -35373,18 +22320,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glBeginQueryEXT")] - public static - void BeginQuery(OpenTK.Graphics.ES20.QueryTarget target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginQueryEXT((OpenTK.Graphics.ES20.QueryTarget)target, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BeginQuery(OpenTK.Graphics.ES20.QueryTarget target, Int32 id); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delimit the boundaries of a query object @@ -35401,18 +22337,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glBeginQueryEXT")] - public static - void BeginQuery(OpenTK.Graphics.ES20.QueryTarget target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginQueryEXT((OpenTK.Graphics.ES20.QueryTarget)target, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BeginQuery(OpenTK.Graphics.ES20.QueryTarget target, UInt32 id); /// [requires: EXT_separate_shader_objects] /// Bind a program pipeline to the current context @@ -35423,18 +22348,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glBindProgramPipelineEXT")] - public static - void BindProgramPipeline(Int32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindProgramPipelineEXT((UInt32)pipeline); - #if DEBUG - } - #endif - } + public static extern void BindProgramPipeline(Int32 pipeline); /// [requires: EXT_separate_shader_objects] /// Bind a program pipeline to the current context @@ -35446,18 +22360,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glBindProgramPipelineEXT")] - public static - void BindProgramPipeline(UInt32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindProgramPipelineEXT((UInt32)pipeline); - #if DEBUG - } - #endif - } + public static extern void BindProgramPipeline(UInt32 pipeline); /// [requires: EXT_blend_minmax] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -35474,18 +22377,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_blend_minmax", Version = "", EntryPoint = "glBlendEquationEXT")] - public static - void BlendEquation(OpenTK.Graphics.ES20.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationEXT((OpenTK.Graphics.ES20.BlendEquationMode)mode); - #if DEBUG - } - #endif - } + public static extern void BlendEquation(OpenTK.Graphics.ES20.All mode); /// [requires: EXT_blend_minmax] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -35501,18 +22393,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_blend_minmax", Version = "", EntryPoint = "glBlendEquationEXT")] - public static - void BlendEquation(OpenTK.Graphics.ES20.BlendEquationMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationEXT((OpenTK.Graphics.ES20.BlendEquationMode)mode); - #if DEBUG - } - #endif - } + public static extern void BlendEquation(OpenTK.Graphics.ES20.BlendEquationMode mode); /// [requires: EXT_separate_shader_objects] /// Create a stand-alone program from an array of null-terminated source code strings @@ -35533,18 +22414,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glCreateShaderProgramEXT")] - public static - Int32 CreateShaderProgram(OpenTK.Graphics.ES20.All type, String @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCreateShaderProgramEXT((OpenTK.Graphics.ES20.All)type, (String)@string); - #if DEBUG - } - #endif - } + public static extern Int32 CreateShaderProgram(OpenTK.Graphics.ES20.All type, String @string); /// [requires: EXT_separate_shader_objects] /// Create a stand-alone program from an array of null-terminated source code strings @@ -35565,59 +22435,16 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glCreateShaderProgramvEXT")] - public static - Int32 CreateShaderProgram(OpenTK.Graphics.ES20.All type, Int32 count, String[] strings) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCreateShaderProgramvEXT((OpenTK.Graphics.ES20.All)type, (Int32)count, (String[])strings); - #if DEBUG - } - #endif - } + public static extern Int32 CreateShaderProgram(OpenTK.Graphics.ES20.All type, Int32 count, String[] strings); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static - void DeleteProgramPipeline(Int32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* pipelines_ptr = (UInt32*)&pipelines; - Delegates.glDeleteProgramPipelinesEXT((Int32)n, (UInt32*)pipelines_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgramPipeline(Int32 pipelines); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static - void DeleteProgramPipeline(UInt32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* pipelines_ptr = (UInt32*)&pipelines; - Delegates.glDeleteProgramPipelinesEXT((Int32)n, (UInt32*)pipelines_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgramPipeline(UInt32 pipelines); /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -35633,24 +22460,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static - void DeleteProgramPipelines(Int32 n, Int32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = pipelines) - { - Delegates.glDeleteProgramPipelinesEXT((Int32)n, (UInt32*)pipelines_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgramPipelines(Int32 n, Int32[] pipelines); /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -35666,24 +22476,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static - void DeleteProgramPipelines(Int32 n, ref Int32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = &pipelines) - { - Delegates.glDeleteProgramPipelinesEXT((Int32)n, (UInt32*)pipelines_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgramPipelines(Int32 n, ref Int32 pipelines); /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -35700,18 +22493,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static - unsafe void DeleteProgramPipelines(Int32 n, Int32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteProgramPipelinesEXT((Int32)n, (UInt32*)pipelines); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteProgramPipelines(Int32 n, Int32* pipelines); /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -35728,24 +22510,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static - void DeleteProgramPipelines(Int32 n, UInt32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = pipelines) - { - Delegates.glDeleteProgramPipelinesEXT((Int32)n, (UInt32*)pipelines_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgramPipelines(Int32 n, UInt32[] pipelines); /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -35762,24 +22527,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static - void DeleteProgramPipelines(Int32 n, ref UInt32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = &pipelines) - { - Delegates.glDeleteProgramPipelinesEXT((Int32)n, (UInt32*)pipelines_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgramPipelines(Int32 n, ref UInt32 pipelines); /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -35796,59 +22544,16 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static - unsafe void DeleteProgramPipelines(Int32 n, UInt32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteProgramPipelinesEXT((Int32)n, (UInt32*)pipelines); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteProgramPipelines(Int32 n, UInt32* pipelines); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glDeleteQueriesEXT")] - public static - void DeleteQuery(Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - Delegates.glDeleteQueriesEXT((Int32)n, (UInt32*)ids_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteQuery(Int32 ids); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glDeleteQueriesEXT")] - public static - void DeleteQuery(UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - Delegates.glDeleteQueriesEXT((Int32)n, (UInt32*)ids_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteQuery(UInt32 ids); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delete named query objects @@ -35864,24 +22569,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glDeleteQueriesEXT")] - public static - void DeleteQueries(Int32 n, Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glDeleteQueriesEXT((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteQueries(Int32 n, Int32[] ids); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delete named query objects @@ -35897,24 +22585,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glDeleteQueriesEXT")] - public static - void DeleteQueries(Int32 n, ref Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glDeleteQueriesEXT((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteQueries(Int32 n, ref Int32 ids); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delete named query objects @@ -35931,18 +22602,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glDeleteQueriesEXT")] - public static - unsafe void DeleteQueries(Int32 n, Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteQueriesEXT((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteQueries(Int32 n, Int32* ids); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delete named query objects @@ -35959,24 +22619,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glDeleteQueriesEXT")] - public static - void DeleteQueries(Int32 n, UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glDeleteQueriesEXT((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteQueries(Int32 n, UInt32[] ids); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delete named query objects @@ -35993,24 +22636,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glDeleteQueriesEXT")] - public static - void DeleteQueries(Int32 n, ref UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glDeleteQueriesEXT((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteQueries(Int32 n, ref UInt32 ids); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delete named query objects @@ -36027,76 +22653,20 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glDeleteQueriesEXT")] - public static - unsafe void DeleteQueries(Int32 n, UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteQueriesEXT((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteQueries(Int32 n, UInt32* ids); /// [requires: EXT_discard_framebuffer] [AutoGenerated(Category = "EXT_discard_framebuffer", Version = "", EntryPoint = "glDiscardFramebufferEXT")] - public static - void DiscardFramebuffer(OpenTK.Graphics.ES20.All target, Int32 numAttachments, OpenTK.Graphics.ES20.All[] attachments) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES20.All* attachments_ptr = attachments) - { - Delegates.glDiscardFramebufferEXT((OpenTK.Graphics.ES20.All)target, (Int32)numAttachments, (OpenTK.Graphics.ES20.All*)attachments_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DiscardFramebuffer(OpenTK.Graphics.ES20.All target, Int32 numAttachments, OpenTK.Graphics.ES20.All[] attachments); /// [requires: EXT_discard_framebuffer] [AutoGenerated(Category = "EXT_discard_framebuffer", Version = "", EntryPoint = "glDiscardFramebufferEXT")] - public static - void DiscardFramebuffer(OpenTK.Graphics.ES20.All target, Int32 numAttachments, ref OpenTK.Graphics.ES20.All attachments) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES20.All* attachments_ptr = &attachments) - { - Delegates.glDiscardFramebufferEXT((OpenTK.Graphics.ES20.All)target, (Int32)numAttachments, (OpenTK.Graphics.ES20.All*)attachments_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DiscardFramebuffer(OpenTK.Graphics.ES20.All target, Int32 numAttachments, ref OpenTK.Graphics.ES20.All attachments); /// [requires: EXT_discard_framebuffer] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_discard_framebuffer", Version = "", EntryPoint = "glDiscardFramebufferEXT")] - public static - unsafe void DiscardFramebuffer(OpenTK.Graphics.ES20.All target, Int32 numAttachments, OpenTK.Graphics.ES20.All* attachments) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDiscardFramebufferEXT((OpenTK.Graphics.ES20.All)target, (Int32)numAttachments, (OpenTK.Graphics.ES20.All*)attachments); - #if DEBUG - } - #endif - } + public static extern unsafe void DiscardFramebuffer(OpenTK.Graphics.ES20.All target, Int32 numAttachments, OpenTK.Graphics.ES20.All* attachments); /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a range of elements @@ -36123,18 +22693,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawArraysInstancedEXT")] - public static - void DrawArraysInstanced(OpenTK.Graphics.ES20.All mode, Int32 start, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArraysInstancedEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)start, (Int32)count, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern void DrawArraysInstanced(OpenTK.Graphics.ES20.All mode, Int32 start, Int32 count, Int32 primcount); /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a range of elements @@ -36160,18 +22719,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawArraysInstancedEXT")] - public static - void DrawArraysInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 start, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArraysInstancedEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)start, (Int32)count, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern void DrawArraysInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 start, Int32 count, Int32 primcount); /// [requires: EXT_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -36188,24 +22736,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_draw_buffers", Version = "", EntryPoint = "glDrawBuffersEXT")] - public static - void DrawBuffers(Int32 n, OpenTK.Graphics.ES20.All[] bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES20.All* bufs_ptr = bufs) - { - Delegates.glDrawBuffersEXT((Int32)n, (OpenTK.Graphics.ES20.DrawBufferMode*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawBuffers(Int32 n, OpenTK.Graphics.ES20.All[] bufs); /// [requires: EXT_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -36222,24 +22753,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_draw_buffers", Version = "", EntryPoint = "glDrawBuffersEXT")] - public static - void DrawBuffers(Int32 n, ref OpenTK.Graphics.ES20.All bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES20.All* bufs_ptr = &bufs) - { - Delegates.glDrawBuffersEXT((Int32)n, (OpenTK.Graphics.ES20.DrawBufferMode*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawBuffers(Int32 n, ref OpenTK.Graphics.ES20.All bufs); /// [requires: EXT_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -36257,18 +22771,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_draw_buffers", Version = "", EntryPoint = "glDrawBuffersEXT")] - public static - unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES20.All* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawBuffersEXT((Int32)n, (OpenTK.Graphics.ES20.DrawBufferMode*)bufs); - #if DEBUG - } - #endif - } + public static extern unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES20.All* bufs); /// [requires: EXT_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -36284,24 +22787,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_draw_buffers", Version = "", EntryPoint = "glDrawBuffersEXT")] - public static - void DrawBuffers(Int32 n, OpenTK.Graphics.ES20.DrawBufferMode[] bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES20.DrawBufferMode* bufs_ptr = bufs) - { - Delegates.glDrawBuffersEXT((Int32)n, (OpenTK.Graphics.ES20.DrawBufferMode*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawBuffers(Int32 n, OpenTK.Graphics.ES20.DrawBufferMode[] bufs); /// [requires: EXT_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -36317,24 +22803,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_draw_buffers", Version = "", EntryPoint = "glDrawBuffersEXT")] - public static - void DrawBuffers(Int32 n, ref OpenTK.Graphics.ES20.DrawBufferMode bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES20.DrawBufferMode* bufs_ptr = &bufs) - { - Delegates.glDrawBuffersEXT((Int32)n, (OpenTK.Graphics.ES20.DrawBufferMode*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawBuffers(Int32 n, ref OpenTK.Graphics.ES20.DrawBufferMode bufs); /// [requires: EXT_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -36351,78 +22820,20 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_draw_buffers", Version = "", EntryPoint = "glDrawBuffersEXT")] - public static - unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES20.DrawBufferMode* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawBuffersEXT((Int32)n, (OpenTK.Graphics.ES20.DrawBufferMode*)bufs); - #if DEBUG - } - #endif - } + public static extern unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES20.DrawBufferMode* bufs); /// [requires: EXT_multiview_draw_buffers] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glDrawBuffersIndexedEXT")] - public static - void DrawBuffersIndexed(Int32 n, OpenTK.Graphics.ES20.All[] location, Int32[] indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES20.All* location_ptr = location) - fixed (Int32* indices_ptr = indices) - { - Delegates.glDrawBuffersIndexedEXT((Int32)n, (OpenTK.Graphics.ES20.All*)location_ptr, (Int32*)indices_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawBuffersIndexed(Int32 n, OpenTK.Graphics.ES20.All[] location, Int32[] indices); /// [requires: EXT_multiview_draw_buffers] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glDrawBuffersIndexedEXT")] - public static - void DrawBuffersIndexed(Int32 n, ref OpenTK.Graphics.ES20.All location, ref Int32 indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES20.All* location_ptr = &location) - fixed (Int32* indices_ptr = &indices) - { - Delegates.glDrawBuffersIndexedEXT((Int32)n, (OpenTK.Graphics.ES20.All*)location_ptr, (Int32*)indices_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawBuffersIndexed(Int32 n, ref OpenTK.Graphics.ES20.All location, ref Int32 indices); /// [requires: EXT_multiview_draw_buffers] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glDrawBuffersIndexedEXT")] - public static - unsafe void DrawBuffersIndexed(Int32 n, OpenTK.Graphics.ES20.All* location, Int32* indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawBuffersIndexedEXT((Int32)n, (OpenTK.Graphics.ES20.All*)location, (Int32*)indices); - #if DEBUG - } - #endif - } + public static extern unsafe void DrawBuffersIndexed(Int32 n, OpenTK.Graphics.ES20.All* location, Int32* indices); /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -36454,18 +22865,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, IntPtr indices, Int32 primcount); /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -36497,27 +22897,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -36549,27 +22931,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -36601,27 +22965,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -36653,28 +22999,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -36705,18 +23032,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices, Int32 primcount); /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -36747,27 +23063,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -36798,27 +23096,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -36849,27 +23129,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -36900,59 +23162,18 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glEndQueryEXT")] - public static - void EndQuery(OpenTK.Graphics.ES20.All target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndQueryEXT((OpenTK.Graphics.ES20.QueryTarget)target); - #if DEBUG - } - #endif - } + public static extern void EndQuery(OpenTK.Graphics.ES20.All target); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glEndQueryEXT")] - public static - void EndQuery(OpenTK.Graphics.ES20.QueryTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndQueryEXT((OpenTK.Graphics.ES20.QueryTarget)target); - #if DEBUG - } - #endif - } + public static extern void EndQuery(OpenTK.Graphics.ES20.QueryTarget target); /// [requires: EXT_map_buffer_range] /// Indicate modifications to a range of a mapped buffer @@ -36974,18 +23195,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glFlushMappedBufferRangeEXT")] - public static - void FlushMappedBufferRange(OpenTK.Graphics.ES20.All target, IntPtr offset, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFlushMappedBufferRangeEXT((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)length); - #if DEBUG - } - #endif - } + public static extern void FlushMappedBufferRange(OpenTK.Graphics.ES20.All target, IntPtr offset, IntPtr length); /// [requires: EXT_map_buffer_range] /// Indicate modifications to a range of a mapped buffer @@ -37006,71 +23216,20 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glFlushMappedBufferRangeEXT")] - public static - void FlushMappedBufferRange(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFlushMappedBufferRangeEXT((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)length); - #if DEBUG - } - #endif - } + public static extern void FlushMappedBufferRange(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr length); /// [requires: EXT_multisampled_render_to_texture] [AutoGenerated(Category = "EXT_multisampled_render_to_texture", Version = "", EntryPoint = "glFramebufferTexture2DMultisampleEXT")] - public static - void FramebufferTexture2DMultisample(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, Int32 texture, Int32 level, Int32 samples) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2DMultisampleEXT((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture2DMultisample(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, Int32 texture, Int32 level, Int32 samples); /// [requires: EXT_multisampled_render_to_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multisampled_render_to_texture", Version = "", EntryPoint = "glFramebufferTexture2DMultisampleEXT")] - public static - void FramebufferTexture2DMultisample(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, UInt32 texture, Int32 level, Int32 samples) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2DMultisampleEXT((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture2DMultisample(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, UInt32 texture, Int32 level, Int32 samples); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static - Int32 GenProgramPipeline() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* pipelines_ptr = &retval; - Delegates.glGenProgramPipelinesEXT((Int32)n, (UInt32*)pipelines_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenProgramPipeline(); /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -37086,24 +23245,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static - void GenProgramPipelines(Int32 n, [OutAttribute] Int32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = pipelines) - { - Delegates.glGenProgramPipelinesEXT((Int32)n, (UInt32*)pipelines_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] Int32[] pipelines); /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -37119,25 +23261,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static - void GenProgramPipelines(Int32 n, [OutAttribute] out Int32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = &pipelines) - { - Delegates.glGenProgramPipelinesEXT((Int32)n, (UInt32*)pipelines_ptr); - pipelines = *pipelines_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] out Int32 pipelines); /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -37154,18 +23278,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static - unsafe void GenProgramPipelines(Int32 n, [OutAttribute] Int32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenProgramPipelinesEXT((Int32)n, (UInt32*)pipelines); - #if DEBUG - } - #endif - } + public static extern unsafe void GenProgramPipelines(Int32 n, [OutAttribute] Int32* pipelines); /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -37182,24 +23295,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static - void GenProgramPipelines(Int32 n, [OutAttribute] UInt32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = pipelines) - { - Delegates.glGenProgramPipelinesEXT((Int32)n, (UInt32*)pipelines_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] UInt32[] pipelines); /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -37216,25 +23312,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static - void GenProgramPipelines(Int32 n, [OutAttribute] out UInt32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = &pipelines) - { - Delegates.glGenProgramPipelinesEXT((Int32)n, (UInt32*)pipelines_ptr); - pipelines = *pipelines_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] out UInt32 pipelines); /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -37251,40 +23329,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static - unsafe void GenProgramPipelines(Int32 n, [OutAttribute] UInt32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenProgramPipelinesEXT((Int32)n, (UInt32*)pipelines); - #if DEBUG - } - #endif - } + public static extern unsafe void GenProgramPipelines(Int32 n, [OutAttribute] UInt32* pipelines); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGenQueriesEXT")] - public static - Int32 GenQuery() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* ids_ptr = &retval; - Delegates.glGenQueriesEXT((Int32)n, (UInt32*)ids_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenQuery(); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Generate query object names @@ -37300,24 +23349,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGenQueriesEXT")] - public static - void GenQueries(Int32 n, [OutAttribute] Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glGenQueriesEXT((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenQueries(Int32 n, [OutAttribute] Int32[] ids); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Generate query object names @@ -37333,25 +23365,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGenQueriesEXT")] - public static - void GenQueries(Int32 n, [OutAttribute] out Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glGenQueriesEXT((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenQueries(Int32 n, [OutAttribute] out Int32 ids); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Generate query object names @@ -37368,18 +23382,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGenQueriesEXT")] - public static - unsafe void GenQueries(Int32 n, [OutAttribute] Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenQueriesEXT((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void GenQueries(Int32 n, [OutAttribute] Int32* ids); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Generate query object names @@ -37396,24 +23399,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGenQueriesEXT")] - public static - void GenQueries(Int32 n, [OutAttribute] UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glGenQueriesEXT((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenQueries(Int32 n, [OutAttribute] UInt32[] ids); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Generate query object names @@ -37430,25 +23416,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGenQueriesEXT")] - public static - void GenQueries(Int32 n, [OutAttribute] out UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glGenQueriesEXT((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenQueries(Int32 n, [OutAttribute] out UInt32 ids); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Generate query object names @@ -37465,519 +23433,129 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGenQueriesEXT")] - public static - unsafe void GenQueries(Int32 n, [OutAttribute] UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenQueriesEXT((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void GenQueries(Int32 n, [OutAttribute] UInt32* ids); /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetGraphicsResetStatusEXT")] - public static - OpenTK.Graphics.ES20.All GetGraphicsResetStatus() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetGraphicsResetStatusEXT(); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.ES20.All GetGraphicsResetStatus(); /// [requires: EXT_multiview_draw_buffers] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static - void GetInteger(OpenTK.Graphics.ES20.All target, Int32 index, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegeri_vEXT((OpenTK.Graphics.ES20.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES20.All target, Int32 index, [OutAttribute] Int32[] data); /// [requires: EXT_multiview_draw_buffers] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static - void GetInteger(OpenTK.Graphics.ES20.All target, Int32 index, [OutAttribute] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetIntegeri_vEXT((OpenTK.Graphics.ES20.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES20.All target, Int32 index, [OutAttribute] out Int32 data); /// [requires: EXT_multiview_draw_buffers] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static - unsafe void GetInteger(OpenTK.Graphics.ES20.All target, Int32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegeri_vEXT((OpenTK.Graphics.ES20.GetIndexedPName)target, (UInt32)index, (Int32*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger(OpenTK.Graphics.ES20.All target, Int32 index, [OutAttribute] Int32* data); /// [requires: EXT_multiview_draw_buffers] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static - void GetInteger(OpenTK.Graphics.ES20.All target, UInt32 index, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegeri_vEXT((OpenTK.Graphics.ES20.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES20.All target, UInt32 index, [OutAttribute] Int32[] data); /// [requires: EXT_multiview_draw_buffers] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static - void GetInteger(OpenTK.Graphics.ES20.All target, UInt32 index, [OutAttribute] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetIntegeri_vEXT((OpenTK.Graphics.ES20.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES20.All target, UInt32 index, [OutAttribute] out Int32 data); /// [requires: EXT_multiview_draw_buffers] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static - unsafe void GetInteger(OpenTK.Graphics.ES20.All target, UInt32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegeri_vEXT((OpenTK.Graphics.ES20.GetIndexedPName)target, (UInt32)index, (Int32*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger(OpenTK.Graphics.ES20.All target, UInt32 index, [OutAttribute] Int32* data); /// [requires: EXT_multiview_draw_buffers] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static - void GetInteger(OpenTK.Graphics.ES20.GetIndexedPName target, Int32 index, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegeri_vEXT((OpenTK.Graphics.ES20.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES20.GetIndexedPName target, Int32 index, [OutAttribute] Int32[] data); /// [requires: EXT_multiview_draw_buffers] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static - void GetInteger(OpenTK.Graphics.ES20.GetIndexedPName target, Int32 index, [OutAttribute] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetIntegeri_vEXT((OpenTK.Graphics.ES20.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES20.GetIndexedPName target, Int32 index, [OutAttribute] out Int32 data); /// [requires: EXT_multiview_draw_buffers] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static - unsafe void GetInteger(OpenTK.Graphics.ES20.GetIndexedPName target, Int32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegeri_vEXT((OpenTK.Graphics.ES20.GetIndexedPName)target, (UInt32)index, (Int32*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger(OpenTK.Graphics.ES20.GetIndexedPName target, Int32 index, [OutAttribute] Int32* data); /// [requires: EXT_multiview_draw_buffers] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static - void GetInteger(OpenTK.Graphics.ES20.GetIndexedPName target, UInt32 index, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegeri_vEXT((OpenTK.Graphics.ES20.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES20.GetIndexedPName target, UInt32 index, [OutAttribute] Int32[] data); /// [requires: EXT_multiview_draw_buffers] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static - void GetInteger(OpenTK.Graphics.ES20.GetIndexedPName target, UInt32 index, [OutAttribute] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetIntegeri_vEXT((OpenTK.Graphics.ES20.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES20.GetIndexedPName target, UInt32 index, [OutAttribute] out Int32 data); /// [requires: EXT_multiview_draw_buffers] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static - unsafe void GetInteger(OpenTK.Graphics.ES20.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegeri_vEXT((OpenTK.Graphics.ES20.GetIndexedPName)target, (UInt32)index, (Int32*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger(OpenTK.Graphics.ES20.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data); /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static - void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetnUniformfvEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Single[] @params); /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static - void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetnUniformfvEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] out Single @params); /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static - unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnUniformfvEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params); /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static - void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetnUniformfvEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single[] @params); /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static - void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetnUniformfvEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] out Single @params); /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static - unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnUniformfvEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params); /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static - void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetnUniformivEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32[] @params); /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static - void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetnUniformivEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] out Int32 @params); /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static - unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnUniformivEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params); /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static - void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetnUniformivEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32[] @params); /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static - void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetnUniformivEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] out Int32 @params); /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static - unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnUniformivEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params); /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -38008,24 +23586,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static - void GetObjectLabel(OpenTK.Graphics.ES20.All type, Int32 @object, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectLabelEXT((OpenTK.Graphics.ES20.All)type, (UInt32)@object, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES20.All type, Int32 @object, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -38056,25 +23617,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static - void GetObjectLabel(OpenTK.Graphics.ES20.All type, Int32 @object, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectLabelEXT((OpenTK.Graphics.ES20.All)type, (UInt32)@object, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES20.All type, Int32 @object, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -38106,18 +23649,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static - unsafe void GetObjectLabel(OpenTK.Graphics.ES20.All type, Int32 @object, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectLabelEXT((OpenTK.Graphics.ES20.All)type, (UInt32)@object, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectLabel(OpenTK.Graphics.ES20.All type, Int32 @object, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -38149,24 +23681,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static - void GetObjectLabel(OpenTK.Graphics.ES20.All type, UInt32 @object, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectLabelEXT((OpenTK.Graphics.ES20.All)type, (UInt32)@object, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES20.All type, UInt32 @object, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -38198,25 +23713,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static - void GetObjectLabel(OpenTK.Graphics.ES20.All type, UInt32 @object, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectLabelEXT((OpenTK.Graphics.ES20.All)type, (UInt32)@object, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES20.All type, UInt32 @object, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -38248,18 +23745,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static - unsafe void GetObjectLabel(OpenTK.Graphics.ES20.All type, UInt32 @object, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectLabelEXT((OpenTK.Graphics.ES20.All)type, (UInt32)@object, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectLabel(OpenTK.Graphics.ES20.All type, UInt32 @object, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -38285,24 +23771,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static - void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetProgramPipelineInfoLogEXT((UInt32)pipeline, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder infoLog); /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -38328,25 +23797,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static - void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetProgramPipelineInfoLogEXT((UInt32)pipeline, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog); /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -38373,18 +23824,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static - unsafe void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramPipelineInfoLogEXT((UInt32)pipeline, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -38411,24 +23851,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static - void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetProgramPipelineInfoLogEXT((UInt32)pipeline, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder infoLog); /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -38455,25 +23878,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static - void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetProgramPipelineInfoLogEXT((UInt32)pipeline, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog); /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -38500,18 +23905,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static - unsafe void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramPipelineInfoLogEXT((UInt32)pipeline, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -38532,24 +23926,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static - void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramPipelineivEXT((UInt32)pipeline, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params); /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -38570,25 +23947,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static - void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramPipelineivEXT((UInt32)pipeline, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params); /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -38610,18 +23969,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static - unsafe void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramPipelineivEXT((UInt32)pipeline, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params); /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -38643,24 +23991,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static - void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramPipelineivEXT((UInt32)pipeline, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params); /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -38682,25 +24013,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static - void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramPipelineivEXT((UInt32)pipeline, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params); /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -38722,139 +24035,36 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static - unsafe void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramPipelineivEXT((UInt32)pipeline, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryivEXT")] - public static - void GetQuery(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryivEXT((OpenTK.Graphics.ES20.QueryTarget)target, (OpenTK.Graphics.ES20.GetQueryParam)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQuery(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryivEXT")] - public static - void GetQuery(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryivEXT((OpenTK.Graphics.ES20.QueryTarget)target, (OpenTK.Graphics.ES20.GetQueryParam)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQuery(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryivEXT")] - public static - unsafe void GetQuery(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryivEXT((OpenTK.Graphics.ES20.QueryTarget)target, (OpenTK.Graphics.ES20.GetQueryParam)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQuery(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryivEXT")] - public static - void GetQuery(OpenTK.Graphics.ES20.QueryTarget target, OpenTK.Graphics.ES20.GetQueryParam pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryivEXT((OpenTK.Graphics.ES20.QueryTarget)target, (OpenTK.Graphics.ES20.GetQueryParam)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQuery(OpenTK.Graphics.ES20.QueryTarget target, OpenTK.Graphics.ES20.GetQueryParam pname, [OutAttribute] Int32[] @params); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryivEXT")] - public static - void GetQuery(OpenTK.Graphics.ES20.QueryTarget target, OpenTK.Graphics.ES20.GetQueryParam pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryivEXT((OpenTK.Graphics.ES20.QueryTarget)target, (OpenTK.Graphics.ES20.GetQueryParam)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQuery(OpenTK.Graphics.ES20.QueryTarget target, OpenTK.Graphics.ES20.GetQueryParam pname, [OutAttribute] out Int32 @params); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryivEXT")] - public static - unsafe void GetQuery(OpenTK.Graphics.ES20.QueryTarget target, OpenTK.Graphics.ES20.GetQueryParam pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryivEXT((OpenTK.Graphics.ES20.QueryTarget)target, (OpenTK.Graphics.ES20.GetQueryParam)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQuery(OpenTK.Graphics.ES20.QueryTarget target, OpenTK.Graphics.ES20.GetQueryParam pname, [OutAttribute] Int32* @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -38876,24 +24086,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int64[] @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -38915,25 +24108,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int64 @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -38956,18 +24131,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (Int64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int64* @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -38988,24 +24152,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] Int64[] @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39026,25 +24173,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] out Int64 @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39066,18 +24195,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (Int64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] Int64* @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39100,24 +24218,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int64[] @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39140,25 +24241,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int64 @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39181,18 +24264,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (Int64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int64* @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39214,24 +24286,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] Int64[] @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39253,25 +24308,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] out Int64 @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39293,18 +24330,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (Int64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] Int64* @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39326,24 +24352,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39365,25 +24374,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39406,18 +24397,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static - unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39438,24 +24418,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] Int32[] @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39476,25 +24439,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] out Int32 @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39516,18 +24461,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static - unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] Int32* @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39550,24 +24484,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39590,25 +24507,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39631,18 +24530,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39664,24 +24552,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] Int32[] @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39703,25 +24574,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] out Int32 @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39743,18 +24596,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] Int32* @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39777,24 +24619,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] UInt64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = @params) - { - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (UInt64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] UInt64[] @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39817,25 +24642,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] out UInt64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = &@params) - { - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (UInt64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] out UInt64 @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39858,18 +24665,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] UInt64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (UInt64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] UInt64* @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39891,24 +24687,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] UInt64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = @params) - { - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (UInt64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] UInt64[] @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39930,25 +24709,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] out UInt64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = &@params) - { - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (UInt64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] out UInt64 @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -39970,18 +24731,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] UInt64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (UInt64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] UInt64* @params); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Return parameters of a query object @@ -40004,24 +24754,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryObjectuivEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetQueryObjectuivEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] UInt32[] @params); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Return parameters of a query object @@ -40044,25 +24777,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryObjectuivEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectuivEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] out UInt32 @params); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Return parameters of a query object @@ -40085,18 +24800,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryObjectuivEXT")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectuivEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] UInt32* @params); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Return parameters of a query object @@ -40118,24 +24822,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryObjectuivEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetQueryObjectuivEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] UInt32[] @params); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Return parameters of a query object @@ -40157,25 +24844,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryObjectuivEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectuivEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] out UInt32 @params); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Return parameters of a query object @@ -40197,33 +24866,11 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryObjectuivEXT")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectuivEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] UInt32* @params); /// [requires: EXT_debug_marker] [AutoGenerated(Category = "EXT_debug_marker", Version = "", EntryPoint = "glInsertEventMarkerEXT")] - public static - void InsertEventMarker(Int32 length, String marker) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInsertEventMarkerEXT((Int32)length, (String)marker); - #if DEBUG - } - #endif - } + public static extern void InsertEventMarker(Int32 length, String marker); /// [requires: EXT_separate_shader_objects] /// Determine if a name corresponds to a program pipeline object @@ -40234,18 +24881,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glIsProgramPipelineEXT")] - public static - bool IsProgramPipeline(Int32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsProgramPipelineEXT((UInt32)pipeline); - #if DEBUG - } - #endif - } + public static extern bool IsProgramPipeline(Int32 pipeline); /// [requires: EXT_separate_shader_objects] /// Determine if a name corresponds to a program pipeline object @@ -40257,18 +24893,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glIsProgramPipelineEXT")] - public static - bool IsProgramPipeline(UInt32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsProgramPipelineEXT((UInt32)pipeline); - #if DEBUG - } - #endif - } + public static extern bool IsProgramPipeline(UInt32 pipeline); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Determine if a name corresponds to a query object @@ -40279,18 +24904,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glIsQueryEXT")] - public static - bool IsQuery(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsQueryEXT((UInt32)id); - #if DEBUG - } - #endif - } + public static extern bool IsQuery(Int32 id); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Determine if a name corresponds to a query object @@ -40302,49 +24916,16 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glIsQueryEXT")] - public static - bool IsQuery(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsQueryEXT((UInt32)id); - #if DEBUG - } - #endif - } + public static extern bool IsQuery(UInt32 id); /// [requires: EXT_debug_label] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glLabelObjectEXT")] - public static - void LabelObject(OpenTK.Graphics.ES20.All type, Int32 @object, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLabelObjectEXT((OpenTK.Graphics.ES20.All)type, (UInt32)@object, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void LabelObject(OpenTK.Graphics.ES20.All type, Int32 @object, Int32 length, String label); /// [requires: EXT_debug_label] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glLabelObjectEXT")] - public static - void LabelObject(OpenTK.Graphics.ES20.All type, UInt32 @object, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLabelObjectEXT((OpenTK.Graphics.ES20.All)type, (UInt32)@object, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void LabelObject(OpenTK.Graphics.ES20.All type, UInt32 @object, Int32 length, String label); /// [requires: EXT_map_buffer_range] /// Map a section of a buffer object's data store @@ -40371,18 +24952,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glMapBufferRangeEXT")] - public static - IntPtr MapBufferRange(OpenTK.Graphics.ES20.All target, IntPtr offset, IntPtr length, Int32 access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glMapBufferRangeEXT((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (UInt32)access); - #if DEBUG - } - #endif - } + public static extern IntPtr MapBufferRange(OpenTK.Graphics.ES20.All target, IntPtr offset, IntPtr length, Int32 access); /// [requires: EXT_map_buffer_range] /// Map a section of a buffer object's data store @@ -40410,18 +24980,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glMapBufferRangeEXT")] - public static - IntPtr MapBufferRange(OpenTK.Graphics.ES20.All target, IntPtr offset, IntPtr length, UInt32 access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glMapBufferRangeEXT((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (UInt32)access); - #if DEBUG - } - #endif - } + public static extern IntPtr MapBufferRange(OpenTK.Graphics.ES20.All target, IntPtr offset, IntPtr length, UInt32 access); /// [requires: EXT_map_buffer_range] /// Map a section of a buffer object's data store @@ -40447,18 +25006,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glMapBufferRangeEXT")] - public static - IntPtr MapBufferRange(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr length, Int32 access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glMapBufferRangeEXT((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (UInt32)access); - #if DEBUG - } - #endif - } + public static extern IntPtr MapBufferRange(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr length, Int32 access); /// [requires: EXT_map_buffer_range] /// Map a section of a buffer object's data store @@ -40485,18 +25033,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glMapBufferRangeEXT")] - public static - IntPtr MapBufferRange(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr length, UInt32 access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glMapBufferRangeEXT((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (UInt32)access); - #if DEBUG - } - #endif - } + public static extern IntPtr MapBufferRange(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr length, UInt32 access); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -40523,25 +25060,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static - void MultiDrawArrays(OpenTK.Graphics.ES20.All mode, Int32[] first, Int32[] count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = first) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawArrays(OpenTK.Graphics.ES20.All mode, Int32[] first, Int32[] count, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -40568,25 +25087,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static - void MultiDrawArrays(OpenTK.Graphics.ES20.All mode, ref Int32 first, ref Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = &first) - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawArrays(OpenTK.Graphics.ES20.All mode, ref Int32 first, ref Int32 count, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -40614,18 +25115,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static - unsafe void MultiDrawArrays(OpenTK.Graphics.ES20.All mode, Int32* first, Int32* count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)first, (Int32*)count, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiDrawArrays(OpenTK.Graphics.ES20.All mode, Int32* first, Int32* count, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -40651,25 +25141,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static - void MultiDrawArrays(OpenTK.Graphics.ES20.PrimitiveType mode, Int32[] first, Int32[] count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = first) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawArrays(OpenTK.Graphics.ES20.PrimitiveType mode, Int32[] first, Int32[] count, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -40695,25 +25167,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static - void MultiDrawArrays(OpenTK.Graphics.ES20.PrimitiveType mode, ref Int32 first, ref Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = &first) - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawArrays(OpenTK.Graphics.ES20.PrimitiveType mode, ref Int32 first, ref Int32 count, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -40740,18 +25194,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static - unsafe void MultiDrawArrays(OpenTK.Graphics.ES20.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)first, (Int32*)count, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiDrawArrays(OpenTK.Graphics.ES20.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -40783,24 +25226,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32[] count, OpenTK.Graphics.ES20.All type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32[] count, OpenTK.Graphics.ES20.All type, IntPtr indices, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -40832,33 +25258,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32[] count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32[] count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -40890,33 +25292,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32[] count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32[] count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -40948,33 +25326,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32[] count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32[] count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -41006,34 +25360,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32[] count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32[] count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -41065,24 +25394,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES20.All mode, ref Int32 count, OpenTK.Graphics.ES20.All type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawElements(OpenTK.Graphics.ES20.All mode, ref Int32 count, OpenTK.Graphics.ES20.All type, IntPtr indices, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -41114,33 +25426,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES20.All mode, ref Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES20.All mode, ref Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -41172,33 +25460,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES20.All mode, ref Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES20.All mode, ref Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -41230,33 +25494,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES20.All mode, ref Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES20.All mode, ref Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -41288,34 +25528,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES20.All mode, ref Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES20.All mode, ref Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -41348,18 +25563,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32* count, OpenTK.Graphics.ES20.All type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32* count, OpenTK.Graphics.ES20.All type, IntPtr indices, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -41392,27 +25596,9 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32* count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32* count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -41445,27 +25631,9 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32* count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32* count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -41498,27 +25666,9 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32* count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32* count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -41551,28 +25701,9 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32* count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32* count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -41603,24 +25734,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -41651,33 +25765,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -41708,33 +25798,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -41765,33 +25831,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -41822,34 +25864,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -41880,24 +25897,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -41928,33 +25928,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -41985,33 +25961,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -42042,33 +25994,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -42099,34 +26027,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -42158,18 +26061,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -42201,27 +26093,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -42253,27 +26127,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -42305,27 +26161,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -42357,43 +26195,13 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_debug_marker] [AutoGenerated(Category = "EXT_debug_marker", Version = "", EntryPoint = "glPopGroupMarkerEXT")] - public static - void PopGroupMarker() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPopGroupMarkerEXT(); - #if DEBUG - } - #endif - } + public static extern void PopGroupMarker(); /// [requires: EXT_separate_shader_objects] /// Specify a parameter for a program object @@ -42415,18 +26223,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramParameteriEXT")] - public static - void ProgramParameter(Int32 program, OpenTK.Graphics.ES20.All pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameteriEXT((UInt32)program, (OpenTK.Graphics.ES20.ProgramParameterName)pname, (Int32)value); - #if DEBUG - } - #endif - } + public static extern void ProgramParameter(Int32 program, OpenTK.Graphics.ES20.All pname, Int32 value); /// [requires: EXT_separate_shader_objects] /// Specify a parameter for a program object @@ -42447,18 +26244,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramParameteriEXT")] - public static - void ProgramParameter(Int32 program, OpenTK.Graphics.ES20.ProgramParameterName pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameteriEXT((UInt32)program, (OpenTK.Graphics.ES20.ProgramParameterName)pname, (Int32)value); - #if DEBUG - } - #endif - } + public static extern void ProgramParameter(Int32 program, OpenTK.Graphics.ES20.ProgramParameterName pname, Int32 value); /// [requires: EXT_separate_shader_objects] /// Specify a parameter for a program object @@ -42481,18 +26267,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramParameteriEXT")] - public static - void ProgramParameter(UInt32 program, OpenTK.Graphics.ES20.All pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameteriEXT((UInt32)program, (OpenTK.Graphics.ES20.ProgramParameterName)pname, (Int32)value); - #if DEBUG - } - #endif - } + public static extern void ProgramParameter(UInt32 program, OpenTK.Graphics.ES20.All pname, Int32 value); /// [requires: EXT_separate_shader_objects] /// Specify a parameter for a program object @@ -42514,18 +26289,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramParameteriEXT")] - public static - void ProgramParameter(UInt32 program, OpenTK.Graphics.ES20.ProgramParameterName pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameteriEXT((UInt32)program, (OpenTK.Graphics.ES20.ProgramParameterName)pname, (Int32)value); - #if DEBUG - } - #endif - } + public static extern void ProgramParameter(UInt32 program, OpenTK.Graphics.ES20.ProgramParameterName pname, Int32 value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -42564,18 +26328,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fEXT")] - public static - void ProgramUniform1(Int32 program, Int32 location, Single v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1fEXT((UInt32)program, (Int32)location, (Single)v0); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Single v0); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -42615,18 +26368,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Single v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1fEXT((UInt32)program, (Int32)location, (Single)v0); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Single v0); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -42665,24 +26407,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static - void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -42721,24 +26446,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static - void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Single value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -42778,18 +26486,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static - unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -42829,24 +26526,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -42886,24 +26566,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Single value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -42943,18 +26606,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static - unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -42993,18 +26645,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1iEXT")] - public static - void ProgramUniform1(Int32 program, Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1iEXT((UInt32)program, (Int32)location, (Int32)v0); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 v0); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43044,18 +26685,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1iEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1iEXT((UInt32)program, (Int32)location, (Int32)v0); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 v0); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43094,24 +26724,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static - void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43150,24 +26763,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static - void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Int32 value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43207,18 +26803,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static - unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43258,24 +26843,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43315,24 +26883,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Int32 value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43372,18 +26923,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static - unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43423,18 +26963,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1uiEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, UInt32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1uiEXT((UInt32)program, (Int32)location, (UInt32)v0); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, UInt32 v0); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43474,24 +27003,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1uivEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glProgramUniform1uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43531,24 +27043,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1uivEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glProgramUniform1uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref UInt32 value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43588,18 +27083,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1uivEXT")] - public static - unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43638,18 +27122,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fEXT")] - public static - void ProgramUniform2(Int32 program, Int32 location, Single v0, Single v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Single v0, Single v1); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43689,18 +27162,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Single v0, Single v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Single v0, Single v1); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43739,24 +27201,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43795,24 +27240,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, ref Single value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43852,18 +27280,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static - unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43903,24 +27320,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -43960,24 +27360,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref Single value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44017,18 +27400,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static - unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44067,18 +27439,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2iEXT")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 v0, Int32 v1); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44118,18 +27479,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2iEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 v0, Int32 v1); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44168,24 +27518,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2ivEXT")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44225,18 +27558,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2ivEXT")] - public static - unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44276,24 +27598,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2ivEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44333,18 +27638,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2ivEXT")] - public static - unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44384,18 +27678,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2uiEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, UInt32 v0, UInt32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, UInt32 v0, UInt32 v1); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44435,24 +27718,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2uivEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glProgramUniform2uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44492,24 +27758,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2uivEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glProgramUniform2uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref UInt32 value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44549,18 +27798,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2uivEXT")] - public static - unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44599,18 +27837,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fEXT")] - public static - void ProgramUniform3(Int32 program, Int32 location, Single v0, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Single v0, Single v1, Single v2); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44650,18 +27877,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Single v0, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Single v0, Single v1, Single v2); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44700,24 +27916,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44756,24 +27955,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Single value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44813,18 +27995,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static - unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44864,24 +28035,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44921,24 +28075,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Single value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -44978,18 +28115,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static - unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45028,18 +28154,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3iEXT")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45079,18 +28194,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3iEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45129,24 +28233,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45185,24 +28272,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Int32 value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45242,18 +28312,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static - unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45293,24 +28352,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45350,24 +28392,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Int32 value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45407,18 +28432,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static - unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45458,18 +28472,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3uiEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45509,24 +28512,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3uivEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glProgramUniform3uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45566,24 +28552,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3uivEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glProgramUniform3uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref UInt32 value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45623,18 +28592,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3uivEXT")] - public static - unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45673,18 +28631,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fEXT")] - public static - void ProgramUniform4(Int32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Single v0, Single v1, Single v2, Single v3); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45724,18 +28671,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45774,24 +28710,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45830,24 +28749,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Single value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45887,18 +28789,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static - unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45938,24 +28829,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -45995,24 +28869,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Single value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -46052,18 +28909,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static - unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -46102,18 +28948,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4iEXT")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -46153,18 +28988,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4iEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -46203,24 +29027,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -46259,24 +29066,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Int32 value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -46316,18 +29106,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static - unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -46367,24 +29146,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -46424,24 +29186,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Int32 value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -46481,18 +29226,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static - unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -46532,18 +29266,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4uiEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -46583,24 +29306,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4uivEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glProgramUniform4uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -46640,24 +29346,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4uivEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glProgramUniform4uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref UInt32 value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -46697,1095 +29386,263 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4uivEXT")] - public static - unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32* value); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static - void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static - void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static - unsafe void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static - void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static - void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static - unsafe void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static - void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static - void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static - unsafe void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static - void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static - void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static - unsafe void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static - void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static - void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static - unsafe void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static - void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static - void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static - unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static - void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static - void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static - unsafe void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static - void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static - void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static - unsafe void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static - void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static - void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static - unsafe void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static - void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static - void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static - unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static - void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static - void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static - unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static - void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static - void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static - unsafe void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_separate_shader_objects|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] - public static - void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] - public static - void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] - public static - unsafe void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_separate_shader_objects|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] - public static - void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] - public static - void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] - public static - unsafe void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static - void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static - void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static - unsafe void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static - void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static - void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static - unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static - void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static - void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static - unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static - void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static - void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static - unsafe void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_debug_marker] [AutoGenerated(Category = "EXT_debug_marker", Version = "", EntryPoint = "glPushGroupMarkerEXT")] - public static - void PushGroupMarker(Int32 length, String marker) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPushGroupMarkerEXT((Int32)length, (String)marker); - #if DEBUG - } - #endif - } + public static extern void PushGroupMarker(Int32 length, String marker); /// [requires: EXT_disjoint_timer_query] /// Record the GL time into a query object after all previous commands have reached the GL server but have not yet necessarily executed. @@ -47801,18 +29658,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glQueryCounterEXT")] - public static - void QueryCounter(Int32 id, OpenTK.Graphics.ES20.All target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glQueryCounterEXT((UInt32)id, (OpenTK.Graphics.ES20.All)target); - #if DEBUG - } - #endif - } + public static extern void QueryCounter(Int32 id, OpenTK.Graphics.ES20.All target); /// [requires: EXT_disjoint_timer_query] /// Record the GL time into a query object after all previous commands have reached the GL server but have not yet necessarily executed. @@ -47829,145 +29675,39 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glQueryCounterEXT")] - public static - void QueryCounter(UInt32 id, OpenTK.Graphics.ES20.All target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glQueryCounterEXT((UInt32)id, (OpenTK.Graphics.ES20.All)target); - #if DEBUG - } - #endif - } + public static extern void QueryCounter(UInt32 id, OpenTK.Graphics.ES20.All target); /// [requires: EXT_multiview_draw_buffers] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glReadBufferIndexedEXT")] - public static - void ReadBufferIndexed(OpenTK.Graphics.ES20.All src, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReadBufferIndexedEXT((OpenTK.Graphics.ES20.All)src, (Int32)index); - #if DEBUG - } - #endif - } + public static extern void ReadBufferIndexed(OpenTK.Graphics.ES20.All src, Int32 index); /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")] - public static - void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, Int32 bufSize, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReadnPixelsEXT((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (Int32)bufSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, Int32 bufSize, [OutAttribute] IntPtr data); /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")] - public static - void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, Int32 bufSize, [InAttribute, OutAttribute] T7[] data) + public static extern void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, Int32 bufSize, [InAttribute, OutAttribute] T7[] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glReadnPixelsEXT((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")] - public static - void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, Int32 bufSize, [InAttribute, OutAttribute] T7[,] data) + public static extern void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, Int32 bufSize, [InAttribute, OutAttribute] T7[,] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glReadnPixelsEXT((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")] - public static - void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, Int32 bufSize, [InAttribute, OutAttribute] T7[,,] data) + public static extern void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, Int32 bufSize, [InAttribute, OutAttribute] T7[,,] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glReadnPixelsEXT((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")] - public static - void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, Int32 bufSize, [InAttribute, OutAttribute] ref T7 data) + public static extern void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, Int32 bufSize, [InAttribute, OutAttribute] ref T7 data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glReadnPixelsEXT((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T7)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multisampled_render_to_texture] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -47999,18 +29739,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multisampled_render_to_texture", Version = "", EntryPoint = "glRenderbufferStorageMultisampleEXT")] - public static - void RenderbufferStorageMultisample(OpenTK.Graphics.ES20.All target, Int32 samples, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageMultisampleEXT((OpenTK.Graphics.ES20.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorageMultisample(OpenTK.Graphics.ES20.All target, Int32 samples, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height); /// [requires: EXT_multisampled_render_to_texture] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -48041,18 +29770,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_multisampled_render_to_texture", Version = "", EntryPoint = "glRenderbufferStorageMultisampleEXT")] - public static - void RenderbufferStorageMultisample(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageMultisampleEXT((OpenTK.Graphics.ES20.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorageMultisample(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); /// [requires: EXT_texture_storage] /// Simultaneously specify storage for all levels of a one-dimensional texture @@ -48078,18 +29796,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTexStorage1DEXT")] - public static - void TexStorage1D(OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexStorage1DEXT((OpenTK.Graphics.ES20.All)target, (Int32)levels, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width); - #if DEBUG - } - #endif - } + public static extern void TexStorage1D(OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width); /// [requires: EXT_texture_storage] /// Simultaneously specify storage for all levels of a two-dimensional or one-dimensional array texture @@ -48121,18 +29828,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTexStorage2DEXT")] - public static - void TexStorage2D(OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexStorage2DEXT((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)levels, (OpenTK.Graphics.ES20.SizedInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void TexStorage2D(OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height); /// [requires: EXT_texture_storage] /// Simultaneously specify storage for all levels of a two-dimensional or one-dimensional array texture @@ -48163,18 +29859,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTexStorage2DEXT")] - public static - void TexStorage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES20.SizedInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexStorage2DEXT((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)levels, (OpenTK.Graphics.ES20.SizedInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void TexStorage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES20.SizedInternalFormat internalformat, Int32 width, Int32 height); /// [requires: EXT_texture_storage] /// Simultaneously specify storage for all levels of a three-dimensional, two-dimensional array or cube-map array texture @@ -48211,18 +29896,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTexStorage3DEXT")] - public static - void TexStorage3D(OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexStorage3DEXT((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)levels, (OpenTK.Graphics.ES20.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth); - #if DEBUG - } - #endif - } + public static extern void TexStorage3D(OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth); /// [requires: EXT_texture_storage] /// Simultaneously specify storage for all levels of a three-dimensional, two-dimensional array or cube-map array texture @@ -48258,111 +29932,34 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTexStorage3DEXT")] - public static - void TexStorage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 levels, OpenTK.Graphics.ES20.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexStorage3DEXT((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)levels, (OpenTK.Graphics.ES20.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth); - #if DEBUG - } - #endif - } + public static extern void TexStorage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 levels, OpenTK.Graphics.ES20.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth); /// [requires: EXT_texture_storage] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage1DEXT")] - public static - void TextureStorage1D(Int32 texture, OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureStorage1DEXT((UInt32)texture, (OpenTK.Graphics.ES20.All)target, (Int32)levels, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width); - #if DEBUG - } - #endif - } + public static extern void TextureStorage1D(Int32 texture, OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width); /// [requires: EXT_texture_storage] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage1DEXT")] - public static - void TextureStorage1D(UInt32 texture, OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureStorage1DEXT((UInt32)texture, (OpenTK.Graphics.ES20.All)target, (Int32)levels, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width); - #if DEBUG - } - #endif - } + public static extern void TextureStorage1D(UInt32 texture, OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width); /// [requires: EXT_texture_storage] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage2DEXT")] - public static - void TextureStorage2D(Int32 texture, OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureStorage2DEXT((UInt32)texture, (OpenTK.Graphics.ES20.All)target, (Int32)levels, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void TextureStorage2D(Int32 texture, OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height); /// [requires: EXT_texture_storage] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage2DEXT")] - public static - void TextureStorage2D(UInt32 texture, OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureStorage2DEXT((UInt32)texture, (OpenTK.Graphics.ES20.All)target, (Int32)levels, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void TextureStorage2D(UInt32 texture, OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height); /// [requires: EXT_texture_storage] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage3DEXT")] - public static - void TextureStorage3D(Int32 texture, OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureStorage3DEXT((UInt32)texture, (OpenTK.Graphics.ES20.All)target, (Int32)levels, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height, (Int32)depth); - #if DEBUG - } - #endif - } + public static extern void TextureStorage3D(Int32 texture, OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth); /// [requires: EXT_texture_storage] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage3DEXT")] - public static - void TextureStorage3D(UInt32 texture, OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureStorage3DEXT((UInt32)texture, (OpenTK.Graphics.ES20.All)target, (Int32)levels, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height, (Int32)depth); - #if DEBUG - } - #endif - } + public static extern void TextureStorage3D(UInt32 texture, OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth); /// [requires: EXT_separate_shader_objects] /// Bind stages of a program object to a program pipeline @@ -48383,18 +29980,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glUseProgramStagesEXT")] - public static - void UseProgramStages(Int32 pipeline, Int32 stages, Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUseProgramStagesEXT((UInt32)pipeline, (UInt32)stages, (UInt32)program); - #if DEBUG - } - #endif - } + public static extern void UseProgramStages(Int32 pipeline, Int32 stages, Int32 program); /// [requires: EXT_separate_shader_objects] /// Bind stages of a program object to a program pipeline @@ -48416,49 +30002,16 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glUseProgramStagesEXT")] - public static - void UseProgramStages(UInt32 pipeline, UInt32 stages, UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUseProgramStagesEXT((UInt32)pipeline, (UInt32)stages, (UInt32)program); - #if DEBUG - } - #endif - } + public static extern void UseProgramStages(UInt32 pipeline, UInt32 stages, UInt32 program); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glUseShaderProgramEXT")] - public static - void UseShaderProgram(OpenTK.Graphics.ES20.All type, Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUseShaderProgramEXT((OpenTK.Graphics.ES20.All)type, (UInt32)program); - #if DEBUG - } - #endif - } + public static extern void UseShaderProgram(OpenTK.Graphics.ES20.All type, Int32 program); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glUseShaderProgramEXT")] - public static - void UseShaderProgram(OpenTK.Graphics.ES20.All type, UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUseShaderProgramEXT((OpenTK.Graphics.ES20.All)type, (UInt32)program); - #if DEBUG - } - #endif - } + public static extern void UseShaderProgram(OpenTK.Graphics.ES20.All type, UInt32 program); /// [requires: EXT_separate_shader_objects] /// Validate a program pipeline object against current GL state @@ -48469,18 +30022,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glValidateProgramPipelineEXT")] - public static - void ValidateProgramPipeline(Int32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glValidateProgramPipelineEXT((UInt32)pipeline); - #if DEBUG - } - #endif - } + public static extern void ValidateProgramPipeline(Int32 pipeline); /// [requires: EXT_separate_shader_objects] /// Validate a program pipeline object against current GL state @@ -48492,18 +30034,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glValidateProgramPipelineEXT")] - public static - void ValidateProgramPipeline(UInt32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glValidateProgramPipelineEXT((UInt32)pipeline); - #if DEBUG - } - #endif - } + public static extern void ValidateProgramPipeline(UInt32 pipeline); /// [requires: EXT_instanced_arrays] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -48519,18 +30050,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "EXT_instanced_arrays", Version = "", EntryPoint = "glVertexAttribDivisorEXT")] - public static - void VertexAttribDivisor(Int32 index, Int32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribDivisorEXT((UInt32)index, (UInt32)divisor); - #if DEBUG - } - #endif - } + public static extern void VertexAttribDivisor(Int32 index, Int32 divisor); /// [requires: EXT_instanced_arrays] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -48547,18 +30067,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_instanced_arrays", Version = "", EntryPoint = "glVertexAttribDivisorEXT")] - public static - void VertexAttribDivisor(UInt32 index, UInt32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribDivisorEXT((UInt32)index, (UInt32)divisor); - #if DEBUG - } - #endif - } + public static extern void VertexAttribDivisor(UInt32 index, UInt32 divisor); } @@ -48566,34 +30075,12 @@ namespace OpenTK.Graphics.ES20 { /// [requires: IMG_multisampled_render_to_texture] [AutoGenerated(Category = "IMG_multisampled_render_to_texture", Version = "", EntryPoint = "glFramebufferTexture2DMultisampleIMG")] - public static - void FramebufferTexture2DMultisample(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, Int32 texture, Int32 level, Int32 samples) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2DMultisampleIMG((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture2DMultisample(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, Int32 texture, Int32 level, Int32 samples); /// [requires: IMG_multisampled_render_to_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "IMG_multisampled_render_to_texture", Version = "", EntryPoint = "glFramebufferTexture2DMultisampleIMG")] - public static - void FramebufferTexture2DMultisample(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, UInt32 texture, Int32 level, Int32 samples) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2DMultisampleIMG((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture2DMultisample(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, UInt32 texture, Int32 level, Int32 samples); /// [requires: IMG_multisampled_render_to_texture] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -48625,18 +30112,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "IMG_multisampled_render_to_texture", Version = "", EntryPoint = "glRenderbufferStorageMultisampleIMG")] - public static - void RenderbufferStorageMultisample(OpenTK.Graphics.ES20.All target, Int32 samples, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageMultisampleIMG((OpenTK.Graphics.ES20.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorageMultisample(OpenTK.Graphics.ES20.All target, Int32 samples, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height); /// [requires: IMG_multisampled_render_to_texture] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -48667,18 +30143,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "IMG_multisampled_render_to_texture", Version = "", EntryPoint = "glRenderbufferStorageMultisampleIMG")] - public static - void RenderbufferStorageMultisample(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageMultisampleIMG((OpenTK.Graphics.ES20.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorageMultisample(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); } @@ -48698,18 +30163,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static - void DebugMessageCallback(DebugProcKhr callback, IntPtr userParam) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageCallbackKHR((DebugProcKhr)callback, (IntPtr)userParam); - #if DEBUG - } - #endif - } + public static extern void DebugMessageCallback(DebugProcKhr callback, IntPtr userParam); /// [requires: KHR_debug] /// Specify a callback to receive debugging messages from the GL @@ -48725,27 +30179,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static - void DebugMessageCallback(DebugProcKhr callback, [InAttribute, OutAttribute] T1[] userParam) + public static extern void DebugMessageCallback(DebugProcKhr callback, [InAttribute, OutAttribute] T1[] userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallbackKHR((DebugProcKhr)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Specify a callback to receive debugging messages from the GL @@ -48761,27 +30197,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static - void DebugMessageCallback(DebugProcKhr callback, [InAttribute, OutAttribute] T1[,] userParam) + public static extern void DebugMessageCallback(DebugProcKhr callback, [InAttribute, OutAttribute] T1[,] userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallbackKHR((DebugProcKhr)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Specify a callback to receive debugging messages from the GL @@ -48797,27 +30215,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static - void DebugMessageCallback(DebugProcKhr callback, [InAttribute, OutAttribute] T1[,,] userParam) + public static extern void DebugMessageCallback(DebugProcKhr callback, [InAttribute, OutAttribute] T1[,,] userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallbackKHR((DebugProcKhr)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Specify a callback to receive debugging messages from the GL @@ -48833,28 +30233,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static - void DebugMessageCallback(DebugProcKhr callback, [InAttribute, OutAttribute] ref T1 userParam) + public static extern void DebugMessageCallback(DebugProcKhr callback, [InAttribute, OutAttribute] ref T1 userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallbackKHR((DebugProcKhr)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - userParam = (T1)userParam_ptr.Target; - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -48891,24 +30272,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - void DebugMessageControl(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, OpenTK.Graphics.ES20.All severity, Int32 count, Int32[] ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, OpenTK.Graphics.ES20.All severity, Int32 count, Int32[] ids, bool enabled); /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -48945,24 +30309,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - void DebugMessageControl(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, OpenTK.Graphics.ES20.All severity, Int32 count, ref Int32 ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, OpenTK.Graphics.ES20.All severity, Int32 count, ref Int32 ids, bool enabled); /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -49000,18 +30347,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - unsafe void DebugMessageControl(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, OpenTK.Graphics.ES20.All severity, Int32 count, Int32* ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - #if DEBUG - } - #endif - } + public static extern unsafe void DebugMessageControl(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, OpenTK.Graphics.ES20.All severity, Int32 count, Int32* ids, bool enabled); /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -49049,24 +30385,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - void DebugMessageControl(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, OpenTK.Graphics.ES20.All severity, Int32 count, UInt32[] ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, OpenTK.Graphics.ES20.All severity, Int32 count, UInt32[] ids, bool enabled); /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -49104,24 +30423,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - void DebugMessageControl(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, OpenTK.Graphics.ES20.All severity, Int32 count, ref UInt32 ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, OpenTK.Graphics.ES20.All severity, Int32 count, ref UInt32 ids, bool enabled); /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -49159,18 +30461,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - unsafe void DebugMessageControl(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, OpenTK.Graphics.ES20.All severity, Int32 count, UInt32* ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - #if DEBUG - } - #endif - } + public static extern unsafe void DebugMessageControl(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, OpenTK.Graphics.ES20.All severity, Int32 count, UInt32* ids, bool enabled); /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -49206,24 +30497,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - void DebugMessageControl(OpenTK.Graphics.ES20.DebugSourceControl source, OpenTK.Graphics.ES20.DebugTypeControl type, OpenTK.Graphics.ES20.DebugSeverityControl severity, Int32 count, Int32[] ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.ES20.DebugSourceControl source, OpenTK.Graphics.ES20.DebugTypeControl type, OpenTK.Graphics.ES20.DebugSeverityControl severity, Int32 count, Int32[] ids, bool enabled); /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -49259,24 +30533,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - void DebugMessageControl(OpenTK.Graphics.ES20.DebugSourceControl source, OpenTK.Graphics.ES20.DebugTypeControl type, OpenTK.Graphics.ES20.DebugSeverityControl severity, Int32 count, ref Int32 ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.ES20.DebugSourceControl source, OpenTK.Graphics.ES20.DebugTypeControl type, OpenTK.Graphics.ES20.DebugSeverityControl severity, Int32 count, ref Int32 ids, bool enabled); /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -49313,18 +30570,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - unsafe void DebugMessageControl(OpenTK.Graphics.ES20.DebugSourceControl source, OpenTK.Graphics.ES20.DebugTypeControl type, OpenTK.Graphics.ES20.DebugSeverityControl severity, Int32 count, Int32* ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - #if DEBUG - } - #endif - } + public static extern unsafe void DebugMessageControl(OpenTK.Graphics.ES20.DebugSourceControl source, OpenTK.Graphics.ES20.DebugTypeControl type, OpenTK.Graphics.ES20.DebugSeverityControl severity, Int32 count, Int32* ids, bool enabled); /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -49361,24 +30607,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - void DebugMessageControl(OpenTK.Graphics.ES20.DebugSourceControl source, OpenTK.Graphics.ES20.DebugTypeControl type, OpenTK.Graphics.ES20.DebugSeverityControl severity, Int32 count, UInt32[] ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.ES20.DebugSourceControl source, OpenTK.Graphics.ES20.DebugTypeControl type, OpenTK.Graphics.ES20.DebugSeverityControl severity, Int32 count, UInt32[] ids, bool enabled); /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -49415,24 +30644,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - void DebugMessageControl(OpenTK.Graphics.ES20.DebugSourceControl source, OpenTK.Graphics.ES20.DebugTypeControl type, OpenTK.Graphics.ES20.DebugSeverityControl severity, Int32 count, ref UInt32 ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.ES20.DebugSourceControl source, OpenTK.Graphics.ES20.DebugTypeControl type, OpenTK.Graphics.ES20.DebugSeverityControl severity, Int32 count, ref UInt32 ids, bool enabled); /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -49469,18 +30681,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - unsafe void DebugMessageControl(OpenTK.Graphics.ES20.DebugSourceControl source, OpenTK.Graphics.ES20.DebugTypeControl type, OpenTK.Graphics.ES20.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - #if DEBUG - } - #endif - } + public static extern unsafe void DebugMessageControl(OpenTK.Graphics.ES20.DebugSourceControl source, OpenTK.Graphics.ES20.DebugTypeControl type, OpenTK.Graphics.ES20.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled); /// [requires: KHR_debug] /// Inject an application-supplied message into the debug message queue @@ -49517,18 +30718,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsertKHR")] - public static - void DebugMessageInsert(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, Int32 id, OpenTK.Graphics.ES20.All severity, Int32 length, String buf) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageInsertKHR((OpenTK.Graphics.ES20.DebugSourceExternal)source, (OpenTK.Graphics.ES20.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES20.DebugSeverity)severity, (Int32)length, (String)buf); - #if DEBUG - } - #endif - } + public static extern void DebugMessageInsert(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, Int32 id, OpenTK.Graphics.ES20.All severity, Int32 length, String buf); /// [requires: KHR_debug] /// Inject an application-supplied message into the debug message queue @@ -49566,18 +30756,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsertKHR")] - public static - void DebugMessageInsert(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, UInt32 id, OpenTK.Graphics.ES20.All severity, Int32 length, String buf) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageInsertKHR((OpenTK.Graphics.ES20.DebugSourceExternal)source, (OpenTK.Graphics.ES20.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES20.DebugSeverity)severity, (Int32)length, (String)buf); - #if DEBUG - } - #endif - } + public static extern void DebugMessageInsert(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, UInt32 id, OpenTK.Graphics.ES20.All severity, Int32 length, String buf); /// [requires: KHR_debug] /// Inject an application-supplied message into the debug message queue @@ -49613,18 +30792,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsertKHR")] - public static - void DebugMessageInsert(OpenTK.Graphics.ES20.DebugSourceExternal source, OpenTK.Graphics.ES20.DebugType type, Int32 id, OpenTK.Graphics.ES20.DebugSeverity severity, Int32 length, String buf) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageInsertKHR((OpenTK.Graphics.ES20.DebugSourceExternal)source, (OpenTK.Graphics.ES20.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES20.DebugSeverity)severity, (Int32)length, (String)buf); - #if DEBUG - } - #endif - } + public static extern void DebugMessageInsert(OpenTK.Graphics.ES20.DebugSourceExternal source, OpenTK.Graphics.ES20.DebugType type, Int32 id, OpenTK.Graphics.ES20.DebugSeverity severity, Int32 length, String buf); /// [requires: KHR_debug] /// Inject an application-supplied message into the debug message queue @@ -49661,18 +30829,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsertKHR")] - public static - void DebugMessageInsert(OpenTK.Graphics.ES20.DebugSourceExternal source, OpenTK.Graphics.ES20.DebugType type, UInt32 id, OpenTK.Graphics.ES20.DebugSeverity severity, Int32 length, String buf) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageInsertKHR((OpenTK.Graphics.ES20.DebugSourceExternal)source, (OpenTK.Graphics.ES20.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES20.DebugSeverity)severity, (Int32)length, (String)buf); - #if DEBUG - } - #endif - } + public static extern void DebugMessageInsert(OpenTK.Graphics.ES20.DebugSourceExternal source, OpenTK.Graphics.ES20.DebugType type, UInt32 id, OpenTK.Graphics.ES20.DebugSeverity severity, Int32 length, String buf); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -49719,28 +30876,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.All[] sources, [OutAttribute] OpenTK.Graphics.ES20.All[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.ES20.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES20.All* sources_ptr = sources) - fixed (OpenTK.Graphics.ES20.All* types_ptr = types) - fixed (Int32* ids_ptr = ids) - fixed (OpenTK.Graphics.ES20.All* severities_ptr = severities) - fixed (Int32* lengths_ptr = lengths) - { - return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES20.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES20.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES20.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.All[] sources, [OutAttribute] OpenTK.Graphics.ES20.All[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.ES20.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -49787,34 +30923,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES20.All sources, [OutAttribute] out OpenTK.Graphics.ES20.All types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.ES20.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES20.All* sources_ptr = &sources) - fixed (OpenTK.Graphics.ES20.All* types_ptr = &types) - fixed (Int32* ids_ptr = &ids) - fixed (OpenTK.Graphics.ES20.All* severities_ptr = &severities) - fixed (Int32* lengths_ptr = &lengths) - { - Int32 retval = Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES20.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES20.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES20.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES20.All sources, [OutAttribute] out OpenTK.Graphics.ES20.All types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.ES20.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -49862,18 +30971,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.All* sources, [OutAttribute] OpenTK.Graphics.ES20.All* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.ES20.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES20.DebugSourceExternal*)sources, (OpenTK.Graphics.ES20.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.ES20.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.All* sources, [OutAttribute] OpenTK.Graphics.ES20.All* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.ES20.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -49919,28 +31017,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.DebugSourceExternal[] sources, [OutAttribute] OpenTK.Graphics.ES20.DebugType[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.ES20.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES20.DebugSourceExternal* sources_ptr = sources) - fixed (OpenTK.Graphics.ES20.DebugType* types_ptr = types) - fixed (Int32* ids_ptr = ids) - fixed (OpenTK.Graphics.ES20.DebugSeverity* severities_ptr = severities) - fixed (Int32* lengths_ptr = lengths) - { - return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES20.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES20.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES20.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.DebugSourceExternal[] sources, [OutAttribute] OpenTK.Graphics.ES20.DebugType[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.ES20.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -49986,34 +31063,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES20.DebugSourceExternal sources, [OutAttribute] out OpenTK.Graphics.ES20.DebugType types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.ES20.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES20.DebugSourceExternal* sources_ptr = &sources) - fixed (OpenTK.Graphics.ES20.DebugType* types_ptr = &types) - fixed (Int32* ids_ptr = &ids) - fixed (OpenTK.Graphics.ES20.DebugSeverity* severities_ptr = &severities) - fixed (Int32* lengths_ptr = &lengths) - { - Int32 retval = Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES20.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES20.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES20.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES20.DebugSourceExternal sources, [OutAttribute] out OpenTK.Graphics.ES20.DebugType types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.ES20.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -50060,18 +31110,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES20.DebugType* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.ES20.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES20.DebugSourceExternal*)sources, (OpenTK.Graphics.ES20.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.ES20.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES20.DebugType* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.ES20.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -50119,28 +31158,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.All[] sources, [OutAttribute] OpenTK.Graphics.ES20.All[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.ES20.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES20.All* sources_ptr = sources) - fixed (OpenTK.Graphics.ES20.All* types_ptr = types) - fixed (UInt32* ids_ptr = ids) - fixed (OpenTK.Graphics.ES20.All* severities_ptr = severities) - fixed (Int32* lengths_ptr = lengths) - { - return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES20.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES20.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES20.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.All[] sources, [OutAttribute] OpenTK.Graphics.ES20.All[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.ES20.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -50188,34 +31206,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES20.All sources, [OutAttribute] out OpenTK.Graphics.ES20.All types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.ES20.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES20.All* sources_ptr = &sources) - fixed (OpenTK.Graphics.ES20.All* types_ptr = &types) - fixed (UInt32* ids_ptr = &ids) - fixed (OpenTK.Graphics.ES20.All* severities_ptr = &severities) - fixed (Int32* lengths_ptr = &lengths) - { - Int32 retval = Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES20.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES20.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES20.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES20.All sources, [OutAttribute] out OpenTK.Graphics.ES20.All types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.ES20.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -50263,18 +31254,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.All* sources, [OutAttribute] OpenTK.Graphics.ES20.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES20.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES20.DebugSourceExternal*)sources, (OpenTK.Graphics.ES20.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.ES20.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.All* sources, [OutAttribute] OpenTK.Graphics.ES20.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES20.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -50321,28 +31301,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.DebugSourceExternal[] sources, [OutAttribute] OpenTK.Graphics.ES20.DebugType[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.ES20.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES20.DebugSourceExternal* sources_ptr = sources) - fixed (OpenTK.Graphics.ES20.DebugType* types_ptr = types) - fixed (UInt32* ids_ptr = ids) - fixed (OpenTK.Graphics.ES20.DebugSeverity* severities_ptr = severities) - fixed (Int32* lengths_ptr = lengths) - { - return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES20.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES20.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES20.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.DebugSourceExternal[] sources, [OutAttribute] OpenTK.Graphics.ES20.DebugType[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.ES20.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -50389,34 +31348,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES20.DebugSourceExternal sources, [OutAttribute] out OpenTK.Graphics.ES20.DebugType types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.ES20.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES20.DebugSourceExternal* sources_ptr = &sources) - fixed (OpenTK.Graphics.ES20.DebugType* types_ptr = &types) - fixed (UInt32* ids_ptr = &ids) - fixed (OpenTK.Graphics.ES20.DebugSeverity* severities_ptr = &severities) - fixed (Int32* lengths_ptr = &lengths) - { - Int32 retval = Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES20.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES20.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES20.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES20.DebugSourceExternal sources, [OutAttribute] out OpenTK.Graphics.ES20.DebugType types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.ES20.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -50463,18 +31395,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES20.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES20.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES20.DebugSourceExternal*)sources, (OpenTK.Graphics.ES20.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.ES20.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES20.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES20.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -50506,24 +31427,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - void GetObjectLabel(OpenTK.Graphics.ES20.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES20.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -50555,25 +31459,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - void GetObjectLabel(OpenTK.Graphics.ES20.All identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES20.All identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -50606,18 +31492,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - unsafe void GetObjectLabel(OpenTK.Graphics.ES20.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectLabel(OpenTK.Graphics.ES20.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -50650,24 +31525,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - void GetObjectLabel(OpenTK.Graphics.ES20.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES20.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -50700,25 +31558,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - void GetObjectLabel(OpenTK.Graphics.ES20.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES20.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -50751,18 +31591,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - unsafe void GetObjectLabel(OpenTK.Graphics.ES20.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectLabel(OpenTK.Graphics.ES20.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -50793,24 +31622,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - void GetObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -50841,25 +31653,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - void GetObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -50891,18 +31685,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - unsafe void GetObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -50934,24 +31717,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - void GetObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -50983,25 +31749,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - void GetObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -51033,18 +31781,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - unsafe void GetObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -51070,24 +31807,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -51113,25 +31833,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -51158,18 +31860,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -51195,33 +31886,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -51247,34 +31914,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -51301,27 +31943,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + public static extern unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -51347,33 +31971,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -51399,34 +31999,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -51453,27 +32028,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + public static extern unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -51499,33 +32056,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -51551,34 +32084,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -51605,27 +32113,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + public static extern unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -51651,34 +32141,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - ptr = (T0)ptr_ptr.Target; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -51704,35 +32169,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - ptr = (T0)ptr_ptr.Target; - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -51759,140 +32198,37 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + public static extern unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label); - ptr = (T0)ptr_ptr.Target; - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static - void GetPointer(OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPointervKHR((OpenTK.Graphics.ES20.All)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } + public static extern void GetPointer(OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr @params); /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static - void GetPointer(OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T1[] @params) + public static extern void GetPointer(OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T1[] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointervKHR((OpenTK.Graphics.ES20.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static - void GetPointer(OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T1[,] @params) + public static extern void GetPointer(OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T1[,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointervKHR((OpenTK.Graphics.ES20.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static - void GetPointer(OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T1[,,] @params) + public static extern void GetPointer(OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T1[,,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointervKHR((OpenTK.Graphics.ES20.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static - void GetPointer(OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] ref T1 @params) + public static extern void GetPointer(OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] ref T1 @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointervKHR((OpenTK.Graphics.ES20.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - @params = (T1)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Label a named object identified within a namespace @@ -51919,18 +32255,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabelKHR")] - public static - void ObjectLabel(OpenTK.Graphics.ES20.All identifier, Int32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glObjectLabelKHR((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void ObjectLabel(OpenTK.Graphics.ES20.All identifier, Int32 name, Int32 length, String label); /// [requires: KHR_debug] /// Label a named object identified within a namespace @@ -51958,18 +32283,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabelKHR")] - public static - void ObjectLabel(OpenTK.Graphics.ES20.All identifier, UInt32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glObjectLabelKHR((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void ObjectLabel(OpenTK.Graphics.ES20.All identifier, UInt32 name, Int32 length, String label); /// [requires: KHR_debug] /// Label a named object identified within a namespace @@ -51995,18 +32309,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabelKHR")] - public static - void ObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, Int32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glObjectLabelKHR((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void ObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, Int32 name, Int32 length, String label); /// [requires: KHR_debug] /// Label a named object identified within a namespace @@ -52033,18 +32336,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabelKHR")] - public static - void ObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glObjectLabelKHR((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void ObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label); /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -52065,18 +32357,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static - void ObjectPtrLabel(IntPtr ptr, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glObjectPtrLabelKHR((IntPtr)ptr, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void ObjectPtrLabel(IntPtr ptr, Int32 length, String label); /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -52097,27 +32378,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static - void ObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 length, String label) + public static extern void ObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 length, String label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -52138,27 +32401,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static - void ObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 length, String label) + public static extern void ObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 length, String label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -52179,27 +32424,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static - void ObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 length, String label) + public static extern void ObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 length, String label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -52220,45 +32447,15 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static - void ObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 length, String label) + public static extern void ObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 length, String label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label); - ptr = (T0)ptr_ptr.Target; - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Pop the active debug group /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPopDebugGroupKHR")] - public static - void PopDebugGroup() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPopDebugGroupKHR(); - #if DEBUG - } - #endif - } + public static extern void PopDebugGroup(); /// [requires: KHR_debug] /// Push a named debug group into the command stream @@ -52284,18 +32481,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPushDebugGroupKHR")] - public static - void PushDebugGroup(OpenTK.Graphics.ES20.All source, Int32 id, Int32 length, String message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPushDebugGroupKHR((OpenTK.Graphics.ES20.All)source, (UInt32)id, (Int32)length, (String)message); - #if DEBUG - } - #endif - } + public static extern void PushDebugGroup(OpenTK.Graphics.ES20.All source, Int32 id, Int32 length, String message); /// [requires: KHR_debug] /// Push a named debug group into the command stream @@ -52322,18 +32508,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPushDebugGroupKHR")] - public static - void PushDebugGroup(OpenTK.Graphics.ES20.All source, UInt32 id, Int32 length, String message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPushDebugGroupKHR((OpenTK.Graphics.ES20.All)source, (UInt32)id, (Int32)length, (String)message); - #if DEBUG - } - #endif - } + public static extern void PushDebugGroup(OpenTK.Graphics.ES20.All source, UInt32 id, Int32 length, String message); } @@ -52341,33 +32516,11 @@ namespace OpenTK.Graphics.ES20 { /// [requires: NV_blend_equation_advanced] [AutoGenerated(Category = "NV_blend_equation_advanced", Version = "", EntryPoint = "glBlendBarrierNV")] - public static - void BlendBarrier() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendBarrierNV(); - #if DEBUG - } - #endif - } + public static extern void BlendBarrier(); /// [requires: NV_blend_equation_advanced] [AutoGenerated(Category = "NV_blend_equation_advanced", Version = "", EntryPoint = "glBlendParameteriNV")] - public static - void BlendParameter(OpenTK.Graphics.ES20.All pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendParameteriNV((OpenTK.Graphics.ES20.All)pname, (Int32)value); - #if DEBUG - } - #endif - } + public static extern void BlendParameter(OpenTK.Graphics.ES20.All pname, Int32 value); /// [requires: NV_framebuffer_blit] /// Copy a block of pixels from the read framebuffer to the draw framebuffer @@ -52394,18 +32547,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_framebuffer_blit", Version = "", EntryPoint = "glBlitFramebufferNV")] - public static - void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES20.All mask, OpenTK.Graphics.ES20.All filter) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlitFramebufferNV((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ES20.ClearBufferMask)mask, (OpenTK.Graphics.ES20.BlitFramebufferFilter)filter); - #if DEBUG - } - #endif - } + public static extern void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES20.All mask, OpenTK.Graphics.ES20.All filter); /// [requires: NV_framebuffer_blit] /// Copy a block of pixels from the read framebuffer to the draw framebuffer @@ -52431,18 +32573,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "NV_framebuffer_blit", Version = "", EntryPoint = "glBlitFramebufferNV")] - public static - void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES20.ClearBufferMask mask, OpenTK.Graphics.ES20.BlitFramebufferFilter filter) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlitFramebufferNV((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ES20.ClearBufferMask)mask, (OpenTK.Graphics.ES20.BlitFramebufferFilter)filter); - #if DEBUG - } - #endif - } + public static extern void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES20.ClearBufferMask mask, OpenTK.Graphics.ES20.BlitFramebufferFilter filter); /// [requires: NV_copy_buffer] /// Copy part of the data store of a buffer object to the data store of another buffer object @@ -52474,18 +32605,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_copy_buffer", Version = "", EntryPoint = "glCopyBufferSubDataNV")] - public static - void CopyBufferSubData(OpenTK.Graphics.ES20.All readTarget, OpenTK.Graphics.ES20.All writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyBufferSubDataNV((OpenTK.Graphics.ES20.BufferTarget)readTarget, (OpenTK.Graphics.ES20.BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size); - #if DEBUG - } - #endif - } + public static extern void CopyBufferSubData(OpenTK.Graphics.ES20.All readTarget, OpenTK.Graphics.ES20.All writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size); /// [requires: NV_copy_buffer] /// Copy part of the data store of a buffer object to the data store of another buffer object @@ -52516,207 +32636,52 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "NV_copy_buffer", Version = "", EntryPoint = "glCopyBufferSubDataNV")] - public static - void CopyBufferSubData(OpenTK.Graphics.ES20.BufferTarget readTarget, OpenTK.Graphics.ES20.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyBufferSubDataNV((OpenTK.Graphics.ES20.BufferTarget)readTarget, (OpenTK.Graphics.ES20.BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size); - #if DEBUG - } - #endif - } + public static extern void CopyBufferSubData(OpenTK.Graphics.ES20.BufferTarget readTarget, OpenTK.Graphics.ES20.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size); /// [requires: NV_coverage_sample] [AutoGenerated(Category = "NV_coverage_sample", Version = "", EntryPoint = "glCoverageMaskNV")] - public static - void CoverageMask(bool mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCoverageMaskNV((bool)mask); - #if DEBUG - } - #endif - } + public static extern void CoverageMask(bool mask); /// [requires: NV_coverage_sample] [AutoGenerated(Category = "NV_coverage_sample", Version = "", EntryPoint = "glCoverageOperationNV")] - public static - void CoverageOperation(OpenTK.Graphics.ES20.All operation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCoverageOperationNV((OpenTK.Graphics.ES20.All)operation); - #if DEBUG - } - #endif - } + public static extern void CoverageOperation(OpenTK.Graphics.ES20.All operation); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static - void DeleteFence(Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* fences_ptr = (UInt32*)&fences; - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteFence(Int32 fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static - void DeleteFence(UInt32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* fences_ptr = (UInt32*)&fences; - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteFence(UInt32 fences); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static - void DeleteFences(Int32 n, Int32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = fences) - { - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFences(Int32 n, Int32[] fences); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static - void DeleteFences(Int32 n, ref Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = &fences) - { - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFences(Int32 n, ref Int32 fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static - unsafe void DeleteFences(Int32 n, Int32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteFences(Int32 n, Int32* fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static - void DeleteFences(Int32 n, UInt32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = fences) - { - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFences(Int32 n, UInt32[] fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static - void DeleteFences(Int32 n, ref UInt32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = &fences) - { - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFences(Int32 n, ref UInt32 fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static - unsafe void DeleteFences(Int32 n, UInt32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteFences(Int32 n, UInt32* fences); /// [requires: NV_draw_instanced] /// Draw multiple instances of a range of elements @@ -52743,18 +32708,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawArraysInstancedNV")] - public static - void DrawArraysInstanced(OpenTK.Graphics.ES20.All mode, Int32 first, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArraysInstancedNV((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern void DrawArraysInstanced(OpenTK.Graphics.ES20.All mode, Int32 first, Int32 count, Int32 primcount); /// [requires: NV_draw_instanced] /// Draw multiple instances of a range of elements @@ -52780,18 +32734,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawArraysInstancedNV")] - public static - void DrawArraysInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArraysInstancedNV((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern void DrawArraysInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount); /// [requires: NV_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -52808,24 +32751,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_draw_buffers", Version = "", EntryPoint = "glDrawBuffersNV")] - public static - void DrawBuffers(Int32 n, OpenTK.Graphics.ES20.All[] bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES20.All* bufs_ptr = bufs) - { - Delegates.glDrawBuffersNV((Int32)n, (OpenTK.Graphics.ES20.DrawBufferMode*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawBuffers(Int32 n, OpenTK.Graphics.ES20.All[] bufs); /// [requires: NV_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -52842,24 +32768,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_draw_buffers", Version = "", EntryPoint = "glDrawBuffersNV")] - public static - void DrawBuffers(Int32 n, ref OpenTK.Graphics.ES20.All bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES20.All* bufs_ptr = &bufs) - { - Delegates.glDrawBuffersNV((Int32)n, (OpenTK.Graphics.ES20.DrawBufferMode*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawBuffers(Int32 n, ref OpenTK.Graphics.ES20.All bufs); /// [requires: NV_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -52877,18 +32786,7 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_draw_buffers", Version = "", EntryPoint = "glDrawBuffersNV")] - public static - unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES20.All* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawBuffersNV((Int32)n, (OpenTK.Graphics.ES20.DrawBufferMode*)bufs); - #if DEBUG - } - #endif - } + public static extern unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES20.All* bufs); /// [requires: NV_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -52904,24 +32802,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "NV_draw_buffers", Version = "", EntryPoint = "glDrawBuffersNV")] - public static - void DrawBuffers(Int32 n, OpenTK.Graphics.ES20.DrawBufferMode[] bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES20.DrawBufferMode* bufs_ptr = bufs) - { - Delegates.glDrawBuffersNV((Int32)n, (OpenTK.Graphics.ES20.DrawBufferMode*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawBuffers(Int32 n, OpenTK.Graphics.ES20.DrawBufferMode[] bufs); /// [requires: NV_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -52937,24 +32818,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "NV_draw_buffers", Version = "", EntryPoint = "glDrawBuffersNV")] - public static - void DrawBuffers(Int32 n, ref OpenTK.Graphics.ES20.DrawBufferMode bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES20.DrawBufferMode* bufs_ptr = &bufs) - { - Delegates.glDrawBuffersNV((Int32)n, (OpenTK.Graphics.ES20.DrawBufferMode*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawBuffers(Int32 n, ref OpenTK.Graphics.ES20.DrawBufferMode bufs); /// [requires: NV_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -52971,18 +32835,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_draw_buffers", Version = "", EntryPoint = "glDrawBuffersNV")] - public static - unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES20.DrawBufferMode* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawBuffersNV((Int32)n, (OpenTK.Graphics.ES20.DrawBufferMode*)bufs); - #if DEBUG - } - #endif - } + public static extern unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES20.DrawBufferMode* bufs); /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -53014,18 +32867,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstancedNV((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, IntPtr indices, Int32 primcount); /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -53057,27 +32899,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedNV((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -53109,27 +32933,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedNV((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -53161,27 +32967,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedNV((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -53213,28 +33001,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedNV((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -53265,18 +33034,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstancedNV((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices, Int32 primcount); /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -53307,27 +33065,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedNV((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -53358,27 +33098,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedNV((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -53409,27 +33131,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedNV((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -53460,352 +33164,87 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedNV((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glFinishFenceNV")] - public static - void FinishFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFinishFenceNV((UInt32)fence); - #if DEBUG - } - #endif - } + public static extern void FinishFence(Int32 fence); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glFinishFenceNV")] - public static - void FinishFence(UInt32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFinishFenceNV((UInt32)fence); - #if DEBUG - } - #endif - } + public static extern void FinishFence(UInt32 fence); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static - Int32 GenFence() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* fences_ptr = &retval; - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenFence(); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static - void GenFences(Int32 n, [OutAttribute] Int32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = fences) - { - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenFences(Int32 n, [OutAttribute] Int32[] fences); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static - void GenFences(Int32 n, [OutAttribute] out Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = &fences) - { - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); - fences = *fences_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenFences(Int32 n, [OutAttribute] out Int32 fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static - unsafe void GenFences(Int32 n, [OutAttribute] Int32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences); - #if DEBUG - } - #endif - } + public static extern unsafe void GenFences(Int32 n, [OutAttribute] Int32* fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static - void GenFences(Int32 n, [OutAttribute] UInt32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = fences) - { - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenFences(Int32 n, [OutAttribute] UInt32[] fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static - void GenFences(Int32 n, [OutAttribute] out UInt32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = &fences) - { - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); - fences = *fences_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenFences(Int32 n, [OutAttribute] out UInt32 fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static - unsafe void GenFences(Int32 n, [OutAttribute] UInt32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences); - #if DEBUG - } - #endif - } + public static extern unsafe void GenFences(Int32 n, [OutAttribute] UInt32* fences); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static - void GetFence(Int32 fence, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFence(Int32 fence, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static - void GetFence(Int32 fence, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFence(Int32 fence, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static - unsafe void GetFence(Int32 fence, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFence(Int32 fence, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static - void GetFence(UInt32 fence, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFence(UInt32 fence, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static - void GetFence(UInt32 fence, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFence(UInt32 fence, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static - unsafe void GetFence(UInt32 fence, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFence(UInt32 fence, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glIsFenceNV")] - public static - bool IsFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsFenceNV((UInt32)fence); - #if DEBUG - } - #endif - } + public static extern bool IsFence(Int32 fence); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glIsFenceNV")] - public static - bool IsFence(UInt32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsFenceNV((UInt32)fence); - #if DEBUG - } - #endif - } + public static extern bool IsFence(UInt32 fence); /// [requires: NV_read_buffer] /// Select a color buffer source for pixels @@ -53816,18 +33255,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "NV_read_buffer", Version = "", EntryPoint = "glReadBufferNV")] - public static - void ReadBuffer(OpenTK.Graphics.ES20.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReadBufferNV((OpenTK.Graphics.ES20.All)mode); - #if DEBUG - } - #endif - } + public static extern void ReadBuffer(OpenTK.Graphics.ES20.All mode); /// [requires: NV_framebuffer_multisample] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -53859,18 +33287,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleNV")] - public static - void RenderbufferStorageMultisample(OpenTK.Graphics.ES20.All target, Int32 samples, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageMultisampleNV((OpenTK.Graphics.ES20.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorageMultisample(OpenTK.Graphics.ES20.All target, Int32 samples, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height); /// [requires: NV_framebuffer_multisample] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -53901,428 +33318,103 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "NV_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleNV")] - public static - void RenderbufferStorageMultisample(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageMultisampleNV((OpenTK.Graphics.ES20.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorageMultisample(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glSetFenceNV")] - public static - void SetFence(Int32 fence, OpenTK.Graphics.ES20.All condition) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.ES20.All)condition); - #if DEBUG - } - #endif - } + public static extern void SetFence(Int32 fence, OpenTK.Graphics.ES20.All condition); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glSetFenceNV")] - public static - void SetFence(UInt32 fence, OpenTK.Graphics.ES20.All condition) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.ES20.All)condition); - #if DEBUG - } - #endif - } + public static extern void SetFence(UInt32 fence, OpenTK.Graphics.ES20.All condition); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glTestFenceNV")] - public static - bool TestFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glTestFenceNV((UInt32)fence); - #if DEBUG - } - #endif - } + public static extern bool TestFence(Int32 fence); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glTestFenceNV")] - public static - bool TestFence(UInt32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glTestFenceNV((UInt32)fence); - #if DEBUG - } - #endif - } + public static extern bool TestFence(UInt32 fence); /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix2x3fvNV")] - public static - void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix2x3fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix2x3fvNV")] - public static - void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix2x3fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: NV_non_square_matrices] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix2x3fvNV")] - public static - unsafe void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix2x3fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix2x4fvNV")] - public static - void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix2x4fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix2x4fvNV")] - public static - void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix2x4fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: NV_non_square_matrices] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix2x4fvNV")] - public static - unsafe void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix2x4fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix3x2fvNV")] - public static - void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix3x2fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix3x2fvNV")] - public static - void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix3x2fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: NV_non_square_matrices] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix3x2fvNV")] - public static - unsafe void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix3x2fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix3x4fvNV")] - public static - void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix3x4fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix3x4fvNV")] - public static - void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix3x4fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: NV_non_square_matrices] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix3x4fvNV")] - public static - unsafe void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix3x4fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix4x2fvNV")] - public static - void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix4x2fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix4x2fvNV")] - public static - void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix4x2fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: NV_non_square_matrices] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix4x2fvNV")] - public static - unsafe void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix4x2fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix4x3fvNV")] - public static - void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix4x3fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix4x3fvNV")] - public static - void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix4x3fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: NV_non_square_matrices] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix4x3fvNV")] - public static - unsafe void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix4x3fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: NV_instanced_arrays] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -54338,18 +33430,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "NV_instanced_arrays", Version = "", EntryPoint = "glVertexAttribDivisorNV")] - public static - void VertexAttribDivisor(Int32 index, Int32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribDivisorNV((UInt32)index, (UInt32)divisor); - #if DEBUG - } - #endif - } + public static extern void VertexAttribDivisor(Int32 index, Int32 divisor); /// [requires: NV_instanced_arrays] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -54366,18 +33447,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_instanced_arrays", Version = "", EntryPoint = "glVertexAttribDivisorNV")] - public static - void VertexAttribDivisor(UInt32 index, UInt32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribDivisorNV((UInt32)index, (UInt32)divisor); - #if DEBUG - } - #endif - } + public static extern void VertexAttribDivisor(UInt32 index, UInt32 divisor); } @@ -54392,18 +33462,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glBindVertexArrayOES")] - public static - void BindVertexArray(Int32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindVertexArrayOES((UInt32)array); - #if DEBUG - } - #endif - } + public static extern void BindVertexArray(Int32 array); /// [requires: OES_vertex_array_object] /// Bind a vertex array object @@ -54415,18 +33474,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glBindVertexArrayOES")] - public static - void BindVertexArray(UInt32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindVertexArrayOES((UInt32)array); - #if DEBUG - } - #endif - } + public static extern void BindVertexArray(UInt32 array); /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -54478,18 +33526,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static - void CompressedTexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -54541,27 +33578,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static - void CompressedTexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -54613,27 +33632,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static - void CompressedTexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -54685,27 +33686,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static - void CompressedTexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -54757,28 +33740,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static - void CompressedTexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T8)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -54829,18 +33793,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static - void CompressedTexImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES20.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES20.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -54891,27 +33844,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static - void CompressedTexImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES20.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES20.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -54962,27 +33897,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static - void CompressedTexImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES20.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES20.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -55033,27 +33950,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static - void CompressedTexImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES20.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES20.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -55104,28 +34003,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static - void CompressedTexImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES20.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES20.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T8)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -55182,18 +34062,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, IntPtr data); /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -55250,27 +34119,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[] data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -55327,27 +34178,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[,] data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[,] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -55404,27 +34237,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[,,] data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[,,] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -55481,28 +34296,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, [InAttribute, OutAttribute] ref T10 data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, [InAttribute, OutAttribute] ref T10 data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T10)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -55558,18 +34354,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, IntPtr data); /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -55625,27 +34410,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[] data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -55701,27 +34468,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[,] data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[,] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -55777,27 +34526,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[,,] data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[,,] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -55853,28 +34584,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, [InAttribute, OutAttribute] ref T10 data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, [InAttribute, OutAttribute] ref T10 data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T10)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Copy a three-dimensional texture subimage @@ -55921,18 +34633,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCopyTexSubImage3DOES")] - public static - void CopyTexSubImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexSubImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void CopyTexSubImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: OES_texture_3D] /// Copy a three-dimensional texture subimage @@ -55978,59 +34679,16 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCopyTexSubImage3DOES")] - public static - void CopyTexSubImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexSubImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void CopyTexSubImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: OES_vertex_array_object] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static - void DeleteVertexArray(Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* arrays_ptr = (UInt32*)&arrays; - Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArray(Int32 arrays); /// [requires: OES_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static - void DeleteVertexArray(UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* arrays_ptr = (UInt32*)&arrays; - Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArray(UInt32 arrays); /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -56046,24 +34704,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static - void DeleteVertexArrays(Int32 n, Int32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArrays(Int32 n, Int32[] arrays); /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -56079,24 +34720,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static - void DeleteVertexArrays(Int32 n, ref Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = &arrays) - { - Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArrays(Int32 n, ref Int32 arrays); /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -56113,18 +34737,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static - unsafe void DeleteVertexArrays(Int32 n, Int32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteVertexArrays(Int32 n, Int32* arrays); /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -56141,24 +34754,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static - void DeleteVertexArrays(Int32 n, UInt32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = arrays) - { - Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArrays(Int32 n, UInt32[] arrays); /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -56175,24 +34771,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static - void DeleteVertexArrays(Int32 n, ref UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = &arrays) - { - Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArrays(Int32 n, ref UInt32 arrays); /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -56209,101 +34788,28 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static - unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays); /// [requires: OES_EGL_image] [AutoGenerated(Category = "OES_EGL_image", Version = "", EntryPoint = "glEGLImageTargetRenderbufferStorageOES")] - public static - void EGLImageTargetRenderbufferStorage(OpenTK.Graphics.ES20.All target, IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEGLImageTargetRenderbufferStorageOES((OpenTK.Graphics.ES20.All)target, (IntPtr)image); - #if DEBUG - } - #endif - } + public static extern void EGLImageTargetRenderbufferStorage(OpenTK.Graphics.ES20.All target, IntPtr image); /// [requires: OES_EGL_image] [AutoGenerated(Category = "OES_EGL_image", Version = "", EntryPoint = "glEGLImageTargetTexture2DOES")] - public static - void EGLImageTargetTexture2D(OpenTK.Graphics.ES20.All target, IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEGLImageTargetTexture2DOES((OpenTK.Graphics.ES20.All)target, (IntPtr)image); - #if DEBUG - } - #endif - } + public static extern void EGLImageTargetTexture2D(OpenTK.Graphics.ES20.All target, IntPtr image); /// [requires: OES_texture_3D] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glFramebufferTexture3DOES")] - public static - void FramebufferTexture3D(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, Int32 texture, Int32 level, Int32 zoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture3DOES((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.All)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture3D(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, Int32 texture, Int32 level, Int32 zoffset); /// [requires: OES_texture_3D] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glFramebufferTexture3DOES")] - public static - void FramebufferTexture3D(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, UInt32 texture, Int32 level, Int32 zoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture3DOES((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.All)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture3D(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, UInt32 texture, Int32 level, Int32 zoffset); /// [requires: OES_vertex_array_object] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static - Int32 GenVertexArray() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* arrays_ptr = &retval; - Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenVertexArray(); /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -56319,24 +34825,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static - void GenVertexArrays(Int32 n, [OutAttribute] Int32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenVertexArrays(Int32 n, [OutAttribute] Int32[] arrays); /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -56352,25 +34841,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static - void GenVertexArrays(Int32 n, [OutAttribute] out Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = &arrays) - { - Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); - arrays = *arrays_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenVertexArrays(Int32 n, [OutAttribute] out Int32 arrays); /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -56387,18 +34858,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static - unsafe void GenVertexArrays(Int32 n, [OutAttribute] Int32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } + public static extern unsafe void GenVertexArrays(Int32 n, [OutAttribute] Int32* arrays); /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -56415,24 +34875,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static - void GenVertexArrays(Int32 n, [OutAttribute] UInt32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = arrays) - { - Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenVertexArrays(Int32 n, [OutAttribute] UInt32[] arrays); /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -56449,25 +34892,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static - void GenVertexArrays(Int32 n, [OutAttribute] out UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = &arrays) - { - Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); - arrays = *arrays_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenVertexArrays(Int32 n, [OutAttribute] out UInt32 arrays); /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -56484,247 +34909,68 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static - unsafe void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } + public static extern unsafe void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays); /// [requires: OES_mapbuffer] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static - void GetBufferPointer(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferPointer)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } + public static extern void GetBufferPointer(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr @params); /// [requires: OES_mapbuffer] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static - void GetBufferPointer(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[] @params) + public static extern void GetBufferPointer(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_mapbuffer] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static - void GetBufferPointer(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[,] @params) + public static extern void GetBufferPointer(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[,] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_mapbuffer] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static - void GetBufferPointer(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[,,] @params) + public static extern void GetBufferPointer(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[,,] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_mapbuffer] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static - void GetBufferPointer(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] ref T2 @params) + public static extern void GetBufferPointer(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] ref T2 @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - @params = (T2)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static - void GetBufferPointer(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferPointer pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferPointer)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } + public static extern void GetBufferPointer(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferPointer pname, [OutAttribute] IntPtr @params); /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static - void GetBufferPointer(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferPointer pname, [InAttribute, OutAttribute] T2[] @params) + public static extern void GetBufferPointer(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferPointer pname, [InAttribute, OutAttribute] T2[] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static - void GetBufferPointer(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferPointer pname, [InAttribute, OutAttribute] T2[,] @params) + public static extern void GetBufferPointer(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferPointer pname, [InAttribute, OutAttribute] T2[,] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static - void GetBufferPointer(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferPointer pname, [InAttribute, OutAttribute] T2[,,] @params) + public static extern void GetBufferPointer(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferPointer pname, [InAttribute, OutAttribute] T2[,,] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static - void GetBufferPointer(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferPointer pname, [InAttribute, OutAttribute] ref T2 @params) + public static extern void GetBufferPointer(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferPointer pname, [InAttribute, OutAttribute] ref T2 @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - @params = (T2)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -56755,25 +35001,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES20.All[] binaryFormat, [OutAttribute] IntPtr binary) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = binaryFormat) - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES20.All[] binaryFormat, [OutAttribute] IntPtr binary); /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -56804,34 +35032,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES20.All[] binaryFormat, [InAttribute, OutAttribute] T4[] binary) + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES20.All[] binaryFormat, [InAttribute, OutAttribute] T4[] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -56862,34 +35065,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES20.All[] binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES20.All[] binaryFormat, [InAttribute, OutAttribute] T4[,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -56920,34 +35098,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES20.All[] binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES20.All[] binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -56978,35 +35131,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES20.All[] binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES20.All[] binaryFormat, [InAttribute, OutAttribute] ref T4 binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - binary = (T4)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -57037,27 +35164,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES20.All binaryFormat, [OutAttribute] IntPtr binary) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = &binaryFormat) - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES20.All binaryFormat, [OutAttribute] IntPtr binary); /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -57088,36 +35195,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T4[] binary) + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T4[] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -57148,36 +35228,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T4[,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -57208,36 +35261,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -57268,37 +35294,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] ref T4 binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - binary = (T4)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -57330,18 +35328,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [OutAttribute] IntPtr binary) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES20.All*)binaryFormat, (IntPtr)binary); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [OutAttribute] IntPtr binary); /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -57373,27 +35360,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute] T4[] binary) + public static extern unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute] T4[] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES20.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -57425,27 +35394,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + public static extern unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute] T4[,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES20.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -57477,27 +35428,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + public static extern unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES20.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -57529,28 +35462,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + public static extern unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute] ref T4 binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES20.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - binary = (T4)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -57582,25 +35496,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES20.All[] binaryFormat, [OutAttribute] IntPtr binary) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = binaryFormat) - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES20.All[] binaryFormat, [OutAttribute] IntPtr binary); /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -57632,34 +35528,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES20.All[] binaryFormat, [InAttribute, OutAttribute] T4[] binary) + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES20.All[] binaryFormat, [InAttribute, OutAttribute] T4[] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -57691,34 +35562,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES20.All[] binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES20.All[] binaryFormat, [InAttribute, OutAttribute] T4[,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -57750,34 +35596,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES20.All[] binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES20.All[] binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -57809,35 +35630,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES20.All[] binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES20.All[] binaryFormat, [InAttribute, OutAttribute] ref T4 binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - binary = (T4)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -57869,27 +35664,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES20.All binaryFormat, [OutAttribute] IntPtr binary) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = &binaryFormat) - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES20.All binaryFormat, [OutAttribute] IntPtr binary); /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -57921,36 +35696,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T4[] binary) + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T4[] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -57982,36 +35730,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T4[,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -58043,36 +35764,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -58104,37 +35798,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] ref T4 binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.ES20.All* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES20.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - binary = (T4)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -58166,18 +35832,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [OutAttribute] IntPtr binary) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES20.All*)binaryFormat, (IntPtr)binary); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [OutAttribute] IntPtr binary); /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -58209,27 +35864,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute] T4[] binary) + public static extern unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute] T4[] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES20.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -58261,27 +35898,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + public static extern unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute] T4[,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES20.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -58313,27 +35932,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + public static extern unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES20.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -58365,28 +35966,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + public static extern unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute] ref T4 binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES20.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - binary = (T4)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_vertex_array_object] /// Determine if a name corresponds to a vertex array object @@ -58397,18 +35979,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glIsVertexArrayOES")] - public static - bool IsVertexArray(Int32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsVertexArrayOES((UInt32)array); - #if DEBUG - } - #endif - } + public static extern bool IsVertexArray(Int32 array); /// [requires: OES_vertex_array_object] /// Determine if a name corresponds to a vertex array object @@ -58420,18 +35991,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glIsVertexArrayOES")] - public static - bool IsVertexArray(UInt32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsVertexArrayOES((UInt32)array); - #if DEBUG - } - #endif - } + public static extern bool IsVertexArray(UInt32 array); /// [requires: OES_mapbuffer] /// Map a buffer object's data store @@ -58447,18 +36007,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glMapBufferOES")] - public static - IntPtr MapBuffer(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glMapBufferOES((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)access); - #if DEBUG - } - #endif - } + public static extern IntPtr MapBuffer(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All access); /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -58484,18 +36033,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static - void ProgramBinary(Int32 program, OpenTK.Graphics.ES20.All binaryFormat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary, (Int32)length); - #if DEBUG - } - #endif - } + public static extern void ProgramBinary(Int32 program, OpenTK.Graphics.ES20.All binaryFormat, IntPtr binary, Int32 length); /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -58521,27 +36059,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static - void ProgramBinary(Int32 program, OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T2[] binary, Int32 length) + public static extern void ProgramBinary(Int32 program, OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T2[] binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -58567,27 +36087,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static - void ProgramBinary(Int32 program, OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T2[,] binary, Int32 length) + public static extern void ProgramBinary(Int32 program, OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T2[,] binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -58613,27 +36115,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static - void ProgramBinary(Int32 program, OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T2[,,] binary, Int32 length) + public static extern void ProgramBinary(Int32 program, OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T2[,,] binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -58659,28 +36143,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static - void ProgramBinary(Int32 program, OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] ref T2 binary, Int32 length) + public static extern void ProgramBinary(Int32 program, OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] ref T2 binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T2)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -58707,18 +36172,7 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static - void ProgramBinary(UInt32 program, OpenTK.Graphics.ES20.All binaryFormat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary, (Int32)length); - #if DEBUG - } - #endif - } + public static extern void ProgramBinary(UInt32 program, OpenTK.Graphics.ES20.All binaryFormat, IntPtr binary, Int32 length); /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -58745,27 +36199,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static - void ProgramBinary(UInt32 program, OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T2[] binary, Int32 length) + public static extern void ProgramBinary(UInt32 program, OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T2[] binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -58792,27 +36228,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static - void ProgramBinary(UInt32 program, OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T2[,] binary, Int32 length) + public static extern void ProgramBinary(UInt32 program, OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T2[,] binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -58839,27 +36257,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static - void ProgramBinary(UInt32 program, OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T2[,,] binary, Int32 length) + public static extern void ProgramBinary(UInt32 program, OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] T2[,,] binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -58886,28 +36286,9 @@ namespace OpenTK.Graphics.ES20 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static - void ProgramBinary(UInt32 program, OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] ref T2 binary, Int32 length) + public static extern void ProgramBinary(UInt32 program, OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute] ref T2 binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T2)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -58964,18 +36345,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static - void TexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr pixels); /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -59032,27 +36402,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static - void TexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T9[] pixels) + public static extern void TexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T9[] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -59109,27 +36461,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static - void TexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T9[,] pixels) + public static extern void TexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T9[,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -59186,27 +36520,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static - void TexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T9[,,] pixels) + public static extern void TexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T9[,,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -59263,28 +36579,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static - void TexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T9 pixels) + public static extern void TexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T9 pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T9)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -59341,18 +36638,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static - void TexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr pixels); /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -59409,27 +36695,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static - void TexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T9[] pixels) + public static extern void TexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T9[] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -59486,27 +36754,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static - void TexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T9[,] pixels) + public static extern void TexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T9[,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -59563,27 +36813,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static - void TexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T9[,,] pixels) + public static extern void TexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T9[,,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -59640,28 +36872,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static - void TexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T9 pixels) + public static extern void TexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T9 pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T9)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -59718,18 +36931,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static - void TexImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels); /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -59786,27 +36988,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static - void TexImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T9[] pixels) + public static extern void TexImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T9[] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -59863,27 +37047,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static - void TexImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) + public static extern void TexImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -59940,27 +37106,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static - void TexImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) + public static extern void TexImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -60017,28 +37165,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static - void TexImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) + public static extern void TexImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T9)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -60094,18 +37223,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static - void TexImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES20.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES20.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels); /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -60161,27 +37279,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static - void TexImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES20.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T9[] pixels) + public static extern void TexImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES20.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T9[] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -60237,27 +37337,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static - void TexImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES20.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) + public static extern void TexImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES20.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -60313,27 +37395,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static - void TexImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES20.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) + public static extern void TexImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES20.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -60389,28 +37453,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static - void TexImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES20.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) + public static extern void TexImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES20.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T9)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -60472,18 +37517,7 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static - void TexSubImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexSubImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexSubImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr pixels); /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -60545,27 +37579,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static - void TexSubImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T10[] pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T10[] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -60627,27 +37643,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static - void TexSubImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T10[,] pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T10[,] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -60709,27 +37707,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static - void TexSubImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T10[,,] pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T10[,,] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -60791,28 +37771,9 @@ namespace OpenTK.Graphics.ES20 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static - void TexSubImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T10 pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T10 pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T10)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -60873,18 +37834,7 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static - void TexSubImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexSubImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexSubImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr pixels); /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -60945,27 +37895,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static - void TexSubImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T10[] pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T10[] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -61026,27 +37958,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static - void TexSubImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T10[,] pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T10[,] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -61107,27 +38021,9 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static - void TexSubImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T10[,,] pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T10[,,] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -61188,59 +38084,18 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static - void TexSubImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T10 pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T10 pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T10)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_mapbuffer] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glUnmapBufferOES")] - public static - bool UnmapBuffer(OpenTK.Graphics.ES20.All target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glUnmapBufferOES((OpenTK.Graphics.ES20.BufferTarget)target); - #if DEBUG - } - #endif - } + public static extern bool UnmapBuffer(OpenTK.Graphics.ES20.All target); /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glUnmapBufferOES")] - public static - bool UnmapBuffer(OpenTK.Graphics.ES20.BufferTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glUnmapBufferOES((OpenTK.Graphics.ES20.BufferTarget)target); - #if DEBUG - } - #endif - } + public static extern bool UnmapBuffer(OpenTK.Graphics.ES20.BufferTarget target); } @@ -61260,1656 +38115,1420 @@ namespace OpenTK.Graphics.ES20 /// /// [AutoGenerated(Category = "QCOM_alpha_test", Version = "", EntryPoint = "glAlphaFuncQCOM")] - public static - void AlphaFunc(OpenTK.Graphics.ES20.All func, Single @ref) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAlphaFuncQCOM((OpenTK.Graphics.ES20.All)func, (Single)@ref); - #if DEBUG - } - #endif - } + public static extern void AlphaFunc(OpenTK.Graphics.ES20.All func, Single @ref); /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glDisableDriverControlQCOM")] - public static - void DisableDriverControl(Int32 driverControl) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableDriverControlQCOM((UInt32)driverControl); - #if DEBUG - } - #endif - } + public static extern void DisableDriverControl(Int32 driverControl); /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glDisableDriverControlQCOM")] - public static - void DisableDriverControl(UInt32 driverControl) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableDriverControlQCOM((UInt32)driverControl); - #if DEBUG - } - #endif - } + public static extern void DisableDriverControl(UInt32 driverControl); /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glEnableDriverControlQCOM")] - public static - void EnableDriverControl(Int32 driverControl) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableDriverControlQCOM((UInt32)driverControl); - #if DEBUG - } - #endif - } + public static extern void EnableDriverControl(Int32 driverControl); /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glEnableDriverControlQCOM")] - public static - void EnableDriverControl(UInt32 driverControl) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableDriverControlQCOM((UInt32)driverControl); - #if DEBUG - } - #endif - } + public static extern void EnableDriverControl(UInt32 driverControl); /// [requires: QCOM_tiled_rendering] [AutoGenerated(Category = "QCOM_tiled_rendering", Version = "", EntryPoint = "glEndTilingQCOM")] - public static - void EndTiling(Int32 preserveMask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndTilingQCOM((UInt32)preserveMask); - #if DEBUG - } - #endif - } + public static extern void EndTiling(Int32 preserveMask); /// [requires: QCOM_tiled_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_tiled_rendering", Version = "", EntryPoint = "glEndTilingQCOM")] - public static - void EndTiling(UInt32 preserveMask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndTilingQCOM((UInt32)preserveMask); - #if DEBUG - } - #endif - } + public static extern void EndTiling(UInt32 preserveMask); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")] - public static - void ExtGetBufferPointer(OpenTK.Graphics.ES20.All target, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetBufferPointervQCOM((OpenTK.Graphics.ES20.All)target, (IntPtr)@params); - #if DEBUG - } - #endif - } + public static extern void ExtGetBufferPointer(OpenTK.Graphics.ES20.All target, [OutAttribute] IntPtr @params); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")] - public static - void ExtGetBufferPointer(OpenTK.Graphics.ES20.All target, [InAttribute, OutAttribute] T1[] @params) + public static extern void ExtGetBufferPointer(OpenTK.Graphics.ES20.All target, [InAttribute, OutAttribute] T1[] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glExtGetBufferPointervQCOM((OpenTK.Graphics.ES20.All)target, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")] - public static - void ExtGetBufferPointer(OpenTK.Graphics.ES20.All target, [InAttribute, OutAttribute] T1[,] @params) + public static extern void ExtGetBufferPointer(OpenTK.Graphics.ES20.All target, [InAttribute, OutAttribute] T1[,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glExtGetBufferPointervQCOM((OpenTK.Graphics.ES20.All)target, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")] - public static - void ExtGetBufferPointer(OpenTK.Graphics.ES20.All target, [InAttribute, OutAttribute] T1[,,] @params) + public static extern void ExtGetBufferPointer(OpenTK.Graphics.ES20.All target, [InAttribute, OutAttribute] T1[,,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glExtGetBufferPointervQCOM((OpenTK.Graphics.ES20.All)target, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")] - public static - void ExtGetBufferPointer(OpenTK.Graphics.ES20.All target, [InAttribute, OutAttribute] ref T1 @params) + public static extern void ExtGetBufferPointer(OpenTK.Graphics.ES20.All target, [InAttribute, OutAttribute] ref T1 @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glExtGetBufferPointervQCOM((OpenTK.Graphics.ES20.All)target, (IntPtr)@params_ptr.AddrOfPinnedObject()); - @params = (T1)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - public static - void ExtGetBuffers([OutAttribute] Int32[] buffers, Int32 maxBuffers, [OutAttribute] Int32[] numBuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - fixed (Int32* numBuffers_ptr = numBuffers) - { - Delegates.glExtGetBuffersQCOM((UInt32*)buffers_ptr, (Int32)maxBuffers, (Int32*)numBuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetBuffers([OutAttribute] Int32[] buffers, Int32 maxBuffers, [OutAttribute] Int32[] numBuffers); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - public static - void ExtGetBuffers([OutAttribute] out Int32 buffers, Int32 maxBuffers, [OutAttribute] out Int32 numBuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - fixed (Int32* numBuffers_ptr = &numBuffers) - { - Delegates.glExtGetBuffersQCOM((UInt32*)buffers_ptr, (Int32)maxBuffers, (Int32*)numBuffers_ptr); - buffers = *buffers_ptr; - numBuffers = *numBuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetBuffers([OutAttribute] out Int32 buffers, Int32 maxBuffers, [OutAttribute] out Int32 numBuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - public static - unsafe void ExtGetBuffers([OutAttribute] Int32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetBuffersQCOM((UInt32*)buffers, (Int32)maxBuffers, (Int32*)numBuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetBuffers([OutAttribute] Int32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - public static - void ExtGetBuffers([OutAttribute] UInt32[] buffers, Int32 maxBuffers, [OutAttribute] Int32[] numBuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - fixed (Int32* numBuffers_ptr = numBuffers) - { - Delegates.glExtGetBuffersQCOM((UInt32*)buffers_ptr, (Int32)maxBuffers, (Int32*)numBuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetBuffers([OutAttribute] UInt32[] buffers, Int32 maxBuffers, [OutAttribute] Int32[] numBuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - public static - void ExtGetBuffers([OutAttribute] out UInt32 buffers, Int32 maxBuffers, [OutAttribute] out Int32 numBuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - fixed (Int32* numBuffers_ptr = &numBuffers) - { - Delegates.glExtGetBuffersQCOM((UInt32*)buffers_ptr, (Int32)maxBuffers, (Int32*)numBuffers_ptr); - buffers = *buffers_ptr; - numBuffers = *numBuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetBuffers([OutAttribute] out UInt32 buffers, Int32 maxBuffers, [OutAttribute] out Int32 numBuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - public static - unsafe void ExtGetBuffers([OutAttribute] UInt32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetBuffersQCOM((UInt32*)buffers, (Int32)maxBuffers, (Int32*)numBuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetBuffers([OutAttribute] UInt32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static - void ExtGetFramebuffers([OutAttribute] Int32[] framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32[] numFramebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - fixed (Int32* numFramebuffers_ptr = numFramebuffers) - { - Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers_ptr, (Int32)maxFramebuffers, (Int32*)numFramebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetFramebuffers([OutAttribute] Int32[] framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32[] numFramebuffers); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static - void ExtGetFramebuffers([OutAttribute] out Int32 framebuffers, Int32 maxFramebuffers, [OutAttribute] out Int32 numFramebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - fixed (Int32* numFramebuffers_ptr = &numFramebuffers) - { - Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers_ptr, (Int32)maxFramebuffers, (Int32*)numFramebuffers_ptr); - framebuffers = *framebuffers_ptr; - numFramebuffers = *numFramebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetFramebuffers([OutAttribute] out Int32 framebuffers, Int32 maxFramebuffers, [OutAttribute] out Int32 numFramebuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static - unsafe void ExtGetFramebuffers([OutAttribute] Int32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers, (Int32)maxFramebuffers, (Int32*)numFramebuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetFramebuffers([OutAttribute] Int32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static - void ExtGetFramebuffers([OutAttribute] UInt32[] framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32[] numFramebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = framebuffers) - fixed (Int32* numFramebuffers_ptr = numFramebuffers) - { - Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers_ptr, (Int32)maxFramebuffers, (Int32*)numFramebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetFramebuffers([OutAttribute] UInt32[] framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32[] numFramebuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static - void ExtGetFramebuffers([OutAttribute] out UInt32 framebuffers, Int32 maxFramebuffers, [OutAttribute] out Int32 numFramebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = &framebuffers) - fixed (Int32* numFramebuffers_ptr = &numFramebuffers) - { - Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers_ptr, (Int32)maxFramebuffers, (Int32*)numFramebuffers_ptr); - framebuffers = *framebuffers_ptr; - numFramebuffers = *numFramebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetFramebuffers([OutAttribute] out UInt32 framebuffers, Int32 maxFramebuffers, [OutAttribute] out Int32 numFramebuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static - unsafe void ExtGetFramebuffers([OutAttribute] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers, (Int32)maxFramebuffers, (Int32*)numFramebuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetFramebuffers([OutAttribute] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers); /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static - void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES20.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32[] length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES20.All)shadertype, (StringBuilder)source, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES20.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32[] length); /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static - void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES20.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] out Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES20.All)shadertype, (StringBuilder)source, (Int32*)length_ptr); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES20.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] out Int32 length); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static - unsafe void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES20.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES20.All)shadertype, (StringBuilder)source, (Int32*)length); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES20.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32* length); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static - void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES20.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32[] length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES20.All)shadertype, (StringBuilder)source, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES20.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32[] length); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static - void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES20.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] out Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES20.All)shadertype, (StringBuilder)source, (Int32*)length_ptr); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES20.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] out Int32 length); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static - unsafe void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES20.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES20.All)shadertype, (StringBuilder)source, (Int32*)length); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES20.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32* length); /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static - void ExtGetProgram([OutAttribute] Int32[] programs, Int32 maxPrograms, [OutAttribute] Int32[] numPrograms) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = programs) - fixed (Int32* numPrograms_ptr = numPrograms) - { - Delegates.glExtGetProgramsQCOM((UInt32*)programs_ptr, (Int32)maxPrograms, (Int32*)numPrograms_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetProgram([OutAttribute] Int32[] programs, Int32 maxPrograms, [OutAttribute] Int32[] numPrograms); /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static - void ExtGetProgram([OutAttribute] out Int32 programs, Int32 maxPrograms, [OutAttribute] out Int32 numPrograms) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = &programs) - fixed (Int32* numPrograms_ptr = &numPrograms) - { - Delegates.glExtGetProgramsQCOM((UInt32*)programs_ptr, (Int32)maxPrograms, (Int32*)numPrograms_ptr); - programs = *programs_ptr; - numPrograms = *numPrograms_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetProgram([OutAttribute] out Int32 programs, Int32 maxPrograms, [OutAttribute] out Int32 numPrograms); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static - unsafe void ExtGetProgram([OutAttribute] Int32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetProgramsQCOM((UInt32*)programs, (Int32)maxPrograms, (Int32*)numPrograms); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetProgram([OutAttribute] Int32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static - void ExtGetProgram([OutAttribute] UInt32[] programs, Int32 maxPrograms, [OutAttribute] Int32[] numPrograms) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = programs) - fixed (Int32* numPrograms_ptr = numPrograms) - { - Delegates.glExtGetProgramsQCOM((UInt32*)programs_ptr, (Int32)maxPrograms, (Int32*)numPrograms_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetProgram([OutAttribute] UInt32[] programs, Int32 maxPrograms, [OutAttribute] Int32[] numPrograms); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static - void ExtGetProgram([OutAttribute] out UInt32 programs, Int32 maxPrograms, [OutAttribute] out Int32 numPrograms) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = &programs) - fixed (Int32* numPrograms_ptr = &numPrograms) - { - Delegates.glExtGetProgramsQCOM((UInt32*)programs_ptr, (Int32)maxPrograms, (Int32*)numPrograms_ptr); - programs = *programs_ptr; - numPrograms = *numPrograms_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetProgram([OutAttribute] out UInt32 programs, Int32 maxPrograms, [OutAttribute] out Int32 numPrograms); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static - unsafe void ExtGetProgram([OutAttribute] UInt32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetProgramsQCOM((UInt32*)programs, (Int32)maxPrograms, (Int32*)numPrograms); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetProgram([OutAttribute] UInt32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static - void ExtGetRenderbuffers([OutAttribute] Int32[] renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32[] numRenderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = renderbuffers) - fixed (Int32* numRenderbuffers_ptr = numRenderbuffers) - { - Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers_ptr, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetRenderbuffers([OutAttribute] Int32[] renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32[] numRenderbuffers); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static - void ExtGetRenderbuffers([OutAttribute] out Int32 renderbuffers, Int32 maxRenderbuffers, [OutAttribute] out Int32 numRenderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = &renderbuffers) - fixed (Int32* numRenderbuffers_ptr = &numRenderbuffers) - { - Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers_ptr, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers_ptr); - renderbuffers = *renderbuffers_ptr; - numRenderbuffers = *numRenderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetRenderbuffers([OutAttribute] out Int32 renderbuffers, Int32 maxRenderbuffers, [OutAttribute] out Int32 numRenderbuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static - unsafe void ExtGetRenderbuffers([OutAttribute] Int32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetRenderbuffers([OutAttribute] Int32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static - void ExtGetRenderbuffers([OutAttribute] UInt32[] renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32[] numRenderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = renderbuffers) - fixed (Int32* numRenderbuffers_ptr = numRenderbuffers) - { - Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers_ptr, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetRenderbuffers([OutAttribute] UInt32[] renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32[] numRenderbuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static - void ExtGetRenderbuffers([OutAttribute] out UInt32 renderbuffers, Int32 maxRenderbuffers, [OutAttribute] out Int32 numRenderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) - fixed (Int32* numRenderbuffers_ptr = &numRenderbuffers) - { - Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers_ptr, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers_ptr); - renderbuffers = *renderbuffers_ptr; - numRenderbuffers = *numRenderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetRenderbuffers([OutAttribute] out UInt32 renderbuffers, Int32 maxRenderbuffers, [OutAttribute] out Int32 numRenderbuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static - unsafe void ExtGetRenderbuffers([OutAttribute] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetRenderbuffers([OutAttribute] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers); /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static - void ExtGetShaders([OutAttribute] Int32[] shaders, Int32 maxShaders, [OutAttribute] Int32[] numShaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = shaders) - fixed (Int32* numShaders_ptr = numShaders) - { - Delegates.glExtGetShadersQCOM((UInt32*)shaders_ptr, (Int32)maxShaders, (Int32*)numShaders_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetShaders([OutAttribute] Int32[] shaders, Int32 maxShaders, [OutAttribute] Int32[] numShaders); /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static - void ExtGetShaders([OutAttribute] out Int32 shaders, Int32 maxShaders, [OutAttribute] out Int32 numShaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = &shaders) - fixed (Int32* numShaders_ptr = &numShaders) - { - Delegates.glExtGetShadersQCOM((UInt32*)shaders_ptr, (Int32)maxShaders, (Int32*)numShaders_ptr); - shaders = *shaders_ptr; - numShaders = *numShaders_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetShaders([OutAttribute] out Int32 shaders, Int32 maxShaders, [OutAttribute] out Int32 numShaders); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static - unsafe void ExtGetShaders([OutAttribute] Int32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetShadersQCOM((UInt32*)shaders, (Int32)maxShaders, (Int32*)numShaders); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetShaders([OutAttribute] Int32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static - void ExtGetShaders([OutAttribute] UInt32[] shaders, Int32 maxShaders, [OutAttribute] Int32[] numShaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = shaders) - fixed (Int32* numShaders_ptr = numShaders) - { - Delegates.glExtGetShadersQCOM((UInt32*)shaders_ptr, (Int32)maxShaders, (Int32*)numShaders_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetShaders([OutAttribute] UInt32[] shaders, Int32 maxShaders, [OutAttribute] Int32[] numShaders); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static - void ExtGetShaders([OutAttribute] out UInt32 shaders, Int32 maxShaders, [OutAttribute] out Int32 numShaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = &shaders) - fixed (Int32* numShaders_ptr = &numShaders) - { - Delegates.glExtGetShadersQCOM((UInt32*)shaders_ptr, (Int32)maxShaders, (Int32*)numShaders_ptr); - shaders = *shaders_ptr; - numShaders = *numShaders_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetShaders([OutAttribute] out UInt32 shaders, Int32 maxShaders, [OutAttribute] out Int32 numShaders); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static - unsafe void ExtGetShaders([OutAttribute] UInt32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetShadersQCOM((UInt32*)shaders, (Int32)maxShaders, (Int32*)numShaders); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetShaders([OutAttribute] UInt32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static - void ExtGetTexLevelParameter(Int32 texture, OpenTK.Graphics.ES20.All face, Int32 level, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES20.All)face, (Int32)level, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetTexLevelParameter(Int32 texture, OpenTK.Graphics.ES20.All face, Int32 level, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static - void ExtGetTexLevelParameter(Int32 texture, OpenTK.Graphics.ES20.All face, Int32 level, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES20.All)face, (Int32)level, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetTexLevelParameter(Int32 texture, OpenTK.Graphics.ES20.All face, Int32 level, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static - unsafe void ExtGetTexLevelParameter(Int32 texture, OpenTK.Graphics.ES20.All face, Int32 level, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES20.All)face, (Int32)level, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetTexLevelParameter(Int32 texture, OpenTK.Graphics.ES20.All face, Int32 level, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static - void ExtGetTexLevelParameter(UInt32 texture, OpenTK.Graphics.ES20.All face, Int32 level, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES20.All)face, (Int32)level, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetTexLevelParameter(UInt32 texture, OpenTK.Graphics.ES20.All face, Int32 level, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static - void ExtGetTexLevelParameter(UInt32 texture, OpenTK.Graphics.ES20.All face, Int32 level, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES20.All)face, (Int32)level, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetTexLevelParameter(UInt32 texture, OpenTK.Graphics.ES20.All face, Int32 level, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static - unsafe void ExtGetTexLevelParameter(UInt32 texture, OpenTK.Graphics.ES20.All face, Int32 level, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES20.All)face, (Int32)level, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetTexLevelParameter(UInt32 texture, OpenTK.Graphics.ES20.All face, Int32 level, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")] - public static - void ExtGetTexSubImage(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [OutAttribute] IntPtr texels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetTexSubImageQCOM((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)texels); - #if DEBUG - } - #endif - } + public static extern void ExtGetTexSubImage(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [OutAttribute] IntPtr texels); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")] - public static - void ExtGetTexSubImage(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T10[] texels) + public static extern void ExtGetTexSubImage(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T10[] texels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle texels_ptr = GCHandle.Alloc(texels, GCHandleType.Pinned); - try - { - Delegates.glExtGetTexSubImageQCOM((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)texels_ptr.AddrOfPinnedObject()); - } - finally - { - texels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")] - public static - void ExtGetTexSubImage(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T10[,] texels) + public static extern void ExtGetTexSubImage(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T10[,] texels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle texels_ptr = GCHandle.Alloc(texels, GCHandleType.Pinned); - try - { - Delegates.glExtGetTexSubImageQCOM((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)texels_ptr.AddrOfPinnedObject()); - } - finally - { - texels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")] - public static - void ExtGetTexSubImage(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T10[,,] texels) + public static extern void ExtGetTexSubImage(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T10[,,] texels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle texels_ptr = GCHandle.Alloc(texels, GCHandleType.Pinned); - try - { - Delegates.glExtGetTexSubImageQCOM((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)texels_ptr.AddrOfPinnedObject()); - } - finally - { - texels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")] - public static - void ExtGetTexSubImage(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T10 texels) + public static extern void ExtGetTexSubImage(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T10 texels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle texels_ptr = GCHandle.Alloc(texels, GCHandleType.Pinned); - try - { - Delegates.glExtGetTexSubImageQCOM((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)texels_ptr.AddrOfPinnedObject()); - texels = (T10)texels_ptr.Target; - } - finally - { - texels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")] - public static - void ExtGetTextures([OutAttribute] Int32[] textures, Int32 maxTextures, [OutAttribute] Int32[] numTextures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - fixed (Int32* numTextures_ptr = numTextures) - { - Delegates.glExtGetTexturesQCOM((UInt32*)textures_ptr, (Int32)maxTextures, (Int32*)numTextures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetTextures([OutAttribute] Int32[] textures, Int32 maxTextures, [OutAttribute] Int32[] numTextures); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")] - public static - void ExtGetTextures([OutAttribute] out Int32 textures, Int32 maxTextures, [OutAttribute] out Int32 numTextures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - fixed (Int32* numTextures_ptr = &numTextures) - { - Delegates.glExtGetTexturesQCOM((UInt32*)textures_ptr, (Int32)maxTextures, (Int32*)numTextures_ptr); - textures = *textures_ptr; - numTextures = *numTextures_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetTextures([OutAttribute] out Int32 textures, Int32 maxTextures, [OutAttribute] out Int32 numTextures); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")] - public static - unsafe void ExtGetTextures([OutAttribute] Int32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetTexturesQCOM((UInt32*)textures, (Int32)maxTextures, (Int32*)numTextures); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetTextures([OutAttribute] Int32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")] - public static - void ExtGetTextures([OutAttribute] UInt32[] textures, Int32 maxTextures, [OutAttribute] Int32[] numTextures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - fixed (Int32* numTextures_ptr = numTextures) - { - Delegates.glExtGetTexturesQCOM((UInt32*)textures_ptr, (Int32)maxTextures, (Int32*)numTextures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetTextures([OutAttribute] UInt32[] textures, Int32 maxTextures, [OutAttribute] Int32[] numTextures); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")] - public static - void ExtGetTextures([OutAttribute] out UInt32 textures, Int32 maxTextures, [OutAttribute] out Int32 numTextures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - fixed (Int32* numTextures_ptr = &numTextures) - { - Delegates.glExtGetTexturesQCOM((UInt32*)textures_ptr, (Int32)maxTextures, (Int32*)numTextures_ptr); - textures = *textures_ptr; - numTextures = *numTextures_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetTextures([OutAttribute] out UInt32 textures, Int32 maxTextures, [OutAttribute] out Int32 numTextures); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")] - public static - unsafe void ExtGetTextures([OutAttribute] UInt32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetTexturesQCOM((UInt32*)textures, (Int32)maxTextures, (Int32*)numTextures); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetTextures([OutAttribute] UInt32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures); /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtIsProgramBinaryQCOM")] - public static - bool ExtIsProgramBinary(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glExtIsProgramBinaryQCOM((UInt32)program); - #if DEBUG - } - #endif - } + public static extern bool ExtIsProgramBinary(Int32 program); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtIsProgramBinaryQCOM")] - public static - bool ExtIsProgramBinary(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glExtIsProgramBinaryQCOM((UInt32)program); - #if DEBUG - } - #endif - } + public static extern bool ExtIsProgramBinary(UInt32 program); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtTexObjectStateOverrideiQCOM")] - public static - void ExtTexObjectStateOverride(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtTexObjectStateOverrideiQCOM((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void ExtTexObjectStateOverride(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Int32 param); /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static - void GetDriverControl([OutAttribute] Int32[] num, Int32 size, [OutAttribute] Int32[] driverControls) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* num_ptr = num) - fixed (Int32* driverControls_ptr = driverControls) - { - Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetDriverControl([OutAttribute] Int32[] num, Int32 size, [OutAttribute] Int32[] driverControls); /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static - void GetDriverControl([OutAttribute] Int32[] num, Int32 size, [OutAttribute] UInt32[] driverControls) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* num_ptr = num) - fixed (UInt32* driverControls_ptr = driverControls) - { - Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetDriverControl([OutAttribute] Int32[] num, Int32 size, [OutAttribute] UInt32[] driverControls); /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static - void GetDriverControl([OutAttribute] out Int32 num, Int32 size, [OutAttribute] out Int32 driverControls) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* num_ptr = &num) - fixed (Int32* driverControls_ptr = &driverControls) - { - Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr); - num = *num_ptr; - driverControls = *driverControls_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetDriverControl([OutAttribute] out Int32 num, Int32 size, [OutAttribute] out Int32 driverControls); /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static - void GetDriverControl([OutAttribute] out Int32 num, Int32 size, [OutAttribute] out UInt32 driverControls) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* num_ptr = &num) - fixed (UInt32* driverControls_ptr = &driverControls) - { - Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr); - num = *num_ptr; - driverControls = *driverControls_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetDriverControl([OutAttribute] out Int32 num, Int32 size, [OutAttribute] out UInt32 driverControls); /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static - unsafe void GetDriverControl([OutAttribute] Int32* num, Int32 size, [OutAttribute] Int32* driverControls) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetDriverControlsQCOM((Int32*)num, (Int32)size, (UInt32*)driverControls); - #if DEBUG - } - #endif - } + public static extern unsafe void GetDriverControl([OutAttribute] Int32* num, Int32 size, [OutAttribute] Int32* driverControls); /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static - unsafe void GetDriverControl([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetDriverControlsQCOM((Int32*)num, (Int32)size, (UInt32*)driverControls); - #if DEBUG - } - #endif - } + public static extern unsafe void GetDriverControl([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls); /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static - void GetDriverControlString(Int32 driverControl, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder driverControlString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)driverControlString); - } - } - #if DEBUG - } - #endif - } + public static extern void GetDriverControlString(Int32 driverControl, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder driverControlString); /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static - void GetDriverControlString(Int32 driverControl, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder driverControlString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)driverControlString); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetDriverControlString(Int32 driverControl, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder driverControlString); /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static - unsafe void GetDriverControlString(Int32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length, (StringBuilder)driverControlString); - #if DEBUG - } - #endif - } + public static extern unsafe void GetDriverControlString(Int32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString); /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static - void GetDriverControlString(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder driverControlString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)driverControlString); - } - } - #if DEBUG - } - #endif - } + public static extern void GetDriverControlString(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder driverControlString); /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static - void GetDriverControlString(UInt32 driverControl, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder driverControlString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)driverControlString); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetDriverControlString(UInt32 driverControl, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder driverControlString); /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static - unsafe void GetDriverControlString(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length, (StringBuilder)driverControlString); - #if DEBUG - } - #endif - } + public static extern unsafe void GetDriverControlString(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString); /// [requires: QCOM_tiled_rendering] [AutoGenerated(Category = "QCOM_tiled_rendering", Version = "", EntryPoint = "glStartTilingQCOM")] - public static - void StartTiling(Int32 x, Int32 y, Int32 width, Int32 height, Int32 preserveMask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStartTilingQCOM((UInt32)x, (UInt32)y, (UInt32)width, (UInt32)height, (UInt32)preserveMask); - #if DEBUG - } - #endif - } + public static extern void StartTiling(Int32 x, Int32 y, Int32 width, Int32 height, Int32 preserveMask); /// [requires: QCOM_tiled_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_tiled_rendering", Version = "", EntryPoint = "glStartTilingQCOM")] - public static - void StartTiling(UInt32 x, UInt32 y, UInt32 width, UInt32 height, UInt32 preserveMask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStartTilingQCOM((UInt32)x, (UInt32)y, (UInt32)width, (UInt32)height, (UInt32)preserveMask); - #if DEBUG - } - #endif - } + public static extern void StartTiling(UInt32 x, UInt32 y, UInt32 width, UInt32 height, UInt32 preserveMask); } + [Slot(5)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBeginPerfMonitorAMD(UInt32 monitor); + [Slot(59)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeletePerfMonitorsAMD(Int32 n, UInt32* monitors); + [Slot(92)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEndPerfMonitorAMD(UInt32 monitor); + [Slot(122)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenPerfMonitorsAMD(Int32 n, [OutAttribute] UInt32* monitors); + [Slot(154)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPerfMonitorCounterDataAMD(UInt32 monitor, System.Int32 pname, Int32 dataSize, [OutAttribute] UInt32* data, [OutAttribute] Int32* bytesWritten); + [Slot(155)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, System.Int32 pname, [OutAttribute] IntPtr data); + [Slot(156)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPerfMonitorCountersAMD(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters); + [Slot(157)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPerfMonitorCounterStringAMD(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr counterString); + [Slot(158)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPerfMonitorGroupsAMD([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups); + [Slot(159)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr groupString); + [Slot(271)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSelectPerfMonitorCountersAMD(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32* counterList); + [Slot(22)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlitFramebufferANGLE(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, System.Int32 mask, System.Int32 filter); + [Slot(77)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawArraysInstancedANGLE(System.Int32 mode, Int32 first, Int32 count, Int32 primcount); + [Slot(84)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawElementsInstancedANGLE(System.Int32 mode, Int32 count, System.Int32 type, IntPtr indices, Int32 primcount); + [Slot(181)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTranslatedShaderSourceANGLE(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] IntPtr source); + [Slot(263)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRenderbufferStorageMultisampleANGLE(System.Int32 target, Int32 samples, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(336)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribDivisorANGLE(UInt32 index, UInt32 divisor); + [Slot(31)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern System.Int32 glClientWaitSyncAPPLE(IntPtr sync, System.Int32 flags, UInt64 timeout); + [Slot(42)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyTextureLevelsAPPLE(UInt32 destinationTexture, UInt32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount); + [Slot(65)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDeleteSyncAPPLE(IntPtr sync); + [Slot(107)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern IntPtr glFenceSyncAPPLE(System.Int32 condition, System.Int32 flags); + [Slot(144)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetInteger64vAPPLE(System.Int32 pname, [OutAttribute] Int64* @params); + [Slot(178)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetSyncivAPPLE(IntPtr sync, System.Int32 pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); + [Slot(199)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsSyncAPPLE(IntPtr sync); + [Slot(264)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRenderbufferStorageMultisampleAPPLE(System.Int32 target, Int32 samples, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(268)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glResolveMultisampleFramebufferAPPLE(); + [Slot(341)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWaitSyncAPPLE(IntPtr sync, System.Int32 flags, UInt64 timeout); + [Slot(2)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glActiveTexture(System.Int32 texture); + [Slot(4)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glAttachShader(UInt32 program, UInt32 shader); + [Slot(7)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindAttribLocation(UInt32 program, UInt32 index, IntPtr name); + [Slot(8)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindBuffer(System.Int32 target, UInt32 buffer); + [Slot(9)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindFramebuffer(System.Int32 target, UInt32 framebuffer); + [Slot(11)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindRenderbuffer(System.Int32 target, UInt32 renderbuffer); + [Slot(12)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindTexture(System.Int32 target, UInt32 texture); + [Slot(15)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendColor(Single red, Single green, Single blue, Single alpha); + [Slot(16)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendEquation(System.Int32 mode); + [Slot(18)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendEquationSeparate(System.Int32 modeRGB, System.Int32 modeAlpha); + [Slot(19)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendFunc(System.Int32 sfactor, System.Int32 dfactor); + [Slot(20)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendFuncSeparate(System.Int32 sfactorRGB, System.Int32 dfactorRGB, System.Int32 sfactorAlpha, System.Int32 dfactorAlpha); + [Slot(24)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBufferData(System.Int32 target, IntPtr size, IntPtr data, System.Int32 usage); + [Slot(25)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBufferSubData(System.Int32 target, IntPtr offset, IntPtr size, IntPtr data); + [Slot(26)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern System.Int32 glCheckFramebufferStatus(System.Int32 target); + [Slot(27)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClear(System.Int32 mask); + [Slot(28)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearColor(Single red, Single green, Single blue, Single alpha); + [Slot(29)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearDepthf(Single d); + [Slot(30)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearStencil(Int32 s); + [Slot(32)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColorMask(bool red, bool green, bool blue, bool alpha); + [Slot(33)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompileShader(UInt32 shader); + [Slot(34)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTexImage2D(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); + [Slot(36)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTexSubImage2D(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, System.Int32 format, Int32 imageSize, IntPtr data); + [Slot(39)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyTexImage2D(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); + [Slot(40)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyTexSubImage2D(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [Slot(45)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glCreateProgram(); + [Slot(46)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glCreateShader(System.Int32 type); + [Slot(49)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCullFace(System.Int32 mode); + [Slot(50)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDebugMessageCallback(DebugProc callback, IntPtr userParam); + [Slot(52)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDebugMessageControl(System.Int32 source, System.Int32 type, System.Int32 severity, Int32 count, UInt32* ids, bool enabled); + [Slot(54)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDebugMessageInsert(System.Int32 source, System.Int32 type, UInt32 id, System.Int32 severity, Int32 length, IntPtr buf); + [Slot(56)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteBuffers(Int32 n, UInt32* buffers); + [Slot(58)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteFramebuffers(Int32 n, UInt32* framebuffers); + [Slot(60)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDeleteProgram(UInt32 program); + [Slot(63)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteRenderbuffers(Int32 n, UInt32* renderbuffers); + [Slot(64)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDeleteShader(UInt32 shader); + [Slot(66)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteTextures(Int32 n, UInt32* textures); + [Slot(68)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDepthFunc(System.Int32 func); + [Slot(69)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDepthMask(bool flag); + [Slot(70)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDepthRangef(Single n, Single f); + [Slot(71)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDetachShader(UInt32 program, UInt32 shader); + [Slot(72)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDisable(System.Int32 cap); + [Slot(74)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDisableVertexAttribArray(UInt32 index); + [Slot(76)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawArrays(System.Int32 mode, Int32 first, Int32 count); + [Slot(83)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawElements(System.Int32 mode, Int32 count, System.Int32 type, IntPtr indices); + [Slot(89)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEnable(System.Int32 cap); + [Slot(91)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEnableVertexAttribArray(UInt32 index); + [Slot(108)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFinish(); + [Slot(110)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFlush(); + [Slot(112)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferRenderbuffer(System.Int32 target, System.Int32 attachment, System.Int32 renderbuffertarget, UInt32 renderbuffer); + [Slot(113)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferTexture2D(System.Int32 target, System.Int32 attachment, System.Int32 textarget, UInt32 texture, Int32 level); + [Slot(117)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFrontFace(System.Int32 mode); + [Slot(118)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenBuffers(Int32 n, [OutAttribute] UInt32* buffers); + [Slot(119)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGenerateMipmap(System.Int32 target); + [Slot(121)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers); + [Slot(125)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers); + [Slot(126)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenTextures(Int32 n, [OutAttribute] UInt32* textures); + [Slot(128)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] System.Int32* type, [OutAttribute] IntPtr name); + [Slot(129)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] System.Int32* type, [OutAttribute] IntPtr name); + [Slot(130)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders); + [Slot(131)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGetAttribLocation(UInt32 program, IntPtr name); + [Slot(132)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetBooleanv(System.Int32 pname, [OutAttribute] bool* data); + [Slot(133)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetBufferParameteriv(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(135)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe Int32 glGetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] System.Int32* sources, [OutAttribute] System.Int32* types, [OutAttribute] UInt32* ids, [OutAttribute] System.Int32* severities, [OutAttribute] Int32* lengths, [OutAttribute] IntPtr messageLog); + [Slot(139)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern System.Int32 glGetError(); + [Slot(141)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetFloatv(System.Int32 pname, [OutAttribute] Single* data); + [Slot(142)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetFramebufferAttachmentParameteriv(System.Int32 target, System.Int32 attachment, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(146)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetIntegerv(System.Int32 pname, [OutAttribute] Int32* data); + [Slot(149)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetObjectLabel(System.Int32 identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr label); + [Slot(152)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr label); + [Slot(160)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetPointerv(System.Int32 pname, [OutAttribute] IntPtr @params); + [Slot(163)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr infoLog); + [Slot(164)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramiv(UInt32 program, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(172)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetRenderbufferParameteriv(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(173)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr infoLog); + [Slot(174)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetShaderiv(UInt32 shader, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(175)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetShaderPrecisionFormat(System.Int32 shadertype, System.Int32 precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision); + [Slot(176)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr source); + [Slot(177)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern IntPtr glGetString(System.Int32 name); + [Slot(179)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexParameterfv(System.Int32 target, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(180)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexParameteriv(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(182)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetUniformfv(UInt32 program, Int32 location, [OutAttribute] Single* @params); + [Slot(183)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetUniformiv(UInt32 program, Int32 location, [OutAttribute] Int32* @params); + [Slot(184)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGetUniformLocation(UInt32 program, IntPtr name); + [Slot(185)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexAttribfv(UInt32 index, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(186)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexAttribiv(UInt32 index, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(187)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetVertexAttribPointerv(UInt32 index, System.Int32 pname, [OutAttribute] IntPtr pointer); + [Slot(188)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glHint(System.Int32 target, System.Int32 mode); + [Slot(190)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsBuffer(UInt32 buffer); + [Slot(191)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsEnabled(System.Int32 cap); + [Slot(193)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsFramebuffer(UInt32 framebuffer); + [Slot(194)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsProgram(UInt32 program); + [Slot(197)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsRenderbuffer(UInt32 renderbuffer); + [Slot(198)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsShader(UInt32 shader); + [Slot(200)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsTexture(UInt32 texture); + [Slot(203)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLineWidth(Single width); + [Slot(204)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLinkProgram(UInt32 program); + [Slot(209)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glObjectLabel(System.Int32 identifier, UInt32 name, Int32 length, IntPtr label); + [Slot(211)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glObjectPtrLabel(IntPtr ptr, Int32 length, IntPtr label); + [Slot(213)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPixelStorei(System.Int32 pname, Int32 param); + [Slot(214)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPolygonOffset(Single factor, Single units); + [Slot(215)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPopDebugGroup(); + [Slot(253)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPushDebugGroup(System.Int32 source, UInt32 id, Int32 length, IntPtr message); + [Slot(260)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, System.Int32 format, System.Int32 type, [OutAttribute] IntPtr pixels); + [Slot(261)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glReleaseShaderCompiler(); + [Slot(262)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRenderbufferStorage(System.Int32 target, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(269)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSampleCoverage(Single value, bool invert); + [Slot(270)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glScissor(Int32 x, Int32 y, Int32 width, Int32 height); + [Slot(273)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glShaderBinary(Int32 count, UInt32* shaders, System.Int32 binaryformat, IntPtr binary, Int32 length); + [Slot(274)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glShaderSource(UInt32 shader, Int32 count, IntPtr @string, Int32* length); + [Slot(276)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStencilFunc(System.Int32 func, Int32 @ref, UInt32 mask); + [Slot(277)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStencilFuncSeparate(System.Int32 face, System.Int32 func, Int32 @ref, UInt32 mask); + [Slot(278)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStencilMask(UInt32 mask); + [Slot(279)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStencilMaskSeparate(System.Int32 face, UInt32 mask); + [Slot(280)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStencilOp(System.Int32 fail, System.Int32 zfail, System.Int32 zpass); + [Slot(281)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStencilOpSeparate(System.Int32 face, System.Int32 sfail, System.Int32 dpfail, System.Int32 dppass); + [Slot(283)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexImage2D(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 width, Int32 height, Int32 border, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(285)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexParameterf(System.Int32 target, System.Int32 pname, Single param); + [Slot(286)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexParameterfv(System.Int32 target, System.Int32 pname, Single* @params); + [Slot(287)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexParameteri(System.Int32 target, System.Int32 pname, Int32 param); + [Slot(288)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexParameteriv(System.Int32 target, System.Int32 pname, Int32* @params); + [Slot(292)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexSubImage2D(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(297)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform1f(Int32 location, Single v0); + [Slot(298)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform1fv(Int32 location, Int32 count, Single* value); + [Slot(299)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform1i(Int32 location, Int32 v0); + [Slot(300)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform1iv(Int32 location, Int32 count, Int32* value); + [Slot(301)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform2f(Int32 location, Single v0, Single v1); + [Slot(302)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform2fv(Int32 location, Int32 count, Single* value); + [Slot(303)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform2i(Int32 location, Int32 v0, Int32 v1); + [Slot(304)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform2iv(Int32 location, Int32 count, Int32* value); + [Slot(305)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform3f(Int32 location, Single v0, Single v1, Single v2); + [Slot(306)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform3fv(Int32 location, Int32 count, Single* value); + [Slot(307)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform3i(Int32 location, Int32 v0, Int32 v1, Int32 v2); + [Slot(308)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform3iv(Int32 location, Int32 count, Int32* value); + [Slot(309)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform4f(Int32 location, Single v0, Single v1, Single v2, Single v3); + [Slot(310)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform4fv(Int32 location, Int32 count, Single* value); + [Slot(311)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform4i(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); + [Slot(312)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform4iv(Int32 location, Int32 count, Int32* value); + [Slot(313)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix2fv(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(316)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix3fv(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(319)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix4fv(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(323)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUseProgram(UInt32 program); + [Slot(326)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glValidateProgram(UInt32 program); + [Slot(328)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib1f(UInt32 index, Single x); + [Slot(329)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib1fv(UInt32 index, Single* v); + [Slot(330)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib2f(UInt32 index, Single x, Single y); + [Slot(331)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib2fv(UInt32 index, Single* v); + [Slot(332)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib3f(UInt32 index, Single x, Single y, Single z); + [Slot(333)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib3fv(UInt32 index, Single* v); + [Slot(334)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib4f(UInt32 index, Single x, Single y, Single z, Single w); + [Slot(335)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4fv(UInt32 index, Single* v); + [Slot(339)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribPointer(UInt32 index, Int32 size, System.Int32 type, bool normalized, Int32 stride, IntPtr pointer); + [Slot(340)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glViewport(Int32 x, Int32 y, Int32 width, Int32 height); + [Slot(0)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glActiveProgramEXT(UInt32 program); + [Slot(1)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glActiveShaderProgramEXT(UInt32 pipeline, UInt32 program); + [Slot(6)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBeginQueryEXT(System.Int32 target, UInt32 id); + [Slot(10)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindProgramPipelineEXT(UInt32 pipeline); + [Slot(17)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendEquationEXT(System.Int32 mode); + [Slot(47)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glCreateShaderProgramEXT(System.Int32 type, IntPtr @string); + [Slot(48)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glCreateShaderProgramvEXT(System.Int32 type, Int32 count, IntPtr strings); + [Slot(61)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteProgramPipelinesEXT(Int32 n, UInt32* pipelines); + [Slot(62)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteQueriesEXT(Int32 n, UInt32* ids); + [Slot(75)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDiscardFramebufferEXT(System.Int32 target, Int32 numAttachments, System.Int32* attachments); + [Slot(78)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawArraysInstancedEXT(System.Int32 mode, Int32 start, Int32 count, Int32 primcount); + [Slot(80)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDrawBuffersEXT(Int32 n, System.Int32* bufs); + [Slot(81)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDrawBuffersIndexedEXT(Int32 n, System.Int32* location, Int32* indices); + [Slot(85)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawElementsInstancedEXT(System.Int32 mode, Int32 count, System.Int32 type, IntPtr indices, Int32 primcount); + [Slot(93)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEndQueryEXT(System.Int32 target); + [Slot(111)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFlushMappedBufferRangeEXT(System.Int32 target, IntPtr offset, IntPtr length); + [Slot(114)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferTexture2DMultisampleEXT(System.Int32 target, System.Int32 attachment, System.Int32 textarget, UInt32 texture, Int32 level, Int32 samples); + [Slot(123)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenProgramPipelinesEXT(Int32 n, [OutAttribute] UInt32* pipelines); + [Slot(124)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenQueriesEXT(Int32 n, [OutAttribute] UInt32* ids); + [Slot(143)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern System.Int32 glGetGraphicsResetStatusEXT(); + [Slot(145)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetIntegeri_vEXT(System.Int32 target, UInt32 index, [OutAttribute] Int32* data); + [Slot(147)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetnUniformfvEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params); + [Slot(148)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetnUniformivEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params); + [Slot(150)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetObjectLabelEXT(System.Int32 type, UInt32 @object, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr label); + [Slot(165)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramPipelineInfoLogEXT(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr infoLog); + [Slot(166)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramPipelineivEXT(UInt32 pipeline, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(167)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetQueryivEXT(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(168)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetQueryObjecti64vEXT(UInt32 id, System.Int32 pname, [OutAttribute] Int64* @params); + [Slot(169)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetQueryObjectivEXT(UInt32 id, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(170)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetQueryObjectui64vEXT(UInt32 id, System.Int32 pname, [OutAttribute] UInt64* @params); + [Slot(171)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetQueryObjectuivEXT(UInt32 id, System.Int32 pname, [OutAttribute] UInt32* @params); + [Slot(189)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glInsertEventMarkerEXT(Int32 length, IntPtr marker); + [Slot(195)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsProgramPipelineEXT(UInt32 pipeline); + [Slot(196)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsQueryEXT(UInt32 id); + [Slot(202)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLabelObjectEXT(System.Int32 type, UInt32 @object, Int32 length, IntPtr label); + [Slot(206)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern IntPtr glMapBufferRangeEXT(System.Int32 target, IntPtr offset, IntPtr length, UInt32 access); + [Slot(207)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiDrawArraysEXT(System.Int32 mode, Int32* first, Int32* count, Int32 primcount); + [Slot(208)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiDrawElementsEXT(System.Int32 mode, Int32* count, System.Int32 type, IntPtr indices, Int32 primcount); + [Slot(217)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPopGroupMarkerEXT(); + [Slot(219)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramParameteriEXT(UInt32 program, System.Int32 pname, Int32 value); + [Slot(220)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform1fEXT(UInt32 program, Int32 location, Single v0); + [Slot(221)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform1fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); + [Slot(222)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform1iEXT(UInt32 program, Int32 location, Int32 v0); + [Slot(223)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform1ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); + [Slot(224)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform1uiEXT(UInt32 program, Int32 location, UInt32 v0); + [Slot(225)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform1uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); + [Slot(226)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform2fEXT(UInt32 program, Int32 location, Single v0, Single v1); + [Slot(227)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform2fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); + [Slot(228)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform2iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1); + [Slot(229)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform2ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); + [Slot(230)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform2uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1); + [Slot(231)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform2uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); + [Slot(232)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform3fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2); + [Slot(233)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform3fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); + [Slot(234)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform3iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2); + [Slot(235)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform3ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); + [Slot(236)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform3uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); + [Slot(237)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform3uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); + [Slot(238)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform4fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3); + [Slot(239)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform4fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); + [Slot(240)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform4iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); + [Slot(241)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform4ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); + [Slot(242)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform4uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); + [Slot(243)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform4uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); + [Slot(244)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(245)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix2x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(246)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix2x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(247)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(248)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix3x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(249)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix3x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(250)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(251)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix4x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(252)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix4x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(255)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPushGroupMarkerEXT(Int32 length, IntPtr marker); + [Slot(256)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glQueryCounterEXT(UInt32 id, System.Int32 target); + [Slot(257)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glReadBufferIndexedEXT(System.Int32 src, Int32 index); + [Slot(259)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glReadnPixelsEXT(Int32 x, Int32 y, Int32 width, Int32 height, System.Int32 format, System.Int32 type, Int32 bufSize, [OutAttribute] IntPtr data); + [Slot(265)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRenderbufferStorageMultisampleEXT(System.Int32 target, Int32 samples, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(289)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexStorage1DEXT(System.Int32 target, Int32 levels, System.Int32 internalformat, Int32 width); + [Slot(290)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexStorage2DEXT(System.Int32 target, Int32 levels, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(291)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexStorage3DEXT(System.Int32 target, Int32 levels, System.Int32 internalformat, Int32 width, Int32 height, Int32 depth); + [Slot(294)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureStorage1DEXT(UInt32 texture, System.Int32 target, Int32 levels, System.Int32 internalformat, Int32 width); + [Slot(295)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureStorage2DEXT(UInt32 texture, System.Int32 target, Int32 levels, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(296)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureStorage3DEXT(UInt32 texture, System.Int32 target, Int32 levels, System.Int32 internalformat, Int32 width, Int32 height, Int32 depth); + [Slot(324)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUseProgramStagesEXT(UInt32 pipeline, UInt32 stages, UInt32 program); + [Slot(325)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUseShaderProgramEXT(System.Int32 type, UInt32 program); + [Slot(327)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glValidateProgramPipelineEXT(UInt32 pipeline); + [Slot(337)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribDivisorEXT(UInt32 index, UInt32 divisor); + [Slot(115)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferTexture2DMultisampleIMG(System.Int32 target, System.Int32 attachment, System.Int32 textarget, UInt32 texture, Int32 level, Int32 samples); + [Slot(266)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRenderbufferStorageMultisampleIMG(System.Int32 target, Int32 samples, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(51)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDebugMessageCallbackKHR(DebugProcKhr callback, IntPtr userParam); + [Slot(53)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDebugMessageControlKHR(System.Int32 source, System.Int32 type, System.Int32 severity, Int32 count, UInt32* ids, bool enabled); + [Slot(55)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDebugMessageInsertKHR(System.Int32 source, System.Int32 type, UInt32 id, System.Int32 severity, Int32 length, IntPtr buf); + [Slot(136)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe Int32 glGetDebugMessageLogKHR(UInt32 count, Int32 bufSize, [OutAttribute] System.Int32* sources, [OutAttribute] System.Int32* types, [OutAttribute] UInt32* ids, [OutAttribute] System.Int32* severities, [OutAttribute] Int32* lengths, [OutAttribute] IntPtr messageLog); + [Slot(151)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetObjectLabelKHR(System.Int32 identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr label); + [Slot(153)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetObjectPtrLabelKHR(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr label); + [Slot(161)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetPointervKHR(System.Int32 pname, [OutAttribute] IntPtr @params); + [Slot(210)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glObjectLabelKHR(System.Int32 identifier, UInt32 name, Int32 length, IntPtr label); + [Slot(212)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glObjectPtrLabelKHR(IntPtr ptr, Int32 length, IntPtr label); + [Slot(216)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPopDebugGroupKHR(); + [Slot(254)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPushDebugGroupKHR(System.Int32 source, UInt32 id, Int32 length, IntPtr message); + [Slot(14)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendBarrierNV(); + [Slot(21)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendParameteriNV(System.Int32 pname, Int32 value); + [Slot(23)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlitFramebufferNV(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, System.Int32 mask, System.Int32 filter); + [Slot(38)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyBufferSubDataNV(System.Int32 readTarget, System.Int32 writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size); + [Slot(43)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCoverageMaskNV(bool mask); + [Slot(44)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCoverageOperationNV(System.Int32 operation); + [Slot(57)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteFencesNV(Int32 n, UInt32* fences); + [Slot(79)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawArraysInstancedNV(System.Int32 mode, Int32 first, Int32 count, Int32 primcount); + [Slot(82)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDrawBuffersNV(Int32 n, System.Int32* bufs); + [Slot(86)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawElementsInstancedNV(System.Int32 mode, Int32 count, System.Int32 type, IntPtr indices, Int32 primcount); + [Slot(109)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFinishFenceNV(UInt32 fence); + [Slot(120)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenFencesNV(Int32 n, [OutAttribute] UInt32* fences); + [Slot(140)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetFenceivNV(UInt32 fence, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(192)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsFenceNV(UInt32 fence); + [Slot(258)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glReadBufferNV(System.Int32 mode); + [Slot(267)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRenderbufferStorageMultisampleNV(System.Int32 target, Int32 samples, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(272)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSetFenceNV(UInt32 fence, System.Int32 condition); + [Slot(282)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glTestFenceNV(UInt32 fence); + [Slot(314)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix2x3fvNV(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(315)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix2x4fvNV(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(317)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix3x2fvNV(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(318)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix3x4fvNV(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(320)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix4x2fvNV(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(321)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix4x3fvNV(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(338)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribDivisorNV(UInt32 index, UInt32 divisor); + [Slot(13)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindVertexArrayOES(UInt32 array); + [Slot(35)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTexImage3DOES(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); + [Slot(37)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTexSubImage3DOES(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, System.Int32 format, Int32 imageSize, IntPtr data); + [Slot(41)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyTexSubImage3DOES(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [Slot(67)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteVertexArraysOES(Int32 n, UInt32* arrays); + [Slot(87)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEGLImageTargetRenderbufferStorageOES(System.Int32 target, IntPtr image); + [Slot(88)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEGLImageTargetTexture2DOES(System.Int32 target, IntPtr image); + [Slot(116)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferTexture3DOES(System.Int32 target, System.Int32 attachment, System.Int32 textarget, UInt32 texture, Int32 level, Int32 zoffset); + [Slot(127)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenVertexArraysOES(Int32 n, [OutAttribute] UInt32* arrays); + [Slot(134)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetBufferPointervOES(System.Int32 target, System.Int32 pname, [OutAttribute] IntPtr @params); + [Slot(162)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramBinaryOES(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] System.Int32* binaryFormat, [OutAttribute] IntPtr binary); + [Slot(201)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsVertexArrayOES(UInt32 array); + [Slot(205)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern IntPtr glMapBufferOES(System.Int32 target, System.Int32 access); + [Slot(218)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramBinaryOES(UInt32 program, System.Int32 binaryFormat, IntPtr binary, Int32 length); + [Slot(284)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexImage3DOES(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(293)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexSubImage3DOES(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(322)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glUnmapBufferOES(System.Int32 target); + [Slot(3)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glAlphaFuncQCOM(System.Int32 func, Single @ref); + [Slot(73)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDisableDriverControlQCOM(UInt32 driverControl); + [Slot(90)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEnableDriverControlQCOM(UInt32 driverControl); + [Slot(94)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEndTilingQCOM(UInt32 preserveMask); + [Slot(95)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glExtGetBufferPointervQCOM(System.Int32 target, [OutAttribute] IntPtr @params); + [Slot(96)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glExtGetBuffersQCOM([OutAttribute] UInt32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers); + [Slot(97)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glExtGetFramebuffersQCOM([OutAttribute] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers); + [Slot(98)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glExtGetProgramBinarySourceQCOM(UInt32 program, System.Int32 shadertype, [OutAttribute] IntPtr source, [OutAttribute] Int32* length); + [Slot(99)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glExtGetProgramsQCOM([OutAttribute] UInt32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms); + [Slot(100)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glExtGetRenderbuffersQCOM([OutAttribute] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers); + [Slot(101)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glExtGetShadersQCOM([OutAttribute] UInt32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders); + [Slot(102)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glExtGetTexLevelParameterivQCOM(UInt32 texture, System.Int32 face, Int32 level, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(103)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glExtGetTexSubImageQCOM(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, System.Int32 format, System.Int32 type, [OutAttribute] IntPtr texels); + [Slot(104)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glExtGetTexturesQCOM([OutAttribute] UInt32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures); + [Slot(105)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glExtIsProgramBinaryQCOM(UInt32 program); + [Slot(106)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glExtTexObjectStateOverrideiQCOM(System.Int32 target, System.Int32 pname, Int32 param); + [Slot(137)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetDriverControlsQCOM([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls); + [Slot(138)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr driverControlString); + [Slot(275)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStartTilingQCOM(UInt32 x, UInt32 y, UInt32 width, UInt32 height, UInt32 preserveMask); } } diff --git a/Source/OpenTK/Graphics/ES20/ES20Core.cs b/Source/OpenTK/Graphics/ES20/ES20Core.cs deleted file mode 100644 index a01aa79a..00000000 --- a/Source/OpenTK/Graphics/ES20/ES20Core.cs +++ /dev/null @@ -1,1070 +0,0 @@ -// -// The Open Toolkit Library License -// -// Copyright (c) 2006 - 2013 Stefanos Apostolopoulos for the Open Toolkit Library -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights to -// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -// the Software, and to permit persons to whom the Software is furnished to do -// so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -// OTHER DEALINGS IN THE SOFTWARE. -// - - - -namespace OpenTK.Graphics.ES20 -{ - using System; - using System.Text; - using System.Runtime.InteropServices; - #pragma warning disable 3019 - #pragma warning disable 1591 - - partial class GL - { - - internal static partial class Core - { - - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveProgramEXT", ExactSpelling = true)] - internal extern static void ActiveProgramEXT(UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveShaderProgramEXT", ExactSpelling = true)] - internal extern static void ActiveShaderProgramEXT(UInt32 pipeline, UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveTexture", ExactSpelling = true)] - internal extern static void ActiveTexture(OpenTK.Graphics.ES20.TextureUnit texture); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAlphaFuncQCOM", ExactSpelling = true)] - internal extern static void AlphaFuncQCOM(OpenTK.Graphics.ES20.All func, Single @ref); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAttachShader", ExactSpelling = true)] - internal extern static void AttachShader(UInt32 program, UInt32 shader); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginPerfMonitorAMD", ExactSpelling = true)] - internal extern static void BeginPerfMonitorAMD(UInt32 monitor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginQueryEXT", ExactSpelling = true)] - internal extern static void BeginQueryEXT(OpenTK.Graphics.ES20.QueryTarget target, UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindAttribLocation", ExactSpelling = true)] - internal extern static void BindAttribLocation(UInt32 program, UInt32 index, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBuffer", ExactSpelling = true)] - internal extern static void BindBuffer(OpenTK.Graphics.ES20.BufferTarget target, UInt32 buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindFramebuffer", ExactSpelling = true)] - internal extern static void BindFramebuffer(OpenTK.Graphics.ES20.FramebufferTarget target, UInt32 framebuffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindProgramPipelineEXT", ExactSpelling = true)] - internal extern static void BindProgramPipelineEXT(UInt32 pipeline); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindRenderbuffer", ExactSpelling = true)] - internal extern static void BindRenderbuffer(OpenTK.Graphics.ES20.RenderbufferTarget target, UInt32 renderbuffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTexture", ExactSpelling = true)] - internal extern static void BindTexture(OpenTK.Graphics.ES20.TextureTarget target, UInt32 texture); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindVertexArrayOES", ExactSpelling = true)] - internal extern static void BindVertexArrayOES(UInt32 array); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendBarrierNV", ExactSpelling = true)] - internal extern static void BlendBarrierNV(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendColor", ExactSpelling = true)] - internal extern static void BlendColor(Single red, Single green, Single blue, Single alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquation", ExactSpelling = true)] - internal extern static void BlendEquation(OpenTK.Graphics.ES20.BlendEquationMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationEXT", ExactSpelling = true)] - internal extern static void BlendEquationEXT(OpenTK.Graphics.ES20.BlendEquationMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationSeparate", ExactSpelling = true)] - internal extern static void BlendEquationSeparate(OpenTK.Graphics.ES20.BlendEquationMode modeRGB, OpenTK.Graphics.ES20.BlendEquationMode modeAlpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFunc", ExactSpelling = true)] - internal extern static void BlendFunc(OpenTK.Graphics.ES20.BlendingFactorSrc sfactor, OpenTK.Graphics.ES20.BlendingFactorDest dfactor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncSeparate", ExactSpelling = true)] - internal extern static void BlendFuncSeparate(OpenTK.Graphics.ES20.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.ES20.BlendingFactorDest dfactorRGB, OpenTK.Graphics.ES20.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.ES20.BlendingFactorDest dfactorAlpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendParameteriNV", ExactSpelling = true)] - internal extern static void BlendParameteriNV(OpenTK.Graphics.ES20.All pname, Int32 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlitFramebufferANGLE", ExactSpelling = true)] - internal extern static void BlitFramebufferANGLE(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES20.ClearBufferMask mask, OpenTK.Graphics.ES20.BlitFramebufferFilter filter); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlitFramebufferNV", ExactSpelling = true)] - internal extern static void BlitFramebufferNV(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES20.ClearBufferMask mask, OpenTK.Graphics.ES20.BlitFramebufferFilter filter); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferData", ExactSpelling = true)] - internal extern static void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES20.BufferUsageHint usage); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferSubData", ExactSpelling = true)] - internal extern static void BufferSubData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCheckFramebufferStatus", ExactSpelling = true)] - internal extern static OpenTK.Graphics.ES20.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.ES20.FramebufferTarget target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClear", ExactSpelling = true)] - internal extern static void Clear(OpenTK.Graphics.ES20.ClearBufferMask mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearColor", ExactSpelling = true)] - internal extern static void ClearColor(Single red, Single green, Single blue, Single alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearDepthf", ExactSpelling = true)] - internal extern static void ClearDepthf(Single d); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearStencil", ExactSpelling = true)] - internal extern static void ClearStencil(Int32 s); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClientWaitSyncAPPLE", ExactSpelling = true)] - internal extern static OpenTK.Graphics.ES20.WaitSyncStatus ClientWaitSyncAPPLE(IntPtr sync, OpenTK.Graphics.ES20.ClientWaitSyncFlags flags, UInt64 timeout); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorMask", ExactSpelling = true)] - internal extern static void ColorMask(bool red, bool green, bool blue, bool alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompileShader", ExactSpelling = true)] - internal extern static void CompileShader(UInt32 shader); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage2D", ExactSpelling = true)] - internal extern static void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage3DOES", ExactSpelling = true)] - internal extern static void CompressedTexImage3DOES(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES20.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage2D", ExactSpelling = true)] - internal extern static void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage3DOES", ExactSpelling = true)] - internal extern static void CompressedTexSubImage3DOES(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyBufferSubDataNV", ExactSpelling = true)] - internal extern static void CopyBufferSubDataNV(OpenTK.Graphics.ES20.BufferTarget readTarget, OpenTK.Graphics.ES20.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexImage2D", ExactSpelling = true)] - internal extern static void CopyTexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.TextureCopyComponentCount internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage2D", ExactSpelling = true)] - internal extern static void CopyTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage3DOES", ExactSpelling = true)] - internal extern static void CopyTexSubImage3DOES(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTextureLevelsAPPLE", ExactSpelling = true)] - internal extern static void CopyTextureLevelsAPPLE(UInt32 destinationTexture, UInt32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCoverageMaskNV", ExactSpelling = true)] - internal extern static void CoverageMaskNV(bool mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCoverageOperationNV", ExactSpelling = true)] - internal extern static void CoverageOperationNV(OpenTK.Graphics.ES20.All operation); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateProgram", ExactSpelling = true)] - internal extern static Int32 CreateProgram(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateShader", ExactSpelling = true)] - internal extern static Int32 CreateShader(OpenTK.Graphics.ES20.ShaderType type); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateShaderProgramEXT", ExactSpelling = true)] - internal extern static Int32 CreateShaderProgramEXT(OpenTK.Graphics.ES20.All type, String @string); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateShaderProgramvEXT", ExactSpelling = true)] - internal extern static Int32 CreateShaderProgramvEXT(OpenTK.Graphics.ES20.All type, Int32 count, String[] strings); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCullFace", ExactSpelling = true)] - internal extern static void CullFace(OpenTK.Graphics.ES20.CullFaceMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageCallback", ExactSpelling = true)] - internal extern static void DebugMessageCallback(DebugProc callback, IntPtr userParam); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageCallbackKHR", ExactSpelling = true)] - internal extern static void DebugMessageCallbackKHR(DebugProcKhr callback, IntPtr userParam); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageControl", ExactSpelling = true)] - internal extern static unsafe void DebugMessageControl(OpenTK.Graphics.ES20.DebugSourceControl source, OpenTK.Graphics.ES20.DebugTypeControl type, OpenTK.Graphics.ES20.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageControlKHR", ExactSpelling = true)] - internal extern static unsafe void DebugMessageControlKHR(OpenTK.Graphics.ES20.DebugSourceControl source, OpenTK.Graphics.ES20.DebugTypeControl type, OpenTK.Graphics.ES20.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageInsert", ExactSpelling = true)] - internal extern static void DebugMessageInsert(OpenTK.Graphics.ES20.DebugSourceExternal source, OpenTK.Graphics.ES20.DebugType type, UInt32 id, OpenTK.Graphics.ES20.DebugSeverity severity, Int32 length, String buf); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageInsertKHR", ExactSpelling = true)] - internal extern static void DebugMessageInsertKHR(OpenTK.Graphics.ES20.DebugSourceExternal source, OpenTK.Graphics.ES20.DebugType type, UInt32 id, OpenTK.Graphics.ES20.DebugSeverity severity, Int32 length, String buf); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteBuffers", ExactSpelling = true)] - internal extern static unsafe void DeleteBuffers(Int32 n, UInt32* buffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteFencesNV", ExactSpelling = true)] - internal extern static unsafe void DeleteFencesNV(Int32 n, UInt32* fences); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteFramebuffers", ExactSpelling = true)] - internal extern static unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeletePerfMonitorsAMD", ExactSpelling = true)] - internal extern static unsafe void DeletePerfMonitorsAMD(Int32 n, UInt32* monitors); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteProgram", ExactSpelling = true)] - internal extern static void DeleteProgram(UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteProgramPipelinesEXT", ExactSpelling = true)] - internal extern static unsafe void DeleteProgramPipelinesEXT(Int32 n, UInt32* pipelines); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteQueriesEXT", ExactSpelling = true)] - internal extern static unsafe void DeleteQueriesEXT(Int32 n, UInt32* ids); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteRenderbuffers", ExactSpelling = true)] - internal extern static unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteShader", ExactSpelling = true)] - internal extern static void DeleteShader(UInt32 shader); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteSyncAPPLE", ExactSpelling = true)] - internal extern static void DeleteSyncAPPLE(IntPtr sync); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteTextures", ExactSpelling = true)] - internal extern static unsafe void DeleteTextures(Int32 n, UInt32* textures); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteVertexArraysOES", ExactSpelling = true)] - internal extern static unsafe void DeleteVertexArraysOES(Int32 n, UInt32* arrays); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthFunc", ExactSpelling = true)] - internal extern static void DepthFunc(OpenTK.Graphics.ES20.DepthFunction func); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthMask", ExactSpelling = true)] - internal extern static void DepthMask(bool flag); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRangef", ExactSpelling = true)] - internal extern static void DepthRangef(Single n, Single f); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDetachShader", ExactSpelling = true)] - internal extern static void DetachShader(UInt32 program, UInt32 shader); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisable", ExactSpelling = true)] - internal extern static void Disable(OpenTK.Graphics.ES20.EnableCap cap); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableDriverControlQCOM", ExactSpelling = true)] - internal extern static void DisableDriverControlQCOM(UInt32 driverControl); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableVertexAttribArray", ExactSpelling = true)] - internal extern static void DisableVertexAttribArray(UInt32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDiscardFramebufferEXT", ExactSpelling = true)] - internal extern static unsafe void DiscardFramebufferEXT(OpenTK.Graphics.ES20.All target, Int32 numAttachments, OpenTK.Graphics.ES20.All* attachments); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArrays", ExactSpelling = true)] - internal extern static void DrawArrays(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 first, Int32 count); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysInstancedANGLE", ExactSpelling = true)] - internal extern static void DrawArraysInstancedANGLE(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysInstancedEXT", ExactSpelling = true)] - internal extern static void DrawArraysInstancedEXT(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 start, Int32 count, Int32 primcount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysInstancedNV", ExactSpelling = true)] - internal extern static void DrawArraysInstancedNV(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawBuffersEXT", ExactSpelling = true)] - internal extern static unsafe void DrawBuffersEXT(Int32 n, OpenTK.Graphics.ES20.DrawBufferMode* bufs); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawBuffersIndexedEXT", ExactSpelling = true)] - internal extern static unsafe void DrawBuffersIndexedEXT(Int32 n, OpenTK.Graphics.ES20.All* location, Int32* indices); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawBuffersNV", ExactSpelling = true)] - internal extern static unsafe void DrawBuffersNV(Int32 n, OpenTK.Graphics.ES20.DrawBufferMode* bufs); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElements", ExactSpelling = true)] - internal extern static void DrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedANGLE", ExactSpelling = true)] - internal extern static void DrawElementsInstancedANGLE(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices, Int32 primcount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedEXT", ExactSpelling = true)] - internal extern static void DrawElementsInstancedEXT(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices, Int32 primcount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedNV", ExactSpelling = true)] - internal extern static void DrawElementsInstancedNV(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices, Int32 primcount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEGLImageTargetRenderbufferStorageOES", ExactSpelling = true)] - internal extern static void EGLImageTargetRenderbufferStorageOES(OpenTK.Graphics.ES20.All target, IntPtr image); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEGLImageTargetTexture2DOES", ExactSpelling = true)] - internal extern static void EGLImageTargetTexture2DOES(OpenTK.Graphics.ES20.All target, IntPtr image); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnable", ExactSpelling = true)] - internal extern static void Enable(OpenTK.Graphics.ES20.EnableCap cap); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableDriverControlQCOM", ExactSpelling = true)] - internal extern static void EnableDriverControlQCOM(UInt32 driverControl); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableVertexAttribArray", ExactSpelling = true)] - internal extern static void EnableVertexAttribArray(UInt32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndPerfMonitorAMD", ExactSpelling = true)] - internal extern static void EndPerfMonitorAMD(UInt32 monitor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndQueryEXT", ExactSpelling = true)] - internal extern static void EndQueryEXT(OpenTK.Graphics.ES20.QueryTarget target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndTilingQCOM", ExactSpelling = true)] - internal extern static void EndTilingQCOM(UInt32 preserveMask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetBufferPointervQCOM", ExactSpelling = true)] - internal extern static void ExtGetBufferPointervQCOM(OpenTK.Graphics.ES20.All target, [OutAttribute] IntPtr @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetBuffersQCOM", ExactSpelling = true)] - internal extern static unsafe void ExtGetBuffersQCOM([OutAttribute] UInt32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetFramebuffersQCOM", ExactSpelling = true)] - internal extern static unsafe void ExtGetFramebuffersQCOM([OutAttribute] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetProgramBinarySourceQCOM", ExactSpelling = true)] - internal extern static unsafe void ExtGetProgramBinarySourceQCOM(UInt32 program, OpenTK.Graphics.ES20.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32* length); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetProgramsQCOM", ExactSpelling = true)] - internal extern static unsafe void ExtGetProgramsQCOM([OutAttribute] UInt32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetRenderbuffersQCOM", ExactSpelling = true)] - internal extern static unsafe void ExtGetRenderbuffersQCOM([OutAttribute] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetShadersQCOM", ExactSpelling = true)] - internal extern static unsafe void ExtGetShadersQCOM([OutAttribute] UInt32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetTexLevelParameterivQCOM", ExactSpelling = true)] - internal extern static unsafe void ExtGetTexLevelParameterivQCOM(UInt32 texture, OpenTK.Graphics.ES20.All face, Int32 level, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetTexSubImageQCOM", ExactSpelling = true)] - internal extern static void ExtGetTexSubImageQCOM(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [OutAttribute] IntPtr texels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetTexturesQCOM", ExactSpelling = true)] - internal extern static unsafe void ExtGetTexturesQCOM([OutAttribute] UInt32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtIsProgramBinaryQCOM", ExactSpelling = true)] - internal extern static bool ExtIsProgramBinaryQCOM(UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtTexObjectStateOverrideiQCOM", ExactSpelling = true)] - internal extern static void ExtTexObjectStateOverrideiQCOM(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFenceSyncAPPLE", ExactSpelling = true)] - internal extern static IntPtr FenceSyncAPPLE(OpenTK.Graphics.ES20.SyncCondition condition, OpenTK.Graphics.ES20.WaitSyncFlags flags); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinish", ExactSpelling = true)] - internal extern static void Finish(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinishFenceNV", ExactSpelling = true)] - internal extern static void FinishFenceNV(UInt32 fence); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlush", ExactSpelling = true)] - internal extern static void Flush(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushMappedBufferRangeEXT", ExactSpelling = true)] - internal extern static void FlushMappedBufferRangeEXT(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr length); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferRenderbuffer", ExactSpelling = true)] - internal extern static void FramebufferRenderbuffer(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture2D", ExactSpelling = true)] - internal extern static void FramebufferTexture2D(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.TextureTarget2d textarget, UInt32 texture, Int32 level); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture2DMultisampleEXT", ExactSpelling = true)] - internal extern static void FramebufferTexture2DMultisampleEXT(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, UInt32 texture, Int32 level, Int32 samples); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture2DMultisampleIMG", ExactSpelling = true)] - internal extern static void FramebufferTexture2DMultisampleIMG(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, UInt32 texture, Int32 level, Int32 samples); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture3DOES", ExactSpelling = true)] - internal extern static void FramebufferTexture3DOES(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, UInt32 texture, Int32 level, Int32 zoffset); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrontFace", ExactSpelling = true)] - internal extern static void FrontFace(OpenTK.Graphics.ES20.FrontFaceDirection mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenBuffers", ExactSpelling = true)] - internal extern static unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenerateMipmap", ExactSpelling = true)] - internal extern static void GenerateMipmap(OpenTK.Graphics.ES20.TextureTarget target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFencesNV", ExactSpelling = true)] - internal extern static unsafe void GenFencesNV(Int32 n, [OutAttribute] UInt32* fences); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFramebuffers", ExactSpelling = true)] - internal extern static unsafe void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenPerfMonitorsAMD", ExactSpelling = true)] - internal extern static unsafe void GenPerfMonitorsAMD(Int32 n, [OutAttribute] UInt32* monitors); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenProgramPipelinesEXT", ExactSpelling = true)] - internal extern static unsafe void GenProgramPipelinesEXT(Int32 n, [OutAttribute] UInt32* pipelines); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenQueriesEXT", ExactSpelling = true)] - internal extern static unsafe void GenQueriesEXT(Int32 n, [OutAttribute] UInt32* ids); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenRenderbuffers", ExactSpelling = true)] - internal extern static unsafe void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenTextures", ExactSpelling = true)] - internal extern static unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenVertexArraysOES", ExactSpelling = true)] - internal extern static unsafe void GenVertexArraysOES(Int32 n, [OutAttribute] UInt32* arrays); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveAttrib", ExactSpelling = true)] - internal extern static unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveAttribType* type, [OutAttribute] StringBuilder name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniform", ExactSpelling = true)] - internal extern static unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveUniformType* type, [OutAttribute] StringBuilder name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetAttachedShaders", ExactSpelling = true)] - internal extern static unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetAttribLocation", ExactSpelling = true)] - internal extern static Int32 GetAttribLocation(UInt32 program, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBooleanv", ExactSpelling = true)] - internal extern static unsafe void GetBooleanv(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] bool* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetBufferParameteriv(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferParameterName pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferPointervOES", ExactSpelling = true)] - internal extern static void GetBufferPointervOES(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferPointer pname, [OutAttribute] IntPtr @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDebugMessageLog", ExactSpelling = true)] - internal extern static unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES20.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES20.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDebugMessageLogKHR", ExactSpelling = true)] - internal extern static unsafe Int32 GetDebugMessageLogKHR(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES20.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES20.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDriverControlsQCOM", ExactSpelling = true)] - internal extern static unsafe void GetDriverControlsQCOM([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDriverControlStringQCOM", ExactSpelling = true)] - internal extern static unsafe void GetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetError", ExactSpelling = true)] - internal extern static OpenTK.Graphics.ES20.ErrorCode GetError(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFenceivNV", ExactSpelling = true)] - internal extern static unsafe void GetFenceivNV(UInt32 fence, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFloatv", ExactSpelling = true)] - internal extern static unsafe void GetFloatv(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Single* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFramebufferAttachmentParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetFramebufferAttachmentParameteriv(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.FramebufferParameterName pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetGraphicsResetStatusEXT", ExactSpelling = true)] - internal extern static OpenTK.Graphics.ES20.All GetGraphicsResetStatusEXT(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInteger64vAPPLE", ExactSpelling = true)] - internal extern static unsafe void GetInteger64vAPPLE(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int64* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegeri_vEXT", ExactSpelling = true)] - internal extern static unsafe void GetIntegeri_vEXT(OpenTK.Graphics.ES20.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegerv", ExactSpelling = true)] - internal extern static unsafe void GetIntegerv(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int32* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnUniformfvEXT", ExactSpelling = true)] - internal extern static unsafe void GetnUniformfvEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnUniformivEXT", ExactSpelling = true)] - internal extern static unsafe void GetnUniformivEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectLabel", ExactSpelling = true)] - internal extern static unsafe void GetObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectLabelEXT", ExactSpelling = true)] - internal extern static unsafe void GetObjectLabelEXT(OpenTK.Graphics.ES20.All type, UInt32 @object, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectLabelKHR", ExactSpelling = true)] - internal extern static unsafe void GetObjectLabelKHR(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectPtrLabel", ExactSpelling = true)] - internal extern static unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectPtrLabelKHR", ExactSpelling = true)] - internal extern static unsafe void GetObjectPtrLabelKHR(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCounterDataAMD", ExactSpelling = true)] - internal extern static unsafe void GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] UInt32* data, [OutAttribute] Int32* bytesWritten); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCounterInfoAMD", ExactSpelling = true)] - internal extern static void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCountersAMD", ExactSpelling = true)] - internal extern static unsafe void GetPerfMonitorCountersAMD(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCounterStringAMD", ExactSpelling = true)] - internal extern static unsafe void GetPerfMonitorCounterStringAMD(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorGroupsAMD", ExactSpelling = true)] - internal extern static unsafe void GetPerfMonitorGroupsAMD([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorGroupStringAMD", ExactSpelling = true)] - internal extern static unsafe void GetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPointerv", ExactSpelling = true)] - internal extern static void GetPointerv(OpenTK.Graphics.ES20.GetPointervPName pname, [OutAttribute] IntPtr @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPointervKHR", ExactSpelling = true)] - internal extern static void GetPointervKHR(OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramBinaryOES", ExactSpelling = true)] - internal extern static unsafe void GetProgramBinaryOES(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [OutAttribute] IntPtr binary); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramInfoLog", ExactSpelling = true)] - internal extern static unsafe void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramiv", ExactSpelling = true)] - internal extern static unsafe void GetProgramiv(UInt32 program, OpenTK.Graphics.ES20.GetProgramParameterName pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramPipelineInfoLogEXT", ExactSpelling = true)] - internal extern static unsafe void GetProgramPipelineInfoLogEXT(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramPipelineivEXT", ExactSpelling = true)] - internal extern static unsafe void GetProgramPipelineivEXT(UInt32 pipeline, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryivEXT", ExactSpelling = true)] - internal extern static unsafe void GetQueryivEXT(OpenTK.Graphics.ES20.QueryTarget target, OpenTK.Graphics.ES20.GetQueryParam pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjecti64vEXT", ExactSpelling = true)] - internal extern static unsafe void GetQueryObjecti64vEXT(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] Int64* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectivEXT", ExactSpelling = true)] - internal extern static unsafe void GetQueryObjectivEXT(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectui64vEXT", ExactSpelling = true)] - internal extern static unsafe void GetQueryObjectui64vEXT(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] UInt64* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectuivEXT", ExactSpelling = true)] - internal extern static unsafe void GetQueryObjectuivEXT(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetRenderbufferParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetRenderbufferParameteriv(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferParameterName pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderInfoLog", ExactSpelling = true)] - internal extern static unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderiv", ExactSpelling = true)] - internal extern static unsafe void GetShaderiv(UInt32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderPrecisionFormat", ExactSpelling = true)] - internal extern static unsafe void GetShaderPrecisionFormat(OpenTK.Graphics.ES20.ShaderType shadertype, OpenTK.Graphics.ES20.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderSource", ExactSpelling = true)] - internal extern static unsafe void GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetString", ExactSpelling = true)] - internal extern static IntPtr GetString(OpenTK.Graphics.ES20.StringName name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSyncivAPPLE", ExactSpelling = true)] - internal extern static unsafe void GetSyncivAPPLE(IntPtr sync, OpenTK.Graphics.ES20.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterfv", ExactSpelling = true)] - internal extern static unsafe void GetTexParameterfv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameterName pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetTexParameteriv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameterName pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTranslatedShaderSourceANGLE", ExactSpelling = true)] - internal extern static unsafe void GetTranslatedShaderSourceANGLE(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformfv", ExactSpelling = true)] - internal extern static unsafe void GetUniformfv(UInt32 program, Int32 location, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformiv", ExactSpelling = true)] - internal extern static unsafe void GetUniformiv(UInt32 program, Int32 location, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformLocation", ExactSpelling = true)] - internal extern static Int32 GetUniformLocation(UInt32 program, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribfv", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribfv(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribiv", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribiv(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribPointerv", ExactSpelling = true)] - internal extern static void GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glHint", ExactSpelling = true)] - internal extern static void Hint(OpenTK.Graphics.ES20.HintTarget target, OpenTK.Graphics.ES20.HintMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glInsertEventMarkerEXT", ExactSpelling = true)] - internal extern static void InsertEventMarkerEXT(Int32 length, String marker); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsBuffer", ExactSpelling = true)] - internal extern static bool IsBuffer(UInt32 buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsEnabled", ExactSpelling = true)] - internal extern static bool IsEnabled(OpenTK.Graphics.ES20.EnableCap cap); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsFenceNV", ExactSpelling = true)] - internal extern static bool IsFenceNV(UInt32 fence); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsFramebuffer", ExactSpelling = true)] - internal extern static bool IsFramebuffer(UInt32 framebuffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsProgram", ExactSpelling = true)] - internal extern static bool IsProgram(UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsProgramPipelineEXT", ExactSpelling = true)] - internal extern static bool IsProgramPipelineEXT(UInt32 pipeline); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsQueryEXT", ExactSpelling = true)] - internal extern static bool IsQueryEXT(UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsRenderbuffer", ExactSpelling = true)] - internal extern static bool IsRenderbuffer(UInt32 renderbuffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsShader", ExactSpelling = true)] - internal extern static bool IsShader(UInt32 shader); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsSyncAPPLE", ExactSpelling = true)] - internal extern static bool IsSyncAPPLE(IntPtr sync); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsTexture", ExactSpelling = true)] - internal extern static bool IsTexture(UInt32 texture); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsVertexArrayOES", ExactSpelling = true)] - internal extern static bool IsVertexArrayOES(UInt32 array); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLabelObjectEXT", ExactSpelling = true)] - internal extern static void LabelObjectEXT(OpenTK.Graphics.ES20.All type, UInt32 @object, Int32 length, String label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLineWidth", ExactSpelling = true)] - internal extern static void LineWidth(Single width); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLinkProgram", ExactSpelling = true)] - internal extern static void LinkProgram(UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapBufferOES", ExactSpelling = true)] - internal extern static IntPtr MapBufferOES(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All access); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapBufferRangeEXT", ExactSpelling = true)] - internal extern static IntPtr MapBufferRangeEXT(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr length, UInt32 access); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawArraysEXT", ExactSpelling = true)] - internal extern static unsafe void MultiDrawArraysEXT(OpenTK.Graphics.ES20.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElementsEXT", ExactSpelling = true)] - internal extern static unsafe void MultiDrawElementsEXT(OpenTK.Graphics.ES20.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices, Int32 primcount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glObjectLabel", ExactSpelling = true)] - internal extern static void ObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glObjectLabelKHR", ExactSpelling = true)] - internal extern static void ObjectLabelKHR(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glObjectPtrLabel", ExactSpelling = true)] - internal extern static void ObjectPtrLabel(IntPtr ptr, Int32 length, String label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glObjectPtrLabelKHR", ExactSpelling = true)] - internal extern static void ObjectPtrLabelKHR(IntPtr ptr, Int32 length, String label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelStorei", ExactSpelling = true)] - internal extern static void PixelStorei(OpenTK.Graphics.ES20.PixelStoreParameter pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPolygonOffset", ExactSpelling = true)] - internal extern static void PolygonOffset(Single factor, Single units); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPopDebugGroup", ExactSpelling = true)] - internal extern static void PopDebugGroup(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPopDebugGroupKHR", ExactSpelling = true)] - internal extern static void PopDebugGroupKHR(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPopGroupMarkerEXT", ExactSpelling = true)] - internal extern static void PopGroupMarkerEXT(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramBinaryOES", ExactSpelling = true)] - internal extern static void ProgramBinaryOES(UInt32 program, OpenTK.Graphics.ES20.All binaryFormat, IntPtr binary, Int32 length); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameteriEXT", ExactSpelling = true)] - internal extern static void ProgramParameteriEXT(UInt32 program, OpenTK.Graphics.ES20.ProgramParameterName pname, Int32 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1fEXT", ExactSpelling = true)] - internal extern static void ProgramUniform1fEXT(UInt32 program, Int32 location, Single v0); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform1fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1iEXT", ExactSpelling = true)] - internal extern static void ProgramUniform1iEXT(UInt32 program, Int32 location, Int32 v0); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1ivEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform1ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1uiEXT", ExactSpelling = true)] - internal extern static void ProgramUniform1uiEXT(UInt32 program, Int32 location, UInt32 v0); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1uivEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform1uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2fEXT", ExactSpelling = true)] - internal extern static void ProgramUniform2fEXT(UInt32 program, Int32 location, Single v0, Single v1); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform2fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2iEXT", ExactSpelling = true)] - internal extern static void ProgramUniform2iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2ivEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform2ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2uiEXT", ExactSpelling = true)] - internal extern static void ProgramUniform2uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2uivEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform2uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3fEXT", ExactSpelling = true)] - internal extern static void ProgramUniform3fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform3fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3iEXT", ExactSpelling = true)] - internal extern static void ProgramUniform3iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3ivEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform3ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3uiEXT", ExactSpelling = true)] - internal extern static void ProgramUniform3uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3uivEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform3uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4fEXT", ExactSpelling = true)] - internal extern static void ProgramUniform4fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform4fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4iEXT", ExactSpelling = true)] - internal extern static void ProgramUniform4iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4ivEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform4ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4uiEXT", ExactSpelling = true)] - internal extern static void ProgramUniform4uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4uivEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform4uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2x3fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix2x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2x4fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix2x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3x2fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix3x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3x4fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix3x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4x2fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix4x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4x3fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix4x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPushDebugGroup", ExactSpelling = true)] - internal extern static void PushDebugGroup(OpenTK.Graphics.ES20.All source, UInt32 id, Int32 length, String message); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPushDebugGroupKHR", ExactSpelling = true)] - internal extern static void PushDebugGroupKHR(OpenTK.Graphics.ES20.All source, UInt32 id, Int32 length, String message); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPushGroupMarkerEXT", ExactSpelling = true)] - internal extern static void PushGroupMarkerEXT(Int32 length, String marker); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glQueryCounterEXT", ExactSpelling = true)] - internal extern static void QueryCounterEXT(UInt32 id, OpenTK.Graphics.ES20.All target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadBufferIndexedEXT", ExactSpelling = true)] - internal extern static void ReadBufferIndexedEXT(OpenTK.Graphics.ES20.All src, Int32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadBufferNV", ExactSpelling = true)] - internal extern static void ReadBufferNV(OpenTK.Graphics.ES20.All mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadnPixelsEXT", ExactSpelling = true)] - internal extern static void ReadnPixelsEXT(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, Int32 bufSize, [OutAttribute] IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadPixels", ExactSpelling = true)] - internal extern static void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [OutAttribute] IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReleaseShaderCompiler", ExactSpelling = true)] - internal extern static void ReleaseShaderCompiler(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorage", ExactSpelling = true)] - internal extern static void RenderbufferStorage(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisampleANGLE", ExactSpelling = true)] - internal extern static void RenderbufferStorageMultisampleANGLE(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisampleAPPLE", ExactSpelling = true)] - internal extern static void RenderbufferStorageMultisampleAPPLE(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisampleEXT", ExactSpelling = true)] - internal extern static void RenderbufferStorageMultisampleEXT(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisampleIMG", ExactSpelling = true)] - internal extern static void RenderbufferStorageMultisampleIMG(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisampleNV", ExactSpelling = true)] - internal extern static void RenderbufferStorageMultisampleNV(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResolveMultisampleFramebufferAPPLE", ExactSpelling = true)] - internal extern static void ResolveMultisampleFramebufferAPPLE(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleCoverage", ExactSpelling = true)] - internal extern static void SampleCoverage(Single value, bool invert); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glScissor", ExactSpelling = true)] - internal extern static void Scissor(Int32 x, Int32 y, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSelectPerfMonitorCountersAMD", ExactSpelling = true)] - internal extern static unsafe void SelectPerfMonitorCountersAMD(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32* counterList); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSetFenceNV", ExactSpelling = true)] - internal extern static void SetFenceNV(UInt32 fence, OpenTK.Graphics.ES20.All condition); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShaderBinary", ExactSpelling = true)] - internal extern static unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShaderSource", ExactSpelling = true)] - internal extern static unsafe void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStartTilingQCOM", ExactSpelling = true)] - internal extern static void StartTilingQCOM(UInt32 x, UInt32 y, UInt32 width, UInt32 height, UInt32 preserveMask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilFunc", ExactSpelling = true)] - internal extern static void StencilFunc(OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilFuncSeparate", ExactSpelling = true)] - internal extern static void StencilFuncSeparate(OpenTK.Graphics.ES20.StencilFace face, OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilMask", ExactSpelling = true)] - internal extern static void StencilMask(UInt32 mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilMaskSeparate", ExactSpelling = true)] - internal extern static void StencilMaskSeparate(OpenTK.Graphics.ES20.StencilFace face, UInt32 mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilOp", ExactSpelling = true)] - internal extern static void StencilOp(OpenTK.Graphics.ES20.StencilOp fail, OpenTK.Graphics.ES20.StencilOp zfail, OpenTK.Graphics.ES20.StencilOp zpass); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilOpSeparate", ExactSpelling = true)] - internal extern static void StencilOpSeparate(OpenTK.Graphics.ES20.StencilFace face, OpenTK.Graphics.ES20.StencilOp sfail, OpenTK.Graphics.ES20.StencilOp dpfail, OpenTK.Graphics.ES20.StencilOp dppass); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTestFenceNV", ExactSpelling = true)] - internal extern static bool TestFenceNV(UInt32 fence); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage2D", ExactSpelling = true)] - internal extern static void TexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage3DOES", ExactSpelling = true)] - internal extern static void TexImage3DOES(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES20.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterf", ExactSpelling = true)] - internal extern static void TexParameterf(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterfv", ExactSpelling = true)] - internal extern static unsafe void TexParameterfv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameteri", ExactSpelling = true)] - internal extern static void TexParameteri(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameteriv", ExactSpelling = true)] - internal extern static unsafe void TexParameteriv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage1DEXT", ExactSpelling = true)] - internal extern static void TexStorage1DEXT(OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage2DEXT", ExactSpelling = true)] - internal extern static void TexStorage2DEXT(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES20.SizedInternalFormat internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage3DEXT", ExactSpelling = true)] - internal extern static void TexStorage3DEXT(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 levels, OpenTK.Graphics.ES20.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage2D", ExactSpelling = true)] - internal extern static void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage3DOES", ExactSpelling = true)] - internal extern static void TexSubImage3DOES(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureStorage1DEXT", ExactSpelling = true)] - internal extern static void TextureStorage1DEXT(UInt32 texture, OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureStorage2DEXT", ExactSpelling = true)] - internal extern static void TextureStorage2DEXT(UInt32 texture, OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureStorage3DEXT", ExactSpelling = true)] - internal extern static void TextureStorage3DEXT(UInt32 texture, OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1f", ExactSpelling = true)] - internal extern static void Uniform1f(Int32 location, Single v0); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1fv", ExactSpelling = true)] - internal extern static unsafe void Uniform1fv(Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1i", ExactSpelling = true)] - internal extern static void Uniform1i(Int32 location, Int32 v0); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1iv", ExactSpelling = true)] - internal extern static unsafe void Uniform1iv(Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2f", ExactSpelling = true)] - internal extern static void Uniform2f(Int32 location, Single v0, Single v1); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2fv", ExactSpelling = true)] - internal extern static unsafe void Uniform2fv(Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2i", ExactSpelling = true)] - internal extern static void Uniform2i(Int32 location, Int32 v0, Int32 v1); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2iv", ExactSpelling = true)] - internal extern static unsafe void Uniform2iv(Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3f", ExactSpelling = true)] - internal extern static void Uniform3f(Int32 location, Single v0, Single v1, Single v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3fv", ExactSpelling = true)] - internal extern static unsafe void Uniform3fv(Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3i", ExactSpelling = true)] - internal extern static void Uniform3i(Int32 location, Int32 v0, Int32 v1, Int32 v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3iv", ExactSpelling = true)] - internal extern static unsafe void Uniform3iv(Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4f", ExactSpelling = true)] - internal extern static void Uniform4f(Int32 location, Single v0, Single v1, Single v2, Single v3); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4fv", ExactSpelling = true)] - internal extern static unsafe void Uniform4fv(Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4i", ExactSpelling = true)] - internal extern static void Uniform4i(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4iv", ExactSpelling = true)] - internal extern static unsafe void Uniform4iv(Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2fv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix2fv(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2x3fvNV", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix2x3fvNV(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2x4fvNV", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix2x4fvNV(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3fv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix3fv(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3x2fvNV", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix3x2fvNV(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3x4fvNV", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix3x4fvNV(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4fv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix4fv(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4x2fvNV", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix4x2fvNV(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4x3fvNV", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix4x3fvNV(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUnmapBufferOES", ExactSpelling = true)] - internal extern static bool UnmapBufferOES(OpenTK.Graphics.ES20.BufferTarget target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUseProgram", ExactSpelling = true)] - internal extern static void UseProgram(UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUseProgramStagesEXT", ExactSpelling = true)] - internal extern static void UseProgramStagesEXT(UInt32 pipeline, UInt32 stages, UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUseShaderProgramEXT", ExactSpelling = true)] - internal extern static void UseShaderProgramEXT(OpenTK.Graphics.ES20.All type, UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glValidateProgram", ExactSpelling = true)] - internal extern static void ValidateProgram(UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glValidateProgramPipelineEXT", ExactSpelling = true)] - internal extern static void ValidateProgramPipelineEXT(UInt32 pipeline); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1f", ExactSpelling = true)] - internal extern static void VertexAttrib1f(UInt32 index, Single x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1fv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib1fv(UInt32 index, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2f", ExactSpelling = true)] - internal extern static void VertexAttrib2f(UInt32 index, Single x, Single y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2fv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib2fv(UInt32 index, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3f", ExactSpelling = true)] - internal extern static void VertexAttrib3f(UInt32 index, Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3fv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib3fv(UInt32 index, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4f", ExactSpelling = true)] - internal extern static void VertexAttrib4f(UInt32 index, Single x, Single y, Single z, Single w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4fv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4fv(UInt32 index, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribDivisorANGLE", ExactSpelling = true)] - internal extern static void VertexAttribDivisorANGLE(UInt32 index, UInt32 divisor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribDivisorEXT", ExactSpelling = true)] - internal extern static void VertexAttribDivisorEXT(UInt32 index, UInt32 divisor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribDivisorNV", ExactSpelling = true)] - internal extern static void VertexAttribDivisorNV(UInt32 index, UInt32 divisor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribPointer", ExactSpelling = true)] - internal extern static void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glViewport", ExactSpelling = true)] - internal extern static void Viewport(Int32 x, Int32 y, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWaitSyncAPPLE", ExactSpelling = true)] - internal extern static void WaitSyncAPPLE(IntPtr sync, OpenTK.Graphics.ES20.WaitSyncFlags flags, UInt64 timeout); - } - } -} diff --git a/Source/OpenTK/Graphics/ES20/ES20Delegates.cs b/Source/OpenTK/Graphics/ES20/ES20Delegates.cs deleted file mode 100644 index abdf32bd..00000000 --- a/Source/OpenTK/Graphics/ES20/ES20Delegates.cs +++ /dev/null @@ -1,1069 +0,0 @@ -// -// The Open Toolkit Library License -// -// Copyright (c) 2006 - 2013 Stefanos Apostolopoulos for the Open Toolkit Library -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights to -// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -// the Software, and to permit persons to whom the Software is furnished to do -// so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -// OTHER DEALINGS IN THE SOFTWARE. -// - - - -namespace OpenTK.Graphics.ES20 -{ - using System; - using System.Text; - using System.Runtime.InteropServices; - #pragma warning disable 0649 - #pragma warning disable 3019 - #pragma warning disable 1591 - - partial class GL - { - internal static partial class Delegates - { - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ActiveProgramEXT(UInt32 program); - internal static ActiveProgramEXT glActiveProgramEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ActiveShaderProgramEXT(UInt32 pipeline, UInt32 program); - internal static ActiveShaderProgramEXT glActiveShaderProgramEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ActiveTexture(OpenTK.Graphics.ES20.TextureUnit texture); - internal static ActiveTexture glActiveTexture; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void AlphaFuncQCOM(OpenTK.Graphics.ES20.All func, Single @ref); - internal static AlphaFuncQCOM glAlphaFuncQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void AttachShader(UInt32 program, UInt32 shader); - internal static AttachShader glAttachShader; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginPerfMonitorAMD(UInt32 monitor); - internal static BeginPerfMonitorAMD glBeginPerfMonitorAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginQueryEXT(OpenTK.Graphics.ES20.QueryTarget target, UInt32 id); - internal static BeginQueryEXT glBeginQueryEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindAttribLocation(UInt32 program, UInt32 index, String name); - internal static BindAttribLocation glBindAttribLocation; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindBuffer(OpenTK.Graphics.ES20.BufferTarget target, UInt32 buffer); - internal static BindBuffer glBindBuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindFramebuffer(OpenTK.Graphics.ES20.FramebufferTarget target, UInt32 framebuffer); - internal static BindFramebuffer glBindFramebuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindProgramPipelineEXT(UInt32 pipeline); - internal static BindProgramPipelineEXT glBindProgramPipelineEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindRenderbuffer(OpenTK.Graphics.ES20.RenderbufferTarget target, UInt32 renderbuffer); - internal static BindRenderbuffer glBindRenderbuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindTexture(OpenTK.Graphics.ES20.TextureTarget target, UInt32 texture); - internal static BindTexture glBindTexture; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindVertexArrayOES(UInt32 array); - internal static BindVertexArrayOES glBindVertexArrayOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendBarrierNV(); - internal static BlendBarrierNV glBlendBarrierNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendColor(Single red, Single green, Single blue, Single alpha); - internal static BlendColor glBlendColor; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquation(OpenTK.Graphics.ES20.BlendEquationMode mode); - internal static BlendEquation glBlendEquation; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquationEXT(OpenTK.Graphics.ES20.BlendEquationMode mode); - internal static BlendEquationEXT glBlendEquationEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquationSeparate(OpenTK.Graphics.ES20.BlendEquationMode modeRGB, OpenTK.Graphics.ES20.BlendEquationMode modeAlpha); - internal static BlendEquationSeparate glBlendEquationSeparate; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendFunc(OpenTK.Graphics.ES20.BlendingFactorSrc sfactor, OpenTK.Graphics.ES20.BlendingFactorDest dfactor); - internal static BlendFunc glBlendFunc; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendFuncSeparate(OpenTK.Graphics.ES20.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.ES20.BlendingFactorDest dfactorRGB, OpenTK.Graphics.ES20.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.ES20.BlendingFactorDest dfactorAlpha); - internal static BlendFuncSeparate glBlendFuncSeparate; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendParameteriNV(OpenTK.Graphics.ES20.All pname, Int32 value); - internal static BlendParameteriNV glBlendParameteriNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlitFramebufferANGLE(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES20.ClearBufferMask mask, OpenTK.Graphics.ES20.BlitFramebufferFilter filter); - internal static BlitFramebufferANGLE glBlitFramebufferANGLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlitFramebufferNV(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES20.ClearBufferMask mask, OpenTK.Graphics.ES20.BlitFramebufferFilter filter); - internal static BlitFramebufferNV glBlitFramebufferNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES20.BufferUsageHint usage); - internal static BufferData glBufferData; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BufferSubData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data); - internal static BufferSubData glBufferSubData; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate OpenTK.Graphics.ES20.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.ES20.FramebufferTarget target); - internal static CheckFramebufferStatus glCheckFramebufferStatus; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Clear(OpenTK.Graphics.ES20.ClearBufferMask mask); - internal static Clear glClear; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearColor(Single red, Single green, Single blue, Single alpha); - internal static ClearColor glClearColor; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearDepthf(Single d); - internal static ClearDepthf glClearDepthf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearStencil(Int32 s); - internal static ClearStencil glClearStencil; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate OpenTK.Graphics.ES20.WaitSyncStatus ClientWaitSyncAPPLE(IntPtr sync, OpenTK.Graphics.ES20.ClientWaitSyncFlags flags, UInt64 timeout); - internal static ClientWaitSyncAPPLE glClientWaitSyncAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorMask(bool red, bool green, bool blue, bool alpha); - internal static ColorMask glColorMask; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompileShader(UInt32 shader); - internal static CompileShader glCompileShader; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); - internal static CompressedTexImage2D glCompressedTexImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexImage3DOES(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES20.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); - internal static CompressedTexImage3DOES glCompressedTexImage3DOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, IntPtr data); - internal static CompressedTexSubImage2D glCompressedTexSubImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexSubImage3DOES(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, IntPtr data); - internal static CompressedTexSubImage3DOES glCompressedTexSubImage3DOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyBufferSubDataNV(OpenTK.Graphics.ES20.BufferTarget readTarget, OpenTK.Graphics.ES20.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size); - internal static CopyBufferSubDataNV glCopyBufferSubDataNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.TextureCopyComponentCount internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); - internal static CopyTexImage2D glCopyTexImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); - internal static CopyTexSubImage2D glCopyTexSubImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexSubImage3DOES(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); - internal static CopyTexSubImage3DOES glCopyTexSubImage3DOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTextureLevelsAPPLE(UInt32 destinationTexture, UInt32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount); - internal static CopyTextureLevelsAPPLE glCopyTextureLevelsAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CoverageMaskNV(bool mask); - internal static CoverageMaskNV glCoverageMaskNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CoverageOperationNV(OpenTK.Graphics.ES20.All operation); - internal static CoverageOperationNV glCoverageOperationNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 CreateProgram(); - internal static CreateProgram glCreateProgram; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 CreateShader(OpenTK.Graphics.ES20.ShaderType type); - internal static CreateShader glCreateShader; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 CreateShaderProgramEXT(OpenTK.Graphics.ES20.All type, String @string); - internal static CreateShaderProgramEXT glCreateShaderProgramEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 CreateShaderProgramvEXT(OpenTK.Graphics.ES20.All type, Int32 count, String[] strings); - internal static CreateShaderProgramvEXT glCreateShaderProgramvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CullFace(OpenTK.Graphics.ES20.CullFaceMode mode); - internal static CullFace glCullFace; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DebugMessageCallback(DebugProc callback, IntPtr userParam); - internal static DebugMessageCallback glDebugMessageCallback; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DebugMessageCallbackKHR(DebugProcKhr callback, IntPtr userParam); - internal static DebugMessageCallbackKHR glDebugMessageCallbackKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DebugMessageControl(OpenTK.Graphics.ES20.DebugSourceControl source, OpenTK.Graphics.ES20.DebugTypeControl type, OpenTK.Graphics.ES20.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled); - internal unsafe static DebugMessageControl glDebugMessageControl; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DebugMessageControlKHR(OpenTK.Graphics.ES20.DebugSourceControl source, OpenTK.Graphics.ES20.DebugTypeControl type, OpenTK.Graphics.ES20.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled); - internal unsafe static DebugMessageControlKHR glDebugMessageControlKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DebugMessageInsert(OpenTK.Graphics.ES20.DebugSourceExternal source, OpenTK.Graphics.ES20.DebugType type, UInt32 id, OpenTK.Graphics.ES20.DebugSeverity severity, Int32 length, String buf); - internal static DebugMessageInsert glDebugMessageInsert; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DebugMessageInsertKHR(OpenTK.Graphics.ES20.DebugSourceExternal source, OpenTK.Graphics.ES20.DebugType type, UInt32 id, OpenTK.Graphics.ES20.DebugSeverity severity, Int32 length, String buf); - internal static DebugMessageInsertKHR glDebugMessageInsertKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteBuffers(Int32 n, UInt32* buffers); - internal unsafe static DeleteBuffers glDeleteBuffers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteFencesNV(Int32 n, UInt32* fences); - internal unsafe static DeleteFencesNV glDeleteFencesNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteFramebuffers(Int32 n, UInt32* framebuffers); - internal unsafe static DeleteFramebuffers glDeleteFramebuffers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeletePerfMonitorsAMD(Int32 n, UInt32* monitors); - internal unsafe static DeletePerfMonitorsAMD glDeletePerfMonitorsAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DeleteProgram(UInt32 program); - internal static DeleteProgram glDeleteProgram; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteProgramPipelinesEXT(Int32 n, UInt32* pipelines); - internal unsafe static DeleteProgramPipelinesEXT glDeleteProgramPipelinesEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteQueriesEXT(Int32 n, UInt32* ids); - internal unsafe static DeleteQueriesEXT glDeleteQueriesEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers); - internal unsafe static DeleteRenderbuffers glDeleteRenderbuffers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DeleteShader(UInt32 shader); - internal static DeleteShader glDeleteShader; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DeleteSyncAPPLE(IntPtr sync); - internal static DeleteSyncAPPLE glDeleteSyncAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteTextures(Int32 n, UInt32* textures); - internal unsafe static DeleteTextures glDeleteTextures; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteVertexArraysOES(Int32 n, UInt32* arrays); - internal unsafe static DeleteVertexArraysOES glDeleteVertexArraysOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DepthFunc(OpenTK.Graphics.ES20.DepthFunction func); - internal static DepthFunc glDepthFunc; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DepthMask(bool flag); - internal static DepthMask glDepthMask; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DepthRangef(Single n, Single f); - internal static DepthRangef glDepthRangef; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DetachShader(UInt32 program, UInt32 shader); - internal static DetachShader glDetachShader; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Disable(OpenTK.Graphics.ES20.EnableCap cap); - internal static Disable glDisable; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DisableDriverControlQCOM(UInt32 driverControl); - internal static DisableDriverControlQCOM glDisableDriverControlQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DisableVertexAttribArray(UInt32 index); - internal static DisableVertexAttribArray glDisableVertexAttribArray; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DiscardFramebufferEXT(OpenTK.Graphics.ES20.All target, Int32 numAttachments, OpenTK.Graphics.ES20.All* attachments); - internal unsafe static DiscardFramebufferEXT glDiscardFramebufferEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawArrays(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 first, Int32 count); - internal static DrawArrays glDrawArrays; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawArraysInstancedANGLE(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount); - internal static DrawArraysInstancedANGLE glDrawArraysInstancedANGLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawArraysInstancedEXT(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 start, Int32 count, Int32 primcount); - internal static DrawArraysInstancedEXT glDrawArraysInstancedEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawArraysInstancedNV(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount); - internal static DrawArraysInstancedNV glDrawArraysInstancedNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DrawBuffersEXT(Int32 n, OpenTK.Graphics.ES20.DrawBufferMode* bufs); - internal unsafe static DrawBuffersEXT glDrawBuffersEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DrawBuffersIndexedEXT(Int32 n, OpenTK.Graphics.ES20.All* location, Int32* indices); - internal unsafe static DrawBuffersIndexedEXT glDrawBuffersIndexedEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DrawBuffersNV(Int32 n, OpenTK.Graphics.ES20.DrawBufferMode* bufs); - internal unsafe static DrawBuffersNV glDrawBuffersNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices); - internal static DrawElements glDrawElements; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElementsInstancedANGLE(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices, Int32 primcount); - internal static DrawElementsInstancedANGLE glDrawElementsInstancedANGLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElementsInstancedEXT(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices, Int32 primcount); - internal static DrawElementsInstancedEXT glDrawElementsInstancedEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElementsInstancedNV(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices, Int32 primcount); - internal static DrawElementsInstancedNV glDrawElementsInstancedNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EGLImageTargetRenderbufferStorageOES(OpenTK.Graphics.ES20.All target, IntPtr image); - internal static EGLImageTargetRenderbufferStorageOES glEGLImageTargetRenderbufferStorageOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EGLImageTargetTexture2DOES(OpenTK.Graphics.ES20.All target, IntPtr image); - internal static EGLImageTargetTexture2DOES glEGLImageTargetTexture2DOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Enable(OpenTK.Graphics.ES20.EnableCap cap); - internal static Enable glEnable; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EnableDriverControlQCOM(UInt32 driverControl); - internal static EnableDriverControlQCOM glEnableDriverControlQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EnableVertexAttribArray(UInt32 index); - internal static EnableVertexAttribArray glEnableVertexAttribArray; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndPerfMonitorAMD(UInt32 monitor); - internal static EndPerfMonitorAMD glEndPerfMonitorAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndQueryEXT(OpenTK.Graphics.ES20.QueryTarget target); - internal static EndQueryEXT glEndQueryEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndTilingQCOM(UInt32 preserveMask); - internal static EndTilingQCOM glEndTilingQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ExtGetBufferPointervQCOM(OpenTK.Graphics.ES20.All target, [OutAttribute] IntPtr @params); - internal static ExtGetBufferPointervQCOM glExtGetBufferPointervQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ExtGetBuffersQCOM([OutAttribute] UInt32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers); - internal unsafe static ExtGetBuffersQCOM glExtGetBuffersQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ExtGetFramebuffersQCOM([OutAttribute] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers); - internal unsafe static ExtGetFramebuffersQCOM glExtGetFramebuffersQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ExtGetProgramBinarySourceQCOM(UInt32 program, OpenTK.Graphics.ES20.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32* length); - internal unsafe static ExtGetProgramBinarySourceQCOM glExtGetProgramBinarySourceQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ExtGetProgramsQCOM([OutAttribute] UInt32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms); - internal unsafe static ExtGetProgramsQCOM glExtGetProgramsQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ExtGetRenderbuffersQCOM([OutAttribute] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers); - internal unsafe static ExtGetRenderbuffersQCOM glExtGetRenderbuffersQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ExtGetShadersQCOM([OutAttribute] UInt32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders); - internal unsafe static ExtGetShadersQCOM glExtGetShadersQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ExtGetTexLevelParameterivQCOM(UInt32 texture, OpenTK.Graphics.ES20.All face, Int32 level, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params); - internal unsafe static ExtGetTexLevelParameterivQCOM glExtGetTexLevelParameterivQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ExtGetTexSubImageQCOM(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [OutAttribute] IntPtr texels); - internal static ExtGetTexSubImageQCOM glExtGetTexSubImageQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ExtGetTexturesQCOM([OutAttribute] UInt32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures); - internal unsafe static ExtGetTexturesQCOM glExtGetTexturesQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool ExtIsProgramBinaryQCOM(UInt32 program); - internal static ExtIsProgramBinaryQCOM glExtIsProgramBinaryQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ExtTexObjectStateOverrideiQCOM(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Int32 param); - internal static ExtTexObjectStateOverrideiQCOM glExtTexObjectStateOverrideiQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr FenceSyncAPPLE(OpenTK.Graphics.ES20.SyncCondition condition, OpenTK.Graphics.ES20.WaitSyncFlags flags); - internal static FenceSyncAPPLE glFenceSyncAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Finish(); - internal static Finish glFinish; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FinishFenceNV(UInt32 fence); - internal static FinishFenceNV glFinishFenceNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Flush(); - internal static Flush glFlush; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FlushMappedBufferRangeEXT(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr length); - internal static FlushMappedBufferRangeEXT glFlushMappedBufferRangeEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferRenderbuffer(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); - internal static FramebufferRenderbuffer glFramebufferRenderbuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTexture2D(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.TextureTarget2d textarget, UInt32 texture, Int32 level); - internal static FramebufferTexture2D glFramebufferTexture2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTexture2DMultisampleEXT(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, UInt32 texture, Int32 level, Int32 samples); - internal static FramebufferTexture2DMultisampleEXT glFramebufferTexture2DMultisampleEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTexture2DMultisampleIMG(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, UInt32 texture, Int32 level, Int32 samples); - internal static FramebufferTexture2DMultisampleIMG glFramebufferTexture2DMultisampleIMG; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTexture3DOES(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, UInt32 texture, Int32 level, Int32 zoffset); - internal static FramebufferTexture3DOES glFramebufferTexture3DOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FrontFace(OpenTK.Graphics.ES20.FrontFaceDirection mode); - internal static FrontFace glFrontFace; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers); - internal unsafe static GenBuffers glGenBuffers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GenerateMipmap(OpenTK.Graphics.ES20.TextureTarget target); - internal static GenerateMipmap glGenerateMipmap; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenFencesNV(Int32 n, [OutAttribute] UInt32* fences); - internal unsafe static GenFencesNV glGenFencesNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers); - internal unsafe static GenFramebuffers glGenFramebuffers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenPerfMonitorsAMD(Int32 n, [OutAttribute] UInt32* monitors); - internal unsafe static GenPerfMonitorsAMD glGenPerfMonitorsAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenProgramPipelinesEXT(Int32 n, [OutAttribute] UInt32* pipelines); - internal unsafe static GenProgramPipelinesEXT glGenProgramPipelinesEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenQueriesEXT(Int32 n, [OutAttribute] UInt32* ids); - internal unsafe static GenQueriesEXT glGenQueriesEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers); - internal unsafe static GenRenderbuffers glGenRenderbuffers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenTextures(Int32 n, [OutAttribute] UInt32* textures); - internal unsafe static GenTextures glGenTextures; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenVertexArraysOES(Int32 n, [OutAttribute] UInt32* arrays); - internal unsafe static GenVertexArraysOES glGenVertexArraysOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveAttribType* type, [OutAttribute] StringBuilder name); - internal unsafe static GetActiveAttrib glGetActiveAttrib; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveUniformType* type, [OutAttribute] StringBuilder name); - internal unsafe static GetActiveUniform glGetActiveUniform; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders); - internal unsafe static GetAttachedShaders glGetAttachedShaders; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetAttribLocation(UInt32 program, String name); - internal static GetAttribLocation glGetAttribLocation; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetBooleanv(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] bool* data); - internal unsafe static GetBooleanv glGetBooleanv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetBufferParameteriv(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferParameterName pname, [OutAttribute] Int32* @params); - internal unsafe static GetBufferParameteriv glGetBufferParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetBufferPointervOES(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferPointer pname, [OutAttribute] IntPtr @params); - internal static GetBufferPointervOES glGetBufferPointervOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES20.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES20.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); - internal unsafe static GetDebugMessageLog glGetDebugMessageLog; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Int32 GetDebugMessageLogKHR(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES20.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES20.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); - internal unsafe static GetDebugMessageLogKHR glGetDebugMessageLogKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetDriverControlsQCOM([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls); - internal unsafe static GetDriverControlsQCOM glGetDriverControlsQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString); - internal unsafe static GetDriverControlStringQCOM glGetDriverControlStringQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate OpenTK.Graphics.ES20.ErrorCode GetError(); - internal static GetError glGetError; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFenceivNV(UInt32 fence, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params); - internal unsafe static GetFenceivNV glGetFenceivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFloatv(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Single* data); - internal unsafe static GetFloatv glGetFloatv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFramebufferAttachmentParameteriv(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.FramebufferParameterName pname, [OutAttribute] Int32* @params); - internal unsafe static GetFramebufferAttachmentParameteriv glGetFramebufferAttachmentParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate OpenTK.Graphics.ES20.All GetGraphicsResetStatusEXT(); - internal static GetGraphicsResetStatusEXT glGetGraphicsResetStatusEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetInteger64vAPPLE(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int64* @params); - internal unsafe static GetInteger64vAPPLE glGetInteger64vAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetIntegeri_vEXT(OpenTK.Graphics.ES20.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data); - internal unsafe static GetIntegeri_vEXT glGetIntegeri_vEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetIntegerv(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int32* data); - internal unsafe static GetIntegerv glGetIntegerv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetnUniformfvEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params); - internal unsafe static GetnUniformfvEXT glGetnUniformfvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetnUniformivEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params); - internal unsafe static GetnUniformivEXT glGetnUniformivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - internal unsafe static GetObjectLabel glGetObjectLabel; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetObjectLabelEXT(OpenTK.Graphics.ES20.All type, UInt32 @object, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - internal unsafe static GetObjectLabelEXT glGetObjectLabelEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetObjectLabelKHR(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - internal unsafe static GetObjectLabelKHR glGetObjectLabelKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - internal unsafe static GetObjectPtrLabel glGetObjectPtrLabel; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetObjectPtrLabelKHR(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - internal unsafe static GetObjectPtrLabelKHR glGetObjectPtrLabelKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] UInt32* data, [OutAttribute] Int32* bytesWritten); - internal unsafe static GetPerfMonitorCounterDataAMD glGetPerfMonitorCounterDataAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr data); - internal static GetPerfMonitorCounterInfoAMD glGetPerfMonitorCounterInfoAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPerfMonitorCountersAMD(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters); - internal unsafe static GetPerfMonitorCountersAMD glGetPerfMonitorCountersAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPerfMonitorCounterStringAMD(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString); - internal unsafe static GetPerfMonitorCounterStringAMD glGetPerfMonitorCounterStringAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPerfMonitorGroupsAMD([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups); - internal unsafe static GetPerfMonitorGroupsAMD glGetPerfMonitorGroupsAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString); - internal unsafe static GetPerfMonitorGroupStringAMD glGetPerfMonitorGroupStringAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetPointerv(OpenTK.Graphics.ES20.GetPointervPName pname, [OutAttribute] IntPtr @params); - internal static GetPointerv glGetPointerv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetPointervKHR(OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr @params); - internal static GetPointervKHR glGetPointervKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramBinaryOES(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [OutAttribute] IntPtr binary); - internal unsafe static GetProgramBinaryOES glGetProgramBinaryOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); - internal unsafe static GetProgramInfoLog glGetProgramInfoLog; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramiv(UInt32 program, OpenTK.Graphics.ES20.GetProgramParameterName pname, [OutAttribute] Int32* @params); - internal unsafe static GetProgramiv glGetProgramiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramPipelineInfoLogEXT(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); - internal unsafe static GetProgramPipelineInfoLogEXT glGetProgramPipelineInfoLogEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramPipelineivEXT(UInt32 pipeline, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params); - internal unsafe static GetProgramPipelineivEXT glGetProgramPipelineivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryivEXT(OpenTK.Graphics.ES20.QueryTarget target, OpenTK.Graphics.ES20.GetQueryParam pname, [OutAttribute] Int32* @params); - internal unsafe static GetQueryivEXT glGetQueryivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryObjecti64vEXT(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] Int64* @params); - internal unsafe static GetQueryObjecti64vEXT glGetQueryObjecti64vEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryObjectivEXT(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] Int32* @params); - internal unsafe static GetQueryObjectivEXT glGetQueryObjectivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryObjectui64vEXT(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] UInt64* @params); - internal unsafe static GetQueryObjectui64vEXT glGetQueryObjectui64vEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryObjectuivEXT(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] UInt32* @params); - internal unsafe static GetQueryObjectuivEXT glGetQueryObjectuivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetRenderbufferParameteriv(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferParameterName pname, [OutAttribute] Int32* @params); - internal unsafe static GetRenderbufferParameteriv glGetRenderbufferParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); - internal unsafe static GetShaderInfoLog glGetShaderInfoLog; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetShaderiv(UInt32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetShaderiv glGetShaderiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetShaderPrecisionFormat(OpenTK.Graphics.ES20.ShaderType shadertype, OpenTK.Graphics.ES20.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision); - internal unsafe static GetShaderPrecisionFormat glGetShaderPrecisionFormat; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); - internal unsafe static GetShaderSource glGetShaderSource; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr GetString(OpenTK.Graphics.ES20.StringName name); - internal static GetString glGetString; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetSyncivAPPLE(IntPtr sync, OpenTK.Graphics.ES20.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); - internal unsafe static GetSyncivAPPLE glGetSyncivAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexParameterfv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameterName pname, [OutAttribute] Single* @params); - internal unsafe static GetTexParameterfv glGetTexParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexParameteriv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameterName pname, [OutAttribute] Int32* @params); - internal unsafe static GetTexParameteriv glGetTexParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTranslatedShaderSourceANGLE(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); - internal unsafe static GetTranslatedShaderSourceANGLE glGetTranslatedShaderSourceANGLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetUniformfv(UInt32 program, Int32 location, [OutAttribute] Single* @params); - internal unsafe static GetUniformfv glGetUniformfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetUniformiv(UInt32 program, Int32 location, [OutAttribute] Int32* @params); - internal unsafe static GetUniformiv glGetUniformiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetUniformLocation(UInt32 program, String name); - internal static GetUniformLocation glGetUniformLocation; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribfv(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Single* @params); - internal unsafe static GetVertexAttribfv glGetVertexAttribfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribiv(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetVertexAttribiv glGetVertexAttribiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer); - internal static GetVertexAttribPointerv glGetVertexAttribPointerv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Hint(OpenTK.Graphics.ES20.HintTarget target, OpenTK.Graphics.ES20.HintMode mode); - internal static Hint glHint; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void InsertEventMarkerEXT(Int32 length, String marker); - internal static InsertEventMarkerEXT glInsertEventMarkerEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsBuffer(UInt32 buffer); - internal static IsBuffer glIsBuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsEnabled(OpenTK.Graphics.ES20.EnableCap cap); - internal static IsEnabled glIsEnabled; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsFenceNV(UInt32 fence); - internal static IsFenceNV glIsFenceNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsFramebuffer(UInt32 framebuffer); - internal static IsFramebuffer glIsFramebuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsProgram(UInt32 program); - internal static IsProgram glIsProgram; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsProgramPipelineEXT(UInt32 pipeline); - internal static IsProgramPipelineEXT glIsProgramPipelineEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsQueryEXT(UInt32 id); - internal static IsQueryEXT glIsQueryEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsRenderbuffer(UInt32 renderbuffer); - internal static IsRenderbuffer glIsRenderbuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsShader(UInt32 shader); - internal static IsShader glIsShader; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsSyncAPPLE(IntPtr sync); - internal static IsSyncAPPLE glIsSyncAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsTexture(UInt32 texture); - internal static IsTexture glIsTexture; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsVertexArrayOES(UInt32 array); - internal static IsVertexArrayOES glIsVertexArrayOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LabelObjectEXT(OpenTK.Graphics.ES20.All type, UInt32 @object, Int32 length, String label); - internal static LabelObjectEXT glLabelObjectEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LineWidth(Single width); - internal static LineWidth glLineWidth; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LinkProgram(UInt32 program); - internal static LinkProgram glLinkProgram; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr MapBufferOES(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All access); - internal static MapBufferOES glMapBufferOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr MapBufferRangeEXT(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr length, UInt32 access); - internal static MapBufferRangeEXT glMapBufferRangeEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiDrawArraysEXT(OpenTK.Graphics.ES20.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount); - internal unsafe static MultiDrawArraysEXT glMultiDrawArraysEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiDrawElementsEXT(OpenTK.Graphics.ES20.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices, Int32 primcount); - internal unsafe static MultiDrawElementsEXT glMultiDrawElementsEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label); - internal static ObjectLabel glObjectLabel; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ObjectLabelKHR(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label); - internal static ObjectLabelKHR glObjectLabelKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ObjectPtrLabel(IntPtr ptr, Int32 length, String label); - internal static ObjectPtrLabel glObjectPtrLabel; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ObjectPtrLabelKHR(IntPtr ptr, Int32 length, String label); - internal static ObjectPtrLabelKHR glObjectPtrLabelKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelStorei(OpenTK.Graphics.ES20.PixelStoreParameter pname, Int32 param); - internal static PixelStorei glPixelStorei; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PolygonOffset(Single factor, Single units); - internal static PolygonOffset glPolygonOffset; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PopDebugGroup(); - internal static PopDebugGroup glPopDebugGroup; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PopDebugGroupKHR(); - internal static PopDebugGroupKHR glPopDebugGroupKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PopGroupMarkerEXT(); - internal static PopGroupMarkerEXT glPopGroupMarkerEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramBinaryOES(UInt32 program, OpenTK.Graphics.ES20.All binaryFormat, IntPtr binary, Int32 length); - internal static ProgramBinaryOES glProgramBinaryOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramParameteriEXT(UInt32 program, OpenTK.Graphics.ES20.ProgramParameterName pname, Int32 value); - internal static ProgramParameteriEXT glProgramParameteriEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform1fEXT(UInt32 program, Int32 location, Single v0); - internal static ProgramUniform1fEXT glProgramUniform1fEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform1fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); - internal unsafe static ProgramUniform1fvEXT glProgramUniform1fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform1iEXT(UInt32 program, Int32 location, Int32 v0); - internal static ProgramUniform1iEXT glProgramUniform1iEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform1ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); - internal unsafe static ProgramUniform1ivEXT glProgramUniform1ivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform1uiEXT(UInt32 program, Int32 location, UInt32 v0); - internal static ProgramUniform1uiEXT glProgramUniform1uiEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform1uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); - internal unsafe static ProgramUniform1uivEXT glProgramUniform1uivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform2fEXT(UInt32 program, Int32 location, Single v0, Single v1); - internal static ProgramUniform2fEXT glProgramUniform2fEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform2fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); - internal unsafe static ProgramUniform2fvEXT glProgramUniform2fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform2iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1); - internal static ProgramUniform2iEXT glProgramUniform2iEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform2ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); - internal unsafe static ProgramUniform2ivEXT glProgramUniform2ivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform2uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1); - internal static ProgramUniform2uiEXT glProgramUniform2uiEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform2uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); - internal unsafe static ProgramUniform2uivEXT glProgramUniform2uivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform3fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2); - internal static ProgramUniform3fEXT glProgramUniform3fEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform3fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); - internal unsafe static ProgramUniform3fvEXT glProgramUniform3fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform3iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2); - internal static ProgramUniform3iEXT glProgramUniform3iEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform3ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); - internal unsafe static ProgramUniform3ivEXT glProgramUniform3ivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform3uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); - internal static ProgramUniform3uiEXT glProgramUniform3uiEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform3uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); - internal unsafe static ProgramUniform3uivEXT glProgramUniform3uivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform4fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3); - internal static ProgramUniform4fEXT glProgramUniform4fEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform4fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); - internal unsafe static ProgramUniform4fvEXT glProgramUniform4fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform4iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); - internal static ProgramUniform4iEXT glProgramUniform4iEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform4ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); - internal unsafe static ProgramUniform4ivEXT glProgramUniform4ivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform4uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); - internal static ProgramUniform4uiEXT glProgramUniform4uiEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform4uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); - internal unsafe static ProgramUniform4uivEXT glProgramUniform4uivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix2fvEXT glProgramUniformMatrix2fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix2x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix2x3fvEXT glProgramUniformMatrix2x3fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix2x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix2x4fvEXT glProgramUniformMatrix2x4fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix3fvEXT glProgramUniformMatrix3fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix3x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix3x2fvEXT glProgramUniformMatrix3x2fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix3x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix3x4fvEXT glProgramUniformMatrix3x4fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix4fvEXT glProgramUniformMatrix4fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix4x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix4x2fvEXT glProgramUniformMatrix4x2fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix4x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix4x3fvEXT glProgramUniformMatrix4x3fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PushDebugGroup(OpenTK.Graphics.ES20.All source, UInt32 id, Int32 length, String message); - internal static PushDebugGroup glPushDebugGroup; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PushDebugGroupKHR(OpenTK.Graphics.ES20.All source, UInt32 id, Int32 length, String message); - internal static PushDebugGroupKHR glPushDebugGroupKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PushGroupMarkerEXT(Int32 length, String marker); - internal static PushGroupMarkerEXT glPushGroupMarkerEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void QueryCounterEXT(UInt32 id, OpenTK.Graphics.ES20.All target); - internal static QueryCounterEXT glQueryCounterEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReadBufferIndexedEXT(OpenTK.Graphics.ES20.All src, Int32 index); - internal static ReadBufferIndexedEXT glReadBufferIndexedEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReadBufferNV(OpenTK.Graphics.ES20.All mode); - internal static ReadBufferNV glReadBufferNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReadnPixelsEXT(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, Int32 bufSize, [OutAttribute] IntPtr data); - internal static ReadnPixelsEXT glReadnPixelsEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [OutAttribute] IntPtr pixels); - internal static ReadPixels glReadPixels; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReleaseShaderCompiler(); - internal static ReleaseShaderCompiler glReleaseShaderCompiler; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RenderbufferStorage(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); - internal static RenderbufferStorage glRenderbufferStorage; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RenderbufferStorageMultisampleANGLE(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); - internal static RenderbufferStorageMultisampleANGLE glRenderbufferStorageMultisampleANGLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RenderbufferStorageMultisampleAPPLE(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); - internal static RenderbufferStorageMultisampleAPPLE glRenderbufferStorageMultisampleAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RenderbufferStorageMultisampleEXT(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); - internal static RenderbufferStorageMultisampleEXT glRenderbufferStorageMultisampleEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RenderbufferStorageMultisampleIMG(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); - internal static RenderbufferStorageMultisampleIMG glRenderbufferStorageMultisampleIMG; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RenderbufferStorageMultisampleNV(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); - internal static RenderbufferStorageMultisampleNV glRenderbufferStorageMultisampleNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ResolveMultisampleFramebufferAPPLE(); - internal static ResolveMultisampleFramebufferAPPLE glResolveMultisampleFramebufferAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SampleCoverage(Single value, bool invert); - internal static SampleCoverage glSampleCoverage; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Scissor(Int32 x, Int32 y, Int32 width, Int32 height); - internal static Scissor glScissor; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SelectPerfMonitorCountersAMD(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32* counterList); - internal unsafe static SelectPerfMonitorCountersAMD glSelectPerfMonitorCountersAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SetFenceNV(UInt32 fence, OpenTK.Graphics.ES20.All condition); - internal static SetFenceNV glSetFenceNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length); - internal unsafe static ShaderBinary glShaderBinary; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length); - internal unsafe static ShaderSource glShaderSource; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StartTilingQCOM(UInt32 x, UInt32 y, UInt32 width, UInt32 height, UInt32 preserveMask); - internal static StartTilingQCOM glStartTilingQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilFunc(OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask); - internal static StencilFunc glStencilFunc; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilFuncSeparate(OpenTK.Graphics.ES20.StencilFace face, OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask); - internal static StencilFuncSeparate glStencilFuncSeparate; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilMask(UInt32 mask); - internal static StencilMask glStencilMask; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilMaskSeparate(OpenTK.Graphics.ES20.StencilFace face, UInt32 mask); - internal static StencilMaskSeparate glStencilMaskSeparate; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilOp(OpenTK.Graphics.ES20.StencilOp fail, OpenTK.Graphics.ES20.StencilOp zfail, OpenTK.Graphics.ES20.StencilOp zpass); - internal static StencilOp glStencilOp; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilOpSeparate(OpenTK.Graphics.ES20.StencilFace face, OpenTK.Graphics.ES20.StencilOp sfail, OpenTK.Graphics.ES20.StencilOp dpfail, OpenTK.Graphics.ES20.StencilOp dppass); - internal static StencilOpSeparate glStencilOpSeparate; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool TestFenceNV(UInt32 fence); - internal static TestFenceNV glTestFenceNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels); - internal static TexImage2D glTexImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexImage3DOES(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES20.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels); - internal static TexImage3DOES glTexImage3DOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexParameterf(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single param); - internal static TexParameterf glTexParameterf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexParameterfv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single* @params); - internal unsafe static TexParameterfv glTexParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexParameteri(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32 param); - internal static TexParameteri glTexParameteri; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexParameteriv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32* @params); - internal unsafe static TexParameteriv glTexParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexStorage1DEXT(OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width); - internal static TexStorage1DEXT glTexStorage1DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexStorage2DEXT(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES20.SizedInternalFormat internalformat, Int32 width, Int32 height); - internal static TexStorage2DEXT glTexStorage2DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexStorage3DEXT(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 levels, OpenTK.Graphics.ES20.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth); - internal static TexStorage3DEXT glTexStorage3DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels); - internal static TexSubImage2D glTexSubImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexSubImage3DOES(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr pixels); - internal static TexSubImage3DOES glTexSubImage3DOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureStorage1DEXT(UInt32 texture, OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width); - internal static TextureStorage1DEXT glTextureStorage1DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureStorage2DEXT(UInt32 texture, OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height); - internal static TextureStorage2DEXT glTextureStorage2DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureStorage3DEXT(UInt32 texture, OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth); - internal static TextureStorage3DEXT glTextureStorage3DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform1f(Int32 location, Single v0); - internal static Uniform1f glUniform1f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform1fv(Int32 location, Int32 count, Single* value); - internal unsafe static Uniform1fv glUniform1fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform1i(Int32 location, Int32 v0); - internal static Uniform1i glUniform1i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform1iv(Int32 location, Int32 count, Int32* value); - internal unsafe static Uniform1iv glUniform1iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform2f(Int32 location, Single v0, Single v1); - internal static Uniform2f glUniform2f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform2fv(Int32 location, Int32 count, Single* value); - internal unsafe static Uniform2fv glUniform2fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform2i(Int32 location, Int32 v0, Int32 v1); - internal static Uniform2i glUniform2i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform2iv(Int32 location, Int32 count, Int32* value); - internal unsafe static Uniform2iv glUniform2iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform3f(Int32 location, Single v0, Single v1, Single v2); - internal static Uniform3f glUniform3f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform3fv(Int32 location, Int32 count, Single* value); - internal unsafe static Uniform3fv glUniform3fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform3i(Int32 location, Int32 v0, Int32 v1, Int32 v2); - internal static Uniform3i glUniform3i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform3iv(Int32 location, Int32 count, Int32* value); - internal unsafe static Uniform3iv glUniform3iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform4f(Int32 location, Single v0, Single v1, Single v2, Single v3); - internal static Uniform4f glUniform4f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform4fv(Int32 location, Int32 count, Single* value); - internal unsafe static Uniform4fv glUniform4fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform4i(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); - internal static Uniform4i glUniform4i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform4iv(Int32 location, Int32 count, Int32* value); - internal unsafe static Uniform4iv glUniform4iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix2fv(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix2fv glUniformMatrix2fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix2x3fvNV(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix2x3fvNV glUniformMatrix2x3fvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix2x4fvNV(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix2x4fvNV glUniformMatrix2x4fvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix3fv(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix3fv glUniformMatrix3fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix3x2fvNV(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix3x2fvNV glUniformMatrix3x2fvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix3x4fvNV(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix3x4fvNV glUniformMatrix3x4fvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix4fv(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix4fv glUniformMatrix4fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix4x2fvNV(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix4x2fvNV glUniformMatrix4x2fvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix4x3fvNV(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix4x3fvNV glUniformMatrix4x3fvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool UnmapBufferOES(OpenTK.Graphics.ES20.BufferTarget target); - internal static UnmapBufferOES glUnmapBufferOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void UseProgram(UInt32 program); - internal static UseProgram glUseProgram; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void UseProgramStagesEXT(UInt32 pipeline, UInt32 stages, UInt32 program); - internal static UseProgramStagesEXT glUseProgramStagesEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void UseShaderProgramEXT(OpenTK.Graphics.ES20.All type, UInt32 program); - internal static UseShaderProgramEXT glUseShaderProgramEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ValidateProgram(UInt32 program); - internal static ValidateProgram glValidateProgram; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ValidateProgramPipelineEXT(UInt32 pipeline); - internal static ValidateProgramPipelineEXT glValidateProgramPipelineEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib1f(UInt32 index, Single x); - internal static VertexAttrib1f glVertexAttrib1f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib1fv(UInt32 index, Single* v); - internal unsafe static VertexAttrib1fv glVertexAttrib1fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib2f(UInt32 index, Single x, Single y); - internal static VertexAttrib2f glVertexAttrib2f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib2fv(UInt32 index, Single* v); - internal unsafe static VertexAttrib2fv glVertexAttrib2fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib3f(UInt32 index, Single x, Single y, Single z); - internal static VertexAttrib3f glVertexAttrib3f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib3fv(UInt32 index, Single* v); - internal unsafe static VertexAttrib3fv glVertexAttrib3fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib4f(UInt32 index, Single x, Single y, Single z, Single w); - internal static VertexAttrib4f glVertexAttrib4f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4fv(UInt32 index, Single* v); - internal unsafe static VertexAttrib4fv glVertexAttrib4fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribDivisorANGLE(UInt32 index, UInt32 divisor); - internal static VertexAttribDivisorANGLE glVertexAttribDivisorANGLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribDivisorEXT(UInt32 index, UInt32 divisor); - internal static VertexAttribDivisorEXT glVertexAttribDivisorEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribDivisorNV(UInt32 index, UInt32 divisor); - internal static VertexAttribDivisorNV glVertexAttribDivisorNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer); - internal static VertexAttribPointer glVertexAttribPointer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Viewport(Int32 x, Int32 y, Int32 width, Int32 height); - internal static Viewport glViewport; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WaitSyncAPPLE(IntPtr sync, OpenTK.Graphics.ES20.WaitSyncFlags flags, UInt64 timeout); - internal static WaitSyncAPPLE glWaitSyncAPPLE; - } - } -} diff --git a/Source/OpenTK/Graphics/ES20/Helper.cs b/Source/OpenTK/Graphics/ES20/Helper.cs index 0b7e5198..8c6af40e 100644 --- a/Source/OpenTK/Graphics/ES20/Helper.cs +++ b/Source/OpenTK/Graphics/ES20/Helper.cs @@ -42,6 +42,22 @@ namespace OpenTK.Graphics.ES20 const string Library = "libGLESv2.dll"; static readonly object sync_root = new object(); + static IntPtr[] EntryPoints; + static string[] EntryPointNames; + + #region Constructors + + /// + /// Constructs a new instance. + /// + public GL() + { + EntryPointsInstance = EntryPoints; + EntryPointNamesInstance = EntryPointNames; + } + + #endregion + #region --- Protected Members --- /// diff --git a/Source/OpenTK/Graphics/ES30/ES30.cs b/Source/OpenTK/Graphics/ES30/ES30.cs index 282e72a2..67def300 100644 --- a/Source/OpenTK/Graphics/ES30/ES30.cs +++ b/Source/OpenTK/Graphics/ES30/ES30.cs @@ -34,1269 +34,763 @@ namespace OpenTK.Graphics.ES30 #pragma warning disable 1591 #pragma warning disable 1572 #pragma warning disable 1573 + #pragma warning disable 626 partial class GL { + static GL() + { + EntryPointNames = new string[] + { + "glActiveProgramEXT", + "glActiveShaderProgramEXT", + "glActiveTexture", + "glAlphaFuncQCOM", + "glAttachShader", + "glBeginPerfMonitorAMD", + "glBeginQuery", + "glBeginQueryEXT", + "glBeginTransformFeedback", + "glBindAttribLocation", + "glBindBuffer", + "glBindBufferBase", + "glBindBufferRange", + "glBindFramebuffer", + "glBindProgramPipelineEXT", + "glBindRenderbuffer", + "glBindSampler", + "glBindTexture", + "glBindTransformFeedback", + "glBindVertexArray", + "glBindVertexArrayOES", + "glBlendBarrierNV", + "glBlendColor", + "glBlendEquation", + "glBlendEquationEXT", + "glBlendEquationSeparate", + "glBlendFunc", + "glBlendFuncSeparate", + "glBlendParameteriNV", + "glBlitFramebuffer", + "glBlitFramebufferANGLE", + "glBlitFramebufferNV", + "glBufferData", + "glBufferSubData", + "glCheckFramebufferStatus", + "glClear", + "glClearBufferfi", + "glClearBufferfv", + "glClearBufferiv", + "glClearBufferuiv", + "glClearColor", + "glClearDepthf", + "glClearStencil", + "glClientWaitSync", + "glClientWaitSyncAPPLE", + "glColorMask", + "glCompileShader", + "glCompressedTexImage2D", + "glCompressedTexImage3D", + "glCompressedTexImage3DOES", + "glCompressedTexSubImage2D", + "glCompressedTexSubImage3D", + "glCompressedTexSubImage3DOES", + "glCopyBufferSubData", + "glCopyBufferSubDataNV", + "glCopyTexImage2D", + "glCopyTexSubImage2D", + "glCopyTexSubImage3D", + "glCopyTexSubImage3DOES", + "glCopyTextureLevelsAPPLE", + "glCoverageMaskNV", + "glCoverageOperationNV", + "glCreateProgram", + "glCreateShader", + "glCreateShaderProgramEXT", + "glCreateShaderProgramvEXT", + "glCullFace", + "glDebugMessageCallback", + "glDebugMessageCallbackKHR", + "glDebugMessageControl", + "glDebugMessageControlKHR", + "glDebugMessageInsert", + "glDebugMessageInsertKHR", + "glDeleteBuffers", + "glDeleteFencesNV", + "glDeleteFramebuffers", + "glDeletePerfMonitorsAMD", + "glDeleteProgram", + "glDeleteProgramPipelinesEXT", + "glDeleteQueries", + "glDeleteQueriesEXT", + "glDeleteRenderbuffers", + "glDeleteSamplers", + "glDeleteShader", + "glDeleteSync", + "glDeleteSyncAPPLE", + "glDeleteTextures", + "glDeleteTransformFeedbacks", + "glDeleteVertexArrays", + "glDeleteVertexArraysOES", + "glDepthFunc", + "glDepthMask", + "glDepthRangef", + "glDetachShader", + "glDisable", + "glDisableDriverControlQCOM", + "glDisableVertexAttribArray", + "glDiscardFramebufferEXT", + "glDrawArrays", + "glDrawArraysInstanced", + "glDrawArraysInstancedANGLE", + "glDrawArraysInstancedEXT", + "glDrawArraysInstancedNV", + "glDrawBuffers", + "glDrawBuffersEXT", + "glDrawBuffersIndexedEXT", + "glDrawBuffersNV", + "glDrawElements", + "glDrawElementsInstanced", + "glDrawElementsInstancedANGLE", + "glDrawElementsInstancedEXT", + "glDrawElementsInstancedNV", + "glDrawRangeElements", + "glEGLImageTargetRenderbufferStorageOES", + "glEGLImageTargetTexture2DOES", + "glEnable", + "glEnableDriverControlQCOM", + "glEnableVertexAttribArray", + "glEndPerfMonitorAMD", + "glEndQuery", + "glEndQueryEXT", + "glEndTilingQCOM", + "glEndTransformFeedback", + "glExtGetBufferPointervQCOM", + "glExtGetBuffersQCOM", + "glExtGetFramebuffersQCOM", + "glExtGetProgramBinarySourceQCOM", + "glExtGetProgramsQCOM", + "glExtGetRenderbuffersQCOM", + "glExtGetShadersQCOM", + "glExtGetTexLevelParameterivQCOM", + "glExtGetTexSubImageQCOM", + "glExtGetTexturesQCOM", + "glExtIsProgramBinaryQCOM", + "glExtTexObjectStateOverrideiQCOM", + "glFenceSync", + "glFenceSyncAPPLE", + "glFinish", + "glFinishFenceNV", + "glFlush", + "glFlushMappedBufferRange", + "glFlushMappedBufferRangeEXT", + "glFramebufferRenderbuffer", + "glFramebufferTexture2D", + "glFramebufferTexture2DMultisampleEXT", + "glFramebufferTexture2DMultisampleIMG", + "glFramebufferTexture3DOES", + "glFramebufferTextureLayer", + "glFrontFace", + "glGenBuffers", + "glGenerateMipmap", + "glGenFencesNV", + "glGenFramebuffers", + "glGenPerfMonitorsAMD", + "glGenProgramPipelinesEXT", + "glGenQueries", + "glGenQueriesEXT", + "glGenRenderbuffers", + "glGenSamplers", + "glGenTextures", + "glGenTransformFeedbacks", + "glGenVertexArrays", + "glGenVertexArraysOES", + "glGetActiveAttrib", + "glGetActiveUniform", + "glGetActiveUniformBlockiv", + "glGetActiveUniformBlockName", + "glGetActiveUniformsiv", + "glGetAttachedShaders", + "glGetAttribLocation", + "glGetBooleanv", + "glGetBufferParameteri64v", + "glGetBufferParameteriv", + "glGetBufferPointerv", + "glGetBufferPointervOES", + "glGetDebugMessageLog", + "glGetDebugMessageLogKHR", + "glGetDriverControlsQCOM", + "glGetDriverControlStringQCOM", + "glGetError", + "glGetFenceivNV", + "glGetFloatv", + "glGetFragDataLocation", + "glGetFramebufferAttachmentParameteriv", + "glGetGraphicsResetStatusEXT", + "glGetInteger64i_v", + "glGetInteger64v", + "glGetInteger64vAPPLE", + "glGetIntegeri_v", + "glGetIntegeri_vEXT", + "glGetIntegerv", + "glGetInternalformativ", + "glGetnUniformfvEXT", + "glGetnUniformivEXT", + "glGetObjectLabel", + "glGetObjectLabelEXT", + "glGetObjectLabelKHR", + "glGetObjectPtrLabel", + "glGetObjectPtrLabelKHR", + "glGetPerfMonitorCounterDataAMD", + "glGetPerfMonitorCounterInfoAMD", + "glGetPerfMonitorCountersAMD", + "glGetPerfMonitorCounterStringAMD", + "glGetPerfMonitorGroupsAMD", + "glGetPerfMonitorGroupStringAMD", + "glGetPointerv", + "glGetPointervKHR", + "glGetProgramBinary", + "glGetProgramBinaryOES", + "glGetProgramInfoLog", + "glGetProgramiv", + "glGetProgramPipelineInfoLogEXT", + "glGetProgramPipelineivEXT", + "glGetQueryiv", + "glGetQueryivEXT", + "glGetQueryObjecti64vEXT", + "glGetQueryObjectivEXT", + "glGetQueryObjectui64vEXT", + "glGetQueryObjectuiv", + "glGetQueryObjectuivEXT", + "glGetRenderbufferParameteriv", + "glGetSamplerParameterfv", + "glGetSamplerParameteriv", + "glGetShaderInfoLog", + "glGetShaderiv", + "glGetShaderPrecisionFormat", + "glGetShaderSource", + "glGetString", + "glGetStringi", + "glGetSynciv", + "glGetSyncivAPPLE", + "glGetTexParameterfv", + "glGetTexParameteriv", + "glGetTransformFeedbackVarying", + "glGetTranslatedShaderSourceANGLE", + "glGetUniformBlockIndex", + "glGetUniformfv", + "glGetUniformIndices", + "glGetUniformiv", + "glGetUniformLocation", + "glGetUniformuiv", + "glGetVertexAttribfv", + "glGetVertexAttribIiv", + "glGetVertexAttribIuiv", + "glGetVertexAttribiv", + "glGetVertexAttribPointerv", + "glHint", + "glInsertEventMarkerEXT", + "glInvalidateFramebuffer", + "glInvalidateSubFramebuffer", + "glIsBuffer", + "glIsEnabled", + "glIsFenceNV", + "glIsFramebuffer", + "glIsProgram", + "glIsProgramPipelineEXT", + "glIsQuery", + "glIsQueryEXT", + "glIsRenderbuffer", + "glIsSampler", + "glIsShader", + "glIsSync", + "glIsSyncAPPLE", + "glIsTexture", + "glIsTransformFeedback", + "glIsVertexArray", + "glIsVertexArrayOES", + "glLabelObjectEXT", + "glLineWidth", + "glLinkProgram", + "glMapBufferOES", + "glMapBufferRange", + "glMapBufferRangeEXT", + "glMultiDrawArraysEXT", + "glMultiDrawElementsEXT", + "glObjectLabel", + "glObjectLabelKHR", + "glObjectPtrLabel", + "glObjectPtrLabelKHR", + "glPauseTransformFeedback", + "glPixelStorei", + "glPolygonOffset", + "glPopDebugGroup", + "glPopDebugGroupKHR", + "glPopGroupMarkerEXT", + "glProgramBinary", + "glProgramBinaryOES", + "glProgramParameteri", + "glProgramParameteriEXT", + "glProgramUniform1fEXT", + "glProgramUniform1fvEXT", + "glProgramUniform1iEXT", + "glProgramUniform1ivEXT", + "glProgramUniform1uiEXT", + "glProgramUniform1uivEXT", + "glProgramUniform2fEXT", + "glProgramUniform2fvEXT", + "glProgramUniform2iEXT", + "glProgramUniform2ivEXT", + "glProgramUniform2uiEXT", + "glProgramUniform2uivEXT", + "glProgramUniform3fEXT", + "glProgramUniform3fvEXT", + "glProgramUniform3iEXT", + "glProgramUniform3ivEXT", + "glProgramUniform3uiEXT", + "glProgramUniform3uivEXT", + "glProgramUniform4fEXT", + "glProgramUniform4fvEXT", + "glProgramUniform4iEXT", + "glProgramUniform4ivEXT", + "glProgramUniform4uiEXT", + "glProgramUniform4uivEXT", + "glProgramUniformMatrix2fvEXT", + "glProgramUniformMatrix2x3fvEXT", + "glProgramUniformMatrix2x4fvEXT", + "glProgramUniformMatrix3fvEXT", + "glProgramUniformMatrix3x2fvEXT", + "glProgramUniformMatrix3x4fvEXT", + "glProgramUniformMatrix4fvEXT", + "glProgramUniformMatrix4x2fvEXT", + "glProgramUniformMatrix4x3fvEXT", + "glPushDebugGroup", + "glPushDebugGroupKHR", + "glPushGroupMarkerEXT", + "glQueryCounterEXT", + "glReadBuffer", + "glReadBufferIndexedEXT", + "glReadBufferNV", + "glReadnPixelsEXT", + "glReadPixels", + "glReleaseShaderCompiler", + "glRenderbufferStorage", + "glRenderbufferStorageMultisample", + "glRenderbufferStorageMultisampleANGLE", + "glRenderbufferStorageMultisampleAPPLE", + "glRenderbufferStorageMultisampleEXT", + "glRenderbufferStorageMultisampleIMG", + "glRenderbufferStorageMultisampleNV", + "glResolveMultisampleFramebufferAPPLE", + "glResumeTransformFeedback", + "glSampleCoverage", + "glSamplerParameterf", + "glSamplerParameterfv", + "glSamplerParameteri", + "glSamplerParameteriv", + "glScissor", + "glSelectPerfMonitorCountersAMD", + "glSetFenceNV", + "glShaderBinary", + "glShaderSource", + "glStartTilingQCOM", + "glStencilFunc", + "glStencilFuncSeparate", + "glStencilMask", + "glStencilMaskSeparate", + "glStencilOp", + "glStencilOpSeparate", + "glTestFenceNV", + "glTexImage2D", + "glTexImage3D", + "glTexImage3DOES", + "glTexParameterf", + "glTexParameterfv", + "glTexParameteri", + "glTexParameteriv", + "glTexStorage1DEXT", + "glTexStorage2D", + "glTexStorage2DEXT", + "glTexStorage3D", + "glTexStorage3DEXT", + "glTexSubImage2D", + "glTexSubImage3D", + "glTexSubImage3DOES", + "glTextureStorage1DEXT", + "glTextureStorage2DEXT", + "glTextureStorage3DEXT", + "glTransformFeedbackVaryings", + "glUniform1f", + "glUniform1fv", + "glUniform1i", + "glUniform1iv", + "glUniform1ui", + "glUniform1uiv", + "glUniform2f", + "glUniform2fv", + "glUniform2i", + "glUniform2iv", + "glUniform2ui", + "glUniform2uiv", + "glUniform3f", + "glUniform3fv", + "glUniform3i", + "glUniform3iv", + "glUniform3ui", + "glUniform3uiv", + "glUniform4f", + "glUniform4fv", + "glUniform4i", + "glUniform4iv", + "glUniform4ui", + "glUniform4uiv", + "glUniformBlockBinding", + "glUniformMatrix2fv", + "glUniformMatrix2x3fv", + "glUniformMatrix2x3fvNV", + "glUniformMatrix2x4fv", + "glUniformMatrix2x4fvNV", + "glUniformMatrix3fv", + "glUniformMatrix3x2fv", + "glUniformMatrix3x2fvNV", + "glUniformMatrix3x4fv", + "glUniformMatrix3x4fvNV", + "glUniformMatrix4fv", + "glUniformMatrix4x2fv", + "glUniformMatrix4x2fvNV", + "glUniformMatrix4x3fv", + "glUniformMatrix4x3fvNV", + "glUnmapBuffer", + "glUnmapBufferOES", + "glUseProgram", + "glUseProgramStagesEXT", + "glUseShaderProgramEXT", + "glValidateProgram", + "glValidateProgramPipelineEXT", + "glVertexAttrib1f", + "glVertexAttrib1fv", + "glVertexAttrib2f", + "glVertexAttrib2fv", + "glVertexAttrib3f", + "glVertexAttrib3fv", + "glVertexAttrib4f", + "glVertexAttrib4fv", + "glVertexAttribDivisor", + "glVertexAttribDivisorANGLE", + "glVertexAttribDivisorEXT", + "glVertexAttribDivisorNV", + "glVertexAttribI4i", + "glVertexAttribI4iv", + "glVertexAttribI4ui", + "glVertexAttribI4uiv", + "glVertexAttribIPointer", + "glVertexAttribPointer", + "glViewport", + "glWaitSync", + "glWaitSyncAPPLE", + }; + EntryPoints = new IntPtr[EntryPointNames.Length]; + } public static partial class Amd { /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glBeginPerfMonitorAMD")] - public static - void BeginPerfMonitor(Int32 monitor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginPerfMonitorAMD((UInt32)monitor); - #if DEBUG - } - #endif - } + public static extern void BeginPerfMonitor(Int32 monitor); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glBeginPerfMonitorAMD")] - public static - void BeginPerfMonitor(UInt32 monitor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginPerfMonitorAMD((UInt32)monitor); - #if DEBUG - } - #endif - } + public static extern void BeginPerfMonitor(UInt32 monitor); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - void DeletePerfMonitor(Int32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* monitors_ptr = (UInt32*)&monitors; - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeletePerfMonitor(Int32 monitors); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - void DeletePerfMonitor(UInt32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* monitors_ptr = (UInt32*)&monitors; - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeletePerfMonitor(UInt32 monitors); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - void DeletePerfMonitors(Int32 n, Int32[] monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* monitors_ptr = monitors) - { - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeletePerfMonitors(Int32 n, Int32[] monitors); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - void DeletePerfMonitors(Int32 n, ref Int32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* monitors_ptr = &monitors) - { - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeletePerfMonitors(Int32 n, ref Int32 monitors); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - unsafe void DeletePerfMonitors(Int32 n, Int32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors); - #if DEBUG - } - #endif - } + public static extern unsafe void DeletePerfMonitors(Int32 n, Int32* monitors); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - void DeletePerfMonitors(Int32 n, UInt32[] monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* monitors_ptr = monitors) - { - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeletePerfMonitors(Int32 n, UInt32[] monitors); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - void DeletePerfMonitors(Int32 n, ref UInt32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* monitors_ptr = &monitors) - { - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeletePerfMonitors(Int32 n, ref UInt32 monitors); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - unsafe void DeletePerfMonitors(Int32 n, UInt32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors); - #if DEBUG - } - #endif - } + public static extern unsafe void DeletePerfMonitors(Int32 n, UInt32* monitors); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glEndPerfMonitorAMD")] - public static - void EndPerfMonitor(Int32 monitor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndPerfMonitorAMD((UInt32)monitor); - #if DEBUG - } - #endif - } + public static extern void EndPerfMonitor(Int32 monitor); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glEndPerfMonitorAMD")] - public static - void EndPerfMonitor(UInt32 monitor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndPerfMonitorAMD((UInt32)monitor); - #if DEBUG - } - #endif - } + public static extern void EndPerfMonitor(UInt32 monitor); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static - Int32 GenPerfMonitor() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* monitors_ptr = &retval; - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenPerfMonitor(); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static - void GenPerfMonitors(Int32 n, [OutAttribute] Int32[] monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* monitors_ptr = monitors) - { - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenPerfMonitors(Int32 n, [OutAttribute] Int32[] monitors); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static - void GenPerfMonitors(Int32 n, [OutAttribute] out Int32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* monitors_ptr = &monitors) - { - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - monitors = *monitors_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenPerfMonitors(Int32 n, [OutAttribute] out Int32 monitors); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static - unsafe void GenPerfMonitors(Int32 n, [OutAttribute] Int32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors); - #if DEBUG - } - #endif - } + public static extern unsafe void GenPerfMonitors(Int32 n, [OutAttribute] Int32* monitors); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static - void GenPerfMonitors(Int32 n, [OutAttribute] UInt32[] monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* monitors_ptr = monitors) - { - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenPerfMonitors(Int32 n, [OutAttribute] UInt32[] monitors); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static - void GenPerfMonitors(Int32 n, [OutAttribute] out UInt32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* monitors_ptr = &monitors) - { - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - monitors = *monitors_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenPerfMonitors(Int32 n, [OutAttribute] out UInt32 monitors); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static - unsafe void GenPerfMonitors(Int32 n, [OutAttribute] UInt32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors); - #if DEBUG - } - #endif - } + public static extern unsafe void GenPerfMonitors(Int32 n, [OutAttribute] UInt32* monitors); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static - void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.ES30.All pname, Int32 dataSize, [OutAttribute] Int32[] data, [OutAttribute] out Int32 bytesWritten) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - fixed (Int32* bytesWritten_ptr = &bytesWritten) - { - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES30.All)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr); - bytesWritten = *bytesWritten_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.ES30.All pname, Int32 dataSize, [OutAttribute] Int32[] data, [OutAttribute] out Int32 bytesWritten); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static - void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.ES30.All pname, Int32 dataSize, [OutAttribute] out Int32 data, [OutAttribute] out Int32 bytesWritten) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - fixed (Int32* bytesWritten_ptr = &bytesWritten) - { - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES30.All)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr); - data = *data_ptr; - bytesWritten = *bytesWritten_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.ES30.All pname, Int32 dataSize, [OutAttribute] out Int32 data, [OutAttribute] out Int32 bytesWritten); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static - unsafe void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.ES30.All pname, Int32 dataSize, [OutAttribute] Int32* data, [OutAttribute] Int32* bytesWritten) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES30.All)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.ES30.All pname, Int32 dataSize, [OutAttribute] Int32* data, [OutAttribute] Int32* bytesWritten); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static - void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.ES30.All pname, Int32 dataSize, [OutAttribute] UInt32[] data, [OutAttribute] out Int32 bytesWritten) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* data_ptr = data) - fixed (Int32* bytesWritten_ptr = &bytesWritten) - { - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES30.All)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr); - bytesWritten = *bytesWritten_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.ES30.All pname, Int32 dataSize, [OutAttribute] UInt32[] data, [OutAttribute] out Int32 bytesWritten); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static - void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.ES30.All pname, Int32 dataSize, [OutAttribute] out UInt32 data, [OutAttribute] out Int32 bytesWritten) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* data_ptr = &data) - fixed (Int32* bytesWritten_ptr = &bytesWritten) - { - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES30.All)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr); - data = *data_ptr; - bytesWritten = *bytesWritten_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.ES30.All pname, Int32 dataSize, [OutAttribute] out UInt32 data, [OutAttribute] out Int32 bytesWritten); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static - unsafe void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.ES30.All pname, Int32 dataSize, [OutAttribute] UInt32* data, [OutAttribute] Int32* bytesWritten) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES30.All)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.ES30.All pname, Int32 dataSize, [OutAttribute] UInt32* data, [OutAttribute] Int32* bytesWritten); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES30.All)pname, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr data); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T3[] data) + public static extern void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T3[] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES30.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T3[,] data) + public static extern void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T3[,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES30.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T3[,,] data) + public static extern void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T3[,,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES30.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] ref T3 data) + public static extern void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] ref T3 data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES30.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T3)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES30.All)pname, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr data); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T3[] data) + public static extern void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T3[] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES30.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T3[,] data) + public static extern void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T3[,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES30.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T3[,,] data) + public static extern void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T3[,,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES30.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] ref T3 data) + public static extern void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] ref T3 data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES30.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T3)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static - void GetPerfMonitorCounters(Int32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] Int32[] counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* numCounters_ptr = &numCounters) - fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters) - fixed (Int32* counters_ptr = counters) - { - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr); - numCounters = *numCounters_ptr; - maxActiveCounters = *maxActiveCounters_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounters(Int32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] Int32[] counters); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static - void GetPerfMonitorCounters(Int32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] out Int32 counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* numCounters_ptr = &numCounters) - fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters) - fixed (Int32* counters_ptr = &counters) - { - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr); - numCounters = *numCounters_ptr; - maxActiveCounters = *maxActiveCounters_ptr; - counters = *counters_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounters(Int32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] out Int32 counters); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static - unsafe void GetPerfMonitorCounters(Int32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] Int32* counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPerfMonitorCounters(Int32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] Int32* counters); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static - void GetPerfMonitorCounters(UInt32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32[] counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* numCounters_ptr = &numCounters) - fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters) - fixed (UInt32* counters_ptr = counters) - { - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr); - numCounters = *numCounters_ptr; - maxActiveCounters = *maxActiveCounters_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounters(UInt32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32[] counters); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static - void GetPerfMonitorCounters(UInt32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] out UInt32 counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* numCounters_ptr = &numCounters) - fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters) - fixed (UInt32* counters_ptr = &counters) - { - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr); - numCounters = *numCounters_ptr; - maxActiveCounters = *maxActiveCounters_ptr; - counters = *counters_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounters(UInt32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] out UInt32 counters); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static - unsafe void GetPerfMonitorCounters(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPerfMonitorCounters(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterStringAMD")] - public static - void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder counterString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)counterString); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder counterString); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterStringAMD")] - public static - unsafe void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (StringBuilder)counterString); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterStringAMD")] - public static - void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder counterString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)counterString); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder counterString); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterStringAMD")] - public static - unsafe void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (StringBuilder)counterString); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static - void GetPerfMonitorGroups([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] Int32[] groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* numGroups_ptr = &numGroups) - fixed (Int32* groups_ptr = groups) - { - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr); - numGroups = *numGroups_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorGroups([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] Int32[] groups); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static - void GetPerfMonitorGroups([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] out Int32 groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* numGroups_ptr = &numGroups) - fixed (Int32* groups_ptr = &groups) - { - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr); - numGroups = *numGroups_ptr; - groups = *groups_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorGroups([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] out Int32 groups); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static - void GetPerfMonitorGroups([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] UInt32[] groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* numGroups_ptr = &numGroups) - fixed (UInt32* groups_ptr = groups) - { - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr); - numGroups = *numGroups_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorGroups([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] UInt32[] groups); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static - void GetPerfMonitorGroups([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] out UInt32 groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* numGroups_ptr = &numGroups) - fixed (UInt32* groups_ptr = &groups) - { - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr); - numGroups = *numGroups_ptr; - groups = *groups_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorGroups([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] out UInt32 groups); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static - unsafe void GetPerfMonitorGroups([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] Int32* groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPerfMonitorGroups([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] Int32* groups); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static - unsafe void GetPerfMonitorGroups([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPerfMonitorGroups([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupStringAMD")] - public static - void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder groupString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)groupString); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder groupString); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupStringAMD")] - public static - unsafe void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (StringBuilder)groupString); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupStringAMD")] - public static - void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder groupString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)groupString); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder groupString); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupStringAMD")] - public static - unsafe void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (StringBuilder)groupString); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static - void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [OutAttribute] Int32[] counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* counterList_ptr = counterList) - { - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [OutAttribute] Int32[] counterList); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static - void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [OutAttribute] out Int32 counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* counterList_ptr = &counterList) - { - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr); - counterList = *counterList_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [OutAttribute] out Int32 counterList); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static - unsafe void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [OutAttribute] Int32* counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList); - #if DEBUG - } - #endif - } + public static extern unsafe void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [OutAttribute] Int32* counterList); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static - void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32[] counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* counterList_ptr = counterList) - { - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32[] counterList); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static - void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] out UInt32 counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* counterList_ptr = &counterList) - { - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr); - counterList = *counterList_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] out UInt32 counterList); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static - unsafe void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32* counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList); - #if DEBUG - } - #endif - } + public static extern unsafe void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32* counterList); } @@ -1327,18 +821,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ANGLE_framebuffer_blit", Version = "", EntryPoint = "glBlitFramebufferANGLE")] - public static - void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.All mask, OpenTK.Graphics.ES30.All filter) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlitFramebufferANGLE((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ES30.ClearBufferMask)mask, (OpenTK.Graphics.ES30.BlitFramebufferFilter)filter); - #if DEBUG - } - #endif - } + public static extern void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.All mask, OpenTK.Graphics.ES30.All filter); /// [requires: ANGLE_framebuffer_blit] /// Copy a block of pixels from the read framebuffer to the draw framebuffer @@ -1364,18 +847,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ANGLE_framebuffer_blit", Version = "", EntryPoint = "glBlitFramebufferANGLE")] - public static - void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.ClearBufferMask mask, OpenTK.Graphics.ES30.BlitFramebufferFilter filter) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlitFramebufferANGLE((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ES30.ClearBufferMask)mask, (OpenTK.Graphics.ES30.BlitFramebufferFilter)filter); - #if DEBUG - } - #endif - } + public static extern void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.ClearBufferMask mask, OpenTK.Graphics.ES30.BlitFramebufferFilter filter); /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a range of elements @@ -1402,18 +874,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawArraysInstancedANGLE")] - public static - void DrawArraysInstanced(OpenTK.Graphics.ES30.All mode, Int32 first, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArraysInstancedANGLE((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern void DrawArraysInstanced(OpenTK.Graphics.ES30.All mode, Int32 first, Int32 count, Int32 primcount); /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a range of elements @@ -1439,18 +900,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawArraysInstancedANGLE")] - public static - void DrawArraysInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArraysInstancedANGLE((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern void DrawArraysInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount); /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -1482,18 +932,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstancedANGLE((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, IntPtr indices, Int32 primcount); /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -1525,27 +964,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedANGLE((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -1577,27 +998,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedANGLE((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -1629,27 +1032,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedANGLE((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -1681,28 +1066,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedANGLE((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -1733,18 +1099,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstancedANGLE((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 primcount); /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -1775,27 +1130,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedANGLE((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -1826,27 +1163,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedANGLE((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -1877,27 +1196,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedANGLE((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ANGLE_instanced_arrays] /// Draw multiple instances of a set of elements @@ -1928,148 +1229,37 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedANGLE")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedANGLE((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ANGLE_translated_shader_source] [AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")] - public static - void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetTranslatedShaderSourceANGLE((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)source); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder source); /// [requires: ANGLE_translated_shader_source] [AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")] - public static - void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetTranslatedShaderSourceANGLE((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)source); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source); /// [requires: ANGLE_translated_shader_source] [System.CLSCompliant(false)] [AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")] - public static - unsafe void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTranslatedShaderSourceANGLE((UInt32)shader, (Int32)bufsize, (Int32*)length, (StringBuilder)source); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); /// [requires: ANGLE_translated_shader_source] [System.CLSCompliant(false)] [AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")] - public static - void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetTranslatedShaderSourceANGLE((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)source); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder source); /// [requires: ANGLE_translated_shader_source] [System.CLSCompliant(false)] [AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")] - public static - void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetTranslatedShaderSourceANGLE((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)source); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source); /// [requires: ANGLE_translated_shader_source] [System.CLSCompliant(false)] [AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")] - public static - unsafe void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTranslatedShaderSourceANGLE((UInt32)shader, (Int32)bufsize, (Int32*)length, (StringBuilder)source); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); /// [requires: ANGLE_framebuffer_multisample] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -2101,18 +1291,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ANGLE_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleANGLE")] - public static - void RenderbufferStorageMultisample(OpenTK.Graphics.ES30.All target, Int32 samples, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageMultisampleANGLE((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorageMultisample(OpenTK.Graphics.ES30.All target, Int32 samples, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height); /// [requires: ANGLE_framebuffer_multisample] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -2143,18 +1322,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ANGLE_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleANGLE")] - public static - void RenderbufferStorageMultisample(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageMultisampleANGLE((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorageMultisample(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); /// [requires: ANGLE_instanced_arrays] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -2170,18 +1338,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glVertexAttribDivisorANGLE")] - public static - void VertexAttribDivisor(Int32 index, Int32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribDivisorANGLE((UInt32)index, (UInt32)divisor); - #if DEBUG - } - #endif - } + public static extern void VertexAttribDivisor(Int32 index, Int32 divisor); /// [requires: ANGLE_instanced_arrays] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -2198,18 +1355,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ANGLE_instanced_arrays", Version = "", EntryPoint = "glVertexAttribDivisorANGLE")] - public static - void VertexAttribDivisor(UInt32 index, UInt32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribDivisorANGLE((UInt32)index, (UInt32)divisor); - #if DEBUG - } - #endif - } + public static extern void VertexAttribDivisor(UInt32 index, UInt32 divisor); } @@ -2235,18 +1381,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")] - public static - OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glClientWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.ClientWaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, Int64 timeout); /// [requires: APPLE_sync] /// Block and wait for a sync object to become signaled @@ -2269,18 +1404,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")] - public static - OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glClientWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.ClientWaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, UInt64 timeout); /// [requires: APPLE_sync] /// Block and wait for a sync object to become signaled @@ -2301,18 +1425,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")] - public static - OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.ClientWaitSyncFlags flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glClientWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.ClientWaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.ClientWaitSyncFlags flags, Int64 timeout); /// [requires: APPLE_sync] /// Block and wait for a sync object to become signaled @@ -2334,49 +1447,16 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")] - public static - OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.ClientWaitSyncFlags flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glClientWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.ClientWaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.ClientWaitSyncFlags flags, UInt64 timeout); /// [requires: APPLE_copy_texture_levels] [AutoGenerated(Category = "APPLE_copy_texture_levels", Version = "", EntryPoint = "glCopyTextureLevelsAPPLE")] - public static - void CopyTextureLevel(Int32 destinationTexture, Int32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTextureLevelsAPPLE((UInt32)destinationTexture, (UInt32)sourceTexture, (Int32)sourceBaseLevel, (Int32)sourceLevelCount); - #if DEBUG - } - #endif - } + public static extern void CopyTextureLevel(Int32 destinationTexture, Int32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount); /// [requires: APPLE_copy_texture_levels] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_copy_texture_levels", Version = "", EntryPoint = "glCopyTextureLevelsAPPLE")] - public static - void CopyTextureLevel(UInt32 destinationTexture, UInt32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTextureLevelsAPPLE((UInt32)destinationTexture, (UInt32)sourceTexture, (Int32)sourceBaseLevel, (Int32)sourceLevelCount); - #if DEBUG - } - #endif - } + public static extern void CopyTextureLevel(UInt32 destinationTexture, UInt32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount); /// [requires: APPLE_sync] /// Delete a sync object @@ -2387,18 +1467,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glDeleteSyncAPPLE")] - public static - void DeleteSync(IntPtr sync) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteSyncAPPLE((IntPtr)sync); - #if DEBUG - } - #endif - } + public static extern void DeleteSync(IntPtr sync); /// [requires: APPLE_sync] /// Create a new sync object and insert it into the GL command stream @@ -2415,18 +1484,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glFenceSyncAPPLE")] - public static - IntPtr FenceSync(OpenTK.Graphics.ES30.All condition, OpenTK.Graphics.ES30.All flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glFenceSyncAPPLE((OpenTK.Graphics.ES30.SyncCondition)condition, (OpenTK.Graphics.ES30.WaitSyncFlags)flags); - #if DEBUG - } - #endif - } + public static extern IntPtr FenceSync(OpenTK.Graphics.ES30.All condition, OpenTK.Graphics.ES30.All flags); /// [requires: APPLE_sync] /// Create a new sync object and insert it into the GL command stream @@ -2442,182 +1500,45 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glFenceSyncAPPLE")] - public static - IntPtr FenceSync(OpenTK.Graphics.ES30.SyncCondition condition, OpenTK.Graphics.ES30.WaitSyncFlags flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glFenceSyncAPPLE((OpenTK.Graphics.ES30.SyncCondition)condition, (OpenTK.Graphics.ES30.WaitSyncFlags)flags); - #if DEBUG - } - #endif - } + public static extern IntPtr FenceSync(OpenTK.Graphics.ES30.SyncCondition condition, OpenTK.Graphics.ES30.WaitSyncFlags flags); /// [requires: APPLE_sync] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static - Int64 GetInteger64(OpenTK.Graphics.ES30.All pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int64 retval; - Int64* @params_ptr = &retval; - Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)@params_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int64 GetInteger64(OpenTK.Graphics.ES30.All pname); /// [requires: APPLE_sync] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static - Int64 GetInteger64(OpenTK.Graphics.ES30.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int64 retval; - Int64* @params_ptr = &retval; - Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)@params_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int64 GetInteger64(OpenTK.Graphics.ES30.GetPName pname); /// [requires: APPLE_sync] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static - void GetInteger64(OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64[] @params); /// [requires: APPLE_sync] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static - void GetInteger64(OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int64 @params); /// [requires: APPLE_sync] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static - unsafe void GetInteger64(OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger64(OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64* @params); /// [requires: APPLE_sync] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static - void GetInteger64(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int64[] @params); /// [requires: APPLE_sync] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static - void GetInteger64(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] out Int64 @params); /// [requires: APPLE_sync] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")] - public static - unsafe void GetInteger64(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger64(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int64* @params); /// [requires: APPLE_sync] /// Query the properties of a sync object @@ -2649,25 +1570,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")] - public static - void GetSync(IntPtr sync, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - fixed (Int32* values_ptr = values) - { - Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetSync(IntPtr sync, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] values); /// [requires: APPLE_sync] /// Query the properties of a sync object @@ -2699,27 +1602,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")] - public static - void GetSync(IntPtr sync, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* values_ptr = &values) - { - Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr); - length = *length_ptr; - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSync(IntPtr sync, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values); /// [requires: APPLE_sync] /// Query the properties of a sync object @@ -2752,18 +1635,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")] - public static - unsafe void GetSync(IntPtr sync, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (Int32*)length, (Int32*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetSync(IntPtr sync, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); /// [requires: APPLE_sync] /// Query the properties of a sync object @@ -2794,25 +1666,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")] - public static - void GetSync(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - fixed (Int32* values_ptr = values) - { - Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetSync(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] values); /// [requires: APPLE_sync] /// Query the properties of a sync object @@ -2843,27 +1697,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")] - public static - void GetSync(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* values_ptr = &values) - { - Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr); - length = *length_ptr; - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSync(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values); /// [requires: APPLE_sync] /// Query the properties of a sync object @@ -2895,18 +1729,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")] - public static - unsafe void GetSync(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (Int32*)length, (Int32*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetSync(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); /// [requires: APPLE_sync] /// Determine if a name corresponds to a sync object @@ -2917,18 +1740,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glIsSyncAPPLE")] - public static - bool IsSync(IntPtr sync) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsSyncAPPLE((IntPtr)sync); - #if DEBUG - } - #endif - } + public static extern bool IsSync(IntPtr sync); /// [requires: APPLE_framebuffer_multisample] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -2960,18 +1772,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleAPPLE")] - public static - void RenderbufferStorageMultisample(OpenTK.Graphics.ES30.All target, Int32 samples, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageMultisampleAPPLE((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorageMultisample(OpenTK.Graphics.ES30.All target, Int32 samples, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height); /// [requires: APPLE_framebuffer_multisample] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -3002,33 +1803,11 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "APPLE_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleAPPLE")] - public static - void RenderbufferStorageMultisample(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageMultisampleAPPLE((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorageMultisample(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); /// [requires: APPLE_framebuffer_multisample] [AutoGenerated(Category = "APPLE_framebuffer_multisample", Version = "", EntryPoint = "glResolveMultisampleFramebufferAPPLE")] - public static - void ResolveMultisampleFramebuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glResolveMultisampleFramebufferAPPLE(); - #if DEBUG - } - #endif - } + public static extern void ResolveMultisampleFramebuffer(); /// [requires: APPLE_sync] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -3050,18 +1829,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glWaitSyncAPPLE")] - public static - void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.WaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, Int64 timeout); /// [requires: APPLE_sync] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -3084,18 +1852,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glWaitSyncAPPLE")] - public static - void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.WaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, UInt64 timeout); /// [requires: APPLE_sync] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -3116,18 +1873,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glWaitSyncAPPLE")] - public static - void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.WaitSyncFlags flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.WaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.WaitSyncFlags flags, Int64 timeout); /// [requires: APPLE_sync] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -3149,18 +1895,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glWaitSyncAPPLE")] - public static - void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.WaitSyncFlags flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.WaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.WaitSyncFlags flags, UInt64 timeout); } @@ -3174,18 +1909,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glActiveTexture")] - public static - void ActiveTexture(OpenTK.Graphics.ES30.All texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glActiveTexture((OpenTK.Graphics.ES30.TextureUnit)texture); - #if DEBUG - } - #endif - } + public static extern void ActiveTexture(OpenTK.Graphics.ES30.All texture); /// [requires: v2.0 and ES_VERSION_2_0] /// Select active texture unit @@ -3196,18 +1920,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glActiveTexture")] - public static - void ActiveTexture(OpenTK.Graphics.ES30.TextureUnit texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glActiveTexture((OpenTK.Graphics.ES30.TextureUnit)texture); - #if DEBUG - } - #endif - } + public static extern void ActiveTexture(OpenTK.Graphics.ES30.TextureUnit texture); /// [requires: v2.0 and ES_VERSION_2_0] /// Attaches a shader object to a program object @@ -3223,18 +1936,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glAttachShader")] - public static - void AttachShader(Int32 program, Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAttachShader((UInt32)program, (UInt32)shader); - #if DEBUG - } - #endif - } + public static extern void AttachShader(Int32 program, Int32 shader); /// [requires: v2.0 and ES_VERSION_2_0] /// Attaches a shader object to a program object @@ -3251,18 +1953,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glAttachShader")] - public static - void AttachShader(UInt32 program, UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAttachShader((UInt32)program, (UInt32)shader); - #if DEBUG - } - #endif - } + public static extern void AttachShader(UInt32 program, UInt32 shader); /// [requires: v3.0 and ES_VERSION_3_0] /// Delimit the boundaries of a query object @@ -3279,18 +1970,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBeginQuery")] - public static - void BeginQuery(OpenTK.Graphics.ES30.All target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginQuery((OpenTK.Graphics.ES30.QueryTarget)target, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BeginQuery(OpenTK.Graphics.ES30.All target, Int32 id); /// [requires: v3.0 and ES_VERSION_3_0] /// Delimit the boundaries of a query object @@ -3308,18 +1988,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBeginQuery")] - public static - void BeginQuery(OpenTK.Graphics.ES30.All target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginQuery((OpenTK.Graphics.ES30.QueryTarget)target, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BeginQuery(OpenTK.Graphics.ES30.All target, UInt32 id); /// [requires: v3.0 and ES_VERSION_3_0] /// Delimit the boundaries of a query object @@ -3335,18 +2004,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBeginQuery")] - public static - void BeginQuery(OpenTK.Graphics.ES30.QueryTarget target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginQuery((OpenTK.Graphics.ES30.QueryTarget)target, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BeginQuery(OpenTK.Graphics.ES30.QueryTarget target, Int32 id); /// [requires: v3.0 and ES_VERSION_3_0] /// Delimit the boundaries of a query object @@ -3363,18 +2021,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBeginQuery")] - public static - void BeginQuery(OpenTK.Graphics.ES30.QueryTarget target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginQuery((OpenTK.Graphics.ES30.QueryTarget)target, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BeginQuery(OpenTK.Graphics.ES30.QueryTarget target, UInt32 id); /// [requires: v3.0 and ES_VERSION_3_0] /// Start transform feedback operation @@ -3386,18 +2033,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBeginTransformFeedback")] - public static - void BeginTransformFeedback(OpenTK.Graphics.ES30.All primitiveMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginTransformFeedback((OpenTK.Graphics.ES30.TransformFeedbackPrimitiveType)primitiveMode); - #if DEBUG - } - #endif - } + public static extern void BeginTransformFeedback(OpenTK.Graphics.ES30.All primitiveMode); /// [requires: v3.0 and ES_VERSION_3_0] /// Start transform feedback operation @@ -3408,18 +2044,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBeginTransformFeedback")] - public static - void BeginTransformFeedback(OpenTK.Graphics.ES30.TransformFeedbackPrimitiveType primitiveMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginTransformFeedback((OpenTK.Graphics.ES30.TransformFeedbackPrimitiveType)primitiveMode); - #if DEBUG - } - #endif - } + public static extern void BeginTransformFeedback(OpenTK.Graphics.ES30.TransformFeedbackPrimitiveType primitiveMode); /// [requires: v2.0 and ES_VERSION_2_0] /// Associates a generic vertex attribute index with a named attribute variable @@ -3440,18 +2065,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindAttribLocation")] - public static - void BindAttribLocation(Int32 program, Int32 index, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name); - #if DEBUG - } - #endif - } + public static extern void BindAttribLocation(Int32 program, Int32 index, String name); /// [requires: v2.0 and ES_VERSION_2_0] /// Associates a generic vertex attribute index with a named attribute variable @@ -3473,18 +2087,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindAttribLocation")] - public static - void BindAttribLocation(UInt32 program, UInt32 index, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name); - #if DEBUG - } - #endif - } + public static extern void BindAttribLocation(UInt32 program, UInt32 index, String name); /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a named buffer object @@ -3501,18 +2104,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindBuffer")] - public static - void BindBuffer(OpenTK.Graphics.ES30.All target, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBuffer((OpenTK.Graphics.ES30.BufferTarget)target, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void BindBuffer(OpenTK.Graphics.ES30.All target, Int32 buffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a named buffer object @@ -3530,18 +2122,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindBuffer")] - public static - void BindBuffer(OpenTK.Graphics.ES30.All target, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBuffer((OpenTK.Graphics.ES30.BufferTarget)target, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void BindBuffer(OpenTK.Graphics.ES30.All target, UInt32 buffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a named buffer object @@ -3557,18 +2138,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindBuffer")] - public static - void BindBuffer(OpenTK.Graphics.ES30.BufferTarget target, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBuffer((OpenTK.Graphics.ES30.BufferTarget)target, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void BindBuffer(OpenTK.Graphics.ES30.BufferTarget target, Int32 buffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a named buffer object @@ -3585,18 +2155,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindBuffer")] - public static - void BindBuffer(OpenTK.Graphics.ES30.BufferTarget target, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBuffer((OpenTK.Graphics.ES30.BufferTarget)target, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void BindBuffer(OpenTK.Graphics.ES30.BufferTarget target, UInt32 buffer); /// [requires: v3.0 and ES_VERSION_3_0] /// Bind a buffer object to an indexed buffer target @@ -3618,18 +2177,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferBase")] - public static - void BindBufferBase(OpenTK.Graphics.ES30.All target, Int32 index, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferBase((OpenTK.Graphics.ES30.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void BindBufferBase(OpenTK.Graphics.ES30.All target, Int32 index, Int32 buffer); /// [requires: v3.0 and ES_VERSION_3_0] /// Bind a buffer object to an indexed buffer target @@ -3652,18 +2200,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferBase")] - public static - void BindBufferBase(OpenTK.Graphics.ES30.All target, UInt32 index, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferBase((OpenTK.Graphics.ES30.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void BindBufferBase(OpenTK.Graphics.ES30.All target, UInt32 index, UInt32 buffer); /// [requires: v3.0 and ES_VERSION_3_0] /// Bind a buffer object to an indexed buffer target @@ -3684,18 +2221,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferBase")] - public static - void BindBufferBase(OpenTK.Graphics.ES30.BufferRangeTarget target, Int32 index, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferBase((OpenTK.Graphics.ES30.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void BindBufferBase(OpenTK.Graphics.ES30.BufferRangeTarget target, Int32 index, Int32 buffer); /// [requires: v3.0 and ES_VERSION_3_0] /// Bind a buffer object to an indexed buffer target @@ -3717,18 +2243,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferBase")] - public static - void BindBufferBase(OpenTK.Graphics.ES30.BufferRangeTarget target, UInt32 index, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferBase((OpenTK.Graphics.ES30.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void BindBufferBase(OpenTK.Graphics.ES30.BufferRangeTarget target, UInt32 index, UInt32 buffer); /// [requires: v3.0 and ES_VERSION_3_0] /// Bind a range within a buffer object to an indexed buffer target @@ -3760,18 +2275,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferRange")] - public static - void BindBufferRange(OpenTK.Graphics.ES30.All target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferRange((OpenTK.Graphics.ES30.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } + public static extern void BindBufferRange(OpenTK.Graphics.ES30.All target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size); /// [requires: v3.0 and ES_VERSION_3_0] /// Bind a range within a buffer object to an indexed buffer target @@ -3804,18 +2308,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferRange")] - public static - void BindBufferRange(OpenTK.Graphics.ES30.All target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferRange((OpenTK.Graphics.ES30.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } + public static extern void BindBufferRange(OpenTK.Graphics.ES30.All target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); /// [requires: v3.0 and ES_VERSION_3_0] /// Bind a range within a buffer object to an indexed buffer target @@ -3846,18 +2339,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferRange")] - public static - void BindBufferRange(OpenTK.Graphics.ES30.BufferRangeTarget target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferRange((OpenTK.Graphics.ES30.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } + public static extern void BindBufferRange(OpenTK.Graphics.ES30.BufferRangeTarget target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size); /// [requires: v3.0 and ES_VERSION_3_0] /// Bind a range within a buffer object to an indexed buffer target @@ -3889,18 +2371,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferRange")] - public static - void BindBufferRange(OpenTK.Graphics.ES30.BufferRangeTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferRange((OpenTK.Graphics.ES30.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } + public static extern void BindBufferRange(OpenTK.Graphics.ES30.BufferRangeTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a framebuffer to a framebuffer target @@ -3917,18 +2388,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindFramebuffer")] - public static - void BindFramebuffer(OpenTK.Graphics.ES30.All target, Int32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (UInt32)framebuffer); - #if DEBUG - } - #endif - } + public static extern void BindFramebuffer(OpenTK.Graphics.ES30.All target, Int32 framebuffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a framebuffer to a framebuffer target @@ -3946,18 +2406,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindFramebuffer")] - public static - void BindFramebuffer(OpenTK.Graphics.ES30.All target, UInt32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (UInt32)framebuffer); - #if DEBUG - } - #endif - } + public static extern void BindFramebuffer(OpenTK.Graphics.ES30.All target, UInt32 framebuffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a framebuffer to a framebuffer target @@ -3973,18 +2422,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindFramebuffer")] - public static - void BindFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, Int32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (UInt32)framebuffer); - #if DEBUG - } - #endif - } + public static extern void BindFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, Int32 framebuffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a framebuffer to a framebuffer target @@ -4001,18 +2439,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindFramebuffer")] - public static - void BindFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, UInt32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (UInt32)framebuffer); - #if DEBUG - } - #endif - } + public static extern void BindFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, UInt32 framebuffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a renderbuffer to a renderbuffer target @@ -4029,18 +2456,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindRenderbuffer")] - public static - void BindRenderbuffer(OpenTK.Graphics.ES30.All target, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindRenderbuffer((OpenTK.Graphics.ES30.RenderbufferTarget)target, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void BindRenderbuffer(OpenTK.Graphics.ES30.All target, Int32 renderbuffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a renderbuffer to a renderbuffer target @@ -4058,18 +2474,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindRenderbuffer")] - public static - void BindRenderbuffer(OpenTK.Graphics.ES30.All target, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindRenderbuffer((OpenTK.Graphics.ES30.RenderbufferTarget)target, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void BindRenderbuffer(OpenTK.Graphics.ES30.All target, UInt32 renderbuffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a renderbuffer to a renderbuffer target @@ -4085,18 +2490,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindRenderbuffer")] - public static - void BindRenderbuffer(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindRenderbuffer((OpenTK.Graphics.ES30.RenderbufferTarget)target, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void BindRenderbuffer(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 renderbuffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a renderbuffer to a renderbuffer target @@ -4113,18 +2507,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindRenderbuffer")] - public static - void BindRenderbuffer(OpenTK.Graphics.ES30.RenderbufferTarget target, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindRenderbuffer((OpenTK.Graphics.ES30.RenderbufferTarget)target, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void BindRenderbuffer(OpenTK.Graphics.ES30.RenderbufferTarget target, UInt32 renderbuffer); /// [requires: v3.0 and ES_VERSION_3_0] /// Bind a named sampler to a texturing target @@ -4140,18 +2523,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindSampler")] - public static - void BindSampler(Int32 unit, Int32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindSampler((UInt32)unit, (UInt32)sampler); - #if DEBUG - } - #endif - } + public static extern void BindSampler(Int32 unit, Int32 sampler); /// [requires: v3.0 and ES_VERSION_3_0] /// Bind a named sampler to a texturing target @@ -4168,18 +2540,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindSampler")] - public static - void BindSampler(UInt32 unit, UInt32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindSampler((UInt32)unit, (UInt32)sampler); - #if DEBUG - } - #endif - } + public static extern void BindSampler(UInt32 unit, UInt32 sampler); /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a named texture to a texturing target @@ -4196,18 +2557,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindTexture")] - public static - void BindTexture(OpenTK.Graphics.ES30.All target, Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTexture((OpenTK.Graphics.ES30.TextureTarget)target, (UInt32)texture); - #if DEBUG - } - #endif - } + public static extern void BindTexture(OpenTK.Graphics.ES30.All target, Int32 texture); /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a named texture to a texturing target @@ -4225,18 +2575,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindTexture")] - public static - void BindTexture(OpenTK.Graphics.ES30.All target, UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTexture((OpenTK.Graphics.ES30.TextureTarget)target, (UInt32)texture); - #if DEBUG - } - #endif - } + public static extern void BindTexture(OpenTK.Graphics.ES30.All target, UInt32 texture); /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a named texture to a texturing target @@ -4252,18 +2591,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindTexture")] - public static - void BindTexture(OpenTK.Graphics.ES30.TextureTarget target, Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTexture((OpenTK.Graphics.ES30.TextureTarget)target, (UInt32)texture); - #if DEBUG - } - #endif - } + public static extern void BindTexture(OpenTK.Graphics.ES30.TextureTarget target, Int32 texture); /// [requires: v2.0 and ES_VERSION_2_0] /// Bind a named texture to a texturing target @@ -4280,18 +2608,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindTexture")] - public static - void BindTexture(OpenTK.Graphics.ES30.TextureTarget target, UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTexture((OpenTK.Graphics.ES30.TextureTarget)target, (UInt32)texture); - #if DEBUG - } - #endif - } + public static extern void BindTexture(OpenTK.Graphics.ES30.TextureTarget target, UInt32 texture); /// [requires: v3.0 and ES_VERSION_3_0] /// Bind a transform feedback object @@ -4308,18 +2625,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindTransformFeedback")] - public static - void BindTransformFeedback(OpenTK.Graphics.ES30.All target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTransformFeedback((OpenTK.Graphics.ES30.TransformFeedbackTarget)target, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BindTransformFeedback(OpenTK.Graphics.ES30.All target, Int32 id); /// [requires: v3.0 and ES_VERSION_3_0] /// Bind a transform feedback object @@ -4337,18 +2643,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindTransformFeedback")] - public static - void BindTransformFeedback(OpenTK.Graphics.ES30.All target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTransformFeedback((OpenTK.Graphics.ES30.TransformFeedbackTarget)target, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BindTransformFeedback(OpenTK.Graphics.ES30.All target, UInt32 id); /// [requires: v3.0 and ES_VERSION_3_0] /// Bind a transform feedback object @@ -4364,18 +2659,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindTransformFeedback")] - public static - void BindTransformFeedback(OpenTK.Graphics.ES30.TransformFeedbackTarget target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTransformFeedback((OpenTK.Graphics.ES30.TransformFeedbackTarget)target, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BindTransformFeedback(OpenTK.Graphics.ES30.TransformFeedbackTarget target, Int32 id); /// [requires: v3.0 and ES_VERSION_3_0] /// Bind a transform feedback object @@ -4392,18 +2676,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindTransformFeedback")] - public static - void BindTransformFeedback(OpenTK.Graphics.ES30.TransformFeedbackTarget target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTransformFeedback((OpenTK.Graphics.ES30.TransformFeedbackTarget)target, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BindTransformFeedback(OpenTK.Graphics.ES30.TransformFeedbackTarget target, UInt32 id); /// [requires: v3.0 and ES_VERSION_3_0] /// Bind a vertex array object @@ -4414,18 +2687,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindVertexArray")] - public static - void BindVertexArray(Int32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindVertexArray((UInt32)array); - #if DEBUG - } - #endif - } + public static extern void BindVertexArray(Int32 array); /// [requires: v3.0 and ES_VERSION_3_0] /// Bind a vertex array object @@ -4437,18 +2699,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindVertexArray")] - public static - void BindVertexArray(UInt32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindVertexArray((UInt32)array); - #if DEBUG - } - #endif - } + public static extern void BindVertexArray(UInt32 array); /// [requires: v2.0 and ES_VERSION_2_0] /// Set the blend color @@ -4459,18 +2710,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendColor")] - public static - void BlendColor(Single red, Single green, Single blue, Single alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendColor((Single)red, (Single)green, (Single)blue, (Single)alpha); - #if DEBUG - } - #endif - } + public static extern void BlendColor(Single red, Single green, Single blue, Single alpha); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -4487,18 +2727,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendEquation")] - public static - void BlendEquation(OpenTK.Graphics.ES30.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquation((OpenTK.Graphics.ES30.BlendEquationMode)mode); - #if DEBUG - } - #endif - } + public static extern void BlendEquation(OpenTK.Graphics.ES30.All mode); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -4514,18 +2743,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendEquation")] - public static - void BlendEquation(OpenTK.Graphics.ES30.BlendEquationMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquation((OpenTK.Graphics.ES30.BlendEquationMode)mode); - #if DEBUG - } - #endif - } + public static extern void BlendEquation(OpenTK.Graphics.ES30.BlendEquationMode mode); /// [requires: v2.0 and ES_VERSION_2_0] /// Set the RGB blend equation and the alpha blend equation separately @@ -4547,18 +2765,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendEquationSeparate")] - public static - void BlendEquationSeparate(OpenTK.Graphics.ES30.All modeRGB, OpenTK.Graphics.ES30.All modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationSeparate((OpenTK.Graphics.ES30.BlendEquationMode)modeRGB, (OpenTK.Graphics.ES30.BlendEquationMode)modeAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendEquationSeparate(OpenTK.Graphics.ES30.All modeRGB, OpenTK.Graphics.ES30.All modeAlpha); /// [requires: v2.0 and ES_VERSION_2_0] /// Set the RGB blend equation and the alpha blend equation separately @@ -4579,18 +2786,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendEquationSeparate")] - public static - void BlendEquationSeparate(OpenTK.Graphics.ES30.BlendEquationMode modeRGB, OpenTK.Graphics.ES30.BlendEquationMode modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationSeparate((OpenTK.Graphics.ES30.BlendEquationMode)modeRGB, (OpenTK.Graphics.ES30.BlendEquationMode)modeAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendEquationSeparate(OpenTK.Graphics.ES30.BlendEquationMode modeRGB, OpenTK.Graphics.ES30.BlendEquationMode modeAlpha); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify pixel arithmetic @@ -4612,18 +2808,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendFunc")] - public static - void BlendFunc(OpenTK.Graphics.ES30.All sfactor, OpenTK.Graphics.ES30.All dfactor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFunc((OpenTK.Graphics.ES30.BlendingFactorSrc)sfactor, (OpenTK.Graphics.ES30.BlendingFactorDest)dfactor); - #if DEBUG - } - #endif - } + public static extern void BlendFunc(OpenTK.Graphics.ES30.All sfactor, OpenTK.Graphics.ES30.All dfactor); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify pixel arithmetic @@ -4644,18 +2829,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendFunc")] - public static - void BlendFunc(OpenTK.Graphics.ES30.BlendingFactorSrc sfactor, OpenTK.Graphics.ES30.BlendingFactorDest dfactor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFunc((OpenTK.Graphics.ES30.BlendingFactorSrc)sfactor, (OpenTK.Graphics.ES30.BlendingFactorDest)dfactor); - #if DEBUG - } - #endif - } + public static extern void BlendFunc(OpenTK.Graphics.ES30.BlendingFactorSrc sfactor, OpenTK.Graphics.ES30.BlendingFactorDest dfactor); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify pixel arithmetic for RGB and alpha components separately @@ -4687,18 +2861,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendFuncSeparate")] - public static - void BlendFuncSeparate(OpenTK.Graphics.ES30.All sfactorRGB, OpenTK.Graphics.ES30.All dfactorRGB, OpenTK.Graphics.ES30.All sfactorAlpha, OpenTK.Graphics.ES30.All dfactorAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFuncSeparate((OpenTK.Graphics.ES30.BlendingFactorSrc)sfactorRGB, (OpenTK.Graphics.ES30.BlendingFactorDest)dfactorRGB, (OpenTK.Graphics.ES30.BlendingFactorSrc)sfactorAlpha, (OpenTK.Graphics.ES30.BlendingFactorDest)dfactorAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendFuncSeparate(OpenTK.Graphics.ES30.All sfactorRGB, OpenTK.Graphics.ES30.All dfactorRGB, OpenTK.Graphics.ES30.All sfactorAlpha, OpenTK.Graphics.ES30.All dfactorAlpha); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify pixel arithmetic for RGB and alpha components separately @@ -4729,18 +2892,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBlendFuncSeparate")] - public static - void BlendFuncSeparate(OpenTK.Graphics.ES30.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.ES30.BlendingFactorDest dfactorRGB, OpenTK.Graphics.ES30.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.ES30.BlendingFactorDest dfactorAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFuncSeparate((OpenTK.Graphics.ES30.BlendingFactorSrc)sfactorRGB, (OpenTK.Graphics.ES30.BlendingFactorDest)dfactorRGB, (OpenTK.Graphics.ES30.BlendingFactorSrc)sfactorAlpha, (OpenTK.Graphics.ES30.BlendingFactorDest)dfactorAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendFuncSeparate(OpenTK.Graphics.ES30.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.ES30.BlendingFactorDest dfactorRGB, OpenTK.Graphics.ES30.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.ES30.BlendingFactorDest dfactorAlpha); /// [requires: v3.0 and ES_VERSION_3_0] /// Copy a block of pixels from the read framebuffer to the draw framebuffer @@ -4767,18 +2919,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBlitFramebuffer")] - public static - void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.All mask, OpenTK.Graphics.ES30.All filter) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlitFramebuffer((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ES30.ClearBufferMask)mask, (OpenTK.Graphics.ES30.BlitFramebufferFilter)filter); - #if DEBUG - } - #endif - } + public static extern void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.All mask, OpenTK.Graphics.ES30.All filter); /// [requires: v3.0 and ES_VERSION_3_0] /// Copy a block of pixels from the read framebuffer to the draw framebuffer @@ -4804,18 +2945,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBlitFramebuffer")] - public static - void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.ClearBufferMask mask, OpenTK.Graphics.ES30.BlitFramebufferFilter filter) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlitFramebuffer((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ES30.ClearBufferMask)mask, (OpenTK.Graphics.ES30.BlitFramebufferFilter)filter); - #if DEBUG - } - #endif - } + public static extern void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.ClearBufferMask mask, OpenTK.Graphics.ES30.BlitFramebufferFilter filter); /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -4842,18 +2972,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.ES30.All target, IntPtr size, IntPtr data, OpenTK.Graphics.ES30.All usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBufferData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ES30.BufferUsageHint)usage); - #if DEBUG - } - #endif - } + public static extern void BufferData(OpenTK.Graphics.ES30.All target, IntPtr size, IntPtr data, OpenTK.Graphics.ES30.All usage); /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -4880,27 +2999,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.ES30.All target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.ES30.All usage) + public static extern void BufferData(OpenTK.Graphics.ES30.All target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.ES30.All usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES30.BufferUsageHint)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -4927,27 +3028,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.ES30.All target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.ES30.All usage) + public static extern void BufferData(OpenTK.Graphics.ES30.All target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.ES30.All usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES30.BufferUsageHint)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -4974,27 +3057,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.ES30.All target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.ES30.All usage) + public static extern void BufferData(OpenTK.Graphics.ES30.All target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.ES30.All usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES30.BufferUsageHint)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -5021,28 +3086,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.ES30.All target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.ES30.All usage) + public static extern void BufferData(OpenTK.Graphics.ES30.All target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.ES30.All usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES30.BufferUsageHint)usage); - data = (T2)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -5068,18 +3114,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES30.BufferUsageHint usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBufferData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ES30.BufferUsageHint)usage); - #if DEBUG - } - #endif - } + public static extern void BufferData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES30.BufferUsageHint usage); /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -5105,27 +3140,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.ES30.BufferUsageHint usage) + public static extern void BufferData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.ES30.BufferUsageHint usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES30.BufferUsageHint)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -5151,27 +3168,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.ES30.BufferUsageHint usage) + public static extern void BufferData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.ES30.BufferUsageHint usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES30.BufferUsageHint)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -5197,27 +3196,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.ES30.BufferUsageHint usage) + public static extern void BufferData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.ES30.BufferUsageHint usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES30.BufferUsageHint)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Creates and initializes a buffer object's data store @@ -5243,28 +3224,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.ES30.BufferUsageHint usage) + public static extern void BufferData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.ES30.BufferUsageHint usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES30.BufferUsageHint)usage); - data = (T2)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Updates a subset of a buffer object's data store @@ -5291,18 +3253,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr size, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBufferSubData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void BufferSubData(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr size, IntPtr data); /// [requires: v2.0 and ES_VERSION_2_0] /// Updates a subset of a buffer object's data store @@ -5329,27 +3280,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) + public static extern void BufferSubData(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Updates a subset of a buffer object's data store @@ -5376,27 +3309,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) + public static extern void BufferSubData(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Updates a subset of a buffer object's data store @@ -5423,27 +3338,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) + public static extern void BufferSubData(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Updates a subset of a buffer object's data store @@ -5470,28 +3367,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) + public static extern void BufferSubData(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T3)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Updates a subset of a buffer object's data store @@ -5517,18 +3395,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBufferSubData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void BufferSubData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data); /// [requires: v2.0 and ES_VERSION_2_0] /// Updates a subset of a buffer object's data store @@ -5554,27 +3421,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) + public static extern void BufferSubData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Updates a subset of a buffer object's data store @@ -5600,27 +3449,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) + public static extern void BufferSubData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Updates a subset of a buffer object's data store @@ -5646,27 +3477,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) + public static extern void BufferSubData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Updates a subset of a buffer object's data store @@ -5692,28 +3505,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) + public static extern void BufferSubData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T3)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Check the completeness status of a framebuffer @@ -5725,18 +3519,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCheckFramebufferStatus")] - public static - OpenTK.Graphics.ES30.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.ES30.All target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCheckFramebufferStatus((OpenTK.Graphics.ES30.FramebufferTarget)target); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.ES30.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.ES30.All target); /// [requires: v2.0 and ES_VERSION_2_0] /// Check the completeness status of a framebuffer @@ -5747,18 +3530,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCheckFramebufferStatus")] - public static - OpenTK.Graphics.ES30.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.ES30.FramebufferTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCheckFramebufferStatus((OpenTK.Graphics.ES30.FramebufferTarget)target); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.ES30.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.ES30.FramebufferTarget target); /// [requires: v2.0 and ES_VERSION_2_0] /// Clear buffers to preset values @@ -5770,18 +3542,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glClear")] - public static - void Clear(OpenTK.Graphics.ES30.All mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClear((OpenTK.Graphics.ES30.ClearBufferMask)mask); - #if DEBUG - } - #endif - } + public static extern void Clear(OpenTK.Graphics.ES30.All mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Clear buffers to preset values @@ -5792,18 +3553,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glClear")] - public static - void Clear(OpenTK.Graphics.ES30.ClearBufferMask mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClear((OpenTK.Graphics.ES30.ClearBufferMask)mask); - #if DEBUG - } - #endif - } + public static extern void Clear(OpenTK.Graphics.ES30.ClearBufferMask mask); /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -5835,18 +3585,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfi")] - public static - void ClearBuffer(OpenTK.Graphics.ES30.All buffer, Int32 drawbuffer, Single depth, Int32 stencil) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearBufferfi((OpenTK.Graphics.ES30.ClearBufferCombined)buffer, (Int32)drawbuffer, (Single)depth, (Int32)stencil); - #if DEBUG - } - #endif - } + public static extern void ClearBuffer(OpenTK.Graphics.ES30.All buffer, Int32 drawbuffer, Single depth, Int32 stencil); /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -5877,18 +3616,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfi")] - public static - void ClearBuffer(OpenTK.Graphics.ES30.ClearBufferCombined buffer, Int32 drawbuffer, Single depth, Int32 stencil) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearBufferfi((OpenTK.Graphics.ES30.ClearBufferCombined)buffer, (Int32)drawbuffer, (Single)depth, (Int32)stencil); - #if DEBUG - } - #endif - } + public static extern void ClearBuffer(OpenTK.Graphics.ES30.ClearBufferCombined buffer, Int32 drawbuffer, Single depth, Int32 stencil); /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -5920,24 +3648,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfv")] - public static - void ClearBuffer(OpenTK.Graphics.ES30.All buffer, Int32 drawbuffer, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glClearBufferfv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClearBuffer(OpenTK.Graphics.ES30.All buffer, Int32 drawbuffer, Single[] value); /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -5969,24 +3680,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfv")] - public static - void ClearBuffer(OpenTK.Graphics.ES30.All buffer, Int32 drawbuffer, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glClearBufferfv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClearBuffer(OpenTK.Graphics.ES30.All buffer, Int32 drawbuffer, ref Single value); /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -6019,18 +3713,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfv")] - public static - unsafe void ClearBuffer(OpenTK.Graphics.ES30.All buffer, Int32 drawbuffer, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearBufferfv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ClearBuffer(OpenTK.Graphics.ES30.All buffer, Int32 drawbuffer, Single* value); /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -6061,24 +3744,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfv")] - public static - void ClearBuffer(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glClearBufferfv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClearBuffer(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, Single[] value); /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -6109,24 +3775,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfv")] - public static - void ClearBuffer(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glClearBufferfv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClearBuffer(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, ref Single value); /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -6158,18 +3807,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfv")] - public static - unsafe void ClearBuffer(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearBufferfv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ClearBuffer(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, Single* value); /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -6201,24 +3839,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferiv")] - public static - void ClearBuffer(OpenTK.Graphics.ES30.All buffer, Int32 drawbuffer, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glClearBufferiv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClearBuffer(OpenTK.Graphics.ES30.All buffer, Int32 drawbuffer, Int32[] value); /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -6250,24 +3871,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferiv")] - public static - void ClearBuffer(OpenTK.Graphics.ES30.All buffer, Int32 drawbuffer, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glClearBufferiv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClearBuffer(OpenTK.Graphics.ES30.All buffer, Int32 drawbuffer, ref Int32 value); /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -6300,18 +3904,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferiv")] - public static - unsafe void ClearBuffer(OpenTK.Graphics.ES30.All buffer, Int32 drawbuffer, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearBufferiv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ClearBuffer(OpenTK.Graphics.ES30.All buffer, Int32 drawbuffer, Int32* value); /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -6342,24 +3935,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferiv")] - public static - void ClearBuffer(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glClearBufferiv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClearBuffer(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, Int32[] value); /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -6390,24 +3966,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferiv")] - public static - void ClearBuffer(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glClearBufferiv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClearBuffer(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, ref Int32 value); /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -6439,18 +3998,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferiv")] - public static - unsafe void ClearBuffer(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearBufferiv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ClearBuffer(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, Int32* value); /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -6483,24 +4031,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferuiv")] - public static - void ClearBuffer(OpenTK.Graphics.ES30.All buffer, Int32 drawbuffer, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glClearBufferuiv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClearBuffer(OpenTK.Graphics.ES30.All buffer, Int32 drawbuffer, UInt32[] value); /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -6533,24 +4064,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferuiv")] - public static - void ClearBuffer(OpenTK.Graphics.ES30.All buffer, Int32 drawbuffer, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glClearBufferuiv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClearBuffer(OpenTK.Graphics.ES30.All buffer, Int32 drawbuffer, ref UInt32 value); /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -6583,18 +4097,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferuiv")] - public static - unsafe void ClearBuffer(OpenTK.Graphics.ES30.All buffer, Int32 drawbuffer, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearBufferuiv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ClearBuffer(OpenTK.Graphics.ES30.All buffer, Int32 drawbuffer, UInt32* value); /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -6626,24 +4129,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferuiv")] - public static - void ClearBuffer(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glClearBufferuiv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClearBuffer(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, UInt32[] value); /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -6675,24 +4161,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferuiv")] - public static - void ClearBuffer(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glClearBufferuiv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClearBuffer(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, ref UInt32 value); /// [requires: v3.0 and ES_VERSION_3_0] /// Clear individual buffers of the currently bound draw framebuffer @@ -6724,18 +4193,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferuiv")] - public static - unsafe void ClearBuffer(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearBufferuiv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ClearBuffer(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, UInt32* value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify clear values for the color buffers @@ -6746,18 +4204,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glClearColor")] - public static - void ClearColor(Single red, Single green, Single blue, Single alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearColor((Single)red, (Single)green, (Single)blue, (Single)alpha); - #if DEBUG - } - #endif - } + public static extern void ClearColor(Single red, Single green, Single blue, Single alpha); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the clear value for the depth buffer @@ -6768,18 +4215,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glClearDepthf")] - public static - void ClearDepth(Single d) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearDepthf((Single)d); - #if DEBUG - } - #endif - } + public static extern void ClearDepth(Single d); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the clear value for the stencil buffer @@ -6790,18 +4226,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glClearStencil")] - public static - void ClearStencil(Int32 s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearStencil((Int32)s); - #if DEBUG - } - #endif - } + public static extern void ClearStencil(Int32 s); /// [requires: v3.0 and ES_VERSION_3_0] /// Block and wait for a sync object to become signaled @@ -6823,18 +4248,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClientWaitSync")] - public static - OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glClientWaitSync((IntPtr)sync, (OpenTK.Graphics.ES30.ClientWaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, Int64 timeout); /// [requires: v3.0 and ES_VERSION_3_0] /// Block and wait for a sync object to become signaled @@ -6857,18 +4271,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClientWaitSync")] - public static - OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glClientWaitSync((IntPtr)sync, (OpenTK.Graphics.ES30.ClientWaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, UInt64 timeout); /// [requires: v3.0 and ES_VERSION_3_0] /// Block and wait for a sync object to become signaled @@ -6889,18 +4292,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClientWaitSync")] - public static - OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.ClientWaitSyncFlags flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glClientWaitSync((IntPtr)sync, (OpenTK.Graphics.ES30.ClientWaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.ClientWaitSyncFlags flags, Int64 timeout); /// [requires: v3.0 and ES_VERSION_3_0] /// Block and wait for a sync object to become signaled @@ -6922,18 +4314,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClientWaitSync")] - public static - OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.ClientWaitSyncFlags flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glClientWaitSync((IntPtr)sync, (OpenTK.Graphics.ES30.ClientWaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.ClientWaitSyncFlags flags, UInt64 timeout); /// [requires: v2.0 and ES_VERSION_2_0] /// Enable and disable writing of frame buffer color components @@ -6949,18 +4330,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glColorMask")] - public static - void ColorMask(bool red, bool green, bool blue, bool alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorMask((bool)red, (bool)green, (bool)blue, (bool)alpha); - #if DEBUG - } - #endif - } + public static extern void ColorMask(bool red, bool green, bool blue, bool alpha); /// [requires: v2.0 and ES_VERSION_2_0] /// Compiles a shader object @@ -6971,18 +4341,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompileShader")] - public static - void CompileShader(Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompileShader((UInt32)shader); - #if DEBUG - } - #endif - } + public static extern void CompileShader(Int32 shader); /// [requires: v2.0 and ES_VERSION_2_0] /// Compiles a shader object @@ -6994,18 +4353,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompileShader")] - public static - void CompileShader(UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompileShader((UInt32)shader); - #if DEBUG - } - #endif - } + public static extern void CompileShader(UInt32 shader); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image in a compressed format @@ -7052,18 +4400,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image in a compressed format @@ -7110,27 +4447,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image in a compressed format @@ -7177,27 +4496,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image in a compressed format @@ -7244,27 +4545,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image in a compressed format @@ -7311,28 +4594,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T7)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image in a compressed format @@ -7378,18 +4642,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image in a compressed format @@ -7435,27 +4688,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image in a compressed format @@ -7501,27 +4736,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image in a compressed format @@ -7567,27 +4784,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image in a compressed format @@ -7633,28 +4832,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T7)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture image in a compressed format @@ -7706,18 +4886,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexImage3D")] - public static - void CompressedTexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture image in a compressed format @@ -7769,27 +4938,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexImage3D")] - public static - void CompressedTexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture image in a compressed format @@ -7841,27 +4992,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexImage3D")] - public static - void CompressedTexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture image in a compressed format @@ -7913,27 +5046,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexImage3D")] - public static - void CompressedTexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture image in a compressed format @@ -7985,28 +5100,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexImage3D")] - public static - void CompressedTexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T8)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture image in a compressed format @@ -8057,18 +5153,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexImage3D")] - public static - void CompressedTexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture image in a compressed format @@ -8119,27 +5204,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexImage3D")] - public static - void CompressedTexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture image in a compressed format @@ -8190,27 +5257,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexImage3D")] - public static - void CompressedTexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture image in a compressed format @@ -8261,27 +5310,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexImage3D")] - public static - void CompressedTexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture image in a compressed format @@ -8332,28 +5363,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexImage3D")] - public static - void CompressedTexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T8)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage in a compressed format @@ -8405,18 +5417,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, Int32 imageSize, IntPtr data); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage in a compressed format @@ -8468,27 +5469,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage in a compressed format @@ -8540,27 +5523,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage in a compressed format @@ -8612,27 +5577,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage in a compressed format @@ -8684,28 +5631,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T8)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage in a compressed format @@ -8756,18 +5684,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, IntPtr data); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage in a compressed format @@ -8818,27 +5735,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage in a compressed format @@ -8889,27 +5788,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage in a compressed format @@ -8960,27 +5841,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage in a compressed format @@ -9031,28 +5894,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T8)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture subimage in a compressed format @@ -9109,18 +5953,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexSubImage3D")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, IntPtr data); /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture subimage in a compressed format @@ -9177,27 +6010,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexSubImage3D")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[] data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture subimage in a compressed format @@ -9254,27 +6069,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexSubImage3D")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[,] data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[,] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture subimage in a compressed format @@ -9331,27 +6128,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexSubImage3D")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[,,] data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[,,] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture subimage in a compressed format @@ -9408,28 +6187,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexSubImage3D")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] ref T10 data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] ref T10 data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T10)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture subimage in a compressed format @@ -9485,18 +6245,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexSubImage3D")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, IntPtr data); /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture subimage in a compressed format @@ -9552,27 +6301,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexSubImage3D")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[] data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture subimage in a compressed format @@ -9628,27 +6359,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexSubImage3D")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[,] data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[,] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture subimage in a compressed format @@ -9704,27 +6417,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexSubImage3D")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[,,] data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[,,] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture subimage in a compressed format @@ -9780,28 +6475,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCompressedTexSubImage3D")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T10 data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T10 data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T10)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Copy part of the data store of a buffer object to the data store of another buffer object @@ -9833,18 +6509,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCopyBufferSubData")] - public static - void CopyBufferSubData(OpenTK.Graphics.ES30.All readTarget, OpenTK.Graphics.ES30.All writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyBufferSubData((OpenTK.Graphics.ES30.BufferTarget)readTarget, (OpenTK.Graphics.ES30.BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size); - #if DEBUG - } - #endif - } + public static extern void CopyBufferSubData(OpenTK.Graphics.ES30.All readTarget, OpenTK.Graphics.ES30.All writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size); /// [requires: v3.0 and ES_VERSION_3_0] /// Copy part of the data store of a buffer object to the data store of another buffer object @@ -9875,18 +6540,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCopyBufferSubData")] - public static - void CopyBufferSubData(OpenTK.Graphics.ES30.BufferTarget readTarget, OpenTK.Graphics.ES30.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyBufferSubData((OpenTK.Graphics.ES30.BufferTarget)readTarget, (OpenTK.Graphics.ES30.BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size); - #if DEBUG - } - #endif - } + public static extern void CopyBufferSubData(OpenTK.Graphics.ES30.BufferTarget readTarget, OpenTK.Graphics.ES30.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size); /// [requires: v2.0 and ES_VERSION_2_0] /// Copy pixels into a 2D texture image @@ -9928,18 +6582,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCopyTexImage2D")] - public static - void CopyTexImage2D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureCopyComponentCount)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); - #if DEBUG - } - #endif - } + public static extern void CopyTexImage2D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); /// [requires: v2.0 and ES_VERSION_2_0] /// Copy pixels into a 2D texture image @@ -9980,18 +6623,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCopyTexImage2D")] - public static - void CopyTexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.TextureCopyComponentCount internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureCopyComponentCount)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); - #if DEBUG - } - #endif - } + public static extern void CopyTexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.TextureCopyComponentCount internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); /// [requires: v2.0 and ES_VERSION_2_0] /// Copy a two-dimensional texture subimage @@ -10033,18 +6665,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCopyTexSubImage2D")] - public static - void CopyTexSubImage2D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void CopyTexSubImage2D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v2.0 and ES_VERSION_2_0] /// Copy a two-dimensional texture subimage @@ -10085,18 +6706,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCopyTexSubImage2D")] - public static - void CopyTexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void CopyTexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v3.0 and ES_VERSION_3_0] /// Copy a three-dimensional texture subimage @@ -10143,18 +6753,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCopyTexSubImage3D")] - public static - void CopyTexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void CopyTexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v3.0 and ES_VERSION_3_0] /// Copy a three-dimensional texture subimage @@ -10200,35 +6799,13 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glCopyTexSubImage3D")] - public static - void CopyTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void CopyTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v2.0 and ES_VERSION_2_0] /// Creates a program object /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCreateProgram")] - public static - Int32 CreateProgram() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCreateProgram(); - #if DEBUG - } - #endif - } + public static extern Int32 CreateProgram(); /// [requires: v2.0 and ES_VERSION_2_0] /// Creates a shader object @@ -10240,18 +6817,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCreateShader")] - public static - Int32 CreateShader(OpenTK.Graphics.ES30.All type) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCreateShader((OpenTK.Graphics.ES30.ShaderType)type); - #if DEBUG - } - #endif - } + public static extern Int32 CreateShader(OpenTK.Graphics.ES30.All type); /// [requires: v2.0 and ES_VERSION_2_0] /// Creates a shader object @@ -10262,18 +6828,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCreateShader")] - public static - Int32 CreateShader(OpenTK.Graphics.ES30.ShaderType type) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCreateShader((OpenTK.Graphics.ES30.ShaderType)type); - #if DEBUG - } - #endif - } + public static extern Int32 CreateShader(OpenTK.Graphics.ES30.ShaderType type); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify whether front- or back-facing facets can be culled @@ -10285,18 +6840,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCullFace")] - public static - void CullFace(OpenTK.Graphics.ES30.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCullFace((OpenTK.Graphics.ES30.CullFaceMode)mode); - #if DEBUG - } - #endif - } + public static extern void CullFace(OpenTK.Graphics.ES30.All mode); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify whether front- or back-facing facets can be culled @@ -10307,18 +6851,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glCullFace")] - public static - void CullFace(OpenTK.Graphics.ES30.CullFaceMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCullFace((OpenTK.Graphics.ES30.CullFaceMode)mode); - #if DEBUG - } - #endif - } + public static extern void CullFace(OpenTK.Graphics.ES30.CullFaceMode mode); /// /// Specify a callback to receive debugging messages from the GL @@ -10334,18 +6867,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallback")] - public static - void DebugMessageCallback(DebugProc callback, IntPtr userParam) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageCallback((DebugProc)callback, (IntPtr)userParam); - #if DEBUG - } - #endif - } + public static extern void DebugMessageCallback(DebugProc callback, IntPtr userParam); /// /// Specify a callback to receive debugging messages from the GL @@ -10361,27 +6883,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallback")] - public static - void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] T1[] userParam) + public static extern void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] T1[] userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallback((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Specify a callback to receive debugging messages from the GL @@ -10397,27 +6901,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallback")] - public static - void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] T1[,] userParam) + public static extern void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] T1[,] userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallback((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Specify a callback to receive debugging messages from the GL @@ -10433,27 +6919,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallback")] - public static - void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] T1[,,] userParam) + public static extern void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] T1[,,] userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallback((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Specify a callback to receive debugging messages from the GL @@ -10469,28 +6937,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallback")] - public static - void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] ref T1 userParam) + public static extern void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] ref T1 userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallback((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - userParam = (T1)userParam_ptr.Target; - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Control the reporting of debug messages in a debug context @@ -10527,24 +6976,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static - void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, Int32[] ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glDebugMessageControl((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, Int32[] ids, bool enabled); /// /// Control the reporting of debug messages in a debug context @@ -10581,24 +7013,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static - void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, ref Int32 ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glDebugMessageControl((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, ref Int32 ids, bool enabled); /// /// Control the reporting of debug messages in a debug context @@ -10636,18 +7051,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static - unsafe void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, Int32* ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageControl((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - #if DEBUG - } - #endif - } + public static extern unsafe void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, Int32* ids, bool enabled); /// /// Control the reporting of debug messages in a debug context @@ -10685,24 +7089,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static - void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, UInt32[] ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glDebugMessageControl((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, UInt32[] ids, bool enabled); /// /// Control the reporting of debug messages in a debug context @@ -10740,24 +7127,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static - void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, ref UInt32 ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glDebugMessageControl((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, ref UInt32 ids, bool enabled); /// /// Control the reporting of debug messages in a debug context @@ -10795,18 +7165,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static - unsafe void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, UInt32* ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageControl((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - #if DEBUG - } - #endif - } + public static extern unsafe void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, UInt32* ids, bool enabled); /// /// Control the reporting of debug messages in a debug context @@ -10842,24 +7201,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static - void DebugMessageControl(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, Int32[] ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glDebugMessageControl((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, Int32[] ids, bool enabled); /// /// Control the reporting of debug messages in a debug context @@ -10895,24 +7237,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static - void DebugMessageControl(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, ref Int32 ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glDebugMessageControl((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, ref Int32 ids, bool enabled); /// /// Control the reporting of debug messages in a debug context @@ -10949,18 +7274,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static - unsafe void DebugMessageControl(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, Int32* ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageControl((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - #if DEBUG - } - #endif - } + public static extern unsafe void DebugMessageControl(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, Int32* ids, bool enabled); /// /// Control the reporting of debug messages in a debug context @@ -10997,24 +7311,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static - void DebugMessageControl(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, UInt32[] ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glDebugMessageControl((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, UInt32[] ids, bool enabled); /// /// Control the reporting of debug messages in a debug context @@ -11051,24 +7348,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static - void DebugMessageControl(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, ref UInt32 ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glDebugMessageControl((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, ref UInt32 ids, bool enabled); /// /// Control the reporting of debug messages in a debug context @@ -11105,18 +7385,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] - public static - unsafe void DebugMessageControl(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageControl((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - #if DEBUG - } - #endif - } + public static extern unsafe void DebugMessageControl(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled); /// /// Inject an application-supplied message into the debug message queue @@ -11153,18 +7422,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsert")] - public static - void DebugMessageInsert(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, Int32 id, OpenTK.Graphics.ES30.All severity, Int32 length, String buf) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageInsert((OpenTK.Graphics.ES30.DebugSourceExternal)source, (OpenTK.Graphics.ES30.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES30.DebugSeverity)severity, (Int32)length, (String)buf); - #if DEBUG - } - #endif - } + public static extern void DebugMessageInsert(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, Int32 id, OpenTK.Graphics.ES30.All severity, Int32 length, String buf); /// /// Inject an application-supplied message into the debug message queue @@ -11202,18 +7460,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsert")] - public static - void DebugMessageInsert(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, UInt32 id, OpenTK.Graphics.ES30.All severity, Int32 length, String buf) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageInsert((OpenTK.Graphics.ES30.DebugSourceExternal)source, (OpenTK.Graphics.ES30.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES30.DebugSeverity)severity, (Int32)length, (String)buf); - #if DEBUG - } - #endif - } + public static extern void DebugMessageInsert(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, UInt32 id, OpenTK.Graphics.ES30.All severity, Int32 length, String buf); /// /// Inject an application-supplied message into the debug message queue @@ -11249,18 +7496,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsert")] - public static - void DebugMessageInsert(OpenTK.Graphics.ES30.DebugSourceExternal source, OpenTK.Graphics.ES30.DebugType type, Int32 id, OpenTK.Graphics.ES30.DebugSeverity severity, Int32 length, String buf) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageInsert((OpenTK.Graphics.ES30.DebugSourceExternal)source, (OpenTK.Graphics.ES30.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES30.DebugSeverity)severity, (Int32)length, (String)buf); - #if DEBUG - } - #endif - } + public static extern void DebugMessageInsert(OpenTK.Graphics.ES30.DebugSourceExternal source, OpenTK.Graphics.ES30.DebugType type, Int32 id, OpenTK.Graphics.ES30.DebugSeverity severity, Int32 length, String buf); /// /// Inject an application-supplied message into the debug message queue @@ -11297,18 +7533,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsert")] - public static - void DebugMessageInsert(OpenTK.Graphics.ES30.DebugSourceExternal source, OpenTK.Graphics.ES30.DebugType type, UInt32 id, OpenTK.Graphics.ES30.DebugSeverity severity, Int32 length, String buf) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageInsert((OpenTK.Graphics.ES30.DebugSourceExternal)source, (OpenTK.Graphics.ES30.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES30.DebugSeverity)severity, (Int32)length, (String)buf); - #if DEBUG - } - #endif - } + public static extern void DebugMessageInsert(OpenTK.Graphics.ES30.DebugSourceExternal source, OpenTK.Graphics.ES30.DebugType type, UInt32 id, OpenTK.Graphics.ES30.DebugSeverity severity, Int32 length, String buf); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named buffer objects @@ -11324,23 +7549,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffer(Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* buffers_ptr = (UInt32*)&buffers; - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffer(Int32 buffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named buffer objects @@ -11357,23 +7566,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffer(UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* buffers_ptr = (UInt32*)&buffers; - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffer(UInt32 buffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named buffer objects @@ -11389,24 +7582,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffers(Int32 n, Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffers(Int32 n, Int32[] buffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named buffer objects @@ -11422,24 +7598,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffers(Int32 n, ref Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - { - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffers(Int32 n, ref Int32 buffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named buffer objects @@ -11456,18 +7615,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")] - public static - unsafe void DeleteBuffers(Int32 n, Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteBuffers(Int32 n, Int32* buffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named buffer objects @@ -11484,24 +7632,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffers(Int32 n, UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffers(Int32 n, UInt32[] buffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named buffer objects @@ -11518,24 +7649,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffers(Int32 n, ref UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - { - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffers(Int32 n, ref UInt32 buffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named buffer objects @@ -11552,18 +7666,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteBuffers")] - public static - unsafe void DeleteBuffers(Int32 n, UInt32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteBuffers(Int32 n, UInt32* buffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete framebuffer objects @@ -11579,23 +7682,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] - public static - void DeleteFramebuffer(Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* framebuffers_ptr = (UInt32*)&framebuffers; - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffer(Int32 framebuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete framebuffer objects @@ -11612,23 +7699,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] - public static - void DeleteFramebuffer(UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* framebuffers_ptr = (UInt32*)&framebuffers; - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffer(UInt32 framebuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete framebuffer objects @@ -11644,24 +7715,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] - public static - void DeleteFramebuffers(Int32 n, Int32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffers(Int32 n, Int32[] framebuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete framebuffer objects @@ -11677,24 +7731,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] - public static - void DeleteFramebuffers(Int32 n, ref Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - { - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffers(Int32 n, ref Int32 framebuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete framebuffer objects @@ -11711,18 +7748,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] - public static - unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete framebuffer objects @@ -11739,24 +7765,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] - public static - void DeleteFramebuffers(Int32 n, UInt32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = framebuffers) - { - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffers(Int32 n, UInt32[] framebuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete framebuffer objects @@ -11773,24 +7782,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] - public static - void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = &framebuffers) - { - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete framebuffer objects @@ -11807,18 +7799,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")] - public static - unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Deletes a program object @@ -11829,18 +7810,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteProgram")] - public static - void DeleteProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void DeleteProgram(Int32 program); /// [requires: v2.0 and ES_VERSION_2_0] /// Deletes a program object @@ -11852,18 +7822,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteProgram")] - public static - void DeleteProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void DeleteProgram(UInt32 program); /// [requires: v3.0 and ES_VERSION_3_0] /// Delete named query objects @@ -11879,23 +7838,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteQueries")] - public static - void DeleteQuery(Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteQuery(Int32 ids); /// [requires: v3.0 and ES_VERSION_3_0] /// Delete named query objects @@ -11912,23 +7855,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteQueries")] - public static - void DeleteQuery(UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteQuery(UInt32 ids); /// [requires: v3.0 and ES_VERSION_3_0] /// Delete named query objects @@ -11944,24 +7871,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteQueries")] - public static - void DeleteQueries(Int32 n, Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteQueries(Int32 n, Int32[] ids); /// [requires: v3.0 and ES_VERSION_3_0] /// Delete named query objects @@ -11977,24 +7887,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteQueries")] - public static - void DeleteQueries(Int32 n, ref Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteQueries(Int32 n, ref Int32 ids); /// [requires: v3.0 and ES_VERSION_3_0] /// Delete named query objects @@ -12011,18 +7904,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteQueries")] - public static - unsafe void DeleteQueries(Int32 n, Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteQueries(Int32 n, Int32* ids); /// [requires: v3.0 and ES_VERSION_3_0] /// Delete named query objects @@ -12039,24 +7921,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteQueries")] - public static - void DeleteQueries(Int32 n, UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteQueries(Int32 n, UInt32[] ids); /// [requires: v3.0 and ES_VERSION_3_0] /// Delete named query objects @@ -12073,24 +7938,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteQueries")] - public static - void DeleteQueries(Int32 n, ref UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteQueries(Int32 n, ref UInt32 ids); /// [requires: v3.0 and ES_VERSION_3_0] /// Delete named query objects @@ -12107,18 +7955,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteQueries")] - public static - unsafe void DeleteQueries(Int32 n, UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteQueries(Int32 n, UInt32* ids); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete renderbuffer objects @@ -12134,23 +7971,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] - public static - void DeleteRenderbuffer(Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* renderbuffers_ptr = (UInt32*)&renderbuffers; - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffer(Int32 renderbuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete renderbuffer objects @@ -12167,23 +7988,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] - public static - void DeleteRenderbuffer(UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* renderbuffers_ptr = (UInt32*)&renderbuffers; - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffer(UInt32 renderbuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete renderbuffer objects @@ -12199,24 +8004,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] - public static - void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = renderbuffers) - { - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete renderbuffer objects @@ -12232,24 +8020,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] - public static - void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete renderbuffer objects @@ -12266,18 +8037,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] - public static - unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete renderbuffer objects @@ -12294,24 +8054,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] - public static - void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = renderbuffers) - { - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete renderbuffer objects @@ -12328,24 +8071,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] - public static - void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete renderbuffer objects @@ -12362,18 +8088,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")] - public static - unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers); /// [requires: v3.0 and ES_VERSION_3_0] /// Delete named sampler objects @@ -12389,23 +8104,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteSamplers")] - public static - void DeleteSampler(Int32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 count = 1; - UInt32* samplers_ptr = (UInt32*)&samplers; - Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteSampler(Int32 samplers); /// [requires: v3.0 and ES_VERSION_3_0] /// Delete named sampler objects @@ -12422,23 +8121,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteSamplers")] - public static - void DeleteSampler(UInt32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 count = 1; - UInt32* samplers_ptr = (UInt32*)&samplers; - Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteSampler(UInt32 samplers); /// [requires: v3.0 and ES_VERSION_3_0] /// Delete named sampler objects @@ -12454,24 +8137,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteSamplers")] - public static - void DeleteSamplers(Int32 count, Int32[] samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* samplers_ptr = samplers) - { - Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteSamplers(Int32 count, Int32[] samplers); /// [requires: v3.0 and ES_VERSION_3_0] /// Delete named sampler objects @@ -12487,24 +8153,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteSamplers")] - public static - void DeleteSamplers(Int32 count, ref Int32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* samplers_ptr = &samplers) - { - Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteSamplers(Int32 count, ref Int32 samplers); /// [requires: v3.0 and ES_VERSION_3_0] /// Delete named sampler objects @@ -12521,18 +8170,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteSamplers")] - public static - unsafe void DeleteSamplers(Int32 count, Int32* samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteSamplers(Int32 count, Int32* samplers); /// [requires: v3.0 and ES_VERSION_3_0] /// Delete named sampler objects @@ -12549,24 +8187,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteSamplers")] - public static - void DeleteSamplers(Int32 count, UInt32[] samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* samplers_ptr = samplers) - { - Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteSamplers(Int32 count, UInt32[] samplers); /// [requires: v3.0 and ES_VERSION_3_0] /// Delete named sampler objects @@ -12583,24 +8204,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteSamplers")] - public static - void DeleteSamplers(Int32 count, ref UInt32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* samplers_ptr = &samplers) - { - Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteSamplers(Int32 count, ref UInt32 samplers); /// [requires: v3.0 and ES_VERSION_3_0] /// Delete named sampler objects @@ -12617,18 +8221,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteSamplers")] - public static - unsafe void DeleteSamplers(Int32 count, UInt32* samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteSamplers(Int32 count, UInt32* samplers); /// [requires: v2.0 and ES_VERSION_2_0] /// Deletes a shader object @@ -12639,18 +8232,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteShader")] - public static - void DeleteShader(Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteShader((UInt32)shader); - #if DEBUG - } - #endif - } + public static extern void DeleteShader(Int32 shader); /// [requires: v2.0 and ES_VERSION_2_0] /// Deletes a shader object @@ -12662,18 +8244,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteShader")] - public static - void DeleteShader(UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteShader((UInt32)shader); - #if DEBUG - } - #endif - } + public static extern void DeleteShader(UInt32 shader); /// [requires: v3.0 and ES_VERSION_3_0] /// Delete a sync object @@ -12684,18 +8255,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteSync")] - public static - void DeleteSync(IntPtr sync) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteSync((IntPtr)sync); - #if DEBUG - } - #endif - } + public static extern void DeleteSync(IntPtr sync); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named textures @@ -12711,23 +8271,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")] - public static - void DeleteTexture(Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* textures_ptr = (UInt32*)&textures; - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteTexture(Int32 textures); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named textures @@ -12744,23 +8288,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")] - public static - void DeleteTexture(UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* textures_ptr = (UInt32*)&textures; - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteTexture(UInt32 textures); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named textures @@ -12776,24 +8304,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")] - public static - void DeleteTextures(Int32 n, Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTextures(Int32 n, Int32[] textures); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named textures @@ -12809,24 +8320,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")] - public static - void DeleteTextures(Int32 n, ref Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTextures(Int32 n, ref Int32 textures); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named textures @@ -12843,18 +8337,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")] - public static - unsafe void DeleteTextures(Int32 n, Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteTextures(Int32 n, Int32* textures); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named textures @@ -12871,24 +8354,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")] - public static - void DeleteTextures(Int32 n, UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTextures(Int32 n, UInt32[] textures); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named textures @@ -12905,24 +8371,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")] - public static - void DeleteTextures(Int32 n, ref UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTextures(Int32 n, ref UInt32 textures); /// [requires: v2.0 and ES_VERSION_2_0] /// Delete named textures @@ -12939,18 +8388,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteTextures")] - public static - unsafe void DeleteTextures(Int32 n, UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteTextures(Int32 n, UInt32* textures); /// [requires: v3.0 and ES_VERSION_3_0] /// Delete transform feedback objects @@ -12966,23 +8404,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static - void DeleteTransformFeedback(Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteTransformFeedback(Int32 ids); /// [requires: v3.0 and ES_VERSION_3_0] /// Delete transform feedback objects @@ -12999,23 +8421,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static - void DeleteTransformFeedback(UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteTransformFeedback(UInt32 ids); /// [requires: v3.0 and ES_VERSION_3_0] /// Delete transform feedback objects @@ -13031,24 +8437,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static - void DeleteTransformFeedbacks(Int32 n, Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTransformFeedbacks(Int32 n, Int32[] ids); /// [requires: v3.0 and ES_VERSION_3_0] /// Delete transform feedback objects @@ -13064,24 +8453,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static - void DeleteTransformFeedbacks(Int32 n, ref Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTransformFeedbacks(Int32 n, ref Int32 ids); /// [requires: v3.0 and ES_VERSION_3_0] /// Delete transform feedback objects @@ -13098,18 +8470,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static - unsafe void DeleteTransformFeedbacks(Int32 n, Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteTransformFeedbacks(Int32 n, Int32* ids); /// [requires: v3.0 and ES_VERSION_3_0] /// Delete transform feedback objects @@ -13126,24 +8487,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static - void DeleteTransformFeedbacks(Int32 n, UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTransformFeedbacks(Int32 n, UInt32[] ids); /// [requires: v3.0 and ES_VERSION_3_0] /// Delete transform feedback objects @@ -13160,24 +8504,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static - void DeleteTransformFeedbacks(Int32 n, ref UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTransformFeedbacks(Int32 n, ref UInt32 ids); /// [requires: v3.0 and ES_VERSION_3_0] /// Delete transform feedback objects @@ -13194,18 +8521,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static - unsafe void DeleteTransformFeedbacks(Int32 n, UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteTransformFeedbacks(Int32 n, UInt32* ids); /// [requires: v3.0 and ES_VERSION_3_0] /// Delete vertex array objects @@ -13221,23 +8537,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static - void DeleteVertexArray(Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* arrays_ptr = (UInt32*)&arrays; - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArray(Int32 arrays); /// [requires: v3.0 and ES_VERSION_3_0] /// Delete vertex array objects @@ -13254,23 +8554,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static - void DeleteVertexArray(UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* arrays_ptr = (UInt32*)&arrays; - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArray(UInt32 arrays); /// [requires: v3.0 and ES_VERSION_3_0] /// Delete vertex array objects @@ -13286,24 +8570,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static - void DeleteVertexArrays(Int32 n, Int32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArrays(Int32 n, Int32[] arrays); /// [requires: v3.0 and ES_VERSION_3_0] /// Delete vertex array objects @@ -13319,24 +8586,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static - void DeleteVertexArrays(Int32 n, ref Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = &arrays) - { - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArrays(Int32 n, ref Int32 arrays); /// [requires: v3.0 and ES_VERSION_3_0] /// Delete vertex array objects @@ -13353,18 +8603,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static - unsafe void DeleteVertexArrays(Int32 n, Int32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteVertexArrays(Int32 n, Int32* arrays); /// [requires: v3.0 and ES_VERSION_3_0] /// Delete vertex array objects @@ -13381,24 +8620,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static - void DeleteVertexArrays(Int32 n, UInt32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = arrays) - { - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArrays(Int32 n, UInt32[] arrays); /// [requires: v3.0 and ES_VERSION_3_0] /// Delete vertex array objects @@ -13415,24 +8637,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static - void DeleteVertexArrays(Int32 n, ref UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = &arrays) - { - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArrays(Int32 n, ref UInt32 arrays); /// [requires: v3.0 and ES_VERSION_3_0] /// Delete vertex array objects @@ -13449,18 +8654,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static - unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value used for depth buffer comparisons @@ -13472,18 +8666,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDepthFunc")] - public static - void DepthFunc(OpenTK.Graphics.ES30.All func) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthFunc((OpenTK.Graphics.ES30.DepthFunction)func); - #if DEBUG - } - #endif - } + public static extern void DepthFunc(OpenTK.Graphics.ES30.All func); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value used for depth buffer comparisons @@ -13494,18 +8677,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDepthFunc")] - public static - void DepthFunc(OpenTK.Graphics.ES30.DepthFunction func) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthFunc((OpenTK.Graphics.ES30.DepthFunction)func); - #if DEBUG - } - #endif - } + public static extern void DepthFunc(OpenTK.Graphics.ES30.DepthFunction func); /// [requires: v2.0 and ES_VERSION_2_0] /// Enable or disable writing into the depth buffer @@ -13516,18 +8688,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDepthMask")] - public static - void DepthMask(bool flag) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthMask((bool)flag); - #if DEBUG - } - #endif - } + public static extern void DepthMask(bool flag); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify mapping of depth values from normalized device coordinates to window coordinates @@ -13543,18 +8704,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDepthRangef")] - public static - void DepthRange(Single n, Single f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthRangef((Single)n, (Single)f); - #if DEBUG - } - #endif - } + public static extern void DepthRange(Single n, Single f); /// [requires: v2.0 and ES_VERSION_2_0] /// Detaches a shader object from a program object to which it is attached @@ -13570,18 +8720,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDetachShader")] - public static - void DetachShader(Int32 program, Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDetachShader((UInt32)program, (UInt32)shader); - #if DEBUG - } - #endif - } + public static extern void DetachShader(Int32 program, Int32 shader); /// [requires: v2.0 and ES_VERSION_2_0] /// Detaches a shader object from a program object to which it is attached @@ -13598,80 +8737,25 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDetachShader")] - public static - void DetachShader(UInt32 program, UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDetachShader((UInt32)program, (UInt32)shader); - #if DEBUG - } - #endif - } + public static extern void DetachShader(UInt32 program, UInt32 shader); /// [requires: v2.0 and ES_VERSION_2_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDisable")] - public static - void Disable(OpenTK.Graphics.ES30.All cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisable((OpenTK.Graphics.ES30.EnableCap)cap); - #if DEBUG - } - #endif - } + public static extern void Disable(OpenTK.Graphics.ES30.All cap); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDisable")] - public static - void Disable(OpenTK.Graphics.ES30.EnableCap cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisable((OpenTK.Graphics.ES30.EnableCap)cap); - #if DEBUG - } - #endif - } + public static extern void Disable(OpenTK.Graphics.ES30.EnableCap cap); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")] - public static - void DisableVertexAttribArray(Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableVertexAttribArray((UInt32)index); - #if DEBUG - } - #endif - } + public static extern void DisableVertexAttribArray(Int32 index); /// [requires: v2.0 and ES_VERSION_2_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")] - public static - void DisableVertexAttribArray(UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableVertexAttribArray((UInt32)index); - #if DEBUG - } - #endif - } + public static extern void DisableVertexAttribArray(UInt32 index); /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -13693,18 +8777,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawArrays")] - public static - void DrawArrays(OpenTK.Graphics.ES30.All mode, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArrays((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)first, (Int32)count); - #if DEBUG - } - #endif - } + public static extern void DrawArrays(OpenTK.Graphics.ES30.All mode, Int32 first, Int32 count); /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -13725,18 +8798,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawArrays")] - public static - void DrawArrays(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArrays((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)first, (Int32)count); - #if DEBUG - } - #endif - } + public static extern void DrawArrays(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 first, Int32 count); /// [requires: v3.0 and ES_VERSION_3_0] /// Draw multiple instances of a range of elements @@ -13763,18 +8825,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawArraysInstanced")] - public static - void DrawArraysInstanced(OpenTK.Graphics.ES30.All mode, Int32 first, Int32 count, Int32 instancecount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArraysInstanced((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)instancecount); - #if DEBUG - } - #endif - } + public static extern void DrawArraysInstanced(OpenTK.Graphics.ES30.All mode, Int32 first, Int32 count, Int32 instancecount); /// [requires: v3.0 and ES_VERSION_3_0] /// Draw multiple instances of a range of elements @@ -13800,18 +8851,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawArraysInstanced")] - public static - void DrawArraysInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArraysInstanced((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)instancecount); - #if DEBUG - } - #endif - } + public static extern void DrawArraysInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount); /// [requires: v3.0 and ES_VERSION_3_0] /// Specifies a list of color buffers to be drawn into @@ -13828,24 +8868,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawBuffers")] - public static - void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.All[] bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.All* bufs_ptr = bufs) - { - Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.ES30.DrawBufferMode*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.All[] bufs); /// [requires: v3.0 and ES_VERSION_3_0] /// Specifies a list of color buffers to be drawn into @@ -13862,24 +8885,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawBuffers")] - public static - void DrawBuffers(Int32 n, ref OpenTK.Graphics.ES30.All bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.All* bufs_ptr = &bufs) - { - Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.ES30.DrawBufferMode*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawBuffers(Int32 n, ref OpenTK.Graphics.ES30.All bufs); /// [requires: v3.0 and ES_VERSION_3_0] /// Specifies a list of color buffers to be drawn into @@ -13897,18 +8903,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawBuffers")] - public static - unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.All* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.ES30.DrawBufferMode*)bufs); - #if DEBUG - } - #endif - } + public static extern unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.All* bufs); /// [requires: v3.0 and ES_VERSION_3_0] /// Specifies a list of color buffers to be drawn into @@ -13924,24 +8919,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawBuffers")] - public static - void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.DrawBufferMode[] bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.DrawBufferMode* bufs_ptr = bufs) - { - Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.ES30.DrawBufferMode*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.DrawBufferMode[] bufs); /// [requires: v3.0 and ES_VERSION_3_0] /// Specifies a list of color buffers to be drawn into @@ -13957,24 +8935,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawBuffers")] - public static - void DrawBuffers(Int32 n, ref OpenTK.Graphics.ES30.DrawBufferMode bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.DrawBufferMode* bufs_ptr = &bufs) - { - Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.ES30.DrawBufferMode*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawBuffers(Int32 n, ref OpenTK.Graphics.ES30.DrawBufferMode bufs); /// [requires: v3.0 and ES_VERSION_3_0] /// Specifies a list of color buffers to be drawn into @@ -13991,18 +8952,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawBuffers")] - public static - unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.DrawBufferMode* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.ES30.DrawBufferMode*)bufs); - #if DEBUG - } - #endif - } + public static extern unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.DrawBufferMode* bufs); /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -14029,18 +8979,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices); - #if DEBUG - } - #endif - } + public static extern void DrawElements(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, IntPtr indices); /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -14067,27 +9006,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[] indices) + public static extern void DrawElements(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[] indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -14114,27 +9035,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,] indices) + public static extern void DrawElements(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,] indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -14161,27 +9064,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,,] indices) + public static extern void DrawElements(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,,] indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -14208,28 +9093,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T3 indices) + public static extern void DrawElements(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T3 indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -14255,18 +9121,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices); - #if DEBUG - } - #endif - } + public static extern void DrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices); /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -14292,27 +9147,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices) + public static extern void DrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -14338,27 +9175,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices) + public static extern void DrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -14384,27 +9203,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices) + public static extern void DrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Render primitives from array data @@ -14430,28 +9231,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices) + public static extern void DrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Draw multiple instances of a set of elements @@ -14483,18 +9265,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawElementsInstanced")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, IntPtr indices, Int32 instancecount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstanced((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount); - #if DEBUG - } - #endif - } + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, IntPtr indices, Int32 instancecount); /// [requires: v3.0 and ES_VERSION_3_0] /// Draw multiple instances of a set of elements @@ -14526,27 +9297,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawElementsInstanced")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstanced((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Draw multiple instances of a set of elements @@ -14578,27 +9331,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawElementsInstanced")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstanced((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Draw multiple instances of a set of elements @@ -14630,27 +9365,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawElementsInstanced")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstanced((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Draw multiple instances of a set of elements @@ -14682,28 +9399,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawElementsInstanced")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstanced((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Draw multiple instances of a set of elements @@ -14734,18 +9432,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawElementsInstanced")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 instancecount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstanced((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount); - #if DEBUG - } - #endif - } + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 instancecount); /// [requires: v3.0 and ES_VERSION_3_0] /// Draw multiple instances of a set of elements @@ -14776,27 +9463,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawElementsInstanced")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstanced((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Draw multiple instances of a set of elements @@ -14827,27 +9496,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawElementsInstanced")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstanced((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Draw multiple instances of a set of elements @@ -14878,27 +9529,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawElementsInstanced")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstanced((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Draw multiple instances of a set of elements @@ -14929,28 +9562,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawElementsInstanced")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstanced((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -14987,18 +9601,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.ES30.All mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.All type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices); - #if DEBUG - } - #endif - } + public static extern void DrawRangeElements(OpenTK.Graphics.ES30.All mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.All type, IntPtr indices); /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -15035,27 +9638,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.ES30.All mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T5[] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.ES30.All mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T5[] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -15092,27 +9677,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.ES30.All mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T5[,] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.ES30.All mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T5[,] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -15149,27 +9716,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.ES30.All mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T5[,,] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.ES30.All mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T5[,,] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -15206,28 +9755,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.ES30.All mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T5 indices) + public static extern void DrawRangeElements(OpenTK.Graphics.ES30.All mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T5 indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - indices = (T5)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -15265,18 +9795,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.ES30.All mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES30.All type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices); - #if DEBUG - } - #endif - } + public static extern void DrawRangeElements(OpenTK.Graphics.ES30.All mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES30.All type, IntPtr indices); /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -15314,27 +9833,9 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.ES30.All mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T5[] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.ES30.All mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T5[] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -15372,27 +9873,9 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.ES30.All mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T5[,] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.ES30.All mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T5[,] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -15430,27 +9913,9 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.ES30.All mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T5[,,] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.ES30.All mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T5[,,] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -15488,28 +9953,9 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.ES30.All mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T5 indices) + public static extern void DrawRangeElements(OpenTK.Graphics.ES30.All mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T5 indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - indices = (T5)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -15545,18 +9991,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices); - #if DEBUG - } - #endif - } + public static extern void DrawRangeElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices); /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -15592,27 +10027,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -15648,27 +10065,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -15704,27 +10103,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -15760,28 +10141,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices) + public static extern void DrawRangeElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - indices = (T5)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -15818,18 +10180,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.ES30.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices); - #if DEBUG - } - #endif - } + public static extern void DrawRangeElements(OpenTK.Graphics.ES30.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices); /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -15866,27 +10217,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.ES30.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.ES30.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -15923,27 +10256,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.ES30.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.ES30.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -15980,27 +10295,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.ES30.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.ES30.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Render primitives from array data @@ -16037,28 +10334,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.ES30.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices) + public static extern void DrawRangeElements(OpenTK.Graphics.ES30.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - indices = (T5)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Enable or disable server-side GL capabilities @@ -16075,18 +10353,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glEnable")] - public static - void Enable(OpenTK.Graphics.ES30.All cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnable((OpenTK.Graphics.ES30.EnableCap)cap); - #if DEBUG - } - #endif - } + public static extern void Enable(OpenTK.Graphics.ES30.All cap); /// [requires: v2.0 and ES_VERSION_2_0] /// Enable or disable server-side GL capabilities @@ -16102,18 +10369,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glEnable")] - public static - void Enable(OpenTK.Graphics.ES30.EnableCap cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnable((OpenTK.Graphics.ES30.EnableCap)cap); - #if DEBUG - } - #endif - } + public static extern void Enable(OpenTK.Graphics.ES30.EnableCap cap); /// [requires: v2.0 and ES_VERSION_2_0] /// Enable or disable a generic vertex attribute array @@ -16124,18 +10380,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")] - public static - void EnableVertexAttribArray(Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableVertexAttribArray((UInt32)index); - #if DEBUG - } - #endif - } + public static extern void EnableVertexAttribArray(Int32 index); /// [requires: v2.0 and ES_VERSION_2_0] /// Enable or disable a generic vertex attribute array @@ -16147,64 +10392,20 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")] - public static - void EnableVertexAttribArray(UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableVertexAttribArray((UInt32)index); - #if DEBUG - } - #endif - } + public static extern void EnableVertexAttribArray(UInt32 index); /// [requires: v3.0 and ES_VERSION_3_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glEndQuery")] - public static - void EndQuery(OpenTK.Graphics.ES30.All target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndQuery((OpenTK.Graphics.ES30.QueryTarget)target); - #if DEBUG - } - #endif - } + public static extern void EndQuery(OpenTK.Graphics.ES30.All target); /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glEndQuery")] - public static - void EndQuery(OpenTK.Graphics.ES30.QueryTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndQuery((OpenTK.Graphics.ES30.QueryTarget)target); - #if DEBUG - } - #endif - } + public static extern void EndQuery(OpenTK.Graphics.ES30.QueryTarget target); /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glEndTransformFeedback")] - public static - void EndTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndTransformFeedback(); - #if DEBUG - } - #endif - } + public static extern void EndTransformFeedback(); /// [requires: v3.0 and ES_VERSION_3_0] /// Create a new sync object and insert it into the GL command stream @@ -16221,18 +10422,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glFenceSync")] - public static - IntPtr FenceSync(OpenTK.Graphics.ES30.All condition, OpenTK.Graphics.ES30.All flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glFenceSync((OpenTK.Graphics.ES30.SyncCondition)condition, (OpenTK.Graphics.ES30.WaitSyncFlags)flags); - #if DEBUG - } - #endif - } + public static extern IntPtr FenceSync(OpenTK.Graphics.ES30.All condition, OpenTK.Graphics.ES30.All flags); /// [requires: v3.0 and ES_VERSION_3_0] /// Create a new sync object and insert it into the GL command stream @@ -16248,52 +10438,19 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glFenceSync")] - public static - IntPtr FenceSync(OpenTK.Graphics.ES30.SyncCondition condition, OpenTK.Graphics.ES30.WaitSyncFlags flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glFenceSync((OpenTK.Graphics.ES30.SyncCondition)condition, (OpenTK.Graphics.ES30.WaitSyncFlags)flags); - #if DEBUG - } - #endif - } + public static extern IntPtr FenceSync(OpenTK.Graphics.ES30.SyncCondition condition, OpenTK.Graphics.ES30.WaitSyncFlags flags); /// [requires: v2.0 and ES_VERSION_2_0] /// Block until all GL execution is complete /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFinish")] - public static - void Finish() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFinish(); - #if DEBUG - } - #endif - } + public static extern void Finish(); /// [requires: v2.0 and ES_VERSION_2_0] /// Force execution of GL commands in finite time /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFlush")] - public static - void Flush() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFlush(); - #if DEBUG - } - #endif - } + public static extern void Flush(); /// [requires: v3.0 and ES_VERSION_3_0] /// Indicate modifications to a range of a mapped buffer @@ -16315,18 +10472,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glFlushMappedBufferRange")] - public static - void FlushMappedBufferRange(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFlushMappedBufferRange((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length); - #if DEBUG - } - #endif - } + public static extern void FlushMappedBufferRange(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr length); /// [requires: v3.0 and ES_VERSION_3_0] /// Indicate modifications to a range of a mapped buffer @@ -16347,18 +10493,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glFlushMappedBufferRange")] - public static - void FlushMappedBufferRange(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFlushMappedBufferRange((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length); - #if DEBUG - } - #endif - } + public static extern void FlushMappedBufferRange(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length); /// [requires: v2.0 and ES_VERSION_2_0] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -16385,18 +10520,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")] - public static - void FramebufferRenderbuffer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All renderbuffertarget, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void FramebufferRenderbuffer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All renderbuffertarget, Int32 renderbuffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -16424,18 +10548,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")] - public static - void FramebufferRenderbuffer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All renderbuffertarget, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void FramebufferRenderbuffer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All renderbuffertarget, UInt32 renderbuffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -16461,18 +10574,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")] - public static - void FramebufferRenderbuffer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.RenderbufferTarget renderbuffertarget, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void FramebufferRenderbuffer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.RenderbufferTarget renderbuffertarget, Int32 renderbuffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -16499,82 +10601,27 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")] - public static - void FramebufferRenderbuffer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void FramebufferRenderbuffer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); /// [requires: v2.0 and ES_VERSION_2_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")] - public static - void FramebufferTexture2D(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.TextureTarget2d)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture2D(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, Int32 texture, Int32 level); /// [requires: v2.0 and ES_VERSION_2_0] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")] - public static - void FramebufferTexture2D(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.TextureTarget2d)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture2D(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, UInt32 texture, Int32 level); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")] - public static - void FramebufferTexture2D(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.TextureTarget2d textarget, Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.TextureTarget2d)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture2D(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.TextureTarget2d textarget, Int32 texture, Int32 level); /// [requires: v2.0 and ES_VERSION_2_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")] - public static - void FramebufferTexture2D(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.TextureTarget2d textarget, UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.TextureTarget2d)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture2D(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.TextureTarget2d textarget, UInt32 texture, Int32 level); /// [requires: v3.0 and ES_VERSION_3_0] /// Attach a single layer of a texture to a framebuffer @@ -16606,18 +10653,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTextureLayer")] - public static - void FramebufferTextureLayer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, Int32 texture, Int32 level, Int32 layer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTextureLayer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); - #if DEBUG - } - #endif - } + public static extern void FramebufferTextureLayer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, Int32 texture, Int32 level, Int32 layer); /// [requires: v3.0 and ES_VERSION_3_0] /// Attach a single layer of a texture to a framebuffer @@ -16650,18 +10686,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTextureLayer")] - public static - void FramebufferTextureLayer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, UInt32 texture, Int32 level, Int32 layer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTextureLayer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); - #if DEBUG - } - #endif - } + public static extern void FramebufferTextureLayer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, UInt32 texture, Int32 level, Int32 layer); /// [requires: v3.0 and ES_VERSION_3_0] /// Attach a single layer of a texture to a framebuffer @@ -16692,18 +10717,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTextureLayer")] - public static - void FramebufferTextureLayer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTextureLayer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); - #if DEBUG - } - #endif - } + public static extern void FramebufferTextureLayer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer); /// [requires: v3.0 and ES_VERSION_3_0] /// Attach a single layer of a texture to a framebuffer @@ -16735,18 +10749,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTextureLayer")] - public static - void FramebufferTextureLayer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTextureLayer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); - #if DEBUG - } - #endif - } + public static extern void FramebufferTextureLayer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); /// [requires: v2.0 and ES_VERSION_2_0] /// Define front- and back-facing polygons @@ -16758,18 +10761,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFrontFace")] - public static - void FrontFace(OpenTK.Graphics.ES30.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFrontFace((OpenTK.Graphics.ES30.FrontFaceDirection)mode); - #if DEBUG - } - #endif - } + public static extern void FrontFace(OpenTK.Graphics.ES30.All mode); /// [requires: v2.0 and ES_VERSION_2_0] /// Define front- and back-facing polygons @@ -16780,18 +10772,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFrontFace")] - public static - void FrontFace(OpenTK.Graphics.ES30.FrontFaceDirection mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFrontFace((OpenTK.Graphics.ES30.FrontFaceDirection)mode); - #if DEBUG - } - #endif - } + public static extern void FrontFace(OpenTK.Graphics.ES30.FrontFaceDirection mode); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate buffer object names @@ -16807,25 +10788,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")] - public static - Int32 GenBuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* buffers_ptr = &retval; - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenBuffer(); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate buffer object names @@ -16841,24 +10804,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")] - public static - void GenBuffers(Int32 n, [OutAttribute] Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenBuffers(Int32 n, [OutAttribute] Int32[] buffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate buffer object names @@ -16874,25 +10820,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")] - public static - void GenBuffers(Int32 n, [OutAttribute] out Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - { - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - buffers = *buffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenBuffers(Int32 n, [OutAttribute] out Int32 buffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate buffer object names @@ -16909,18 +10837,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")] - public static - unsafe void GenBuffers(Int32 n, [OutAttribute] Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenBuffers(Int32 n, [OutAttribute] Int32* buffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate buffer object names @@ -16937,24 +10854,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")] - public static - void GenBuffers(Int32 n, [OutAttribute] UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenBuffers(Int32 n, [OutAttribute] UInt32[] buffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate buffer object names @@ -16971,25 +10871,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")] - public static - void GenBuffers(Int32 n, [OutAttribute] out UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - { - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - buffers = *buffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenBuffers(Int32 n, [OutAttribute] out UInt32 buffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate buffer object names @@ -17006,18 +10888,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenBuffers")] - public static - unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate mipmaps for a specified texture target @@ -17029,18 +10900,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenerateMipmap")] - public static - void GenerateMipmap(OpenTK.Graphics.ES30.All target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenerateMipmap((OpenTK.Graphics.ES30.TextureTarget)target); - #if DEBUG - } - #endif - } + public static extern void GenerateMipmap(OpenTK.Graphics.ES30.All target); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate mipmaps for a specified texture target @@ -17051,18 +10911,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenerateMipmap")] - public static - void GenerateMipmap(OpenTK.Graphics.ES30.TextureTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenerateMipmap((OpenTK.Graphics.ES30.TextureTarget)target); - #if DEBUG - } - #endif - } + public static extern void GenerateMipmap(OpenTK.Graphics.ES30.TextureTarget target); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate framebuffer object names @@ -17078,25 +10927,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")] - public static - Int32 GenFramebuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* framebuffers_ptr = &retval; - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenFramebuffer(); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate framebuffer object names @@ -17112,24 +10943,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")] - public static - void GenFramebuffers(Int32 n, [OutAttribute] Int32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenFramebuffers(Int32 n, [OutAttribute] Int32[] framebuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate framebuffer object names @@ -17145,25 +10959,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")] - public static - void GenFramebuffers(Int32 n, [OutAttribute] out Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - { - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - framebuffers = *framebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenFramebuffers(Int32 n, [OutAttribute] out Int32 framebuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate framebuffer object names @@ -17180,18 +10976,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")] - public static - unsafe void GenFramebuffers(Int32 n, [OutAttribute] Int32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenFramebuffers(Int32 n, [OutAttribute] Int32* framebuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate framebuffer object names @@ -17208,24 +10993,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")] - public static - void GenFramebuffers(Int32 n, [OutAttribute] UInt32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = framebuffers) - { - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenFramebuffers(Int32 n, [OutAttribute] UInt32[] framebuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate framebuffer object names @@ -17242,25 +11010,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")] - public static - void GenFramebuffers(Int32 n, [OutAttribute] out UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = &framebuffers) - { - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - framebuffers = *framebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenFramebuffers(Int32 n, [OutAttribute] out UInt32 framebuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate framebuffer object names @@ -17277,18 +11027,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenFramebuffers")] - public static - unsafe void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers); /// [requires: v3.0 and ES_VERSION_3_0] /// Generate query object names @@ -17304,25 +11043,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenQueries")] - public static - Int32 GenQuery() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* ids_ptr = &retval; - Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenQuery(); /// [requires: v3.0 and ES_VERSION_3_0] /// Generate query object names @@ -17338,24 +11059,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenQueries")] - public static - void GenQueries(Int32 n, [OutAttribute] Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenQueries(Int32 n, [OutAttribute] Int32[] ids); /// [requires: v3.0 and ES_VERSION_3_0] /// Generate query object names @@ -17371,25 +11075,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenQueries")] - public static - void GenQueries(Int32 n, [OutAttribute] out Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenQueries(Int32 n, [OutAttribute] out Int32 ids); /// [requires: v3.0 and ES_VERSION_3_0] /// Generate query object names @@ -17406,18 +11092,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenQueries")] - public static - unsafe void GenQueries(Int32 n, [OutAttribute] Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenQueries((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void GenQueries(Int32 n, [OutAttribute] Int32* ids); /// [requires: v3.0 and ES_VERSION_3_0] /// Generate query object names @@ -17434,24 +11109,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenQueries")] - public static - void GenQueries(Int32 n, [OutAttribute] UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenQueries(Int32 n, [OutAttribute] UInt32[] ids); /// [requires: v3.0 and ES_VERSION_3_0] /// Generate query object names @@ -17468,25 +11126,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenQueries")] - public static - void GenQueries(Int32 n, [OutAttribute] out UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenQueries(Int32 n, [OutAttribute] out UInt32 ids); /// [requires: v3.0 and ES_VERSION_3_0] /// Generate query object names @@ -17503,18 +11143,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenQueries")] - public static - unsafe void GenQueries(Int32 n, [OutAttribute] UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenQueries((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void GenQueries(Int32 n, [OutAttribute] UInt32* ids); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate renderbuffer object names @@ -17530,25 +11159,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")] - public static - Int32 GenRenderbuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* renderbuffers_ptr = &retval; - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenRenderbuffer(); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate renderbuffer object names @@ -17564,24 +11175,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")] - public static - void GenRenderbuffers(Int32 n, [OutAttribute] Int32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = renderbuffers) - { - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] Int32[] renderbuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate renderbuffer object names @@ -17597,25 +11191,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")] - public static - void GenRenderbuffers(Int32 n, [OutAttribute] out Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - renderbuffers = *renderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] out Int32 renderbuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate renderbuffer object names @@ -17632,18 +11208,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")] - public static - unsafe void GenRenderbuffers(Int32 n, [OutAttribute] Int32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenRenderbuffers(Int32 n, [OutAttribute] Int32* renderbuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate renderbuffer object names @@ -17660,24 +11225,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")] - public static - void GenRenderbuffers(Int32 n, [OutAttribute] UInt32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = renderbuffers) - { - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] UInt32[] renderbuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate renderbuffer object names @@ -17694,25 +11242,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")] - public static - void GenRenderbuffers(Int32 n, [OutAttribute] out UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - renderbuffers = *renderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] out UInt32 renderbuffers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate renderbuffer object names @@ -17729,18 +11259,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenRenderbuffers")] - public static - unsafe void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers); /// [requires: v3.0 and ES_VERSION_3_0] /// Generate sampler object names @@ -17756,25 +11275,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenSamplers")] - public static - Int32 GenSampler() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 count = 1; - Int32 retval; - Int32* samplers_ptr = &retval; - Delegates.glGenSamplers((Int32)count, (UInt32*)samplers_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenSampler(); /// [requires: v3.0 and ES_VERSION_3_0] /// Generate sampler object names @@ -17790,24 +11291,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenSamplers")] - public static - void GenSamplers(Int32 count, [OutAttribute] Int32[] samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* samplers_ptr = samplers) - { - Delegates.glGenSamplers((Int32)count, (UInt32*)samplers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenSamplers(Int32 count, [OutAttribute] Int32[] samplers); /// [requires: v3.0 and ES_VERSION_3_0] /// Generate sampler object names @@ -17823,25 +11307,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenSamplers")] - public static - void GenSamplers(Int32 count, [OutAttribute] out Int32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* samplers_ptr = &samplers) - { - Delegates.glGenSamplers((Int32)count, (UInt32*)samplers_ptr); - samplers = *samplers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenSamplers(Int32 count, [OutAttribute] out Int32 samplers); /// [requires: v3.0 and ES_VERSION_3_0] /// Generate sampler object names @@ -17858,18 +11324,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenSamplers")] - public static - unsafe void GenSamplers(Int32 count, [OutAttribute] Int32* samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenSamplers((Int32)count, (UInt32*)samplers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenSamplers(Int32 count, [OutAttribute] Int32* samplers); /// [requires: v3.0 and ES_VERSION_3_0] /// Generate sampler object names @@ -17886,24 +11341,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenSamplers")] - public static - void GenSamplers(Int32 count, [OutAttribute] UInt32[] samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* samplers_ptr = samplers) - { - Delegates.glGenSamplers((Int32)count, (UInt32*)samplers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenSamplers(Int32 count, [OutAttribute] UInt32[] samplers); /// [requires: v3.0 and ES_VERSION_3_0] /// Generate sampler object names @@ -17920,25 +11358,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenSamplers")] - public static - void GenSamplers(Int32 count, [OutAttribute] out UInt32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* samplers_ptr = &samplers) - { - Delegates.glGenSamplers((Int32)count, (UInt32*)samplers_ptr); - samplers = *samplers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenSamplers(Int32 count, [OutAttribute] out UInt32 samplers); /// [requires: v3.0 and ES_VERSION_3_0] /// Generate sampler object names @@ -17955,18 +11375,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenSamplers")] - public static - unsafe void GenSamplers(Int32 count, [OutAttribute] UInt32* samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenSamplers((Int32)count, (UInt32*)samplers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenSamplers(Int32 count, [OutAttribute] UInt32* samplers); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate texture names @@ -17982,25 +11391,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")] - public static - Int32 GenTexture() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* textures_ptr = &retval; - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenTexture(); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate texture names @@ -18016,24 +11407,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")] - public static - void GenTextures(Int32 n, [OutAttribute] Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenTextures(Int32 n, [OutAttribute] Int32[] textures); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate texture names @@ -18049,25 +11423,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")] - public static - void GenTextures(Int32 n, [OutAttribute] out Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - textures = *textures_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenTextures(Int32 n, [OutAttribute] out Int32 textures); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate texture names @@ -18084,18 +11440,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")] - public static - unsafe void GenTextures(Int32 n, [OutAttribute] Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenTextures((Int32)n, (UInt32*)textures); - #if DEBUG - } - #endif - } + public static extern unsafe void GenTextures(Int32 n, [OutAttribute] Int32* textures); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate texture names @@ -18112,24 +11457,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")] - public static - void GenTextures(Int32 n, [OutAttribute] UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenTextures(Int32 n, [OutAttribute] UInt32[] textures); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate texture names @@ -18146,25 +11474,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")] - public static - void GenTextures(Int32 n, [OutAttribute] out UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - textures = *textures_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenTextures(Int32 n, [OutAttribute] out UInt32 textures); /// [requires: v2.0 and ES_VERSION_2_0] /// Generate texture names @@ -18181,18 +11491,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGenTextures")] - public static - unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenTextures((Int32)n, (UInt32*)textures); - #if DEBUG - } - #endif - } + public static extern unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures); /// [requires: v3.0 and ES_VERSION_3_0] /// Reserve transform feedback object names @@ -18208,25 +11507,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenTransformFeedbacks")] - public static - Int32 GenTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* ids_ptr = &retval; - Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenTransformFeedback(); /// [requires: v3.0 and ES_VERSION_3_0] /// Reserve transform feedback object names @@ -18242,24 +11523,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenTransformFeedbacks")] - public static - void GenTransformFeedbacks(Int32 n, [OutAttribute] Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenTransformFeedbacks(Int32 n, [OutAttribute] Int32[] ids); /// [requires: v3.0 and ES_VERSION_3_0] /// Reserve transform feedback object names @@ -18275,25 +11539,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenTransformFeedbacks")] - public static - void GenTransformFeedbacks(Int32 n, [OutAttribute] out Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenTransformFeedbacks(Int32 n, [OutAttribute] out Int32 ids); /// [requires: v3.0 and ES_VERSION_3_0] /// Reserve transform feedback object names @@ -18310,18 +11556,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenTransformFeedbacks")] - public static - unsafe void GenTransformFeedbacks(Int32 n, [OutAttribute] Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void GenTransformFeedbacks(Int32 n, [OutAttribute] Int32* ids); /// [requires: v3.0 and ES_VERSION_3_0] /// Reserve transform feedback object names @@ -18338,24 +11573,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenTransformFeedbacks")] - public static - void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32[] ids); /// [requires: v3.0 and ES_VERSION_3_0] /// Reserve transform feedback object names @@ -18372,25 +11590,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenTransformFeedbacks")] - public static - void GenTransformFeedbacks(Int32 n, [OutAttribute] out UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenTransformFeedbacks(Int32 n, [OutAttribute] out UInt32 ids); /// [requires: v3.0 and ES_VERSION_3_0] /// Reserve transform feedback object names @@ -18407,18 +11607,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenTransformFeedbacks")] - public static - unsafe void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32* ids); /// [requires: v3.0 and ES_VERSION_3_0] /// Generate vertex array object names @@ -18434,25 +11623,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static - Int32 GenVertexArray() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* arrays_ptr = &retval; - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenVertexArray(); /// [requires: v3.0 and ES_VERSION_3_0] /// Generate vertex array object names @@ -18468,24 +11639,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static - void GenVertexArrays(Int32 n, [OutAttribute] Int32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenVertexArrays(Int32 n, [OutAttribute] Int32[] arrays); /// [requires: v3.0 and ES_VERSION_3_0] /// Generate vertex array object names @@ -18501,25 +11655,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static - void GenVertexArrays(Int32 n, [OutAttribute] out Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = &arrays) - { - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr); - arrays = *arrays_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenVertexArrays(Int32 n, [OutAttribute] out Int32 arrays); /// [requires: v3.0 and ES_VERSION_3_0] /// Generate vertex array object names @@ -18536,18 +11672,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static - unsafe void GenVertexArrays(Int32 n, [OutAttribute] Int32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } + public static extern unsafe void GenVertexArrays(Int32 n, [OutAttribute] Int32* arrays); /// [requires: v3.0 and ES_VERSION_3_0] /// Generate vertex array object names @@ -18564,24 +11689,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static - void GenVertexArrays(Int32 n, [OutAttribute] UInt32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = arrays) - { - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenVertexArrays(Int32 n, [OutAttribute] UInt32[] arrays); /// [requires: v3.0 and ES_VERSION_3_0] /// Generate vertex array object names @@ -18598,25 +11706,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static - void GenVertexArrays(Int32 n, [OutAttribute] out UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = &arrays) - { - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr); - arrays = *arrays_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenVertexArrays(Int32 n, [OutAttribute] out UInt32 arrays); /// [requires: v3.0 and ES_VERSION_3_0] /// Generate vertex array object names @@ -18633,18 +11723,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static - unsafe void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } + public static extern unsafe void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active attribute variable for the specified program object @@ -18685,29 +11764,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static - void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.ActiveAttribType type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ES30.ActiveAttribType* type_ptr = &type) - { - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES30.ActiveAttribType*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.ActiveAttribType type, [OutAttribute] StringBuilder name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active attribute variable for the specified program object @@ -18749,29 +11806,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static - void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.All type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ES30.All* type_ptr = &type) - { - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES30.ActiveAttribType*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.All type, [OutAttribute] StringBuilder name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active attribute variable for the specified program object @@ -18813,18 +11848,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static - unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.ActiveAttribType* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES30.ActiveAttribType*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.ActiveAttribType* type, [OutAttribute] StringBuilder name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active attribute variable for the specified program object @@ -18867,18 +11891,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static - unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.All* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES30.ActiveAttribType*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.All* type, [OutAttribute] StringBuilder name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active attribute variable for the specified program object @@ -18920,29 +11933,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static - void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.ActiveAttribType type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ES30.ActiveAttribType* type_ptr = &type) - { - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES30.ActiveAttribType*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.ActiveAttribType type, [OutAttribute] StringBuilder name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active attribute variable for the specified program object @@ -18985,29 +11976,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static - void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.All type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ES30.All* type_ptr = &type) - { - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES30.ActiveAttribType*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.All type, [OutAttribute] StringBuilder name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active attribute variable for the specified program object @@ -19049,18 +12018,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static - unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.ActiveAttribType* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES30.ActiveAttribType*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.ActiveAttribType* type, [OutAttribute] StringBuilder name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active attribute variable for the specified program object @@ -19103,18 +12061,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static - unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.All* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES30.ActiveAttribType*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.All* type, [OutAttribute] StringBuilder name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active uniform variable for the specified program object @@ -19155,29 +12102,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static - void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.ActiveUniformType type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ES30.ActiveUniformType* type_ptr = &type) - { - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES30.ActiveUniformType*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.ActiveUniformType type, [OutAttribute] StringBuilder name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active uniform variable for the specified program object @@ -19219,29 +12144,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static - void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.All type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ES30.All* type_ptr = &type) - { - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES30.ActiveUniformType*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.All type, [OutAttribute] StringBuilder name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active uniform variable for the specified program object @@ -19283,18 +12186,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static - unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.ActiveUniformType* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES30.ActiveUniformType*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.ActiveUniformType* type, [OutAttribute] StringBuilder name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active uniform variable for the specified program object @@ -19337,18 +12229,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static - unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.All* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES30.ActiveUniformType*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.All* type, [OutAttribute] StringBuilder name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active uniform variable for the specified program object @@ -19390,29 +12271,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static - void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.ActiveUniformType type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ES30.ActiveUniformType* type_ptr = &type) - { - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES30.ActiveUniformType*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.ActiveUniformType type, [OutAttribute] StringBuilder name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active uniform variable for the specified program object @@ -19455,29 +12314,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static - void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.All type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ES30.All* type_ptr = &type) - { - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES30.ActiveUniformType*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.All type, [OutAttribute] StringBuilder name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active uniform variable for the specified program object @@ -19519,18 +12356,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static - unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.ActiveUniformType* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES30.ActiveUniformType*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.ActiveUniformType* type, [OutAttribute] StringBuilder name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns information about an active uniform variable for the specified program object @@ -19573,18 +12399,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static - unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.All* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES30.ActiveUniformType*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.All* type, [OutAttribute] StringBuilder name); /// [requires: v3.0 and ES_VERSION_3_0] /// Query information about an active uniform block @@ -19610,24 +12425,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")] - public static - void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ES30.ActiveUniformBlockParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ES30.ActiveUniformBlockParameter pname, [OutAttribute] Int32[] @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Query information about an active uniform block @@ -19653,25 +12451,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")] - public static - void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ES30.ActiveUniformBlockParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ES30.ActiveUniformBlockParameter pname, [OutAttribute] out Int32 @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Query information about an active uniform block @@ -19698,18 +12478,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")] - public static - unsafe void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ES30.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ES30.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Query information about an active uniform block @@ -19736,24 +12505,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")] - public static - void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Query information about an active uniform block @@ -19780,25 +12532,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")] - public static - void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Query information about an active uniform block @@ -19826,18 +12560,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")] - public static - unsafe void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Query information about an active uniform block @@ -19864,24 +12587,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")] - public static - void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ES30.ActiveUniformBlockParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ES30.ActiveUniformBlockParameter pname, [OutAttribute] Int32[] @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Query information about an active uniform block @@ -19908,25 +12614,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")] - public static - void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ES30.ActiveUniformBlockParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ES30.ActiveUniformBlockParameter pname, [OutAttribute] out Int32 @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Query information about an active uniform block @@ -19953,18 +12641,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")] - public static - unsafe void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ES30.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ES30.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Query information about an active uniform block @@ -19992,24 +12669,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")] - public static - void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Query information about an active uniform block @@ -20037,25 +12697,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")] - public static - void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Query information about an active uniform block @@ -20083,18 +12725,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")] - public static - unsafe void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve the name of an active uniform block @@ -20125,25 +12756,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockName")] - public static - void GetActiveUniformBlockName(Int32 program, Int32 uniformBlockIndex, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)uniformBlockName); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniformBlockName(Int32 program, Int32 uniformBlockIndex, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder uniformBlockName); /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve the name of an active uniform block @@ -20175,18 +12788,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockName")] - public static - unsafe void GetActiveUniformBlockName(Int32 program, Int32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length, (StringBuilder)uniformBlockName); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniformBlockName(Int32 program, Int32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName); /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve the name of an active uniform block @@ -20218,25 +12820,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockName")] - public static - void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)uniformBlockName); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder uniformBlockName); /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve the name of an active uniform block @@ -20268,18 +12852,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockName")] - public static - unsafe void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length, (StringBuilder)uniformBlockName); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName); /// [requires: v3.0 and ES_VERSION_3_0] /// Returns information about several active uniform variables for the specified program object @@ -20310,25 +12883,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")] - public static - void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32[] uniformIndices, OpenTK.Graphics.ES30.ActiveUniformParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* uniformIndices_ptr = uniformIndices) - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32[] uniformIndices, OpenTK.Graphics.ES30.ActiveUniformParameter pname, [OutAttribute] Int32[] @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Returns information about several active uniform variables for the specified program object @@ -20360,25 +12915,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")] - public static - void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32[] uniformIndices, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* uniformIndices_ptr = uniformIndices) - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32[] uniformIndices, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Returns information about several active uniform variables for the specified program object @@ -20409,26 +12946,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")] - public static - void GetActiveUniforms(Int32 program, Int32 uniformCount, ref Int32 uniformIndices, OpenTK.Graphics.ES30.ActiveUniformParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* uniformIndices_ptr = &uniformIndices) - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniforms(Int32 program, Int32 uniformCount, ref Int32 uniformIndices, OpenTK.Graphics.ES30.ActiveUniformParameter pname, [OutAttribute] out Int32 @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Returns information about several active uniform variables for the specified program object @@ -20460,26 +12978,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")] - public static - void GetActiveUniforms(Int32 program, Int32 uniformCount, ref Int32 uniformIndices, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* uniformIndices_ptr = &uniformIndices) - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniforms(Int32 program, Int32 uniformCount, ref Int32 uniformIndices, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Returns information about several active uniform variables for the specified program object @@ -20511,18 +13010,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")] - public static - unsafe void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32* uniformIndices, OpenTK.Graphics.ES30.ActiveUniformParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32* uniformIndices, OpenTK.Graphics.ES30.ActiveUniformParameter pname, [OutAttribute] Int32* @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Returns information about several active uniform variables for the specified program object @@ -20555,18 +13043,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")] - public static - unsafe void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32* uniformIndices, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32* uniformIndices, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Returns information about several active uniform variables for the specified program object @@ -20598,25 +13075,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")] - public static - void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32[] uniformIndices, OpenTK.Graphics.ES30.ActiveUniformParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* uniformIndices_ptr = uniformIndices) - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32[] uniformIndices, OpenTK.Graphics.ES30.ActiveUniformParameter pname, [OutAttribute] Int32[] @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Returns information about several active uniform variables for the specified program object @@ -20649,25 +13108,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")] - public static - void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32[] uniformIndices, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* uniformIndices_ptr = uniformIndices) - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32[] uniformIndices, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Returns information about several active uniform variables for the specified program object @@ -20699,26 +13140,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")] - public static - void GetActiveUniforms(UInt32 program, Int32 uniformCount, ref UInt32 uniformIndices, OpenTK.Graphics.ES30.ActiveUniformParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* uniformIndices_ptr = &uniformIndices) - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniforms(UInt32 program, Int32 uniformCount, ref UInt32 uniformIndices, OpenTK.Graphics.ES30.ActiveUniformParameter pname, [OutAttribute] out Int32 @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Returns information about several active uniform variables for the specified program object @@ -20751,26 +13173,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")] - public static - void GetActiveUniforms(UInt32 program, Int32 uniformCount, ref UInt32 uniformIndices, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* uniformIndices_ptr = &uniformIndices) - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniforms(UInt32 program, Int32 uniformCount, ref UInt32 uniformIndices, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Returns information about several active uniform variables for the specified program object @@ -20802,18 +13205,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")] - public static - unsafe void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, OpenTK.Graphics.ES30.ActiveUniformParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, OpenTK.Graphics.ES30.ActiveUniformParameter pname, [OutAttribute] Int32* @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Returns information about several active uniform variables for the specified program object @@ -20846,18 +13238,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")] - public static - unsafe void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the handles of the shader objects attached to a program object @@ -20883,26 +13264,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static - void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] Int32[] shaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* shaders_ptr = shaders) - { - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)shaders_ptr); - count = *count_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] Int32[] shaders); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the handles of the shader objects attached to a program object @@ -20928,27 +13290,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static - void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] out Int32 shaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* shaders_ptr = &shaders) - { - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)shaders_ptr); - count = *count_ptr; - shaders = *shaders_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] out Int32 shaders); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the handles of the shader objects attached to a program object @@ -20975,18 +13317,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static - unsafe void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] Int32* shaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)shaders); - #if DEBUG - } - #endif - } + public static extern unsafe void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] Int32* shaders); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the handles of the shader objects attached to a program object @@ -21013,26 +13344,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static - void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] UInt32[] shaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (UInt32* shaders_ptr = shaders) - { - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)shaders_ptr); - count = *count_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] UInt32[] shaders); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the handles of the shader objects attached to a program object @@ -21059,27 +13371,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static - void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] out UInt32 shaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (UInt32* shaders_ptr = &shaders) - { - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)shaders_ptr); - count = *count_ptr; - shaders = *shaders_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] out UInt32 shaders); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the handles of the shader objects attached to a program object @@ -21106,18 +13398,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static - unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)shaders); - #if DEBUG - } - #endif - } + public static extern unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the location of an attribute variable @@ -21133,18 +13414,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttribLocation")] - public static - Int32 GetAttribLocation(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetAttribLocation((UInt32)program, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetAttribLocation(Int32 program, String name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the location of an attribute variable @@ -21161,182 +13431,45 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttribLocation")] - public static - Int32 GetAttribLocation(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetAttribLocation((UInt32)program, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetAttribLocation(UInt32 program, String name); /// [requires: v2.0 and ES_VERSION_2_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")] - public static - bool GetBoolean(OpenTK.Graphics.ES30.All pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - bool retval; - bool* data_ptr = &retval; - Delegates.glGetBooleanv((OpenTK.Graphics.ES30.GetPName)pname, (bool*)data_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern bool GetBoolean(OpenTK.Graphics.ES30.All pname); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")] - public static - bool GetBoolean(OpenTK.Graphics.ES30.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - bool retval; - bool* data_ptr = &retval; - Delegates.glGetBooleanv((OpenTK.Graphics.ES30.GetPName)pname, (bool*)data_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern bool GetBoolean(OpenTK.Graphics.ES30.GetPName pname); /// [requires: v2.0 and ES_VERSION_2_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")] - public static - void GetBoolean(OpenTK.Graphics.ES30.All pname, [OutAttribute] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetBooleanv((OpenTK.Graphics.ES30.GetPName)pname, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetBoolean(OpenTK.Graphics.ES30.All pname, [OutAttribute] bool[] data); /// [requires: v2.0 and ES_VERSION_2_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")] - public static - void GetBoolean(OpenTK.Graphics.ES30.All pname, [OutAttribute] out bool data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetBooleanv((OpenTK.Graphics.ES30.GetPName)pname, (bool*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetBoolean(OpenTK.Graphics.ES30.All pname, [OutAttribute] out bool data); /// [requires: v2.0 and ES_VERSION_2_0] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")] - public static - unsafe void GetBoolean(OpenTK.Graphics.ES30.All pname, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBooleanv((OpenTK.Graphics.ES30.GetPName)pname, (bool*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetBoolean(OpenTK.Graphics.ES30.All pname, [OutAttribute] bool* data); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")] - public static - void GetBoolean(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetBooleanv((OpenTK.Graphics.ES30.GetPName)pname, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetBoolean(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] bool[] data); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")] - public static - void GetBoolean(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] out bool data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetBooleanv((OpenTK.Graphics.ES30.GetPName)pname, (bool*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetBoolean(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] out bool data); /// [requires: v2.0 and ES_VERSION_2_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBooleanv")] - public static - unsafe void GetBoolean(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBooleanv((OpenTK.Graphics.ES30.GetPName)pname, (bool*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetBoolean(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] bool* data); /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a buffer object @@ -21358,24 +13491,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferParameteri64v")] - public static - void GetBufferParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetBufferParameteri64v((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetBufferParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64[] @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a buffer object @@ -21397,25 +13513,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferParameteri64v")] - public static - void GetBufferParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetBufferParameteri64v((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetBufferParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int64 @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a buffer object @@ -21438,18 +13536,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferParameteri64v")] - public static - unsafe void GetBufferParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferParameteri64v((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (Int64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetBufferParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64* @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a buffer object @@ -21470,24 +13557,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferParameteri64v")] - public static - void GetBufferParameter(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferParameterName pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetBufferParameteri64v((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetBufferParameter(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferParameterName pname, [OutAttribute] Int64[] @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a buffer object @@ -21508,25 +13578,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferParameteri64v")] - public static - void GetBufferParameter(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferParameterName pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetBufferParameteri64v((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetBufferParameter(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferParameterName pname, [OutAttribute] out Int64 @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a buffer object @@ -21548,18 +13600,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferParameteri64v")] - public static - unsafe void GetBufferParameter(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferParameterName pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferParameteri64v((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (Int64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetBufferParameter(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferParameterName pname, [OutAttribute] Int64* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return parameters of a buffer object @@ -21581,24 +13622,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")] - public static - void GetBufferParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetBufferParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return parameters of a buffer object @@ -21620,25 +13644,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")] - public static - void GetBufferParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetBufferParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return parameters of a buffer object @@ -21661,18 +13667,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")] - public static - unsafe void GetBufferParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetBufferParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return parameters of a buffer object @@ -21693,24 +13688,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")] - public static - void GetBufferParameter(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetBufferParameter(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferParameterName pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return parameters of a buffer object @@ -21731,25 +13709,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")] - public static - void GetBufferParameter(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetBufferParameter(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferParameterName pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return parameters of a buffer object @@ -21771,18 +13731,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")] - public static - unsafe void GetBufferParameter(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetBufferParameter(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferParameterName pname, [OutAttribute] Int32* @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return the pointer to a mapped buffer object's data store @@ -21804,18 +13753,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")] - public static - void GetBufferPointer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferPointerv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } + public static extern void GetBufferPointer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return the pointer to a mapped buffer object's data store @@ -21837,27 +13775,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")] - public static - void GetBufferPointer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[] @params) + public static extern void GetBufferPointer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointerv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Return the pointer to a mapped buffer object's data store @@ -21879,27 +13799,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")] - public static - void GetBufferPointer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[,] @params) + public static extern void GetBufferPointer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[,] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointerv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Return the pointer to a mapped buffer object's data store @@ -21921,27 +13823,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")] - public static - void GetBufferPointer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[,,] @params) + public static extern void GetBufferPointer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[,,] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointerv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Return the pointer to a mapped buffer object's data store @@ -21963,28 +13847,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")] - public static - void GetBufferPointer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] ref T2 @params) + public static extern void GetBufferPointer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] ref T2 @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointerv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - @params = (T2)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Return the pointer to a mapped buffer object's data store @@ -22005,18 +13870,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")] - public static - void GetBufferPointer(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferPointerv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } + public static extern void GetBufferPointer(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [OutAttribute] IntPtr @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return the pointer to a mapped buffer object's data store @@ -22037,27 +13891,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")] - public static - void GetBufferPointer(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [InAttribute, OutAttribute] T2[] @params) + public static extern void GetBufferPointer(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [InAttribute, OutAttribute] T2[] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointerv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Return the pointer to a mapped buffer object's data store @@ -22078,27 +13914,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")] - public static - void GetBufferPointer(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [InAttribute, OutAttribute] T2[,] @params) + public static extern void GetBufferPointer(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [InAttribute, OutAttribute] T2[,] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointerv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Return the pointer to a mapped buffer object's data store @@ -22119,27 +13937,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")] - public static - void GetBufferPointer(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [InAttribute, OutAttribute] T2[,,] @params) + public static extern void GetBufferPointer(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [InAttribute, OutAttribute] T2[,,] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointerv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Return the pointer to a mapped buffer object's data store @@ -22160,28 +13960,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetBufferPointerv")] - public static - void GetBufferPointer(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [InAttribute, OutAttribute] ref T2 @params) + public static extern void GetBufferPointer(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [InAttribute, OutAttribute] ref T2 @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointerv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - @params = (T2)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Retrieve messages from the debug message log @@ -22228,28 +14009,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static - Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All[] sources, [OutAttribute] OpenTK.Graphics.ES30.All[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.ES30.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.All* sources_ptr = sources) - fixed (OpenTK.Graphics.ES30.All* types_ptr = types) - fixed (Int32* ids_ptr = ids) - fixed (OpenTK.Graphics.ES30.All* severities_ptr = severities) - fixed (Int32* lengths_ptr = lengths) - { - return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES30.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All[] sources, [OutAttribute] OpenTK.Graphics.ES30.All[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.ES30.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog); /// /// Retrieve messages from the debug message log @@ -22296,34 +14056,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static - Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES30.All sources, [OutAttribute] out OpenTK.Graphics.ES30.All types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.ES30.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.All* sources_ptr = &sources) - fixed (OpenTK.Graphics.ES30.All* types_ptr = &types) - fixed (Int32* ids_ptr = &ids) - fixed (OpenTK.Graphics.ES30.All* severities_ptr = &severities) - fixed (Int32* lengths_ptr = &lengths) - { - Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES30.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES30.All sources, [OutAttribute] out OpenTK.Graphics.ES30.All types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.ES30.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog); /// /// Retrieve messages from the debug message log @@ -22371,18 +14104,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static - unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All* sources, [OutAttribute] OpenTK.Graphics.ES30.All* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.ES30.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources, (OpenTK.Graphics.ES30.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.ES30.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All* sources, [OutAttribute] OpenTK.Graphics.ES30.All* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.ES30.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); /// /// Retrieve messages from the debug message log @@ -22428,28 +14150,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static - Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal[] sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.DebugSourceExternal* sources_ptr = sources) - fixed (OpenTK.Graphics.ES30.DebugType* types_ptr = types) - fixed (Int32* ids_ptr = ids) - fixed (OpenTK.Graphics.ES30.DebugSeverity* severities_ptr = severities) - fixed (Int32* lengths_ptr = lengths) - { - return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES30.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal[] sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog); /// /// Retrieve messages from the debug message log @@ -22495,34 +14196,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static - Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES30.DebugSourceExternal sources, [OutAttribute] out OpenTK.Graphics.ES30.DebugType types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.ES30.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.DebugSourceExternal* sources_ptr = &sources) - fixed (OpenTK.Graphics.ES30.DebugType* types_ptr = &types) - fixed (Int32* ids_ptr = &ids) - fixed (OpenTK.Graphics.ES30.DebugSeverity* severities_ptr = &severities) - fixed (Int32* lengths_ptr = &lengths) - { - Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES30.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES30.DebugSourceExternal sources, [OutAttribute] out OpenTK.Graphics.ES30.DebugType types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.ES30.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog); /// /// Retrieve messages from the debug message log @@ -22569,18 +14243,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static - unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources, (OpenTK.Graphics.ES30.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.ES30.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); /// /// Retrieve messages from the debug message log @@ -22628,28 +14291,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static - Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All[] sources, [OutAttribute] OpenTK.Graphics.ES30.All[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.ES30.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.All* sources_ptr = sources) - fixed (OpenTK.Graphics.ES30.All* types_ptr = types) - fixed (UInt32* ids_ptr = ids) - fixed (OpenTK.Graphics.ES30.All* severities_ptr = severities) - fixed (Int32* lengths_ptr = lengths) - { - return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES30.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All[] sources, [OutAttribute] OpenTK.Graphics.ES30.All[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.ES30.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog); /// /// Retrieve messages from the debug message log @@ -22697,34 +14339,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static - Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES30.All sources, [OutAttribute] out OpenTK.Graphics.ES30.All types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.ES30.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.All* sources_ptr = &sources) - fixed (OpenTK.Graphics.ES30.All* types_ptr = &types) - fixed (UInt32* ids_ptr = &ids) - fixed (OpenTK.Graphics.ES30.All* severities_ptr = &severities) - fixed (Int32* lengths_ptr = &lengths) - { - Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES30.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES30.All sources, [OutAttribute] out OpenTK.Graphics.ES30.All types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.ES30.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog); /// /// Retrieve messages from the debug message log @@ -22772,18 +14387,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static - unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All* sources, [OutAttribute] OpenTK.Graphics.ES30.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES30.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources, (OpenTK.Graphics.ES30.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.ES30.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All* sources, [OutAttribute] OpenTK.Graphics.ES30.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES30.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); /// /// Retrieve messages from the debug message log @@ -22830,28 +14434,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static - Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal[] sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.DebugSourceExternal* sources_ptr = sources) - fixed (OpenTK.Graphics.ES30.DebugType* types_ptr = types) - fixed (UInt32* ids_ptr = ids) - fixed (OpenTK.Graphics.ES30.DebugSeverity* severities_ptr = severities) - fixed (Int32* lengths_ptr = lengths) - { - return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES30.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal[] sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog); /// /// Retrieve messages from the debug message log @@ -22898,34 +14481,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static - Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES30.DebugSourceExternal sources, [OutAttribute] out OpenTK.Graphics.ES30.DebugType types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.ES30.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.DebugSourceExternal* sources_ptr = &sources) - fixed (OpenTK.Graphics.ES30.DebugType* types_ptr = &types) - fixed (UInt32* ids_ptr = &ids) - fixed (OpenTK.Graphics.ES30.DebugSeverity* severities_ptr = &severities) - fixed (Int32* lengths_ptr = &lengths) - { - Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES30.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES30.DebugSourceExternal sources, [OutAttribute] out OpenTK.Graphics.ES30.DebugType types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.ES30.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog); /// /// Retrieve messages from the debug message log @@ -22972,192 +14528,51 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] - public static - unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources, (OpenTK.Graphics.ES30.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.ES30.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); /// [requires: v2.0 and ES_VERSION_2_0] /// Return error information /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetError")] - public static - OpenTK.Graphics.ES30.ErrorCode GetError() - { - return Delegates.glGetError(); - } + public static extern OpenTK.Graphics.ES30.ErrorCode GetError(); /// [requires: v2.0 and ES_VERSION_2_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")] - public static - Single GetFloat(OpenTK.Graphics.ES30.All pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* data_ptr = &retval; - Delegates.glGetFloatv((OpenTK.Graphics.ES30.GetPName)pname, (Single*)data_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Single GetFloat(OpenTK.Graphics.ES30.All pname); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")] - public static - Single GetFloat(OpenTK.Graphics.ES30.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* data_ptr = &retval; - Delegates.glGetFloatv((OpenTK.Graphics.ES30.GetPName)pname, (Single*)data_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Single GetFloat(OpenTK.Graphics.ES30.GetPName pname); /// [requires: v2.0 and ES_VERSION_2_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")] - public static - void GetFloat(OpenTK.Graphics.ES30.All pname, [OutAttribute] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - Delegates.glGetFloatv((OpenTK.Graphics.ES30.GetPName)pname, (Single*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFloat(OpenTK.Graphics.ES30.All pname, [OutAttribute] Single[] data); /// [requires: v2.0 and ES_VERSION_2_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")] - public static - void GetFloat(OpenTK.Graphics.ES30.All pname, [OutAttribute] out Single data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = &data) - { - Delegates.glGetFloatv((OpenTK.Graphics.ES30.GetPName)pname, (Single*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFloat(OpenTK.Graphics.ES30.All pname, [OutAttribute] out Single data); /// [requires: v2.0 and ES_VERSION_2_0] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")] - public static - unsafe void GetFloat(OpenTK.Graphics.ES30.All pname, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFloatv((OpenTK.Graphics.ES30.GetPName)pname, (Single*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFloat(OpenTK.Graphics.ES30.All pname, [OutAttribute] Single* data); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")] - public static - void GetFloat(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - Delegates.glGetFloatv((OpenTK.Graphics.ES30.GetPName)pname, (Single*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFloat(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Single[] data); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")] - public static - void GetFloat(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] out Single data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = &data) - { - Delegates.glGetFloatv((OpenTK.Graphics.ES30.GetPName)pname, (Single*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFloat(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] out Single data); /// [requires: v2.0 and ES_VERSION_2_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFloatv")] - public static - unsafe void GetFloat(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFloatv((OpenTK.Graphics.ES30.GetPName)pname, (Single*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFloat(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Single* data); /// [requires: v3.0 and ES_VERSION_3_0] /// Query the bindings of color numbers to user-defined varying out variables @@ -23173,18 +14588,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetFragDataLocation")] - public static - Int32 GetFragDataLocation(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetFragDataLocation((UInt32)program, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetFragDataLocation(Int32 program, String name); /// [requires: v3.0 and ES_VERSION_3_0] /// Query the bindings of color numbers to user-defined varying out variables @@ -23201,18 +14605,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetFragDataLocation")] - public static - Int32 GetFragDataLocation(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetFragDataLocation((UInt32)program, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetFragDataLocation(UInt32 program, String name); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about attachments of a bound framebuffer object @@ -23239,24 +14632,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static - void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.FramebufferParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about attachments of a bound framebuffer object @@ -23283,25 +14659,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static - void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.FramebufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about attachments of a bound framebuffer object @@ -23329,18 +14687,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static - unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.FramebufferParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about attachments of a bound framebuffer object @@ -23366,24 +14713,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static - void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.FramebufferParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.FramebufferParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.FramebufferParameterName pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about attachments of a bound framebuffer object @@ -23409,25 +14739,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static - void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.FramebufferParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.FramebufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.FramebufferParameterName pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about attachments of a bound framebuffer object @@ -23454,838 +14766,207 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static - unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.FramebufferParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.FramebufferParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.FramebufferParameterName pname, [OutAttribute] Int32* @params); /// [requires: v3.0 and ES_VERSION_3_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64i_v")] - public static - void GetInteger64(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] Int64[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = data) - { - Delegates.glGetInteger64i_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] Int64[] data); /// [requires: v3.0 and ES_VERSION_3_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64i_v")] - public static - void GetInteger64(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] out Int64 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = &data) - { - Delegates.glGetInteger64i_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] out Int64 data); /// [requires: v3.0 and ES_VERSION_3_0] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64i_v")] - public static - unsafe void GetInteger64(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] Int64* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInteger64i_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int64*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger64(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] Int64* data); /// [requires: v3.0 and ES_VERSION_3_0] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64i_v")] - public static - void GetInteger64(OpenTK.Graphics.ES30.All target, UInt32 index, [OutAttribute] Int64[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = data) - { - Delegates.glGetInteger64i_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.ES30.All target, UInt32 index, [OutAttribute] Int64[] data); /// [requires: v3.0 and ES_VERSION_3_0] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64i_v")] - public static - void GetInteger64(OpenTK.Graphics.ES30.All target, UInt32 index, [OutAttribute] out Int64 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = &data) - { - Delegates.glGetInteger64i_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.ES30.All target, UInt32 index, [OutAttribute] out Int64 data); /// [requires: v3.0 and ES_VERSION_3_0] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64i_v")] - public static - unsafe void GetInteger64(OpenTK.Graphics.ES30.All target, UInt32 index, [OutAttribute] Int64* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInteger64i_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int64*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger64(OpenTK.Graphics.ES30.All target, UInt32 index, [OutAttribute] Int64* data); /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64i_v")] - public static - void GetInteger64(OpenTK.Graphics.ES30.GetIndexedPName target, Int32 index, [OutAttribute] Int64[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = data) - { - Delegates.glGetInteger64i_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.ES30.GetIndexedPName target, Int32 index, [OutAttribute] Int64[] data); /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64i_v")] - public static - void GetInteger64(OpenTK.Graphics.ES30.GetIndexedPName target, Int32 index, [OutAttribute] out Int64 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = &data) - { - Delegates.glGetInteger64i_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.ES30.GetIndexedPName target, Int32 index, [OutAttribute] out Int64 data); /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64i_v")] - public static - unsafe void GetInteger64(OpenTK.Graphics.ES30.GetIndexedPName target, Int32 index, [OutAttribute] Int64* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInteger64i_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int64*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger64(OpenTK.Graphics.ES30.GetIndexedPName target, Int32 index, [OutAttribute] Int64* data); /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64i_v")] - public static - void GetInteger64(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] Int64[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = data) - { - Delegates.glGetInteger64i_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] Int64[] data); /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64i_v")] - public static - void GetInteger64(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] out Int64 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = &data) - { - Delegates.glGetInteger64i_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] out Int64 data); /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64i_v")] - public static - unsafe void GetInteger64(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] Int64* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInteger64i_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int64*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger64(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] Int64* data); /// [requires: v3.0 and ES_VERSION_3_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64v")] - public static - Int64 GetInteger64(OpenTK.Graphics.ES30.All pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int64 retval; - Int64* data_ptr = &retval; - Delegates.glGetInteger64v((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)data_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int64 GetInteger64(OpenTK.Graphics.ES30.All pname); /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64v")] - public static - Int64 GetInteger64(OpenTK.Graphics.ES30.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int64 retval; - Int64* data_ptr = &retval; - Delegates.glGetInteger64v((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)data_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int64 GetInteger64(OpenTK.Graphics.ES30.GetPName pname); /// [requires: v3.0 and ES_VERSION_3_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64v")] - public static - void GetInteger64(OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = data) - { - Delegates.glGetInteger64v((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64[] data); /// [requires: v3.0 and ES_VERSION_3_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64v")] - public static - void GetInteger64(OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int64 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = &data) - { - Delegates.glGetInteger64v((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int64 data); /// [requires: v3.0 and ES_VERSION_3_0] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64v")] - public static - unsafe void GetInteger64(OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInteger64v((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger64(OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64* data); /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64v")] - public static - void GetInteger64(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int64[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = data) - { - Delegates.glGetInteger64v((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int64[] data); /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64v")] - public static - void GetInteger64(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] out Int64 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = &data) - { - Delegates.glGetInteger64v((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] out Int64 data); /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64v")] - public static - unsafe void GetInteger64(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int64* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInteger64v((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger64(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int64* data); /// [requires: v3.0 and ES_VERSION_3_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - void GetInteger(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegeri_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] Int32[] data); /// [requires: v3.0 and ES_VERSION_3_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - void GetInteger(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetIntegeri_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] out Int32 data); /// [requires: v3.0 and ES_VERSION_3_0] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - unsafe void GetInteger(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegeri_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] Int32* data); /// [requires: v3.0 and ES_VERSION_3_0] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - void GetInteger(OpenTK.Graphics.ES30.All target, UInt32 index, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegeri_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES30.All target, UInt32 index, [OutAttribute] Int32[] data); /// [requires: v3.0 and ES_VERSION_3_0] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - void GetInteger(OpenTK.Graphics.ES30.All target, UInt32 index, [OutAttribute] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetIntegeri_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES30.All target, UInt32 index, [OutAttribute] out Int32 data); /// [requires: v3.0 and ES_VERSION_3_0] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - unsafe void GetInteger(OpenTK.Graphics.ES30.All target, UInt32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegeri_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger(OpenTK.Graphics.ES30.All target, UInt32 index, [OutAttribute] Int32* data); /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, Int32 index, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegeri_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, Int32 index, [OutAttribute] Int32[] data); /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, Int32 index, [OutAttribute] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetIntegeri_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, Int32 index, [OutAttribute] out Int32 data); /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - unsafe void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, Int32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegeri_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, Int32 index, [OutAttribute] Int32* data); /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegeri_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] Int32[] data); /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetIntegeri_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] out Int32 data); /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - unsafe void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegeri_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data); /// [requires: v2.0 and ES_VERSION_2_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")] - public static - Int32 GetInteger(OpenTK.Graphics.ES30.All pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int32 retval; - Int32* data_ptr = &retval; - Delegates.glGetIntegerv((OpenTK.Graphics.ES30.GetPName)pname, (Int32*)data_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GetInteger(OpenTK.Graphics.ES30.All pname); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")] - public static - Int32 GetInteger(OpenTK.Graphics.ES30.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int32 retval; - Int32* data_ptr = &retval; - Delegates.glGetIntegerv((OpenTK.Graphics.ES30.GetPName)pname, (Int32*)data_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GetInteger(OpenTK.Graphics.ES30.GetPName pname); /// [requires: v2.0 and ES_VERSION_2_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")] - public static - void GetInteger(OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegerv((OpenTK.Graphics.ES30.GetPName)pname, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] data); /// [requires: v2.0 and ES_VERSION_2_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")] - public static - void GetInteger(OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetIntegerv((OpenTK.Graphics.ES30.GetPName)pname, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 data); /// [requires: v2.0 and ES_VERSION_2_0] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")] - public static - unsafe void GetInteger(OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegerv((OpenTK.Graphics.ES30.GetPName)pname, (Int32*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger(OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* data); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")] - public static - void GetInteger(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegerv((OpenTK.Graphics.ES30.GetPName)pname, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int32[] data); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")] - public static - void GetInteger(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetIntegerv((OpenTK.Graphics.ES30.GetPName)pname, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] out Int32 data); /// [requires: v2.0 and ES_VERSION_2_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetIntegerv")] - public static - unsafe void GetInteger(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegerv((OpenTK.Graphics.ES30.GetPName)pname, (Int32*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int32* data); /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve information about implementation-dependent support for internal formats @@ -24317,24 +14998,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInternalformativ")] - public static - void GetInternalformat(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All internalformat, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetInternalformativ((OpenTK.Graphics.ES30.ImageTarget)target, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (OpenTK.Graphics.ES30.InternalFormatParameter)pname, (Int32)bufSize, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInternalformat(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All internalformat, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] Int32[] @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve information about implementation-dependent support for internal formats @@ -24366,25 +15030,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInternalformativ")] - public static - void GetInternalformat(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All internalformat, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetInternalformativ((OpenTK.Graphics.ES30.ImageTarget)target, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (OpenTK.Graphics.ES30.InternalFormatParameter)pname, (Int32)bufSize, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInternalformat(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All internalformat, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] out Int32 @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve information about implementation-dependent support for internal formats @@ -24417,18 +15063,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInternalformativ")] - public static - unsafe void GetInternalformat(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All internalformat, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInternalformativ((OpenTK.Graphics.ES30.ImageTarget)target, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (OpenTK.Graphics.ES30.InternalFormatParameter)pname, (Int32)bufSize, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInternalformat(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All internalformat, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] Int32* @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve information about implementation-dependent support for internal formats @@ -24459,24 +15094,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInternalformativ")] - public static - void GetInternalformat(OpenTK.Graphics.ES30.ImageTarget target, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, OpenTK.Graphics.ES30.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetInternalformativ((OpenTK.Graphics.ES30.ImageTarget)target, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (OpenTK.Graphics.ES30.InternalFormatParameter)pname, (Int32)bufSize, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInternalformat(OpenTK.Graphics.ES30.ImageTarget target, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, OpenTK.Graphics.ES30.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int32[] @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve information about implementation-dependent support for internal formats @@ -24507,25 +15125,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInternalformativ")] - public static - void GetInternalformat(OpenTK.Graphics.ES30.ImageTarget target, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, OpenTK.Graphics.ES30.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetInternalformativ((OpenTK.Graphics.ES30.ImageTarget)target, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (OpenTK.Graphics.ES30.InternalFormatParameter)pname, (Int32)bufSize, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInternalformat(OpenTK.Graphics.ES30.ImageTarget target, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, OpenTK.Graphics.ES30.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] out Int32 @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve information about implementation-dependent support for internal formats @@ -24557,18 +15157,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInternalformativ")] - public static - unsafe void GetInternalformat(OpenTK.Graphics.ES30.ImageTarget target, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, OpenTK.Graphics.ES30.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInternalformativ((OpenTK.Graphics.ES30.ImageTarget)target, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (OpenTK.Graphics.ES30.InternalFormatParameter)pname, (Int32)bufSize, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInternalformat(OpenTK.Graphics.ES30.ImageTarget target, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, OpenTK.Graphics.ES30.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int32* @params); /// /// Retrieve the label of a named object identified within a namespace @@ -24600,24 +15189,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static - void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// /// Retrieve the label of a named object identified within a namespace @@ -24649,25 +15221,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static - void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// /// Retrieve the label of a named object identified within a namespace @@ -24700,18 +15254,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static - unsafe void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// /// Retrieve the label of a named object identified within a namespace @@ -24744,24 +15287,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static - void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// /// Retrieve the label of a named object identified within a namespace @@ -24794,25 +15320,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static - void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// /// Retrieve the label of a named object identified within a namespace @@ -24845,18 +15353,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static - unsafe void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// /// Retrieve the label of a named object identified within a namespace @@ -24887,24 +15384,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static - void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// /// Retrieve the label of a named object identified within a namespace @@ -24935,25 +15415,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static - void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// /// Retrieve the label of a named object identified within a namespace @@ -24985,18 +15447,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static - unsafe void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// /// Retrieve the label of a named object identified within a namespace @@ -25028,24 +15479,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static - void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// /// Retrieve the label of a named object identified within a namespace @@ -25077,25 +15511,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static - void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// /// Retrieve the label of a named object identified within a namespace @@ -25127,18 +15543,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] - public static - unsafe void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// /// Retrieve the label of a sync object identified by a pointer @@ -25164,24 +15569,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// /// Retrieve the label of a sync object identified by a pointer @@ -25207,25 +15595,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// /// Retrieve the label of a sync object identified by a pointer @@ -25252,18 +15622,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static - unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectPtrLabel((IntPtr)ptr, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// /// Retrieve the label of a sync object identified by a pointer @@ -25289,33 +15648,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// /// Retrieve the label of a sync object identified by a pointer @@ -25341,34 +15676,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// /// Retrieve the label of a sync object identified by a pointer @@ -25395,27 +15705,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static - unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + public static extern unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Retrieve the label of a sync object identified by a pointer @@ -25441,33 +15733,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// /// Retrieve the label of a sync object identified by a pointer @@ -25493,34 +15761,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// /// Retrieve the label of a sync object identified by a pointer @@ -25547,27 +15790,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static - unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + public static extern unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Retrieve the label of a sync object identified by a pointer @@ -25593,33 +15818,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// /// Retrieve the label of a sync object identified by a pointer @@ -25645,34 +15846,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// /// Retrieve the label of a sync object identified by a pointer @@ -25699,27 +15875,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static - unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + public static extern unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Retrieve the label of a sync object identified by a pointer @@ -25745,34 +15903,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - ptr = (T0)ptr_ptr.Target; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// /// Retrieve the label of a sync object identified by a pointer @@ -25798,35 +15931,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - ptr = (T0)ptr_ptr.Target; - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// /// Retrieve the label of a sync object identified by a pointer @@ -25853,28 +15960,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] - public static - unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + public static extern unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label); - ptr = (T0)ptr_ptr.Target; - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Return the address of the specified pointer @@ -25891,18 +15979,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPointerv((OpenTK.Graphics.ES30.GetPointervPName)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } + public static extern void GetPointer(OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr @params); /// /// Return the address of the specified pointer @@ -25919,27 +15996,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T1[] @params) + public static extern void GetPointer(OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T1[] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.ES30.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Return the address of the specified pointer @@ -25956,27 +16015,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T1[,] @params) + public static extern void GetPointer(OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T1[,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.ES30.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Return the address of the specified pointer @@ -25993,27 +16034,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T1[,,] @params) + public static extern void GetPointer(OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T1[,,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.ES30.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Return the address of the specified pointer @@ -26030,28 +16053,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] ref T1 @params) + public static extern void GetPointer(OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] ref T1 @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.ES30.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - @params = (T1)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Return the address of the specified pointer @@ -26067,18 +16071,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.ES30.GetPointervPName pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPointerv((OpenTK.Graphics.ES30.GetPointervPName)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } + public static extern void GetPointer(OpenTK.Graphics.ES30.GetPointervPName pname, [OutAttribute] IntPtr @params); /// /// Return the address of the specified pointer @@ -26094,27 +16087,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.ES30.GetPointervPName pname, [InAttribute, OutAttribute] T1[] @params) + public static extern void GetPointer(OpenTK.Graphics.ES30.GetPointervPName pname, [InAttribute, OutAttribute] T1[] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.ES30.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Return the address of the specified pointer @@ -26130,27 +16105,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.ES30.GetPointervPName pname, [InAttribute, OutAttribute] T1[,] @params) + public static extern void GetPointer(OpenTK.Graphics.ES30.GetPointervPName pname, [InAttribute, OutAttribute] T1[,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.ES30.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Return the address of the specified pointer @@ -26166,27 +16123,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.ES30.GetPointervPName pname, [InAttribute, OutAttribute] T1[,,] @params) + public static extern void GetPointer(OpenTK.Graphics.ES30.GetPointervPName pname, [InAttribute, OutAttribute] T1[,,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.ES30.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Return the address of the specified pointer @@ -26202,28 +16141,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.ES30.GetPointervPName pname, [InAttribute, OutAttribute] ref T1 @params) + public static extern void GetPointer(OpenTK.Graphics.ES30.GetPointervPName pname, [InAttribute, OutAttribute] ref T1 @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.ES30.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - @params = (T1)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Return a binary representation of a program object's compiled and linked executable source @@ -26254,27 +16174,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [OutAttribute] IntPtr binary) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = &binaryFormat) - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [OutAttribute] IntPtr binary); /// [requires: v3.0 and ES_VERSION_3_0] /// Return a binary representation of a program object's compiled and linked executable source @@ -26305,36 +16205,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T4[] binary) + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T4[] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Return a binary representation of a program object's compiled and linked executable source @@ -26365,36 +16238,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T4[,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Return a binary representation of a program object's compiled and linked executable source @@ -26425,36 +16271,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Return a binary representation of a program object's compiled and linked executable source @@ -26485,37 +16304,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] ref T4 binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - binary = (T4)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Return a binary representation of a program object's compiled and linked executable source @@ -26547,18 +16338,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static - unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [OutAttribute] IntPtr binary) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES30.All*)binaryFormat, (IntPtr)binary); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [OutAttribute] IntPtr binary); /// [requires: v3.0 and ES_VERSION_3_0] /// Return a binary representation of a program object's compiled and linked executable source @@ -26590,27 +16370,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static - unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] T4[] binary) + public static extern unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] T4[] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES30.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Return a binary representation of a program object's compiled and linked executable source @@ -26642,27 +16404,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static - unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + public static extern unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] T4[,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES30.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Return a binary representation of a program object's compiled and linked executable source @@ -26694,27 +16438,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static - unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + public static extern unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES30.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Return a binary representation of a program object's compiled and linked executable source @@ -26746,28 +16472,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static - unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + public static extern unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] ref T4 binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES30.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - binary = (T4)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Return a binary representation of a program object's compiled and linked executable source @@ -26799,27 +16506,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [OutAttribute] IntPtr binary) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = &binaryFormat) - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [OutAttribute] IntPtr binary); /// [requires: v3.0 and ES_VERSION_3_0] /// Return a binary representation of a program object's compiled and linked executable source @@ -26851,36 +16538,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T4[] binary) + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T4[] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Return a binary representation of a program object's compiled and linked executable source @@ -26912,36 +16572,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T4[,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Return a binary representation of a program object's compiled and linked executable source @@ -26973,36 +16606,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Return a binary representation of a program object's compiled and linked executable source @@ -27034,37 +16640,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] ref T4 binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - binary = (T4)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Return a binary representation of a program object's compiled and linked executable source @@ -27096,18 +16674,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static - unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [OutAttribute] IntPtr binary) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES30.All*)binaryFormat, (IntPtr)binary); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [OutAttribute] IntPtr binary); /// [requires: v3.0 and ES_VERSION_3_0] /// Return a binary representation of a program object's compiled and linked executable source @@ -27139,27 +16706,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static - unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] T4[] binary) + public static extern unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] T4[] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES30.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Return a binary representation of a program object's compiled and linked executable source @@ -27191,27 +16740,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static - unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + public static extern unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] T4[,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES30.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Return a binary representation of a program object's compiled and linked executable source @@ -27243,27 +16774,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static - unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + public static extern unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES30.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Return a binary representation of a program object's compiled and linked executable source @@ -27295,28 +16808,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetProgramBinary")] - public static - unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + public static extern unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] ref T4 binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES30.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - binary = (T4)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the information log for a program object @@ -27342,25 +16836,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static - void GetProgramInfoLog(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramInfoLog(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the information log for a program object @@ -27387,18 +16863,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static - unsafe void GetProgramInfoLog(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramInfoLog(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the information log for a program object @@ -27425,25 +16890,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static - void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the information log for a program object @@ -27470,18 +16917,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static - unsafe void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -27503,24 +16939,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(Int32 program, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(Int32 program, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -27542,25 +16961,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(Int32 program, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(Int32 program, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -27583,18 +16984,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - unsafe void GetProgram(Int32 program, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgram(Int32 program, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -27615,24 +17005,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(Int32 program, OpenTK.Graphics.ES30.GetProgramParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(Int32 program, OpenTK.Graphics.ES30.GetProgramParameterName pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -27653,25 +17026,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(Int32 program, OpenTK.Graphics.ES30.GetProgramParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(Int32 program, OpenTK.Graphics.ES30.GetProgramParameterName pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -27693,18 +17048,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - unsafe void GetProgram(Int32 program, OpenTK.Graphics.ES30.GetProgramParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgram(Int32 program, OpenTK.Graphics.ES30.GetProgramParameterName pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -27727,24 +17071,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(UInt32 program, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(UInt32 program, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -27767,25 +17094,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(UInt32 program, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(UInt32 program, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -27808,18 +17117,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - unsafe void GetProgram(UInt32 program, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgram(UInt32 program, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -27841,24 +17139,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(UInt32 program, OpenTK.Graphics.ES30.GetProgramParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(UInt32 program, OpenTK.Graphics.ES30.GetProgramParameterName pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -27880,25 +17161,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(UInt32 program, OpenTK.Graphics.ES30.GetProgramParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(UInt32 program, OpenTK.Graphics.ES30.GetProgramParameterName pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a program object @@ -27920,18 +17183,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - unsafe void GetProgram(UInt32 program, OpenTK.Graphics.ES30.GetProgramParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgram(UInt32 program, OpenTK.Graphics.ES30.GetProgramParameterName pname, [OutAttribute] Int32* @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object target @@ -27953,24 +17205,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryiv")] - public static - void GetQuery(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryiv((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQuery(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object target @@ -27992,25 +17227,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryiv")] - public static - void GetQuery(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryiv((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQuery(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object target @@ -28033,18 +17250,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryiv")] - public static - unsafe void GetQuery(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryiv((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQuery(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object target @@ -28065,24 +17271,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryiv")] - public static - void GetQuery(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryiv((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQuery(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] Int32[] @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object target @@ -28103,25 +17292,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryiv")] - public static - void GetQuery(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryiv((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQuery(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] out Int32 @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object target @@ -28143,18 +17314,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryiv")] - public static - unsafe void GetQuery(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryiv((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQuery(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] Int32* @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object @@ -28176,24 +17336,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object @@ -28215,25 +17358,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object @@ -28256,18 +17381,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")] - public static - unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object @@ -28288,24 +17402,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int32[] @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object @@ -28326,25 +17423,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] out Int32 @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object @@ -28366,18 +17445,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")] - public static - unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int32* @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object @@ -28400,24 +17468,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt32[] @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object @@ -28440,25 +17491,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] out UInt32 @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object @@ -28481,18 +17514,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt32* @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object @@ -28514,24 +17536,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt32[] @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object @@ -28553,25 +17558,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] out UInt32 @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return parameters of a query object @@ -28593,18 +17580,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about a bound renderbuffer object @@ -28626,24 +17602,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static - void GetRenderbufferParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.ES30.RenderbufferTarget)target, (OpenTK.Graphics.ES30.RenderbufferParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetRenderbufferParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about a bound renderbuffer object @@ -28665,25 +17624,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static - void GetRenderbufferParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.ES30.RenderbufferTarget)target, (OpenTK.Graphics.ES30.RenderbufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetRenderbufferParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about a bound renderbuffer object @@ -28706,18 +17647,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static - unsafe void GetRenderbufferParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.ES30.RenderbufferTarget)target, (OpenTK.Graphics.ES30.RenderbufferParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetRenderbufferParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about a bound renderbuffer object @@ -28738,24 +17668,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static - void GetRenderbufferParameter(OpenTK.Graphics.ES30.RenderbufferTarget target, OpenTK.Graphics.ES30.RenderbufferParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.ES30.RenderbufferTarget)target, (OpenTK.Graphics.ES30.RenderbufferParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetRenderbufferParameter(OpenTK.Graphics.ES30.RenderbufferTarget target, OpenTK.Graphics.ES30.RenderbufferParameterName pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about a bound renderbuffer object @@ -28776,25 +17689,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static - void GetRenderbufferParameter(OpenTK.Graphics.ES30.RenderbufferTarget target, OpenTK.Graphics.ES30.RenderbufferParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.ES30.RenderbufferTarget)target, (OpenTK.Graphics.ES30.RenderbufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetRenderbufferParameter(OpenTK.Graphics.ES30.RenderbufferTarget target, OpenTK.Graphics.ES30.RenderbufferParameterName pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve information about a bound renderbuffer object @@ -28816,18 +17711,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static - unsafe void GetRenderbufferParameter(OpenTK.Graphics.ES30.RenderbufferTarget target, OpenTK.Graphics.ES30.RenderbufferParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.ES30.RenderbufferTarget)target, (OpenTK.Graphics.ES30.RenderbufferParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetRenderbufferParameter(OpenTK.Graphics.ES30.RenderbufferTarget target, OpenTK.Graphics.ES30.RenderbufferParameterName pname, [OutAttribute] Int32* @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -28849,24 +17733,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")] - public static - void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single[] @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -28888,25 +17755,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")] - public static - void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Single @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -28929,18 +17778,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")] - public static - unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single* @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -28961,24 +17799,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")] - public static - void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Single[] @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -28999,25 +17820,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")] - public static - void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] out Single @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29039,18 +17842,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")] - public static - unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Single* @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29073,24 +17865,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")] - public static - void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single[] @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29113,25 +17888,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")] - public static - void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Single @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29154,18 +17911,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")] - public static - unsafe void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single* @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29187,24 +17933,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")] - public static - void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Single[] @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29226,25 +17955,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")] - public static - void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] out Single @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29266,18 +17977,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")] - public static - unsafe void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Single* @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29299,24 +17999,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")] - public static - void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29338,25 +18021,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")] - public static - void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29379,18 +18044,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")] - public static - unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29411,24 +18065,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")] - public static - void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Int32[] @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29449,25 +18086,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")] - public static - void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] out Int32 @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29489,18 +18108,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")] - public static - unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Int32* @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29523,24 +18131,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")] - public static - void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29563,25 +18154,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")] - public static - void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29604,18 +18177,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")] - public static - unsafe void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29637,24 +18199,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")] - public static - void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Int32[] @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29676,25 +18221,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")] - public static - void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] out Int32 @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Return sampler parameter values @@ -29716,18 +18243,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")] - public static - unsafe void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the information log for a shader object @@ -29753,25 +18269,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static - void GetShaderInfoLog(Int32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShaderInfoLog(Int32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the information log for a shader object @@ -29798,18 +18296,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static - unsafe void GetShaderInfoLog(Int32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShaderInfoLog(Int32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the information log for a shader object @@ -29836,25 +18323,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static - void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the information log for a shader object @@ -29881,18 +18350,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static - unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -29914,24 +18372,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - void GetShader(Int32 shader, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetShader(Int32 shader, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -29953,25 +18394,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - void GetShader(Int32 shader, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShader(Int32 shader, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -29994,18 +18417,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - unsafe void GetShader(Int32 shader, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShader(Int32 shader, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -30026,24 +18438,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - void GetShader(Int32 shader, OpenTK.Graphics.ES30.ShaderParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetShader(Int32 shader, OpenTK.Graphics.ES30.ShaderParameter pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -30064,25 +18459,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - void GetShader(Int32 shader, OpenTK.Graphics.ES30.ShaderParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShader(Int32 shader, OpenTK.Graphics.ES30.ShaderParameter pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -30104,18 +18481,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - unsafe void GetShader(Int32 shader, OpenTK.Graphics.ES30.ShaderParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShader(Int32 shader, OpenTK.Graphics.ES30.ShaderParameter pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -30138,24 +18504,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - void GetShader(UInt32 shader, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetShader(UInt32 shader, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -30178,25 +18527,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - void GetShader(UInt32 shader, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShader(UInt32 shader, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -30219,18 +18550,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - unsafe void GetShader(UInt32 shader, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShader(UInt32 shader, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -30252,24 +18572,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - void GetShader(UInt32 shader, OpenTK.Graphics.ES30.ShaderParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetShader(UInt32 shader, OpenTK.Graphics.ES30.ShaderParameter pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -30291,25 +18594,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - void GetShader(UInt32 shader, OpenTK.Graphics.ES30.ShaderParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShader(UInt32 shader, OpenTK.Graphics.ES30.ShaderParameter pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns a parameter from a shader object @@ -30331,18 +18616,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - unsafe void GetShader(UInt32 shader, OpenTK.Graphics.ES30.ShaderParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShader(UInt32 shader, OpenTK.Graphics.ES30.ShaderParameter pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -30369,25 +18643,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")] - public static - void GetShaderPrecisionFormat(OpenTK.Graphics.ES30.All shadertype, OpenTK.Graphics.ES30.All precisiontype, [OutAttribute] Int32[] range, [OutAttribute] Int32[] precision) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* range_ptr = range) - fixed (Int32* precision_ptr = precision) - { - Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.ES30.ShaderType)shadertype, (OpenTK.Graphics.ES30.ShaderPrecision)precisiontype, (Int32*)range_ptr, (Int32*)precision_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetShaderPrecisionFormat(OpenTK.Graphics.ES30.All shadertype, OpenTK.Graphics.ES30.All precisiontype, [OutAttribute] Int32[] range, [OutAttribute] Int32[] precision); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -30414,27 +18670,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")] - public static - void GetShaderPrecisionFormat(OpenTK.Graphics.ES30.All shadertype, OpenTK.Graphics.ES30.All precisiontype, [OutAttribute] out Int32 range, [OutAttribute] out Int32 precision) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* range_ptr = &range) - fixed (Int32* precision_ptr = &precision) - { - Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.ES30.ShaderType)shadertype, (OpenTK.Graphics.ES30.ShaderPrecision)precisiontype, (Int32*)range_ptr, (Int32*)precision_ptr); - range = *range_ptr; - precision = *precision_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShaderPrecisionFormat(OpenTK.Graphics.ES30.All shadertype, OpenTK.Graphics.ES30.All precisiontype, [OutAttribute] out Int32 range, [OutAttribute] out Int32 precision); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -30462,18 +18698,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")] - public static - unsafe void GetShaderPrecisionFormat(OpenTK.Graphics.ES30.All shadertype, OpenTK.Graphics.ES30.All precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.ES30.ShaderType)shadertype, (OpenTK.Graphics.ES30.ShaderPrecision)precisiontype, (Int32*)range, (Int32*)precision); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShaderPrecisionFormat(OpenTK.Graphics.ES30.All shadertype, OpenTK.Graphics.ES30.All precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -30499,25 +18724,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")] - public static - void GetShaderPrecisionFormat(OpenTK.Graphics.ES30.ShaderType shadertype, OpenTK.Graphics.ES30.ShaderPrecision precisiontype, [OutAttribute] Int32[] range, [OutAttribute] Int32[] precision) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* range_ptr = range) - fixed (Int32* precision_ptr = precision) - { - Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.ES30.ShaderType)shadertype, (OpenTK.Graphics.ES30.ShaderPrecision)precisiontype, (Int32*)range_ptr, (Int32*)precision_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetShaderPrecisionFormat(OpenTK.Graphics.ES30.ShaderType shadertype, OpenTK.Graphics.ES30.ShaderPrecision precisiontype, [OutAttribute] Int32[] range, [OutAttribute] Int32[] precision); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -30543,27 +18750,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")] - public static - void GetShaderPrecisionFormat(OpenTK.Graphics.ES30.ShaderType shadertype, OpenTK.Graphics.ES30.ShaderPrecision precisiontype, [OutAttribute] out Int32 range, [OutAttribute] out Int32 precision) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* range_ptr = &range) - fixed (Int32* precision_ptr = &precision) - { - Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.ES30.ShaderType)shadertype, (OpenTK.Graphics.ES30.ShaderPrecision)precisiontype, (Int32*)range_ptr, (Int32*)precision_ptr); - range = *range_ptr; - precision = *precision_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShaderPrecisionFormat(OpenTK.Graphics.ES30.ShaderType shadertype, OpenTK.Graphics.ES30.ShaderPrecision precisiontype, [OutAttribute] out Int32 range, [OutAttribute] out Int32 precision); /// [requires: v2.0 and ES_VERSION_2_0] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -30590,18 +18777,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")] - public static - unsafe void GetShaderPrecisionFormat(OpenTK.Graphics.ES30.ShaderType shadertype, OpenTK.Graphics.ES30.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.ES30.ShaderType)shadertype, (OpenTK.Graphics.ES30.ShaderPrecision)precisiontype, (Int32*)range, (Int32*)precision); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShaderPrecisionFormat(OpenTK.Graphics.ES30.ShaderType shadertype, OpenTK.Graphics.ES30.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the source code string from a shader object @@ -30627,25 +18803,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static - void GetShaderSource(Int32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)source); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShaderSource(Int32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the source code string from a shader object @@ -30672,18 +18830,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static - unsafe void GetShaderSource(Int32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)source); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShaderSource(Int32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the source code string from a shader object @@ -30710,25 +18857,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static - void GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)source); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the source code string from a shader object @@ -30755,18 +18884,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static - unsafe void GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)source); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a string describing the current GL connection @@ -30783,18 +18901,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetString")] - public static - String GetString(OpenTK.Graphics.ES30.All name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)Delegates.glGetString((OpenTK.Graphics.ES30.StringName)name)); } - #if DEBUG - } - #endif - } + public static extern String GetString(OpenTK.Graphics.ES30.All name); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a string describing the current GL connection @@ -30810,18 +18917,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetString")] - public static - String GetString(OpenTK.Graphics.ES30.StringName name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)Delegates.glGetString((OpenTK.Graphics.ES30.StringName)name)); } - #if DEBUG - } - #endif - } + public static extern String GetString(OpenTK.Graphics.ES30.StringName name); /// [requires: v3.0 and ES_VERSION_3_0] /// Return a string describing the current GL connection @@ -30838,18 +18934,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetStringi")] - public static - String GetString(OpenTK.Graphics.ES30.All name, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)Delegates.glGetStringi((OpenTK.Graphics.ES30.StringNameIndexed)name, (UInt32)index)); } - #if DEBUG - } - #endif - } + public static extern String GetString(OpenTK.Graphics.ES30.All name, Int32 index); /// [requires: v3.0 and ES_VERSION_3_0] /// Return a string describing the current GL connection @@ -30867,18 +18952,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetStringi")] - public static - String GetString(OpenTK.Graphics.ES30.All name, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)Delegates.glGetStringi((OpenTK.Graphics.ES30.StringNameIndexed)name, (UInt32)index)); } - #if DEBUG - } - #endif - } + public static extern String GetString(OpenTK.Graphics.ES30.All name, UInt32 index); /// [requires: v3.0 and ES_VERSION_3_0] /// Return a string describing the current GL connection @@ -30894,18 +18968,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetStringi")] - public static - String GetString(OpenTK.Graphics.ES30.StringNameIndexed name, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)Delegates.glGetStringi((OpenTK.Graphics.ES30.StringNameIndexed)name, (UInt32)index)); } - #if DEBUG - } - #endif - } + public static extern String GetString(OpenTK.Graphics.ES30.StringNameIndexed name, Int32 index); /// [requires: v3.0 and ES_VERSION_3_0] /// Return a string describing the current GL connection @@ -30922,18 +18985,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetStringi")] - public static - String GetString(OpenTK.Graphics.ES30.StringNameIndexed name, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)Delegates.glGetStringi((OpenTK.Graphics.ES30.StringNameIndexed)name, (UInt32)index)); } - #if DEBUG - } - #endif - } + public static extern String GetString(OpenTK.Graphics.ES30.StringNameIndexed name, UInt32 index); /// [requires: v3.0 and ES_VERSION_3_0] /// Query the properties of a sync object @@ -30965,26 +19017,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSynciv")] - public static - void GetSync(IntPtr sync, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] Int32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* values_ptr = values) - { - Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSync(IntPtr sync, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] Int32[] values); /// [requires: v3.0 and ES_VERSION_3_0] /// Query the properties of a sync object @@ -31016,27 +19049,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSynciv")] - public static - void GetSync(IntPtr sync, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* values_ptr = &values) - { - Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr); - length = *length_ptr; - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSync(IntPtr sync, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values); /// [requires: v3.0 and ES_VERSION_3_0] /// Query the properties of a sync object @@ -31069,18 +19082,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSynciv")] - public static - unsafe void GetSync(IntPtr sync, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (Int32*)length, (Int32*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetSync(IntPtr sync, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); /// [requires: v3.0 and ES_VERSION_3_0] /// Query the properties of a sync object @@ -31111,26 +19113,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSynciv")] - public static - void GetSync(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] Int32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* values_ptr = values) - { - Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSync(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] Int32[] values); /// [requires: v3.0 and ES_VERSION_3_0] /// Query the properties of a sync object @@ -31161,27 +19144,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSynciv")] - public static - void GetSync(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* values_ptr = &values) - { - Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr); - length = *length_ptr; - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSync(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values); /// [requires: v3.0 and ES_VERSION_3_0] /// Query the properties of a sync object @@ -31213,18 +19176,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSynciv")] - public static - unsafe void GetSync(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (Int32*)length, (Int32*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetSync(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -31246,24 +19198,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")] - public static - void GetTexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTexParameterfv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -31285,25 +19220,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")] - public static - void GetTexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetTexParameterfv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Single @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -31326,18 +19243,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")] - public static - unsafe void GetTexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameterfv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -31358,24 +19264,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")] - public static - void GetTexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameterName pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTexParameterfv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameterName pname, [OutAttribute] Single[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -31396,25 +19285,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")] - public static - void GetTexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameterName pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetTexParameterfv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameterName pname, [OutAttribute] out Single @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -31436,18 +19307,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameterfv")] - public static - unsafe void GetTexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameterName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameterfv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameterName pname, [OutAttribute] Single* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -31469,24 +19329,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")] - public static - void GetTexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTexParameteriv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -31508,25 +19351,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")] - public static - void GetTexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTexParameteriv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -31549,18 +19374,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")] - public static - unsafe void GetTexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameteriv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -31581,24 +19395,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")] - public static - void GetTexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTexParameteriv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameterName pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -31619,25 +19416,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")] - public static - void GetTexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTexParameteriv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameterName pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return texture parameter values @@ -31659,18 +19438,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetTexParameteriv")] - public static - unsafe void GetTexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameteriv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameterName pname, [OutAttribute] Int32* @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve information about varying variables selected for transform feedback @@ -31712,29 +19480,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static - void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.All type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ES30.All* type_ptr = &type) - { - Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES30.TransformFeedbackType*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.All type, [OutAttribute] StringBuilder name); /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve information about varying variables selected for transform feedback @@ -31775,29 +19521,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static - void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.TransformFeedbackType type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ES30.TransformFeedbackType* type_ptr = &type) - { - Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES30.TransformFeedbackType*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.TransformFeedbackType type, [OutAttribute] StringBuilder name); /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve information about varying variables selected for transform feedback @@ -31840,18 +19564,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static - unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.All* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES30.TransformFeedbackType*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.All* type, [OutAttribute] StringBuilder name); /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve information about varying variables selected for transform feedback @@ -31893,18 +19606,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static - unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.TransformFeedbackType* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES30.TransformFeedbackType*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.TransformFeedbackType* type, [OutAttribute] StringBuilder name); /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve information about varying variables selected for transform feedback @@ -31947,29 +19649,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static - void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.All type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ES30.All* type_ptr = &type) - { - Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES30.TransformFeedbackType*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.All type, [OutAttribute] StringBuilder name); /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve information about varying variables selected for transform feedback @@ -32011,29 +19691,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static - void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.TransformFeedbackType type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ES30.TransformFeedbackType* type_ptr = &type) - { - Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES30.TransformFeedbackType*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.TransformFeedbackType type, [OutAttribute] StringBuilder name); /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve information about varying variables selected for transform feedback @@ -32076,18 +19734,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static - unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.All* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES30.TransformFeedbackType*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.All* type, [OutAttribute] StringBuilder name); /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve information about varying variables selected for transform feedback @@ -32129,18 +19776,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static - unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.TransformFeedbackType* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES30.TransformFeedbackType*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.TransformFeedbackType* type, [OutAttribute] StringBuilder name); /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve the index of a named uniform block @@ -32156,18 +19792,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformBlockIndex")] - public static - Int32 GetUniformBlockIndex(Int32 program, String uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetUniformBlockIndex((UInt32)program, (String)uniformBlockName); - #if DEBUG - } - #endif - } + public static extern Int32 GetUniformBlockIndex(Int32 program, String uniformBlockName); /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve the index of a named uniform block @@ -32184,18 +19809,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformBlockIndex")] - public static - Int32 GetUniformBlockIndex(UInt32 program, String uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetUniformBlockIndex((UInt32)program, (String)uniformBlockName); - #if DEBUG - } - #endif - } + public static extern Int32 GetUniformBlockIndex(UInt32 program, String uniformBlockName); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -32216,24 +19830,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static - void GetUniform(Int32 program, Int32 location, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] Single[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -32254,25 +19851,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static - void GetUniform(Int32 program, Int32 location, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] out Single @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -32294,18 +19873,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static - unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Single* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -32327,24 +19895,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static - void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -32366,25 +19917,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static - void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Single @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -32406,18 +19939,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static - unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single* @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve the index of a named uniform block @@ -32443,24 +19965,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformIndices")] - public static - void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] Int32[] uniformIndices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* uniformIndices_ptr = uniformIndices) - { - Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] Int32[] uniformIndices); /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve the index of a named uniform block @@ -32486,25 +19991,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformIndices")] - public static - void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] out Int32 uniformIndices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* uniformIndices_ptr = &uniformIndices) - { - Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices_ptr); - uniformIndices = *uniformIndices_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] out Int32 uniformIndices); /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve the index of a named uniform block @@ -32531,18 +20018,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformIndices")] - public static - unsafe void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] Int32* uniformIndices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] Int32* uniformIndices); /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve the index of a named uniform block @@ -32569,24 +20045,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformIndices")] - public static - void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] UInt32[] uniformIndices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* uniformIndices_ptr = uniformIndices) - { - Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] UInt32[] uniformIndices); /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve the index of a named uniform block @@ -32613,25 +20072,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformIndices")] - public static - void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] out UInt32 uniformIndices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* uniformIndices_ptr = &uniformIndices) - { - Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices_ptr); - uniformIndices = *uniformIndices_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] out UInt32 uniformIndices); /// [requires: v3.0 and ES_VERSION_3_0] /// Retrieve the index of a named uniform block @@ -32658,18 +20099,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformIndices")] - public static - unsafe void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] UInt32* uniformIndices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] UInt32* uniformIndices); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -32690,24 +20120,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static - void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -32728,25 +20141,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static - void GetUniform(Int32 program, Int32 location, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -32768,18 +20163,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static - unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -32801,24 +20185,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static - void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -32840,25 +20207,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static - void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the value of a uniform variable @@ -32880,18 +20229,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static - unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the location of a uniform variable @@ -32907,18 +20245,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformLocation")] - public static - Int32 GetUniformLocation(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetUniformLocation((UInt32)program, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetUniformLocation(Int32 program, String name); /// [requires: v2.0 and ES_VERSION_2_0] /// Returns the location of a uniform variable @@ -32935,18 +20262,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformLocation")] - public static - Int32 GetUniformLocation(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetUniformLocation((UInt32)program, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetUniformLocation(UInt32 program, String name); /// [requires: v3.0 and ES_VERSION_3_0] /// Returns the value of a uniform variable @@ -32968,24 +20284,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformuiv")] - public static - void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetUniformuiv((UInt32)program, (Int32)location, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt32[] @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Returns the value of a uniform variable @@ -33007,25 +20306,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformuiv")] - public static - void GetUniform(UInt32 program, Int32 location, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetUniformuiv((UInt32)program, (Int32)location, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] out UInt32 @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Returns the value of a uniform variable @@ -33047,18 +20328,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformuiv")] - public static - unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformuiv((UInt32)program, (Int32)location, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -33080,24 +20350,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -33119,25 +20372,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Single @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -33160,18 +20395,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -33192,24 +20416,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Single[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -33230,25 +20437,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] out Single @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -33270,18 +20459,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Single* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -33304,24 +20482,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -33344,25 +20505,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Single @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -33385,18 +20528,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -33418,24 +20550,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Single[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -33457,25 +20572,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] out Single @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -33497,134 +20594,36 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Single* @params); /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] - public static - void GetVertexAttribI(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribI(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params); /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] - public static - unsafe void GetVertexAttribI(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttribI(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] - public static - void GetVertexAttribI(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribI(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params); /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] - public static - unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIuiv")] - public static - void GetVertexAttribI(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribIuiv((UInt32)index, (OpenTK.Graphics.ES30.All)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribI(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] out UInt32 @params); /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIuiv")] - public static - unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribIuiv((UInt32)index, (OpenTK.Graphics.ES30.All)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -33646,24 +20645,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -33685,25 +20667,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -33726,18 +20690,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -33758,24 +20711,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -33796,25 +20732,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -33836,18 +20754,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -33870,24 +20777,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -33910,25 +20800,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -33951,18 +20823,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -33984,24 +20845,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -34023,25 +20867,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] out Int32 @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return a generic vertex attribute parameter @@ -34063,18 +20889,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -34096,18 +20911,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr pointer); /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -34129,27 +20933,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[] pointer) + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -34171,27 +20957,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[,] pointer) + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -34213,27 +20981,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[,,] pointer) + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[,,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -34255,28 +21005,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] ref T2 pointer) + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] ref T2 pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -34297,18 +21028,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer); /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -34329,27 +21049,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[] pointer) + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -34370,27 +21072,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,] pointer) + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -34411,27 +21095,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,,] pointer) + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -34452,28 +21118,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] ref T2 pointer) + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] ref T2 pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -34496,18 +21143,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr pointer); /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -34530,27 +21166,9 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[] pointer) + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -34573,27 +21191,9 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[,] pointer) + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -34616,27 +21216,9 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[,,] pointer) + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[,,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -34659,28 +21241,9 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] ref T2 pointer) + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] ref T2 pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -34702,18 +21265,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer); /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -34735,27 +21287,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[] pointer) + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -34777,27 +21311,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,] pointer) + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -34819,27 +21335,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,,] pointer) + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Return the address of the specified generic vertex attribute pointer @@ -34861,28 +21359,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] ref T2 pointer) + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] ref T2 pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify implementation-specific hints @@ -34899,18 +21378,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glHint")] - public static - void Hint(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glHint((OpenTK.Graphics.ES30.HintTarget)target, (OpenTK.Graphics.ES30.HintMode)mode); - #if DEBUG - } - #endif - } + public static extern void Hint(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All mode); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify implementation-specific hints @@ -34926,18 +21394,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glHint")] - public static - void Hint(OpenTK.Graphics.ES30.HintTarget target, OpenTK.Graphics.ES30.HintMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glHint((OpenTK.Graphics.ES30.HintTarget)target, (OpenTK.Graphics.ES30.HintMode)mode); - #if DEBUG - } - #endif - } + public static extern void Hint(OpenTK.Graphics.ES30.HintTarget target, OpenTK.Graphics.ES30.HintMode mode); /// [requires: v3.0 and ES_VERSION_3_0] /// Invalidate the content some or all of a framebuffer object's attachments @@ -34959,24 +21416,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glInvalidateFramebuffer")] - public static - void InvalidateFramebuffer(OpenTK.Graphics.ES30.All target, Int32 numAttachments, OpenTK.Graphics.ES30.All[] attachments) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.All* attachments_ptr = attachments) - { - Delegates.glInvalidateFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES30.FramebufferAttachment*)attachments_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void InvalidateFramebuffer(OpenTK.Graphics.ES30.All target, Int32 numAttachments, OpenTK.Graphics.ES30.All[] attachments); /// [requires: v3.0 and ES_VERSION_3_0] /// Invalidate the content some or all of a framebuffer object's attachments @@ -34998,24 +21438,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glInvalidateFramebuffer")] - public static - void InvalidateFramebuffer(OpenTK.Graphics.ES30.All target, Int32 numAttachments, ref OpenTK.Graphics.ES30.All attachments) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.All* attachments_ptr = &attachments) - { - Delegates.glInvalidateFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES30.FramebufferAttachment*)attachments_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void InvalidateFramebuffer(OpenTK.Graphics.ES30.All target, Int32 numAttachments, ref OpenTK.Graphics.ES30.All attachments); /// [requires: v3.0 and ES_VERSION_3_0] /// Invalidate the content some or all of a framebuffer object's attachments @@ -35038,18 +21461,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glInvalidateFramebuffer")] - public static - unsafe void InvalidateFramebuffer(OpenTK.Graphics.ES30.All target, Int32 numAttachments, OpenTK.Graphics.ES30.All* attachments) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInvalidateFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES30.FramebufferAttachment*)attachments); - #if DEBUG - } - #endif - } + public static extern unsafe void InvalidateFramebuffer(OpenTK.Graphics.ES30.All target, Int32 numAttachments, OpenTK.Graphics.ES30.All* attachments); /// [requires: v3.0 and ES_VERSION_3_0] /// Invalidate the content some or all of a framebuffer object's attachments @@ -35070,24 +21482,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glInvalidateFramebuffer")] - public static - void InvalidateFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.ES30.FramebufferAttachment[] attachments) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.FramebufferAttachment* attachments_ptr = attachments) - { - Delegates.glInvalidateFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES30.FramebufferAttachment*)attachments_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void InvalidateFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.ES30.FramebufferAttachment[] attachments); /// [requires: v3.0 and ES_VERSION_3_0] /// Invalidate the content some or all of a framebuffer object's attachments @@ -35108,24 +21503,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glInvalidateFramebuffer")] - public static - void InvalidateFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, Int32 numAttachments, ref OpenTK.Graphics.ES30.FramebufferAttachment attachments) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.FramebufferAttachment* attachments_ptr = &attachments) - { - Delegates.glInvalidateFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES30.FramebufferAttachment*)attachments_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void InvalidateFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, Int32 numAttachments, ref OpenTK.Graphics.ES30.FramebufferAttachment attachments); /// [requires: v3.0 and ES_VERSION_3_0] /// Invalidate the content some or all of a framebuffer object's attachments @@ -35147,18 +21525,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glInvalidateFramebuffer")] - public static - unsafe void InvalidateFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.ES30.FramebufferAttachment* attachments) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInvalidateFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES30.FramebufferAttachment*)attachments); - #if DEBUG - } - #endif - } + public static extern unsafe void InvalidateFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.ES30.FramebufferAttachment* attachments); /// [requires: v3.0 and ES_VERSION_3_0] /// Invalidate the content of a region of some or all of a framebuffer object's attachments @@ -35200,24 +21567,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glInvalidateSubFramebuffer")] - public static - void InvalidateSubFramebuffer(OpenTK.Graphics.ES30.All target, Int32 numAttachments, OpenTK.Graphics.ES30.All[] attachments, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.All* attachments_ptr = attachments) - { - Delegates.glInvalidateSubFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES30.FramebufferAttachment*)attachments_ptr, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - } - #if DEBUG - } - #endif - } + public static extern void InvalidateSubFramebuffer(OpenTK.Graphics.ES30.All target, Int32 numAttachments, OpenTK.Graphics.ES30.All[] attachments, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v3.0 and ES_VERSION_3_0] /// Invalidate the content of a region of some or all of a framebuffer object's attachments @@ -35259,24 +21609,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glInvalidateSubFramebuffer")] - public static - void InvalidateSubFramebuffer(OpenTK.Graphics.ES30.All target, Int32 numAttachments, ref OpenTK.Graphics.ES30.All attachments, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.All* attachments_ptr = &attachments) - { - Delegates.glInvalidateSubFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES30.FramebufferAttachment*)attachments_ptr, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - } - #if DEBUG - } - #endif - } + public static extern void InvalidateSubFramebuffer(OpenTK.Graphics.ES30.All target, Int32 numAttachments, ref OpenTK.Graphics.ES30.All attachments, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v3.0 and ES_VERSION_3_0] /// Invalidate the content of a region of some or all of a framebuffer object's attachments @@ -35319,18 +21652,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glInvalidateSubFramebuffer")] - public static - unsafe void InvalidateSubFramebuffer(OpenTK.Graphics.ES30.All target, Int32 numAttachments, OpenTK.Graphics.ES30.All* attachments, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInvalidateSubFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES30.FramebufferAttachment*)attachments, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern unsafe void InvalidateSubFramebuffer(OpenTK.Graphics.ES30.All target, Int32 numAttachments, OpenTK.Graphics.ES30.All* attachments, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v3.0 and ES_VERSION_3_0] /// Invalidate the content of a region of some or all of a framebuffer object's attachments @@ -35371,24 +21693,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glInvalidateSubFramebuffer")] - public static - void InvalidateSubFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.ES30.FramebufferAttachment[] attachments, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.FramebufferAttachment* attachments_ptr = attachments) - { - Delegates.glInvalidateSubFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES30.FramebufferAttachment*)attachments_ptr, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - } - #if DEBUG - } - #endif - } + public static extern void InvalidateSubFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.ES30.FramebufferAttachment[] attachments, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v3.0 and ES_VERSION_3_0] /// Invalidate the content of a region of some or all of a framebuffer object's attachments @@ -35429,24 +21734,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glInvalidateSubFramebuffer")] - public static - void InvalidateSubFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, Int32 numAttachments, ref OpenTK.Graphics.ES30.FramebufferAttachment attachments, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.FramebufferAttachment* attachments_ptr = &attachments) - { - Delegates.glInvalidateSubFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES30.FramebufferAttachment*)attachments_ptr, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - } - #if DEBUG - } - #endif - } + public static extern void InvalidateSubFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, Int32 numAttachments, ref OpenTK.Graphics.ES30.FramebufferAttachment attachments, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v3.0 and ES_VERSION_3_0] /// Invalidate the content of a region of some or all of a framebuffer object's attachments @@ -35488,18 +21776,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glInvalidateSubFramebuffer")] - public static - unsafe void InvalidateSubFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.ES30.FramebufferAttachment* attachments, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInvalidateSubFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES30.FramebufferAttachment*)attachments, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern unsafe void InvalidateSubFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.ES30.FramebufferAttachment* attachments, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v2.0 and ES_VERSION_2_0] /// Determine if a name corresponds to a buffer object @@ -35510,18 +21787,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsBuffer")] - public static - bool IsBuffer(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsBuffer((UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern bool IsBuffer(Int32 buffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Determine if a name corresponds to a buffer object @@ -35533,18 +21799,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsBuffer")] - public static - bool IsBuffer(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsBuffer((UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern bool IsBuffer(UInt32 buffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Test whether a capability is enabled @@ -35561,18 +21816,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsEnabled")] - public static - bool IsEnabled(OpenTK.Graphics.ES30.All cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsEnabled((OpenTK.Graphics.ES30.EnableCap)cap); - #if DEBUG - } - #endif - } + public static extern bool IsEnabled(OpenTK.Graphics.ES30.All cap); /// [requires: v2.0 and ES_VERSION_2_0] /// Test whether a capability is enabled @@ -35588,18 +21832,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsEnabled")] - public static - bool IsEnabled(OpenTK.Graphics.ES30.EnableCap cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsEnabled((OpenTK.Graphics.ES30.EnableCap)cap); - #if DEBUG - } - #endif - } + public static extern bool IsEnabled(OpenTK.Graphics.ES30.EnableCap cap); /// [requires: v2.0 and ES_VERSION_2_0] /// Determine if a name corresponds to a framebuffer object @@ -35610,18 +21843,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsFramebuffer")] - public static - bool IsFramebuffer(Int32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsFramebuffer((UInt32)framebuffer); - #if DEBUG - } - #endif - } + public static extern bool IsFramebuffer(Int32 framebuffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Determine if a name corresponds to a framebuffer object @@ -35633,18 +21855,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsFramebuffer")] - public static - bool IsFramebuffer(UInt32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsFramebuffer((UInt32)framebuffer); - #if DEBUG - } - #endif - } + public static extern bool IsFramebuffer(UInt32 framebuffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Determines if a name corresponds to a program object @@ -35655,18 +21866,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsProgram")] - public static - bool IsProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern bool IsProgram(Int32 program); /// [requires: v2.0 and ES_VERSION_2_0] /// Determines if a name corresponds to a program object @@ -35678,18 +21878,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsProgram")] - public static - bool IsProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern bool IsProgram(UInt32 program); /// [requires: v3.0 and ES_VERSION_3_0] /// Determine if a name corresponds to a query object @@ -35700,18 +21889,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glIsQuery")] - public static - bool IsQuery(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsQuery((UInt32)id); - #if DEBUG - } - #endif - } + public static extern bool IsQuery(Int32 id); /// [requires: v3.0 and ES_VERSION_3_0] /// Determine if a name corresponds to a query object @@ -35723,18 +21901,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glIsQuery")] - public static - bool IsQuery(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsQuery((UInt32)id); - #if DEBUG - } - #endif - } + public static extern bool IsQuery(UInt32 id); /// [requires: v2.0 and ES_VERSION_2_0] /// Determine if a name corresponds to a renderbuffer object @@ -35745,18 +21912,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsRenderbuffer")] - public static - bool IsRenderbuffer(Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsRenderbuffer((UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern bool IsRenderbuffer(Int32 renderbuffer); /// [requires: v2.0 and ES_VERSION_2_0] /// Determine if a name corresponds to a renderbuffer object @@ -35768,18 +21924,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsRenderbuffer")] - public static - bool IsRenderbuffer(UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsRenderbuffer((UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern bool IsRenderbuffer(UInt32 renderbuffer); /// [requires: v3.0 and ES_VERSION_3_0] /// Determine if a name corresponds to a sampler object @@ -35790,18 +21935,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glIsSampler")] - public static - bool IsSampler(Int32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsSampler((UInt32)sampler); - #if DEBUG - } - #endif - } + public static extern bool IsSampler(Int32 sampler); /// [requires: v3.0 and ES_VERSION_3_0] /// Determine if a name corresponds to a sampler object @@ -35813,18 +21947,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glIsSampler")] - public static - bool IsSampler(UInt32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsSampler((UInt32)sampler); - #if DEBUG - } - #endif - } + public static extern bool IsSampler(UInt32 sampler); /// [requires: v2.0 and ES_VERSION_2_0] /// Determines if a name corresponds to a shader object @@ -35835,18 +21958,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsShader")] - public static - bool IsShader(Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsShader((UInt32)shader); - #if DEBUG - } - #endif - } + public static extern bool IsShader(Int32 shader); /// [requires: v2.0 and ES_VERSION_2_0] /// Determines if a name corresponds to a shader object @@ -35858,18 +21970,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsShader")] - public static - bool IsShader(UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsShader((UInt32)shader); - #if DEBUG - } - #endif - } + public static extern bool IsShader(UInt32 shader); /// [requires: v3.0 and ES_VERSION_3_0] /// Determine if a name corresponds to a sync object @@ -35880,18 +21981,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glIsSync")] - public static - bool IsSync(IntPtr sync) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsSync((IntPtr)sync); - #if DEBUG - } - #endif - } + public static extern bool IsSync(IntPtr sync); /// [requires: v2.0 and ES_VERSION_2_0] /// Determine if a name corresponds to a texture @@ -35902,18 +21992,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsTexture")] - public static - bool IsTexture(Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsTexture((UInt32)texture); - #if DEBUG - } - #endif - } + public static extern bool IsTexture(Int32 texture); /// [requires: v2.0 and ES_VERSION_2_0] /// Determine if a name corresponds to a texture @@ -35925,18 +22004,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glIsTexture")] - public static - bool IsTexture(UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsTexture((UInt32)texture); - #if DEBUG - } - #endif - } + public static extern bool IsTexture(UInt32 texture); /// [requires: v3.0 and ES_VERSION_3_0] /// Determine if a name corresponds to a transform feedback object @@ -35947,18 +22015,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glIsTransformFeedback")] - public static - bool IsTransformFeedback(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsTransformFeedback((UInt32)id); - #if DEBUG - } - #endif - } + public static extern bool IsTransformFeedback(Int32 id); /// [requires: v3.0 and ES_VERSION_3_0] /// Determine if a name corresponds to a transform feedback object @@ -35970,18 +22027,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glIsTransformFeedback")] - public static - bool IsTransformFeedback(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsTransformFeedback((UInt32)id); - #if DEBUG - } - #endif - } + public static extern bool IsTransformFeedback(UInt32 id); /// [requires: v3.0 and ES_VERSION_3_0] /// Determine if a name corresponds to a vertex array object @@ -35992,18 +22038,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glIsVertexArray")] - public static - bool IsVertexArray(Int32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsVertexArray((UInt32)array); - #if DEBUG - } - #endif - } + public static extern bool IsVertexArray(Int32 array); /// [requires: v3.0 and ES_VERSION_3_0] /// Determine if a name corresponds to a vertex array object @@ -36015,18 +22050,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glIsVertexArray")] - public static - bool IsVertexArray(UInt32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsVertexArray((UInt32)array); - #if DEBUG - } - #endif - } + public static extern bool IsVertexArray(UInt32 array); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the width of rasterized lines @@ -36037,18 +22061,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glLineWidth")] - public static - void LineWidth(Single width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLineWidth((Single)width); - #if DEBUG - } - #endif - } + public static extern void LineWidth(Single width); /// [requires: v2.0 and ES_VERSION_2_0] /// Links a program object @@ -36059,18 +22072,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glLinkProgram")] - public static - void LinkProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLinkProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void LinkProgram(Int32 program); /// [requires: v2.0 and ES_VERSION_2_0] /// Links a program object @@ -36082,18 +22084,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glLinkProgram")] - public static - void LinkProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLinkProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void LinkProgram(UInt32 program); /// [requires: v3.0 and ES_VERSION_3_0] /// Map a section of a buffer object's data store @@ -36120,18 +22111,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glMapBufferRange")] - public static - IntPtr MapBufferRange(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr length, OpenTK.Graphics.ES30.All access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glMapBufferRange((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (OpenTK.Graphics.ES30.BufferAccessMask)access); - #if DEBUG - } - #endif - } + public static extern IntPtr MapBufferRange(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr length, OpenTK.Graphics.ES30.All access); /// [requires: v3.0 and ES_VERSION_3_0] /// Map a section of a buffer object's data store @@ -36157,18 +22137,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glMapBufferRange")] - public static - IntPtr MapBufferRange(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.ES30.BufferAccessMask access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glMapBufferRange((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (OpenTK.Graphics.ES30.BufferAccessMask)access); - #if DEBUG - } - #endif - } + public static extern IntPtr MapBufferRange(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.ES30.BufferAccessMask access); /// /// Label a named object identified within a namespace @@ -36195,18 +22164,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabel")] - public static - void ObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void ObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 length, String label); /// /// Label a named object identified within a namespace @@ -36234,18 +22192,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabel")] - public static - void ObjectLabel(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void ObjectLabel(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 length, String label); /// /// Label a named object identified within a namespace @@ -36271,18 +22218,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabel")] - public static - void ObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, Int32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void ObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, Int32 name, Int32 length, String label); /// /// Label a named object identified within a namespace @@ -36309,18 +22245,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabel")] - public static - void ObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void ObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label); /// /// Label a a sync object identified by a pointer @@ -36341,18 +22266,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabel")] - public static - void ObjectPtrLabel(IntPtr ptr, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glObjectPtrLabel((IntPtr)ptr, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void ObjectPtrLabel(IntPtr ptr, Int32 length, String label); /// /// Label a a sync object identified by a pointer @@ -36373,27 +22287,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabel")] - public static - void ObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 length, String label) + public static extern void ObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 length, String label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Label a a sync object identified by a pointer @@ -36414,27 +22310,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabel")] - public static - void ObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 length, String label) + public static extern void ObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 length, String label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Label a a sync object identified by a pointer @@ -36455,27 +22333,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabel")] - public static - void ObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 length, String label) + public static extern void ObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 length, String label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Label a a sync object identified by a pointer @@ -36496,45 +22356,15 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabel")] - public static - void ObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 length, String label) + public static extern void ObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 length, String label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label); - ptr = (T0)ptr_ptr.Target; - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Pause transform feedback operations /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glPauseTransformFeedback")] - public static - void PauseTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPauseTransformFeedback(); - #if DEBUG - } - #endif - } + public static extern void PauseTransformFeedback(); /// [requires: v2.0 and ES_VERSION_2_0] /// Set pixel storage modes @@ -36551,18 +22381,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glPixelStorei")] - public static - void PixelStore(OpenTK.Graphics.ES30.All pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelStorei((OpenTK.Graphics.ES30.PixelStoreParameter)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void PixelStore(OpenTK.Graphics.ES30.All pname, Int32 param); /// [requires: v2.0 and ES_VERSION_2_0] /// Set pixel storage modes @@ -36578,18 +22397,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glPixelStorei")] - public static - void PixelStore(OpenTK.Graphics.ES30.PixelStoreParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelStorei((OpenTK.Graphics.ES30.PixelStoreParameter)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void PixelStore(OpenTK.Graphics.ES30.PixelStoreParameter pname, Int32 param); /// [requires: v2.0 and ES_VERSION_2_0] /// Set the scale and units used to calculate depth values @@ -36605,35 +22413,13 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glPolygonOffset")] - public static - void PolygonOffset(Single factor, Single units) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPolygonOffset((Single)factor, (Single)units); - #if DEBUG - } - #endif - } + public static extern void PolygonOffset(Single factor, Single units); /// /// Pop the active debug group /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPopDebugGroup")] - public static - void PopDebugGroup() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPopDebugGroup(); - #if DEBUG - } - #endif - } + public static extern void PopDebugGroup(); /// [requires: v3.0 and ES_VERSION_3_0] /// Load a program object with a program binary @@ -36659,18 +22445,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramBinary")] - public static - void ProgramBinary(Int32 program, OpenTK.Graphics.ES30.All binaryFormat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary, (Int32)length); - #if DEBUG - } - #endif - } + public static extern void ProgramBinary(Int32 program, OpenTK.Graphics.ES30.All binaryFormat, IntPtr binary, Int32 length); /// [requires: v3.0 and ES_VERSION_3_0] /// Load a program object with a program binary @@ -36696,27 +22471,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramBinary")] - public static - void ProgramBinary(Int32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T2[] binary, Int32 length) + public static extern void ProgramBinary(Int32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T2[] binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Load a program object with a program binary @@ -36742,27 +22499,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramBinary")] - public static - void ProgramBinary(Int32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T2[,] binary, Int32 length) + public static extern void ProgramBinary(Int32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T2[,] binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Load a program object with a program binary @@ -36788,27 +22527,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramBinary")] - public static - void ProgramBinary(Int32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T2[,,] binary, Int32 length) + public static extern void ProgramBinary(Int32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T2[,,] binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Load a program object with a program binary @@ -36834,28 +22555,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramBinary")] - public static - void ProgramBinary(Int32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] ref T2 binary, Int32 length) + public static extern void ProgramBinary(Int32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] ref T2 binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T2)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Load a program object with a program binary @@ -36882,18 +22584,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramBinary")] - public static - void ProgramBinary(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary, (Int32)length); - #if DEBUG - } - #endif - } + public static extern void ProgramBinary(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, IntPtr binary, Int32 length); /// [requires: v3.0 and ES_VERSION_3_0] /// Load a program object with a program binary @@ -36920,27 +22611,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramBinary")] - public static - void ProgramBinary(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T2[] binary, Int32 length) + public static extern void ProgramBinary(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T2[] binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Load a program object with a program binary @@ -36967,27 +22640,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramBinary")] - public static - void ProgramBinary(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T2[,] binary, Int32 length) + public static extern void ProgramBinary(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T2[,] binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Load a program object with a program binary @@ -37014,27 +22669,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramBinary")] - public static - void ProgramBinary(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T2[,,] binary, Int32 length) + public static extern void ProgramBinary(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T2[,,] binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Load a program object with a program binary @@ -37061,28 +22698,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramBinary")] - public static - void ProgramBinary(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] ref T2 binary, Int32 length) + public static extern void ProgramBinary(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] ref T2 binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T2)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a parameter for a program object @@ -37104,18 +22722,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramParameteri")] - public static - void ProgramParameter(Int32 program, OpenTK.Graphics.ES30.All pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameteri((UInt32)program, (OpenTK.Graphics.ES30.ProgramParameterName)pname, (Int32)value); - #if DEBUG - } - #endif - } + public static extern void ProgramParameter(Int32 program, OpenTK.Graphics.ES30.All pname, Int32 value); /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a parameter for a program object @@ -37136,18 +22743,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramParameteri")] - public static - void ProgramParameter(Int32 program, OpenTK.Graphics.ES30.ProgramParameterName pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameteri((UInt32)program, (OpenTK.Graphics.ES30.ProgramParameterName)pname, (Int32)value); - #if DEBUG - } - #endif - } + public static extern void ProgramParameter(Int32 program, OpenTK.Graphics.ES30.ProgramParameterName pname, Int32 value); /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a parameter for a program object @@ -37170,18 +22766,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramParameteri")] - public static - void ProgramParameter(UInt32 program, OpenTK.Graphics.ES30.All pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameteri((UInt32)program, (OpenTK.Graphics.ES30.ProgramParameterName)pname, (Int32)value); - #if DEBUG - } - #endif - } + public static extern void ProgramParameter(UInt32 program, OpenTK.Graphics.ES30.All pname, Int32 value); /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a parameter for a program object @@ -37203,18 +22788,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramParameteri")] - public static - void ProgramParameter(UInt32 program, OpenTK.Graphics.ES30.ProgramParameterName pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameteri((UInt32)program, (OpenTK.Graphics.ES30.ProgramParameterName)pname, (Int32)value); - #if DEBUG - } - #endif - } + public static extern void ProgramParameter(UInt32 program, OpenTK.Graphics.ES30.ProgramParameterName pname, Int32 value); /// /// Push a named debug group into the command stream @@ -37240,18 +22814,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPushDebugGroup")] - public static - void PushDebugGroup(OpenTK.Graphics.ES30.All source, Int32 id, Int32 length, String message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPushDebugGroup((OpenTK.Graphics.ES30.All)source, (UInt32)id, (Int32)length, (String)message); - #if DEBUG - } - #endif - } + public static extern void PushDebugGroup(OpenTK.Graphics.ES30.All source, Int32 id, Int32 length, String message); /// /// Push a named debug group into the command stream @@ -37278,18 +22841,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPushDebugGroup")] - public static - void PushDebugGroup(OpenTK.Graphics.ES30.All source, UInt32 id, Int32 length, String message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPushDebugGroup((OpenTK.Graphics.ES30.All)source, (UInt32)id, (Int32)length, (String)message); - #if DEBUG - } - #endif - } + public static extern void PushDebugGroup(OpenTK.Graphics.ES30.All source, UInt32 id, Int32 length, String message); /// [requires: v3.0 and ES_VERSION_3_0] /// Select a color buffer source for pixels @@ -37301,18 +22853,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glReadBuffer")] - public static - void ReadBuffer(OpenTK.Graphics.ES30.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReadBuffer((OpenTK.Graphics.ES30.ReadBufferMode)mode); - #if DEBUG - } - #endif - } + public static extern void ReadBuffer(OpenTK.Graphics.ES30.All mode); /// [requires: v3.0 and ES_VERSION_3_0] /// Select a color buffer source for pixels @@ -37323,18 +22864,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glReadBuffer")] - public static - void ReadBuffer(OpenTK.Graphics.ES30.ReadBufferMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReadBuffer((OpenTK.Graphics.ES30.ReadBufferMode)mode); - #if DEBUG - } - #endif - } + public static extern void ReadBuffer(OpenTK.Graphics.ES30.ReadBufferMode mode); /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -37366,18 +22896,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [OutAttribute] IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [OutAttribute] IntPtr pixels); /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -37409,27 +22928,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T6[] pixels) + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T6[] pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -37461,27 +22962,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T6[,] pixels) + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T6[,] pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -37513,27 +22996,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T6[,,] pixels) + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T6[,,] pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -37565,28 +23030,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T6 pixels) + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T6 pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T6)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -37617,18 +23063,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [OutAttribute] IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [OutAttribute] IntPtr pixels); /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -37659,27 +23094,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T6[] pixels) + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T6[] pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -37710,27 +23127,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T6[,] pixels) + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T6[,] pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -37761,27 +23160,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T6[,,] pixels) + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T6[,,] pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Read a block of pixels from the frame buffer @@ -37812,45 +23193,15 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] ref T6 pixels) + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] ref T6 pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T6)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Release resources consumed by the implementation's shader compiler /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glReleaseShaderCompiler")] - public static - void ReleaseShaderCompiler() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReleaseShaderCompiler(); - #if DEBUG - } - #endif - } + public static extern void ReleaseShaderCompiler(); /// [requires: v2.0 and ES_VERSION_2_0] /// Establish data storage, format and dimensions of a renderbuffer object's image @@ -37877,18 +23228,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glRenderbufferStorage")] - public static - void RenderbufferStorage(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorage((OpenTK.Graphics.ES30.RenderbufferTarget)target, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorage(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height); /// [requires: v2.0 and ES_VERSION_2_0] /// Establish data storage, format and dimensions of a renderbuffer object's image @@ -37914,18 +23254,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glRenderbufferStorage")] - public static - void RenderbufferStorage(OpenTK.Graphics.ES30.RenderbufferTarget target, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorage((OpenTK.Graphics.ES30.RenderbufferTarget)target, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorage(OpenTK.Graphics.ES30.RenderbufferTarget target, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); /// [requires: v3.0 and ES_VERSION_3_0] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -37957,18 +23286,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glRenderbufferStorageMultisample")] - public static - void RenderbufferStorageMultisample(OpenTK.Graphics.ES30.All target, Int32 samples, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageMultisample((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorageMultisample(OpenTK.Graphics.ES30.All target, Int32 samples, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height); /// [requires: v3.0 and ES_VERSION_3_0] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -37999,35 +23317,13 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glRenderbufferStorageMultisample")] - public static - void RenderbufferStorageMultisample(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageMultisample((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorageMultisample(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); /// [requires: v3.0 and ES_VERSION_3_0] /// Resume transform feedback operations /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glResumeTransformFeedback")] - public static - void ResumeTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glResumeTransformFeedback(); - #if DEBUG - } - #endif - } + public static extern void ResumeTransformFeedback(); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify multisample coverage parameters @@ -38043,18 +23339,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glSampleCoverage")] - public static - void SampleCoverage(Single value, bool invert) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSampleCoverage((Single)value, (bool)invert); - #if DEBUG - } - #endif - } + public static extern void SampleCoverage(Single value, bool invert); /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38081,18 +23366,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterf")] - public static - void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameterf((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, Single param); /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38118,18 +23392,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterf")] - public static - void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameterf((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Single param); /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38157,18 +23420,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterf")] - public static - void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameterf((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, Single param); /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38195,18 +23447,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterf")] - public static - void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameterf((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Single param); /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38233,24 +23474,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterfv")] - public static - void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, Single[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* param_ptr = param) - { - Delegates.glSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, Single[] param); /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38278,18 +23502,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterfv")] - public static - unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, Single* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, Single* param); /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38315,24 +23528,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterfv")] - public static - void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Single[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* param_ptr = param) - { - Delegates.glSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Single[] param); /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38359,18 +23555,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterfv")] - public static - unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Single* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Single* param); /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38398,24 +23583,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterfv")] - public static - void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, Single[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* param_ptr = param) - { - Delegates.glSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, Single[] param); /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38443,18 +23611,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterfv")] - public static - unsafe void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, Single* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, Single* param); /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38481,24 +23638,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterfv")] - public static - void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Single[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* param_ptr = param) - { - Delegates.glSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Single[] param); /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38525,18 +23665,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterfv")] - public static - unsafe void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Single* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Single* param); /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38563,18 +23692,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteri")] - public static - void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameteri((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, Int32 param); /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38600,18 +23718,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteri")] - public static - void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameteri((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Int32 param); /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38639,18 +23746,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteri")] - public static - void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameteri((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, Int32 param); /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38677,18 +23773,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteri")] - public static - void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameteri((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Int32 param); /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38715,24 +23800,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteriv")] - public static - void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, Int32[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = param) - { - Delegates.glSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, Int32[] param); /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38760,18 +23828,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteriv")] - public static - unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, Int32* param); /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38797,24 +23854,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteriv")] - public static - void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Int32[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = param) - { - Delegates.glSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Int32[] param); /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38841,18 +23881,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteriv")] - public static - unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Int32* param); /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38880,24 +23909,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteriv")] - public static - void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, Int32[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = param) - { - Delegates.glSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, Int32[] param); /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38925,18 +23937,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteriv")] - public static - unsafe void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.All pname, Int32* param); /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -38963,24 +23964,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteriv")] - public static - void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Int32[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = param) - { - Delegates.glSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Int32[] param); /// [requires: v3.0 and ES_VERSION_3_0] /// Set sampler parameters @@ -39007,18 +23991,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteriv")] - public static - unsafe void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Int32* param); /// [requires: v2.0 and ES_VERSION_2_0] /// Define the scissor box @@ -39034,18 +24007,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glScissor")] - public static - void Scissor(Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glScissor((Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void Scissor(Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -39077,24 +24039,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.All binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = shaders) - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.All binaryformat, IntPtr binary, Int32 length); /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -39126,33 +24071,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -39184,33 +24105,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -39242,33 +24139,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -39300,34 +24173,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -39358,24 +24206,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = shaders) - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length); /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -39406,33 +24237,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -39463,33 +24270,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -39520,33 +24303,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -39577,34 +24336,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -39636,24 +24370,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.All binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = &shaders) - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.All binaryformat, IntPtr binary, Int32 length); /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -39685,33 +24402,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -39743,33 +24436,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -39801,33 +24470,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -39859,34 +24504,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -39917,24 +24537,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = &shaders) - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length); /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -39965,33 +24568,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -40022,33 +24601,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -40079,33 +24634,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -40136,34 +24667,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -40196,18 +24702,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.All binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - #if DEBUG - } - #endif - } + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.All binaryformat, IntPtr binary, Int32 length); /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -40240,27 +24735,9 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -40293,27 +24770,9 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -40346,27 +24805,9 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -40399,28 +24840,9 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -40452,18 +24874,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - #if DEBUG - } - #endif - } + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length); /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -40495,27 +24906,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -40547,27 +24940,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -40599,27 +24974,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -40651,28 +25008,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -40705,24 +25043,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES30.All binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = shaders) - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES30.All binaryformat, IntPtr binary, Int32 length); /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -40755,33 +25076,9 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -40814,33 +25111,9 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -40873,33 +25146,9 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -40932,34 +25181,9 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -40991,24 +25215,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = shaders) - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length); /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -41040,33 +25247,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -41098,33 +25281,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -41156,33 +25315,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -41214,34 +25349,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -41274,24 +25384,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES30.All binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = &shaders) - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES30.All binaryformat, IntPtr binary, Int32 length); /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -41324,33 +25417,9 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -41383,33 +25452,9 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -41442,33 +25487,9 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -41501,34 +25522,9 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -41560,24 +25556,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = &shaders) - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length); /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -41609,33 +25588,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -41667,33 +25622,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -41725,33 +25656,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -41783,34 +25690,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -41843,18 +25725,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.All binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - #if DEBUG - } - #endif - } + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.All binaryformat, IntPtr binary, Int32 length); /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -41887,27 +25758,9 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -41940,27 +25793,9 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -41993,27 +25828,9 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -42046,28 +25863,9 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -42099,18 +25897,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - #if DEBUG - } - #endif - } + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length); /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -42142,27 +25929,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -42194,27 +25963,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -42246,27 +25997,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Load pre-compiled shader binaries @@ -42298,28 +26031,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Replaces the source code in a shader object @@ -42345,24 +26059,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static - void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32[] length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32[] length); /// [requires: v2.0 and ES_VERSION_2_0] /// Replaces the source code in a shader object @@ -42388,24 +26085,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static - void ShaderSource(Int32 shader, Int32 count, String[] @string, ref Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderSource(Int32 shader, Int32 count, String[] @string, ref Int32 length); /// [requires: v2.0 and ES_VERSION_2_0] /// Replaces the source code in a shader object @@ -42432,18 +26112,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static - unsafe void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length); - #if DEBUG - } - #endif - } + public static extern unsafe void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32* length); /// [requires: v2.0 and ES_VERSION_2_0] /// Replaces the source code in a shader object @@ -42470,24 +26139,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static - void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32[] length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32[] length); /// [requires: v2.0 and ES_VERSION_2_0] /// Replaces the source code in a shader object @@ -42514,24 +26166,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static - void ShaderSource(UInt32 shader, Int32 count, String[] @string, ref Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderSource(UInt32 shader, Int32 count, String[] @string, ref Int32 length); /// [requires: v2.0 and ES_VERSION_2_0] /// Replaces the source code in a shader object @@ -42558,18 +26193,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static - unsafe void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length); - #if DEBUG - } - #endif - } + public static extern unsafe void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length); /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and back function and reference value for stencil testing @@ -42591,18 +26215,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFunc")] - public static - void StencilFunc(OpenTK.Graphics.ES30.All func, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFunc((OpenTK.Graphics.ES30.StencilFunction)func, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilFunc(OpenTK.Graphics.ES30.All func, Int32 @ref, Int32 mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and back function and reference value for stencil testing @@ -42625,18 +26238,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFunc")] - public static - void StencilFunc(OpenTK.Graphics.ES30.All func, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFunc((OpenTK.Graphics.ES30.StencilFunction)func, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilFunc(OpenTK.Graphics.ES30.All func, Int32 @ref, UInt32 mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and back function and reference value for stencil testing @@ -42657,18 +26259,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFunc")] - public static - void StencilFunc(OpenTK.Graphics.ES30.StencilFunction func, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFunc((OpenTK.Graphics.ES30.StencilFunction)func, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilFunc(OpenTK.Graphics.ES30.StencilFunction func, Int32 @ref, Int32 mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and back function and reference value for stencil testing @@ -42690,18 +26281,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFunc")] - public static - void StencilFunc(OpenTK.Graphics.ES30.StencilFunction func, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFunc((OpenTK.Graphics.ES30.StencilFunction)func, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilFunc(OpenTK.Graphics.ES30.StencilFunction func, Int32 @ref, UInt32 mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and/or back function and reference value for stencil testing @@ -42728,18 +26308,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] - public static - void StencilFuncSeparate(OpenTK.Graphics.ES30.All face, OpenTK.Graphics.ES30.All func, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFuncSeparate((OpenTK.Graphics.ES30.StencilFace)face, (OpenTK.Graphics.ES30.StencilFunction)func, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilFuncSeparate(OpenTK.Graphics.ES30.All face, OpenTK.Graphics.ES30.All func, Int32 @ref, Int32 mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and/or back function and reference value for stencil testing @@ -42767,18 +26336,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] - public static - void StencilFuncSeparate(OpenTK.Graphics.ES30.All face, OpenTK.Graphics.ES30.All func, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFuncSeparate((OpenTK.Graphics.ES30.StencilFace)face, (OpenTK.Graphics.ES30.StencilFunction)func, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilFuncSeparate(OpenTK.Graphics.ES30.All face, OpenTK.Graphics.ES30.All func, Int32 @ref, UInt32 mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and/or back function and reference value for stencil testing @@ -42804,18 +26362,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] - public static - void StencilFuncSeparate(OpenTK.Graphics.ES30.StencilFace face, OpenTK.Graphics.ES30.StencilFunction func, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFuncSeparate((OpenTK.Graphics.ES30.StencilFace)face, (OpenTK.Graphics.ES30.StencilFunction)func, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilFuncSeparate(OpenTK.Graphics.ES30.StencilFace face, OpenTK.Graphics.ES30.StencilFunction func, Int32 @ref, Int32 mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and/or back function and reference value for stencil testing @@ -42842,18 +26389,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] - public static - void StencilFuncSeparate(OpenTK.Graphics.ES30.StencilFace face, OpenTK.Graphics.ES30.StencilFunction func, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFuncSeparate((OpenTK.Graphics.ES30.StencilFace)face, (OpenTK.Graphics.ES30.StencilFunction)func, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilFuncSeparate(OpenTK.Graphics.ES30.StencilFace face, OpenTK.Graphics.ES30.StencilFunction func, Int32 @ref, UInt32 mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Control the front and back writing of individual bits in the stencil planes @@ -42864,18 +26400,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMask")] - public static - void StencilMask(Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilMask((UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilMask(Int32 mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Control the front and back writing of individual bits in the stencil planes @@ -42887,18 +26412,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMask")] - public static - void StencilMask(UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilMask((UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilMask(UInt32 mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Control the front and/or back writing of individual bits in the stencil planes @@ -42915,18 +26429,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] - public static - void StencilMaskSeparate(OpenTK.Graphics.ES30.All face, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilMaskSeparate((OpenTK.Graphics.ES30.StencilFace)face, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilMaskSeparate(OpenTK.Graphics.ES30.All face, Int32 mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Control the front and/or back writing of individual bits in the stencil planes @@ -42944,18 +26447,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] - public static - void StencilMaskSeparate(OpenTK.Graphics.ES30.All face, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilMaskSeparate((OpenTK.Graphics.ES30.StencilFace)face, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilMaskSeparate(OpenTK.Graphics.ES30.All face, UInt32 mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Control the front and/or back writing of individual bits in the stencil planes @@ -42971,18 +26463,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] - public static - void StencilMaskSeparate(OpenTK.Graphics.ES30.StencilFace face, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilMaskSeparate((OpenTK.Graphics.ES30.StencilFace)face, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilMaskSeparate(OpenTK.Graphics.ES30.StencilFace face, Int32 mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Control the front and/or back writing of individual bits in the stencil planes @@ -42999,18 +26480,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] - public static - void StencilMaskSeparate(OpenTK.Graphics.ES30.StencilFace face, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilMaskSeparate((OpenTK.Graphics.ES30.StencilFace)face, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilMaskSeparate(OpenTK.Graphics.ES30.StencilFace face, UInt32 mask); /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and back stencil test actions @@ -43032,18 +26502,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilOp")] - public static - void StencilOp(OpenTK.Graphics.ES30.All fail, OpenTK.Graphics.ES30.All zfail, OpenTK.Graphics.ES30.All zpass) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilOp((OpenTK.Graphics.ES30.StencilOp)fail, (OpenTK.Graphics.ES30.StencilOp)zfail, (OpenTK.Graphics.ES30.StencilOp)zpass); - #if DEBUG - } - #endif - } + public static extern void StencilOp(OpenTK.Graphics.ES30.All fail, OpenTK.Graphics.ES30.All zfail, OpenTK.Graphics.ES30.All zpass); /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and back stencil test actions @@ -43064,18 +26523,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilOp")] - public static - void StencilOp(OpenTK.Graphics.ES30.StencilOp fail, OpenTK.Graphics.ES30.StencilOp zfail, OpenTK.Graphics.ES30.StencilOp zpass) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilOp((OpenTK.Graphics.ES30.StencilOp)fail, (OpenTK.Graphics.ES30.StencilOp)zfail, (OpenTK.Graphics.ES30.StencilOp)zpass); - #if DEBUG - } - #endif - } + public static extern void StencilOp(OpenTK.Graphics.ES30.StencilOp fail, OpenTK.Graphics.ES30.StencilOp zfail, OpenTK.Graphics.ES30.StencilOp zpass); /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and/or back stencil test actions @@ -43102,18 +26550,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilOpSeparate")] - public static - void StencilOpSeparate(OpenTK.Graphics.ES30.All face, OpenTK.Graphics.ES30.All sfail, OpenTK.Graphics.ES30.All dpfail, OpenTK.Graphics.ES30.All dppass) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilOpSeparate((OpenTK.Graphics.ES30.StencilFace)face, (OpenTK.Graphics.ES30.StencilOp)sfail, (OpenTK.Graphics.ES30.StencilOp)dpfail, (OpenTK.Graphics.ES30.StencilOp)dppass); - #if DEBUG - } - #endif - } + public static extern void StencilOpSeparate(OpenTK.Graphics.ES30.All face, OpenTK.Graphics.ES30.All sfail, OpenTK.Graphics.ES30.All dpfail, OpenTK.Graphics.ES30.All dppass); /// [requires: v2.0 and ES_VERSION_2_0] /// Set front and/or back stencil test actions @@ -43139,18 +26576,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilOpSeparate")] - public static - void StencilOpSeparate(OpenTK.Graphics.ES30.StencilFace face, OpenTK.Graphics.ES30.StencilOp sfail, OpenTK.Graphics.ES30.StencilOp dpfail, OpenTK.Graphics.ES30.StencilOp dppass) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilOpSeparate((OpenTK.Graphics.ES30.StencilFace)face, (OpenTK.Graphics.ES30.StencilOp)sfail, (OpenTK.Graphics.ES30.StencilOp)dpfail, (OpenTK.Graphics.ES30.StencilOp)dppass); - #if DEBUG - } - #endif - } + public static extern void StencilOpSeparate(OpenTK.Graphics.ES30.StencilFace face, OpenTK.Graphics.ES30.StencilOp sfail, OpenTK.Graphics.ES30.StencilOp dpfail, OpenTK.Graphics.ES30.StencilOp dppass); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -43202,18 +26628,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexImage2D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, IntPtr pixels); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -43265,27 +26680,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T8[] pixels) + public static extern void TexImage2D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T8[] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -43337,27 +26734,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T8[,] pixels) + public static extern void TexImage2D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T8[,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -43409,27 +26788,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T8[,,] pixels) + public static extern void TexImage2D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T8[,,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -43481,28 +26842,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T8 pixels) + public static extern void TexImage2D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T8 pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T8)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -43553,18 +26895,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -43615,27 +26946,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T8[] pixels) + public static extern void TexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T8[] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -43686,27 +26999,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) + public static extern void TexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -43757,27 +27052,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) + public static extern void TexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture image @@ -43828,28 +27105,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) + public static extern void TexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T8)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture image @@ -43906,18 +27164,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexImage3D")] - public static - void TexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, IntPtr pixels); /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture image @@ -43974,27 +27221,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexImage3D")] - public static - void TexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T9[] pixels) + public static extern void TexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T9[] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture image @@ -44051,27 +27280,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexImage3D")] - public static - void TexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T9[,] pixels) + public static extern void TexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T9[,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture image @@ -44128,27 +27339,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexImage3D")] - public static - void TexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T9[,,] pixels) + public static extern void TexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T9[,,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture image @@ -44205,28 +27398,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexImage3D")] - public static - void TexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T9 pixels) + public static extern void TexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T9 pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T9)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture image @@ -44282,18 +27456,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexImage3D")] - public static - void TexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels); /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture image @@ -44349,27 +27512,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexImage3D")] - public static - void TexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T9[] pixels) + public static extern void TexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T9[] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture image @@ -44425,27 +27570,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexImage3D")] - public static - void TexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) + public static extern void TexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture image @@ -44501,27 +27628,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexImage3D")] - public static - void TexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) + public static extern void TexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture image @@ -44577,28 +27686,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexImage3D")] - public static - void TexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) + public static extern void TexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T9)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -44628,18 +27718,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameterf")] - public static - void TexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterf((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void TexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, Single param); /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -44668,18 +27747,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameterf")] - public static - void TexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterf((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void TexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Single param); /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -44709,24 +27777,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameterfv")] - public static - void TexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glTexParameterfv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, Single[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -44757,18 +27808,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameterfv")] - public static - unsafe void TexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterfv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, Single* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -44797,24 +27837,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameterfv")] - public static - void TexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glTexParameterfv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Single[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -44844,18 +27867,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameterfv")] - public static - unsafe void TexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterfv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Single* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -44885,18 +27897,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameteri")] - public static - void TexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameteri((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void TexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, Int32 param); /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -44925,18 +27926,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameteri")] - public static - void TexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameteri((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void TexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Int32 param); /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -44966,24 +27956,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameteriv")] - public static - void TexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glTexParameteriv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -45014,18 +27987,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameteriv")] - public static - unsafe void TexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameteriv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexParameter(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, Int32* @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -45054,24 +28016,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameteriv")] - public static - void TexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glTexParameteriv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Int32[] @params); /// [requires: v2.0 and ES_VERSION_2_0] /// Set texture parameters @@ -45101,18 +28046,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexParameteriv")] - public static - unsafe void TexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameteriv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexParameter(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Int32* @params); /// [requires: v3.0 and ES_VERSION_3_0] /// Simultaneously specify storage for all levels of a two-dimensional or one-dimensional array texture @@ -45144,18 +28078,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexStorage2D")] - public static - void TexStorage2D(OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexStorage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void TexStorage2D(OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height); /// [requires: v3.0 and ES_VERSION_3_0] /// Simultaneously specify storage for all levels of a two-dimensional or one-dimensional array texture @@ -45186,18 +28109,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexStorage2D")] - public static - void TexStorage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexStorage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void TexStorage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height); /// [requires: v3.0 and ES_VERSION_3_0] /// Simultaneously specify storage for all levels of a three-dimensional, two-dimensional array or cube-map array texture @@ -45234,18 +28146,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexStorage3D")] - public static - void TexStorage3D(OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexStorage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth); - #if DEBUG - } - #endif - } + public static extern void TexStorage3D(OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth); /// [requires: v3.0 and ES_VERSION_3_0] /// Simultaneously specify storage for all levels of a three-dimensional, two-dimensional array or cube-map array texture @@ -45281,18 +28182,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexStorage3D")] - public static - void TexStorage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexStorage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth); - #if DEBUG - } - #endif - } + public static extern void TexStorage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -45344,18 +28234,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexSubImage2D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, IntPtr pixels); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -45407,27 +28286,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T8[] pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T8[] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -45479,27 +28340,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T8[,] pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T8[,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -45551,27 +28394,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T8[,,] pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T8[,,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -45623,28 +28448,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T8 pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T8 pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T8)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -45695,18 +28501,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -45757,27 +28552,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T8[] pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T8[] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -45828,27 +28605,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -45899,27 +28658,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Specify a two-dimensional texture subimage @@ -45970,28 +28711,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T8)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture subimage @@ -46053,18 +28775,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexSubImage3D")] - public static - void TexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, IntPtr pixels); /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture subimage @@ -46126,27 +28837,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexSubImage3D")] - public static - void TexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T10[] pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T10[] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture subimage @@ -46208,27 +28901,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexSubImage3D")] - public static - void TexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T10[,] pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T10[,] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture subimage @@ -46290,27 +28965,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexSubImage3D")] - public static - void TexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T10[,,] pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T10[,,] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture subimage @@ -46372,28 +29029,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexSubImage3D")] - public static - void TexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T10 pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T10 pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T10)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture subimage @@ -46454,18 +29092,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexSubImage3D")] - public static - void TexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels); /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture subimage @@ -46526,27 +29153,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexSubImage3D")] - public static - void TexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T10[] pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T10[] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture subimage @@ -46607,27 +29216,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexSubImage3D")] - public static - void TexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T10[,] pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T10[,] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture subimage @@ -46688,27 +29279,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexSubImage3D")] - public static - void TexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T10[,,] pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T10[,,] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Specify a three-dimensional texture subimage @@ -46769,28 +29342,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexSubImage3D")] - public static - void TexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] ref T10 pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] ref T10 pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T10)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] /// Specify values to record in transform feedback buffers @@ -46817,18 +29371,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTransformFeedbackVaryings")] - public static - void TransformFeedbackVaryings(Int32 program, Int32 count, String[] varyings, OpenTK.Graphics.ES30.All bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTransformFeedbackVaryings((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.ES30.TransformFeedbackMode)bufferMode); - #if DEBUG - } - #endif - } + public static extern void TransformFeedbackVaryings(Int32 program, Int32 count, String[] varyings, OpenTK.Graphics.ES30.All bufferMode); /// [requires: v3.0 and ES_VERSION_3_0] /// Specify values to record in transform feedback buffers @@ -46854,18 +29397,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTransformFeedbackVaryings")] - public static - void TransformFeedbackVaryings(Int32 program, Int32 count, String[] varyings, OpenTK.Graphics.ES30.TransformFeedbackMode bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTransformFeedbackVaryings((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.ES30.TransformFeedbackMode)bufferMode); - #if DEBUG - } - #endif - } + public static extern void TransformFeedbackVaryings(Int32 program, Int32 count, String[] varyings, OpenTK.Graphics.ES30.TransformFeedbackMode bufferMode); /// [requires: v3.0 and ES_VERSION_3_0] /// Specify values to record in transform feedback buffers @@ -46893,18 +29425,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTransformFeedbackVaryings")] - public static - void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.ES30.All bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTransformFeedbackVaryings((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.ES30.TransformFeedbackMode)bufferMode); - #if DEBUG - } - #endif - } + public static extern void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.ES30.All bufferMode); /// [requires: v3.0 and ES_VERSION_3_0] /// Specify values to record in transform feedback buffers @@ -46931,18 +29452,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTransformFeedbackVaryings")] - public static - void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.ES30.TransformFeedbackMode bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTransformFeedbackVaryings((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.ES30.TransformFeedbackMode)bufferMode); - #if DEBUG - } - #endif - } + public static extern void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.ES30.TransformFeedbackMode bufferMode); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -46976,18 +29486,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1f")] - public static - void Uniform1(Int32 location, Single v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1f((Int32)location, (Single)v0); - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Single v0); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -47021,24 +29520,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1fv")] - public static - void Uniform1(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, Single[] value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -47072,24 +29554,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1fv")] - public static - void Uniform1(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, ref Single value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -47124,18 +29589,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1fv")] - public static - unsafe void Uniform1(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform1(Int32 location, Int32 count, Single* value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -47169,18 +29623,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1i")] - public static - void Uniform1(Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1i((Int32)location, (Int32)v0); - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 v0); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -47214,24 +29657,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1iv")] - public static - void Uniform1(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, Int32[] value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -47265,24 +29691,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1iv")] - public static - void Uniform1(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, ref Int32 value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -47317,18 +29726,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1iv")] - public static - unsafe void Uniform1(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform1(Int32 location, Int32 count, Int32* value); /// [requires: v3.0 and ES_VERSION_3_0] /// Specify the value of a uniform variable for the current program object @@ -47363,18 +29761,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniform1ui")] - public static - void Uniform1(Int32 location, UInt32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1ui((Int32)location, (UInt32)v0); - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, UInt32 v0); /// [requires: v3.0 and ES_VERSION_3_0] /// Specify the value of a uniform variable for the current program object @@ -47409,24 +29796,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniform1uiv")] - public static - void Uniform1(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glUniform1uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, UInt32[] value); /// [requires: v3.0 and ES_VERSION_3_0] /// Specify the value of a uniform variable for the current program object @@ -47461,24 +29831,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniform1uiv")] - public static - void Uniform1(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glUniform1uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, ref UInt32 value); /// [requires: v3.0 and ES_VERSION_3_0] /// Specify the value of a uniform variable for the current program object @@ -47513,18 +29866,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniform1uiv")] - public static - unsafe void Uniform1(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1uiv((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform1(Int32 location, Int32 count, UInt32* value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -47558,18 +29900,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2f")] - public static - void Uniform2(Int32 location, Single v0, Single v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2f((Int32)location, (Single)v0, (Single)v1); - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Single v0, Single v1); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -47603,24 +29934,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2fv")] - public static - void Uniform2(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 count, Single[] value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -47654,24 +29968,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2fv")] - public static - void Uniform2(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 count, ref Single value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -47706,18 +30003,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2fv")] - public static - unsafe void Uniform2(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform2(Int32 location, Int32 count, Single* value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -47751,18 +30037,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2i")] - public static - void Uniform2(Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2i((Int32)location, (Int32)v0, (Int32)v1); - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 v0, Int32 v1); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -47796,24 +30071,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2iv")] - public static - void Uniform2(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 count, Int32[] value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -47848,18 +30106,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2iv")] - public static - unsafe void Uniform2(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform2(Int32 location, Int32 count, Int32* value); /// [requires: v3.0 and ES_VERSION_3_0] /// Specify the value of a uniform variable for the current program object @@ -47894,18 +30141,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniform2ui")] - public static - void Uniform2(Int32 location, UInt32 v0, UInt32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2ui((Int32)location, (UInt32)v0, (UInt32)v1); - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, UInt32 v0, UInt32 v1); /// [requires: v3.0 and ES_VERSION_3_0] /// Specify the value of a uniform variable for the current program object @@ -47940,24 +30176,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniform2uiv")] - public static - void Uniform2(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glUniform2uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 count, UInt32[] value); /// [requires: v3.0 and ES_VERSION_3_0] /// Specify the value of a uniform variable for the current program object @@ -47992,24 +30211,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniform2uiv")] - public static - void Uniform2(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glUniform2uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 count, ref UInt32 value); /// [requires: v3.0 and ES_VERSION_3_0] /// Specify the value of a uniform variable for the current program object @@ -48044,18 +30246,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniform2uiv")] - public static - unsafe void Uniform2(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2uiv((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform2(Int32 location, Int32 count, UInt32* value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -48089,18 +30280,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3f")] - public static - void Uniform3(Int32 location, Single v0, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3f((Int32)location, (Single)v0, (Single)v1, (Single)v2); - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Single v0, Single v1, Single v2); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -48134,24 +30314,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3fv")] - public static - void Uniform3(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, Single[] value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -48185,24 +30348,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3fv")] - public static - void Uniform3(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, ref Single value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -48237,18 +30383,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3fv")] - public static - unsafe void Uniform3(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform3(Int32 location, Int32 count, Single* value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -48282,18 +30417,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3i")] - public static - void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -48327,24 +30451,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3iv")] - public static - void Uniform3(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, Int32[] value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -48378,24 +30485,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3iv")] - public static - void Uniform3(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, ref Int32 value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -48430,18 +30520,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3iv")] - public static - unsafe void Uniform3(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform3(Int32 location, Int32 count, Int32* value); /// [requires: v3.0 and ES_VERSION_3_0] /// Specify the value of a uniform variable for the current program object @@ -48476,18 +30555,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniform3ui")] - public static - void Uniform3(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3ui((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); /// [requires: v3.0 and ES_VERSION_3_0] /// Specify the value of a uniform variable for the current program object @@ -48522,24 +30590,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniform3uiv")] - public static - void Uniform3(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glUniform3uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, UInt32[] value); /// [requires: v3.0 and ES_VERSION_3_0] /// Specify the value of a uniform variable for the current program object @@ -48574,24 +30625,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniform3uiv")] - public static - void Uniform3(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glUniform3uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, ref UInt32 value); /// [requires: v3.0 and ES_VERSION_3_0] /// Specify the value of a uniform variable for the current program object @@ -48626,18 +30660,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniform3uiv")] - public static - unsafe void Uniform3(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3uiv((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform3(Int32 location, Int32 count, UInt32* value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -48671,18 +30694,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4f")] - public static - void Uniform4(Int32 location, Single v0, Single v1, Single v2, Single v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4f((Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Single v0, Single v1, Single v2, Single v3); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -48716,24 +30728,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4fv")] - public static - void Uniform4(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, Single[] value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -48767,24 +30762,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4fv")] - public static - void Uniform4(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, ref Single value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -48819,18 +30797,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4fv")] - public static - unsafe void Uniform4(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform4(Int32 location, Int32 count, Single* value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -48864,18 +30831,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4i")] - public static - void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -48909,24 +30865,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4iv")] - public static - void Uniform4(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, Int32[] value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -48960,24 +30899,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4iv")] - public static - void Uniform4(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, ref Int32 value); /// [requires: v2.0 and ES_VERSION_2_0] /// Specify the value of a uniform variable for the current program object @@ -49012,18 +30934,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4iv")] - public static - unsafe void Uniform4(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform4(Int32 location, Int32 count, Int32* value); /// [requires: v3.0 and ES_VERSION_3_0] /// Specify the value of a uniform variable for the current program object @@ -49058,18 +30969,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniform4ui")] - public static - void Uniform4(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4ui((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); /// [requires: v3.0 and ES_VERSION_3_0] /// Specify the value of a uniform variable for the current program object @@ -49104,24 +31004,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniform4uiv")] - public static - void Uniform4(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glUniform4uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, UInt32[] value); /// [requires: v3.0 and ES_VERSION_3_0] /// Specify the value of a uniform variable for the current program object @@ -49156,24 +31039,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniform4uiv")] - public static - void Uniform4(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glUniform4uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, ref UInt32 value); /// [requires: v3.0 and ES_VERSION_3_0] /// Specify the value of a uniform variable for the current program object @@ -49208,18 +31074,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniform4uiv")] - public static - unsafe void Uniform4(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4uiv((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform4(Int32 location, Int32 count, UInt32* value); /// [requires: v3.0 and ES_VERSION_3_0] /// Assign a binding point to an active uniform block @@ -49240,18 +31095,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformBlockBinding")] - public static - void UniformBlockBinding(Int32 program, Int32 uniformBlockIndex, Int32 uniformBlockBinding) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformBlockBinding((UInt32)program, (UInt32)uniformBlockIndex, (UInt32)uniformBlockBinding); - #if DEBUG - } - #endif - } + public static extern void UniformBlockBinding(Int32 program, Int32 uniformBlockIndex, Int32 uniformBlockBinding); /// [requires: v3.0 and ES_VERSION_3_0] /// Assign a binding point to an active uniform block @@ -49273,571 +31117,133 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformBlockBinding")] - public static - void UniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformBlockBinding((UInt32)program, (UInt32)uniformBlockIndex, (UInt32)uniformBlockBinding); - #if DEBUG - } - #endif - } + public static extern void UniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] - public static - void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] - public static - void UniformMatrix2(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v2.0 and ES_VERSION_2_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] - public static - unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix2x3fv")] - public static - void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix2x3fv")] - public static - void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix2x3fv")] - public static - unsafe void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix2x4fv")] - public static - void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix2x4fv")] - public static - void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix2x4fv")] - public static - unsafe void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] - public static - void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] - public static - void UniformMatrix3(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v2.0 and ES_VERSION_2_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] - public static - unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix3x2fv")] - public static - void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix3x2fv")] - public static - void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix3x2fv")] - public static - unsafe void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix3x4fv")] - public static - void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix3x4fv")] - public static - void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix3x4fv")] - public static - unsafe void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] - public static - void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v2.0 and ES_VERSION_2_0] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] - public static - void UniformMatrix4(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v2.0 and ES_VERSION_2_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] - public static - unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix4x2fv")] - public static - void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix4x2fv")] - public static - void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix4x2fv")] - public static - unsafe void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix4x3fv")] - public static - void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix4x3fv")] - public static - void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUniformMatrix4x3fv")] - public static - unsafe void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v3.0 and ES_VERSION_3_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUnmapBuffer")] - public static - bool UnmapBuffer(OpenTK.Graphics.ES30.All target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glUnmapBuffer((OpenTK.Graphics.ES30.BufferTarget)target); - #if DEBUG - } - #endif - } + public static extern bool UnmapBuffer(OpenTK.Graphics.ES30.All target); /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glUnmapBuffer")] - public static - bool UnmapBuffer(OpenTK.Graphics.ES30.BufferTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glUnmapBuffer((OpenTK.Graphics.ES30.BufferTarget)target); - #if DEBUG - } - #endif - } + public static extern bool UnmapBuffer(OpenTK.Graphics.ES30.BufferTarget target); /// [requires: v2.0 and ES_VERSION_2_0] /// Installs a program object as part of current rendering state @@ -49848,18 +31254,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUseProgram")] - public static - void UseProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUseProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void UseProgram(Int32 program); /// [requires: v2.0 and ES_VERSION_2_0] /// Installs a program object as part of current rendering state @@ -49871,18 +31266,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glUseProgram")] - public static - void UseProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUseProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void UseProgram(UInt32 program); /// [requires: v2.0 and ES_VERSION_2_0] /// Validates a program object @@ -49893,18 +31277,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glValidateProgram")] - public static - void ValidateProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glValidateProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void ValidateProgram(Int32 program); /// [requires: v2.0 and ES_VERSION_2_0] /// Validates a program object @@ -49916,18 +31289,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glValidateProgram")] - public static - void ValidateProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glValidateProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void ValidateProgram(UInt32 program); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -49963,18 +31325,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1f")] - public static - void VertexAttrib1(Int32 index, Single x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1f((UInt32)index, (Single)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib1(Int32 index, Single x); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -50011,18 +31362,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1f")] - public static - void VertexAttrib1(UInt32 index, Single x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1f((UInt32)index, (Single)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib1(UInt32 index, Single x); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -50059,18 +31399,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] - public static - unsafe void VertexAttrib1(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib1(Int32 index, Single* v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -50107,18 +31436,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] - public static - unsafe void VertexAttrib1(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib1(UInt32 index, Single* v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -50154,18 +31472,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2f")] - public static - void VertexAttrib2(Int32 index, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2f((UInt32)index, (Single)x, (Single)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, Single x, Single y); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -50202,18 +31509,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2f")] - public static - void VertexAttrib2(UInt32 index, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2f((UInt32)index, (Single)x, (Single)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, Single x, Single y); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -50249,24 +31545,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static - void VertexAttrib2(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, Single[] v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -50302,24 +31581,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static - void VertexAttrib2(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, ref Single v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -50356,18 +31618,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static - unsafe void VertexAttrib2(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib2(Int32 index, Single* v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -50404,24 +31655,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static - void VertexAttrib2(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, Single[] v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -50458,24 +31692,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static - void VertexAttrib2(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, ref Single v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -50512,18 +31729,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static - unsafe void VertexAttrib2(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib2(UInt32 index, Single* v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -50559,18 +31765,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3f")] - public static - void VertexAttrib3(Int32 index, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3f((UInt32)index, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, Single x, Single y, Single z); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -50607,18 +31802,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3f")] - public static - void VertexAttrib3(UInt32 index, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3f((UInt32)index, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, Single x, Single y, Single z); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -50654,24 +31838,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static - void VertexAttrib3(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, Single[] v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -50707,24 +31874,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static - void VertexAttrib3(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, ref Single v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -50761,18 +31911,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static - unsafe void VertexAttrib3(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib3(Int32 index, Single* v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -50809,24 +31948,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static - void VertexAttrib3(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, Single[] v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -50863,24 +31985,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static - void VertexAttrib3(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, ref Single v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -50917,18 +32022,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static - unsafe void VertexAttrib3(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib3(UInt32 index, Single* v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -50964,18 +32058,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4f")] - public static - void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4f((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -51012,18 +32095,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4f")] - public static - void VertexAttrib4(UInt32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4f((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Single x, Single y, Single z, Single w); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -51059,24 +32131,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static - void VertexAttrib4(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Single[] v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -51112,24 +32167,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static - void VertexAttrib4(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, ref Single v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -51166,18 +32204,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static - unsafe void VertexAttrib4(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(Int32 index, Single* v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -51214,24 +32241,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static - void VertexAttrib4(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Single[] v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -51268,24 +32278,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static - void VertexAttrib4(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, ref Single v); /// [requires: v2.0 and ES_VERSION_2_0] /// Specifies the value of a generic vertex attribute @@ -51322,18 +32315,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static - unsafe void VertexAttrib4(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(UInt32 index, Single* v); /// [requires: v3.0 and ES_VERSION_3_0] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -51349,18 +32331,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribDivisor")] - public static - void VertexAttribDivisor(Int32 index, Int32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribDivisor((UInt32)index, (UInt32)divisor); - #if DEBUG - } - #endif - } + public static extern void VertexAttribDivisor(Int32 index, Int32 divisor); /// [requires: v3.0 and ES_VERSION_3_0] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -51377,711 +32348,196 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribDivisor")] - public static - void VertexAttribDivisor(UInt32 index, UInt32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribDivisor((UInt32)index, (UInt32)divisor); - #if DEBUG - } - #endif - } + public static extern void VertexAttribDivisor(UInt32 index, UInt32 divisor); /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4i")] - public static - void VertexAttribI4(Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4i((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(Int32 index, Int32 x, Int32 y, Int32 z, Int32 w); /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4i")] - public static - void VertexAttribI4(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4i((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static - void VertexAttribI4(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(Int32 index, Int32[] v); /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static - void VertexAttribI4(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(Int32 index, ref Int32 v); /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static - unsafe void VertexAttribI4(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI4(Int32 index, Int32* v); /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static - void VertexAttribI4(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, Int32[] v); /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static - void VertexAttribI4(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, ref Int32 v); /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static - unsafe void VertexAttribI4(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI4(UInt32 index, Int32* v); /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ui")] - public static - void VertexAttribI4(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4ui((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] - public static - void VertexAttribI4(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glVertexAttribI4uiv((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, UInt32[] v); /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] - public static - void VertexAttribI4(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - Delegates.glVertexAttribI4uiv((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, ref UInt32 v); /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] - public static - unsafe void VertexAttribI4(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4uiv((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI4(UInt32 index, UInt32* v); /// [requires: v3.0 and ES_VERSION_3_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, Int32 stride, IntPtr pointer); /// [requires: v3.0 and ES_VERSION_3_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T4)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribIntegerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribIntegerType type, Int32 stride, IntPtr pointer); /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T4)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.All type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.All type, Int32 stride, IntPtr pointer); /// [requires: v3.0 and ES_VERSION_3_0] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.All type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.All type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.All type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.All type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.All type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.All type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.All type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.All type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T4)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribIntegerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribIntegerType type, Int32 stride, IntPtr pointer); /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ES_VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T4)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -52118,18 +32574,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, bool normalized, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, bool normalized, Int32 stride, IntPtr pointer); /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -52166,27 +32611,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] pointer) + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -52223,27 +32650,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] pointer) + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -52280,27 +32689,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] pointer) + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -52337,28 +32728,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 pointer) + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T5)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -52394,18 +32766,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer); /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -52441,27 +32802,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] pointer) + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -52497,27 +32840,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] pointer) + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -52553,27 +32878,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] pointer) + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -52609,28 +32916,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 pointer) + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T5)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -52668,18 +32956,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.All type, bool normalized, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.All type, bool normalized, Int32 stride, IntPtr pointer); /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -52717,27 +32994,9 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] pointer) + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -52775,27 +33034,9 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] pointer) + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -52833,27 +33074,9 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] pointer) + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -52891,28 +33114,9 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 pointer) + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T5)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -52949,18 +33153,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer); /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -52997,27 +33190,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] pointer) + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -53054,27 +33229,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] pointer) + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -53111,27 +33268,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] pointer) + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Define an array of generic vertex attribute data @@ -53168,28 +33307,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 pointer) + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T5)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0 and ES_VERSION_2_0] /// Set the viewport @@ -53205,18 +33325,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glViewport")] - public static - void Viewport(Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glViewport((Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void Viewport(Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v3.0 and ES_VERSION_3_0] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -53238,18 +33347,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glWaitSync")] - public static - void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWaitSync((IntPtr)sync, (OpenTK.Graphics.ES30.WaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, Int64 timeout); /// [requires: v3.0 and ES_VERSION_3_0] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -53272,18 +33370,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glWaitSync")] - public static - void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWaitSync((IntPtr)sync, (OpenTK.Graphics.ES30.WaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, UInt64 timeout); /// [requires: v3.0 and ES_VERSION_3_0] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -53304,18 +33391,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glWaitSync")] - public static - void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.WaitSyncFlags flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWaitSync((IntPtr)sync, (OpenTK.Graphics.ES30.WaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.WaitSyncFlags flags, Int64 timeout); /// [requires: v3.0 and ES_VERSION_3_0] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -53337,51 +33413,18 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glWaitSync")] - public static - void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.WaitSyncFlags flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWaitSync((IntPtr)sync, (OpenTK.Graphics.ES30.WaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.WaitSyncFlags flags, UInt64 timeout); public static partial class Ext { /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glActiveProgramEXT")] - public static - void ActiveProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glActiveProgramEXT((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void ActiveProgram(Int32 program); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glActiveProgramEXT")] - public static - void ActiveProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glActiveProgramEXT((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void ActiveProgram(UInt32 program); /// [requires: EXT_separate_shader_objects] /// Set the active program object for a program pipeline object @@ -53397,18 +33440,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glActiveShaderProgramEXT")] - public static - void ActiveShaderProgram(Int32 pipeline, Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glActiveShaderProgramEXT((UInt32)pipeline, (UInt32)program); - #if DEBUG - } - #endif - } + public static extern void ActiveShaderProgram(Int32 pipeline, Int32 program); /// [requires: EXT_separate_shader_objects] /// Set the active program object for a program pipeline object @@ -53425,18 +33457,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glActiveShaderProgramEXT")] - public static - void ActiveShaderProgram(UInt32 pipeline, UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glActiveShaderProgramEXT((UInt32)pipeline, (UInt32)program); - #if DEBUG - } - #endif - } + public static extern void ActiveShaderProgram(UInt32 pipeline, UInt32 program); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delimit the boundaries of a query object @@ -53453,18 +33474,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glBeginQueryEXT")] - public static - void BeginQuery(OpenTK.Graphics.ES30.All target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginQueryEXT((OpenTK.Graphics.ES30.QueryTarget)target, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BeginQuery(OpenTK.Graphics.ES30.All target, Int32 id); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delimit the boundaries of a query object @@ -53482,18 +33492,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glBeginQueryEXT")] - public static - void BeginQuery(OpenTK.Graphics.ES30.All target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginQueryEXT((OpenTK.Graphics.ES30.QueryTarget)target, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BeginQuery(OpenTK.Graphics.ES30.All target, UInt32 id); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delimit the boundaries of a query object @@ -53509,18 +33508,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glBeginQueryEXT")] - public static - void BeginQuery(OpenTK.Graphics.ES30.QueryTarget target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginQueryEXT((OpenTK.Graphics.ES30.QueryTarget)target, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BeginQuery(OpenTK.Graphics.ES30.QueryTarget target, Int32 id); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delimit the boundaries of a query object @@ -53537,18 +33525,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glBeginQueryEXT")] - public static - void BeginQuery(OpenTK.Graphics.ES30.QueryTarget target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginQueryEXT((OpenTK.Graphics.ES30.QueryTarget)target, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BeginQuery(OpenTK.Graphics.ES30.QueryTarget target, UInt32 id); /// [requires: EXT_separate_shader_objects] /// Bind a program pipeline to the current context @@ -53559,18 +33536,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glBindProgramPipelineEXT")] - public static - void BindProgramPipeline(Int32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindProgramPipelineEXT((UInt32)pipeline); - #if DEBUG - } - #endif - } + public static extern void BindProgramPipeline(Int32 pipeline); /// [requires: EXT_separate_shader_objects] /// Bind a program pipeline to the current context @@ -53582,18 +33548,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glBindProgramPipelineEXT")] - public static - void BindProgramPipeline(UInt32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindProgramPipelineEXT((UInt32)pipeline); - #if DEBUG - } - #endif - } + public static extern void BindProgramPipeline(UInt32 pipeline); /// [requires: EXT_blend_minmax] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -53610,18 +33565,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_blend_minmax", Version = "", EntryPoint = "glBlendEquationEXT")] - public static - void BlendEquation(OpenTK.Graphics.ES30.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationEXT((OpenTK.Graphics.ES30.BlendEquationMode)mode); - #if DEBUG - } - #endif - } + public static extern void BlendEquation(OpenTK.Graphics.ES30.All mode); /// [requires: EXT_blend_minmax] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -53637,18 +33581,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_blend_minmax", Version = "", EntryPoint = "glBlendEquationEXT")] - public static - void BlendEquation(OpenTK.Graphics.ES30.BlendEquationMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationEXT((OpenTK.Graphics.ES30.BlendEquationMode)mode); - #if DEBUG - } - #endif - } + public static extern void BlendEquation(OpenTK.Graphics.ES30.BlendEquationMode mode); /// [requires: EXT_separate_shader_objects] /// Create a stand-alone program from an array of null-terminated source code strings @@ -53669,18 +33602,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glCreateShaderProgramEXT")] - public static - Int32 CreateShaderProgram(OpenTK.Graphics.ES30.All type, String @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCreateShaderProgramEXT((OpenTK.Graphics.ES30.All)type, (String)@string); - #if DEBUG - } - #endif - } + public static extern Int32 CreateShaderProgram(OpenTK.Graphics.ES30.All type, String @string); /// [requires: EXT_separate_shader_objects] /// Create a stand-alone program from an array of null-terminated source code strings @@ -53701,59 +33623,16 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glCreateShaderProgramvEXT")] - public static - Int32 CreateShaderProgram(OpenTK.Graphics.ES30.All type, Int32 count, String[] strings) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCreateShaderProgramvEXT((OpenTK.Graphics.ES30.All)type, (Int32)count, (String[])strings); - #if DEBUG - } - #endif - } + public static extern Int32 CreateShaderProgram(OpenTK.Graphics.ES30.All type, Int32 count, String[] strings); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static - void DeleteProgramPipeline(Int32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* pipelines_ptr = (UInt32*)&pipelines; - Delegates.glDeleteProgramPipelinesEXT((Int32)n, (UInt32*)pipelines_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgramPipeline(Int32 pipelines); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static - void DeleteProgramPipeline(UInt32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* pipelines_ptr = (UInt32*)&pipelines; - Delegates.glDeleteProgramPipelinesEXT((Int32)n, (UInt32*)pipelines_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgramPipeline(UInt32 pipelines); /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -53769,24 +33648,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static - void DeleteProgramPipelines(Int32 n, Int32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = pipelines) - { - Delegates.glDeleteProgramPipelinesEXT((Int32)n, (UInt32*)pipelines_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgramPipelines(Int32 n, Int32[] pipelines); /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -53802,24 +33664,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static - void DeleteProgramPipelines(Int32 n, ref Int32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = &pipelines) - { - Delegates.glDeleteProgramPipelinesEXT((Int32)n, (UInt32*)pipelines_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgramPipelines(Int32 n, ref Int32 pipelines); /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -53836,18 +33681,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static - unsafe void DeleteProgramPipelines(Int32 n, Int32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteProgramPipelinesEXT((Int32)n, (UInt32*)pipelines); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteProgramPipelines(Int32 n, Int32* pipelines); /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -53864,24 +33698,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static - void DeleteProgramPipelines(Int32 n, UInt32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = pipelines) - { - Delegates.glDeleteProgramPipelinesEXT((Int32)n, (UInt32*)pipelines_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgramPipelines(Int32 n, UInt32[] pipelines); /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -53898,24 +33715,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static - void DeleteProgramPipelines(Int32 n, ref UInt32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = &pipelines) - { - Delegates.glDeleteProgramPipelinesEXT((Int32)n, (UInt32*)pipelines_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgramPipelines(Int32 n, ref UInt32 pipelines); /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -53932,59 +33732,16 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static - unsafe void DeleteProgramPipelines(Int32 n, UInt32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteProgramPipelinesEXT((Int32)n, (UInt32*)pipelines); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteProgramPipelines(Int32 n, UInt32* pipelines); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glDeleteQueriesEXT")] - public static - void DeleteQuery(Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - Delegates.glDeleteQueriesEXT((Int32)n, (UInt32*)ids_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteQuery(Int32 ids); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glDeleteQueriesEXT")] - public static - void DeleteQuery(UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - Delegates.glDeleteQueriesEXT((Int32)n, (UInt32*)ids_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteQuery(UInt32 ids); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delete named query objects @@ -54000,24 +33757,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glDeleteQueriesEXT")] - public static - void DeleteQueries(Int32 n, Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glDeleteQueriesEXT((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteQueries(Int32 n, Int32[] ids); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delete named query objects @@ -54033,24 +33773,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glDeleteQueriesEXT")] - public static - void DeleteQueries(Int32 n, ref Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glDeleteQueriesEXT((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteQueries(Int32 n, ref Int32 ids); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delete named query objects @@ -54067,18 +33790,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glDeleteQueriesEXT")] - public static - unsafe void DeleteQueries(Int32 n, Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteQueriesEXT((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteQueries(Int32 n, Int32* ids); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delete named query objects @@ -54095,24 +33807,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glDeleteQueriesEXT")] - public static - void DeleteQueries(Int32 n, UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glDeleteQueriesEXT((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteQueries(Int32 n, UInt32[] ids); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delete named query objects @@ -54129,24 +33824,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glDeleteQueriesEXT")] - public static - void DeleteQueries(Int32 n, ref UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glDeleteQueriesEXT((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteQueries(Int32 n, ref UInt32 ids); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Delete named query objects @@ -54163,76 +33841,20 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glDeleteQueriesEXT")] - public static - unsafe void DeleteQueries(Int32 n, UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteQueriesEXT((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteQueries(Int32 n, UInt32* ids); /// [requires: EXT_discard_framebuffer] [AutoGenerated(Category = "EXT_discard_framebuffer", Version = "", EntryPoint = "glDiscardFramebufferEXT")] - public static - void DiscardFramebuffer(OpenTK.Graphics.ES30.All target, Int32 numAttachments, OpenTK.Graphics.ES30.All[] attachments) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.All* attachments_ptr = attachments) - { - Delegates.glDiscardFramebufferEXT((OpenTK.Graphics.ES30.All)target, (Int32)numAttachments, (OpenTK.Graphics.ES30.All*)attachments_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DiscardFramebuffer(OpenTK.Graphics.ES30.All target, Int32 numAttachments, OpenTK.Graphics.ES30.All[] attachments); /// [requires: EXT_discard_framebuffer] [AutoGenerated(Category = "EXT_discard_framebuffer", Version = "", EntryPoint = "glDiscardFramebufferEXT")] - public static - void DiscardFramebuffer(OpenTK.Graphics.ES30.All target, Int32 numAttachments, ref OpenTK.Graphics.ES30.All attachments) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.All* attachments_ptr = &attachments) - { - Delegates.glDiscardFramebufferEXT((OpenTK.Graphics.ES30.All)target, (Int32)numAttachments, (OpenTK.Graphics.ES30.All*)attachments_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DiscardFramebuffer(OpenTK.Graphics.ES30.All target, Int32 numAttachments, ref OpenTK.Graphics.ES30.All attachments); /// [requires: EXT_discard_framebuffer] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_discard_framebuffer", Version = "", EntryPoint = "glDiscardFramebufferEXT")] - public static - unsafe void DiscardFramebuffer(OpenTK.Graphics.ES30.All target, Int32 numAttachments, OpenTK.Graphics.ES30.All* attachments) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDiscardFramebufferEXT((OpenTK.Graphics.ES30.All)target, (Int32)numAttachments, (OpenTK.Graphics.ES30.All*)attachments); - #if DEBUG - } - #endif - } + public static extern unsafe void DiscardFramebuffer(OpenTK.Graphics.ES30.All target, Int32 numAttachments, OpenTK.Graphics.ES30.All* attachments); /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a range of elements @@ -54259,18 +33881,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawArraysInstancedEXT")] - public static - void DrawArraysInstanced(OpenTK.Graphics.ES30.All mode, Int32 start, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArraysInstancedEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)start, (Int32)count, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern void DrawArraysInstanced(OpenTK.Graphics.ES30.All mode, Int32 start, Int32 count, Int32 primcount); /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a range of elements @@ -54296,18 +33907,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawArraysInstancedEXT")] - public static - void DrawArraysInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 start, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArraysInstancedEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)start, (Int32)count, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern void DrawArraysInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 start, Int32 count, Int32 primcount); /// [requires: EXT_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -54324,24 +33924,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_draw_buffers", Version = "", EntryPoint = "glDrawBuffersEXT")] - public static - void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.All[] bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.All* bufs_ptr = bufs) - { - Delegates.glDrawBuffersEXT((Int32)n, (OpenTK.Graphics.ES30.DrawBufferMode*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.All[] bufs); /// [requires: EXT_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -54358,24 +33941,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_draw_buffers", Version = "", EntryPoint = "glDrawBuffersEXT")] - public static - void DrawBuffers(Int32 n, ref OpenTK.Graphics.ES30.All bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.All* bufs_ptr = &bufs) - { - Delegates.glDrawBuffersEXT((Int32)n, (OpenTK.Graphics.ES30.DrawBufferMode*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawBuffers(Int32 n, ref OpenTK.Graphics.ES30.All bufs); /// [requires: EXT_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -54393,18 +33959,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_draw_buffers", Version = "", EntryPoint = "glDrawBuffersEXT")] - public static - unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.All* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawBuffersEXT((Int32)n, (OpenTK.Graphics.ES30.DrawBufferMode*)bufs); - #if DEBUG - } - #endif - } + public static extern unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.All* bufs); /// [requires: EXT_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -54420,24 +33975,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_draw_buffers", Version = "", EntryPoint = "glDrawBuffersEXT")] - public static - void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.DrawBufferMode[] bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.DrawBufferMode* bufs_ptr = bufs) - { - Delegates.glDrawBuffersEXT((Int32)n, (OpenTK.Graphics.ES30.DrawBufferMode*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.DrawBufferMode[] bufs); /// [requires: EXT_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -54453,24 +33991,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_draw_buffers", Version = "", EntryPoint = "glDrawBuffersEXT")] - public static - void DrawBuffers(Int32 n, ref OpenTK.Graphics.ES30.DrawBufferMode bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.DrawBufferMode* bufs_ptr = &bufs) - { - Delegates.glDrawBuffersEXT((Int32)n, (OpenTK.Graphics.ES30.DrawBufferMode*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawBuffers(Int32 n, ref OpenTK.Graphics.ES30.DrawBufferMode bufs); /// [requires: EXT_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -54487,78 +34008,20 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_draw_buffers", Version = "", EntryPoint = "glDrawBuffersEXT")] - public static - unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.DrawBufferMode* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawBuffersEXT((Int32)n, (OpenTK.Graphics.ES30.DrawBufferMode*)bufs); - #if DEBUG - } - #endif - } + public static extern unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.DrawBufferMode* bufs); /// [requires: EXT_multiview_draw_buffers] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glDrawBuffersIndexedEXT")] - public static - void DrawBuffersIndexed(Int32 n, OpenTK.Graphics.ES30.All[] location, Int32[] indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.All* location_ptr = location) - fixed (Int32* indices_ptr = indices) - { - Delegates.glDrawBuffersIndexedEXT((Int32)n, (OpenTK.Graphics.ES30.All*)location_ptr, (Int32*)indices_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawBuffersIndexed(Int32 n, OpenTK.Graphics.ES30.All[] location, Int32[] indices); /// [requires: EXT_multiview_draw_buffers] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glDrawBuffersIndexedEXT")] - public static - void DrawBuffersIndexed(Int32 n, ref OpenTK.Graphics.ES30.All location, ref Int32 indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.All* location_ptr = &location) - fixed (Int32* indices_ptr = &indices) - { - Delegates.glDrawBuffersIndexedEXT((Int32)n, (OpenTK.Graphics.ES30.All*)location_ptr, (Int32*)indices_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawBuffersIndexed(Int32 n, ref OpenTK.Graphics.ES30.All location, ref Int32 indices); /// [requires: EXT_multiview_draw_buffers] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glDrawBuffersIndexedEXT")] - public static - unsafe void DrawBuffersIndexed(Int32 n, OpenTK.Graphics.ES30.All* location, Int32* indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawBuffersIndexedEXT((Int32)n, (OpenTK.Graphics.ES30.All*)location, (Int32*)indices); - #if DEBUG - } - #endif - } + public static extern unsafe void DrawBuffersIndexed(Int32 n, OpenTK.Graphics.ES30.All* location, Int32* indices); /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -54590,18 +34053,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, IntPtr indices, Int32 primcount); /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -54633,27 +34085,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -54685,27 +34119,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -54737,27 +34153,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -54789,28 +34187,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -54841,18 +34220,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 primcount); /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -54883,27 +34251,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -54934,27 +34284,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -54985,27 +34317,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_instanced|EXT_instanced_arrays] /// Draw multiple instances of a set of elements @@ -55036,59 +34350,18 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_draw_instanced|EXT_instanced_arrays", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glEndQueryEXT")] - public static - void EndQuery(OpenTK.Graphics.ES30.All target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndQueryEXT((OpenTK.Graphics.ES30.QueryTarget)target); - #if DEBUG - } - #endif - } + public static extern void EndQuery(OpenTK.Graphics.ES30.All target); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glEndQueryEXT")] - public static - void EndQuery(OpenTK.Graphics.ES30.QueryTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndQueryEXT((OpenTK.Graphics.ES30.QueryTarget)target); - #if DEBUG - } - #endif - } + public static extern void EndQuery(OpenTK.Graphics.ES30.QueryTarget target); /// [requires: EXT_map_buffer_range] /// Indicate modifications to a range of a mapped buffer @@ -55110,18 +34383,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glFlushMappedBufferRangeEXT")] - public static - void FlushMappedBufferRange(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFlushMappedBufferRangeEXT((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length); - #if DEBUG - } - #endif - } + public static extern void FlushMappedBufferRange(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr length); /// [requires: EXT_map_buffer_range] /// Indicate modifications to a range of a mapped buffer @@ -55142,71 +34404,20 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glFlushMappedBufferRangeEXT")] - public static - void FlushMappedBufferRange(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFlushMappedBufferRangeEXT((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length); - #if DEBUG - } - #endif - } + public static extern void FlushMappedBufferRange(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length); /// [requires: EXT_multisampled_render_to_texture] [AutoGenerated(Category = "EXT_multisampled_render_to_texture", Version = "", EntryPoint = "glFramebufferTexture2DMultisampleEXT")] - public static - void FramebufferTexture2DMultisample(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, Int32 texture, Int32 level, Int32 samples) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2DMultisampleEXT((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)attachment, (OpenTK.Graphics.ES30.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture2DMultisample(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, Int32 texture, Int32 level, Int32 samples); /// [requires: EXT_multisampled_render_to_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multisampled_render_to_texture", Version = "", EntryPoint = "glFramebufferTexture2DMultisampleEXT")] - public static - void FramebufferTexture2DMultisample(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, UInt32 texture, Int32 level, Int32 samples) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2DMultisampleEXT((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)attachment, (OpenTK.Graphics.ES30.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture2DMultisample(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, UInt32 texture, Int32 level, Int32 samples); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static - Int32 GenProgramPipeline() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* pipelines_ptr = &retval; - Delegates.glGenProgramPipelinesEXT((Int32)n, (UInt32*)pipelines_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenProgramPipeline(); /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -55222,24 +34433,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static - void GenProgramPipelines(Int32 n, [OutAttribute] Int32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = pipelines) - { - Delegates.glGenProgramPipelinesEXT((Int32)n, (UInt32*)pipelines_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] Int32[] pipelines); /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -55255,25 +34449,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static - void GenProgramPipelines(Int32 n, [OutAttribute] out Int32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = &pipelines) - { - Delegates.glGenProgramPipelinesEXT((Int32)n, (UInt32*)pipelines_ptr); - pipelines = *pipelines_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] out Int32 pipelines); /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -55290,18 +34466,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static - unsafe void GenProgramPipelines(Int32 n, [OutAttribute] Int32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenProgramPipelinesEXT((Int32)n, (UInt32*)pipelines); - #if DEBUG - } - #endif - } + public static extern unsafe void GenProgramPipelines(Int32 n, [OutAttribute] Int32* pipelines); /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -55318,24 +34483,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static - void GenProgramPipelines(Int32 n, [OutAttribute] UInt32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = pipelines) - { - Delegates.glGenProgramPipelinesEXT((Int32)n, (UInt32*)pipelines_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] UInt32[] pipelines); /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -55352,25 +34500,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static - void GenProgramPipelines(Int32 n, [OutAttribute] out UInt32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = &pipelines) - { - Delegates.glGenProgramPipelinesEXT((Int32)n, (UInt32*)pipelines_ptr); - pipelines = *pipelines_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] out UInt32 pipelines); /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -55387,40 +34517,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static - unsafe void GenProgramPipelines(Int32 n, [OutAttribute] UInt32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenProgramPipelinesEXT((Int32)n, (UInt32*)pipelines); - #if DEBUG - } - #endif - } + public static extern unsafe void GenProgramPipelines(Int32 n, [OutAttribute] UInt32* pipelines); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGenQueriesEXT")] - public static - Int32 GenQuery() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* ids_ptr = &retval; - Delegates.glGenQueriesEXT((Int32)n, (UInt32*)ids_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenQuery(); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Generate query object names @@ -55436,24 +34537,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGenQueriesEXT")] - public static - void GenQueries(Int32 n, [OutAttribute] Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glGenQueriesEXT((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenQueries(Int32 n, [OutAttribute] Int32[] ids); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Generate query object names @@ -55469,25 +34553,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGenQueriesEXT")] - public static - void GenQueries(Int32 n, [OutAttribute] out Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glGenQueriesEXT((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenQueries(Int32 n, [OutAttribute] out Int32 ids); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Generate query object names @@ -55504,18 +34570,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGenQueriesEXT")] - public static - unsafe void GenQueries(Int32 n, [OutAttribute] Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenQueriesEXT((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void GenQueries(Int32 n, [OutAttribute] Int32* ids); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Generate query object names @@ -55532,24 +34587,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGenQueriesEXT")] - public static - void GenQueries(Int32 n, [OutAttribute] UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glGenQueriesEXT((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenQueries(Int32 n, [OutAttribute] UInt32[] ids); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Generate query object names @@ -55566,25 +34604,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGenQueriesEXT")] - public static - void GenQueries(Int32 n, [OutAttribute] out UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glGenQueriesEXT((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenQueries(Int32 n, [OutAttribute] out UInt32 ids); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Generate query object names @@ -55601,519 +34621,129 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGenQueriesEXT")] - public static - unsafe void GenQueries(Int32 n, [OutAttribute] UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenQueriesEXT((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void GenQueries(Int32 n, [OutAttribute] UInt32* ids); /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetGraphicsResetStatusEXT")] - public static - OpenTK.Graphics.ES30.All GetGraphicsResetStatus() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetGraphicsResetStatusEXT(); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.ES30.All GetGraphicsResetStatus(); /// [requires: EXT_multiview_draw_buffers] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static - void GetInteger(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegeri_vEXT((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] Int32[] data); /// [requires: EXT_multiview_draw_buffers] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static - void GetInteger(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetIntegeri_vEXT((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] out Int32 data); /// [requires: EXT_multiview_draw_buffers] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static - unsafe void GetInteger(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegeri_vEXT((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] Int32* data); /// [requires: EXT_multiview_draw_buffers] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static - void GetInteger(OpenTK.Graphics.ES30.All target, UInt32 index, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegeri_vEXT((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES30.All target, UInt32 index, [OutAttribute] Int32[] data); /// [requires: EXT_multiview_draw_buffers] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static - void GetInteger(OpenTK.Graphics.ES30.All target, UInt32 index, [OutAttribute] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetIntegeri_vEXT((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES30.All target, UInt32 index, [OutAttribute] out Int32 data); /// [requires: EXT_multiview_draw_buffers] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static - unsafe void GetInteger(OpenTK.Graphics.ES30.All target, UInt32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegeri_vEXT((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger(OpenTK.Graphics.ES30.All target, UInt32 index, [OutAttribute] Int32* data); /// [requires: EXT_multiview_draw_buffers] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static - void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, Int32 index, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegeri_vEXT((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, Int32 index, [OutAttribute] Int32[] data); /// [requires: EXT_multiview_draw_buffers] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static - void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, Int32 index, [OutAttribute] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetIntegeri_vEXT((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, Int32 index, [OutAttribute] out Int32 data); /// [requires: EXT_multiview_draw_buffers] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static - unsafe void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, Int32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegeri_vEXT((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, Int32 index, [OutAttribute] Int32* data); /// [requires: EXT_multiview_draw_buffers] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static - void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegeri_vEXT((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] Int32[] data); /// [requires: EXT_multiview_draw_buffers] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static - void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetIntegeri_vEXT((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] out Int32 data); /// [requires: EXT_multiview_draw_buffers] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] - public static - unsafe void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegeri_vEXT((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data); /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static - void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetnUniformfvEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Single[] @params); /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static - void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetnUniformfvEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] out Single @params); /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static - unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnUniformfvEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params); /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static - void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetnUniformfvEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single[] @params); /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static - void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetnUniformfvEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] out Single @params); /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")] - public static - unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnUniformfvEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params); /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static - void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetnUniformivEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32[] @params); /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static - void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetnUniformivEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] out Int32 @params); /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static - unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnUniformivEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params); /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static - void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetnUniformivEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32[] @params); /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static - void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetnUniformivEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] out Int32 @params); /// [requires: EXT_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")] - public static - unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnUniformivEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params); /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -56144,24 +34774,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static - void GetObjectLabel(OpenTK.Graphics.ES30.All type, Int32 @object, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectLabelEXT((OpenTK.Graphics.ES30.All)type, (UInt32)@object, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES30.All type, Int32 @object, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -56192,25 +34805,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static - void GetObjectLabel(OpenTK.Graphics.ES30.All type, Int32 @object, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectLabelEXT((OpenTK.Graphics.ES30.All)type, (UInt32)@object, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES30.All type, Int32 @object, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -56242,18 +34837,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static - unsafe void GetObjectLabel(OpenTK.Graphics.ES30.All type, Int32 @object, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectLabelEXT((OpenTK.Graphics.ES30.All)type, (UInt32)@object, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectLabel(OpenTK.Graphics.ES30.All type, Int32 @object, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -56285,24 +34869,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static - void GetObjectLabel(OpenTK.Graphics.ES30.All type, UInt32 @object, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectLabelEXT((OpenTK.Graphics.ES30.All)type, (UInt32)@object, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES30.All type, UInt32 @object, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -56334,25 +34901,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static - void GetObjectLabel(OpenTK.Graphics.ES30.All type, UInt32 @object, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectLabelEXT((OpenTK.Graphics.ES30.All)type, (UInt32)@object, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES30.All type, UInt32 @object, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -56384,18 +34933,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static - unsafe void GetObjectLabel(OpenTK.Graphics.ES30.All type, UInt32 @object, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectLabelEXT((OpenTK.Graphics.ES30.All)type, (UInt32)@object, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectLabel(OpenTK.Graphics.ES30.All type, UInt32 @object, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -56421,24 +34959,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static - void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetProgramPipelineInfoLogEXT((UInt32)pipeline, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder infoLog); /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -56464,25 +34985,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static - void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetProgramPipelineInfoLogEXT((UInt32)pipeline, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog); /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -56509,18 +35012,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static - unsafe void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramPipelineInfoLogEXT((UInt32)pipeline, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -56547,24 +35039,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static - void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetProgramPipelineInfoLogEXT((UInt32)pipeline, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder infoLog); /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -56591,25 +35066,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static - void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetProgramPipelineInfoLogEXT((UInt32)pipeline, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog); /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -56636,18 +35093,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static - unsafe void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramPipelineInfoLogEXT((UInt32)pipeline, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -56668,24 +35114,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static - void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramPipelineivEXT((UInt32)pipeline, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params); /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -56706,25 +35135,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static - void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramPipelineivEXT((UInt32)pipeline, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params); /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -56746,18 +35157,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static - unsafe void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramPipelineivEXT((UInt32)pipeline, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -56779,24 +35179,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static - void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramPipelineivEXT((UInt32)pipeline, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params); /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -56818,25 +35201,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static - void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramPipelineivEXT((UInt32)pipeline, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params); /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -56858,139 +35223,36 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static - unsafe void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramPipelineivEXT((UInt32)pipeline, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryivEXT")] - public static - void GetQuery(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryivEXT((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQuery(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryivEXT")] - public static - void GetQuery(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryivEXT((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQuery(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryivEXT")] - public static - unsafe void GetQuery(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryivEXT((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQuery(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryivEXT")] - public static - void GetQuery(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryivEXT((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQuery(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] Int32[] @params); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryivEXT")] - public static - void GetQuery(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryivEXT((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQuery(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] out Int32 @params); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryivEXT")] - public static - unsafe void GetQuery(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryivEXT((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQuery(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] Int32* @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57012,24 +35274,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64[] @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57051,25 +35296,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int64 @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57092,18 +35319,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64* @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57124,24 +35340,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int64[] @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57162,25 +35361,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] out Int64 @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57202,18 +35383,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int64* @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57236,24 +35406,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64[] @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57276,25 +35429,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int64 @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57317,18 +35452,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64* @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57350,24 +35474,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int64[] @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57389,25 +35496,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] out Int64 @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57429,18 +35518,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int64* @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57462,24 +35540,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57501,25 +35562,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57542,18 +35585,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static - unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57574,24 +35606,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int32[] @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57612,25 +35627,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] out Int32 @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57652,18 +35649,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static - unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int32* @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57686,24 +35672,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57726,25 +35695,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57767,18 +35718,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57800,24 +35740,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int32[] @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57839,25 +35762,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] out Int32 @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57879,18 +35784,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int32* @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57913,24 +35807,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = @params) - { - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt64[] @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57953,25 +35830,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] out UInt64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = &@params) - { - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] out UInt64 @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -57994,18 +35853,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt64* @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -58027,24 +35875,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = @params) - { - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt64[] @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -58066,25 +35897,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] out UInt64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = &@params) - { - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] out UInt64 @params); /// [requires: EXT_disjoint_timer_query] /// Return parameters of a query object @@ -58106,18 +35919,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt64* @params); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Return parameters of a query object @@ -58140,24 +35942,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryObjectuivEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetQueryObjectuivEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt32[] @params); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Return parameters of a query object @@ -58180,25 +35965,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryObjectuivEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectuivEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] out UInt32 @params); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Return parameters of a query object @@ -58221,18 +35988,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryObjectuivEXT")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectuivEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt32* @params); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Return parameters of a query object @@ -58254,24 +36010,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryObjectuivEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetQueryObjectuivEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt32[] @params); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Return parameters of a query object @@ -58293,25 +36032,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryObjectuivEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectuivEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] out UInt32 @params); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Return parameters of a query object @@ -58333,33 +36054,11 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glGetQueryObjectuivEXT")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectuivEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt32* @params); /// [requires: EXT_debug_marker] [AutoGenerated(Category = "EXT_debug_marker", Version = "", EntryPoint = "glInsertEventMarkerEXT")] - public static - void InsertEventMarker(Int32 length, String marker) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInsertEventMarkerEXT((Int32)length, (String)marker); - #if DEBUG - } - #endif - } + public static extern void InsertEventMarker(Int32 length, String marker); /// [requires: EXT_separate_shader_objects] /// Determine if a name corresponds to a program pipeline object @@ -58370,18 +36069,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glIsProgramPipelineEXT")] - public static - bool IsProgramPipeline(Int32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsProgramPipelineEXT((UInt32)pipeline); - #if DEBUG - } - #endif - } + public static extern bool IsProgramPipeline(Int32 pipeline); /// [requires: EXT_separate_shader_objects] /// Determine if a name corresponds to a program pipeline object @@ -58393,18 +36081,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glIsProgramPipelineEXT")] - public static - bool IsProgramPipeline(UInt32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsProgramPipelineEXT((UInt32)pipeline); - #if DEBUG - } - #endif - } + public static extern bool IsProgramPipeline(UInt32 pipeline); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Determine if a name corresponds to a query object @@ -58415,18 +36092,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glIsQueryEXT")] - public static - bool IsQuery(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsQueryEXT((UInt32)id); - #if DEBUG - } - #endif - } + public static extern bool IsQuery(Int32 id); /// [requires: EXT_disjoint_timer_query|EXT_occlusion_query_boolean] /// Determine if a name corresponds to a query object @@ -58438,49 +36104,16 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glIsQueryEXT")] - public static - bool IsQuery(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsQueryEXT((UInt32)id); - #if DEBUG - } - #endif - } + public static extern bool IsQuery(UInt32 id); /// [requires: EXT_debug_label] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glLabelObjectEXT")] - public static - void LabelObject(OpenTK.Graphics.ES30.All type, Int32 @object, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLabelObjectEXT((OpenTK.Graphics.ES30.All)type, (UInt32)@object, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void LabelObject(OpenTK.Graphics.ES30.All type, Int32 @object, Int32 length, String label); /// [requires: EXT_debug_label] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glLabelObjectEXT")] - public static - void LabelObject(OpenTK.Graphics.ES30.All type, UInt32 @object, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLabelObjectEXT((OpenTK.Graphics.ES30.All)type, (UInt32)@object, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void LabelObject(OpenTK.Graphics.ES30.All type, UInt32 @object, Int32 length, String label); /// [requires: EXT_map_buffer_range] /// Map a section of a buffer object's data store @@ -58507,18 +36140,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glMapBufferRangeEXT")] - public static - IntPtr MapBufferRange(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr length, Int32 access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glMapBufferRangeEXT((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (UInt32)access); - #if DEBUG - } - #endif - } + public static extern IntPtr MapBufferRange(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr length, Int32 access); /// [requires: EXT_map_buffer_range] /// Map a section of a buffer object's data store @@ -58546,18 +36168,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glMapBufferRangeEXT")] - public static - IntPtr MapBufferRange(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr length, UInt32 access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glMapBufferRangeEXT((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (UInt32)access); - #if DEBUG - } - #endif - } + public static extern IntPtr MapBufferRange(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr length, UInt32 access); /// [requires: EXT_map_buffer_range] /// Map a section of a buffer object's data store @@ -58583,18 +36194,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glMapBufferRangeEXT")] - public static - IntPtr MapBufferRange(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length, Int32 access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glMapBufferRangeEXT((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (UInt32)access); - #if DEBUG - } - #endif - } + public static extern IntPtr MapBufferRange(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length, Int32 access); /// [requires: EXT_map_buffer_range] /// Map a section of a buffer object's data store @@ -58621,18 +36221,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glMapBufferRangeEXT")] - public static - IntPtr MapBufferRange(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length, UInt32 access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glMapBufferRangeEXT((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (UInt32)access); - #if DEBUG - } - #endif - } + public static extern IntPtr MapBufferRange(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length, UInt32 access); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -58659,25 +36248,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static - void MultiDrawArrays(OpenTK.Graphics.ES30.All mode, Int32[] first, Int32[] count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = first) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawArrays(OpenTK.Graphics.ES30.All mode, Int32[] first, Int32[] count, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -58704,25 +36275,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static - void MultiDrawArrays(OpenTK.Graphics.ES30.All mode, ref Int32 first, ref Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = &first) - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawArrays(OpenTK.Graphics.ES30.All mode, ref Int32 first, ref Int32 count, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -58750,18 +36303,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static - unsafe void MultiDrawArrays(OpenTK.Graphics.ES30.All mode, Int32* first, Int32* count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)first, (Int32*)count, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiDrawArrays(OpenTK.Graphics.ES30.All mode, Int32* first, Int32* count, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -58787,25 +36329,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static - void MultiDrawArrays(OpenTK.Graphics.ES30.PrimitiveType mode, Int32[] first, Int32[] count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = first) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawArrays(OpenTK.Graphics.ES30.PrimitiveType mode, Int32[] first, Int32[] count, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -58831,25 +36355,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static - void MultiDrawArrays(OpenTK.Graphics.ES30.PrimitiveType mode, ref Int32 first, ref Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = &first) - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawArrays(OpenTK.Graphics.ES30.PrimitiveType mode, ref Int32 first, ref Int32 count, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -58876,18 +36382,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static - unsafe void MultiDrawArrays(OpenTK.Graphics.ES30.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)first, (Int32*)count, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiDrawArrays(OpenTK.Graphics.ES30.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -58919,24 +36414,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES30.All mode, Int32[] count, OpenTK.Graphics.ES30.All type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawElements(OpenTK.Graphics.ES30.All mode, Int32[] count, OpenTK.Graphics.ES30.All type, IntPtr indices, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -58968,33 +36446,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES30.All mode, Int32[] count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES30.All mode, Int32[] count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -59026,33 +36480,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES30.All mode, Int32[] count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES30.All mode, Int32[] count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -59084,33 +36514,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES30.All mode, Int32[] count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES30.All mode, Int32[] count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -59142,34 +36548,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES30.All mode, Int32[] count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES30.All mode, Int32[] count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -59201,24 +36582,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES30.All mode, ref Int32 count, OpenTK.Graphics.ES30.All type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawElements(OpenTK.Graphics.ES30.All mode, ref Int32 count, OpenTK.Graphics.ES30.All type, IntPtr indices, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -59250,33 +36614,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES30.All mode, ref Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES30.All mode, ref Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -59308,33 +36648,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES30.All mode, ref Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES30.All mode, ref Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -59366,33 +36682,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES30.All mode, ref Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES30.All mode, ref Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -59424,34 +36716,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES30.All mode, ref Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES30.All mode, ref Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -59484,18 +36751,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.ES30.All mode, Int32* count, OpenTK.Graphics.ES30.All type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.ES30.All mode, Int32* count, OpenTK.Graphics.ES30.All type, IntPtr indices, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -59528,27 +36784,9 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.ES30.All mode, Int32* count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.ES30.All mode, Int32* count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -59581,27 +36819,9 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.ES30.All mode, Int32* count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.ES30.All mode, Int32* count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -59634,27 +36854,9 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.ES30.All mode, Int32* count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.ES30.All mode, Int32* count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -59687,28 +36889,9 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.ES30.All mode, Int32* count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.ES30.All mode, Int32* count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -59739,24 +36922,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -59787,33 +36953,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -59844,33 +36986,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -59901,33 +37019,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -59958,34 +37052,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -60016,24 +37085,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -60064,33 +37116,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -60121,33 +37149,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -60178,33 +37182,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -60235,34 +37215,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -60294,18 +37249,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -60337,27 +37281,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -60389,27 +37315,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -60441,27 +37349,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -60493,43 +37383,13 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_debug_marker] [AutoGenerated(Category = "EXT_debug_marker", Version = "", EntryPoint = "glPopGroupMarkerEXT")] - public static - void PopGroupMarker() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPopGroupMarkerEXT(); - #if DEBUG - } - #endif - } + public static extern void PopGroupMarker(); /// [requires: EXT_separate_shader_objects] /// Specify a parameter for a program object @@ -60551,18 +37411,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramParameteriEXT")] - public static - void ProgramParameter(Int32 program, OpenTK.Graphics.ES30.All pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameteriEXT((UInt32)program, (OpenTK.Graphics.ES30.ProgramParameterName)pname, (Int32)value); - #if DEBUG - } - #endif - } + public static extern void ProgramParameter(Int32 program, OpenTK.Graphics.ES30.All pname, Int32 value); /// [requires: EXT_separate_shader_objects] /// Specify a parameter for a program object @@ -60583,18 +37432,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramParameteriEXT")] - public static - void ProgramParameter(Int32 program, OpenTK.Graphics.ES30.ProgramParameterName pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameteriEXT((UInt32)program, (OpenTK.Graphics.ES30.ProgramParameterName)pname, (Int32)value); - #if DEBUG - } - #endif - } + public static extern void ProgramParameter(Int32 program, OpenTK.Graphics.ES30.ProgramParameterName pname, Int32 value); /// [requires: EXT_separate_shader_objects] /// Specify a parameter for a program object @@ -60617,18 +37455,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramParameteriEXT")] - public static - void ProgramParameter(UInt32 program, OpenTK.Graphics.ES30.All pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameteriEXT((UInt32)program, (OpenTK.Graphics.ES30.ProgramParameterName)pname, (Int32)value); - #if DEBUG - } - #endif - } + public static extern void ProgramParameter(UInt32 program, OpenTK.Graphics.ES30.All pname, Int32 value); /// [requires: EXT_separate_shader_objects] /// Specify a parameter for a program object @@ -60650,18 +37477,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramParameteriEXT")] - public static - void ProgramParameter(UInt32 program, OpenTK.Graphics.ES30.ProgramParameterName pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameteriEXT((UInt32)program, (OpenTK.Graphics.ES30.ProgramParameterName)pname, (Int32)value); - #if DEBUG - } - #endif - } + public static extern void ProgramParameter(UInt32 program, OpenTK.Graphics.ES30.ProgramParameterName pname, Int32 value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -60700,18 +37516,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fEXT")] - public static - void ProgramUniform1(Int32 program, Int32 location, Single v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1fEXT((UInt32)program, (Int32)location, (Single)v0); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Single v0); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -60751,18 +37556,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Single v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1fEXT((UInt32)program, (Int32)location, (Single)v0); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Single v0); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -60801,24 +37595,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static - void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -60857,24 +37634,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static - void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Single value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -60914,18 +37674,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static - unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -60965,24 +37714,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61022,24 +37754,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Single value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61079,18 +37794,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static - unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61129,18 +37833,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1iEXT")] - public static - void ProgramUniform1(Int32 program, Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1iEXT((UInt32)program, (Int32)location, (Int32)v0); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 v0); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61180,18 +37873,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1iEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1iEXT((UInt32)program, (Int32)location, (Int32)v0); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 v0); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61230,24 +37912,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static - void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61286,24 +37951,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static - void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Int32 value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61343,18 +37991,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static - unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61394,24 +38031,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61451,24 +38071,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Int32 value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61508,18 +38111,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static - unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61559,18 +38151,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1uiEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, UInt32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1uiEXT((UInt32)program, (Int32)location, (UInt32)v0); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, UInt32 v0); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61610,24 +38191,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1uivEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glProgramUniform1uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61667,24 +38231,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1uivEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glProgramUniform1uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref UInt32 value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61724,18 +38271,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1uivEXT")] - public static - unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61774,18 +38310,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fEXT")] - public static - void ProgramUniform2(Int32 program, Int32 location, Single v0, Single v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Single v0, Single v1); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61825,18 +38350,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Single v0, Single v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Single v0, Single v1); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61875,24 +38389,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61931,24 +38428,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, ref Single value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -61988,18 +38468,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static - unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62039,24 +38508,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62096,24 +38548,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref Single value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62153,18 +38588,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static - unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62203,18 +38627,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2iEXT")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 v0, Int32 v1); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62254,18 +38667,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2iEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 v0, Int32 v1); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62304,24 +38706,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2ivEXT")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62361,18 +38746,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2ivEXT")] - public static - unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62412,24 +38786,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2ivEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62469,18 +38826,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2ivEXT")] - public static - unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62520,18 +38866,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2uiEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, UInt32 v0, UInt32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, UInt32 v0, UInt32 v1); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62571,24 +38906,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2uivEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glProgramUniform2uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62628,24 +38946,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2uivEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glProgramUniform2uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref UInt32 value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62685,18 +38986,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2uivEXT")] - public static - unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62735,18 +39025,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fEXT")] - public static - void ProgramUniform3(Int32 program, Int32 location, Single v0, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Single v0, Single v1, Single v2); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62786,18 +39065,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Single v0, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Single v0, Single v1, Single v2); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62836,24 +39104,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62892,24 +39143,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Single value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -62949,18 +39183,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static - unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63000,24 +39223,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63057,24 +39263,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Single value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63114,18 +39303,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static - unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63164,18 +39342,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3iEXT")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63215,18 +39382,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3iEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63265,24 +39421,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63321,24 +39460,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Int32 value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63378,18 +39500,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static - unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63429,24 +39540,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63486,24 +39580,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Int32 value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63543,18 +39620,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static - unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63594,18 +39660,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3uiEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63645,24 +39700,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3uivEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glProgramUniform3uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63702,24 +39740,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3uivEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glProgramUniform3uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref UInt32 value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63759,18 +39780,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3uivEXT")] - public static - unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63809,18 +39819,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fEXT")] - public static - void ProgramUniform4(Int32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Single v0, Single v1, Single v2, Single v3); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63860,18 +39859,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63910,24 +39898,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -63966,24 +39937,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Single value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64023,18 +39977,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static - unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64074,24 +40017,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64131,24 +40057,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Single value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64188,18 +40097,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static - unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64238,18 +40136,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4iEXT")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64289,18 +40176,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4iEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64339,24 +40215,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64395,24 +40254,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Int32 value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64452,18 +40294,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static - unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64503,24 +40334,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64560,24 +40374,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Int32 value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64617,18 +40414,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static - unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32* value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64668,18 +40454,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4uiEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64719,24 +40494,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4uivEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glProgramUniform4uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32[] value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64776,24 +40534,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4uivEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glProgramUniform4uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref UInt32 value); /// [requires: EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -64833,1095 +40574,263 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4uivEXT")] - public static - unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32* value); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static - void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static - void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static - unsafe void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static - void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static - void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static - unsafe void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static - void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static - void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static - unsafe void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static - void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static - void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static - unsafe void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static - void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static - void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static - unsafe void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static - void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static - void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static - unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static - void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static - void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static - unsafe void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static - void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static - void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static - unsafe void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static - void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static - void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static - unsafe void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static - void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static - void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static - unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static - void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static - void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static - unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static - void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static - void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static - unsafe void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_separate_shader_objects|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] - public static - void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] - public static - void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] - public static - unsafe void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_separate_shader_objects|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] - public static - void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] - public static - void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] - public static - unsafe void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static - void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static - void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static - unsafe void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static - void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static - void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static - unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static - void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static - void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static - unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static - void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static - void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static - unsafe void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_debug_marker] [AutoGenerated(Category = "EXT_debug_marker", Version = "", EntryPoint = "glPushGroupMarkerEXT")] - public static - void PushGroupMarker(Int32 length, String marker) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPushGroupMarkerEXT((Int32)length, (String)marker); - #if DEBUG - } - #endif - } + public static extern void PushGroupMarker(Int32 length, String marker); /// [requires: EXT_disjoint_timer_query] /// Record the GL time into a query object after all previous commands have reached the GL server but have not yet necessarily executed. @@ -65937,18 +40846,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glQueryCounterEXT")] - public static - void QueryCounter(Int32 id, OpenTK.Graphics.ES30.All target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glQueryCounterEXT((UInt32)id, (OpenTK.Graphics.ES30.All)target); - #if DEBUG - } - #endif - } + public static extern void QueryCounter(Int32 id, OpenTK.Graphics.ES30.All target); /// [requires: EXT_disjoint_timer_query] /// Record the GL time into a query object after all previous commands have reached the GL server but have not yet necessarily executed. @@ -65965,145 +40863,39 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glQueryCounterEXT")] - public static - void QueryCounter(UInt32 id, OpenTK.Graphics.ES30.All target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glQueryCounterEXT((UInt32)id, (OpenTK.Graphics.ES30.All)target); - #if DEBUG - } - #endif - } + public static extern void QueryCounter(UInt32 id, OpenTK.Graphics.ES30.All target); /// [requires: EXT_multiview_draw_buffers] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glReadBufferIndexedEXT")] - public static - void ReadBufferIndexed(OpenTK.Graphics.ES30.All src, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReadBufferIndexedEXT((OpenTK.Graphics.ES30.All)src, (Int32)index); - #if DEBUG - } - #endif - } + public static extern void ReadBufferIndexed(OpenTK.Graphics.ES30.All src, Int32 index); /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")] - public static - void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, Int32 bufSize, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReadnPixelsEXT((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.All)format, (OpenTK.Graphics.ES30.All)type, (Int32)bufSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, Int32 bufSize, [OutAttribute] IntPtr data); /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")] - public static - void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, Int32 bufSize, [InAttribute, OutAttribute] T7[] data) + public static extern void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, Int32 bufSize, [InAttribute, OutAttribute] T7[] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glReadnPixelsEXT((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.All)format, (OpenTK.Graphics.ES30.All)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")] - public static - void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, Int32 bufSize, [InAttribute, OutAttribute] T7[,] data) + public static extern void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, Int32 bufSize, [InAttribute, OutAttribute] T7[,] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glReadnPixelsEXT((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.All)format, (OpenTK.Graphics.ES30.All)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")] - public static - void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, Int32 bufSize, [InAttribute, OutAttribute] T7[,,] data) + public static extern void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, Int32 bufSize, [InAttribute, OutAttribute] T7[,,] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glReadnPixelsEXT((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.All)format, (OpenTK.Graphics.ES30.All)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_robustness] [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")] - public static - void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, Int32 bufSize, [InAttribute, OutAttribute] ref T7 data) + public static extern void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, Int32 bufSize, [InAttribute, OutAttribute] ref T7 data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glReadnPixelsEXT((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.All)format, (OpenTK.Graphics.ES30.All)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T7)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multisampled_render_to_texture] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -66135,18 +40927,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multisampled_render_to_texture", Version = "", EntryPoint = "glRenderbufferStorageMultisampleEXT")] - public static - void RenderbufferStorageMultisample(OpenTK.Graphics.ES30.All target, Int32 samples, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageMultisampleEXT((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorageMultisample(OpenTK.Graphics.ES30.All target, Int32 samples, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height); /// [requires: EXT_multisampled_render_to_texture] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -66177,18 +40958,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_multisampled_render_to_texture", Version = "", EntryPoint = "glRenderbufferStorageMultisampleEXT")] - public static - void RenderbufferStorageMultisample(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageMultisampleEXT((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorageMultisample(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); /// [requires: EXT_texture_storage] /// Simultaneously specify storage for all levels of a one-dimensional texture @@ -66214,18 +40984,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTexStorage1DEXT")] - public static - void TexStorage1D(OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexStorage1DEXT((OpenTK.Graphics.ES30.All)target, (Int32)levels, (OpenTK.Graphics.ES30.All)internalformat, (Int32)width); - #if DEBUG - } - #endif - } + public static extern void TexStorage1D(OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width); /// [requires: EXT_texture_storage] /// Simultaneously specify storage for all levels of a two-dimensional or one-dimensional array texture @@ -66257,18 +41016,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTexStorage2DEXT")] - public static - void TexStorage2D(OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexStorage2DEXT((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void TexStorage2D(OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height); /// [requires: EXT_texture_storage] /// Simultaneously specify storage for all levels of a two-dimensional or one-dimensional array texture @@ -66299,18 +41047,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTexStorage2DEXT")] - public static - void TexStorage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexStorage2DEXT((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void TexStorage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height); /// [requires: EXT_texture_storage] /// Simultaneously specify storage for all levels of a three-dimensional, two-dimensional array or cube-map array texture @@ -66347,18 +41084,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTexStorage3DEXT")] - public static - void TexStorage3D(OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexStorage3DEXT((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth); - #if DEBUG - } - #endif - } + public static extern void TexStorage3D(OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth); /// [requires: EXT_texture_storage] /// Simultaneously specify storage for all levels of a three-dimensional, two-dimensional array or cube-map array texture @@ -66394,111 +41120,34 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTexStorage3DEXT")] - public static - void TexStorage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexStorage3DEXT((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth); - #if DEBUG - } - #endif - } + public static extern void TexStorage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth); /// [requires: EXT_texture_storage] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage1DEXT")] - public static - void TextureStorage1D(Int32 texture, OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureStorage1DEXT((UInt32)texture, (OpenTK.Graphics.ES30.All)target, (Int32)levels, (OpenTK.Graphics.ES30.All)internalformat, (Int32)width); - #if DEBUG - } - #endif - } + public static extern void TextureStorage1D(Int32 texture, OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width); /// [requires: EXT_texture_storage] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage1DEXT")] - public static - void TextureStorage1D(UInt32 texture, OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureStorage1DEXT((UInt32)texture, (OpenTK.Graphics.ES30.All)target, (Int32)levels, (OpenTK.Graphics.ES30.All)internalformat, (Int32)width); - #if DEBUG - } - #endif - } + public static extern void TextureStorage1D(UInt32 texture, OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width); /// [requires: EXT_texture_storage] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage2DEXT")] - public static - void TextureStorage2D(Int32 texture, OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureStorage2DEXT((UInt32)texture, (OpenTK.Graphics.ES30.All)target, (Int32)levels, (OpenTK.Graphics.ES30.All)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void TextureStorage2D(Int32 texture, OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height); /// [requires: EXT_texture_storage] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage2DEXT")] - public static - void TextureStorage2D(UInt32 texture, OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureStorage2DEXT((UInt32)texture, (OpenTK.Graphics.ES30.All)target, (Int32)levels, (OpenTK.Graphics.ES30.All)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void TextureStorage2D(UInt32 texture, OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height); /// [requires: EXT_texture_storage] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage3DEXT")] - public static - void TextureStorage3D(Int32 texture, OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureStorage3DEXT((UInt32)texture, (OpenTK.Graphics.ES30.All)target, (Int32)levels, (OpenTK.Graphics.ES30.All)internalformat, (Int32)width, (Int32)height, (Int32)depth); - #if DEBUG - } - #endif - } + public static extern void TextureStorage3D(Int32 texture, OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth); /// [requires: EXT_texture_storage] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage3DEXT")] - public static - void TextureStorage3D(UInt32 texture, OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureStorage3DEXT((UInt32)texture, (OpenTK.Graphics.ES30.All)target, (Int32)levels, (OpenTK.Graphics.ES30.All)internalformat, (Int32)width, (Int32)height, (Int32)depth); - #if DEBUG - } - #endif - } + public static extern void TextureStorage3D(UInt32 texture, OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth); /// [requires: EXT_separate_shader_objects] /// Bind stages of a program object to a program pipeline @@ -66519,18 +41168,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glUseProgramStagesEXT")] - public static - void UseProgramStages(Int32 pipeline, Int32 stages, Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUseProgramStagesEXT((UInt32)pipeline, (UInt32)stages, (UInt32)program); - #if DEBUG - } - #endif - } + public static extern void UseProgramStages(Int32 pipeline, Int32 stages, Int32 program); /// [requires: EXT_separate_shader_objects] /// Bind stages of a program object to a program pipeline @@ -66552,49 +41190,16 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glUseProgramStagesEXT")] - public static - void UseProgramStages(UInt32 pipeline, UInt32 stages, UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUseProgramStagesEXT((UInt32)pipeline, (UInt32)stages, (UInt32)program); - #if DEBUG - } - #endif - } + public static extern void UseProgramStages(UInt32 pipeline, UInt32 stages, UInt32 program); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glUseShaderProgramEXT")] - public static - void UseShaderProgram(OpenTK.Graphics.ES30.All type, Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUseShaderProgramEXT((OpenTK.Graphics.ES30.All)type, (UInt32)program); - #if DEBUG - } - #endif - } + public static extern void UseShaderProgram(OpenTK.Graphics.ES30.All type, Int32 program); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glUseShaderProgramEXT")] - public static - void UseShaderProgram(OpenTK.Graphics.ES30.All type, UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUseShaderProgramEXT((OpenTK.Graphics.ES30.All)type, (UInt32)program); - #if DEBUG - } - #endif - } + public static extern void UseShaderProgram(OpenTK.Graphics.ES30.All type, UInt32 program); /// [requires: EXT_separate_shader_objects] /// Validate a program pipeline object against current GL state @@ -66605,18 +41210,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glValidateProgramPipelineEXT")] - public static - void ValidateProgramPipeline(Int32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glValidateProgramPipelineEXT((UInt32)pipeline); - #if DEBUG - } - #endif - } + public static extern void ValidateProgramPipeline(Int32 pipeline); /// [requires: EXT_separate_shader_objects] /// Validate a program pipeline object against current GL state @@ -66628,18 +41222,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glValidateProgramPipelineEXT")] - public static - void ValidateProgramPipeline(UInt32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glValidateProgramPipelineEXT((UInt32)pipeline); - #if DEBUG - } - #endif - } + public static extern void ValidateProgramPipeline(UInt32 pipeline); /// [requires: EXT_instanced_arrays] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -66655,18 +41238,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "EXT_instanced_arrays", Version = "", EntryPoint = "glVertexAttribDivisorEXT")] - public static - void VertexAttribDivisor(Int32 index, Int32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribDivisorEXT((UInt32)index, (UInt32)divisor); - #if DEBUG - } - #endif - } + public static extern void VertexAttribDivisor(Int32 index, Int32 divisor); /// [requires: EXT_instanced_arrays] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -66683,18 +41255,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_instanced_arrays", Version = "", EntryPoint = "glVertexAttribDivisorEXT")] - public static - void VertexAttribDivisor(UInt32 index, UInt32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribDivisorEXT((UInt32)index, (UInt32)divisor); - #if DEBUG - } - #endif - } + public static extern void VertexAttribDivisor(UInt32 index, UInt32 divisor); } @@ -66702,34 +41263,12 @@ namespace OpenTK.Graphics.ES30 { /// [requires: IMG_multisampled_render_to_texture] [AutoGenerated(Category = "IMG_multisampled_render_to_texture", Version = "", EntryPoint = "glFramebufferTexture2DMultisampleIMG")] - public static - void FramebufferTexture2DMultisample(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, Int32 texture, Int32 level, Int32 samples) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2DMultisampleIMG((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)attachment, (OpenTK.Graphics.ES30.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture2DMultisample(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, Int32 texture, Int32 level, Int32 samples); /// [requires: IMG_multisampled_render_to_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "IMG_multisampled_render_to_texture", Version = "", EntryPoint = "glFramebufferTexture2DMultisampleIMG")] - public static - void FramebufferTexture2DMultisample(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, UInt32 texture, Int32 level, Int32 samples) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2DMultisampleIMG((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)attachment, (OpenTK.Graphics.ES30.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture2DMultisample(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, UInt32 texture, Int32 level, Int32 samples); /// [requires: IMG_multisampled_render_to_texture] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -66761,18 +41300,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "IMG_multisampled_render_to_texture", Version = "", EntryPoint = "glRenderbufferStorageMultisampleIMG")] - public static - void RenderbufferStorageMultisample(OpenTK.Graphics.ES30.All target, Int32 samples, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageMultisampleIMG((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorageMultisample(OpenTK.Graphics.ES30.All target, Int32 samples, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height); /// [requires: IMG_multisampled_render_to_texture] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -66803,18 +41331,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "IMG_multisampled_render_to_texture", Version = "", EntryPoint = "glRenderbufferStorageMultisampleIMG")] - public static - void RenderbufferStorageMultisample(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageMultisampleIMG((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorageMultisample(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); } @@ -66834,18 +41351,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static - void DebugMessageCallback(DebugProcKhr callback, IntPtr userParam) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageCallbackKHR((DebugProcKhr)callback, (IntPtr)userParam); - #if DEBUG - } - #endif - } + public static extern void DebugMessageCallback(DebugProcKhr callback, IntPtr userParam); /// [requires: KHR_debug] /// Specify a callback to receive debugging messages from the GL @@ -66861,27 +41367,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static - void DebugMessageCallback(DebugProcKhr callback, [InAttribute, OutAttribute] T1[] userParam) + public static extern void DebugMessageCallback(DebugProcKhr callback, [InAttribute, OutAttribute] T1[] userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallbackKHR((DebugProcKhr)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Specify a callback to receive debugging messages from the GL @@ -66897,27 +41385,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static - void DebugMessageCallback(DebugProcKhr callback, [InAttribute, OutAttribute] T1[,] userParam) + public static extern void DebugMessageCallback(DebugProcKhr callback, [InAttribute, OutAttribute] T1[,] userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallbackKHR((DebugProcKhr)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Specify a callback to receive debugging messages from the GL @@ -66933,27 +41403,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static - void DebugMessageCallback(DebugProcKhr callback, [InAttribute, OutAttribute] T1[,,] userParam) + public static extern void DebugMessageCallback(DebugProcKhr callback, [InAttribute, OutAttribute] T1[,,] userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallbackKHR((DebugProcKhr)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Specify a callback to receive debugging messages from the GL @@ -66969,28 +41421,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static - void DebugMessageCallback(DebugProcKhr callback, [InAttribute, OutAttribute] ref T1 userParam) + public static extern void DebugMessageCallback(DebugProcKhr callback, [InAttribute, OutAttribute] ref T1 userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallbackKHR((DebugProcKhr)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - userParam = (T1)userParam_ptr.Target; - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -67027,24 +41460,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, Int32[] ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, Int32[] ids, bool enabled); /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -67081,24 +41497,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, ref Int32 ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, ref Int32 ids, bool enabled); /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -67136,18 +41535,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - unsafe void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, Int32* ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - #if DEBUG - } - #endif - } + public static extern unsafe void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, Int32* ids, bool enabled); /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -67185,24 +41573,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, UInt32[] ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, UInt32[] ids, bool enabled); /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -67240,24 +41611,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, ref UInt32 ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, ref UInt32 ids, bool enabled); /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -67295,18 +41649,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - unsafe void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, UInt32* ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - #if DEBUG - } - #endif - } + public static extern unsafe void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, UInt32* ids, bool enabled); /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -67342,24 +41685,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - void DebugMessageControl(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, Int32[] ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, Int32[] ids, bool enabled); /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -67395,24 +41721,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - void DebugMessageControl(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, ref Int32 ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, ref Int32 ids, bool enabled); /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -67449,18 +41758,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - unsafe void DebugMessageControl(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, Int32* ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - #if DEBUG - } - #endif - } + public static extern unsafe void DebugMessageControl(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, Int32* ids, bool enabled); /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -67497,24 +41795,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - void DebugMessageControl(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, UInt32[] ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, UInt32[] ids, bool enabled); /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -67551,24 +41832,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - void DebugMessageControl(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, ref UInt32 ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, ref UInt32 ids, bool enabled); /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -67605,18 +41869,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - unsafe void DebugMessageControl(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - #if DEBUG - } - #endif - } + public static extern unsafe void DebugMessageControl(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled); /// [requires: KHR_debug] /// Inject an application-supplied message into the debug message queue @@ -67653,18 +41906,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsertKHR")] - public static - void DebugMessageInsert(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, Int32 id, OpenTK.Graphics.ES30.All severity, Int32 length, String buf) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageInsertKHR((OpenTK.Graphics.ES30.DebugSourceExternal)source, (OpenTK.Graphics.ES30.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES30.DebugSeverity)severity, (Int32)length, (String)buf); - #if DEBUG - } - #endif - } + public static extern void DebugMessageInsert(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, Int32 id, OpenTK.Graphics.ES30.All severity, Int32 length, String buf); /// [requires: KHR_debug] /// Inject an application-supplied message into the debug message queue @@ -67702,18 +41944,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsertKHR")] - public static - void DebugMessageInsert(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, UInt32 id, OpenTK.Graphics.ES30.All severity, Int32 length, String buf) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageInsertKHR((OpenTK.Graphics.ES30.DebugSourceExternal)source, (OpenTK.Graphics.ES30.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES30.DebugSeverity)severity, (Int32)length, (String)buf); - #if DEBUG - } - #endif - } + public static extern void DebugMessageInsert(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, UInt32 id, OpenTK.Graphics.ES30.All severity, Int32 length, String buf); /// [requires: KHR_debug] /// Inject an application-supplied message into the debug message queue @@ -67749,18 +41980,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsertKHR")] - public static - void DebugMessageInsert(OpenTK.Graphics.ES30.DebugSourceExternal source, OpenTK.Graphics.ES30.DebugType type, Int32 id, OpenTK.Graphics.ES30.DebugSeverity severity, Int32 length, String buf) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageInsertKHR((OpenTK.Graphics.ES30.DebugSourceExternal)source, (OpenTK.Graphics.ES30.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES30.DebugSeverity)severity, (Int32)length, (String)buf); - #if DEBUG - } - #endif - } + public static extern void DebugMessageInsert(OpenTK.Graphics.ES30.DebugSourceExternal source, OpenTK.Graphics.ES30.DebugType type, Int32 id, OpenTK.Graphics.ES30.DebugSeverity severity, Int32 length, String buf); /// [requires: KHR_debug] /// Inject an application-supplied message into the debug message queue @@ -67797,18 +42017,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsertKHR")] - public static - void DebugMessageInsert(OpenTK.Graphics.ES30.DebugSourceExternal source, OpenTK.Graphics.ES30.DebugType type, UInt32 id, OpenTK.Graphics.ES30.DebugSeverity severity, Int32 length, String buf) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageInsertKHR((OpenTK.Graphics.ES30.DebugSourceExternal)source, (OpenTK.Graphics.ES30.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES30.DebugSeverity)severity, (Int32)length, (String)buf); - #if DEBUG - } - #endif - } + public static extern void DebugMessageInsert(OpenTK.Graphics.ES30.DebugSourceExternal source, OpenTK.Graphics.ES30.DebugType type, UInt32 id, OpenTK.Graphics.ES30.DebugSeverity severity, Int32 length, String buf); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -67855,28 +42064,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All[] sources, [OutAttribute] OpenTK.Graphics.ES30.All[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.ES30.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.All* sources_ptr = sources) - fixed (OpenTK.Graphics.ES30.All* types_ptr = types) - fixed (Int32* ids_ptr = ids) - fixed (OpenTK.Graphics.ES30.All* severities_ptr = severities) - fixed (Int32* lengths_ptr = lengths) - { - return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES30.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All[] sources, [OutAttribute] OpenTK.Graphics.ES30.All[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.ES30.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -67923,34 +42111,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES30.All sources, [OutAttribute] out OpenTK.Graphics.ES30.All types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.ES30.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.All* sources_ptr = &sources) - fixed (OpenTK.Graphics.ES30.All* types_ptr = &types) - fixed (Int32* ids_ptr = &ids) - fixed (OpenTK.Graphics.ES30.All* severities_ptr = &severities) - fixed (Int32* lengths_ptr = &lengths) - { - Int32 retval = Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES30.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES30.All sources, [OutAttribute] out OpenTK.Graphics.ES30.All types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.ES30.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -67998,18 +42159,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All* sources, [OutAttribute] OpenTK.Graphics.ES30.All* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.ES30.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources, (OpenTK.Graphics.ES30.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.ES30.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All* sources, [OutAttribute] OpenTK.Graphics.ES30.All* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.ES30.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -68055,28 +42205,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal[] sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.DebugSourceExternal* sources_ptr = sources) - fixed (OpenTK.Graphics.ES30.DebugType* types_ptr = types) - fixed (Int32* ids_ptr = ids) - fixed (OpenTK.Graphics.ES30.DebugSeverity* severities_ptr = severities) - fixed (Int32* lengths_ptr = lengths) - { - return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES30.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal[] sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -68122,34 +42251,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES30.DebugSourceExternal sources, [OutAttribute] out OpenTK.Graphics.ES30.DebugType types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.ES30.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.DebugSourceExternal* sources_ptr = &sources) - fixed (OpenTK.Graphics.ES30.DebugType* types_ptr = &types) - fixed (Int32* ids_ptr = &ids) - fixed (OpenTK.Graphics.ES30.DebugSeverity* severities_ptr = &severities) - fixed (Int32* lengths_ptr = &lengths) - { - Int32 retval = Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES30.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES30.DebugSourceExternal sources, [OutAttribute] out OpenTK.Graphics.ES30.DebugType types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.ES30.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -68196,18 +42298,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources, (OpenTK.Graphics.ES30.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.ES30.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -68255,28 +42346,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All[] sources, [OutAttribute] OpenTK.Graphics.ES30.All[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.ES30.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.All* sources_ptr = sources) - fixed (OpenTK.Graphics.ES30.All* types_ptr = types) - fixed (UInt32* ids_ptr = ids) - fixed (OpenTK.Graphics.ES30.All* severities_ptr = severities) - fixed (Int32* lengths_ptr = lengths) - { - return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES30.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All[] sources, [OutAttribute] OpenTK.Graphics.ES30.All[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.ES30.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -68324,34 +42394,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES30.All sources, [OutAttribute] out OpenTK.Graphics.ES30.All types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.ES30.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.All* sources_ptr = &sources) - fixed (OpenTK.Graphics.ES30.All* types_ptr = &types) - fixed (UInt32* ids_ptr = &ids) - fixed (OpenTK.Graphics.ES30.All* severities_ptr = &severities) - fixed (Int32* lengths_ptr = &lengths) - { - Int32 retval = Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES30.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES30.All sources, [OutAttribute] out OpenTK.Graphics.ES30.All types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.ES30.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -68399,18 +42442,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All* sources, [OutAttribute] OpenTK.Graphics.ES30.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES30.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources, (OpenTK.Graphics.ES30.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.ES30.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All* sources, [OutAttribute] OpenTK.Graphics.ES30.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES30.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -68457,28 +42489,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal[] sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.DebugSourceExternal* sources_ptr = sources) - fixed (OpenTK.Graphics.ES30.DebugType* types_ptr = types) - fixed (UInt32* ids_ptr = ids) - fixed (OpenTK.Graphics.ES30.DebugSeverity* severities_ptr = severities) - fixed (Int32* lengths_ptr = lengths) - { - return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES30.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal[] sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -68525,34 +42536,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES30.DebugSourceExternal sources, [OutAttribute] out OpenTK.Graphics.ES30.DebugType types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.ES30.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.DebugSourceExternal* sources_ptr = &sources) - fixed (OpenTK.Graphics.ES30.DebugType* types_ptr = &types) - fixed (UInt32* ids_ptr = &ids) - fixed (OpenTK.Graphics.ES30.DebugSeverity* severities_ptr = &severities) - fixed (Int32* lengths_ptr = &lengths) - { - Int32 retval = Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES30.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES30.DebugSourceExternal sources, [OutAttribute] out OpenTK.Graphics.ES30.DebugType types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.ES30.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -68599,18 +42583,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources, (OpenTK.Graphics.ES30.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.ES30.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -68642,24 +42615,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -68691,25 +42647,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -68742,18 +42680,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - unsafe void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -68786,24 +42713,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -68836,25 +42746,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -68887,18 +42779,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - unsafe void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -68929,24 +42810,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -68977,25 +42841,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -69027,18 +42873,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - unsafe void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -69070,24 +42905,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -69119,25 +42937,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -69169,18 +42969,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - unsafe void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -69206,24 +42995,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -69249,25 +43021,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -69294,18 +43048,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -69331,33 +43074,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -69383,34 +43102,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -69437,27 +43131,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + public static extern unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -69483,33 +43159,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -69535,34 +43187,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -69589,27 +43216,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + public static extern unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -69635,33 +43244,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -69687,34 +43272,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -69741,27 +43301,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + public static extern unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -69787,34 +43329,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - ptr = (T0)ptr_ptr.Target; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -69840,35 +43357,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - ptr = (T0)ptr_ptr.Target; - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -69895,140 +43386,37 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + public static extern unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label); - ptr = (T0)ptr_ptr.Target; - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static - void GetPointer(OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPointervKHR((OpenTK.Graphics.ES30.All)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } + public static extern void GetPointer(OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr @params); /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static - void GetPointer(OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T1[] @params) + public static extern void GetPointer(OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T1[] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointervKHR((OpenTK.Graphics.ES30.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static - void GetPointer(OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T1[,] @params) + public static extern void GetPointer(OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T1[,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointervKHR((OpenTK.Graphics.ES30.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static - void GetPointer(OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T1[,,] @params) + public static extern void GetPointer(OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T1[,,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointervKHR((OpenTK.Graphics.ES30.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static - void GetPointer(OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] ref T1 @params) + public static extern void GetPointer(OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] ref T1 @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointervKHR((OpenTK.Graphics.ES30.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - @params = (T1)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Label a named object identified within a namespace @@ -70055,18 +43443,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabelKHR")] - public static - void ObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glObjectLabelKHR((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void ObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 length, String label); /// [requires: KHR_debug] /// Label a named object identified within a namespace @@ -70094,18 +43471,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabelKHR")] - public static - void ObjectLabel(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glObjectLabelKHR((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void ObjectLabel(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 length, String label); /// [requires: KHR_debug] /// Label a named object identified within a namespace @@ -70131,18 +43497,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabelKHR")] - public static - void ObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, Int32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glObjectLabelKHR((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void ObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, Int32 name, Int32 length, String label); /// [requires: KHR_debug] /// Label a named object identified within a namespace @@ -70169,18 +43524,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabelKHR")] - public static - void ObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glObjectLabelKHR((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void ObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label); /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -70201,18 +43545,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static - void ObjectPtrLabel(IntPtr ptr, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glObjectPtrLabelKHR((IntPtr)ptr, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void ObjectPtrLabel(IntPtr ptr, Int32 length, String label); /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -70233,27 +43566,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static - void ObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 length, String label) + public static extern void ObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 length, String label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -70274,27 +43589,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static - void ObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 length, String label) + public static extern void ObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 length, String label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -70315,27 +43612,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static - void ObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 length, String label) + public static extern void ObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 length, String label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -70356,45 +43635,15 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static - void ObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 length, String label) + public static extern void ObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 length, String label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label); - ptr = (T0)ptr_ptr.Target; - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Pop the active debug group /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPopDebugGroupKHR")] - public static - void PopDebugGroup() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPopDebugGroupKHR(); - #if DEBUG - } - #endif - } + public static extern void PopDebugGroup(); /// [requires: KHR_debug] /// Push a named debug group into the command stream @@ -70420,18 +43669,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPushDebugGroupKHR")] - public static - void PushDebugGroup(OpenTK.Graphics.ES30.All source, Int32 id, Int32 length, String message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPushDebugGroupKHR((OpenTK.Graphics.ES30.All)source, (UInt32)id, (Int32)length, (String)message); - #if DEBUG - } - #endif - } + public static extern void PushDebugGroup(OpenTK.Graphics.ES30.All source, Int32 id, Int32 length, String message); /// [requires: KHR_debug] /// Push a named debug group into the command stream @@ -70458,18 +43696,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPushDebugGroupKHR")] - public static - void PushDebugGroup(OpenTK.Graphics.ES30.All source, UInt32 id, Int32 length, String message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPushDebugGroupKHR((OpenTK.Graphics.ES30.All)source, (UInt32)id, (Int32)length, (String)message); - #if DEBUG - } - #endif - } + public static extern void PushDebugGroup(OpenTK.Graphics.ES30.All source, UInt32 id, Int32 length, String message); } @@ -70477,33 +43704,11 @@ namespace OpenTK.Graphics.ES30 { /// [requires: NV_blend_equation_advanced] [AutoGenerated(Category = "NV_blend_equation_advanced", Version = "", EntryPoint = "glBlendBarrierNV")] - public static - void BlendBarrier() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendBarrierNV(); - #if DEBUG - } - #endif - } + public static extern void BlendBarrier(); /// [requires: NV_blend_equation_advanced] [AutoGenerated(Category = "NV_blend_equation_advanced", Version = "", EntryPoint = "glBlendParameteriNV")] - public static - void BlendParameter(OpenTK.Graphics.ES30.All pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendParameteriNV((OpenTK.Graphics.ES30.All)pname, (Int32)value); - #if DEBUG - } - #endif - } + public static extern void BlendParameter(OpenTK.Graphics.ES30.All pname, Int32 value); /// [requires: NV_framebuffer_blit] /// Copy a block of pixels from the read framebuffer to the draw framebuffer @@ -70530,18 +43735,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_framebuffer_blit", Version = "", EntryPoint = "glBlitFramebufferNV")] - public static - void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.All mask, OpenTK.Graphics.ES30.All filter) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlitFramebufferNV((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ES30.ClearBufferMask)mask, (OpenTK.Graphics.ES30.BlitFramebufferFilter)filter); - #if DEBUG - } - #endif - } + public static extern void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.All mask, OpenTK.Graphics.ES30.All filter); /// [requires: NV_framebuffer_blit] /// Copy a block of pixels from the read framebuffer to the draw framebuffer @@ -70567,18 +43761,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "NV_framebuffer_blit", Version = "", EntryPoint = "glBlitFramebufferNV")] - public static - void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.ClearBufferMask mask, OpenTK.Graphics.ES30.BlitFramebufferFilter filter) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlitFramebufferNV((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ES30.ClearBufferMask)mask, (OpenTK.Graphics.ES30.BlitFramebufferFilter)filter); - #if DEBUG - } - #endif - } + public static extern void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.ClearBufferMask mask, OpenTK.Graphics.ES30.BlitFramebufferFilter filter); /// [requires: NV_copy_buffer] /// Copy part of the data store of a buffer object to the data store of another buffer object @@ -70610,18 +43793,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_copy_buffer", Version = "", EntryPoint = "glCopyBufferSubDataNV")] - public static - void CopyBufferSubData(OpenTK.Graphics.ES30.All readTarget, OpenTK.Graphics.ES30.All writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyBufferSubDataNV((OpenTK.Graphics.ES30.BufferTarget)readTarget, (OpenTK.Graphics.ES30.BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size); - #if DEBUG - } - #endif - } + public static extern void CopyBufferSubData(OpenTK.Graphics.ES30.All readTarget, OpenTK.Graphics.ES30.All writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size); /// [requires: NV_copy_buffer] /// Copy part of the data store of a buffer object to the data store of another buffer object @@ -70652,207 +43824,52 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "NV_copy_buffer", Version = "", EntryPoint = "glCopyBufferSubDataNV")] - public static - void CopyBufferSubData(OpenTK.Graphics.ES30.BufferTarget readTarget, OpenTK.Graphics.ES30.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyBufferSubDataNV((OpenTK.Graphics.ES30.BufferTarget)readTarget, (OpenTK.Graphics.ES30.BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size); - #if DEBUG - } - #endif - } + public static extern void CopyBufferSubData(OpenTK.Graphics.ES30.BufferTarget readTarget, OpenTK.Graphics.ES30.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size); /// [requires: NV_coverage_sample] [AutoGenerated(Category = "NV_coverage_sample", Version = "", EntryPoint = "glCoverageMaskNV")] - public static - void CoverageMask(bool mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCoverageMaskNV((bool)mask); - #if DEBUG - } - #endif - } + public static extern void CoverageMask(bool mask); /// [requires: NV_coverage_sample] [AutoGenerated(Category = "NV_coverage_sample", Version = "", EntryPoint = "glCoverageOperationNV")] - public static - void CoverageOperation(OpenTK.Graphics.ES30.All operation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCoverageOperationNV((OpenTK.Graphics.ES30.All)operation); - #if DEBUG - } - #endif - } + public static extern void CoverageOperation(OpenTK.Graphics.ES30.All operation); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static - void DeleteFence(Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* fences_ptr = (UInt32*)&fences; - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteFence(Int32 fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static - void DeleteFence(UInt32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* fences_ptr = (UInt32*)&fences; - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteFence(UInt32 fences); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static - void DeleteFences(Int32 n, Int32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = fences) - { - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFences(Int32 n, Int32[] fences); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static - void DeleteFences(Int32 n, ref Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = &fences) - { - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFences(Int32 n, ref Int32 fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static - unsafe void DeleteFences(Int32 n, Int32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteFences(Int32 n, Int32* fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static - void DeleteFences(Int32 n, UInt32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = fences) - { - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFences(Int32 n, UInt32[] fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static - void DeleteFences(Int32 n, ref UInt32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = &fences) - { - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFences(Int32 n, ref UInt32 fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static - unsafe void DeleteFences(Int32 n, UInt32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteFences(Int32 n, UInt32* fences); /// [requires: NV_draw_instanced] /// Draw multiple instances of a range of elements @@ -70879,18 +43896,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawArraysInstancedNV")] - public static - void DrawArraysInstanced(OpenTK.Graphics.ES30.All mode, Int32 first, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArraysInstancedNV((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern void DrawArraysInstanced(OpenTK.Graphics.ES30.All mode, Int32 first, Int32 count, Int32 primcount); /// [requires: NV_draw_instanced] /// Draw multiple instances of a range of elements @@ -70916,18 +43922,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawArraysInstancedNV")] - public static - void DrawArraysInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArraysInstancedNV((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern void DrawArraysInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount); /// [requires: NV_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -70944,24 +43939,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_draw_buffers", Version = "", EntryPoint = "glDrawBuffersNV")] - public static - void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.All[] bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.All* bufs_ptr = bufs) - { - Delegates.glDrawBuffersNV((Int32)n, (OpenTK.Graphics.ES30.DrawBufferMode*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.All[] bufs); /// [requires: NV_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -70978,24 +43956,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_draw_buffers", Version = "", EntryPoint = "glDrawBuffersNV")] - public static - void DrawBuffers(Int32 n, ref OpenTK.Graphics.ES30.All bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.All* bufs_ptr = &bufs) - { - Delegates.glDrawBuffersNV((Int32)n, (OpenTK.Graphics.ES30.DrawBufferMode*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawBuffers(Int32 n, ref OpenTK.Graphics.ES30.All bufs); /// [requires: NV_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -71013,18 +43974,7 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_draw_buffers", Version = "", EntryPoint = "glDrawBuffersNV")] - public static - unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.All* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawBuffersNV((Int32)n, (OpenTK.Graphics.ES30.DrawBufferMode*)bufs); - #if DEBUG - } - #endif - } + public static extern unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.All* bufs); /// [requires: NV_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -71040,24 +43990,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "NV_draw_buffers", Version = "", EntryPoint = "glDrawBuffersNV")] - public static - void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.DrawBufferMode[] bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.DrawBufferMode* bufs_ptr = bufs) - { - Delegates.glDrawBuffersNV((Int32)n, (OpenTK.Graphics.ES30.DrawBufferMode*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.DrawBufferMode[] bufs); /// [requires: NV_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -71073,24 +44006,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "NV_draw_buffers", Version = "", EntryPoint = "glDrawBuffersNV")] - public static - void DrawBuffers(Int32 n, ref OpenTK.Graphics.ES30.DrawBufferMode bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ES30.DrawBufferMode* bufs_ptr = &bufs) - { - Delegates.glDrawBuffersNV((Int32)n, (OpenTK.Graphics.ES30.DrawBufferMode*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawBuffers(Int32 n, ref OpenTK.Graphics.ES30.DrawBufferMode bufs); /// [requires: NV_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -71107,18 +44023,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_draw_buffers", Version = "", EntryPoint = "glDrawBuffersNV")] - public static - unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.DrawBufferMode* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawBuffersNV((Int32)n, (OpenTK.Graphics.ES30.DrawBufferMode*)bufs); - #if DEBUG - } - #endif - } + public static extern unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.DrawBufferMode* bufs); /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -71150,18 +44055,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstancedNV((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, IntPtr indices, Int32 primcount); /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -71193,27 +44087,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedNV((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -71245,27 +44121,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedNV((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -71297,27 +44155,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedNV((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -71349,28 +44189,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.All mode, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedNV((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -71401,18 +44222,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstancedNV((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 primcount); /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -71443,27 +44253,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedNV((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -71494,27 +44286,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedNV((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -71545,27 +44319,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedNV((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_draw_instanced] /// Draw multiple instances of a set of elements @@ -71596,352 +44352,87 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "NV_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedNV")] - public static - void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedNV((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glFinishFenceNV")] - public static - void FinishFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFinishFenceNV((UInt32)fence); - #if DEBUG - } - #endif - } + public static extern void FinishFence(Int32 fence); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glFinishFenceNV")] - public static - void FinishFence(UInt32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFinishFenceNV((UInt32)fence); - #if DEBUG - } - #endif - } + public static extern void FinishFence(UInt32 fence); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static - Int32 GenFence() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* fences_ptr = &retval; - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenFence(); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static - void GenFences(Int32 n, [OutAttribute] Int32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = fences) - { - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenFences(Int32 n, [OutAttribute] Int32[] fences); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static - void GenFences(Int32 n, [OutAttribute] out Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = &fences) - { - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); - fences = *fences_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenFences(Int32 n, [OutAttribute] out Int32 fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static - unsafe void GenFences(Int32 n, [OutAttribute] Int32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences); - #if DEBUG - } - #endif - } + public static extern unsafe void GenFences(Int32 n, [OutAttribute] Int32* fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static - void GenFences(Int32 n, [OutAttribute] UInt32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = fences) - { - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenFences(Int32 n, [OutAttribute] UInt32[] fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static - void GenFences(Int32 n, [OutAttribute] out UInt32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = &fences) - { - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); - fences = *fences_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenFences(Int32 n, [OutAttribute] out UInt32 fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static - unsafe void GenFences(Int32 n, [OutAttribute] UInt32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences); - #if DEBUG - } - #endif - } + public static extern unsafe void GenFences(Int32 n, [OutAttribute] UInt32* fences); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static - void GetFence(Int32 fence, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFence(Int32 fence, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static - void GetFence(Int32 fence, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFence(Int32 fence, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static - unsafe void GetFence(Int32 fence, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFence(Int32 fence, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static - void GetFence(UInt32 fence, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFence(UInt32 fence, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static - void GetFence(UInt32 fence, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFence(UInt32 fence, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static - unsafe void GetFence(UInt32 fence, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFence(UInt32 fence, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glIsFenceNV")] - public static - bool IsFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsFenceNV((UInt32)fence); - #if DEBUG - } - #endif - } + public static extern bool IsFence(Int32 fence); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glIsFenceNV")] - public static - bool IsFence(UInt32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsFenceNV((UInt32)fence); - #if DEBUG - } - #endif - } + public static extern bool IsFence(UInt32 fence); /// [requires: NV_read_buffer] /// Select a color buffer source for pixels @@ -71952,18 +44443,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "NV_read_buffer", Version = "", EntryPoint = "glReadBufferNV")] - public static - void ReadBuffer(OpenTK.Graphics.ES30.All mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReadBufferNV((OpenTK.Graphics.ES30.All)mode); - #if DEBUG - } - #endif - } + public static extern void ReadBuffer(OpenTK.Graphics.ES30.All mode); /// [requires: NV_framebuffer_multisample] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -71995,18 +44475,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "NV_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleNV")] - public static - void RenderbufferStorageMultisample(OpenTK.Graphics.ES30.All target, Int32 samples, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageMultisampleNV((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorageMultisample(OpenTK.Graphics.ES30.All target, Int32 samples, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height); /// [requires: NV_framebuffer_multisample] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -72037,428 +44506,103 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "NV_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleNV")] - public static - void RenderbufferStorageMultisample(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageMultisampleNV((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorageMultisample(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glSetFenceNV")] - public static - void SetFence(Int32 fence, OpenTK.Graphics.ES30.All condition) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.ES30.All)condition); - #if DEBUG - } - #endif - } + public static extern void SetFence(Int32 fence, OpenTK.Graphics.ES30.All condition); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glSetFenceNV")] - public static - void SetFence(UInt32 fence, OpenTK.Graphics.ES30.All condition) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.ES30.All)condition); - #if DEBUG - } - #endif - } + public static extern void SetFence(UInt32 fence, OpenTK.Graphics.ES30.All condition); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glTestFenceNV")] - public static - bool TestFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glTestFenceNV((UInt32)fence); - #if DEBUG - } - #endif - } + public static extern bool TestFence(Int32 fence); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glTestFenceNV")] - public static - bool TestFence(UInt32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glTestFenceNV((UInt32)fence); - #if DEBUG - } - #endif - } + public static extern bool TestFence(UInt32 fence); /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix2x3fvNV")] - public static - void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix2x3fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix2x3fvNV")] - public static - void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix2x3fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: NV_non_square_matrices] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix2x3fvNV")] - public static - unsafe void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix2x3fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix2x4fvNV")] - public static - void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix2x4fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix2x4fvNV")] - public static - void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix2x4fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: NV_non_square_matrices] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix2x4fvNV")] - public static - unsafe void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix2x4fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix3x2fvNV")] - public static - void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix3x2fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix3x2fvNV")] - public static - void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix3x2fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: NV_non_square_matrices] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix3x2fvNV")] - public static - unsafe void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix3x2fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix3x4fvNV")] - public static - void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix3x4fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix3x4fvNV")] - public static - void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix3x4fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: NV_non_square_matrices] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix3x4fvNV")] - public static - unsafe void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix3x4fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix4x2fvNV")] - public static - void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix4x2fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix4x2fvNV")] - public static - void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix4x2fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: NV_non_square_matrices] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix4x2fvNV")] - public static - unsafe void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix4x2fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix4x3fvNV")] - public static - void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix4x3fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: NV_non_square_matrices] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix4x3fvNV")] - public static - void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix4x3fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: NV_non_square_matrices] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_non_square_matrices", Version = "", EntryPoint = "glUniformMatrix4x3fvNV")] - public static - unsafe void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix4x3fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: NV_instanced_arrays] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -72474,18 +44618,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "NV_instanced_arrays", Version = "", EntryPoint = "glVertexAttribDivisorNV")] - public static - void VertexAttribDivisor(Int32 index, Int32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribDivisorNV((UInt32)index, (UInt32)divisor); - #if DEBUG - } - #endif - } + public static extern void VertexAttribDivisor(Int32 index, Int32 divisor); /// [requires: NV_instanced_arrays] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -72502,18 +44635,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_instanced_arrays", Version = "", EntryPoint = "glVertexAttribDivisorNV")] - public static - void VertexAttribDivisor(UInt32 index, UInt32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribDivisorNV((UInt32)index, (UInt32)divisor); - #if DEBUG - } - #endif - } + public static extern void VertexAttribDivisor(UInt32 index, UInt32 divisor); } @@ -72528,18 +44650,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glBindVertexArrayOES")] - public static - void BindVertexArray(Int32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindVertexArrayOES((UInt32)array); - #if DEBUG - } - #endif - } + public static extern void BindVertexArray(Int32 array); /// [requires: OES_vertex_array_object] /// Bind a vertex array object @@ -72551,18 +44662,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glBindVertexArrayOES")] - public static - void BindVertexArray(UInt32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindVertexArrayOES((UInt32)array); - #if DEBUG - } - #endif - } + public static extern void BindVertexArray(UInt32 array); /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -72614,18 +44714,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static - void CompressedTexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -72677,27 +44766,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static - void CompressedTexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -72749,27 +44820,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static - void CompressedTexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -72821,27 +44874,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static - void CompressedTexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -72893,28 +44928,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static - void CompressedTexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T8)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -72965,18 +44981,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static - void CompressedTexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -73027,27 +45032,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static - void CompressedTexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -73098,27 +45085,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static - void CompressedTexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -73169,27 +45138,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static - void CompressedTexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image in a compressed format @@ -73240,28 +45191,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexImage3DOES")] - public static - void CompressedTexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T8)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -73318,18 +45250,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.All)format, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, IntPtr data); /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -73386,27 +45307,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[] data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -73463,27 +45366,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[,] data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[,] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -73540,27 +45425,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[,,] data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[,,] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -73617,28 +45484,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] ref T10 data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] ref T10 data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T10)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -73694,18 +45542,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.All)format, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, IntPtr data); /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -73761,27 +45598,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[] data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -73837,27 +45656,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[,] data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[,] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -73913,27 +45714,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[,,] data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[,,] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage in a compressed format @@ -73989,28 +45772,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCompressedTexSubImage3DOES")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] ref T10 data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, [InAttribute, OutAttribute] ref T10 data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T10)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Copy a three-dimensional texture subimage @@ -74057,18 +45821,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCopyTexSubImage3DOES")] - public static - void CopyTexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexSubImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void CopyTexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: OES_texture_3D] /// Copy a three-dimensional texture subimage @@ -74114,59 +45867,16 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glCopyTexSubImage3DOES")] - public static - void CopyTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexSubImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void CopyTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: OES_vertex_array_object] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static - void DeleteVertexArray(Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* arrays_ptr = (UInt32*)&arrays; - Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArray(Int32 arrays); /// [requires: OES_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static - void DeleteVertexArray(UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* arrays_ptr = (UInt32*)&arrays; - Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArray(UInt32 arrays); /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -74182,24 +45892,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static - void DeleteVertexArrays(Int32 n, Int32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArrays(Int32 n, Int32[] arrays); /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -74215,24 +45908,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static - void DeleteVertexArrays(Int32 n, ref Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = &arrays) - { - Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArrays(Int32 n, ref Int32 arrays); /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -74249,18 +45925,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static - unsafe void DeleteVertexArrays(Int32 n, Int32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteVertexArrays(Int32 n, Int32* arrays); /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -74277,24 +45942,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static - void DeleteVertexArrays(Int32 n, UInt32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = arrays) - { - Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArrays(Int32 n, UInt32[] arrays); /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -74311,24 +45959,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static - void DeleteVertexArrays(Int32 n, ref UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = &arrays) - { - Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArrays(Int32 n, ref UInt32 arrays); /// [requires: OES_vertex_array_object] /// Delete vertex array objects @@ -74345,101 +45976,28 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")] - public static - unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays); /// [requires: OES_EGL_image] [AutoGenerated(Category = "OES_EGL_image", Version = "", EntryPoint = "glEGLImageTargetRenderbufferStorageOES")] - public static - void EGLImageTargetRenderbufferStorage(OpenTK.Graphics.ES30.All target, IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEGLImageTargetRenderbufferStorageOES((OpenTK.Graphics.ES30.All)target, (IntPtr)image); - #if DEBUG - } - #endif - } + public static extern void EGLImageTargetRenderbufferStorage(OpenTK.Graphics.ES30.All target, IntPtr image); /// [requires: OES_EGL_image] [AutoGenerated(Category = "OES_EGL_image", Version = "", EntryPoint = "glEGLImageTargetTexture2DOES")] - public static - void EGLImageTargetTexture2D(OpenTK.Graphics.ES30.All target, IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEGLImageTargetTexture2DOES((OpenTK.Graphics.ES30.All)target, (IntPtr)image); - #if DEBUG - } - #endif - } + public static extern void EGLImageTargetTexture2D(OpenTK.Graphics.ES30.All target, IntPtr image); /// [requires: OES_texture_3D] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glFramebufferTexture3DOES")] - public static - void FramebufferTexture3D(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, Int32 texture, Int32 level, Int32 zoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture3DOES((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)attachment, (OpenTK.Graphics.ES30.All)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture3D(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, Int32 texture, Int32 level, Int32 zoffset); /// [requires: OES_texture_3D] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glFramebufferTexture3DOES")] - public static - void FramebufferTexture3D(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, UInt32 texture, Int32 level, Int32 zoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture3DOES((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)attachment, (OpenTK.Graphics.ES30.All)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture3D(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, UInt32 texture, Int32 level, Int32 zoffset); /// [requires: OES_vertex_array_object] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static - Int32 GenVertexArray() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* arrays_ptr = &retval; - Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenVertexArray(); /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -74455,24 +46013,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static - void GenVertexArrays(Int32 n, [OutAttribute] Int32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenVertexArrays(Int32 n, [OutAttribute] Int32[] arrays); /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -74488,25 +46029,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static - void GenVertexArrays(Int32 n, [OutAttribute] out Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = &arrays) - { - Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); - arrays = *arrays_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenVertexArrays(Int32 n, [OutAttribute] out Int32 arrays); /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -74523,18 +46046,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static - unsafe void GenVertexArrays(Int32 n, [OutAttribute] Int32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } + public static extern unsafe void GenVertexArrays(Int32 n, [OutAttribute] Int32* arrays); /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -74551,24 +46063,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static - void GenVertexArrays(Int32 n, [OutAttribute] UInt32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = arrays) - { - Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenVertexArrays(Int32 n, [OutAttribute] UInt32[] arrays); /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -74585,25 +46080,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static - void GenVertexArrays(Int32 n, [OutAttribute] out UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = &arrays) - { - Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays_ptr); - arrays = *arrays_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenVertexArrays(Int32 n, [OutAttribute] out UInt32 arrays); /// [requires: OES_vertex_array_object] /// Generate vertex array object names @@ -74620,247 +46097,68 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")] - public static - unsafe void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } + public static extern unsafe void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays); /// [requires: OES_mapbuffer] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static - void GetBufferPointer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } + public static extern void GetBufferPointer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr @params); /// [requires: OES_mapbuffer] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static - void GetBufferPointer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[] @params) + public static extern void GetBufferPointer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_mapbuffer] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static - void GetBufferPointer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[,] @params) + public static extern void GetBufferPointer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[,] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_mapbuffer] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static - void GetBufferPointer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[,,] @params) + public static extern void GetBufferPointer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[,,] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_mapbuffer] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static - void GetBufferPointer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] ref T2 @params) + public static extern void GetBufferPointer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] ref T2 @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - @params = (T2)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static - void GetBufferPointer(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } + public static extern void GetBufferPointer(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [OutAttribute] IntPtr @params); /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static - void GetBufferPointer(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [InAttribute, OutAttribute] T2[] @params) + public static extern void GetBufferPointer(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [InAttribute, OutAttribute] T2[] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static - void GetBufferPointer(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [InAttribute, OutAttribute] T2[,] @params) + public static extern void GetBufferPointer(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [InAttribute, OutAttribute] T2[,] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static - void GetBufferPointer(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [InAttribute, OutAttribute] T2[,,] @params) + public static extern void GetBufferPointer(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [InAttribute, OutAttribute] T2[,,] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")] - public static - void GetBufferPointer(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [InAttribute, OutAttribute] ref T2 @params) + public static extern void GetBufferPointer(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [InAttribute, OutAttribute] ref T2 @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - @params = (T2)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -74891,25 +46189,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES30.All[] binaryFormat, [OutAttribute] IntPtr binary) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = binaryFormat) - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES30.All[] binaryFormat, [OutAttribute] IntPtr binary); /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -74940,34 +46220,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES30.All[] binaryFormat, [InAttribute, OutAttribute] T4[] binary) + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES30.All[] binaryFormat, [InAttribute, OutAttribute] T4[] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -74998,34 +46253,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES30.All[] binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES30.All[] binaryFormat, [InAttribute, OutAttribute] T4[,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -75056,34 +46286,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES30.All[] binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES30.All[] binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -75114,35 +46319,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES30.All[] binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES30.All[] binaryFormat, [InAttribute, OutAttribute] ref T4 binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - binary = (T4)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -75173,27 +46352,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [OutAttribute] IntPtr binary) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = &binaryFormat) - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [OutAttribute] IntPtr binary); /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -75224,36 +46383,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T4[] binary) + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T4[] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -75284,36 +46416,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T4[,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -75344,36 +46449,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -75404,37 +46482,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] ref T4 binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - binary = (T4)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -75466,18 +46516,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [OutAttribute] IntPtr binary) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES30.All*)binaryFormat, (IntPtr)binary); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [OutAttribute] IntPtr binary); /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -75509,27 +46548,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] T4[] binary) + public static extern unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] T4[] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES30.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -75561,27 +46582,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + public static extern unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] T4[,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES30.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -75613,27 +46616,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + public static extern unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES30.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -75665,28 +46650,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + public static extern unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] ref T4 binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES30.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - binary = (T4)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -75718,25 +46684,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES30.All[] binaryFormat, [OutAttribute] IntPtr binary) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = binaryFormat) - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES30.All[] binaryFormat, [OutAttribute] IntPtr binary); /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -75768,34 +46716,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES30.All[] binaryFormat, [InAttribute, OutAttribute] T4[] binary) + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES30.All[] binaryFormat, [InAttribute, OutAttribute] T4[] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -75827,34 +46750,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES30.All[] binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES30.All[] binaryFormat, [InAttribute, OutAttribute] T4[,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -75886,34 +46784,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES30.All[] binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES30.All[] binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -75945,35 +46818,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES30.All[] binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES30.All[] binaryFormat, [InAttribute, OutAttribute] ref T4 binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - binary = (T4)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -76005,27 +46852,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [OutAttribute] IntPtr binary) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = &binaryFormat) - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [OutAttribute] IntPtr binary); /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -76057,36 +46884,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T4[] binary) + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T4[] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -76118,36 +46918,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T4[,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -76179,36 +46952,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -76240,37 +46986,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] ref T4 binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.ES30.All* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES30.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - binary = (T4)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -76302,18 +47020,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [OutAttribute] IntPtr binary) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES30.All*)binaryFormat, (IntPtr)binary); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [OutAttribute] IntPtr binary); /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -76345,27 +47052,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] T4[] binary) + public static extern unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] T4[] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES30.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -76397,27 +47086,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + public static extern unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] T4[,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES30.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -76449,27 +47120,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + public static extern unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES30.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Return a binary representation of a program object's compiled and linked executable source @@ -76501,28 +47154,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] - public static - unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + public static extern unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute] ref T4 binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES30.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - binary = (T4)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_vertex_array_object] /// Determine if a name corresponds to a vertex array object @@ -76533,18 +47167,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glIsVertexArrayOES")] - public static - bool IsVertexArray(Int32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsVertexArrayOES((UInt32)array); - #if DEBUG - } - #endif - } + public static extern bool IsVertexArray(Int32 array); /// [requires: OES_vertex_array_object] /// Determine if a name corresponds to a vertex array object @@ -76556,18 +47179,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glIsVertexArrayOES")] - public static - bool IsVertexArray(UInt32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsVertexArrayOES((UInt32)array); - #if DEBUG - } - #endif - } + public static extern bool IsVertexArray(UInt32 array); /// [requires: OES_mapbuffer] /// Map a buffer object's data store @@ -76583,18 +47195,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glMapBufferOES")] - public static - IntPtr MapBuffer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glMapBufferOES((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)access); - #if DEBUG - } - #endif - } + public static extern IntPtr MapBuffer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All access); /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -76620,18 +47221,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static - void ProgramBinary(Int32 program, OpenTK.Graphics.ES30.All binaryFormat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary, (Int32)length); - #if DEBUG - } - #endif - } + public static extern void ProgramBinary(Int32 program, OpenTK.Graphics.ES30.All binaryFormat, IntPtr binary, Int32 length); /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -76657,27 +47247,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static - void ProgramBinary(Int32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T2[] binary, Int32 length) + public static extern void ProgramBinary(Int32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T2[] binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -76703,27 +47275,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static - void ProgramBinary(Int32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T2[,] binary, Int32 length) + public static extern void ProgramBinary(Int32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T2[,] binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -76749,27 +47303,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static - void ProgramBinary(Int32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T2[,,] binary, Int32 length) + public static extern void ProgramBinary(Int32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T2[,,] binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -76795,28 +47331,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static - void ProgramBinary(Int32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] ref T2 binary, Int32 length) + public static extern void ProgramBinary(Int32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] ref T2 binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T2)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -76843,18 +47360,7 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static - void ProgramBinary(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary, (Int32)length); - #if DEBUG - } - #endif - } + public static extern void ProgramBinary(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, IntPtr binary, Int32 length); /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -76881,27 +47387,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static - void ProgramBinary(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T2[] binary, Int32 length) + public static extern void ProgramBinary(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T2[] binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -76928,27 +47416,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static - void ProgramBinary(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T2[,] binary, Int32 length) + public static extern void ProgramBinary(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T2[,] binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -76975,27 +47445,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static - void ProgramBinary(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T2[,,] binary, Int32 length) + public static extern void ProgramBinary(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] T2[,,] binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_get_program_binary] /// Load a program object with a program binary @@ -77022,28 +47474,9 @@ namespace OpenTK.Graphics.ES30 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glProgramBinaryOES")] - public static - void ProgramBinary(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] ref T2 binary, Int32 length) + public static extern void ProgramBinary(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute] ref T2 binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T2)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -77100,18 +47533,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static - void TexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, IntPtr pixels); /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -77168,27 +47590,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static - void TexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T9[] pixels) + public static extern void TexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T9[] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -77245,27 +47649,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static - void TexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T9[,] pixels) + public static extern void TexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T9[,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -77322,27 +47708,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static - void TexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T9[,,] pixels) + public static extern void TexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T9[,,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -77399,28 +47767,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static - void TexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T9 pixels) + public static extern void TexImage3D(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T9 pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T9)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -77476,18 +47825,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static - void TexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels); /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -77543,27 +47881,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static - void TexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T9[] pixels) + public static extern void TexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T9[] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -77619,27 +47939,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static - void TexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) + public static extern void TexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -77695,27 +47997,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static - void TexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) + public static extern void TexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture image @@ -77771,28 +48055,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexImage3DOES")] - public static - void TexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) + public static extern void TexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T9)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -77854,18 +48119,7 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static - void TexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexSubImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.All)format, (OpenTK.Graphics.ES30.All)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, IntPtr pixels); /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -77927,27 +48181,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static - void TexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T10[] pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T10[] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.All)format, (OpenTK.Graphics.ES30.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -78009,27 +48245,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static - void TexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T10[,] pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T10[,] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.All)format, (OpenTK.Graphics.ES30.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -78091,27 +48309,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static - void TexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T10[,,] pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T10[,,] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.All)format, (OpenTK.Graphics.ES30.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -78173,28 +48373,9 @@ namespace OpenTK.Graphics.ES30 /// [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static - void TexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T10 pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T10 pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.All)format, (OpenTK.Graphics.ES30.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T10)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -78255,18 +48436,7 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static - void TexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexSubImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.All)format, (OpenTK.Graphics.ES30.All)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, IntPtr pixels); /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -78327,27 +48497,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static - void TexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T10[] pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T10[] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.All)format, (OpenTK.Graphics.ES30.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -78408,27 +48560,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static - void TexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T10[,] pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T10[,] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.All)format, (OpenTK.Graphics.ES30.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -78489,27 +48623,9 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static - void TexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T10[,,] pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T10[,,] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.All)format, (OpenTK.Graphics.ES30.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_texture_3D] /// Specify a three-dimensional texture subimage @@ -78570,59 +48686,18 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "OES_texture_3D", Version = "", EntryPoint = "glTexSubImage3DOES")] - public static - void TexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T10 pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T10 pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.All)format, (OpenTK.Graphics.ES30.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T10)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: OES_mapbuffer] [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glUnmapBufferOES")] - public static - bool UnmapBuffer(OpenTK.Graphics.ES30.All target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glUnmapBufferOES((OpenTK.Graphics.ES30.BufferTarget)target); - #if DEBUG - } - #endif - } + public static extern bool UnmapBuffer(OpenTK.Graphics.ES30.All target); /// [requires: OES_mapbuffer] [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glUnmapBufferOES")] - public static - bool UnmapBuffer(OpenTK.Graphics.ES30.BufferTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glUnmapBufferOES((OpenTK.Graphics.ES30.BufferTarget)target); - #if DEBUG - } - #endif - } + public static extern bool UnmapBuffer(OpenTK.Graphics.ES30.BufferTarget target); } @@ -78642,1656 +48717,1732 @@ namespace OpenTK.Graphics.ES30 /// /// [AutoGenerated(Category = "QCOM_alpha_test", Version = "", EntryPoint = "glAlphaFuncQCOM")] - public static - void AlphaFunc(OpenTK.Graphics.ES30.All func, Single @ref) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAlphaFuncQCOM((OpenTK.Graphics.ES30.All)func, (Single)@ref); - #if DEBUG - } - #endif - } + public static extern void AlphaFunc(OpenTK.Graphics.ES30.All func, Single @ref); /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glDisableDriverControlQCOM")] - public static - void DisableDriverControl(Int32 driverControl) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableDriverControlQCOM((UInt32)driverControl); - #if DEBUG - } - #endif - } + public static extern void DisableDriverControl(Int32 driverControl); /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glDisableDriverControlQCOM")] - public static - void DisableDriverControl(UInt32 driverControl) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableDriverControlQCOM((UInt32)driverControl); - #if DEBUG - } - #endif - } + public static extern void DisableDriverControl(UInt32 driverControl); /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glEnableDriverControlQCOM")] - public static - void EnableDriverControl(Int32 driverControl) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableDriverControlQCOM((UInt32)driverControl); - #if DEBUG - } - #endif - } + public static extern void EnableDriverControl(Int32 driverControl); /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glEnableDriverControlQCOM")] - public static - void EnableDriverControl(UInt32 driverControl) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableDriverControlQCOM((UInt32)driverControl); - #if DEBUG - } - #endif - } + public static extern void EnableDriverControl(UInt32 driverControl); /// [requires: QCOM_tiled_rendering] [AutoGenerated(Category = "QCOM_tiled_rendering", Version = "", EntryPoint = "glEndTilingQCOM")] - public static - void EndTiling(Int32 preserveMask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndTilingQCOM((UInt32)preserveMask); - #if DEBUG - } - #endif - } + public static extern void EndTiling(Int32 preserveMask); /// [requires: QCOM_tiled_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_tiled_rendering", Version = "", EntryPoint = "glEndTilingQCOM")] - public static - void EndTiling(UInt32 preserveMask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndTilingQCOM((UInt32)preserveMask); - #if DEBUG - } - #endif - } + public static extern void EndTiling(UInt32 preserveMask); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")] - public static - void ExtGetBufferPointer(OpenTK.Graphics.ES30.All target, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetBufferPointervQCOM((OpenTK.Graphics.ES30.All)target, (IntPtr)@params); - #if DEBUG - } - #endif - } + public static extern void ExtGetBufferPointer(OpenTK.Graphics.ES30.All target, [OutAttribute] IntPtr @params); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")] - public static - void ExtGetBufferPointer(OpenTK.Graphics.ES30.All target, [InAttribute, OutAttribute] T1[] @params) + public static extern void ExtGetBufferPointer(OpenTK.Graphics.ES30.All target, [InAttribute, OutAttribute] T1[] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glExtGetBufferPointervQCOM((OpenTK.Graphics.ES30.All)target, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")] - public static - void ExtGetBufferPointer(OpenTK.Graphics.ES30.All target, [InAttribute, OutAttribute] T1[,] @params) + public static extern void ExtGetBufferPointer(OpenTK.Graphics.ES30.All target, [InAttribute, OutAttribute] T1[,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glExtGetBufferPointervQCOM((OpenTK.Graphics.ES30.All)target, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")] - public static - void ExtGetBufferPointer(OpenTK.Graphics.ES30.All target, [InAttribute, OutAttribute] T1[,,] @params) + public static extern void ExtGetBufferPointer(OpenTK.Graphics.ES30.All target, [InAttribute, OutAttribute] T1[,,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glExtGetBufferPointervQCOM((OpenTK.Graphics.ES30.All)target, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")] - public static - void ExtGetBufferPointer(OpenTK.Graphics.ES30.All target, [InAttribute, OutAttribute] ref T1 @params) + public static extern void ExtGetBufferPointer(OpenTK.Graphics.ES30.All target, [InAttribute, OutAttribute] ref T1 @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glExtGetBufferPointervQCOM((OpenTK.Graphics.ES30.All)target, (IntPtr)@params_ptr.AddrOfPinnedObject()); - @params = (T1)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - public static - void ExtGetBuffers([OutAttribute] Int32[] buffers, Int32 maxBuffers, [OutAttribute] Int32[] numBuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - fixed (Int32* numBuffers_ptr = numBuffers) - { - Delegates.glExtGetBuffersQCOM((UInt32*)buffers_ptr, (Int32)maxBuffers, (Int32*)numBuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetBuffers([OutAttribute] Int32[] buffers, Int32 maxBuffers, [OutAttribute] Int32[] numBuffers); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - public static - void ExtGetBuffers([OutAttribute] out Int32 buffers, Int32 maxBuffers, [OutAttribute] out Int32 numBuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - fixed (Int32* numBuffers_ptr = &numBuffers) - { - Delegates.glExtGetBuffersQCOM((UInt32*)buffers_ptr, (Int32)maxBuffers, (Int32*)numBuffers_ptr); - buffers = *buffers_ptr; - numBuffers = *numBuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetBuffers([OutAttribute] out Int32 buffers, Int32 maxBuffers, [OutAttribute] out Int32 numBuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - public static - unsafe void ExtGetBuffers([OutAttribute] Int32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetBuffersQCOM((UInt32*)buffers, (Int32)maxBuffers, (Int32*)numBuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetBuffers([OutAttribute] Int32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - public static - void ExtGetBuffers([OutAttribute] UInt32[] buffers, Int32 maxBuffers, [OutAttribute] Int32[] numBuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - fixed (Int32* numBuffers_ptr = numBuffers) - { - Delegates.glExtGetBuffersQCOM((UInt32*)buffers_ptr, (Int32)maxBuffers, (Int32*)numBuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetBuffers([OutAttribute] UInt32[] buffers, Int32 maxBuffers, [OutAttribute] Int32[] numBuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - public static - void ExtGetBuffers([OutAttribute] out UInt32 buffers, Int32 maxBuffers, [OutAttribute] out Int32 numBuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - fixed (Int32* numBuffers_ptr = &numBuffers) - { - Delegates.glExtGetBuffersQCOM((UInt32*)buffers_ptr, (Int32)maxBuffers, (Int32*)numBuffers_ptr); - buffers = *buffers_ptr; - numBuffers = *numBuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetBuffers([OutAttribute] out UInt32 buffers, Int32 maxBuffers, [OutAttribute] out Int32 numBuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - public static - unsafe void ExtGetBuffers([OutAttribute] UInt32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetBuffersQCOM((UInt32*)buffers, (Int32)maxBuffers, (Int32*)numBuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetBuffers([OutAttribute] UInt32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static - void ExtGetFramebuffers([OutAttribute] Int32[] framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32[] numFramebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - fixed (Int32* numFramebuffers_ptr = numFramebuffers) - { - Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers_ptr, (Int32)maxFramebuffers, (Int32*)numFramebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetFramebuffers([OutAttribute] Int32[] framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32[] numFramebuffers); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static - void ExtGetFramebuffers([OutAttribute] out Int32 framebuffers, Int32 maxFramebuffers, [OutAttribute] out Int32 numFramebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - fixed (Int32* numFramebuffers_ptr = &numFramebuffers) - { - Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers_ptr, (Int32)maxFramebuffers, (Int32*)numFramebuffers_ptr); - framebuffers = *framebuffers_ptr; - numFramebuffers = *numFramebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetFramebuffers([OutAttribute] out Int32 framebuffers, Int32 maxFramebuffers, [OutAttribute] out Int32 numFramebuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static - unsafe void ExtGetFramebuffers([OutAttribute] Int32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers, (Int32)maxFramebuffers, (Int32*)numFramebuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetFramebuffers([OutAttribute] Int32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static - void ExtGetFramebuffers([OutAttribute] UInt32[] framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32[] numFramebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = framebuffers) - fixed (Int32* numFramebuffers_ptr = numFramebuffers) - { - Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers_ptr, (Int32)maxFramebuffers, (Int32*)numFramebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetFramebuffers([OutAttribute] UInt32[] framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32[] numFramebuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static - void ExtGetFramebuffers([OutAttribute] out UInt32 framebuffers, Int32 maxFramebuffers, [OutAttribute] out Int32 numFramebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = &framebuffers) - fixed (Int32* numFramebuffers_ptr = &numFramebuffers) - { - Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers_ptr, (Int32)maxFramebuffers, (Int32*)numFramebuffers_ptr); - framebuffers = *framebuffers_ptr; - numFramebuffers = *numFramebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetFramebuffers([OutAttribute] out UInt32 framebuffers, Int32 maxFramebuffers, [OutAttribute] out Int32 numFramebuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] - public static - unsafe void ExtGetFramebuffers([OutAttribute] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers, (Int32)maxFramebuffers, (Int32*)numFramebuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetFramebuffers([OutAttribute] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers); /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static - void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES30.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32[] length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES30.All)shadertype, (StringBuilder)source, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES30.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32[] length); /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static - void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES30.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] out Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES30.All)shadertype, (StringBuilder)source, (Int32*)length_ptr); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES30.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] out Int32 length); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static - unsafe void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES30.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES30.All)shadertype, (StringBuilder)source, (Int32*)length); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES30.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32* length); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static - void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES30.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32[] length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES30.All)shadertype, (StringBuilder)source, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES30.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32[] length); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static - void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES30.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] out Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES30.All)shadertype, (StringBuilder)source, (Int32*)length_ptr); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES30.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] out Int32 length); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")] - public static - unsafe void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES30.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES30.All)shadertype, (StringBuilder)source, (Int32*)length); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES30.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32* length); /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static - void ExtGetProgram([OutAttribute] Int32[] programs, Int32 maxPrograms, [OutAttribute] Int32[] numPrograms) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = programs) - fixed (Int32* numPrograms_ptr = numPrograms) - { - Delegates.glExtGetProgramsQCOM((UInt32*)programs_ptr, (Int32)maxPrograms, (Int32*)numPrograms_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetProgram([OutAttribute] Int32[] programs, Int32 maxPrograms, [OutAttribute] Int32[] numPrograms); /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static - void ExtGetProgram([OutAttribute] out Int32 programs, Int32 maxPrograms, [OutAttribute] out Int32 numPrograms) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = &programs) - fixed (Int32* numPrograms_ptr = &numPrograms) - { - Delegates.glExtGetProgramsQCOM((UInt32*)programs_ptr, (Int32)maxPrograms, (Int32*)numPrograms_ptr); - programs = *programs_ptr; - numPrograms = *numPrograms_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetProgram([OutAttribute] out Int32 programs, Int32 maxPrograms, [OutAttribute] out Int32 numPrograms); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static - unsafe void ExtGetProgram([OutAttribute] Int32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetProgramsQCOM((UInt32*)programs, (Int32)maxPrograms, (Int32*)numPrograms); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetProgram([OutAttribute] Int32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static - void ExtGetProgram([OutAttribute] UInt32[] programs, Int32 maxPrograms, [OutAttribute] Int32[] numPrograms) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = programs) - fixed (Int32* numPrograms_ptr = numPrograms) - { - Delegates.glExtGetProgramsQCOM((UInt32*)programs_ptr, (Int32)maxPrograms, (Int32*)numPrograms_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetProgram([OutAttribute] UInt32[] programs, Int32 maxPrograms, [OutAttribute] Int32[] numPrograms); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static - void ExtGetProgram([OutAttribute] out UInt32 programs, Int32 maxPrograms, [OutAttribute] out Int32 numPrograms) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = &programs) - fixed (Int32* numPrograms_ptr = &numPrograms) - { - Delegates.glExtGetProgramsQCOM((UInt32*)programs_ptr, (Int32)maxPrograms, (Int32*)numPrograms_ptr); - programs = *programs_ptr; - numPrograms = *numPrograms_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetProgram([OutAttribute] out UInt32 programs, Int32 maxPrograms, [OutAttribute] out Int32 numPrograms); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - public static - unsafe void ExtGetProgram([OutAttribute] UInt32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetProgramsQCOM((UInt32*)programs, (Int32)maxPrograms, (Int32*)numPrograms); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetProgram([OutAttribute] UInt32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static - void ExtGetRenderbuffers([OutAttribute] Int32[] renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32[] numRenderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = renderbuffers) - fixed (Int32* numRenderbuffers_ptr = numRenderbuffers) - { - Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers_ptr, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetRenderbuffers([OutAttribute] Int32[] renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32[] numRenderbuffers); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static - void ExtGetRenderbuffers([OutAttribute] out Int32 renderbuffers, Int32 maxRenderbuffers, [OutAttribute] out Int32 numRenderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = &renderbuffers) - fixed (Int32* numRenderbuffers_ptr = &numRenderbuffers) - { - Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers_ptr, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers_ptr); - renderbuffers = *renderbuffers_ptr; - numRenderbuffers = *numRenderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetRenderbuffers([OutAttribute] out Int32 renderbuffers, Int32 maxRenderbuffers, [OutAttribute] out Int32 numRenderbuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static - unsafe void ExtGetRenderbuffers([OutAttribute] Int32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetRenderbuffers([OutAttribute] Int32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static - void ExtGetRenderbuffers([OutAttribute] UInt32[] renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32[] numRenderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = renderbuffers) - fixed (Int32* numRenderbuffers_ptr = numRenderbuffers) - { - Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers_ptr, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetRenderbuffers([OutAttribute] UInt32[] renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32[] numRenderbuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static - void ExtGetRenderbuffers([OutAttribute] out UInt32 renderbuffers, Int32 maxRenderbuffers, [OutAttribute] out Int32 numRenderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) - fixed (Int32* numRenderbuffers_ptr = &numRenderbuffers) - { - Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers_ptr, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers_ptr); - renderbuffers = *renderbuffers_ptr; - numRenderbuffers = *numRenderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetRenderbuffers([OutAttribute] out UInt32 renderbuffers, Int32 maxRenderbuffers, [OutAttribute] out Int32 numRenderbuffers); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] - public static - unsafe void ExtGetRenderbuffers([OutAttribute] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetRenderbuffers([OutAttribute] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers); /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static - void ExtGetShaders([OutAttribute] Int32[] shaders, Int32 maxShaders, [OutAttribute] Int32[] numShaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = shaders) - fixed (Int32* numShaders_ptr = numShaders) - { - Delegates.glExtGetShadersQCOM((UInt32*)shaders_ptr, (Int32)maxShaders, (Int32*)numShaders_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetShaders([OutAttribute] Int32[] shaders, Int32 maxShaders, [OutAttribute] Int32[] numShaders); /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static - void ExtGetShaders([OutAttribute] out Int32 shaders, Int32 maxShaders, [OutAttribute] out Int32 numShaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = &shaders) - fixed (Int32* numShaders_ptr = &numShaders) - { - Delegates.glExtGetShadersQCOM((UInt32*)shaders_ptr, (Int32)maxShaders, (Int32*)numShaders_ptr); - shaders = *shaders_ptr; - numShaders = *numShaders_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetShaders([OutAttribute] out Int32 shaders, Int32 maxShaders, [OutAttribute] out Int32 numShaders); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static - unsafe void ExtGetShaders([OutAttribute] Int32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetShadersQCOM((UInt32*)shaders, (Int32)maxShaders, (Int32*)numShaders); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetShaders([OutAttribute] Int32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static - void ExtGetShaders([OutAttribute] UInt32[] shaders, Int32 maxShaders, [OutAttribute] Int32[] numShaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = shaders) - fixed (Int32* numShaders_ptr = numShaders) - { - Delegates.glExtGetShadersQCOM((UInt32*)shaders_ptr, (Int32)maxShaders, (Int32*)numShaders_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetShaders([OutAttribute] UInt32[] shaders, Int32 maxShaders, [OutAttribute] Int32[] numShaders); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static - void ExtGetShaders([OutAttribute] out UInt32 shaders, Int32 maxShaders, [OutAttribute] out Int32 numShaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = &shaders) - fixed (Int32* numShaders_ptr = &numShaders) - { - Delegates.glExtGetShadersQCOM((UInt32*)shaders_ptr, (Int32)maxShaders, (Int32*)numShaders_ptr); - shaders = *shaders_ptr; - numShaders = *numShaders_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetShaders([OutAttribute] out UInt32 shaders, Int32 maxShaders, [OutAttribute] out Int32 numShaders); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] - public static - unsafe void ExtGetShaders([OutAttribute] UInt32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetShadersQCOM((UInt32*)shaders, (Int32)maxShaders, (Int32*)numShaders); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetShaders([OutAttribute] UInt32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static - void ExtGetTexLevelParameter(Int32 texture, OpenTK.Graphics.ES30.All face, Int32 level, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES30.All)face, (Int32)level, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetTexLevelParameter(Int32 texture, OpenTK.Graphics.ES30.All face, Int32 level, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static - void ExtGetTexLevelParameter(Int32 texture, OpenTK.Graphics.ES30.All face, Int32 level, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES30.All)face, (Int32)level, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetTexLevelParameter(Int32 texture, OpenTK.Graphics.ES30.All face, Int32 level, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static - unsafe void ExtGetTexLevelParameter(Int32 texture, OpenTK.Graphics.ES30.All face, Int32 level, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES30.All)face, (Int32)level, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetTexLevelParameter(Int32 texture, OpenTK.Graphics.ES30.All face, Int32 level, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static - void ExtGetTexLevelParameter(UInt32 texture, OpenTK.Graphics.ES30.All face, Int32 level, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES30.All)face, (Int32)level, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetTexLevelParameter(UInt32 texture, OpenTK.Graphics.ES30.All face, Int32 level, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static - void ExtGetTexLevelParameter(UInt32 texture, OpenTK.Graphics.ES30.All face, Int32 level, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES30.All)face, (Int32)level, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetTexLevelParameter(UInt32 texture, OpenTK.Graphics.ES30.All face, Int32 level, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")] - public static - unsafe void ExtGetTexLevelParameter(UInt32 texture, OpenTK.Graphics.ES30.All face, Int32 level, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES30.All)face, (Int32)level, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetTexLevelParameter(UInt32 texture, OpenTK.Graphics.ES30.All face, Int32 level, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")] - public static - void ExtGetTexSubImage(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [OutAttribute] IntPtr texels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetTexSubImageQCOM((OpenTK.Graphics.ES30.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.All)format, (OpenTK.Graphics.ES30.All)type, (IntPtr)texels); - #if DEBUG - } - #endif - } + public static extern void ExtGetTexSubImage(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [OutAttribute] IntPtr texels); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")] - public static - void ExtGetTexSubImage(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T10[] texels) + public static extern void ExtGetTexSubImage(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T10[] texels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle texels_ptr = GCHandle.Alloc(texels, GCHandleType.Pinned); - try - { - Delegates.glExtGetTexSubImageQCOM((OpenTK.Graphics.ES30.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.All)format, (OpenTK.Graphics.ES30.All)type, (IntPtr)texels_ptr.AddrOfPinnedObject()); - } - finally - { - texels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")] - public static - void ExtGetTexSubImage(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T10[,] texels) + public static extern void ExtGetTexSubImage(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T10[,] texels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle texels_ptr = GCHandle.Alloc(texels, GCHandleType.Pinned); - try - { - Delegates.glExtGetTexSubImageQCOM((OpenTK.Graphics.ES30.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.All)format, (OpenTK.Graphics.ES30.All)type, (IntPtr)texels_ptr.AddrOfPinnedObject()); - } - finally - { - texels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")] - public static - void ExtGetTexSubImage(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T10[,,] texels) + public static extern void ExtGetTexSubImage(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T10[,,] texels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle texels_ptr = GCHandle.Alloc(texels, GCHandleType.Pinned); - try - { - Delegates.glExtGetTexSubImageQCOM((OpenTK.Graphics.ES30.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.All)format, (OpenTK.Graphics.ES30.All)type, (IntPtr)texels_ptr.AddrOfPinnedObject()); - } - finally - { - texels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")] - public static - void ExtGetTexSubImage(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T10 texels) + public static extern void ExtGetTexSubImage(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T10 texels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle texels_ptr = GCHandle.Alloc(texels, GCHandleType.Pinned); - try - { - Delegates.glExtGetTexSubImageQCOM((OpenTK.Graphics.ES30.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.All)format, (OpenTK.Graphics.ES30.All)type, (IntPtr)texels_ptr.AddrOfPinnedObject()); - texels = (T10)texels_ptr.Target; - } - finally - { - texels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")] - public static - void ExtGetTextures([OutAttribute] Int32[] textures, Int32 maxTextures, [OutAttribute] Int32[] numTextures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - fixed (Int32* numTextures_ptr = numTextures) - { - Delegates.glExtGetTexturesQCOM((UInt32*)textures_ptr, (Int32)maxTextures, (Int32*)numTextures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetTextures([OutAttribute] Int32[] textures, Int32 maxTextures, [OutAttribute] Int32[] numTextures); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")] - public static - void ExtGetTextures([OutAttribute] out Int32 textures, Int32 maxTextures, [OutAttribute] out Int32 numTextures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - fixed (Int32* numTextures_ptr = &numTextures) - { - Delegates.glExtGetTexturesQCOM((UInt32*)textures_ptr, (Int32)maxTextures, (Int32*)numTextures_ptr); - textures = *textures_ptr; - numTextures = *numTextures_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetTextures([OutAttribute] out Int32 textures, Int32 maxTextures, [OutAttribute] out Int32 numTextures); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")] - public static - unsafe void ExtGetTextures([OutAttribute] Int32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetTexturesQCOM((UInt32*)textures, (Int32)maxTextures, (Int32*)numTextures); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetTextures([OutAttribute] Int32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")] - public static - void ExtGetTextures([OutAttribute] UInt32[] textures, Int32 maxTextures, [OutAttribute] Int32[] numTextures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - fixed (Int32* numTextures_ptr = numTextures) - { - Delegates.glExtGetTexturesQCOM((UInt32*)textures_ptr, (Int32)maxTextures, (Int32*)numTextures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetTextures([OutAttribute] UInt32[] textures, Int32 maxTextures, [OutAttribute] Int32[] numTextures); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")] - public static - void ExtGetTextures([OutAttribute] out UInt32 textures, Int32 maxTextures, [OutAttribute] out Int32 numTextures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - fixed (Int32* numTextures_ptr = &numTextures) - { - Delegates.glExtGetTexturesQCOM((UInt32*)textures_ptr, (Int32)maxTextures, (Int32*)numTextures_ptr); - textures = *textures_ptr; - numTextures = *numTextures_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void ExtGetTextures([OutAttribute] out UInt32 textures, Int32 maxTextures, [OutAttribute] out Int32 numTextures); /// [requires: QCOM_extended_get] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")] - public static - unsafe void ExtGetTextures([OutAttribute] UInt32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtGetTexturesQCOM((UInt32*)textures, (Int32)maxTextures, (Int32*)numTextures); - #if DEBUG - } - #endif - } + public static extern unsafe void ExtGetTextures([OutAttribute] UInt32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures); /// [requires: QCOM_extended_get2] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtIsProgramBinaryQCOM")] - public static - bool ExtIsProgramBinary(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glExtIsProgramBinaryQCOM((UInt32)program); - #if DEBUG - } - #endif - } + public static extern bool ExtIsProgramBinary(Int32 program); /// [requires: QCOM_extended_get2] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtIsProgramBinaryQCOM")] - public static - bool ExtIsProgramBinary(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glExtIsProgramBinaryQCOM((UInt32)program); - #if DEBUG - } - #endif - } + public static extern bool ExtIsProgramBinary(UInt32 program); /// [requires: QCOM_extended_get] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtTexObjectStateOverrideiQCOM")] - public static - void ExtTexObjectStateOverride(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtTexObjectStateOverrideiQCOM((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void ExtTexObjectStateOverride(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, Int32 param); /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static - void GetDriverControl([OutAttribute] Int32[] num, Int32 size, [OutAttribute] Int32[] driverControls) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* num_ptr = num) - fixed (Int32* driverControls_ptr = driverControls) - { - Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetDriverControl([OutAttribute] Int32[] num, Int32 size, [OutAttribute] Int32[] driverControls); /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static - void GetDriverControl([OutAttribute] Int32[] num, Int32 size, [OutAttribute] UInt32[] driverControls) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* num_ptr = num) - fixed (UInt32* driverControls_ptr = driverControls) - { - Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetDriverControl([OutAttribute] Int32[] num, Int32 size, [OutAttribute] UInt32[] driverControls); /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static - void GetDriverControl([OutAttribute] out Int32 num, Int32 size, [OutAttribute] out Int32 driverControls) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* num_ptr = &num) - fixed (Int32* driverControls_ptr = &driverControls) - { - Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr); - num = *num_ptr; - driverControls = *driverControls_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetDriverControl([OutAttribute] out Int32 num, Int32 size, [OutAttribute] out Int32 driverControls); /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static - void GetDriverControl([OutAttribute] out Int32 num, Int32 size, [OutAttribute] out UInt32 driverControls) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* num_ptr = &num) - fixed (UInt32* driverControls_ptr = &driverControls) - { - Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr); - num = *num_ptr; - driverControls = *driverControls_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetDriverControl([OutAttribute] out Int32 num, Int32 size, [OutAttribute] out UInt32 driverControls); /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static - unsafe void GetDriverControl([OutAttribute] Int32* num, Int32 size, [OutAttribute] Int32* driverControls) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetDriverControlsQCOM((Int32*)num, (Int32)size, (UInt32*)driverControls); - #if DEBUG - } - #endif - } + public static extern unsafe void GetDriverControl([OutAttribute] Int32* num, Int32 size, [OutAttribute] Int32* driverControls); /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")] - public static - unsafe void GetDriverControl([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetDriverControlsQCOM((Int32*)num, (Int32)size, (UInt32*)driverControls); - #if DEBUG - } - #endif - } + public static extern unsafe void GetDriverControl([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls); /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static - void GetDriverControlString(Int32 driverControl, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder driverControlString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)driverControlString); - } - } - #if DEBUG - } - #endif - } + public static extern void GetDriverControlString(Int32 driverControl, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder driverControlString); /// [requires: QCOM_driver_control] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static - void GetDriverControlString(Int32 driverControl, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder driverControlString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)driverControlString); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetDriverControlString(Int32 driverControl, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder driverControlString); /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static - unsafe void GetDriverControlString(Int32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length, (StringBuilder)driverControlString); - #if DEBUG - } - #endif - } + public static extern unsafe void GetDriverControlString(Int32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString); /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static - void GetDriverControlString(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder driverControlString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)driverControlString); - } - } - #if DEBUG - } - #endif - } + public static extern void GetDriverControlString(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder driverControlString); /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static - void GetDriverControlString(UInt32 driverControl, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder driverControlString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)driverControlString); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetDriverControlString(UInt32 driverControl, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder driverControlString); /// [requires: QCOM_driver_control] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")] - public static - unsafe void GetDriverControlString(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length, (StringBuilder)driverControlString); - #if DEBUG - } - #endif - } + public static extern unsafe void GetDriverControlString(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString); /// [requires: QCOM_tiled_rendering] [AutoGenerated(Category = "QCOM_tiled_rendering", Version = "", EntryPoint = "glStartTilingQCOM")] - public static - void StartTiling(Int32 x, Int32 y, Int32 width, Int32 height, Int32 preserveMask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStartTilingQCOM((UInt32)x, (UInt32)y, (UInt32)width, (UInt32)height, (UInt32)preserveMask); - #if DEBUG - } - #endif - } + public static extern void StartTiling(Int32 x, Int32 y, Int32 width, Int32 height, Int32 preserveMask); /// [requires: QCOM_tiled_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "QCOM_tiled_rendering", Version = "", EntryPoint = "glStartTilingQCOM")] - public static - void StartTiling(UInt32 x, UInt32 y, UInt32 width, UInt32 height, UInt32 preserveMask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStartTilingQCOM((UInt32)x, (UInt32)y, (UInt32)width, (UInt32)height, (UInt32)preserveMask); - #if DEBUG - } - #endif - } + public static extern void StartTiling(UInt32 x, UInt32 y, UInt32 width, UInt32 height, UInt32 preserveMask); } + [Slot(5)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBeginPerfMonitorAMD(UInt32 monitor); + [Slot(76)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeletePerfMonitorsAMD(Int32 n, UInt32* monitors); + [Slot(118)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEndPerfMonitorAMD(UInt32 monitor); + [Slot(153)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenPerfMonitorsAMD(Int32 n, [OutAttribute] UInt32* monitors); + [Slot(199)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPerfMonitorCounterDataAMD(UInt32 monitor, System.Int32 pname, Int32 dataSize, [OutAttribute] UInt32* data, [OutAttribute] Int32* bytesWritten); + [Slot(200)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, System.Int32 pname, [OutAttribute] IntPtr data); + [Slot(201)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPerfMonitorCountersAMD(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters); + [Slot(202)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPerfMonitorCounterStringAMD(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr counterString); + [Slot(203)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPerfMonitorGroupsAMD([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups); + [Slot(204)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr groupString); + [Slot(347)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSelectPerfMonitorCountersAMD(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32* counterList); + [Slot(30)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlitFramebufferANGLE(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, System.Int32 mask, System.Int32 filter); + [Slot(100)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawArraysInstancedANGLE(System.Int32 mode, Int32 first, Int32 count, Int32 primcount); + [Slot(109)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawElementsInstancedANGLE(System.Int32 mode, Int32 count, System.Int32 type, IntPtr indices, Int32 primcount); + [Slot(234)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTranslatedShaderSourceANGLE(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] IntPtr source); + [Slot(334)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRenderbufferStorageMultisampleANGLE(System.Int32 target, Int32 samples, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(434)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribDivisorANGLE(UInt32 index, UInt32 divisor); + [Slot(44)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern System.Int32 glClientWaitSyncAPPLE(IntPtr sync, System.Int32 flags, UInt64 timeout); + [Slot(59)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyTextureLevelsAPPLE(UInt32 destinationTexture, UInt32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount); + [Slot(85)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDeleteSyncAPPLE(IntPtr sync); + [Slot(136)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern IntPtr glFenceSyncAPPLE(System.Int32 condition, System.Int32 flags); + [Slot(187)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetInteger64vAPPLE(System.Int32 pname, [OutAttribute] Int64* @params); + [Slot(230)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetSyncivAPPLE(IntPtr sync, System.Int32 pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); + [Slot(262)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsSyncAPPLE(IntPtr sync); + [Slot(335)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRenderbufferStorageMultisampleAPPLE(System.Int32 target, Int32 samples, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(339)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glResolveMultisampleFramebufferAPPLE(); + [Slot(445)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWaitSyncAPPLE(IntPtr sync, System.Int32 flags, UInt64 timeout); + [Slot(2)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glActiveTexture(System.Int32 texture); + [Slot(4)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glAttachShader(UInt32 program, UInt32 shader); + [Slot(6)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBeginQuery(System.Int32 target, UInt32 id); + [Slot(8)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBeginTransformFeedback(System.Int32 primitiveMode); + [Slot(9)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindAttribLocation(UInt32 program, UInt32 index, IntPtr name); + [Slot(10)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindBuffer(System.Int32 target, UInt32 buffer); + [Slot(11)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindBufferBase(System.Int32 target, UInt32 index, UInt32 buffer); + [Slot(12)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindBufferRange(System.Int32 target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); + [Slot(13)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindFramebuffer(System.Int32 target, UInt32 framebuffer); + [Slot(15)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindRenderbuffer(System.Int32 target, UInt32 renderbuffer); + [Slot(16)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindSampler(UInt32 unit, UInt32 sampler); + [Slot(17)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindTexture(System.Int32 target, UInt32 texture); + [Slot(18)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindTransformFeedback(System.Int32 target, UInt32 id); + [Slot(19)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindVertexArray(UInt32 array); + [Slot(22)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendColor(Single red, Single green, Single blue, Single alpha); + [Slot(23)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendEquation(System.Int32 mode); + [Slot(25)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendEquationSeparate(System.Int32 modeRGB, System.Int32 modeAlpha); + [Slot(26)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendFunc(System.Int32 sfactor, System.Int32 dfactor); + [Slot(27)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendFuncSeparate(System.Int32 sfactorRGB, System.Int32 dfactorRGB, System.Int32 sfactorAlpha, System.Int32 dfactorAlpha); + [Slot(29)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, System.Int32 mask, System.Int32 filter); + [Slot(32)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBufferData(System.Int32 target, IntPtr size, IntPtr data, System.Int32 usage); + [Slot(33)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBufferSubData(System.Int32 target, IntPtr offset, IntPtr size, IntPtr data); + [Slot(34)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern System.Int32 glCheckFramebufferStatus(System.Int32 target); + [Slot(35)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClear(System.Int32 mask); + [Slot(36)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearBufferfi(System.Int32 buffer, Int32 drawbuffer, Single depth, Int32 stencil); + [Slot(37)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glClearBufferfv(System.Int32 buffer, Int32 drawbuffer, Single* value); + [Slot(38)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glClearBufferiv(System.Int32 buffer, Int32 drawbuffer, Int32* value); + [Slot(39)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glClearBufferuiv(System.Int32 buffer, Int32 drawbuffer, UInt32* value); + [Slot(40)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearColor(Single red, Single green, Single blue, Single alpha); + [Slot(41)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearDepthf(Single d); + [Slot(42)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearStencil(Int32 s); + [Slot(43)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern System.Int32 glClientWaitSync(IntPtr sync, System.Int32 flags, UInt64 timeout); + [Slot(45)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColorMask(bool red, bool green, bool blue, bool alpha); + [Slot(46)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompileShader(UInt32 shader); + [Slot(47)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTexImage2D(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); + [Slot(48)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTexImage3D(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); + [Slot(50)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTexSubImage2D(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, System.Int32 format, Int32 imageSize, IntPtr data); + [Slot(51)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTexSubImage3D(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, System.Int32 format, Int32 imageSize, IntPtr data); + [Slot(53)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyBufferSubData(System.Int32 readTarget, System.Int32 writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size); + [Slot(55)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyTexImage2D(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); + [Slot(56)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyTexSubImage2D(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [Slot(57)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyTexSubImage3D(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [Slot(62)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glCreateProgram(); + [Slot(63)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glCreateShader(System.Int32 type); + [Slot(66)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCullFace(System.Int32 mode); + [Slot(67)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDebugMessageCallback(DebugProc callback, IntPtr userParam); + [Slot(69)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDebugMessageControl(System.Int32 source, System.Int32 type, System.Int32 severity, Int32 count, UInt32* ids, bool enabled); + [Slot(71)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDebugMessageInsert(System.Int32 source, System.Int32 type, UInt32 id, System.Int32 severity, Int32 length, IntPtr buf); + [Slot(73)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteBuffers(Int32 n, UInt32* buffers); + [Slot(75)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteFramebuffers(Int32 n, UInt32* framebuffers); + [Slot(77)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDeleteProgram(UInt32 program); + [Slot(79)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteQueries(Int32 n, UInt32* ids); + [Slot(81)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteRenderbuffers(Int32 n, UInt32* renderbuffers); + [Slot(82)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteSamplers(Int32 count, UInt32* samplers); + [Slot(83)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDeleteShader(UInt32 shader); + [Slot(84)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDeleteSync(IntPtr sync); + [Slot(86)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteTextures(Int32 n, UInt32* textures); + [Slot(87)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteTransformFeedbacks(Int32 n, UInt32* ids); + [Slot(88)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteVertexArrays(Int32 n, UInt32* arrays); + [Slot(90)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDepthFunc(System.Int32 func); + [Slot(91)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDepthMask(bool flag); + [Slot(92)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDepthRangef(Single n, Single f); + [Slot(93)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDetachShader(UInt32 program, UInt32 shader); + [Slot(94)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDisable(System.Int32 cap); + [Slot(96)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDisableVertexAttribArray(UInt32 index); + [Slot(98)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawArrays(System.Int32 mode, Int32 first, Int32 count); + [Slot(99)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawArraysInstanced(System.Int32 mode, Int32 first, Int32 count, Int32 instancecount); + [Slot(103)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDrawBuffers(Int32 n, System.Int32* bufs); + [Slot(107)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawElements(System.Int32 mode, Int32 count, System.Int32 type, IntPtr indices); + [Slot(108)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawElementsInstanced(System.Int32 mode, Int32 count, System.Int32 type, IntPtr indices, Int32 instancecount); + [Slot(112)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawRangeElements(System.Int32 mode, UInt32 start, UInt32 end, Int32 count, System.Int32 type, IntPtr indices); + [Slot(115)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEnable(System.Int32 cap); + [Slot(117)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEnableVertexAttribArray(UInt32 index); + [Slot(119)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEndQuery(System.Int32 target); + [Slot(122)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEndTransformFeedback(); + [Slot(135)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern IntPtr glFenceSync(System.Int32 condition, System.Int32 flags); + [Slot(137)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFinish(); + [Slot(139)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFlush(); + [Slot(140)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFlushMappedBufferRange(System.Int32 target, IntPtr offset, IntPtr length); + [Slot(142)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferRenderbuffer(System.Int32 target, System.Int32 attachment, System.Int32 renderbuffertarget, UInt32 renderbuffer); + [Slot(143)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferTexture2D(System.Int32 target, System.Int32 attachment, System.Int32 textarget, UInt32 texture, Int32 level); + [Slot(147)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferTextureLayer(System.Int32 target, System.Int32 attachment, UInt32 texture, Int32 level, Int32 layer); + [Slot(148)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFrontFace(System.Int32 mode); + [Slot(149)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenBuffers(Int32 n, [OutAttribute] UInt32* buffers); + [Slot(150)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGenerateMipmap(System.Int32 target); + [Slot(152)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers); + [Slot(155)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenQueries(Int32 n, [OutAttribute] UInt32* ids); + [Slot(157)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers); + [Slot(158)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenSamplers(Int32 count, [OutAttribute] UInt32* samplers); + [Slot(159)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenTextures(Int32 n, [OutAttribute] UInt32* textures); + [Slot(160)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenTransformFeedbacks(Int32 n, [OutAttribute] UInt32* ids); + [Slot(161)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays); + [Slot(163)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] System.Int32* type, [OutAttribute] IntPtr name); + [Slot(164)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] System.Int32* type, [OutAttribute] IntPtr name); + [Slot(165)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetActiveUniformBlockiv(UInt32 program, UInt32 uniformBlockIndex, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(166)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr uniformBlockName); + [Slot(167)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetActiveUniformsiv(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(168)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders); + [Slot(169)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGetAttribLocation(UInt32 program, IntPtr name); + [Slot(170)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetBooleanv(System.Int32 pname, [OutAttribute] bool* data); + [Slot(171)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetBufferParameteri64v(System.Int32 target, System.Int32 pname, [OutAttribute] Int64* @params); + [Slot(172)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetBufferParameteriv(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(173)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetBufferPointerv(System.Int32 target, System.Int32 pname, [OutAttribute] IntPtr @params); + [Slot(175)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe Int32 glGetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] System.Int32* sources, [OutAttribute] System.Int32* types, [OutAttribute] UInt32* ids, [OutAttribute] System.Int32* severities, [OutAttribute] Int32* lengths, [OutAttribute] IntPtr messageLog); + [Slot(179)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern System.Int32 glGetError(); + [Slot(181)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetFloatv(System.Int32 pname, [OutAttribute] Single* data); + [Slot(182)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGetFragDataLocation(UInt32 program, IntPtr name); + [Slot(183)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetFramebufferAttachmentParameteriv(System.Int32 target, System.Int32 attachment, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(185)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetInteger64i_v(System.Int32 target, UInt32 index, [OutAttribute] Int64* data); + [Slot(186)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetInteger64v(System.Int32 pname, [OutAttribute] Int64* data); + [Slot(188)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetIntegeri_v(System.Int32 target, UInt32 index, [OutAttribute] Int32* data); + [Slot(190)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetIntegerv(System.Int32 pname, [OutAttribute] Int32* data); + [Slot(191)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetInternalformativ(System.Int32 target, System.Int32 internalformat, System.Int32 pname, Int32 bufSize, [OutAttribute] Int32* @params); + [Slot(194)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetObjectLabel(System.Int32 identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr label); + [Slot(197)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr label); + [Slot(205)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetPointerv(System.Int32 pname, [OutAttribute] IntPtr @params); + [Slot(207)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] System.Int32* binaryFormat, [OutAttribute] IntPtr binary); + [Slot(209)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr infoLog); + [Slot(210)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramiv(UInt32 program, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(213)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetQueryiv(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(218)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetQueryObjectuiv(UInt32 id, System.Int32 pname, [OutAttribute] UInt32* @params); + [Slot(220)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetRenderbufferParameteriv(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(221)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetSamplerParameterfv(UInt32 sampler, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(222)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetSamplerParameteriv(UInt32 sampler, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(223)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr infoLog); + [Slot(224)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetShaderiv(UInt32 shader, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(225)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetShaderPrecisionFormat(System.Int32 shadertype, System.Int32 precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision); + [Slot(226)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr source); + [Slot(227)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern IntPtr glGetString(System.Int32 name); + [Slot(228)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern IntPtr glGetStringi(System.Int32 name, UInt32 index); + [Slot(229)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetSynciv(IntPtr sync, System.Int32 pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); + [Slot(231)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexParameterfv(System.Int32 target, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(232)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexParameteriv(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(233)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] System.Int32* type, [OutAttribute] IntPtr name); + [Slot(235)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGetUniformBlockIndex(UInt32 program, IntPtr uniformBlockName); + [Slot(236)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetUniformfv(UInt32 program, Int32 location, [OutAttribute] Single* @params); + [Slot(237)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetUniformIndices(UInt32 program, Int32 uniformCount, IntPtr uniformNames, [OutAttribute] UInt32* uniformIndices); + [Slot(238)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetUniformiv(UInt32 program, Int32 location, [OutAttribute] Int32* @params); + [Slot(239)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGetUniformLocation(UInt32 program, IntPtr name); + [Slot(240)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetUniformuiv(UInt32 program, Int32 location, [OutAttribute] UInt32* @params); + [Slot(241)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexAttribfv(UInt32 index, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(242)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexAttribIiv(UInt32 index, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(243)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexAttribIuiv(UInt32 index, System.Int32 pname, [OutAttribute] UInt32* @params); + [Slot(244)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexAttribiv(UInt32 index, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(245)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetVertexAttribPointerv(UInt32 index, System.Int32 pname, [OutAttribute] IntPtr pointer); + [Slot(246)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glHint(System.Int32 target, System.Int32 mode); + [Slot(248)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glInvalidateFramebuffer(System.Int32 target, Int32 numAttachments, System.Int32* attachments); + [Slot(249)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glInvalidateSubFramebuffer(System.Int32 target, Int32 numAttachments, System.Int32* attachments, Int32 x, Int32 y, Int32 width, Int32 height); + [Slot(250)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsBuffer(UInt32 buffer); + [Slot(251)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsEnabled(System.Int32 cap); + [Slot(253)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsFramebuffer(UInt32 framebuffer); + [Slot(254)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsProgram(UInt32 program); + [Slot(256)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsQuery(UInt32 id); + [Slot(258)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsRenderbuffer(UInt32 renderbuffer); + [Slot(259)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsSampler(UInt32 sampler); + [Slot(260)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsShader(UInt32 shader); + [Slot(261)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsSync(IntPtr sync); + [Slot(263)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsTexture(UInt32 texture); + [Slot(264)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsTransformFeedback(UInt32 id); + [Slot(265)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsVertexArray(UInt32 array); + [Slot(268)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLineWidth(Single width); + [Slot(269)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLinkProgram(UInt32 program); + [Slot(271)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern IntPtr glMapBufferRange(System.Int32 target, IntPtr offset, IntPtr length, System.Int32 access); + [Slot(275)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glObjectLabel(System.Int32 identifier, UInt32 name, Int32 length, IntPtr label); + [Slot(277)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glObjectPtrLabel(IntPtr ptr, Int32 length, IntPtr label); + [Slot(279)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPauseTransformFeedback(); + [Slot(280)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPixelStorei(System.Int32 pname, Int32 param); + [Slot(281)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPolygonOffset(Single factor, Single units); + [Slot(282)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPopDebugGroup(); + [Slot(285)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramBinary(UInt32 program, System.Int32 binaryFormat, IntPtr binary, Int32 length); + [Slot(287)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramParameteri(UInt32 program, System.Int32 pname, Int32 value); + [Slot(322)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPushDebugGroup(System.Int32 source, UInt32 id, Int32 length, IntPtr message); + [Slot(326)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glReadBuffer(System.Int32 mode); + [Slot(330)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, System.Int32 format, System.Int32 type, [OutAttribute] IntPtr pixels); + [Slot(331)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glReleaseShaderCompiler(); + [Slot(332)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRenderbufferStorage(System.Int32 target, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(333)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRenderbufferStorageMultisample(System.Int32 target, Int32 samples, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(340)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glResumeTransformFeedback(); + [Slot(341)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSampleCoverage(Single value, bool invert); + [Slot(342)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSamplerParameterf(UInt32 sampler, System.Int32 pname, Single param); + [Slot(343)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSamplerParameterfv(UInt32 sampler, System.Int32 pname, Single* param); + [Slot(344)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSamplerParameteri(UInt32 sampler, System.Int32 pname, Int32 param); + [Slot(345)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSamplerParameteriv(UInt32 sampler, System.Int32 pname, Int32* param); + [Slot(346)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glScissor(Int32 x, Int32 y, Int32 width, Int32 height); + [Slot(349)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glShaderBinary(Int32 count, UInt32* shaders, System.Int32 binaryformat, IntPtr binary, Int32 length); + [Slot(350)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glShaderSource(UInt32 shader, Int32 count, IntPtr @string, Int32* length); + [Slot(352)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStencilFunc(System.Int32 func, Int32 @ref, UInt32 mask); + [Slot(353)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStencilFuncSeparate(System.Int32 face, System.Int32 func, Int32 @ref, UInt32 mask); + [Slot(354)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStencilMask(UInt32 mask); + [Slot(355)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStencilMaskSeparate(System.Int32 face, UInt32 mask); + [Slot(356)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStencilOp(System.Int32 fail, System.Int32 zfail, System.Int32 zpass); + [Slot(357)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStencilOpSeparate(System.Int32 face, System.Int32 sfail, System.Int32 dpfail, System.Int32 dppass); + [Slot(359)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexImage2D(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 width, Int32 height, Int32 border, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(360)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexImage3D(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(362)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexParameterf(System.Int32 target, System.Int32 pname, Single param); + [Slot(363)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexParameterfv(System.Int32 target, System.Int32 pname, Single* @params); + [Slot(364)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexParameteri(System.Int32 target, System.Int32 pname, Int32 param); + [Slot(365)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexParameteriv(System.Int32 target, System.Int32 pname, Int32* @params); + [Slot(367)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexStorage2D(System.Int32 target, Int32 levels, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(369)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexStorage3D(System.Int32 target, Int32 levels, System.Int32 internalformat, Int32 width, Int32 height, Int32 depth); + [Slot(371)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexSubImage2D(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(372)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexSubImage3D(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(377)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTransformFeedbackVaryings(UInt32 program, Int32 count, IntPtr varyings, System.Int32 bufferMode); + [Slot(378)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform1f(Int32 location, Single v0); + [Slot(379)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform1fv(Int32 location, Int32 count, Single* value); + [Slot(380)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform1i(Int32 location, Int32 v0); + [Slot(381)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform1iv(Int32 location, Int32 count, Int32* value); + [Slot(382)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform1ui(Int32 location, UInt32 v0); + [Slot(383)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform1uiv(Int32 location, Int32 count, UInt32* value); + [Slot(384)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform2f(Int32 location, Single v0, Single v1); + [Slot(385)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform2fv(Int32 location, Int32 count, Single* value); + [Slot(386)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform2i(Int32 location, Int32 v0, Int32 v1); + [Slot(387)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform2iv(Int32 location, Int32 count, Int32* value); + [Slot(388)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform2ui(Int32 location, UInt32 v0, UInt32 v1); + [Slot(389)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform2uiv(Int32 location, Int32 count, UInt32* value); + [Slot(390)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform3f(Int32 location, Single v0, Single v1, Single v2); + [Slot(391)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform3fv(Int32 location, Int32 count, Single* value); + [Slot(392)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform3i(Int32 location, Int32 v0, Int32 v1, Int32 v2); + [Slot(393)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform3iv(Int32 location, Int32 count, Int32* value); + [Slot(394)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform3ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); + [Slot(395)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform3uiv(Int32 location, Int32 count, UInt32* value); + [Slot(396)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform4f(Int32 location, Single v0, Single v1, Single v2, Single v3); + [Slot(397)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform4fv(Int32 location, Int32 count, Single* value); + [Slot(398)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform4i(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); + [Slot(399)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform4iv(Int32 location, Int32 count, Int32* value); + [Slot(400)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform4ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); + [Slot(401)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform4uiv(Int32 location, Int32 count, UInt32* value); + [Slot(402)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding); + [Slot(403)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix2fv(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(404)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix2x3fv(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(406)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix2x4fv(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(408)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix3fv(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(409)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix3x2fv(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(411)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix3x4fv(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(413)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix4fv(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(414)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix4x2fv(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(416)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix4x3fv(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(418)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glUnmapBuffer(System.Int32 target); + [Slot(420)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUseProgram(UInt32 program); + [Slot(423)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glValidateProgram(UInt32 program); + [Slot(425)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib1f(UInt32 index, Single x); + [Slot(426)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib1fv(UInt32 index, Single* v); + [Slot(427)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib2f(UInt32 index, Single x, Single y); + [Slot(428)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib2fv(UInt32 index, Single* v); + [Slot(429)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib3f(UInt32 index, Single x, Single y, Single z); + [Slot(430)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib3fv(UInt32 index, Single* v); + [Slot(431)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib4f(UInt32 index, Single x, Single y, Single z, Single w); + [Slot(432)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4fv(UInt32 index, Single* v); + [Slot(433)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribDivisor(UInt32 index, UInt32 divisor); + [Slot(437)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribI4i(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); + [Slot(438)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI4iv(UInt32 index, Int32* v); + [Slot(439)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribI4ui(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); + [Slot(440)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI4uiv(UInt32 index, UInt32* v); + [Slot(441)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribIPointer(UInt32 index, Int32 size, System.Int32 type, Int32 stride, IntPtr pointer); + [Slot(442)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribPointer(UInt32 index, Int32 size, System.Int32 type, bool normalized, Int32 stride, IntPtr pointer); + [Slot(443)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glViewport(Int32 x, Int32 y, Int32 width, Int32 height); + [Slot(444)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWaitSync(IntPtr sync, System.Int32 flags, UInt64 timeout); + [Slot(0)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glActiveProgramEXT(UInt32 program); + [Slot(1)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glActiveShaderProgramEXT(UInt32 pipeline, UInt32 program); + [Slot(7)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBeginQueryEXT(System.Int32 target, UInt32 id); + [Slot(14)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindProgramPipelineEXT(UInt32 pipeline); + [Slot(24)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendEquationEXT(System.Int32 mode); + [Slot(64)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glCreateShaderProgramEXT(System.Int32 type, IntPtr @string); + [Slot(65)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glCreateShaderProgramvEXT(System.Int32 type, Int32 count, IntPtr strings); + [Slot(78)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteProgramPipelinesEXT(Int32 n, UInt32* pipelines); + [Slot(80)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteQueriesEXT(Int32 n, UInt32* ids); + [Slot(97)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDiscardFramebufferEXT(System.Int32 target, Int32 numAttachments, System.Int32* attachments); + [Slot(101)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawArraysInstancedEXT(System.Int32 mode, Int32 start, Int32 count, Int32 primcount); + [Slot(104)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDrawBuffersEXT(Int32 n, System.Int32* bufs); + [Slot(105)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDrawBuffersIndexedEXT(Int32 n, System.Int32* location, Int32* indices); + [Slot(110)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawElementsInstancedEXT(System.Int32 mode, Int32 count, System.Int32 type, IntPtr indices, Int32 primcount); + [Slot(120)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEndQueryEXT(System.Int32 target); + [Slot(141)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFlushMappedBufferRangeEXT(System.Int32 target, IntPtr offset, IntPtr length); + [Slot(144)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferTexture2DMultisampleEXT(System.Int32 target, System.Int32 attachment, System.Int32 textarget, UInt32 texture, Int32 level, Int32 samples); + [Slot(154)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenProgramPipelinesEXT(Int32 n, [OutAttribute] UInt32* pipelines); + [Slot(156)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenQueriesEXT(Int32 n, [OutAttribute] UInt32* ids); + [Slot(184)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern System.Int32 glGetGraphicsResetStatusEXT(); + [Slot(189)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetIntegeri_vEXT(System.Int32 target, UInt32 index, [OutAttribute] Int32* data); + [Slot(192)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetnUniformfvEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params); + [Slot(193)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetnUniformivEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params); + [Slot(195)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetObjectLabelEXT(System.Int32 type, UInt32 @object, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr label); + [Slot(211)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramPipelineInfoLogEXT(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr infoLog); + [Slot(212)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramPipelineivEXT(UInt32 pipeline, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(214)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetQueryivEXT(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(215)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetQueryObjecti64vEXT(UInt32 id, System.Int32 pname, [OutAttribute] Int64* @params); + [Slot(216)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetQueryObjectivEXT(UInt32 id, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(217)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetQueryObjectui64vEXT(UInt32 id, System.Int32 pname, [OutAttribute] UInt64* @params); + [Slot(219)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetQueryObjectuivEXT(UInt32 id, System.Int32 pname, [OutAttribute] UInt32* @params); + [Slot(247)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glInsertEventMarkerEXT(Int32 length, IntPtr marker); + [Slot(255)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsProgramPipelineEXT(UInt32 pipeline); + [Slot(257)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsQueryEXT(UInt32 id); + [Slot(267)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLabelObjectEXT(System.Int32 type, UInt32 @object, Int32 length, IntPtr label); + [Slot(272)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern IntPtr glMapBufferRangeEXT(System.Int32 target, IntPtr offset, IntPtr length, UInt32 access); + [Slot(273)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiDrawArraysEXT(System.Int32 mode, Int32* first, Int32* count, Int32 primcount); + [Slot(274)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiDrawElementsEXT(System.Int32 mode, Int32* count, System.Int32 type, IntPtr indices, Int32 primcount); + [Slot(284)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPopGroupMarkerEXT(); + [Slot(288)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramParameteriEXT(UInt32 program, System.Int32 pname, Int32 value); + [Slot(289)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform1fEXT(UInt32 program, Int32 location, Single v0); + [Slot(290)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform1fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); + [Slot(291)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform1iEXT(UInt32 program, Int32 location, Int32 v0); + [Slot(292)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform1ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); + [Slot(293)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform1uiEXT(UInt32 program, Int32 location, UInt32 v0); + [Slot(294)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform1uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); + [Slot(295)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform2fEXT(UInt32 program, Int32 location, Single v0, Single v1); + [Slot(296)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform2fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); + [Slot(297)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform2iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1); + [Slot(298)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform2ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); + [Slot(299)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform2uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1); + [Slot(300)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform2uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); + [Slot(301)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform3fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2); + [Slot(302)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform3fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); + [Slot(303)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform3iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2); + [Slot(304)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform3ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); + [Slot(305)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform3uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); + [Slot(306)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform3uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); + [Slot(307)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform4fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3); + [Slot(308)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform4fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); + [Slot(309)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform4iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); + [Slot(310)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform4ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); + [Slot(311)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform4uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); + [Slot(312)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform4uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); + [Slot(313)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(314)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix2x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(315)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix2x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(316)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(317)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix3x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(318)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix3x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(319)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(320)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix4x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(321)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix4x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(324)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPushGroupMarkerEXT(Int32 length, IntPtr marker); + [Slot(325)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glQueryCounterEXT(UInt32 id, System.Int32 target); + [Slot(327)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glReadBufferIndexedEXT(System.Int32 src, Int32 index); + [Slot(329)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glReadnPixelsEXT(Int32 x, Int32 y, Int32 width, Int32 height, System.Int32 format, System.Int32 type, Int32 bufSize, [OutAttribute] IntPtr data); + [Slot(336)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRenderbufferStorageMultisampleEXT(System.Int32 target, Int32 samples, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(366)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexStorage1DEXT(System.Int32 target, Int32 levels, System.Int32 internalformat, Int32 width); + [Slot(368)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexStorage2DEXT(System.Int32 target, Int32 levels, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(370)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexStorage3DEXT(System.Int32 target, Int32 levels, System.Int32 internalformat, Int32 width, Int32 height, Int32 depth); + [Slot(374)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureStorage1DEXT(UInt32 texture, System.Int32 target, Int32 levels, System.Int32 internalformat, Int32 width); + [Slot(375)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureStorage2DEXT(UInt32 texture, System.Int32 target, Int32 levels, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(376)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureStorage3DEXT(UInt32 texture, System.Int32 target, Int32 levels, System.Int32 internalformat, Int32 width, Int32 height, Int32 depth); + [Slot(421)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUseProgramStagesEXT(UInt32 pipeline, UInt32 stages, UInt32 program); + [Slot(422)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUseShaderProgramEXT(System.Int32 type, UInt32 program); + [Slot(424)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glValidateProgramPipelineEXT(UInt32 pipeline); + [Slot(435)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribDivisorEXT(UInt32 index, UInt32 divisor); + [Slot(145)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferTexture2DMultisampleIMG(System.Int32 target, System.Int32 attachment, System.Int32 textarget, UInt32 texture, Int32 level, Int32 samples); + [Slot(337)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRenderbufferStorageMultisampleIMG(System.Int32 target, Int32 samples, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(68)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDebugMessageCallbackKHR(DebugProcKhr callback, IntPtr userParam); + [Slot(70)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDebugMessageControlKHR(System.Int32 source, System.Int32 type, System.Int32 severity, Int32 count, UInt32* ids, bool enabled); + [Slot(72)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDebugMessageInsertKHR(System.Int32 source, System.Int32 type, UInt32 id, System.Int32 severity, Int32 length, IntPtr buf); + [Slot(176)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe Int32 glGetDebugMessageLogKHR(UInt32 count, Int32 bufSize, [OutAttribute] System.Int32* sources, [OutAttribute] System.Int32* types, [OutAttribute] UInt32* ids, [OutAttribute] System.Int32* severities, [OutAttribute] Int32* lengths, [OutAttribute] IntPtr messageLog); + [Slot(196)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetObjectLabelKHR(System.Int32 identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr label); + [Slot(198)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetObjectPtrLabelKHR(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr label); + [Slot(206)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetPointervKHR(System.Int32 pname, [OutAttribute] IntPtr @params); + [Slot(276)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glObjectLabelKHR(System.Int32 identifier, UInt32 name, Int32 length, IntPtr label); + [Slot(278)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glObjectPtrLabelKHR(IntPtr ptr, Int32 length, IntPtr label); + [Slot(283)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPopDebugGroupKHR(); + [Slot(323)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPushDebugGroupKHR(System.Int32 source, UInt32 id, Int32 length, IntPtr message); + [Slot(21)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendBarrierNV(); + [Slot(28)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendParameteriNV(System.Int32 pname, Int32 value); + [Slot(31)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlitFramebufferNV(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, System.Int32 mask, System.Int32 filter); + [Slot(54)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyBufferSubDataNV(System.Int32 readTarget, System.Int32 writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size); + [Slot(60)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCoverageMaskNV(bool mask); + [Slot(61)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCoverageOperationNV(System.Int32 operation); + [Slot(74)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteFencesNV(Int32 n, UInt32* fences); + [Slot(102)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawArraysInstancedNV(System.Int32 mode, Int32 first, Int32 count, Int32 primcount); + [Slot(106)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDrawBuffersNV(Int32 n, System.Int32* bufs); + [Slot(111)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawElementsInstancedNV(System.Int32 mode, Int32 count, System.Int32 type, IntPtr indices, Int32 primcount); + [Slot(138)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFinishFenceNV(UInt32 fence); + [Slot(151)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenFencesNV(Int32 n, [OutAttribute] UInt32* fences); + [Slot(180)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetFenceivNV(UInt32 fence, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(252)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsFenceNV(UInt32 fence); + [Slot(328)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glReadBufferNV(System.Int32 mode); + [Slot(338)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRenderbufferStorageMultisampleNV(System.Int32 target, Int32 samples, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(348)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSetFenceNV(UInt32 fence, System.Int32 condition); + [Slot(358)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glTestFenceNV(UInt32 fence); + [Slot(405)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix2x3fvNV(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(407)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix2x4fvNV(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(410)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix3x2fvNV(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(412)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix3x4fvNV(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(415)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix4x2fvNV(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(417)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix4x3fvNV(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(436)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribDivisorNV(UInt32 index, UInt32 divisor); + [Slot(20)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindVertexArrayOES(UInt32 array); + [Slot(49)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTexImage3DOES(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); + [Slot(52)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTexSubImage3DOES(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, System.Int32 format, Int32 imageSize, IntPtr data); + [Slot(58)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyTexSubImage3DOES(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [Slot(89)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteVertexArraysOES(Int32 n, UInt32* arrays); + [Slot(113)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEGLImageTargetRenderbufferStorageOES(System.Int32 target, IntPtr image); + [Slot(114)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEGLImageTargetTexture2DOES(System.Int32 target, IntPtr image); + [Slot(146)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferTexture3DOES(System.Int32 target, System.Int32 attachment, System.Int32 textarget, UInt32 texture, Int32 level, Int32 zoffset); + [Slot(162)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenVertexArraysOES(Int32 n, [OutAttribute] UInt32* arrays); + [Slot(174)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetBufferPointervOES(System.Int32 target, System.Int32 pname, [OutAttribute] IntPtr @params); + [Slot(208)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramBinaryOES(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] System.Int32* binaryFormat, [OutAttribute] IntPtr binary); + [Slot(266)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsVertexArrayOES(UInt32 array); + [Slot(270)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern IntPtr glMapBufferOES(System.Int32 target, System.Int32 access); + [Slot(286)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramBinaryOES(UInt32 program, System.Int32 binaryFormat, IntPtr binary, Int32 length); + [Slot(361)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexImage3DOES(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(373)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexSubImage3DOES(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(419)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glUnmapBufferOES(System.Int32 target); + [Slot(3)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glAlphaFuncQCOM(System.Int32 func, Single @ref); + [Slot(95)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDisableDriverControlQCOM(UInt32 driverControl); + [Slot(116)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEnableDriverControlQCOM(UInt32 driverControl); + [Slot(121)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEndTilingQCOM(UInt32 preserveMask); + [Slot(123)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glExtGetBufferPointervQCOM(System.Int32 target, [OutAttribute] IntPtr @params); + [Slot(124)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glExtGetBuffersQCOM([OutAttribute] UInt32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers); + [Slot(125)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glExtGetFramebuffersQCOM([OutAttribute] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers); + [Slot(126)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glExtGetProgramBinarySourceQCOM(UInt32 program, System.Int32 shadertype, [OutAttribute] IntPtr source, [OutAttribute] Int32* length); + [Slot(127)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glExtGetProgramsQCOM([OutAttribute] UInt32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms); + [Slot(128)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glExtGetRenderbuffersQCOM([OutAttribute] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers); + [Slot(129)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glExtGetShadersQCOM([OutAttribute] UInt32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders); + [Slot(130)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glExtGetTexLevelParameterivQCOM(UInt32 texture, System.Int32 face, Int32 level, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(131)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glExtGetTexSubImageQCOM(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, System.Int32 format, System.Int32 type, [OutAttribute] IntPtr texels); + [Slot(132)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glExtGetTexturesQCOM([OutAttribute] UInt32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures); + [Slot(133)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glExtIsProgramBinaryQCOM(UInt32 program); + [Slot(134)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glExtTexObjectStateOverrideiQCOM(System.Int32 target, System.Int32 pname, Int32 param); + [Slot(177)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetDriverControlsQCOM([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls); + [Slot(178)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr driverControlString); + [Slot(351)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStartTilingQCOM(UInt32 x, UInt32 y, UInt32 width, UInt32 height, UInt32 preserveMask); } } diff --git a/Source/OpenTK/Graphics/ES30/ES30Core.cs b/Source/OpenTK/Graphics/ES30/ES30Core.cs deleted file mode 100644 index 76587f17..00000000 --- a/Source/OpenTK/Graphics/ES30/ES30Core.cs +++ /dev/null @@ -1,1382 +0,0 @@ -// -// The Open Toolkit Library License -// -// Copyright (c) 2006 - 2013 Stefanos Apostolopoulos for the Open Toolkit Library -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights to -// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -// the Software, and to permit persons to whom the Software is furnished to do -// so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -// OTHER DEALINGS IN THE SOFTWARE. -// - - - -namespace OpenTK.Graphics.ES30 -{ - using System; - using System.Text; - using System.Runtime.InteropServices; - #pragma warning disable 3019 - #pragma warning disable 1591 - - partial class GL - { - - internal static partial class Core - { - - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveProgramEXT", ExactSpelling = true)] - internal extern static void ActiveProgramEXT(UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveShaderProgramEXT", ExactSpelling = true)] - internal extern static void ActiveShaderProgramEXT(UInt32 pipeline, UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveTexture", ExactSpelling = true)] - internal extern static void ActiveTexture(OpenTK.Graphics.ES30.TextureUnit texture); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAlphaFuncQCOM", ExactSpelling = true)] - internal extern static void AlphaFuncQCOM(OpenTK.Graphics.ES30.All func, Single @ref); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAttachShader", ExactSpelling = true)] - internal extern static void AttachShader(UInt32 program, UInt32 shader); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginPerfMonitorAMD", ExactSpelling = true)] - internal extern static void BeginPerfMonitorAMD(UInt32 monitor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginQuery", ExactSpelling = true)] - internal extern static void BeginQuery(OpenTK.Graphics.ES30.QueryTarget target, UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginQueryEXT", ExactSpelling = true)] - internal extern static void BeginQueryEXT(OpenTK.Graphics.ES30.QueryTarget target, UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginTransformFeedback", ExactSpelling = true)] - internal extern static void BeginTransformFeedback(OpenTK.Graphics.ES30.TransformFeedbackPrimitiveType primitiveMode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindAttribLocation", ExactSpelling = true)] - internal extern static void BindAttribLocation(UInt32 program, UInt32 index, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBuffer", ExactSpelling = true)] - internal extern static void BindBuffer(OpenTK.Graphics.ES30.BufferTarget target, UInt32 buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferBase", ExactSpelling = true)] - internal extern static void BindBufferBase(OpenTK.Graphics.ES30.BufferRangeTarget target, UInt32 index, UInt32 buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferRange", ExactSpelling = true)] - internal extern static void BindBufferRange(OpenTK.Graphics.ES30.BufferRangeTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindFramebuffer", ExactSpelling = true)] - internal extern static void BindFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, UInt32 framebuffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindProgramPipelineEXT", ExactSpelling = true)] - internal extern static void BindProgramPipelineEXT(UInt32 pipeline); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindRenderbuffer", ExactSpelling = true)] - internal extern static void BindRenderbuffer(OpenTK.Graphics.ES30.RenderbufferTarget target, UInt32 renderbuffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindSampler", ExactSpelling = true)] - internal extern static void BindSampler(UInt32 unit, UInt32 sampler); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTexture", ExactSpelling = true)] - internal extern static void BindTexture(OpenTK.Graphics.ES30.TextureTarget target, UInt32 texture); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTransformFeedback", ExactSpelling = true)] - internal extern static void BindTransformFeedback(OpenTK.Graphics.ES30.TransformFeedbackTarget target, UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindVertexArray", ExactSpelling = true)] - internal extern static void BindVertexArray(UInt32 array); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindVertexArrayOES", ExactSpelling = true)] - internal extern static void BindVertexArrayOES(UInt32 array); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendBarrierNV", ExactSpelling = true)] - internal extern static void BlendBarrierNV(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendColor", ExactSpelling = true)] - internal extern static void BlendColor(Single red, Single green, Single blue, Single alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquation", ExactSpelling = true)] - internal extern static void BlendEquation(OpenTK.Graphics.ES30.BlendEquationMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationEXT", ExactSpelling = true)] - internal extern static void BlendEquationEXT(OpenTK.Graphics.ES30.BlendEquationMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationSeparate", ExactSpelling = true)] - internal extern static void BlendEquationSeparate(OpenTK.Graphics.ES30.BlendEquationMode modeRGB, OpenTK.Graphics.ES30.BlendEquationMode modeAlpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFunc", ExactSpelling = true)] - internal extern static void BlendFunc(OpenTK.Graphics.ES30.BlendingFactorSrc sfactor, OpenTK.Graphics.ES30.BlendingFactorDest dfactor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncSeparate", ExactSpelling = true)] - internal extern static void BlendFuncSeparate(OpenTK.Graphics.ES30.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.ES30.BlendingFactorDest dfactorRGB, OpenTK.Graphics.ES30.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.ES30.BlendingFactorDest dfactorAlpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendParameteriNV", ExactSpelling = true)] - internal extern static void BlendParameteriNV(OpenTK.Graphics.ES30.All pname, Int32 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlitFramebuffer", ExactSpelling = true)] - internal extern static void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.ClearBufferMask mask, OpenTK.Graphics.ES30.BlitFramebufferFilter filter); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlitFramebufferANGLE", ExactSpelling = true)] - internal extern static void BlitFramebufferANGLE(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.ClearBufferMask mask, OpenTK.Graphics.ES30.BlitFramebufferFilter filter); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlitFramebufferNV", ExactSpelling = true)] - internal extern static void BlitFramebufferNV(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.ClearBufferMask mask, OpenTK.Graphics.ES30.BlitFramebufferFilter filter); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferData", ExactSpelling = true)] - internal extern static void BufferData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES30.BufferUsageHint usage); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferSubData", ExactSpelling = true)] - internal extern static void BufferSubData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCheckFramebufferStatus", ExactSpelling = true)] - internal extern static OpenTK.Graphics.ES30.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.ES30.FramebufferTarget target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClear", ExactSpelling = true)] - internal extern static void Clear(OpenTK.Graphics.ES30.ClearBufferMask mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearBufferfi", ExactSpelling = true)] - internal extern static void ClearBufferfi(OpenTK.Graphics.ES30.ClearBufferCombined buffer, Int32 drawbuffer, Single depth, Int32 stencil); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearBufferfv", ExactSpelling = true)] - internal extern static unsafe void ClearBufferfv(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearBufferiv", ExactSpelling = true)] - internal extern static unsafe void ClearBufferiv(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearBufferuiv", ExactSpelling = true)] - internal extern static unsafe void ClearBufferuiv(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearColor", ExactSpelling = true)] - internal extern static void ClearColor(Single red, Single green, Single blue, Single alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearDepthf", ExactSpelling = true)] - internal extern static void ClearDepthf(Single d); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearStencil", ExactSpelling = true)] - internal extern static void ClearStencil(Int32 s); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClientWaitSync", ExactSpelling = true)] - internal extern static OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.ClientWaitSyncFlags flags, UInt64 timeout); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClientWaitSyncAPPLE", ExactSpelling = true)] - internal extern static OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSyncAPPLE(IntPtr sync, OpenTK.Graphics.ES30.ClientWaitSyncFlags flags, UInt64 timeout); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorMask", ExactSpelling = true)] - internal extern static void ColorMask(bool red, bool green, bool blue, bool alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompileShader", ExactSpelling = true)] - internal extern static void CompileShader(UInt32 shader); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage2D", ExactSpelling = true)] - internal extern static void CompressedTexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage3D", ExactSpelling = true)] - internal extern static void CompressedTexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage3DOES", ExactSpelling = true)] - internal extern static void CompressedTexImage3DOES(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage2D", ExactSpelling = true)] - internal extern static void CompressedTexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage3D", ExactSpelling = true)] - internal extern static void CompressedTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage3DOES", ExactSpelling = true)] - internal extern static void CompressedTexSubImage3DOES(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyBufferSubData", ExactSpelling = true)] - internal extern static void CopyBufferSubData(OpenTK.Graphics.ES30.BufferTarget readTarget, OpenTK.Graphics.ES30.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyBufferSubDataNV", ExactSpelling = true)] - internal extern static void CopyBufferSubDataNV(OpenTK.Graphics.ES30.BufferTarget readTarget, OpenTK.Graphics.ES30.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexImage2D", ExactSpelling = true)] - internal extern static void CopyTexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.TextureCopyComponentCount internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage2D", ExactSpelling = true)] - internal extern static void CopyTexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage3D", ExactSpelling = true)] - internal extern static void CopyTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage3DOES", ExactSpelling = true)] - internal extern static void CopyTexSubImage3DOES(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTextureLevelsAPPLE", ExactSpelling = true)] - internal extern static void CopyTextureLevelsAPPLE(UInt32 destinationTexture, UInt32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCoverageMaskNV", ExactSpelling = true)] - internal extern static void CoverageMaskNV(bool mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCoverageOperationNV", ExactSpelling = true)] - internal extern static void CoverageOperationNV(OpenTK.Graphics.ES30.All operation); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateProgram", ExactSpelling = true)] - internal extern static Int32 CreateProgram(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateShader", ExactSpelling = true)] - internal extern static Int32 CreateShader(OpenTK.Graphics.ES30.ShaderType type); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateShaderProgramEXT", ExactSpelling = true)] - internal extern static Int32 CreateShaderProgramEXT(OpenTK.Graphics.ES30.All type, String @string); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateShaderProgramvEXT", ExactSpelling = true)] - internal extern static Int32 CreateShaderProgramvEXT(OpenTK.Graphics.ES30.All type, Int32 count, String[] strings); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCullFace", ExactSpelling = true)] - internal extern static void CullFace(OpenTK.Graphics.ES30.CullFaceMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageCallback", ExactSpelling = true)] - internal extern static void DebugMessageCallback(DebugProc callback, IntPtr userParam); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageCallbackKHR", ExactSpelling = true)] - internal extern static void DebugMessageCallbackKHR(DebugProcKhr callback, IntPtr userParam); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageControl", ExactSpelling = true)] - internal extern static unsafe void DebugMessageControl(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageControlKHR", ExactSpelling = true)] - internal extern static unsafe void DebugMessageControlKHR(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageInsert", ExactSpelling = true)] - internal extern static void DebugMessageInsert(OpenTK.Graphics.ES30.DebugSourceExternal source, OpenTK.Graphics.ES30.DebugType type, UInt32 id, OpenTK.Graphics.ES30.DebugSeverity severity, Int32 length, String buf); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageInsertKHR", ExactSpelling = true)] - internal extern static void DebugMessageInsertKHR(OpenTK.Graphics.ES30.DebugSourceExternal source, OpenTK.Graphics.ES30.DebugType type, UInt32 id, OpenTK.Graphics.ES30.DebugSeverity severity, Int32 length, String buf); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteBuffers", ExactSpelling = true)] - internal extern static unsafe void DeleteBuffers(Int32 n, UInt32* buffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteFencesNV", ExactSpelling = true)] - internal extern static unsafe void DeleteFencesNV(Int32 n, UInt32* fences); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteFramebuffers", ExactSpelling = true)] - internal extern static unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeletePerfMonitorsAMD", ExactSpelling = true)] - internal extern static unsafe void DeletePerfMonitorsAMD(Int32 n, UInt32* monitors); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteProgram", ExactSpelling = true)] - internal extern static void DeleteProgram(UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteProgramPipelinesEXT", ExactSpelling = true)] - internal extern static unsafe void DeleteProgramPipelinesEXT(Int32 n, UInt32* pipelines); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteQueries", ExactSpelling = true)] - internal extern static unsafe void DeleteQueries(Int32 n, UInt32* ids); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteQueriesEXT", ExactSpelling = true)] - internal extern static unsafe void DeleteQueriesEXT(Int32 n, UInt32* ids); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteRenderbuffers", ExactSpelling = true)] - internal extern static unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteSamplers", ExactSpelling = true)] - internal extern static unsafe void DeleteSamplers(Int32 count, UInt32* samplers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteShader", ExactSpelling = true)] - internal extern static void DeleteShader(UInt32 shader); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteSync", ExactSpelling = true)] - internal extern static void DeleteSync(IntPtr sync); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteSyncAPPLE", ExactSpelling = true)] - internal extern static void DeleteSyncAPPLE(IntPtr sync); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteTextures", ExactSpelling = true)] - internal extern static unsafe void DeleteTextures(Int32 n, UInt32* textures); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteTransformFeedbacks", ExactSpelling = true)] - internal extern static unsafe void DeleteTransformFeedbacks(Int32 n, UInt32* ids); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteVertexArrays", ExactSpelling = true)] - internal extern static unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteVertexArraysOES", ExactSpelling = true)] - internal extern static unsafe void DeleteVertexArraysOES(Int32 n, UInt32* arrays); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthFunc", ExactSpelling = true)] - internal extern static void DepthFunc(OpenTK.Graphics.ES30.DepthFunction func); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthMask", ExactSpelling = true)] - internal extern static void DepthMask(bool flag); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRangef", ExactSpelling = true)] - internal extern static void DepthRangef(Single n, Single f); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDetachShader", ExactSpelling = true)] - internal extern static void DetachShader(UInt32 program, UInt32 shader); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisable", ExactSpelling = true)] - internal extern static void Disable(OpenTK.Graphics.ES30.EnableCap cap); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableDriverControlQCOM", ExactSpelling = true)] - internal extern static void DisableDriverControlQCOM(UInt32 driverControl); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableVertexAttribArray", ExactSpelling = true)] - internal extern static void DisableVertexAttribArray(UInt32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDiscardFramebufferEXT", ExactSpelling = true)] - internal extern static unsafe void DiscardFramebufferEXT(OpenTK.Graphics.ES30.All target, Int32 numAttachments, OpenTK.Graphics.ES30.All* attachments); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArrays", ExactSpelling = true)] - internal extern static void DrawArrays(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 first, Int32 count); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysInstanced", ExactSpelling = true)] - internal extern static void DrawArraysInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysInstancedANGLE", ExactSpelling = true)] - internal extern static void DrawArraysInstancedANGLE(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysInstancedEXT", ExactSpelling = true)] - internal extern static void DrawArraysInstancedEXT(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 start, Int32 count, Int32 primcount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysInstancedNV", ExactSpelling = true)] - internal extern static void DrawArraysInstancedNV(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawBuffers", ExactSpelling = true)] - internal extern static unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.DrawBufferMode* bufs); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawBuffersEXT", ExactSpelling = true)] - internal extern static unsafe void DrawBuffersEXT(Int32 n, OpenTK.Graphics.ES30.DrawBufferMode* bufs); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawBuffersIndexedEXT", ExactSpelling = true)] - internal extern static unsafe void DrawBuffersIndexedEXT(Int32 n, OpenTK.Graphics.ES30.All* location, Int32* indices); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawBuffersNV", ExactSpelling = true)] - internal extern static unsafe void DrawBuffersNV(Int32 n, OpenTK.Graphics.ES30.DrawBufferMode* bufs); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElements", ExactSpelling = true)] - internal extern static void DrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstanced", ExactSpelling = true)] - internal extern static void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 instancecount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedANGLE", ExactSpelling = true)] - internal extern static void DrawElementsInstancedANGLE(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 primcount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedEXT", ExactSpelling = true)] - internal extern static void DrawElementsInstancedEXT(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 primcount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedNV", ExactSpelling = true)] - internal extern static void DrawElementsInstancedNV(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 primcount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElements", ExactSpelling = true)] - internal extern static void DrawRangeElements(OpenTK.Graphics.ES30.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEGLImageTargetRenderbufferStorageOES", ExactSpelling = true)] - internal extern static void EGLImageTargetRenderbufferStorageOES(OpenTK.Graphics.ES30.All target, IntPtr image); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEGLImageTargetTexture2DOES", ExactSpelling = true)] - internal extern static void EGLImageTargetTexture2DOES(OpenTK.Graphics.ES30.All target, IntPtr image); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnable", ExactSpelling = true)] - internal extern static void Enable(OpenTK.Graphics.ES30.EnableCap cap); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableDriverControlQCOM", ExactSpelling = true)] - internal extern static void EnableDriverControlQCOM(UInt32 driverControl); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableVertexAttribArray", ExactSpelling = true)] - internal extern static void EnableVertexAttribArray(UInt32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndPerfMonitorAMD", ExactSpelling = true)] - internal extern static void EndPerfMonitorAMD(UInt32 monitor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndQuery", ExactSpelling = true)] - internal extern static void EndQuery(OpenTK.Graphics.ES30.QueryTarget target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndQueryEXT", ExactSpelling = true)] - internal extern static void EndQueryEXT(OpenTK.Graphics.ES30.QueryTarget target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndTilingQCOM", ExactSpelling = true)] - internal extern static void EndTilingQCOM(UInt32 preserveMask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndTransformFeedback", ExactSpelling = true)] - internal extern static void EndTransformFeedback(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetBufferPointervQCOM", ExactSpelling = true)] - internal extern static void ExtGetBufferPointervQCOM(OpenTK.Graphics.ES30.All target, [OutAttribute] IntPtr @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetBuffersQCOM", ExactSpelling = true)] - internal extern static unsafe void ExtGetBuffersQCOM([OutAttribute] UInt32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetFramebuffersQCOM", ExactSpelling = true)] - internal extern static unsafe void ExtGetFramebuffersQCOM([OutAttribute] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetProgramBinarySourceQCOM", ExactSpelling = true)] - internal extern static unsafe void ExtGetProgramBinarySourceQCOM(UInt32 program, OpenTK.Graphics.ES30.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32* length); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetProgramsQCOM", ExactSpelling = true)] - internal extern static unsafe void ExtGetProgramsQCOM([OutAttribute] UInt32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetRenderbuffersQCOM", ExactSpelling = true)] - internal extern static unsafe void ExtGetRenderbuffersQCOM([OutAttribute] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetShadersQCOM", ExactSpelling = true)] - internal extern static unsafe void ExtGetShadersQCOM([OutAttribute] UInt32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetTexLevelParameterivQCOM", ExactSpelling = true)] - internal extern static unsafe void ExtGetTexLevelParameterivQCOM(UInt32 texture, OpenTK.Graphics.ES30.All face, Int32 level, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetTexSubImageQCOM", ExactSpelling = true)] - internal extern static void ExtGetTexSubImageQCOM(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [OutAttribute] IntPtr texels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetTexturesQCOM", ExactSpelling = true)] - internal extern static unsafe void ExtGetTexturesQCOM([OutAttribute] UInt32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtIsProgramBinaryQCOM", ExactSpelling = true)] - internal extern static bool ExtIsProgramBinaryQCOM(UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtTexObjectStateOverrideiQCOM", ExactSpelling = true)] - internal extern static void ExtTexObjectStateOverrideiQCOM(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFenceSync", ExactSpelling = true)] - internal extern static IntPtr FenceSync(OpenTK.Graphics.ES30.SyncCondition condition, OpenTK.Graphics.ES30.WaitSyncFlags flags); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFenceSyncAPPLE", ExactSpelling = true)] - internal extern static IntPtr FenceSyncAPPLE(OpenTK.Graphics.ES30.SyncCondition condition, OpenTK.Graphics.ES30.WaitSyncFlags flags); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinish", ExactSpelling = true)] - internal extern static void Finish(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinishFenceNV", ExactSpelling = true)] - internal extern static void FinishFenceNV(UInt32 fence); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlush", ExactSpelling = true)] - internal extern static void Flush(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushMappedBufferRange", ExactSpelling = true)] - internal extern static void FlushMappedBufferRange(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushMappedBufferRangeEXT", ExactSpelling = true)] - internal extern static void FlushMappedBufferRangeEXT(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferRenderbuffer", ExactSpelling = true)] - internal extern static void FramebufferRenderbuffer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture2D", ExactSpelling = true)] - internal extern static void FramebufferTexture2D(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.TextureTarget2d textarget, UInt32 texture, Int32 level); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture2DMultisampleEXT", ExactSpelling = true)] - internal extern static void FramebufferTexture2DMultisampleEXT(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, UInt32 texture, Int32 level, Int32 samples); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture2DMultisampleIMG", ExactSpelling = true)] - internal extern static void FramebufferTexture2DMultisampleIMG(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, UInt32 texture, Int32 level, Int32 samples); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture3DOES", ExactSpelling = true)] - internal extern static void FramebufferTexture3DOES(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, UInt32 texture, Int32 level, Int32 zoffset); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTextureLayer", ExactSpelling = true)] - internal extern static void FramebufferTextureLayer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrontFace", ExactSpelling = true)] - internal extern static void FrontFace(OpenTK.Graphics.ES30.FrontFaceDirection mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenBuffers", ExactSpelling = true)] - internal extern static unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenerateMipmap", ExactSpelling = true)] - internal extern static void GenerateMipmap(OpenTK.Graphics.ES30.TextureTarget target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFencesNV", ExactSpelling = true)] - internal extern static unsafe void GenFencesNV(Int32 n, [OutAttribute] UInt32* fences); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFramebuffers", ExactSpelling = true)] - internal extern static unsafe void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenPerfMonitorsAMD", ExactSpelling = true)] - internal extern static unsafe void GenPerfMonitorsAMD(Int32 n, [OutAttribute] UInt32* monitors); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenProgramPipelinesEXT", ExactSpelling = true)] - internal extern static unsafe void GenProgramPipelinesEXT(Int32 n, [OutAttribute] UInt32* pipelines); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenQueries", ExactSpelling = true)] - internal extern static unsafe void GenQueries(Int32 n, [OutAttribute] UInt32* ids); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenQueriesEXT", ExactSpelling = true)] - internal extern static unsafe void GenQueriesEXT(Int32 n, [OutAttribute] UInt32* ids); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenRenderbuffers", ExactSpelling = true)] - internal extern static unsafe void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenSamplers", ExactSpelling = true)] - internal extern static unsafe void GenSamplers(Int32 count, [OutAttribute] UInt32* samplers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenTextures", ExactSpelling = true)] - internal extern static unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenTransformFeedbacks", ExactSpelling = true)] - internal extern static unsafe void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32* ids); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenVertexArrays", ExactSpelling = true)] - internal extern static unsafe void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenVertexArraysOES", ExactSpelling = true)] - internal extern static unsafe void GenVertexArraysOES(Int32 n, [OutAttribute] UInt32* arrays); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveAttrib", ExactSpelling = true)] - internal extern static unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.ActiveAttribType* type, [OutAttribute] StringBuilder name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniform", ExactSpelling = true)] - internal extern static unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.ActiveUniformType* type, [OutAttribute] StringBuilder name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniformBlockiv", ExactSpelling = true)] - internal extern static unsafe void GetActiveUniformBlockiv(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ES30.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniformBlockName", ExactSpelling = true)] - internal extern static unsafe void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniformsiv", ExactSpelling = true)] - internal extern static unsafe void GetActiveUniformsiv(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, OpenTK.Graphics.ES30.ActiveUniformParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetAttachedShaders", ExactSpelling = true)] - internal extern static unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetAttribLocation", ExactSpelling = true)] - internal extern static Int32 GetAttribLocation(UInt32 program, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBooleanv", ExactSpelling = true)] - internal extern static unsafe void GetBooleanv(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] bool* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferParameteri64v", ExactSpelling = true)] - internal extern static unsafe void GetBufferParameteri64v(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferParameterName pname, [OutAttribute] Int64* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetBufferParameteriv(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferParameterName pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferPointerv", ExactSpelling = true)] - internal extern static void GetBufferPointerv(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [OutAttribute] IntPtr @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferPointervOES", ExactSpelling = true)] - internal extern static void GetBufferPointervOES(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [OutAttribute] IntPtr @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDebugMessageLog", ExactSpelling = true)] - internal extern static unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDebugMessageLogKHR", ExactSpelling = true)] - internal extern static unsafe Int32 GetDebugMessageLogKHR(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDriverControlsQCOM", ExactSpelling = true)] - internal extern static unsafe void GetDriverControlsQCOM([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDriverControlStringQCOM", ExactSpelling = true)] - internal extern static unsafe void GetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetError", ExactSpelling = true)] - internal extern static OpenTK.Graphics.ES30.ErrorCode GetError(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFenceivNV", ExactSpelling = true)] - internal extern static unsafe void GetFenceivNV(UInt32 fence, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFloatv", ExactSpelling = true)] - internal extern static unsafe void GetFloatv(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Single* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFragDataLocation", ExactSpelling = true)] - internal extern static Int32 GetFragDataLocation(UInt32 program, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFramebufferAttachmentParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetFramebufferAttachmentParameteriv(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.FramebufferParameterName pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetGraphicsResetStatusEXT", ExactSpelling = true)] - internal extern static OpenTK.Graphics.ES30.All GetGraphicsResetStatusEXT(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInteger64i_v", ExactSpelling = true)] - internal extern static unsafe void GetInteger64i_v(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] Int64* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInteger64v", ExactSpelling = true)] - internal extern static unsafe void GetInteger64v(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int64* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInteger64vAPPLE", ExactSpelling = true)] - internal extern static unsafe void GetInteger64vAPPLE(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int64* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegeri_v", ExactSpelling = true)] - internal extern static unsafe void GetIntegeri_v(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegeri_vEXT", ExactSpelling = true)] - internal extern static unsafe void GetIntegeri_vEXT(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegerv", ExactSpelling = true)] - internal extern static unsafe void GetIntegerv(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int32* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInternalformativ", ExactSpelling = true)] - internal extern static unsafe void GetInternalformativ(OpenTK.Graphics.ES30.ImageTarget target, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, OpenTK.Graphics.ES30.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnUniformfvEXT", ExactSpelling = true)] - internal extern static unsafe void GetnUniformfvEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnUniformivEXT", ExactSpelling = true)] - internal extern static unsafe void GetnUniformivEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectLabel", ExactSpelling = true)] - internal extern static unsafe void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectLabelEXT", ExactSpelling = true)] - internal extern static unsafe void GetObjectLabelEXT(OpenTK.Graphics.ES30.All type, UInt32 @object, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectLabelKHR", ExactSpelling = true)] - internal extern static unsafe void GetObjectLabelKHR(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectPtrLabel", ExactSpelling = true)] - internal extern static unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectPtrLabelKHR", ExactSpelling = true)] - internal extern static unsafe void GetObjectPtrLabelKHR(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCounterDataAMD", ExactSpelling = true)] - internal extern static unsafe void GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.ES30.All pname, Int32 dataSize, [OutAttribute] UInt32* data, [OutAttribute] Int32* bytesWritten); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCounterInfoAMD", ExactSpelling = true)] - internal extern static void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCountersAMD", ExactSpelling = true)] - internal extern static unsafe void GetPerfMonitorCountersAMD(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCounterStringAMD", ExactSpelling = true)] - internal extern static unsafe void GetPerfMonitorCounterStringAMD(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorGroupsAMD", ExactSpelling = true)] - internal extern static unsafe void GetPerfMonitorGroupsAMD([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorGroupStringAMD", ExactSpelling = true)] - internal extern static unsafe void GetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPointerv", ExactSpelling = true)] - internal extern static void GetPointerv(OpenTK.Graphics.ES30.GetPointervPName pname, [OutAttribute] IntPtr @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPointervKHR", ExactSpelling = true)] - internal extern static void GetPointervKHR(OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramBinary", ExactSpelling = true)] - internal extern static unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [OutAttribute] IntPtr binary); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramBinaryOES", ExactSpelling = true)] - internal extern static unsafe void GetProgramBinaryOES(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [OutAttribute] IntPtr binary); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramInfoLog", ExactSpelling = true)] - internal extern static unsafe void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramiv", ExactSpelling = true)] - internal extern static unsafe void GetProgramiv(UInt32 program, OpenTK.Graphics.ES30.GetProgramParameterName pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramPipelineInfoLogEXT", ExactSpelling = true)] - internal extern static unsafe void GetProgramPipelineInfoLogEXT(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramPipelineivEXT", ExactSpelling = true)] - internal extern static unsafe void GetProgramPipelineivEXT(UInt32 pipeline, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryiv", ExactSpelling = true)] - internal extern static unsafe void GetQueryiv(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryivEXT", ExactSpelling = true)] - internal extern static unsafe void GetQueryivEXT(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjecti64vEXT", ExactSpelling = true)] - internal extern static unsafe void GetQueryObjecti64vEXT(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int64* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectivEXT", ExactSpelling = true)] - internal extern static unsafe void GetQueryObjectivEXT(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectui64vEXT", ExactSpelling = true)] - internal extern static unsafe void GetQueryObjectui64vEXT(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt64* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectuiv", ExactSpelling = true)] - internal extern static unsafe void GetQueryObjectuiv(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectuivEXT", ExactSpelling = true)] - internal extern static unsafe void GetQueryObjectuivEXT(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetRenderbufferParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetRenderbufferParameteriv(OpenTK.Graphics.ES30.RenderbufferTarget target, OpenTK.Graphics.ES30.RenderbufferParameterName pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSamplerParameterfv", ExactSpelling = true)] - internal extern static unsafe void GetSamplerParameterfv(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSamplerParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetSamplerParameteriv(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderInfoLog", ExactSpelling = true)] - internal extern static unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderiv", ExactSpelling = true)] - internal extern static unsafe void GetShaderiv(UInt32 shader, OpenTK.Graphics.ES30.ShaderParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderPrecisionFormat", ExactSpelling = true)] - internal extern static unsafe void GetShaderPrecisionFormat(OpenTK.Graphics.ES30.ShaderType shadertype, OpenTK.Graphics.ES30.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderSource", ExactSpelling = true)] - internal extern static unsafe void GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetString", ExactSpelling = true)] - internal extern static IntPtr GetString(OpenTK.Graphics.ES30.StringName name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetStringi", ExactSpelling = true)] - internal extern static IntPtr GetStringi(OpenTK.Graphics.ES30.StringNameIndexed name, UInt32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSynciv", ExactSpelling = true)] - internal extern static unsafe void GetSynciv(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSyncivAPPLE", ExactSpelling = true)] - internal extern static unsafe void GetSyncivAPPLE(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterfv", ExactSpelling = true)] - internal extern static unsafe void GetTexParameterfv(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameterName pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetTexParameteriv(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameterName pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTransformFeedbackVarying", ExactSpelling = true)] - internal extern static unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.TransformFeedbackType* type, [OutAttribute] StringBuilder name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTranslatedShaderSourceANGLE", ExactSpelling = true)] - internal extern static unsafe void GetTranslatedShaderSourceANGLE(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformBlockIndex", ExactSpelling = true)] - internal extern static Int32 GetUniformBlockIndex(UInt32 program, String uniformBlockName); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformfv", ExactSpelling = true)] - internal extern static unsafe void GetUniformfv(UInt32 program, Int32 location, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformIndices", ExactSpelling = true)] - internal extern static unsafe void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] UInt32* uniformIndices); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformiv", ExactSpelling = true)] - internal extern static unsafe void GetUniformiv(UInt32 program, Int32 location, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformLocation", ExactSpelling = true)] - internal extern static Int32 GetUniformLocation(UInt32 program, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformuiv", ExactSpelling = true)] - internal extern static unsafe void GetUniformuiv(UInt32 program, Int32 location, [OutAttribute] UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribfv", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribfv(UInt32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribIiv", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribIiv(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribIuiv", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribIuiv(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribiv", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribiv(UInt32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribPointerv", ExactSpelling = true)] - internal extern static void GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glHint", ExactSpelling = true)] - internal extern static void Hint(OpenTK.Graphics.ES30.HintTarget target, OpenTK.Graphics.ES30.HintMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glInsertEventMarkerEXT", ExactSpelling = true)] - internal extern static void InsertEventMarkerEXT(Int32 length, String marker); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glInvalidateFramebuffer", ExactSpelling = true)] - internal extern static unsafe void InvalidateFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.ES30.FramebufferAttachment* attachments); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glInvalidateSubFramebuffer", ExactSpelling = true)] - internal extern static unsafe void InvalidateSubFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.ES30.FramebufferAttachment* attachments, Int32 x, Int32 y, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsBuffer", ExactSpelling = true)] - internal extern static bool IsBuffer(UInt32 buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsEnabled", ExactSpelling = true)] - internal extern static bool IsEnabled(OpenTK.Graphics.ES30.EnableCap cap); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsFenceNV", ExactSpelling = true)] - internal extern static bool IsFenceNV(UInt32 fence); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsFramebuffer", ExactSpelling = true)] - internal extern static bool IsFramebuffer(UInt32 framebuffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsProgram", ExactSpelling = true)] - internal extern static bool IsProgram(UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsProgramPipelineEXT", ExactSpelling = true)] - internal extern static bool IsProgramPipelineEXT(UInt32 pipeline); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsQuery", ExactSpelling = true)] - internal extern static bool IsQuery(UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsQueryEXT", ExactSpelling = true)] - internal extern static bool IsQueryEXT(UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsRenderbuffer", ExactSpelling = true)] - internal extern static bool IsRenderbuffer(UInt32 renderbuffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsSampler", ExactSpelling = true)] - internal extern static bool IsSampler(UInt32 sampler); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsShader", ExactSpelling = true)] - internal extern static bool IsShader(UInt32 shader); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsSync", ExactSpelling = true)] - internal extern static bool IsSync(IntPtr sync); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsSyncAPPLE", ExactSpelling = true)] - internal extern static bool IsSyncAPPLE(IntPtr sync); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsTexture", ExactSpelling = true)] - internal extern static bool IsTexture(UInt32 texture); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsTransformFeedback", ExactSpelling = true)] - internal extern static bool IsTransformFeedback(UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsVertexArray", ExactSpelling = true)] - internal extern static bool IsVertexArray(UInt32 array); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsVertexArrayOES", ExactSpelling = true)] - internal extern static bool IsVertexArrayOES(UInt32 array); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLabelObjectEXT", ExactSpelling = true)] - internal extern static void LabelObjectEXT(OpenTK.Graphics.ES30.All type, UInt32 @object, Int32 length, String label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLineWidth", ExactSpelling = true)] - internal extern static void LineWidth(Single width); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLinkProgram", ExactSpelling = true)] - internal extern static void LinkProgram(UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapBufferOES", ExactSpelling = true)] - internal extern static IntPtr MapBufferOES(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All access); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapBufferRange", ExactSpelling = true)] - internal extern static IntPtr MapBufferRange(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.ES30.BufferAccessMask access); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapBufferRangeEXT", ExactSpelling = true)] - internal extern static IntPtr MapBufferRangeEXT(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length, UInt32 access); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawArraysEXT", ExactSpelling = true)] - internal extern static unsafe void MultiDrawArraysEXT(OpenTK.Graphics.ES30.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElementsEXT", ExactSpelling = true)] - internal extern static unsafe void MultiDrawElementsEXT(OpenTK.Graphics.ES30.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 primcount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glObjectLabel", ExactSpelling = true)] - internal extern static void ObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glObjectLabelKHR", ExactSpelling = true)] - internal extern static void ObjectLabelKHR(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glObjectPtrLabel", ExactSpelling = true)] - internal extern static void ObjectPtrLabel(IntPtr ptr, Int32 length, String label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glObjectPtrLabelKHR", ExactSpelling = true)] - internal extern static void ObjectPtrLabelKHR(IntPtr ptr, Int32 length, String label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPauseTransformFeedback", ExactSpelling = true)] - internal extern static void PauseTransformFeedback(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelStorei", ExactSpelling = true)] - internal extern static void PixelStorei(OpenTK.Graphics.ES30.PixelStoreParameter pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPolygonOffset", ExactSpelling = true)] - internal extern static void PolygonOffset(Single factor, Single units); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPopDebugGroup", ExactSpelling = true)] - internal extern static void PopDebugGroup(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPopDebugGroupKHR", ExactSpelling = true)] - internal extern static void PopDebugGroupKHR(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPopGroupMarkerEXT", ExactSpelling = true)] - internal extern static void PopGroupMarkerEXT(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramBinary", ExactSpelling = true)] - internal extern static void ProgramBinary(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, IntPtr binary, Int32 length); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramBinaryOES", ExactSpelling = true)] - internal extern static void ProgramBinaryOES(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, IntPtr binary, Int32 length); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameteri", ExactSpelling = true)] - internal extern static void ProgramParameteri(UInt32 program, OpenTK.Graphics.ES30.ProgramParameterName pname, Int32 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameteriEXT", ExactSpelling = true)] - internal extern static void ProgramParameteriEXT(UInt32 program, OpenTK.Graphics.ES30.ProgramParameterName pname, Int32 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1fEXT", ExactSpelling = true)] - internal extern static void ProgramUniform1fEXT(UInt32 program, Int32 location, Single v0); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform1fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1iEXT", ExactSpelling = true)] - internal extern static void ProgramUniform1iEXT(UInt32 program, Int32 location, Int32 v0); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1ivEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform1ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1uiEXT", ExactSpelling = true)] - internal extern static void ProgramUniform1uiEXT(UInt32 program, Int32 location, UInt32 v0); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1uivEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform1uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2fEXT", ExactSpelling = true)] - internal extern static void ProgramUniform2fEXT(UInt32 program, Int32 location, Single v0, Single v1); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform2fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2iEXT", ExactSpelling = true)] - internal extern static void ProgramUniform2iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2ivEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform2ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2uiEXT", ExactSpelling = true)] - internal extern static void ProgramUniform2uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2uivEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform2uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3fEXT", ExactSpelling = true)] - internal extern static void ProgramUniform3fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform3fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3iEXT", ExactSpelling = true)] - internal extern static void ProgramUniform3iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3ivEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform3ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3uiEXT", ExactSpelling = true)] - internal extern static void ProgramUniform3uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3uivEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform3uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4fEXT", ExactSpelling = true)] - internal extern static void ProgramUniform4fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform4fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4iEXT", ExactSpelling = true)] - internal extern static void ProgramUniform4iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4ivEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform4ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4uiEXT", ExactSpelling = true)] - internal extern static void ProgramUniform4uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4uivEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform4uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2x3fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix2x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2x4fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix2x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3x2fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix3x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3x4fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix3x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4x2fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix4x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4x3fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix4x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPushDebugGroup", ExactSpelling = true)] - internal extern static void PushDebugGroup(OpenTK.Graphics.ES30.All source, UInt32 id, Int32 length, String message); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPushDebugGroupKHR", ExactSpelling = true)] - internal extern static void PushDebugGroupKHR(OpenTK.Graphics.ES30.All source, UInt32 id, Int32 length, String message); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPushGroupMarkerEXT", ExactSpelling = true)] - internal extern static void PushGroupMarkerEXT(Int32 length, String marker); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glQueryCounterEXT", ExactSpelling = true)] - internal extern static void QueryCounterEXT(UInt32 id, OpenTK.Graphics.ES30.All target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadBuffer", ExactSpelling = true)] - internal extern static void ReadBuffer(OpenTK.Graphics.ES30.ReadBufferMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadBufferIndexedEXT", ExactSpelling = true)] - internal extern static void ReadBufferIndexedEXT(OpenTK.Graphics.ES30.All src, Int32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadBufferNV", ExactSpelling = true)] - internal extern static void ReadBufferNV(OpenTK.Graphics.ES30.All mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadnPixelsEXT", ExactSpelling = true)] - internal extern static void ReadnPixelsEXT(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, Int32 bufSize, [OutAttribute] IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadPixels", ExactSpelling = true)] - internal extern static void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [OutAttribute] IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReleaseShaderCompiler", ExactSpelling = true)] - internal extern static void ReleaseShaderCompiler(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorage", ExactSpelling = true)] - internal extern static void RenderbufferStorage(OpenTK.Graphics.ES30.RenderbufferTarget target, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisample", ExactSpelling = true)] - internal extern static void RenderbufferStorageMultisample(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisampleANGLE", ExactSpelling = true)] - internal extern static void RenderbufferStorageMultisampleANGLE(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisampleAPPLE", ExactSpelling = true)] - internal extern static void RenderbufferStorageMultisampleAPPLE(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisampleEXT", ExactSpelling = true)] - internal extern static void RenderbufferStorageMultisampleEXT(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisampleIMG", ExactSpelling = true)] - internal extern static void RenderbufferStorageMultisampleIMG(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisampleNV", ExactSpelling = true)] - internal extern static void RenderbufferStorageMultisampleNV(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResolveMultisampleFramebufferAPPLE", ExactSpelling = true)] - internal extern static void ResolveMultisampleFramebufferAPPLE(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResumeTransformFeedback", ExactSpelling = true)] - internal extern static void ResumeTransformFeedback(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleCoverage", ExactSpelling = true)] - internal extern static void SampleCoverage(Single value, bool invert); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplerParameterf", ExactSpelling = true)] - internal extern static void SamplerParameterf(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplerParameterfv", ExactSpelling = true)] - internal extern static unsafe void SamplerParameterfv(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Single* param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplerParameteri", ExactSpelling = true)] - internal extern static void SamplerParameteri(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplerParameteriv", ExactSpelling = true)] - internal extern static unsafe void SamplerParameteriv(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Int32* param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glScissor", ExactSpelling = true)] - internal extern static void Scissor(Int32 x, Int32 y, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSelectPerfMonitorCountersAMD", ExactSpelling = true)] - internal extern static unsafe void SelectPerfMonitorCountersAMD(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32* counterList); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSetFenceNV", ExactSpelling = true)] - internal extern static void SetFenceNV(UInt32 fence, OpenTK.Graphics.ES30.All condition); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShaderBinary", ExactSpelling = true)] - internal extern static unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShaderSource", ExactSpelling = true)] - internal extern static unsafe void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStartTilingQCOM", ExactSpelling = true)] - internal extern static void StartTilingQCOM(UInt32 x, UInt32 y, UInt32 width, UInt32 height, UInt32 preserveMask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilFunc", ExactSpelling = true)] - internal extern static void StencilFunc(OpenTK.Graphics.ES30.StencilFunction func, Int32 @ref, UInt32 mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilFuncSeparate", ExactSpelling = true)] - internal extern static void StencilFuncSeparate(OpenTK.Graphics.ES30.StencilFace face, OpenTK.Graphics.ES30.StencilFunction func, Int32 @ref, UInt32 mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilMask", ExactSpelling = true)] - internal extern static void StencilMask(UInt32 mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilMaskSeparate", ExactSpelling = true)] - internal extern static void StencilMaskSeparate(OpenTK.Graphics.ES30.StencilFace face, UInt32 mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilOp", ExactSpelling = true)] - internal extern static void StencilOp(OpenTK.Graphics.ES30.StencilOp fail, OpenTK.Graphics.ES30.StencilOp zfail, OpenTK.Graphics.ES30.StencilOp zpass); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilOpSeparate", ExactSpelling = true)] - internal extern static void StencilOpSeparate(OpenTK.Graphics.ES30.StencilFace face, OpenTK.Graphics.ES30.StencilOp sfail, OpenTK.Graphics.ES30.StencilOp dpfail, OpenTK.Graphics.ES30.StencilOp dppass); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTestFenceNV", ExactSpelling = true)] - internal extern static bool TestFenceNV(UInt32 fence); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage2D", ExactSpelling = true)] - internal extern static void TexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage3D", ExactSpelling = true)] - internal extern static void TexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage3DOES", ExactSpelling = true)] - internal extern static void TexImage3DOES(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterf", ExactSpelling = true)] - internal extern static void TexParameterf(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterfv", ExactSpelling = true)] - internal extern static unsafe void TexParameterfv(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameteri", ExactSpelling = true)] - internal extern static void TexParameteri(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameteriv", ExactSpelling = true)] - internal extern static unsafe void TexParameteriv(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage1DEXT", ExactSpelling = true)] - internal extern static void TexStorage1DEXT(OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage2D", ExactSpelling = true)] - internal extern static void TexStorage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage2DEXT", ExactSpelling = true)] - internal extern static void TexStorage2DEXT(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage3D", ExactSpelling = true)] - internal extern static void TexStorage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage3DEXT", ExactSpelling = true)] - internal extern static void TexStorage3DEXT(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage2D", ExactSpelling = true)] - internal extern static void TexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage3D", ExactSpelling = true)] - internal extern static void TexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage3DOES", ExactSpelling = true)] - internal extern static void TexSubImage3DOES(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureStorage1DEXT", ExactSpelling = true)] - internal extern static void TextureStorage1DEXT(UInt32 texture, OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureStorage2DEXT", ExactSpelling = true)] - internal extern static void TextureStorage2DEXT(UInt32 texture, OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureStorage3DEXT", ExactSpelling = true)] - internal extern static void TextureStorage3DEXT(UInt32 texture, OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTransformFeedbackVaryings", ExactSpelling = true)] - internal extern static void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.ES30.TransformFeedbackMode bufferMode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1f", ExactSpelling = true)] - internal extern static void Uniform1f(Int32 location, Single v0); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1fv", ExactSpelling = true)] - internal extern static unsafe void Uniform1fv(Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1i", ExactSpelling = true)] - internal extern static void Uniform1i(Int32 location, Int32 v0); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1iv", ExactSpelling = true)] - internal extern static unsafe void Uniform1iv(Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1ui", ExactSpelling = true)] - internal extern static void Uniform1ui(Int32 location, UInt32 v0); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1uiv", ExactSpelling = true)] - internal extern static unsafe void Uniform1uiv(Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2f", ExactSpelling = true)] - internal extern static void Uniform2f(Int32 location, Single v0, Single v1); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2fv", ExactSpelling = true)] - internal extern static unsafe void Uniform2fv(Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2i", ExactSpelling = true)] - internal extern static void Uniform2i(Int32 location, Int32 v0, Int32 v1); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2iv", ExactSpelling = true)] - internal extern static unsafe void Uniform2iv(Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2ui", ExactSpelling = true)] - internal extern static void Uniform2ui(Int32 location, UInt32 v0, UInt32 v1); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2uiv", ExactSpelling = true)] - internal extern static unsafe void Uniform2uiv(Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3f", ExactSpelling = true)] - internal extern static void Uniform3f(Int32 location, Single v0, Single v1, Single v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3fv", ExactSpelling = true)] - internal extern static unsafe void Uniform3fv(Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3i", ExactSpelling = true)] - internal extern static void Uniform3i(Int32 location, Int32 v0, Int32 v1, Int32 v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3iv", ExactSpelling = true)] - internal extern static unsafe void Uniform3iv(Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3ui", ExactSpelling = true)] - internal extern static void Uniform3ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3uiv", ExactSpelling = true)] - internal extern static unsafe void Uniform3uiv(Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4f", ExactSpelling = true)] - internal extern static void Uniform4f(Int32 location, Single v0, Single v1, Single v2, Single v3); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4fv", ExactSpelling = true)] - internal extern static unsafe void Uniform4fv(Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4i", ExactSpelling = true)] - internal extern static void Uniform4i(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4iv", ExactSpelling = true)] - internal extern static unsafe void Uniform4iv(Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4ui", ExactSpelling = true)] - internal extern static void Uniform4ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4uiv", ExactSpelling = true)] - internal extern static unsafe void Uniform4uiv(Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformBlockBinding", ExactSpelling = true)] - internal extern static void UniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2fv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix2fv(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2x3fv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix2x3fv(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2x3fvNV", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix2x3fvNV(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2x4fv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix2x4fv(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2x4fvNV", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix2x4fvNV(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3fv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix3fv(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3x2fv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix3x2fv(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3x2fvNV", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix3x2fvNV(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3x4fv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix3x4fv(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3x4fvNV", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix3x4fvNV(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4fv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix4fv(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4x2fv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix4x2fv(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4x2fvNV", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix4x2fvNV(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4x3fv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix4x3fv(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4x3fvNV", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix4x3fvNV(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUnmapBuffer", ExactSpelling = true)] - internal extern static bool UnmapBuffer(OpenTK.Graphics.ES30.BufferTarget target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUnmapBufferOES", ExactSpelling = true)] - internal extern static bool UnmapBufferOES(OpenTK.Graphics.ES30.BufferTarget target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUseProgram", ExactSpelling = true)] - internal extern static void UseProgram(UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUseProgramStagesEXT", ExactSpelling = true)] - internal extern static void UseProgramStagesEXT(UInt32 pipeline, UInt32 stages, UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUseShaderProgramEXT", ExactSpelling = true)] - internal extern static void UseShaderProgramEXT(OpenTK.Graphics.ES30.All type, UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glValidateProgram", ExactSpelling = true)] - internal extern static void ValidateProgram(UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glValidateProgramPipelineEXT", ExactSpelling = true)] - internal extern static void ValidateProgramPipelineEXT(UInt32 pipeline); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1f", ExactSpelling = true)] - internal extern static void VertexAttrib1f(UInt32 index, Single x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1fv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib1fv(UInt32 index, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2f", ExactSpelling = true)] - internal extern static void VertexAttrib2f(UInt32 index, Single x, Single y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2fv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib2fv(UInt32 index, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3f", ExactSpelling = true)] - internal extern static void VertexAttrib3f(UInt32 index, Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3fv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib3fv(UInt32 index, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4f", ExactSpelling = true)] - internal extern static void VertexAttrib4f(UInt32 index, Single x, Single y, Single z, Single w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4fv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4fv(UInt32 index, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribDivisor", ExactSpelling = true)] - internal extern static void VertexAttribDivisor(UInt32 index, UInt32 divisor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribDivisorANGLE", ExactSpelling = true)] - internal extern static void VertexAttribDivisorANGLE(UInt32 index, UInt32 divisor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribDivisorEXT", ExactSpelling = true)] - internal extern static void VertexAttribDivisorEXT(UInt32 index, UInt32 divisor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribDivisorNV", ExactSpelling = true)] - internal extern static void VertexAttribDivisorNV(UInt32 index, UInt32 divisor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4i", ExactSpelling = true)] - internal extern static void VertexAttribI4i(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4iv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI4iv(UInt32 index, Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4ui", ExactSpelling = true)] - internal extern static void VertexAttribI4ui(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4uiv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI4uiv(UInt32 index, UInt32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribIPointer", ExactSpelling = true)] - internal extern static void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribIntegerType type, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribPointer", ExactSpelling = true)] - internal extern static void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glViewport", ExactSpelling = true)] - internal extern static void Viewport(Int32 x, Int32 y, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWaitSync", ExactSpelling = true)] - internal extern static void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.WaitSyncFlags flags, UInt64 timeout); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWaitSyncAPPLE", ExactSpelling = true)] - internal extern static void WaitSyncAPPLE(IntPtr sync, OpenTK.Graphics.ES30.WaitSyncFlags flags, UInt64 timeout); - } - } -} diff --git a/Source/OpenTK/Graphics/ES30/ES30Delegates.cs b/Source/OpenTK/Graphics/ES30/ES30Delegates.cs deleted file mode 100644 index 8a8c80c9..00000000 --- a/Source/OpenTK/Graphics/ES30/ES30Delegates.cs +++ /dev/null @@ -1,1381 +0,0 @@ -// -// The Open Toolkit Library License -// -// Copyright (c) 2006 - 2013 Stefanos Apostolopoulos for the Open Toolkit Library -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights to -// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -// the Software, and to permit persons to whom the Software is furnished to do -// so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -// OTHER DEALINGS IN THE SOFTWARE. -// - - - -namespace OpenTK.Graphics.ES30 -{ - using System; - using System.Text; - using System.Runtime.InteropServices; - #pragma warning disable 0649 - #pragma warning disable 3019 - #pragma warning disable 1591 - - partial class GL - { - internal static partial class Delegates - { - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ActiveProgramEXT(UInt32 program); - internal static ActiveProgramEXT glActiveProgramEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ActiveShaderProgramEXT(UInt32 pipeline, UInt32 program); - internal static ActiveShaderProgramEXT glActiveShaderProgramEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ActiveTexture(OpenTK.Graphics.ES30.TextureUnit texture); - internal static ActiveTexture glActiveTexture; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void AlphaFuncQCOM(OpenTK.Graphics.ES30.All func, Single @ref); - internal static AlphaFuncQCOM glAlphaFuncQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void AttachShader(UInt32 program, UInt32 shader); - internal static AttachShader glAttachShader; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginPerfMonitorAMD(UInt32 monitor); - internal static BeginPerfMonitorAMD glBeginPerfMonitorAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginQuery(OpenTK.Graphics.ES30.QueryTarget target, UInt32 id); - internal static BeginQuery glBeginQuery; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginQueryEXT(OpenTK.Graphics.ES30.QueryTarget target, UInt32 id); - internal static BeginQueryEXT glBeginQueryEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginTransformFeedback(OpenTK.Graphics.ES30.TransformFeedbackPrimitiveType primitiveMode); - internal static BeginTransformFeedback glBeginTransformFeedback; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindAttribLocation(UInt32 program, UInt32 index, String name); - internal static BindAttribLocation glBindAttribLocation; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindBuffer(OpenTK.Graphics.ES30.BufferTarget target, UInt32 buffer); - internal static BindBuffer glBindBuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindBufferBase(OpenTK.Graphics.ES30.BufferRangeTarget target, UInt32 index, UInt32 buffer); - internal static BindBufferBase glBindBufferBase; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindBufferRange(OpenTK.Graphics.ES30.BufferRangeTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); - internal static BindBufferRange glBindBufferRange; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, UInt32 framebuffer); - internal static BindFramebuffer glBindFramebuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindProgramPipelineEXT(UInt32 pipeline); - internal static BindProgramPipelineEXT glBindProgramPipelineEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindRenderbuffer(OpenTK.Graphics.ES30.RenderbufferTarget target, UInt32 renderbuffer); - internal static BindRenderbuffer glBindRenderbuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindSampler(UInt32 unit, UInt32 sampler); - internal static BindSampler glBindSampler; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindTexture(OpenTK.Graphics.ES30.TextureTarget target, UInt32 texture); - internal static BindTexture glBindTexture; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindTransformFeedback(OpenTK.Graphics.ES30.TransformFeedbackTarget target, UInt32 id); - internal static BindTransformFeedback glBindTransformFeedback; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindVertexArray(UInt32 array); - internal static BindVertexArray glBindVertexArray; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindVertexArrayOES(UInt32 array); - internal static BindVertexArrayOES glBindVertexArrayOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendBarrierNV(); - internal static BlendBarrierNV glBlendBarrierNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendColor(Single red, Single green, Single blue, Single alpha); - internal static BlendColor glBlendColor; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquation(OpenTK.Graphics.ES30.BlendEquationMode mode); - internal static BlendEquation glBlendEquation; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquationEXT(OpenTK.Graphics.ES30.BlendEquationMode mode); - internal static BlendEquationEXT glBlendEquationEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquationSeparate(OpenTK.Graphics.ES30.BlendEquationMode modeRGB, OpenTK.Graphics.ES30.BlendEquationMode modeAlpha); - internal static BlendEquationSeparate glBlendEquationSeparate; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendFunc(OpenTK.Graphics.ES30.BlendingFactorSrc sfactor, OpenTK.Graphics.ES30.BlendingFactorDest dfactor); - internal static BlendFunc glBlendFunc; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendFuncSeparate(OpenTK.Graphics.ES30.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.ES30.BlendingFactorDest dfactorRGB, OpenTK.Graphics.ES30.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.ES30.BlendingFactorDest dfactorAlpha); - internal static BlendFuncSeparate glBlendFuncSeparate; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendParameteriNV(OpenTK.Graphics.ES30.All pname, Int32 value); - internal static BlendParameteriNV glBlendParameteriNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.ClearBufferMask mask, OpenTK.Graphics.ES30.BlitFramebufferFilter filter); - internal static BlitFramebuffer glBlitFramebuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlitFramebufferANGLE(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.ClearBufferMask mask, OpenTK.Graphics.ES30.BlitFramebufferFilter filter); - internal static BlitFramebufferANGLE glBlitFramebufferANGLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlitFramebufferNV(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.ClearBufferMask mask, OpenTK.Graphics.ES30.BlitFramebufferFilter filter); - internal static BlitFramebufferNV glBlitFramebufferNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BufferData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES30.BufferUsageHint usage); - internal static BufferData glBufferData; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BufferSubData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data); - internal static BufferSubData glBufferSubData; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate OpenTK.Graphics.ES30.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.ES30.FramebufferTarget target); - internal static CheckFramebufferStatus glCheckFramebufferStatus; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Clear(OpenTK.Graphics.ES30.ClearBufferMask mask); - internal static Clear glClear; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearBufferfi(OpenTK.Graphics.ES30.ClearBufferCombined buffer, Int32 drawbuffer, Single depth, Int32 stencil); - internal static ClearBufferfi glClearBufferfi; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ClearBufferfv(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, Single* value); - internal unsafe static ClearBufferfv glClearBufferfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ClearBufferiv(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, Int32* value); - internal unsafe static ClearBufferiv glClearBufferiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ClearBufferuiv(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, UInt32* value); - internal unsafe static ClearBufferuiv glClearBufferuiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearColor(Single red, Single green, Single blue, Single alpha); - internal static ClearColor glClearColor; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearDepthf(Single d); - internal static ClearDepthf glClearDepthf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearStencil(Int32 s); - internal static ClearStencil glClearStencil; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.ClientWaitSyncFlags flags, UInt64 timeout); - internal static ClientWaitSync glClientWaitSync; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSyncAPPLE(IntPtr sync, OpenTK.Graphics.ES30.ClientWaitSyncFlags flags, UInt64 timeout); - internal static ClientWaitSyncAPPLE glClientWaitSyncAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorMask(bool red, bool green, bool blue, bool alpha); - internal static ColorMask glColorMask; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompileShader(UInt32 shader); - internal static CompileShader glCompileShader; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); - internal static CompressedTexImage2D glCompressedTexImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); - internal static CompressedTexImage3D glCompressedTexImage3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexImage3DOES(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); - internal static CompressedTexImage3DOES glCompressedTexImage3DOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, IntPtr data); - internal static CompressedTexSubImage2D glCompressedTexSubImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, IntPtr data); - internal static CompressedTexSubImage3D glCompressedTexSubImage3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexSubImage3DOES(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, IntPtr data); - internal static CompressedTexSubImage3DOES glCompressedTexSubImage3DOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyBufferSubData(OpenTK.Graphics.ES30.BufferTarget readTarget, OpenTK.Graphics.ES30.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size); - internal static CopyBufferSubData glCopyBufferSubData; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyBufferSubDataNV(OpenTK.Graphics.ES30.BufferTarget readTarget, OpenTK.Graphics.ES30.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size); - internal static CopyBufferSubDataNV glCopyBufferSubDataNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.TextureCopyComponentCount internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); - internal static CopyTexImage2D glCopyTexImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); - internal static CopyTexSubImage2D glCopyTexSubImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); - internal static CopyTexSubImage3D glCopyTexSubImage3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexSubImage3DOES(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); - internal static CopyTexSubImage3DOES glCopyTexSubImage3DOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTextureLevelsAPPLE(UInt32 destinationTexture, UInt32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount); - internal static CopyTextureLevelsAPPLE glCopyTextureLevelsAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CoverageMaskNV(bool mask); - internal static CoverageMaskNV glCoverageMaskNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CoverageOperationNV(OpenTK.Graphics.ES30.All operation); - internal static CoverageOperationNV glCoverageOperationNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 CreateProgram(); - internal static CreateProgram glCreateProgram; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 CreateShader(OpenTK.Graphics.ES30.ShaderType type); - internal static CreateShader glCreateShader; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 CreateShaderProgramEXT(OpenTK.Graphics.ES30.All type, String @string); - internal static CreateShaderProgramEXT glCreateShaderProgramEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 CreateShaderProgramvEXT(OpenTK.Graphics.ES30.All type, Int32 count, String[] strings); - internal static CreateShaderProgramvEXT glCreateShaderProgramvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CullFace(OpenTK.Graphics.ES30.CullFaceMode mode); - internal static CullFace glCullFace; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DebugMessageCallback(DebugProc callback, IntPtr userParam); - internal static DebugMessageCallback glDebugMessageCallback; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DebugMessageCallbackKHR(DebugProcKhr callback, IntPtr userParam); - internal static DebugMessageCallbackKHR glDebugMessageCallbackKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DebugMessageControl(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled); - internal unsafe static DebugMessageControl glDebugMessageControl; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DebugMessageControlKHR(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled); - internal unsafe static DebugMessageControlKHR glDebugMessageControlKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DebugMessageInsert(OpenTK.Graphics.ES30.DebugSourceExternal source, OpenTK.Graphics.ES30.DebugType type, UInt32 id, OpenTK.Graphics.ES30.DebugSeverity severity, Int32 length, String buf); - internal static DebugMessageInsert glDebugMessageInsert; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DebugMessageInsertKHR(OpenTK.Graphics.ES30.DebugSourceExternal source, OpenTK.Graphics.ES30.DebugType type, UInt32 id, OpenTK.Graphics.ES30.DebugSeverity severity, Int32 length, String buf); - internal static DebugMessageInsertKHR glDebugMessageInsertKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteBuffers(Int32 n, UInt32* buffers); - internal unsafe static DeleteBuffers glDeleteBuffers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteFencesNV(Int32 n, UInt32* fences); - internal unsafe static DeleteFencesNV glDeleteFencesNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteFramebuffers(Int32 n, UInt32* framebuffers); - internal unsafe static DeleteFramebuffers glDeleteFramebuffers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeletePerfMonitorsAMD(Int32 n, UInt32* monitors); - internal unsafe static DeletePerfMonitorsAMD glDeletePerfMonitorsAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DeleteProgram(UInt32 program); - internal static DeleteProgram glDeleteProgram; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteProgramPipelinesEXT(Int32 n, UInt32* pipelines); - internal unsafe static DeleteProgramPipelinesEXT glDeleteProgramPipelinesEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteQueries(Int32 n, UInt32* ids); - internal unsafe static DeleteQueries glDeleteQueries; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteQueriesEXT(Int32 n, UInt32* ids); - internal unsafe static DeleteQueriesEXT glDeleteQueriesEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers); - internal unsafe static DeleteRenderbuffers glDeleteRenderbuffers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteSamplers(Int32 count, UInt32* samplers); - internal unsafe static DeleteSamplers glDeleteSamplers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DeleteShader(UInt32 shader); - internal static DeleteShader glDeleteShader; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DeleteSync(IntPtr sync); - internal static DeleteSync glDeleteSync; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DeleteSyncAPPLE(IntPtr sync); - internal static DeleteSyncAPPLE glDeleteSyncAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteTextures(Int32 n, UInt32* textures); - internal unsafe static DeleteTextures glDeleteTextures; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteTransformFeedbacks(Int32 n, UInt32* ids); - internal unsafe static DeleteTransformFeedbacks glDeleteTransformFeedbacks; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteVertexArrays(Int32 n, UInt32* arrays); - internal unsafe static DeleteVertexArrays glDeleteVertexArrays; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteVertexArraysOES(Int32 n, UInt32* arrays); - internal unsafe static DeleteVertexArraysOES glDeleteVertexArraysOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DepthFunc(OpenTK.Graphics.ES30.DepthFunction func); - internal static DepthFunc glDepthFunc; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DepthMask(bool flag); - internal static DepthMask glDepthMask; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DepthRangef(Single n, Single f); - internal static DepthRangef glDepthRangef; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DetachShader(UInt32 program, UInt32 shader); - internal static DetachShader glDetachShader; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Disable(OpenTK.Graphics.ES30.EnableCap cap); - internal static Disable glDisable; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DisableDriverControlQCOM(UInt32 driverControl); - internal static DisableDriverControlQCOM glDisableDriverControlQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DisableVertexAttribArray(UInt32 index); - internal static DisableVertexAttribArray glDisableVertexAttribArray; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DiscardFramebufferEXT(OpenTK.Graphics.ES30.All target, Int32 numAttachments, OpenTK.Graphics.ES30.All* attachments); - internal unsafe static DiscardFramebufferEXT glDiscardFramebufferEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawArrays(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 first, Int32 count); - internal static DrawArrays glDrawArrays; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawArraysInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount); - internal static DrawArraysInstanced glDrawArraysInstanced; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawArraysInstancedANGLE(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount); - internal static DrawArraysInstancedANGLE glDrawArraysInstancedANGLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawArraysInstancedEXT(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 start, Int32 count, Int32 primcount); - internal static DrawArraysInstancedEXT glDrawArraysInstancedEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawArraysInstancedNV(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount); - internal static DrawArraysInstancedNV glDrawArraysInstancedNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DrawBuffers(Int32 n, OpenTK.Graphics.ES30.DrawBufferMode* bufs); - internal unsafe static DrawBuffers glDrawBuffers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DrawBuffersEXT(Int32 n, OpenTK.Graphics.ES30.DrawBufferMode* bufs); - internal unsafe static DrawBuffersEXT glDrawBuffersEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DrawBuffersIndexedEXT(Int32 n, OpenTK.Graphics.ES30.All* location, Int32* indices); - internal unsafe static DrawBuffersIndexedEXT glDrawBuffersIndexedEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DrawBuffersNV(Int32 n, OpenTK.Graphics.ES30.DrawBufferMode* bufs); - internal unsafe static DrawBuffersNV glDrawBuffersNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices); - internal static DrawElements glDrawElements; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 instancecount); - internal static DrawElementsInstanced glDrawElementsInstanced; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElementsInstancedANGLE(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 primcount); - internal static DrawElementsInstancedANGLE glDrawElementsInstancedANGLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElementsInstancedEXT(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 primcount); - internal static DrawElementsInstancedEXT glDrawElementsInstancedEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElementsInstancedNV(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 primcount); - internal static DrawElementsInstancedNV glDrawElementsInstancedNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawRangeElements(OpenTK.Graphics.ES30.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices); - internal static DrawRangeElements glDrawRangeElements; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EGLImageTargetRenderbufferStorageOES(OpenTK.Graphics.ES30.All target, IntPtr image); - internal static EGLImageTargetRenderbufferStorageOES glEGLImageTargetRenderbufferStorageOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EGLImageTargetTexture2DOES(OpenTK.Graphics.ES30.All target, IntPtr image); - internal static EGLImageTargetTexture2DOES glEGLImageTargetTexture2DOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Enable(OpenTK.Graphics.ES30.EnableCap cap); - internal static Enable glEnable; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EnableDriverControlQCOM(UInt32 driverControl); - internal static EnableDriverControlQCOM glEnableDriverControlQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EnableVertexAttribArray(UInt32 index); - internal static EnableVertexAttribArray glEnableVertexAttribArray; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndPerfMonitorAMD(UInt32 monitor); - internal static EndPerfMonitorAMD glEndPerfMonitorAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndQuery(OpenTK.Graphics.ES30.QueryTarget target); - internal static EndQuery glEndQuery; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndQueryEXT(OpenTK.Graphics.ES30.QueryTarget target); - internal static EndQueryEXT glEndQueryEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndTilingQCOM(UInt32 preserveMask); - internal static EndTilingQCOM glEndTilingQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndTransformFeedback(); - internal static EndTransformFeedback glEndTransformFeedback; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ExtGetBufferPointervQCOM(OpenTK.Graphics.ES30.All target, [OutAttribute] IntPtr @params); - internal static ExtGetBufferPointervQCOM glExtGetBufferPointervQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ExtGetBuffersQCOM([OutAttribute] UInt32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers); - internal unsafe static ExtGetBuffersQCOM glExtGetBuffersQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ExtGetFramebuffersQCOM([OutAttribute] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers); - internal unsafe static ExtGetFramebuffersQCOM glExtGetFramebuffersQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ExtGetProgramBinarySourceQCOM(UInt32 program, OpenTK.Graphics.ES30.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32* length); - internal unsafe static ExtGetProgramBinarySourceQCOM glExtGetProgramBinarySourceQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ExtGetProgramsQCOM([OutAttribute] UInt32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms); - internal unsafe static ExtGetProgramsQCOM glExtGetProgramsQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ExtGetRenderbuffersQCOM([OutAttribute] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers); - internal unsafe static ExtGetRenderbuffersQCOM glExtGetRenderbuffersQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ExtGetShadersQCOM([OutAttribute] UInt32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders); - internal unsafe static ExtGetShadersQCOM glExtGetShadersQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ExtGetTexLevelParameterivQCOM(UInt32 texture, OpenTK.Graphics.ES30.All face, Int32 level, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); - internal unsafe static ExtGetTexLevelParameterivQCOM glExtGetTexLevelParameterivQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ExtGetTexSubImageQCOM(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [OutAttribute] IntPtr texels); - internal static ExtGetTexSubImageQCOM glExtGetTexSubImageQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ExtGetTexturesQCOM([OutAttribute] UInt32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures); - internal unsafe static ExtGetTexturesQCOM glExtGetTexturesQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool ExtIsProgramBinaryQCOM(UInt32 program); - internal static ExtIsProgramBinaryQCOM glExtIsProgramBinaryQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ExtTexObjectStateOverrideiQCOM(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, Int32 param); - internal static ExtTexObjectStateOverrideiQCOM glExtTexObjectStateOverrideiQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr FenceSync(OpenTK.Graphics.ES30.SyncCondition condition, OpenTK.Graphics.ES30.WaitSyncFlags flags); - internal static FenceSync glFenceSync; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr FenceSyncAPPLE(OpenTK.Graphics.ES30.SyncCondition condition, OpenTK.Graphics.ES30.WaitSyncFlags flags); - internal static FenceSyncAPPLE glFenceSyncAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Finish(); - internal static Finish glFinish; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FinishFenceNV(UInt32 fence); - internal static FinishFenceNV glFinishFenceNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Flush(); - internal static Flush glFlush; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FlushMappedBufferRange(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length); - internal static FlushMappedBufferRange glFlushMappedBufferRange; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FlushMappedBufferRangeEXT(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length); - internal static FlushMappedBufferRangeEXT glFlushMappedBufferRangeEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferRenderbuffer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); - internal static FramebufferRenderbuffer glFramebufferRenderbuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTexture2D(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.TextureTarget2d textarget, UInt32 texture, Int32 level); - internal static FramebufferTexture2D glFramebufferTexture2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTexture2DMultisampleEXT(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, UInt32 texture, Int32 level, Int32 samples); - internal static FramebufferTexture2DMultisampleEXT glFramebufferTexture2DMultisampleEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTexture2DMultisampleIMG(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, UInt32 texture, Int32 level, Int32 samples); - internal static FramebufferTexture2DMultisampleIMG glFramebufferTexture2DMultisampleIMG; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTexture3DOES(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, UInt32 texture, Int32 level, Int32 zoffset); - internal static FramebufferTexture3DOES glFramebufferTexture3DOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTextureLayer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); - internal static FramebufferTextureLayer glFramebufferTextureLayer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FrontFace(OpenTK.Graphics.ES30.FrontFaceDirection mode); - internal static FrontFace glFrontFace; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers); - internal unsafe static GenBuffers glGenBuffers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GenerateMipmap(OpenTK.Graphics.ES30.TextureTarget target); - internal static GenerateMipmap glGenerateMipmap; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenFencesNV(Int32 n, [OutAttribute] UInt32* fences); - internal unsafe static GenFencesNV glGenFencesNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers); - internal unsafe static GenFramebuffers glGenFramebuffers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenPerfMonitorsAMD(Int32 n, [OutAttribute] UInt32* monitors); - internal unsafe static GenPerfMonitorsAMD glGenPerfMonitorsAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenProgramPipelinesEXT(Int32 n, [OutAttribute] UInt32* pipelines); - internal unsafe static GenProgramPipelinesEXT glGenProgramPipelinesEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenQueries(Int32 n, [OutAttribute] UInt32* ids); - internal unsafe static GenQueries glGenQueries; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenQueriesEXT(Int32 n, [OutAttribute] UInt32* ids); - internal unsafe static GenQueriesEXT glGenQueriesEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers); - internal unsafe static GenRenderbuffers glGenRenderbuffers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenSamplers(Int32 count, [OutAttribute] UInt32* samplers); - internal unsafe static GenSamplers glGenSamplers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenTextures(Int32 n, [OutAttribute] UInt32* textures); - internal unsafe static GenTextures glGenTextures; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32* ids); - internal unsafe static GenTransformFeedbacks glGenTransformFeedbacks; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays); - internal unsafe static GenVertexArrays glGenVertexArrays; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenVertexArraysOES(Int32 n, [OutAttribute] UInt32* arrays); - internal unsafe static GenVertexArraysOES glGenVertexArraysOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.ActiveAttribType* type, [OutAttribute] StringBuilder name); - internal unsafe static GetActiveAttrib glGetActiveAttrib; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.ActiveUniformType* type, [OutAttribute] StringBuilder name); - internal unsafe static GetActiveUniform glGetActiveUniform; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveUniformBlockiv(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ES30.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetActiveUniformBlockiv glGetActiveUniformBlockiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName); - internal unsafe static GetActiveUniformBlockName glGetActiveUniformBlockName; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveUniformsiv(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, OpenTK.Graphics.ES30.ActiveUniformParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetActiveUniformsiv glGetActiveUniformsiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders); - internal unsafe static GetAttachedShaders glGetAttachedShaders; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetAttribLocation(UInt32 program, String name); - internal static GetAttribLocation glGetAttribLocation; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetBooleanv(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] bool* data); - internal unsafe static GetBooleanv glGetBooleanv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetBufferParameteri64v(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferParameterName pname, [OutAttribute] Int64* @params); - internal unsafe static GetBufferParameteri64v glGetBufferParameteri64v; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetBufferParameteriv(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferParameterName pname, [OutAttribute] Int32* @params); - internal unsafe static GetBufferParameteriv glGetBufferParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetBufferPointerv(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [OutAttribute] IntPtr @params); - internal static GetBufferPointerv glGetBufferPointerv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetBufferPointervOES(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [OutAttribute] IntPtr @params); - internal static GetBufferPointervOES glGetBufferPointervOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); - internal unsafe static GetDebugMessageLog glGetDebugMessageLog; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Int32 GetDebugMessageLogKHR(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); - internal unsafe static GetDebugMessageLogKHR glGetDebugMessageLogKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetDriverControlsQCOM([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls); - internal unsafe static GetDriverControlsQCOM glGetDriverControlsQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString); - internal unsafe static GetDriverControlStringQCOM glGetDriverControlStringQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate OpenTK.Graphics.ES30.ErrorCode GetError(); - internal static GetError glGetError; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFenceivNV(UInt32 fence, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); - internal unsafe static GetFenceivNV glGetFenceivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFloatv(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Single* data); - internal unsafe static GetFloatv glGetFloatv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetFragDataLocation(UInt32 program, String name); - internal static GetFragDataLocation glGetFragDataLocation; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFramebufferAttachmentParameteriv(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.FramebufferParameterName pname, [OutAttribute] Int32* @params); - internal unsafe static GetFramebufferAttachmentParameteriv glGetFramebufferAttachmentParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate OpenTK.Graphics.ES30.All GetGraphicsResetStatusEXT(); - internal static GetGraphicsResetStatusEXT glGetGraphicsResetStatusEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetInteger64i_v(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] Int64* data); - internal unsafe static GetInteger64i_v glGetInteger64i_v; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetInteger64v(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int64* data); - internal unsafe static GetInteger64v glGetInteger64v; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetInteger64vAPPLE(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int64* @params); - internal unsafe static GetInteger64vAPPLE glGetInteger64vAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetIntegeri_v(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data); - internal unsafe static GetIntegeri_v glGetIntegeri_v; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetIntegeri_vEXT(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data); - internal unsafe static GetIntegeri_vEXT glGetIntegeri_vEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetIntegerv(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int32* data); - internal unsafe static GetIntegerv glGetIntegerv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetInternalformativ(OpenTK.Graphics.ES30.ImageTarget target, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, OpenTK.Graphics.ES30.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int32* @params); - internal unsafe static GetInternalformativ glGetInternalformativ; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetnUniformfvEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params); - internal unsafe static GetnUniformfvEXT glGetnUniformfvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetnUniformivEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params); - internal unsafe static GetnUniformivEXT glGetnUniformivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - internal unsafe static GetObjectLabel glGetObjectLabel; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetObjectLabelEXT(OpenTK.Graphics.ES30.All type, UInt32 @object, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - internal unsafe static GetObjectLabelEXT glGetObjectLabelEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetObjectLabelKHR(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - internal unsafe static GetObjectLabelKHR glGetObjectLabelKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - internal unsafe static GetObjectPtrLabel glGetObjectPtrLabel; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetObjectPtrLabelKHR(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - internal unsafe static GetObjectPtrLabelKHR glGetObjectPtrLabelKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.ES30.All pname, Int32 dataSize, [OutAttribute] UInt32* data, [OutAttribute] Int32* bytesWritten); - internal unsafe static GetPerfMonitorCounterDataAMD glGetPerfMonitorCounterDataAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr data); - internal static GetPerfMonitorCounterInfoAMD glGetPerfMonitorCounterInfoAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPerfMonitorCountersAMD(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters); - internal unsafe static GetPerfMonitorCountersAMD glGetPerfMonitorCountersAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPerfMonitorCounterStringAMD(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString); - internal unsafe static GetPerfMonitorCounterStringAMD glGetPerfMonitorCounterStringAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPerfMonitorGroupsAMD([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups); - internal unsafe static GetPerfMonitorGroupsAMD glGetPerfMonitorGroupsAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString); - internal unsafe static GetPerfMonitorGroupStringAMD glGetPerfMonitorGroupStringAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetPointerv(OpenTK.Graphics.ES30.GetPointervPName pname, [OutAttribute] IntPtr @params); - internal static GetPointerv glGetPointerv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetPointervKHR(OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr @params); - internal static GetPointervKHR glGetPointervKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [OutAttribute] IntPtr binary); - internal unsafe static GetProgramBinary glGetProgramBinary; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramBinaryOES(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [OutAttribute] IntPtr binary); - internal unsafe static GetProgramBinaryOES glGetProgramBinaryOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); - internal unsafe static GetProgramInfoLog glGetProgramInfoLog; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramiv(UInt32 program, OpenTK.Graphics.ES30.GetProgramParameterName pname, [OutAttribute] Int32* @params); - internal unsafe static GetProgramiv glGetProgramiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramPipelineInfoLogEXT(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); - internal unsafe static GetProgramPipelineInfoLogEXT glGetProgramPipelineInfoLogEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramPipelineivEXT(UInt32 pipeline, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); - internal unsafe static GetProgramPipelineivEXT glGetProgramPipelineivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryiv(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] Int32* @params); - internal unsafe static GetQueryiv glGetQueryiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryivEXT(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] Int32* @params); - internal unsafe static GetQueryivEXT glGetQueryivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryObjecti64vEXT(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int64* @params); - internal unsafe static GetQueryObjecti64vEXT glGetQueryObjecti64vEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryObjectivEXT(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int32* @params); - internal unsafe static GetQueryObjectivEXT glGetQueryObjectivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryObjectui64vEXT(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt64* @params); - internal unsafe static GetQueryObjectui64vEXT glGetQueryObjectui64vEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryObjectuiv(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt32* @params); - internal unsafe static GetQueryObjectuiv glGetQueryObjectuiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryObjectuivEXT(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt32* @params); - internal unsafe static GetQueryObjectuivEXT glGetQueryObjectuivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetRenderbufferParameteriv(OpenTK.Graphics.ES30.RenderbufferTarget target, OpenTK.Graphics.ES30.RenderbufferParameterName pname, [OutAttribute] Int32* @params); - internal unsafe static GetRenderbufferParameteriv glGetRenderbufferParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetSamplerParameterfv(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Single* @params); - internal unsafe static GetSamplerParameterfv glGetSamplerParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetSamplerParameteriv(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Int32* @params); - internal unsafe static GetSamplerParameteriv glGetSamplerParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); - internal unsafe static GetShaderInfoLog glGetShaderInfoLog; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetShaderiv(UInt32 shader, OpenTK.Graphics.ES30.ShaderParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetShaderiv glGetShaderiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetShaderPrecisionFormat(OpenTK.Graphics.ES30.ShaderType shadertype, OpenTK.Graphics.ES30.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision); - internal unsafe static GetShaderPrecisionFormat glGetShaderPrecisionFormat; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); - internal unsafe static GetShaderSource glGetShaderSource; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr GetString(OpenTK.Graphics.ES30.StringName name); - internal static GetString glGetString; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr GetStringi(OpenTK.Graphics.ES30.StringNameIndexed name, UInt32 index); - internal static GetStringi glGetStringi; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetSynciv(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); - internal unsafe static GetSynciv glGetSynciv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetSyncivAPPLE(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); - internal unsafe static GetSyncivAPPLE glGetSyncivAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexParameterfv(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameterName pname, [OutAttribute] Single* @params); - internal unsafe static GetTexParameterfv glGetTexParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexParameteriv(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameterName pname, [OutAttribute] Int32* @params); - internal unsafe static GetTexParameteriv glGetTexParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.TransformFeedbackType* type, [OutAttribute] StringBuilder name); - internal unsafe static GetTransformFeedbackVarying glGetTransformFeedbackVarying; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTranslatedShaderSourceANGLE(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); - internal unsafe static GetTranslatedShaderSourceANGLE glGetTranslatedShaderSourceANGLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetUniformBlockIndex(UInt32 program, String uniformBlockName); - internal static GetUniformBlockIndex glGetUniformBlockIndex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetUniformfv(UInt32 program, Int32 location, [OutAttribute] Single* @params); - internal unsafe static GetUniformfv glGetUniformfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] UInt32* uniformIndices); - internal unsafe static GetUniformIndices glGetUniformIndices; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetUniformiv(UInt32 program, Int32 location, [OutAttribute] Int32* @params); - internal unsafe static GetUniformiv glGetUniformiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetUniformLocation(UInt32 program, String name); - internal static GetUniformLocation glGetUniformLocation; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetUniformuiv(UInt32 program, Int32 location, [OutAttribute] UInt32* @params); - internal unsafe static GetUniformuiv glGetUniformuiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribfv(UInt32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Single* @params); - internal unsafe static GetVertexAttribfv glGetVertexAttribfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribIiv(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params); - internal unsafe static GetVertexAttribIiv glGetVertexAttribIiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribIuiv(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt32* @params); - internal unsafe static GetVertexAttribIuiv glGetVertexAttribIuiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribiv(UInt32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetVertexAttribiv glGetVertexAttribiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer); - internal static GetVertexAttribPointerv glGetVertexAttribPointerv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Hint(OpenTK.Graphics.ES30.HintTarget target, OpenTK.Graphics.ES30.HintMode mode); - internal static Hint glHint; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void InsertEventMarkerEXT(Int32 length, String marker); - internal static InsertEventMarkerEXT glInsertEventMarkerEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void InvalidateFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.ES30.FramebufferAttachment* attachments); - internal unsafe static InvalidateFramebuffer glInvalidateFramebuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void InvalidateSubFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.ES30.FramebufferAttachment* attachments, Int32 x, Int32 y, Int32 width, Int32 height); - internal unsafe static InvalidateSubFramebuffer glInvalidateSubFramebuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsBuffer(UInt32 buffer); - internal static IsBuffer glIsBuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsEnabled(OpenTK.Graphics.ES30.EnableCap cap); - internal static IsEnabled glIsEnabled; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsFenceNV(UInt32 fence); - internal static IsFenceNV glIsFenceNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsFramebuffer(UInt32 framebuffer); - internal static IsFramebuffer glIsFramebuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsProgram(UInt32 program); - internal static IsProgram glIsProgram; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsProgramPipelineEXT(UInt32 pipeline); - internal static IsProgramPipelineEXT glIsProgramPipelineEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsQuery(UInt32 id); - internal static IsQuery glIsQuery; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsQueryEXT(UInt32 id); - internal static IsQueryEXT glIsQueryEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsRenderbuffer(UInt32 renderbuffer); - internal static IsRenderbuffer glIsRenderbuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsSampler(UInt32 sampler); - internal static IsSampler glIsSampler; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsShader(UInt32 shader); - internal static IsShader glIsShader; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsSync(IntPtr sync); - internal static IsSync glIsSync; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsSyncAPPLE(IntPtr sync); - internal static IsSyncAPPLE glIsSyncAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsTexture(UInt32 texture); - internal static IsTexture glIsTexture; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsTransformFeedback(UInt32 id); - internal static IsTransformFeedback glIsTransformFeedback; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsVertexArray(UInt32 array); - internal static IsVertexArray glIsVertexArray; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsVertexArrayOES(UInt32 array); - internal static IsVertexArrayOES glIsVertexArrayOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LabelObjectEXT(OpenTK.Graphics.ES30.All type, UInt32 @object, Int32 length, String label); - internal static LabelObjectEXT glLabelObjectEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LineWidth(Single width); - internal static LineWidth glLineWidth; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LinkProgram(UInt32 program); - internal static LinkProgram glLinkProgram; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr MapBufferOES(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All access); - internal static MapBufferOES glMapBufferOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr MapBufferRange(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.ES30.BufferAccessMask access); - internal static MapBufferRange glMapBufferRange; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr MapBufferRangeEXT(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length, UInt32 access); - internal static MapBufferRangeEXT glMapBufferRangeEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiDrawArraysEXT(OpenTK.Graphics.ES30.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount); - internal unsafe static MultiDrawArraysEXT glMultiDrawArraysEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiDrawElementsEXT(OpenTK.Graphics.ES30.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 primcount); - internal unsafe static MultiDrawElementsEXT glMultiDrawElementsEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label); - internal static ObjectLabel glObjectLabel; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ObjectLabelKHR(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label); - internal static ObjectLabelKHR glObjectLabelKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ObjectPtrLabel(IntPtr ptr, Int32 length, String label); - internal static ObjectPtrLabel glObjectPtrLabel; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ObjectPtrLabelKHR(IntPtr ptr, Int32 length, String label); - internal static ObjectPtrLabelKHR glObjectPtrLabelKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PauseTransformFeedback(); - internal static PauseTransformFeedback glPauseTransformFeedback; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelStorei(OpenTK.Graphics.ES30.PixelStoreParameter pname, Int32 param); - internal static PixelStorei glPixelStorei; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PolygonOffset(Single factor, Single units); - internal static PolygonOffset glPolygonOffset; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PopDebugGroup(); - internal static PopDebugGroup glPopDebugGroup; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PopDebugGroupKHR(); - internal static PopDebugGroupKHR glPopDebugGroupKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PopGroupMarkerEXT(); - internal static PopGroupMarkerEXT glPopGroupMarkerEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramBinary(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, IntPtr binary, Int32 length); - internal static ProgramBinary glProgramBinary; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramBinaryOES(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, IntPtr binary, Int32 length); - internal static ProgramBinaryOES glProgramBinaryOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramParameteri(UInt32 program, OpenTK.Graphics.ES30.ProgramParameterName pname, Int32 value); - internal static ProgramParameteri glProgramParameteri; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramParameteriEXT(UInt32 program, OpenTK.Graphics.ES30.ProgramParameterName pname, Int32 value); - internal static ProgramParameteriEXT glProgramParameteriEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform1fEXT(UInt32 program, Int32 location, Single v0); - internal static ProgramUniform1fEXT glProgramUniform1fEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform1fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); - internal unsafe static ProgramUniform1fvEXT glProgramUniform1fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform1iEXT(UInt32 program, Int32 location, Int32 v0); - internal static ProgramUniform1iEXT glProgramUniform1iEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform1ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); - internal unsafe static ProgramUniform1ivEXT glProgramUniform1ivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform1uiEXT(UInt32 program, Int32 location, UInt32 v0); - internal static ProgramUniform1uiEXT glProgramUniform1uiEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform1uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); - internal unsafe static ProgramUniform1uivEXT glProgramUniform1uivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform2fEXT(UInt32 program, Int32 location, Single v0, Single v1); - internal static ProgramUniform2fEXT glProgramUniform2fEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform2fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); - internal unsafe static ProgramUniform2fvEXT glProgramUniform2fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform2iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1); - internal static ProgramUniform2iEXT glProgramUniform2iEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform2ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); - internal unsafe static ProgramUniform2ivEXT glProgramUniform2ivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform2uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1); - internal static ProgramUniform2uiEXT glProgramUniform2uiEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform2uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); - internal unsafe static ProgramUniform2uivEXT glProgramUniform2uivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform3fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2); - internal static ProgramUniform3fEXT glProgramUniform3fEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform3fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); - internal unsafe static ProgramUniform3fvEXT glProgramUniform3fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform3iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2); - internal static ProgramUniform3iEXT glProgramUniform3iEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform3ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); - internal unsafe static ProgramUniform3ivEXT glProgramUniform3ivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform3uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); - internal static ProgramUniform3uiEXT glProgramUniform3uiEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform3uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); - internal unsafe static ProgramUniform3uivEXT glProgramUniform3uivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform4fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3); - internal static ProgramUniform4fEXT glProgramUniform4fEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform4fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); - internal unsafe static ProgramUniform4fvEXT glProgramUniform4fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform4iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); - internal static ProgramUniform4iEXT glProgramUniform4iEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform4ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); - internal unsafe static ProgramUniform4ivEXT glProgramUniform4ivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform4uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); - internal static ProgramUniform4uiEXT glProgramUniform4uiEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform4uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); - internal unsafe static ProgramUniform4uivEXT glProgramUniform4uivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix2fvEXT glProgramUniformMatrix2fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix2x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix2x3fvEXT glProgramUniformMatrix2x3fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix2x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix2x4fvEXT glProgramUniformMatrix2x4fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix3fvEXT glProgramUniformMatrix3fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix3x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix3x2fvEXT glProgramUniformMatrix3x2fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix3x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix3x4fvEXT glProgramUniformMatrix3x4fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix4fvEXT glProgramUniformMatrix4fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix4x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix4x2fvEXT glProgramUniformMatrix4x2fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix4x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix4x3fvEXT glProgramUniformMatrix4x3fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PushDebugGroup(OpenTK.Graphics.ES30.All source, UInt32 id, Int32 length, String message); - internal static PushDebugGroup glPushDebugGroup; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PushDebugGroupKHR(OpenTK.Graphics.ES30.All source, UInt32 id, Int32 length, String message); - internal static PushDebugGroupKHR glPushDebugGroupKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PushGroupMarkerEXT(Int32 length, String marker); - internal static PushGroupMarkerEXT glPushGroupMarkerEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void QueryCounterEXT(UInt32 id, OpenTK.Graphics.ES30.All target); - internal static QueryCounterEXT glQueryCounterEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReadBuffer(OpenTK.Graphics.ES30.ReadBufferMode mode); - internal static ReadBuffer glReadBuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReadBufferIndexedEXT(OpenTK.Graphics.ES30.All src, Int32 index); - internal static ReadBufferIndexedEXT glReadBufferIndexedEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReadBufferNV(OpenTK.Graphics.ES30.All mode); - internal static ReadBufferNV glReadBufferNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReadnPixelsEXT(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, Int32 bufSize, [OutAttribute] IntPtr data); - internal static ReadnPixelsEXT glReadnPixelsEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [OutAttribute] IntPtr pixels); - internal static ReadPixels glReadPixels; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReleaseShaderCompiler(); - internal static ReleaseShaderCompiler glReleaseShaderCompiler; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RenderbufferStorage(OpenTK.Graphics.ES30.RenderbufferTarget target, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); - internal static RenderbufferStorage glRenderbufferStorage; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RenderbufferStorageMultisample(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); - internal static RenderbufferStorageMultisample glRenderbufferStorageMultisample; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RenderbufferStorageMultisampleANGLE(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); - internal static RenderbufferStorageMultisampleANGLE glRenderbufferStorageMultisampleANGLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RenderbufferStorageMultisampleAPPLE(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); - internal static RenderbufferStorageMultisampleAPPLE glRenderbufferStorageMultisampleAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RenderbufferStorageMultisampleEXT(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); - internal static RenderbufferStorageMultisampleEXT glRenderbufferStorageMultisampleEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RenderbufferStorageMultisampleIMG(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); - internal static RenderbufferStorageMultisampleIMG glRenderbufferStorageMultisampleIMG; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RenderbufferStorageMultisampleNV(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); - internal static RenderbufferStorageMultisampleNV glRenderbufferStorageMultisampleNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ResolveMultisampleFramebufferAPPLE(); - internal static ResolveMultisampleFramebufferAPPLE glResolveMultisampleFramebufferAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ResumeTransformFeedback(); - internal static ResumeTransformFeedback glResumeTransformFeedback; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SampleCoverage(Single value, bool invert); - internal static SampleCoverage glSampleCoverage; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SamplerParameterf(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Single param); - internal static SamplerParameterf glSamplerParameterf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SamplerParameterfv(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Single* param); - internal unsafe static SamplerParameterfv glSamplerParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SamplerParameteri(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Int32 param); - internal static SamplerParameteri glSamplerParameteri; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SamplerParameteriv(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Int32* param); - internal unsafe static SamplerParameteriv glSamplerParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Scissor(Int32 x, Int32 y, Int32 width, Int32 height); - internal static Scissor glScissor; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SelectPerfMonitorCountersAMD(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32* counterList); - internal unsafe static SelectPerfMonitorCountersAMD glSelectPerfMonitorCountersAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SetFenceNV(UInt32 fence, OpenTK.Graphics.ES30.All condition); - internal static SetFenceNV glSetFenceNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length); - internal unsafe static ShaderBinary glShaderBinary; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length); - internal unsafe static ShaderSource glShaderSource; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StartTilingQCOM(UInt32 x, UInt32 y, UInt32 width, UInt32 height, UInt32 preserveMask); - internal static StartTilingQCOM glStartTilingQCOM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilFunc(OpenTK.Graphics.ES30.StencilFunction func, Int32 @ref, UInt32 mask); - internal static StencilFunc glStencilFunc; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilFuncSeparate(OpenTK.Graphics.ES30.StencilFace face, OpenTK.Graphics.ES30.StencilFunction func, Int32 @ref, UInt32 mask); - internal static StencilFuncSeparate glStencilFuncSeparate; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilMask(UInt32 mask); - internal static StencilMask glStencilMask; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilMaskSeparate(OpenTK.Graphics.ES30.StencilFace face, UInt32 mask); - internal static StencilMaskSeparate glStencilMaskSeparate; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilOp(OpenTK.Graphics.ES30.StencilOp fail, OpenTK.Graphics.ES30.StencilOp zfail, OpenTK.Graphics.ES30.StencilOp zpass); - internal static StencilOp glStencilOp; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilOpSeparate(OpenTK.Graphics.ES30.StencilFace face, OpenTK.Graphics.ES30.StencilOp sfail, OpenTK.Graphics.ES30.StencilOp dpfail, OpenTK.Graphics.ES30.StencilOp dppass); - internal static StencilOpSeparate glStencilOpSeparate; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool TestFenceNV(UInt32 fence); - internal static TestFenceNV glTestFenceNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels); - internal static TexImage2D glTexImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels); - internal static TexImage3D glTexImage3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexImage3DOES(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels); - internal static TexImage3DOES glTexImage3DOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexParameterf(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Single param); - internal static TexParameterf glTexParameterf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexParameterfv(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Single* @params); - internal unsafe static TexParameterfv glTexParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexParameteri(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Int32 param); - internal static TexParameteri glTexParameteri; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexParameteriv(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Int32* @params); - internal unsafe static TexParameteriv glTexParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexStorage1DEXT(OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width); - internal static TexStorage1DEXT glTexStorage1DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexStorage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height); - internal static TexStorage2D glTexStorage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexStorage2DEXT(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height); - internal static TexStorage2DEXT glTexStorage2DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexStorage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth); - internal static TexStorage3D glTexStorage3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexStorage3DEXT(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth); - internal static TexStorage3DEXT glTexStorage3DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels); - internal static TexSubImage2D glTexSubImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels); - internal static TexSubImage3D glTexSubImage3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexSubImage3DOES(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, IntPtr pixels); - internal static TexSubImage3DOES glTexSubImage3DOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureStorage1DEXT(UInt32 texture, OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width); - internal static TextureStorage1DEXT glTextureStorage1DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureStorage2DEXT(UInt32 texture, OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height); - internal static TextureStorage2DEXT glTextureStorage2DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureStorage3DEXT(UInt32 texture, OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth); - internal static TextureStorage3DEXT glTextureStorage3DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.ES30.TransformFeedbackMode bufferMode); - internal static TransformFeedbackVaryings glTransformFeedbackVaryings; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform1f(Int32 location, Single v0); - internal static Uniform1f glUniform1f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform1fv(Int32 location, Int32 count, Single* value); - internal unsafe static Uniform1fv glUniform1fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform1i(Int32 location, Int32 v0); - internal static Uniform1i glUniform1i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform1iv(Int32 location, Int32 count, Int32* value); - internal unsafe static Uniform1iv glUniform1iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform1ui(Int32 location, UInt32 v0); - internal static Uniform1ui glUniform1ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform1uiv(Int32 location, Int32 count, UInt32* value); - internal unsafe static Uniform1uiv glUniform1uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform2f(Int32 location, Single v0, Single v1); - internal static Uniform2f glUniform2f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform2fv(Int32 location, Int32 count, Single* value); - internal unsafe static Uniform2fv glUniform2fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform2i(Int32 location, Int32 v0, Int32 v1); - internal static Uniform2i glUniform2i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform2iv(Int32 location, Int32 count, Int32* value); - internal unsafe static Uniform2iv glUniform2iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform2ui(Int32 location, UInt32 v0, UInt32 v1); - internal static Uniform2ui glUniform2ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform2uiv(Int32 location, Int32 count, UInt32* value); - internal unsafe static Uniform2uiv glUniform2uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform3f(Int32 location, Single v0, Single v1, Single v2); - internal static Uniform3f glUniform3f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform3fv(Int32 location, Int32 count, Single* value); - internal unsafe static Uniform3fv glUniform3fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform3i(Int32 location, Int32 v0, Int32 v1, Int32 v2); - internal static Uniform3i glUniform3i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform3iv(Int32 location, Int32 count, Int32* value); - internal unsafe static Uniform3iv glUniform3iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform3ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); - internal static Uniform3ui glUniform3ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform3uiv(Int32 location, Int32 count, UInt32* value); - internal unsafe static Uniform3uiv glUniform3uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform4f(Int32 location, Single v0, Single v1, Single v2, Single v3); - internal static Uniform4f glUniform4f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform4fv(Int32 location, Int32 count, Single* value); - internal unsafe static Uniform4fv glUniform4fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform4i(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); - internal static Uniform4i glUniform4i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform4iv(Int32 location, Int32 count, Int32* value); - internal unsafe static Uniform4iv glUniform4iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform4ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); - internal static Uniform4ui glUniform4ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform4uiv(Int32 location, Int32 count, UInt32* value); - internal unsafe static Uniform4uiv glUniform4uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void UniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding); - internal static UniformBlockBinding glUniformBlockBinding; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix2fv(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix2fv glUniformMatrix2fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix2x3fv(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix2x3fv glUniformMatrix2x3fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix2x3fvNV(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix2x3fvNV glUniformMatrix2x3fvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix2x4fv(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix2x4fv glUniformMatrix2x4fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix2x4fvNV(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix2x4fvNV glUniformMatrix2x4fvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix3fv(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix3fv glUniformMatrix3fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix3x2fv(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix3x2fv glUniformMatrix3x2fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix3x2fvNV(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix3x2fvNV glUniformMatrix3x2fvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix3x4fv(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix3x4fv glUniformMatrix3x4fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix3x4fvNV(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix3x4fvNV glUniformMatrix3x4fvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix4fv(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix4fv glUniformMatrix4fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix4x2fv(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix4x2fv glUniformMatrix4x2fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix4x2fvNV(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix4x2fvNV glUniformMatrix4x2fvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix4x3fv(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix4x3fv glUniformMatrix4x3fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix4x3fvNV(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix4x3fvNV glUniformMatrix4x3fvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool UnmapBuffer(OpenTK.Graphics.ES30.BufferTarget target); - internal static UnmapBuffer glUnmapBuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool UnmapBufferOES(OpenTK.Graphics.ES30.BufferTarget target); - internal static UnmapBufferOES glUnmapBufferOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void UseProgram(UInt32 program); - internal static UseProgram glUseProgram; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void UseProgramStagesEXT(UInt32 pipeline, UInt32 stages, UInt32 program); - internal static UseProgramStagesEXT glUseProgramStagesEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void UseShaderProgramEXT(OpenTK.Graphics.ES30.All type, UInt32 program); - internal static UseShaderProgramEXT glUseShaderProgramEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ValidateProgram(UInt32 program); - internal static ValidateProgram glValidateProgram; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ValidateProgramPipelineEXT(UInt32 pipeline); - internal static ValidateProgramPipelineEXT glValidateProgramPipelineEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib1f(UInt32 index, Single x); - internal static VertexAttrib1f glVertexAttrib1f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib1fv(UInt32 index, Single* v); - internal unsafe static VertexAttrib1fv glVertexAttrib1fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib2f(UInt32 index, Single x, Single y); - internal static VertexAttrib2f glVertexAttrib2f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib2fv(UInt32 index, Single* v); - internal unsafe static VertexAttrib2fv glVertexAttrib2fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib3f(UInt32 index, Single x, Single y, Single z); - internal static VertexAttrib3f glVertexAttrib3f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib3fv(UInt32 index, Single* v); - internal unsafe static VertexAttrib3fv glVertexAttrib3fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib4f(UInt32 index, Single x, Single y, Single z, Single w); - internal static VertexAttrib4f glVertexAttrib4f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4fv(UInt32 index, Single* v); - internal unsafe static VertexAttrib4fv glVertexAttrib4fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribDivisor(UInt32 index, UInt32 divisor); - internal static VertexAttribDivisor glVertexAttribDivisor; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribDivisorANGLE(UInt32 index, UInt32 divisor); - internal static VertexAttribDivisorANGLE glVertexAttribDivisorANGLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribDivisorEXT(UInt32 index, UInt32 divisor); - internal static VertexAttribDivisorEXT glVertexAttribDivisorEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribDivisorNV(UInt32 index, UInt32 divisor); - internal static VertexAttribDivisorNV glVertexAttribDivisorNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribI4i(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); - internal static VertexAttribI4i glVertexAttribI4i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI4iv(UInt32 index, Int32* v); - internal unsafe static VertexAttribI4iv glVertexAttribI4iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribI4ui(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); - internal static VertexAttribI4ui glVertexAttribI4ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI4uiv(UInt32 index, UInt32* v); - internal unsafe static VertexAttribI4uiv glVertexAttribI4uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribIntegerType type, Int32 stride, IntPtr pointer); - internal static VertexAttribIPointer glVertexAttribIPointer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer); - internal static VertexAttribPointer glVertexAttribPointer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Viewport(Int32 x, Int32 y, Int32 width, Int32 height); - internal static Viewport glViewport; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.WaitSyncFlags flags, UInt64 timeout); - internal static WaitSync glWaitSync; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WaitSyncAPPLE(IntPtr sync, OpenTK.Graphics.ES30.WaitSyncFlags flags, UInt64 timeout); - internal static WaitSyncAPPLE glWaitSyncAPPLE; - } - } -} diff --git a/Source/OpenTK/Graphics/ES30/Helper.cs b/Source/OpenTK/Graphics/ES30/Helper.cs index 4973cca9..2d2e977f 100644 --- a/Source/OpenTK/Graphics/ES30/Helper.cs +++ b/Source/OpenTK/Graphics/ES30/Helper.cs @@ -42,6 +42,22 @@ namespace OpenTK.Graphics.ES30 const string Library = "libGLESv2.dll"; static readonly object sync_root = new object(); + static IntPtr[] EntryPoints; + static string[] EntryPointNames; + + #region Constructors + + /// + /// Constructs a new instance. + /// + public GL() + { + EntryPointsInstance = EntryPoints; + EntryPointNamesInstance = EntryPointNames; + } + + #endregion + #region --- Protected Members --- /// diff --git a/Source/OpenTK/Graphics/GraphicsBindingsBase.cs b/Source/OpenTK/Graphics/GraphicsBindingsBase.cs index 29cbdbac..02c1a43a 100644 --- a/Source/OpenTK/Graphics/GraphicsBindingsBase.cs +++ b/Source/OpenTK/Graphics/GraphicsBindingsBase.cs @@ -26,6 +26,7 @@ #endregion using System; +using System.Runtime.InteropServices; namespace OpenTK.Graphics { @@ -34,6 +35,18 @@ namespace OpenTK.Graphics /// public abstract class GraphicsBindingsBase : BindingsBase { + /// + /// Contains the list of API entry points (function pointers). + /// This field must be set by an inheriting class. + /// + protected IntPtr[] EntryPointsInstance; + + /// + /// Contains the list of API entry point names. + /// This field must be set by an inheriting class. + /// + protected string[] EntryPointNamesInstance; + /// /// Retrieves an unmanaged function pointer to the specified function. /// @@ -56,5 +69,22 @@ namespace OpenTK.Graphics throw new GraphicsContextMissingException(); return context != null ? context.GetAddress(funcname) : IntPtr.Zero; } + + // Loads all available entry points for the current API. + // Note: we prefer IGraphicsContextInternal.GetAddress over + // this.GetAddress to improve loading performance (less + // validation necessary.) + internal override void LoadEntryPoints() + { + IGraphicsContext context = GraphicsContext.CurrentContext; + if (context == null) + throw new GraphicsContextMissingException(); + + IGraphicsContextInternal context_internal = context as IGraphicsContextInternal; + for (int i = 0; i < EntryPointsInstance.Length; i++) + { + EntryPointsInstance[i] = context_internal.GetAddress(EntryPointNamesInstance[i]); + } + } } } diff --git a/Source/OpenTK/Graphics/GraphicsContext.cs b/Source/OpenTK/Graphics/GraphicsContext.cs index bcda8525..0b1a4458 100644 --- a/Source/OpenTK/Graphics/GraphicsContext.cs +++ b/Source/OpenTK/Graphics/GraphicsContext.cs @@ -544,18 +544,36 @@ namespace OpenTK.Graphics } /// - /// Gets the address of an OpenGL extension function. + /// Retrieves the implementation-defined address of an OpenGL function. /// /// The name of the OpenGL function (e.g. "glGetString") /// - /// A pointer to the specified function or IntPtr.Zero if the function isn't - /// available in the current opengl context. + /// A pointer to the specified function or an invalid pointer if the function is not + /// available in the current OpenGL context. The return value and calling convention + /// depends on the underlying platform. /// IntPtr IGraphicsContextInternal.GetAddress(string function) { return (implementation as IGraphicsContextInternal).GetAddress(function); } + /// + /// Retrieves the implementation-defined address of an OpenGL function. + /// + /// + /// A pointer to a null-terminated buffer + /// containing the name of the OpenGL function. + /// + /// + /// A pointer to the specified function or an invalid pointer if the function is not + /// available in the current OpenGL context. The return value and calling convention + /// depends on the underlying platform. + /// + IntPtr IGraphicsContextInternal.GetAddress(IntPtr function) + { + return (implementation as IGraphicsContextInternal).GetAddress(function); + } + #endregion #region --- IDisposable Members --- diff --git a/Source/OpenTK/Graphics/GraphicsContextBase.cs b/Source/OpenTK/Graphics/GraphicsContextBase.cs index d2335a17..f5ed1125 100644 --- a/Source/OpenTK/Graphics/GraphicsContextBase.cs +++ b/Source/OpenTK/Graphics/GraphicsContextBase.cs @@ -94,6 +94,8 @@ namespace OpenTK.Graphics public abstract IntPtr GetAddress(string function); + public abstract IntPtr GetAddress(IntPtr function); + #endregion #region IDisposable Members diff --git a/Source/OpenTK/Graphics/IGraphicsContext.cs b/Source/OpenTK/Graphics/IGraphicsContext.cs index 9b641d33..a71caf91 100644 --- a/Source/OpenTK/Graphics/IGraphicsContext.cs +++ b/Source/OpenTK/Graphics/IGraphicsContext.cs @@ -112,13 +112,29 @@ namespace OpenTK.Graphics ContextHandle Context { get; } /// - /// Gets the address of an OpenGL extension function. + /// Retrieves the implementation-defined address of an OpenGL function. /// /// The name of the OpenGL function (e.g. "glGetString") /// - /// A pointer to the specified function or IntPtr.Zero if the function isn't - /// available in the current opengl context. + /// A pointer to the specified function or an invalid pointer if the function is not + /// available in the current OpenGL context. The return value and calling convention + /// depends on the underlying platform. /// IntPtr GetAddress(string function); + + /// + /// Retrieves the implementation-defined address of an OpenGL function. + /// + /// + /// A pointer to a null-terminated buffer + /// containing the name of the OpenGL function. + /// + /// + /// A pointer to the specified function or an invalid pointer if the function is not + /// available in the current OpenGL context. The return value and calling convention + /// depends on the underlying platform. + /// + /// + IntPtr GetAddress(IntPtr function); } } diff --git a/Source/OpenTK/Graphics/OpenGL/GL.cs b/Source/OpenTK/Graphics/OpenGL/GL.cs index 80b27477..365e2d0a 100644 --- a/Source/OpenTK/Graphics/OpenGL/GL.cs +++ b/Source/OpenTK/Graphics/OpenGL/GL.cs @@ -34,42 +34,2677 @@ namespace OpenTK.Graphics.OpenGL #pragma warning disable 1591 #pragma warning disable 1572 #pragma warning disable 1573 + #pragma warning disable 626 partial class GL { + static GL() + { + EntryPointNames = new string[] + { + "glAccum", + "glAccumxOES", + "glActiveProgramEXT", + "glActiveShaderProgram", + "glActiveShaderProgramEXT", + "glActiveStencilFaceEXT", + "glActiveTexture", + "glActiveTextureARB", + "glActiveVaryingNV", + "glAlphaFragmentOp1ATI", + "glAlphaFragmentOp2ATI", + "glAlphaFragmentOp3ATI", + "glAlphaFunc", + "glAlphaFuncxOES", + "glApplyTextureEXT", + "glAreProgramsResidentNV", + "glAreTexturesResident", + "glAreTexturesResidentEXT", + "glArrayElement", + "glArrayElementEXT", + "glArrayObjectATI", + "glAsyncMarkerSGIX", + "glAttachObjectARB", + "glAttachShader", + "glBegin", + "glBeginConditionalRender", + "glBeginConditionalRenderNV", + "glBeginConditionalRenderNVX", + "glBeginFragmentShaderATI", + "glBeginOcclusionQueryNV", + "glBeginPerfMonitorAMD", + "glBeginQuery", + "glBeginQueryARB", + "glBeginQueryIndexed", + "glBeginTransformFeedback", + "glBeginTransformFeedbackEXT", + "glBeginTransformFeedbackNV", + "glBeginVertexShaderEXT", + "glBeginVideoCaptureNV", + "glBindAttribLocation", + "glBindAttribLocationARB", + "glBindBuffer", + "glBindBufferARB", + "glBindBufferBase", + "glBindBufferBaseEXT", + "glBindBufferBaseNV", + "glBindBufferOffsetEXT", + "glBindBufferOffsetNV", + "glBindBufferRange", + "glBindBufferRangeEXT", + "glBindBufferRangeNV", + "glBindBuffersBase", + "glBindBuffersRange", + "glBindFragDataLocation", + "glBindFragDataLocationEXT", + "glBindFragDataLocationIndexed", + "glBindFragmentShaderATI", + "glBindFramebuffer", + "glBindFramebufferEXT", + "glBindImageTexture", + "glBindImageTextureEXT", + "glBindImageTextures", + "glBindLightParameterEXT", + "glBindMaterialParameterEXT", + "glBindMultiTextureEXT", + "glBindParameterEXT", + "glBindProgramARB", + "glBindProgramNV", + "glBindProgramPipeline", + "glBindProgramPipelineEXT", + "glBindRenderbuffer", + "glBindRenderbufferEXT", + "glBindSampler", + "glBindSamplers", + "glBindTexGenParameterEXT", + "glBindTexture", + "glBindTextureEXT", + "glBindTextures", + "glBindTextureUnitParameterEXT", + "glBindTransformFeedback", + "glBindTransformFeedbackNV", + "glBindVertexArray", + "glBindVertexArrayAPPLE", + "glBindVertexBuffer", + "glBindVertexBuffers", + "glBindVertexShaderEXT", + "glBindVideoCaptureStreamBufferNV", + "glBindVideoCaptureStreamTextureNV", + "glBinormal3bEXT", + "glBinormal3bvEXT", + "glBinormal3dEXT", + "glBinormal3dvEXT", + "glBinormal3fEXT", + "glBinormal3fvEXT", + "glBinormal3iEXT", + "glBinormal3ivEXT", + "glBinormal3sEXT", + "glBinormal3svEXT", + "glBinormalPointerEXT", + "glBitmap", + "glBitmapxOES", + "glBlendBarrierNV", + "glBlendColor", + "glBlendColorEXT", + "glBlendColorxOES", + "glBlendEquation", + "glBlendEquationEXT", + "glBlendEquationi", + "glBlendEquationiARB", + "glBlendEquationIndexedAMD", + "glBlendEquationSeparate", + "glBlendEquationSeparateEXT", + "glBlendEquationSeparatei", + "glBlendEquationSeparateiARB", + "glBlendEquationSeparateIndexedAMD", + "glBlendFunc", + "glBlendFunci", + "glBlendFunciARB", + "glBlendFuncIndexedAMD", + "glBlendFuncSeparate", + "glBlendFuncSeparateEXT", + "glBlendFuncSeparatei", + "glBlendFuncSeparateiARB", + "glBlendFuncSeparateIndexedAMD", + "glBlendFuncSeparateINGR", + "glBlendParameteriNV", + "glBlitFramebuffer", + "glBlitFramebufferEXT", + "glBufferAddressRangeNV", + "glBufferData", + "glBufferDataARB", + "glBufferParameteriAPPLE", + "glBufferStorage", + "glBufferSubData", + "glBufferSubDataARB", + "glCallList", + "glCallLists", + "glCheckFramebufferStatus", + "glCheckFramebufferStatusEXT", + "glCheckNamedFramebufferStatusEXT", + "glClampColor", + "glClampColorARB", + "glClear", + "glClearAccum", + "glClearAccumxOES", + "glClearBufferData", + "glClearBufferfi", + "glClearBufferfv", + "glClearBufferiv", + "glClearBufferSubData", + "glClearBufferuiv", + "glClearColor", + "glClearColorIiEXT", + "glClearColorIuiEXT", + "glClearColorxOES", + "glClearDepth", + "glClearDepthdNV", + "glClearDepthf", + "glClearDepthfOES", + "glClearDepthxOES", + "glClearIndex", + "glClearNamedBufferDataEXT", + "glClearNamedBufferSubDataEXT", + "glClearStencil", + "glClearTexImage", + "glClearTexSubImage", + "glClientActiveTexture", + "glClientActiveTextureARB", + "glClientActiveVertexStreamATI", + "glClientAttribDefaultEXT", + "glClientWaitSync", + "glClipPlane", + "glClipPlanefOES", + "glClipPlanexOES", + "glColor3b", + "glColor3bv", + "glColor3d", + "glColor3dv", + "glColor3f", + "glColor3fv", + "glColor3fVertex3fSUN", + "glColor3fVertex3fvSUN", + "glColor3hNV", + "glColor3hvNV", + "glColor3i", + "glColor3iv", + "glColor3s", + "glColor3sv", + "glColor3ub", + "glColor3ubv", + "glColor3ui", + "glColor3uiv", + "glColor3us", + "glColor3usv", + "glColor3xOES", + "glColor3xvOES", + "glColor4b", + "glColor4bv", + "glColor4d", + "glColor4dv", + "glColor4f", + "glColor4fNormal3fVertex3fSUN", + "glColor4fNormal3fVertex3fvSUN", + "glColor4fv", + "glColor4hNV", + "glColor4hvNV", + "glColor4i", + "glColor4iv", + "glColor4s", + "glColor4sv", + "glColor4ub", + "glColor4ubv", + "glColor4ubVertex2fSUN", + "glColor4ubVertex2fvSUN", + "glColor4ubVertex3fSUN", + "glColor4ubVertex3fvSUN", + "glColor4ui", + "glColor4uiv", + "glColor4us", + "glColor4usv", + "glColor4xOES", + "glColor4xvOES", + "glColorFormatNV", + "glColorFragmentOp1ATI", + "glColorFragmentOp2ATI", + "glColorFragmentOp3ATI", + "glColorMask", + "glColorMaski", + "glColorMaskIndexedEXT", + "glColorMaterial", + "glColorP3ui", + "glColorP3uiv", + "glColorP4ui", + "glColorP4uiv", + "glColorPointer", + "glColorPointerEXT", + "glColorPointerListIBM", + "glColorPointervINTEL", + "glColorSubTable", + "glColorSubTableEXT", + "glColorTable", + "glColorTableEXT", + "glColorTableParameterfv", + "glColorTableParameterfvSGI", + "glColorTableParameteriv", + "glColorTableParameterivSGI", + "glColorTableSGI", + "glCombinerInputNV", + "glCombinerOutputNV", + "glCombinerParameterfNV", + "glCombinerParameterfvNV", + "glCombinerParameteriNV", + "glCombinerParameterivNV", + "glCombinerStageParameterfvNV", + "glCompileShader", + "glCompileShaderARB", + "glCompileShaderIncludeARB", + "glCompressedMultiTexImage1DEXT", + "glCompressedMultiTexImage2DEXT", + "glCompressedMultiTexImage3DEXT", + "glCompressedMultiTexSubImage1DEXT", + "glCompressedMultiTexSubImage2DEXT", + "glCompressedMultiTexSubImage3DEXT", + "glCompressedTexImage1D", + "glCompressedTexImage1DARB", + "glCompressedTexImage2D", + "glCompressedTexImage2DARB", + "glCompressedTexImage3D", + "glCompressedTexImage3DARB", + "glCompressedTexSubImage1D", + "glCompressedTexSubImage1DARB", + "glCompressedTexSubImage2D", + "glCompressedTexSubImage2DARB", + "glCompressedTexSubImage3D", + "glCompressedTexSubImage3DARB", + "glCompressedTextureImage1DEXT", + "glCompressedTextureImage2DEXT", + "glCompressedTextureImage3DEXT", + "glCompressedTextureSubImage1DEXT", + "glCompressedTextureSubImage2DEXT", + "glCompressedTextureSubImage3DEXT", + "glConvolutionFilter1D", + "glConvolutionFilter1DEXT", + "glConvolutionFilter2D", + "glConvolutionFilter2DEXT", + "glConvolutionParameterf", + "glConvolutionParameterfEXT", + "glConvolutionParameterfv", + "glConvolutionParameterfvEXT", + "glConvolutionParameteri", + "glConvolutionParameteriEXT", + "glConvolutionParameteriv", + "glConvolutionParameterivEXT", + "glConvolutionParameterxOES", + "glConvolutionParameterxvOES", + "glCopyBufferSubData", + "glCopyColorSubTable", + "glCopyColorSubTableEXT", + "glCopyColorTable", + "glCopyColorTableSGI", + "glCopyConvolutionFilter1D", + "glCopyConvolutionFilter1DEXT", + "glCopyConvolutionFilter2D", + "glCopyConvolutionFilter2DEXT", + "glCopyImageSubData", + "glCopyImageSubDataNV", + "glCopyMultiTexImage1DEXT", + "glCopyMultiTexImage2DEXT", + "glCopyMultiTexSubImage1DEXT", + "glCopyMultiTexSubImage2DEXT", + "glCopyMultiTexSubImage3DEXT", + "glCopyPathNV", + "glCopyPixels", + "glCopyTexImage1D", + "glCopyTexImage1DEXT", + "glCopyTexImage2D", + "glCopyTexImage2DEXT", + "glCopyTexSubImage1D", + "glCopyTexSubImage1DEXT", + "glCopyTexSubImage2D", + "glCopyTexSubImage2DEXT", + "glCopyTexSubImage3D", + "glCopyTexSubImage3DEXT", + "glCopyTextureImage1DEXT", + "glCopyTextureImage2DEXT", + "glCopyTextureSubImage1DEXT", + "glCopyTextureSubImage2DEXT", + "glCopyTextureSubImage3DEXT", + "glCoverFillPathInstancedNV", + "glCoverFillPathNV", + "glCoverStrokePathInstancedNV", + "glCoverStrokePathNV", + "glCreateProgram", + "glCreateProgramObjectARB", + "glCreateShader", + "glCreateShaderObjectARB", + "glCreateShaderProgramEXT", + "glCreateShaderProgramv", + "glCreateShaderProgramvEXT", + "glCreateSyncFromCLeventARB", + "glCullFace", + "glCullParameterdvEXT", + "glCullParameterfvEXT", + "glCurrentPaletteMatrixARB", + "glDebugMessageCallback", + "glDebugMessageCallbackAMD", + "glDebugMessageCallbackARB", + "glDebugMessageCallbackKHR", + "glDebugMessageControl", + "glDebugMessageControlARB", + "glDebugMessageControlKHR", + "glDebugMessageEnableAMD", + "glDebugMessageInsert", + "glDebugMessageInsertAMD", + "glDebugMessageInsertARB", + "glDebugMessageInsertKHR", + "glDeformationMap3dSGIX", + "glDeformationMap3fSGIX", + "glDeformSGIX", + "glDeleteAsyncMarkersSGIX", + "glDeleteBuffers", + "glDeleteBuffersARB", + "glDeleteFencesAPPLE", + "glDeleteFencesNV", + "glDeleteFragmentShaderATI", + "glDeleteFramebuffers", + "glDeleteFramebuffersEXT", + "glDeleteLists", + "glDeleteNamedStringARB", + "glDeleteNamesAMD", + "glDeleteObjectARB", + "glDeleteOcclusionQueriesNV", + "glDeletePathsNV", + "glDeletePerfMonitorsAMD", + "glDeleteProgram", + "glDeleteProgramPipelines", + "glDeleteProgramPipelinesEXT", + "glDeleteProgramsARB", + "glDeleteProgramsNV", + "glDeleteQueries", + "glDeleteQueriesARB", + "glDeleteRenderbuffers", + "glDeleteRenderbuffersEXT", + "glDeleteSamplers", + "glDeleteShader", + "glDeleteSync", + "glDeleteTextures", + "glDeleteTexturesEXT", + "glDeleteTransformFeedbacks", + "glDeleteTransformFeedbacksNV", + "glDeleteVertexArrays", + "glDeleteVertexArraysAPPLE", + "glDeleteVertexShaderEXT", + "glDepthBoundsdNV", + "glDepthBoundsEXT", + "glDepthFunc", + "glDepthMask", + "glDepthRange", + "glDepthRangeArrayv", + "glDepthRangedNV", + "glDepthRangef", + "glDepthRangefOES", + "glDepthRangeIndexed", + "glDepthRangexOES", + "glDetachObjectARB", + "glDetachShader", + "glDetailTexFuncSGIS", + "glDisable", + "glDisableClientState", + "glDisableClientStateiEXT", + "glDisableClientStateIndexedEXT", + "glDisablei", + "glDisableIndexedEXT", + "glDisableVariantClientStateEXT", + "glDisableVertexArrayAttribEXT", + "glDisableVertexArrayEXT", + "glDisableVertexAttribAPPLE", + "glDisableVertexAttribArray", + "glDisableVertexAttribArrayARB", + "glDispatchCompute", + "glDispatchComputeGroupSizeARB", + "glDispatchComputeIndirect", + "glDrawArrays", + "glDrawArraysEXT", + "glDrawArraysIndirect", + "glDrawArraysInstanced", + "glDrawArraysInstancedARB", + "glDrawArraysInstancedBaseInstance", + "glDrawArraysInstancedEXT", + "glDrawBuffer", + "glDrawBuffers", + "glDrawBuffersARB", + "glDrawBuffersATI", + "glDrawElementArrayAPPLE", + "glDrawElementArrayATI", + "glDrawElements", + "glDrawElementsBaseVertex", + "glDrawElementsIndirect", + "glDrawElementsInstanced", + "glDrawElementsInstancedARB", + "glDrawElementsInstancedBaseInstance", + "glDrawElementsInstancedBaseVertex", + "glDrawElementsInstancedBaseVertexBaseInstance", + "glDrawElementsInstancedEXT", + "glDrawMeshArraysSUN", + "glDrawPixels", + "glDrawRangeElementArrayAPPLE", + "glDrawRangeElementArrayATI", + "glDrawRangeElements", + "glDrawRangeElementsBaseVertex", + "glDrawRangeElementsEXT", + "glDrawTextureNV", + "glDrawTransformFeedback", + "glDrawTransformFeedbackInstanced", + "glDrawTransformFeedbackNV", + "glDrawTransformFeedbackStream", + "glDrawTransformFeedbackStreamInstanced", + "glEdgeFlag", + "glEdgeFlagFormatNV", + "glEdgeFlagPointer", + "glEdgeFlagPointerEXT", + "glEdgeFlagPointerListIBM", + "glEdgeFlagv", + "glElementPointerAPPLE", + "glElementPointerATI", + "glEnable", + "glEnableClientState", + "glEnableClientStateiEXT", + "glEnableClientStateIndexedEXT", + "glEnablei", + "glEnableIndexedEXT", + "glEnableVariantClientStateEXT", + "glEnableVertexArrayAttribEXT", + "glEnableVertexArrayEXT", + "glEnableVertexAttribAPPLE", + "glEnableVertexAttribArray", + "glEnableVertexAttribArrayARB", + "glEnd", + "glEndConditionalRender", + "glEndConditionalRenderNV", + "glEndConditionalRenderNVX", + "glEndFragmentShaderATI", + "glEndList", + "glEndOcclusionQueryNV", + "glEndPerfMonitorAMD", + "glEndQuery", + "glEndQueryARB", + "glEndQueryIndexed", + "glEndTransformFeedback", + "glEndTransformFeedbackEXT", + "glEndTransformFeedbackNV", + "glEndVertexShaderEXT", + "glEndVideoCaptureNV", + "glEvalCoord1d", + "glEvalCoord1dv", + "glEvalCoord1f", + "glEvalCoord1fv", + "glEvalCoord1xOES", + "glEvalCoord1xvOES", + "glEvalCoord2d", + "glEvalCoord2dv", + "glEvalCoord2f", + "glEvalCoord2fv", + "glEvalCoord2xOES", + "glEvalCoord2xvOES", + "glEvalMapsNV", + "glEvalMesh1", + "glEvalMesh2", + "glEvalPoint1", + "glEvalPoint2", + "glExecuteProgramNV", + "glExtractComponentEXT", + "glFeedbackBuffer", + "glFeedbackBufferxOES", + "glFenceSync", + "glFinalCombinerInputNV", + "glFinish", + "glFinishAsyncSGIX", + "glFinishFenceAPPLE", + "glFinishFenceNV", + "glFinishObjectAPPLE", + "glFinishTextureSUNX", + "glFlush", + "glFlushMappedBufferRange", + "glFlushMappedBufferRangeAPPLE", + "glFlushMappedNamedBufferRangeEXT", + "glFlushPixelDataRangeNV", + "glFlushRasterSGIX", + "glFlushStaticDataIBM", + "glFlushVertexArrayRangeAPPLE", + "glFlushVertexArrayRangeNV", + "glFogCoordd", + "glFogCoorddEXT", + "glFogCoorddv", + "glFogCoorddvEXT", + "glFogCoordf", + "glFogCoordfEXT", + "glFogCoordFormatNV", + "glFogCoordfv", + "glFogCoordfvEXT", + "glFogCoordhNV", + "glFogCoordhvNV", + "glFogCoordPointer", + "glFogCoordPointerEXT", + "glFogCoordPointerListIBM", + "glFogf", + "glFogFuncSGIS", + "glFogfv", + "glFogi", + "glFogiv", + "glFogxOES", + "glFogxvOES", + "glFragmentColorMaterialSGIX", + "glFragmentLightfSGIX", + "glFragmentLightfvSGIX", + "glFragmentLightiSGIX", + "glFragmentLightivSGIX", + "glFragmentLightModelfSGIX", + "glFragmentLightModelfvSGIX", + "glFragmentLightModeliSGIX", + "glFragmentLightModelivSGIX", + "glFragmentMaterialfSGIX", + "glFragmentMaterialfvSGIX", + "glFragmentMaterialiSGIX", + "glFragmentMaterialivSGIX", + "glFramebufferDrawBufferEXT", + "glFramebufferDrawBuffersEXT", + "glFramebufferParameteri", + "glFramebufferReadBufferEXT", + "glFramebufferRenderbuffer", + "glFramebufferRenderbufferEXT", + "glFramebufferTexture", + "glFramebufferTexture1D", + "glFramebufferTexture1DEXT", + "glFramebufferTexture2D", + "glFramebufferTexture2DEXT", + "glFramebufferTexture3D", + "glFramebufferTexture3DEXT", + "glFramebufferTextureARB", + "glFramebufferTextureEXT", + "glFramebufferTextureFaceARB", + "glFramebufferTextureFaceEXT", + "glFramebufferTextureLayer", + "glFramebufferTextureLayerARB", + "glFramebufferTextureLayerEXT", + "glFrameTerminatorGREMEDY", + "glFrameZoomSGIX", + "glFreeObjectBufferATI", + "glFrontFace", + "glFrustum", + "glFrustumfOES", + "glFrustumxOES", + "glGenAsyncMarkersSGIX", + "glGenBuffers", + "glGenBuffersARB", + "glGenerateMipmap", + "glGenerateMipmapEXT", + "glGenerateMultiTexMipmapEXT", + "glGenerateTextureMipmapEXT", + "glGenFencesAPPLE", + "glGenFencesNV", + "glGenFragmentShadersATI", + "glGenFramebuffers", + "glGenFramebuffersEXT", + "glGenLists", + "glGenNamesAMD", + "glGenOcclusionQueriesNV", + "glGenPathsNV", + "glGenPerfMonitorsAMD", + "glGenProgramPipelines", + "glGenProgramPipelinesEXT", + "glGenProgramsARB", + "glGenProgramsNV", + "glGenQueries", + "glGenQueriesARB", + "glGenRenderbuffers", + "glGenRenderbuffersEXT", + "glGenSamplers", + "glGenSymbolsEXT", + "glGenTextures", + "glGenTexturesEXT", + "glGenTransformFeedbacks", + "glGenTransformFeedbacksNV", + "glGenVertexArrays", + "glGenVertexArraysAPPLE", + "glGenVertexShadersEXT", + "glGetActiveAtomicCounterBufferiv", + "glGetActiveAttrib", + "glGetActiveAttribARB", + "glGetActiveSubroutineName", + "glGetActiveSubroutineUniformiv", + "glGetActiveSubroutineUniformName", + "glGetActiveUniform", + "glGetActiveUniformARB", + "glGetActiveUniformBlockiv", + "glGetActiveUniformBlockName", + "glGetActiveUniformName", + "glGetActiveUniformsiv", + "glGetActiveVaryingNV", + "glGetArrayObjectfvATI", + "glGetArrayObjectivATI", + "glGetAttachedObjectsARB", + "glGetAttachedShaders", + "glGetAttribLocation", + "glGetAttribLocationARB", + "glGetBooleani_v", + "glGetBooleanIndexedvEXT", + "glGetBooleanv", + "glGetBufferParameteri64v", + "glGetBufferParameteriv", + "glGetBufferParameterivARB", + "glGetBufferParameterui64vNV", + "glGetBufferPointerv", + "glGetBufferPointervARB", + "glGetBufferSubData", + "glGetBufferSubDataARB", + "glGetClipPlane", + "glGetClipPlanefOES", + "glGetClipPlanexOES", + "glGetColorTable", + "glGetColorTableEXT", + "glGetColorTableParameterfv", + "glGetColorTableParameterfvEXT", + "glGetColorTableParameterfvSGI", + "glGetColorTableParameteriv", + "glGetColorTableParameterivEXT", + "glGetColorTableParameterivSGI", + "glGetColorTableSGI", + "glGetCombinerInputParameterfvNV", + "glGetCombinerInputParameterivNV", + "glGetCombinerOutputParameterfvNV", + "glGetCombinerOutputParameterivNV", + "glGetCombinerStageParameterfvNV", + "glGetCompressedMultiTexImageEXT", + "glGetCompressedTexImage", + "glGetCompressedTexImageARB", + "glGetCompressedTextureImageEXT", + "glGetConvolutionFilter", + "glGetConvolutionFilterEXT", + "glGetConvolutionParameterfv", + "glGetConvolutionParameterfvEXT", + "glGetConvolutionParameteriv", + "glGetConvolutionParameterivEXT", + "glGetConvolutionParameterxvOES", + "glGetDebugMessageLog", + "glGetDebugMessageLogAMD", + "glGetDebugMessageLogARB", + "glGetDebugMessageLogKHR", + "glGetDetailTexFuncSGIS", + "glGetDoublei_v", + "glGetDoublei_vEXT", + "glGetDoubleIndexedvEXT", + "glGetDoublev", + "glGetError", + "glGetFenceivNV", + "glGetFinalCombinerInputParameterfvNV", + "glGetFinalCombinerInputParameterivNV", + "glGetFixedvOES", + "glGetFloati_v", + "glGetFloati_vEXT", + "glGetFloatIndexedvEXT", + "glGetFloatv", + "glGetFogFuncSGIS", + "glGetFragDataIndex", + "glGetFragDataLocation", + "glGetFragDataLocationEXT", + "glGetFragmentLightfvSGIX", + "glGetFragmentLightivSGIX", + "glGetFragmentMaterialfvSGIX", + "glGetFragmentMaterialivSGIX", + "glGetFramebufferAttachmentParameteriv", + "glGetFramebufferAttachmentParameterivEXT", + "glGetFramebufferParameteriv", + "glGetFramebufferParameterivEXT", + "glGetGraphicsResetStatusARB", + "glGetHandleARB", + "glGetHistogram", + "glGetHistogramEXT", + "glGetHistogramParameterfv", + "glGetHistogramParameterfvEXT", + "glGetHistogramParameteriv", + "glGetHistogramParameterivEXT", + "glGetHistogramParameterxvOES", + "glGetImageHandleARB", + "glGetImageHandleNV", + "glGetImageTransformParameterfvHP", + "glGetImageTransformParameterivHP", + "glGetInfoLogARB", + "glGetInstrumentsSGIX", + "glGetInteger64i_v", + "glGetInteger64v", + "glGetIntegeri_v", + "glGetIntegerIndexedvEXT", + "glGetIntegerui64i_vNV", + "glGetIntegerui64vNV", + "glGetIntegerv", + "glGetInternalformati64v", + "glGetInternalformativ", + "glGetInvariantBooleanvEXT", + "glGetInvariantFloatvEXT", + "glGetInvariantIntegervEXT", + "glGetLightfv", + "glGetLightiv", + "glGetLightxOES", + "glGetLightxvOES", + "glGetListParameterfvSGIX", + "glGetListParameterivSGIX", + "glGetLocalConstantBooleanvEXT", + "glGetLocalConstantFloatvEXT", + "glGetLocalConstantIntegervEXT", + "glGetMapAttribParameterfvNV", + "glGetMapAttribParameterivNV", + "glGetMapControlPointsNV", + "glGetMapdv", + "glGetMapfv", + "glGetMapiv", + "glGetMapParameterfvNV", + "glGetMapParameterivNV", + "glGetMapxvOES", + "glGetMaterialfv", + "glGetMaterialiv", + "glGetMaterialxOES", + "glGetMaterialxvOES", + "glGetMinmax", + "glGetMinmaxEXT", + "glGetMinmaxParameterfv", + "glGetMinmaxParameterfvEXT", + "glGetMinmaxParameteriv", + "glGetMinmaxParameterivEXT", + "glGetMultisamplefv", + "glGetMultisamplefvNV", + "glGetMultiTexEnvfvEXT", + "glGetMultiTexEnvivEXT", + "glGetMultiTexGendvEXT", + "glGetMultiTexGenfvEXT", + "glGetMultiTexGenivEXT", + "glGetMultiTexImageEXT", + "glGetMultiTexLevelParameterfvEXT", + "glGetMultiTexLevelParameterivEXT", + "glGetMultiTexParameterfvEXT", + "glGetMultiTexParameterIivEXT", + "glGetMultiTexParameterIuivEXT", + "glGetMultiTexParameterivEXT", + "glGetNamedBufferParameterivEXT", + "glGetNamedBufferParameterui64vNV", + "glGetNamedBufferPointervEXT", + "glGetNamedBufferSubDataEXT", + "glGetNamedFramebufferAttachmentParameterivEXT", + "glGetNamedFramebufferParameterivEXT", + "glGetNamedProgramivEXT", + "glGetNamedProgramLocalParameterdvEXT", + "glGetNamedProgramLocalParameterfvEXT", + "glGetNamedProgramLocalParameterIivEXT", + "glGetNamedProgramLocalParameterIuivEXT", + "glGetNamedProgramStringEXT", + "glGetNamedRenderbufferParameterivEXT", + "glGetNamedStringARB", + "glGetNamedStringivARB", + "glGetnColorTableARB", + "glGetnCompressedTexImageARB", + "glGetnConvolutionFilterARB", + "glGetnHistogramARB", + "glGetnMapdvARB", + "glGetnMapfvARB", + "glGetnMapivARB", + "glGetnMinmaxARB", + "glGetnPixelMapfvARB", + "glGetnPixelMapuivARB", + "glGetnPixelMapusvARB", + "glGetnPolygonStippleARB", + "glGetnSeparableFilterARB", + "glGetnTexImageARB", + "glGetnUniformdvARB", + "glGetnUniformfvARB", + "glGetnUniformivARB", + "glGetnUniformuivARB", + "glGetObjectBufferfvATI", + "glGetObjectBufferivATI", + "glGetObjectLabel", + "glGetObjectLabelEXT", + "glGetObjectLabelKHR", + "glGetObjectParameterfvARB", + "glGetObjectParameterivAPPLE", + "glGetObjectParameterivARB", + "glGetObjectPtrLabel", + "glGetObjectPtrLabelKHR", + "glGetOcclusionQueryivNV", + "glGetOcclusionQueryuivNV", + "glGetPathColorGenfvNV", + "glGetPathColorGenivNV", + "glGetPathCommandsNV", + "glGetPathCoordsNV", + "glGetPathDashArrayNV", + "glGetPathLengthNV", + "glGetPathMetricRangeNV", + "glGetPathMetricsNV", + "glGetPathParameterfvNV", + "glGetPathParameterivNV", + "glGetPathSpacingNV", + "glGetPathTexGenfvNV", + "glGetPathTexGenivNV", + "glGetPerfMonitorCounterDataAMD", + "glGetPerfMonitorCounterInfoAMD", + "glGetPerfMonitorCountersAMD", + "glGetPerfMonitorCounterStringAMD", + "glGetPerfMonitorGroupsAMD", + "glGetPerfMonitorGroupStringAMD", + "glGetPixelMapfv", + "glGetPixelMapuiv", + "glGetPixelMapusv", + "glGetPixelMapxv", + "glGetPixelTexGenParameterfvSGIS", + "glGetPixelTexGenParameterivSGIS", + "glGetPixelTransformParameterfvEXT", + "glGetPixelTransformParameterivEXT", + "glGetPointeri_vEXT", + "glGetPointerIndexedvEXT", + "glGetPointerv", + "glGetPointervEXT", + "glGetPointervKHR", + "glGetPolygonStipple", + "glGetProgramBinary", + "glGetProgramEnvParameterdvARB", + "glGetProgramEnvParameterfvARB", + "glGetProgramEnvParameterIivNV", + "glGetProgramEnvParameterIuivNV", + "glGetProgramInfoLog", + "glGetProgramInterfaceiv", + "glGetProgramiv", + "glGetProgramivARB", + "glGetProgramivNV", + "glGetProgramLocalParameterdvARB", + "glGetProgramLocalParameterfvARB", + "glGetProgramLocalParameterIivNV", + "glGetProgramLocalParameterIuivNV", + "glGetProgramNamedParameterdvNV", + "glGetProgramNamedParameterfvNV", + "glGetProgramParameterdvNV", + "glGetProgramParameterfvNV", + "glGetProgramPipelineInfoLog", + "glGetProgramPipelineInfoLogEXT", + "glGetProgramPipelineiv", + "glGetProgramPipelineivEXT", + "glGetProgramResourceIndex", + "glGetProgramResourceiv", + "glGetProgramResourceLocation", + "glGetProgramResourceLocationIndex", + "glGetProgramResourceName", + "glGetProgramStageiv", + "glGetProgramStringARB", + "glGetProgramStringNV", + "glGetProgramSubroutineParameteruivNV", + "glGetQueryIndexediv", + "glGetQueryiv", + "glGetQueryivARB", + "glGetQueryObjecti64v", + "glGetQueryObjecti64vEXT", + "glGetQueryObjectiv", + "glGetQueryObjectivARB", + "glGetQueryObjectui64v", + "glGetQueryObjectui64vEXT", + "glGetQueryObjectuiv", + "glGetQueryObjectuivARB", + "glGetRenderbufferParameteriv", + "glGetRenderbufferParameterivEXT", + "glGetSamplerParameterfv", + "glGetSamplerParameterIiv", + "glGetSamplerParameterIuiv", + "glGetSamplerParameteriv", + "glGetSeparableFilter", + "glGetSeparableFilterEXT", + "glGetShaderInfoLog", + "glGetShaderiv", + "glGetShaderPrecisionFormat", + "glGetShaderSource", + "glGetShaderSourceARB", + "glGetSharpenTexFuncSGIS", + "glGetString", + "glGetStringi", + "glGetSubroutineIndex", + "glGetSubroutineUniformLocation", + "glGetSynciv", + "glGetTexBumpParameterfvATI", + "glGetTexBumpParameterivATI", + "glGetTexEnvfv", + "glGetTexEnviv", + "glGetTexEnvxvOES", + "glGetTexFilterFuncSGIS", + "glGetTexGendv", + "glGetTexGenfv", + "glGetTexGeniv", + "glGetTexGenxvOES", + "glGetTexImage", + "glGetTexLevelParameterfv", + "glGetTexLevelParameteriv", + "glGetTexLevelParameterxvOES", + "glGetTexParameterfv", + "glGetTexParameterIiv", + "glGetTexParameterIivEXT", + "glGetTexParameterIuiv", + "glGetTexParameterIuivEXT", + "glGetTexParameteriv", + "glGetTexParameterPointervAPPLE", + "glGetTexParameterxvOES", + "glGetTextureHandleARB", + "glGetTextureHandleNV", + "glGetTextureImageEXT", + "glGetTextureLevelParameterfvEXT", + "glGetTextureLevelParameterivEXT", + "glGetTextureParameterfvEXT", + "glGetTextureParameterIivEXT", + "glGetTextureParameterIuivEXT", + "glGetTextureParameterivEXT", + "glGetTextureSamplerHandleARB", + "glGetTextureSamplerHandleNV", + "glGetTrackMatrixivNV", + "glGetTransformFeedbackVarying", + "glGetTransformFeedbackVaryingEXT", + "glGetTransformFeedbackVaryingNV", + "glGetUniformBlockIndex", + "glGetUniformBufferSizeEXT", + "glGetUniformdv", + "glGetUniformfv", + "glGetUniformfvARB", + "glGetUniformi64vNV", + "glGetUniformIndices", + "glGetUniformiv", + "glGetUniformivARB", + "glGetUniformLocation", + "glGetUniformLocationARB", + "glGetUniformOffsetEXT", + "glGetUniformSubroutineuiv", + "glGetUniformui64vNV", + "glGetUniformuiv", + "glGetUniformuivEXT", + "glGetVariantArrayObjectfvATI", + "glGetVariantArrayObjectivATI", + "glGetVariantBooleanvEXT", + "glGetVariantFloatvEXT", + "glGetVariantIntegervEXT", + "glGetVariantPointervEXT", + "glGetVaryingLocationNV", + "glGetVertexArrayIntegeri_vEXT", + "glGetVertexArrayIntegervEXT", + "glGetVertexArrayPointeri_vEXT", + "glGetVertexArrayPointervEXT", + "glGetVertexAttribArrayObjectfvATI", + "glGetVertexAttribArrayObjectivATI", + "glGetVertexAttribdv", + "glGetVertexAttribdvARB", + "glGetVertexAttribdvNV", + "glGetVertexAttribfv", + "glGetVertexAttribfvARB", + "glGetVertexAttribfvNV", + "glGetVertexAttribIiv", + "glGetVertexAttribIivEXT", + "glGetVertexAttribIuiv", + "glGetVertexAttribIuivEXT", + "glGetVertexAttribiv", + "glGetVertexAttribivARB", + "glGetVertexAttribivNV", + "glGetVertexAttribLdv", + "glGetVertexAttribLdvEXT", + "glGetVertexAttribLi64vNV", + "glGetVertexAttribLui64vARB", + "glGetVertexAttribLui64vNV", + "glGetVertexAttribPointerv", + "glGetVertexAttribPointervARB", + "glGetVertexAttribPointervNV", + "glGetVideoCaptureivNV", + "glGetVideoCaptureStreamdvNV", + "glGetVideoCaptureStreamfvNV", + "glGetVideoCaptureStreamivNV", + "glGetVideoi64vNV", + "glGetVideoivNV", + "glGetVideoui64vNV", + "glGetVideouivNV", + "glGlobalAlphaFactorbSUN", + "glGlobalAlphaFactordSUN", + "glGlobalAlphaFactorfSUN", + "glGlobalAlphaFactoriSUN", + "glGlobalAlphaFactorsSUN", + "glGlobalAlphaFactorubSUN", + "glGlobalAlphaFactoruiSUN", + "glGlobalAlphaFactorusSUN", + "glHint", + "glHintPGI", + "glHistogram", + "glHistogramEXT", + "glIglooInterfaceSGIX", + "glImageTransformParameterfHP", + "glImageTransformParameterfvHP", + "glImageTransformParameteriHP", + "glImageTransformParameterivHP", + "glImportSyncEXT", + "glIndexd", + "glIndexdv", + "glIndexf", + "glIndexFormatNV", + "glIndexFuncEXT", + "glIndexfv", + "glIndexi", + "glIndexiv", + "glIndexMask", + "glIndexMaterialEXT", + "glIndexPointer", + "glIndexPointerEXT", + "glIndexPointerListIBM", + "glIndexs", + "glIndexsv", + "glIndexub", + "glIndexubv", + "glIndexxOES", + "glIndexxvOES", + "glInitNames", + "glInsertComponentEXT", + "glInsertEventMarkerEXT", + "glInstrumentsBufferSGIX", + "glInterleavedArrays", + "glInterpolatePathsNV", + "glInvalidateBufferData", + "glInvalidateBufferSubData", + "glInvalidateFramebuffer", + "glInvalidateSubFramebuffer", + "glInvalidateTexImage", + "glInvalidateTexSubImage", + "glIsAsyncMarkerSGIX", + "glIsBuffer", + "glIsBufferARB", + "glIsBufferResidentNV", + "glIsEnabled", + "glIsEnabledi", + "glIsEnabledIndexedEXT", + "glIsFenceAPPLE", + "glIsFenceNV", + "glIsFramebuffer", + "glIsFramebufferEXT", + "glIsImageHandleResidentARB", + "glIsImageHandleResidentNV", + "glIsList", + "glIsNameAMD", + "glIsNamedBufferResidentNV", + "glIsNamedStringARB", + "glIsObjectBufferATI", + "glIsOcclusionQueryNV", + "glIsPathNV", + "glIsPointInFillPathNV", + "glIsPointInStrokePathNV", + "glIsProgram", + "glIsProgramARB", + "glIsProgramNV", + "glIsProgramPipeline", + "glIsProgramPipelineEXT", + "glIsQuery", + "glIsQueryARB", + "glIsRenderbuffer", + "glIsRenderbufferEXT", + "glIsSampler", + "glIsShader", + "glIsSync", + "glIsTexture", + "glIsTextureEXT", + "glIsTextureHandleResidentARB", + "glIsTextureHandleResidentNV", + "glIsTransformFeedback", + "glIsTransformFeedbackNV", + "glIsVariantEnabledEXT", + "glIsVertexArray", + "glIsVertexArrayAPPLE", + "glIsVertexAttribEnabledAPPLE", + "glLabelObjectEXT", + "glLightEnviSGIX", + "glLightf", + "glLightfv", + "glLighti", + "glLightiv", + "glLightModelf", + "glLightModelfv", + "glLightModeli", + "glLightModeliv", + "glLightModelxOES", + "glLightModelxvOES", + "glLightxOES", + "glLightxvOES", + "glLineStipple", + "glLineWidth", + "glLineWidthxOES", + "glLinkProgram", + "glLinkProgramARB", + "glListBase", + "glListParameterfSGIX", + "glListParameterfvSGIX", + "glListParameteriSGIX", + "glListParameterivSGIX", + "glLoadIdentity", + "glLoadIdentityDeformationMapSGIX", + "glLoadMatrixd", + "glLoadMatrixf", + "glLoadMatrixxOES", + "glLoadName", + "glLoadProgramNV", + "glLoadTransposeMatrixd", + "glLoadTransposeMatrixdARB", + "glLoadTransposeMatrixf", + "glLoadTransposeMatrixfARB", + "glLoadTransposeMatrixxOES", + "glLockArraysEXT", + "glLogicOp", + "glMakeBufferNonResidentNV", + "glMakeBufferResidentNV", + "glMakeImageHandleNonResidentARB", + "glMakeImageHandleNonResidentNV", + "glMakeImageHandleResidentARB", + "glMakeImageHandleResidentNV", + "glMakeNamedBufferNonResidentNV", + "glMakeNamedBufferResidentNV", + "glMakeTextureHandleNonResidentARB", + "glMakeTextureHandleNonResidentNV", + "glMakeTextureHandleResidentARB", + "glMakeTextureHandleResidentNV", + "glMap1d", + "glMap1f", + "glMap1xOES", + "glMap2d", + "glMap2f", + "glMap2xOES", + "glMapBuffer", + "glMapBufferARB", + "glMapBufferRange", + "glMapControlPointsNV", + "glMapGrid1d", + "glMapGrid1f", + "glMapGrid1xOES", + "glMapGrid2d", + "glMapGrid2f", + "glMapGrid2xOES", + "glMapNamedBufferEXT", + "glMapNamedBufferRangeEXT", + "glMapObjectBufferATI", + "glMapParameterfvNV", + "glMapParameterivNV", + "glMapTexture2DINTEL", + "glMapVertexAttrib1dAPPLE", + "glMapVertexAttrib1fAPPLE", + "glMapVertexAttrib2dAPPLE", + "glMapVertexAttrib2fAPPLE", + "glMaterialf", + "glMaterialfv", + "glMateriali", + "glMaterialiv", + "glMaterialxOES", + "glMaterialxvOES", + "glMatrixFrustumEXT", + "glMatrixIndexPointerARB", + "glMatrixIndexubvARB", + "glMatrixIndexuivARB", + "glMatrixIndexusvARB", + "glMatrixLoaddEXT", + "glMatrixLoadfEXT", + "glMatrixLoadIdentityEXT", + "glMatrixLoadTransposedEXT", + "glMatrixLoadTransposefEXT", + "glMatrixMode", + "glMatrixMultdEXT", + "glMatrixMultfEXT", + "glMatrixMultTransposedEXT", + "glMatrixMultTransposefEXT", + "glMatrixOrthoEXT", + "glMatrixPopEXT", + "glMatrixPushEXT", + "glMatrixRotatedEXT", + "glMatrixRotatefEXT", + "glMatrixScaledEXT", + "glMatrixScalefEXT", + "glMatrixTranslatedEXT", + "glMatrixTranslatefEXT", + "glMemoryBarrier", + "glMemoryBarrierEXT", + "glMinmax", + "glMinmaxEXT", + "glMinSampleShading", + "glMinSampleShadingARB", + "glMultiDrawArrays", + "glMultiDrawArraysEXT", + "glMultiDrawArraysIndirect", + "glMultiDrawArraysIndirectAMD", + "glMultiDrawArraysIndirectBindlessNV", + "glMultiDrawArraysIndirectCountARB", + "glMultiDrawElementArrayAPPLE", + "glMultiDrawElements", + "glMultiDrawElementsBaseVertex", + "glMultiDrawElementsEXT", + "glMultiDrawElementsIndirect", + "glMultiDrawElementsIndirectAMD", + "glMultiDrawElementsIndirectBindlessNV", + "glMultiDrawElementsIndirectCountARB", + "glMultiDrawRangeElementArrayAPPLE", + "glMultiModeDrawArraysIBM", + "glMultiModeDrawElementsIBM", + "glMultiTexBufferEXT", + "glMultiTexCoord1bOES", + "glMultiTexCoord1bvOES", + "glMultiTexCoord1d", + "glMultiTexCoord1dARB", + "glMultiTexCoord1dv", + "glMultiTexCoord1dvARB", + "glMultiTexCoord1f", + "glMultiTexCoord1fARB", + "glMultiTexCoord1fv", + "glMultiTexCoord1fvARB", + "glMultiTexCoord1hNV", + "glMultiTexCoord1hvNV", + "glMultiTexCoord1i", + "glMultiTexCoord1iARB", + "glMultiTexCoord1iv", + "glMultiTexCoord1ivARB", + "glMultiTexCoord1s", + "glMultiTexCoord1sARB", + "glMultiTexCoord1sv", + "glMultiTexCoord1svARB", + "glMultiTexCoord1xOES", + "glMultiTexCoord1xvOES", + "glMultiTexCoord2bOES", + "glMultiTexCoord2bvOES", + "glMultiTexCoord2d", + "glMultiTexCoord2dARB", + "glMultiTexCoord2dv", + "glMultiTexCoord2dvARB", + "glMultiTexCoord2f", + "glMultiTexCoord2fARB", + "glMultiTexCoord2fv", + "glMultiTexCoord2fvARB", + "glMultiTexCoord2hNV", + "glMultiTexCoord2hvNV", + "glMultiTexCoord2i", + "glMultiTexCoord2iARB", + "glMultiTexCoord2iv", + "glMultiTexCoord2ivARB", + "glMultiTexCoord2s", + "glMultiTexCoord2sARB", + "glMultiTexCoord2sv", + "glMultiTexCoord2svARB", + "glMultiTexCoord2xOES", + "glMultiTexCoord2xvOES", + "glMultiTexCoord3bOES", + "glMultiTexCoord3bvOES", + "glMultiTexCoord3d", + "glMultiTexCoord3dARB", + "glMultiTexCoord3dv", + "glMultiTexCoord3dvARB", + "glMultiTexCoord3f", + "glMultiTexCoord3fARB", + "glMultiTexCoord3fv", + "glMultiTexCoord3fvARB", + "glMultiTexCoord3hNV", + "glMultiTexCoord3hvNV", + "glMultiTexCoord3i", + "glMultiTexCoord3iARB", + "glMultiTexCoord3iv", + "glMultiTexCoord3ivARB", + "glMultiTexCoord3s", + "glMultiTexCoord3sARB", + "glMultiTexCoord3sv", + "glMultiTexCoord3svARB", + "glMultiTexCoord3xOES", + "glMultiTexCoord3xvOES", + "glMultiTexCoord4bOES", + "glMultiTexCoord4bvOES", + "glMultiTexCoord4d", + "glMultiTexCoord4dARB", + "glMultiTexCoord4dv", + "glMultiTexCoord4dvARB", + "glMultiTexCoord4f", + "glMultiTexCoord4fARB", + "glMultiTexCoord4fv", + "glMultiTexCoord4fvARB", + "glMultiTexCoord4hNV", + "glMultiTexCoord4hvNV", + "glMultiTexCoord4i", + "glMultiTexCoord4iARB", + "glMultiTexCoord4iv", + "glMultiTexCoord4ivARB", + "glMultiTexCoord4s", + "glMultiTexCoord4sARB", + "glMultiTexCoord4sv", + "glMultiTexCoord4svARB", + "glMultiTexCoord4xOES", + "glMultiTexCoord4xvOES", + "glMultiTexCoordP1ui", + "glMultiTexCoordP1uiv", + "glMultiTexCoordP2ui", + "glMultiTexCoordP2uiv", + "glMultiTexCoordP3ui", + "glMultiTexCoordP3uiv", + "glMultiTexCoordP4ui", + "glMultiTexCoordP4uiv", + "glMultiTexCoordPointerEXT", + "glMultiTexEnvfEXT", + "glMultiTexEnvfvEXT", + "glMultiTexEnviEXT", + "glMultiTexEnvivEXT", + "glMultiTexGendEXT", + "glMultiTexGendvEXT", + "glMultiTexGenfEXT", + "glMultiTexGenfvEXT", + "glMultiTexGeniEXT", + "glMultiTexGenivEXT", + "glMultiTexImage1DEXT", + "glMultiTexImage2DEXT", + "glMultiTexImage3DEXT", + "glMultiTexParameterfEXT", + "glMultiTexParameterfvEXT", + "glMultiTexParameteriEXT", + "glMultiTexParameterIivEXT", + "glMultiTexParameterIuivEXT", + "glMultiTexParameterivEXT", + "glMultiTexRenderbufferEXT", + "glMultiTexSubImage1DEXT", + "glMultiTexSubImage2DEXT", + "glMultiTexSubImage3DEXT", + "glMultMatrixd", + "glMultMatrixf", + "glMultMatrixxOES", + "glMultTransposeMatrixd", + "glMultTransposeMatrixdARB", + "glMultTransposeMatrixf", + "glMultTransposeMatrixfARB", + "glMultTransposeMatrixxOES", + "glNamedBufferDataEXT", + "glNamedBufferStorageEXT", + "glNamedBufferSubDataEXT", + "glNamedCopyBufferSubDataEXT", + "glNamedFramebufferParameteriEXT", + "glNamedFramebufferRenderbufferEXT", + "glNamedFramebufferTexture1DEXT", + "glNamedFramebufferTexture2DEXT", + "glNamedFramebufferTexture3DEXT", + "glNamedFramebufferTextureEXT", + "glNamedFramebufferTextureFaceEXT", + "glNamedFramebufferTextureLayerEXT", + "glNamedProgramLocalParameter4dEXT", + "glNamedProgramLocalParameter4dvEXT", + "glNamedProgramLocalParameter4fEXT", + "glNamedProgramLocalParameter4fvEXT", + "glNamedProgramLocalParameterI4iEXT", + "glNamedProgramLocalParameterI4ivEXT", + "glNamedProgramLocalParameterI4uiEXT", + "glNamedProgramLocalParameterI4uivEXT", + "glNamedProgramLocalParameters4fvEXT", + "glNamedProgramLocalParametersI4ivEXT", + "glNamedProgramLocalParametersI4uivEXT", + "glNamedProgramStringEXT", + "glNamedRenderbufferStorageEXT", + "glNamedRenderbufferStorageMultisampleCoverageEXT", + "glNamedRenderbufferStorageMultisampleEXT", + "glNamedStringARB", + "glNewList", + "glNewObjectBufferATI", + "glNormal3b", + "glNormal3bv", + "glNormal3d", + "glNormal3dv", + "glNormal3f", + "glNormal3fv", + "glNormal3fVertex3fSUN", + "glNormal3fVertex3fvSUN", + "glNormal3hNV", + "glNormal3hvNV", + "glNormal3i", + "glNormal3iv", + "glNormal3s", + "glNormal3sv", + "glNormal3xOES", + "glNormal3xvOES", + "glNormalFormatNV", + "glNormalP3ui", + "glNormalP3uiv", + "glNormalPointer", + "glNormalPointerEXT", + "glNormalPointerListIBM", + "glNormalPointervINTEL", + "glNormalStream3bATI", + "glNormalStream3bvATI", + "glNormalStream3dATI", + "glNormalStream3dvATI", + "glNormalStream3fATI", + "glNormalStream3fvATI", + "glNormalStream3iATI", + "glNormalStream3ivATI", + "glNormalStream3sATI", + "glNormalStream3svATI", + "glObjectLabel", + "glObjectLabelKHR", + "glObjectPtrLabel", + "glObjectPtrLabelKHR", + "glObjectPurgeableAPPLE", + "glObjectUnpurgeableAPPLE", + "glOrtho", + "glOrthofOES", + "glOrthoxOES", + "glPassTexCoordATI", + "glPassThrough", + "glPassThroughxOES", + "glPatchParameterfv", + "glPatchParameteri", + "glPathColorGenNV", + "glPathCommandsNV", + "glPathCoordsNV", + "glPathCoverDepthFuncNV", + "glPathDashArrayNV", + "glPathFogGenNV", + "glPathGlyphRangeNV", + "glPathGlyphsNV", + "glPathParameterfNV", + "glPathParameterfvNV", + "glPathParameteriNV", + "glPathParameterivNV", + "glPathStencilDepthOffsetNV", + "glPathStencilFuncNV", + "glPathStringNV", + "glPathSubCommandsNV", + "glPathSubCoordsNV", + "glPathTexGenNV", + "glPauseTransformFeedback", + "glPauseTransformFeedbackNV", + "glPixelDataRangeNV", + "glPixelMapfv", + "glPixelMapuiv", + "glPixelMapusv", + "glPixelMapx", + "glPixelStoref", + "glPixelStorei", + "glPixelStorex", + "glPixelTexGenParameterfSGIS", + "glPixelTexGenParameterfvSGIS", + "glPixelTexGenParameteriSGIS", + "glPixelTexGenParameterivSGIS", + "glPixelTexGenSGIX", + "glPixelTransferf", + "glPixelTransferi", + "glPixelTransferxOES", + "glPixelTransformParameterfEXT", + "glPixelTransformParameterfvEXT", + "glPixelTransformParameteriEXT", + "glPixelTransformParameterivEXT", + "glPixelZoom", + "glPixelZoomxOES", + "glPNTrianglesfATI", + "glPNTrianglesiATI", + "glPointAlongPathNV", + "glPointParameterf", + "glPointParameterfARB", + "glPointParameterfEXT", + "glPointParameterfSGIS", + "glPointParameterfv", + "glPointParameterfvARB", + "glPointParameterfvEXT", + "glPointParameterfvSGIS", + "glPointParameteri", + "glPointParameteriNV", + "glPointParameteriv", + "glPointParameterivNV", + "glPointParameterxOES", + "glPointParameterxvOES", + "glPointSize", + "glPointSizexOES", + "glPollAsyncSGIX", + "glPollInstrumentsSGIX", + "glPolygonMode", + "glPolygonOffset", + "glPolygonOffsetEXT", + "glPolygonOffsetxOES", + "glPolygonStipple", + "glPopAttrib", + "glPopClientAttrib", + "glPopDebugGroup", + "glPopDebugGroupKHR", + "glPopGroupMarkerEXT", + "glPopMatrix", + "glPopName", + "glPresentFrameDualFillNV", + "glPresentFrameKeyedNV", + "glPrimitiveRestartIndex", + "glPrimitiveRestartIndexNV", + "glPrimitiveRestartNV", + "glPrioritizeTextures", + "glPrioritizeTexturesEXT", + "glPrioritizeTexturesxOES", + "glProgramBinary", + "glProgramBufferParametersfvNV", + "glProgramBufferParametersIivNV", + "glProgramBufferParametersIuivNV", + "glProgramEnvParameter4dARB", + "glProgramEnvParameter4dvARB", + "glProgramEnvParameter4fARB", + "glProgramEnvParameter4fvARB", + "glProgramEnvParameterI4iNV", + "glProgramEnvParameterI4ivNV", + "glProgramEnvParameterI4uiNV", + "glProgramEnvParameterI4uivNV", + "glProgramEnvParameters4fvEXT", + "glProgramEnvParametersI4ivNV", + "glProgramEnvParametersI4uivNV", + "glProgramLocalParameter4dARB", + "glProgramLocalParameter4dvARB", + "glProgramLocalParameter4fARB", + "glProgramLocalParameter4fvARB", + "glProgramLocalParameterI4iNV", + "glProgramLocalParameterI4ivNV", + "glProgramLocalParameterI4uiNV", + "glProgramLocalParameterI4uivNV", + "glProgramLocalParameters4fvEXT", + "glProgramLocalParametersI4ivNV", + "glProgramLocalParametersI4uivNV", + "glProgramNamedParameter4dNV", + "glProgramNamedParameter4dvNV", + "glProgramNamedParameter4fNV", + "glProgramNamedParameter4fvNV", + "glProgramParameter4dNV", + "glProgramParameter4dvNV", + "glProgramParameter4fNV", + "glProgramParameter4fvNV", + "glProgramParameteri", + "glProgramParameteriARB", + "glProgramParameteriEXT", + "glProgramParameters4dvNV", + "glProgramParameters4fvNV", + "glProgramStringARB", + "glProgramSubroutineParametersuivNV", + "glProgramUniform1d", + "glProgramUniform1dEXT", + "glProgramUniform1dv", + "glProgramUniform1dvEXT", + "glProgramUniform1f", + "glProgramUniform1fEXT", + "glProgramUniform1fv", + "glProgramUniform1fvEXT", + "glProgramUniform1i", + "glProgramUniform1i64NV", + "glProgramUniform1i64vNV", + "glProgramUniform1iEXT", + "glProgramUniform1iv", + "glProgramUniform1ivEXT", + "glProgramUniform1ui", + "glProgramUniform1ui64NV", + "glProgramUniform1ui64vNV", + "glProgramUniform1uiEXT", + "glProgramUniform1uiv", + "glProgramUniform1uivEXT", + "glProgramUniform2d", + "glProgramUniform2dEXT", + "glProgramUniform2dv", + "glProgramUniform2dvEXT", + "glProgramUniform2f", + "glProgramUniform2fEXT", + "glProgramUniform2fv", + "glProgramUniform2fvEXT", + "glProgramUniform2i", + "glProgramUniform2i64NV", + "glProgramUniform2i64vNV", + "glProgramUniform2iEXT", + "glProgramUniform2iv", + "glProgramUniform2ivEXT", + "glProgramUniform2ui", + "glProgramUniform2ui64NV", + "glProgramUniform2ui64vNV", + "glProgramUniform2uiEXT", + "glProgramUniform2uiv", + "glProgramUniform2uivEXT", + "glProgramUniform3d", + "glProgramUniform3dEXT", + "glProgramUniform3dv", + "glProgramUniform3dvEXT", + "glProgramUniform3f", + "glProgramUniform3fEXT", + "glProgramUniform3fv", + "glProgramUniform3fvEXT", + "glProgramUniform3i", + "glProgramUniform3i64NV", + "glProgramUniform3i64vNV", + "glProgramUniform3iEXT", + "glProgramUniform3iv", + "glProgramUniform3ivEXT", + "glProgramUniform3ui", + "glProgramUniform3ui64NV", + "glProgramUniform3ui64vNV", + "glProgramUniform3uiEXT", + "glProgramUniform3uiv", + "glProgramUniform3uivEXT", + "glProgramUniform4d", + "glProgramUniform4dEXT", + "glProgramUniform4dv", + "glProgramUniform4dvEXT", + "glProgramUniform4f", + "glProgramUniform4fEXT", + "glProgramUniform4fv", + "glProgramUniform4fvEXT", + "glProgramUniform4i", + "glProgramUniform4i64NV", + "glProgramUniform4i64vNV", + "glProgramUniform4iEXT", + "glProgramUniform4iv", + "glProgramUniform4ivEXT", + "glProgramUniform4ui", + "glProgramUniform4ui64NV", + "glProgramUniform4ui64vNV", + "glProgramUniform4uiEXT", + "glProgramUniform4uiv", + "glProgramUniform4uivEXT", + "glProgramUniformHandleui64ARB", + "glProgramUniformHandleui64NV", + "glProgramUniformHandleui64vARB", + "glProgramUniformHandleui64vNV", + "glProgramUniformMatrix2dv", + "glProgramUniformMatrix2dvEXT", + "glProgramUniformMatrix2fv", + "glProgramUniformMatrix2fvEXT", + "glProgramUniformMatrix2x3dv", + "glProgramUniformMatrix2x3dvEXT", + "glProgramUniformMatrix2x3fv", + "glProgramUniformMatrix2x3fvEXT", + "glProgramUniformMatrix2x4dv", + "glProgramUniformMatrix2x4dvEXT", + "glProgramUniformMatrix2x4fv", + "glProgramUniformMatrix2x4fvEXT", + "glProgramUniformMatrix3dv", + "glProgramUniformMatrix3dvEXT", + "glProgramUniformMatrix3fv", + "glProgramUniformMatrix3fvEXT", + "glProgramUniformMatrix3x2dv", + "glProgramUniformMatrix3x2dvEXT", + "glProgramUniformMatrix3x2fv", + "glProgramUniformMatrix3x2fvEXT", + "glProgramUniformMatrix3x4dv", + "glProgramUniformMatrix3x4dvEXT", + "glProgramUniformMatrix3x4fv", + "glProgramUniformMatrix3x4fvEXT", + "glProgramUniformMatrix4dv", + "glProgramUniformMatrix4dvEXT", + "glProgramUniformMatrix4fv", + "glProgramUniformMatrix4fvEXT", + "glProgramUniformMatrix4x2dv", + "glProgramUniformMatrix4x2dvEXT", + "glProgramUniformMatrix4x2fv", + "glProgramUniformMatrix4x2fvEXT", + "glProgramUniformMatrix4x3dv", + "glProgramUniformMatrix4x3dvEXT", + "glProgramUniformMatrix4x3fv", + "glProgramUniformMatrix4x3fvEXT", + "glProgramUniformui64NV", + "glProgramUniformui64vNV", + "glProgramVertexLimitNV", + "glProvokingVertex", + "glProvokingVertexEXT", + "glPushAttrib", + "glPushClientAttrib", + "glPushClientAttribDefaultEXT", + "glPushDebugGroup", + "glPushDebugGroupKHR", + "glPushGroupMarkerEXT", + "glPushMatrix", + "glPushName", + "glQueryCounter", + "glQueryMatrixxOES", + "glQueryObjectParameteruiAMD", + "glRasterPos2d", + "glRasterPos2dv", + "glRasterPos2f", + "glRasterPos2fv", + "glRasterPos2i", + "glRasterPos2iv", + "glRasterPos2s", + "glRasterPos2sv", + "glRasterPos2xOES", + "glRasterPos2xvOES", + "glRasterPos3d", + "glRasterPos3dv", + "glRasterPos3f", + "glRasterPos3fv", + "glRasterPos3i", + "glRasterPos3iv", + "glRasterPos3s", + "glRasterPos3sv", + "glRasterPos3xOES", + "glRasterPos3xvOES", + "glRasterPos4d", + "glRasterPos4dv", + "glRasterPos4f", + "glRasterPos4fv", + "glRasterPos4i", + "glRasterPos4iv", + "glRasterPos4s", + "glRasterPos4sv", + "glRasterPos4xOES", + "glRasterPos4xvOES", + "glReadBuffer", + "glReadInstrumentsSGIX", + "glReadnPixelsARB", + "glReadPixels", + "glRectd", + "glRectdv", + "glRectf", + "glRectfv", + "glRecti", + "glRectiv", + "glRects", + "glRectsv", + "glRectxOES", + "glRectxvOES", + "glReferencePlaneSGIX", + "glReleaseShaderCompiler", + "glRenderbufferStorage", + "glRenderbufferStorageEXT", + "glRenderbufferStorageMultisample", + "glRenderbufferStorageMultisampleCoverageNV", + "glRenderbufferStorageMultisampleEXT", + "glRenderMode", + "glReplacementCodePointerSUN", + "glReplacementCodeubSUN", + "glReplacementCodeubvSUN", + "glReplacementCodeuiColor3fVertex3fSUN", + "glReplacementCodeuiColor3fVertex3fvSUN", + "glReplacementCodeuiColor4fNormal3fVertex3fSUN", + "glReplacementCodeuiColor4fNormal3fVertex3fvSUN", + "glReplacementCodeuiColor4ubVertex3fSUN", + "glReplacementCodeuiColor4ubVertex3fvSUN", + "glReplacementCodeuiNormal3fVertex3fSUN", + "glReplacementCodeuiNormal3fVertex3fvSUN", + "glReplacementCodeuiSUN", + "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN", + "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN", + "glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN", + "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN", + "glReplacementCodeuiTexCoord2fVertex3fSUN", + "glReplacementCodeuiTexCoord2fVertex3fvSUN", + "glReplacementCodeuiVertex3fSUN", + "glReplacementCodeuiVertex3fvSUN", + "glReplacementCodeuivSUN", + "glReplacementCodeusSUN", + "glReplacementCodeusvSUN", + "glRequestResidentProgramsNV", + "glResetHistogram", + "glResetHistogramEXT", + "glResetMinmax", + "glResetMinmaxEXT", + "glResizeBuffersMESA", + "glResumeTransformFeedback", + "glResumeTransformFeedbackNV", + "glRotated", + "glRotatef", + "glRotatexOES", + "glSampleCoverage", + "glSampleCoverageARB", + "glSampleCoverageOES", + "glSampleCoveragexOES", + "glSampleMapATI", + "glSampleMaskEXT", + "glSampleMaski", + "glSampleMaskIndexedNV", + "glSampleMaskSGIS", + "glSamplePatternEXT", + "glSamplePatternSGIS", + "glSamplerParameterf", + "glSamplerParameterfv", + "glSamplerParameteri", + "glSamplerParameterIiv", + "glSamplerParameterIuiv", + "glSamplerParameteriv", + "glScaled", + "glScalef", + "glScalexOES", + "glScissor", + "glScissorArrayv", + "glScissorIndexed", + "glScissorIndexedv", + "glSecondaryColor3b", + "glSecondaryColor3bEXT", + "glSecondaryColor3bv", + "glSecondaryColor3bvEXT", + "glSecondaryColor3d", + "glSecondaryColor3dEXT", + "glSecondaryColor3dv", + "glSecondaryColor3dvEXT", + "glSecondaryColor3f", + "glSecondaryColor3fEXT", + "glSecondaryColor3fv", + "glSecondaryColor3fvEXT", + "glSecondaryColor3hNV", + "glSecondaryColor3hvNV", + "glSecondaryColor3i", + "glSecondaryColor3iEXT", + "glSecondaryColor3iv", + "glSecondaryColor3ivEXT", + "glSecondaryColor3s", + "glSecondaryColor3sEXT", + "glSecondaryColor3sv", + "glSecondaryColor3svEXT", + "glSecondaryColor3ub", + "glSecondaryColor3ubEXT", + "glSecondaryColor3ubv", + "glSecondaryColor3ubvEXT", + "glSecondaryColor3ui", + "glSecondaryColor3uiEXT", + "glSecondaryColor3uiv", + "glSecondaryColor3uivEXT", + "glSecondaryColor3us", + "glSecondaryColor3usEXT", + "glSecondaryColor3usv", + "glSecondaryColor3usvEXT", + "glSecondaryColorFormatNV", + "glSecondaryColorP3ui", + "glSecondaryColorP3uiv", + "glSecondaryColorPointer", + "glSecondaryColorPointerEXT", + "glSecondaryColorPointerListIBM", + "glSelectBuffer", + "glSelectPerfMonitorCountersAMD", + "glSeparableFilter2D", + "glSeparableFilter2DEXT", + "glSetFenceAPPLE", + "glSetFenceNV", + "glSetFragmentShaderConstantATI", + "glSetInvariantEXT", + "glSetLocalConstantEXT", + "glSetMultisamplefvAMD", + "glShadeModel", + "glShaderBinary", + "glShaderOp1EXT", + "glShaderOp2EXT", + "glShaderOp3EXT", + "glShaderSource", + "glShaderSourceARB", + "glShaderStorageBlockBinding", + "glSharpenTexFuncSGIS", + "glSpriteParameterfSGIX", + "glSpriteParameterfvSGIX", + "glSpriteParameteriSGIX", + "glSpriteParameterivSGIX", + "glStartInstrumentsSGIX", + "glStencilClearTagEXT", + "glStencilFillPathInstancedNV", + "glStencilFillPathNV", + "glStencilFunc", + "glStencilFuncSeparate", + "glStencilFuncSeparateATI", + "glStencilMask", + "glStencilMaskSeparate", + "glStencilOp", + "glStencilOpSeparate", + "glStencilOpSeparateATI", + "glStencilOpValueAMD", + "glStencilStrokePathInstancedNV", + "glStencilStrokePathNV", + "glStopInstrumentsSGIX", + "glStringMarkerGREMEDY", + "glSwizzleEXT", + "glSyncTextureINTEL", + "glTagSampleBufferSGIX", + "glTangent3bEXT", + "glTangent3bvEXT", + "glTangent3dEXT", + "glTangent3dvEXT", + "glTangent3fEXT", + "glTangent3fvEXT", + "glTangent3iEXT", + "glTangent3ivEXT", + "glTangent3sEXT", + "glTangent3svEXT", + "glTangentPointerEXT", + "glTbufferMask3DFX", + "glTessellationFactorAMD", + "glTessellationModeAMD", + "glTestFenceAPPLE", + "glTestFenceNV", + "glTestObjectAPPLE", + "glTexBuffer", + "glTexBufferARB", + "glTexBufferEXT", + "glTexBufferRange", + "glTexBumpParameterfvATI", + "glTexBumpParameterivATI", + "glTexCoord1bOES", + "glTexCoord1bvOES", + "glTexCoord1d", + "glTexCoord1dv", + "glTexCoord1f", + "glTexCoord1fv", + "glTexCoord1hNV", + "glTexCoord1hvNV", + "glTexCoord1i", + "glTexCoord1iv", + "glTexCoord1s", + "glTexCoord1sv", + "glTexCoord1xOES", + "glTexCoord1xvOES", + "glTexCoord2bOES", + "glTexCoord2bvOES", + "glTexCoord2d", + "glTexCoord2dv", + "glTexCoord2f", + "glTexCoord2fColor3fVertex3fSUN", + "glTexCoord2fColor3fVertex3fvSUN", + "glTexCoord2fColor4fNormal3fVertex3fSUN", + "glTexCoord2fColor4fNormal3fVertex3fvSUN", + "glTexCoord2fColor4ubVertex3fSUN", + "glTexCoord2fColor4ubVertex3fvSUN", + "glTexCoord2fNormal3fVertex3fSUN", + "glTexCoord2fNormal3fVertex3fvSUN", + "glTexCoord2fv", + "glTexCoord2fVertex3fSUN", + "glTexCoord2fVertex3fvSUN", + "glTexCoord2hNV", + "glTexCoord2hvNV", + "glTexCoord2i", + "glTexCoord2iv", + "glTexCoord2s", + "glTexCoord2sv", + "glTexCoord2xOES", + "glTexCoord2xvOES", + "glTexCoord3bOES", + "glTexCoord3bvOES", + "glTexCoord3d", + "glTexCoord3dv", + "glTexCoord3f", + "glTexCoord3fv", + "glTexCoord3hNV", + "glTexCoord3hvNV", + "glTexCoord3i", + "glTexCoord3iv", + "glTexCoord3s", + "glTexCoord3sv", + "glTexCoord3xOES", + "glTexCoord3xvOES", + "glTexCoord4bOES", + "glTexCoord4bvOES", + "glTexCoord4d", + "glTexCoord4dv", + "glTexCoord4f", + "glTexCoord4fColor4fNormal3fVertex4fSUN", + "glTexCoord4fColor4fNormal3fVertex4fvSUN", + "glTexCoord4fv", + "glTexCoord4fVertex4fSUN", + "glTexCoord4fVertex4fvSUN", + "glTexCoord4hNV", + "glTexCoord4hvNV", + "glTexCoord4i", + "glTexCoord4iv", + "glTexCoord4s", + "glTexCoord4sv", + "glTexCoord4xOES", + "glTexCoord4xvOES", + "glTexCoordFormatNV", + "glTexCoordP1ui", + "glTexCoordP1uiv", + "glTexCoordP2ui", + "glTexCoordP2uiv", + "glTexCoordP3ui", + "glTexCoordP3uiv", + "glTexCoordP4ui", + "glTexCoordP4uiv", + "glTexCoordPointer", + "glTexCoordPointerEXT", + "glTexCoordPointerListIBM", + "glTexCoordPointervINTEL", + "glTexEnvf", + "glTexEnvfv", + "glTexEnvi", + "glTexEnviv", + "glTexEnvxOES", + "glTexEnvxvOES", + "glTexFilterFuncSGIS", + "glTexGend", + "glTexGendv", + "glTexGenf", + "glTexGenfv", + "glTexGeni", + "glTexGeniv", + "glTexGenxOES", + "glTexGenxvOES", + "glTexImage1D", + "glTexImage2D", + "glTexImage2DMultisample", + "glTexImage2DMultisampleCoverageNV", + "glTexImage3D", + "glTexImage3DEXT", + "glTexImage3DMultisample", + "glTexImage3DMultisampleCoverageNV", + "glTexImage4DSGIS", + "glTexPageCommitmentARB", + "glTexParameterf", + "glTexParameterfv", + "glTexParameteri", + "glTexParameterIiv", + "glTexParameterIivEXT", + "glTexParameterIuiv", + "glTexParameterIuivEXT", + "glTexParameteriv", + "glTexParameterxOES", + "glTexParameterxvOES", + "glTexRenderbufferNV", + "glTexStorage1D", + "glTexStorage2D", + "glTexStorage2DMultisample", + "glTexStorage3D", + "glTexStorage3DMultisample", + "glTexStorageSparseAMD", + "glTexSubImage1D", + "glTexSubImage1DEXT", + "glTexSubImage2D", + "glTexSubImage2DEXT", + "glTexSubImage3D", + "glTexSubImage3DEXT", + "glTexSubImage4DSGIS", + "glTextureBarrierNV", + "glTextureBufferEXT", + "glTextureBufferRangeEXT", + "glTextureColorMaskSGIS", + "glTextureImage1DEXT", + "glTextureImage2DEXT", + "glTextureImage2DMultisampleCoverageNV", + "glTextureImage2DMultisampleNV", + "glTextureImage3DEXT", + "glTextureImage3DMultisampleCoverageNV", + "glTextureImage3DMultisampleNV", + "glTextureLightEXT", + "glTextureMaterialEXT", + "glTextureNormalEXT", + "glTexturePageCommitmentEXT", + "glTextureParameterfEXT", + "glTextureParameterfvEXT", + "glTextureParameteriEXT", + "glTextureParameterIivEXT", + "glTextureParameterIuivEXT", + "glTextureParameterivEXT", + "glTextureRangeAPPLE", + "glTextureRenderbufferEXT", + "glTextureStorage1DEXT", + "glTextureStorage2DEXT", + "glTextureStorage2DMultisampleEXT", + "glTextureStorage3DEXT", + "glTextureStorage3DMultisampleEXT", + "glTextureStorageSparseAMD", + "glTextureSubImage1DEXT", + "glTextureSubImage2DEXT", + "glTextureSubImage3DEXT", + "glTextureView", + "glTrackMatrixNV", + "glTransformFeedbackAttribsNV", + "glTransformFeedbackStreamAttribsNV", + "glTransformFeedbackVaryings", + "glTransformFeedbackVaryingsEXT", + "glTransformFeedbackVaryingsNV", + "glTransformPathNV", + "glTranslated", + "glTranslatef", + "glTranslatexOES", + "glUniform1d", + "glUniform1dv", + "glUniform1f", + "glUniform1fARB", + "glUniform1fv", + "glUniform1fvARB", + "glUniform1i", + "glUniform1i64NV", + "glUniform1i64vNV", + "glUniform1iARB", + "glUniform1iv", + "glUniform1ivARB", + "glUniform1ui", + "glUniform1ui64NV", + "glUniform1ui64vNV", + "glUniform1uiEXT", + "glUniform1uiv", + "glUniform1uivEXT", + "glUniform2d", + "glUniform2dv", + "glUniform2f", + "glUniform2fARB", + "glUniform2fv", + "glUniform2fvARB", + "glUniform2i", + "glUniform2i64NV", + "glUniform2i64vNV", + "glUniform2iARB", + "glUniform2iv", + "glUniform2ivARB", + "glUniform2ui", + "glUniform2ui64NV", + "glUniform2ui64vNV", + "glUniform2uiEXT", + "glUniform2uiv", + "glUniform2uivEXT", + "glUniform3d", + "glUniform3dv", + "glUniform3f", + "glUniform3fARB", + "glUniform3fv", + "glUniform3fvARB", + "glUniform3i", + "glUniform3i64NV", + "glUniform3i64vNV", + "glUniform3iARB", + "glUniform3iv", + "glUniform3ivARB", + "glUniform3ui", + "glUniform3ui64NV", + "glUniform3ui64vNV", + "glUniform3uiEXT", + "glUniform3uiv", + "glUniform3uivEXT", + "glUniform4d", + "glUniform4dv", + "glUniform4f", + "glUniform4fARB", + "glUniform4fv", + "glUniform4fvARB", + "glUniform4i", + "glUniform4i64NV", + "glUniform4i64vNV", + "glUniform4iARB", + "glUniform4iv", + "glUniform4ivARB", + "glUniform4ui", + "glUniform4ui64NV", + "glUniform4ui64vNV", + "glUniform4uiEXT", + "glUniform4uiv", + "glUniform4uivEXT", + "glUniformBlockBinding", + "glUniformBufferEXT", + "glUniformHandleui64ARB", + "glUniformHandleui64NV", + "glUniformHandleui64vARB", + "glUniformHandleui64vNV", + "glUniformMatrix2dv", + "glUniformMatrix2fv", + "glUniformMatrix2fvARB", + "glUniformMatrix2x3dv", + "glUniformMatrix2x3fv", + "glUniformMatrix2x4dv", + "glUniformMatrix2x4fv", + "glUniformMatrix3dv", + "glUniformMatrix3fv", + "glUniformMatrix3fvARB", + "glUniformMatrix3x2dv", + "glUniformMatrix3x2fv", + "glUniformMatrix3x4dv", + "glUniformMatrix3x4fv", + "glUniformMatrix4dv", + "glUniformMatrix4fv", + "glUniformMatrix4fvARB", + "glUniformMatrix4x2dv", + "glUniformMatrix4x2fv", + "glUniformMatrix4x3dv", + "glUniformMatrix4x3fv", + "glUniformSubroutinesuiv", + "glUniformui64NV", + "glUniformui64vNV", + "glUnlockArraysEXT", + "glUnmapBuffer", + "glUnmapBufferARB", + "glUnmapNamedBufferEXT", + "glUnmapObjectBufferATI", + "glUnmapTexture2DINTEL", + "glUpdateObjectBufferATI", + "glUseProgram", + "glUseProgramObjectARB", + "glUseProgramStages", + "glUseProgramStagesEXT", + "glUseShaderProgramEXT", + "glValidateProgram", + "glValidateProgramARB", + "glValidateProgramPipeline", + "glValidateProgramPipelineEXT", + "glVariantArrayObjectATI", + "glVariantbvEXT", + "glVariantdvEXT", + "glVariantfvEXT", + "glVariantivEXT", + "glVariantPointerEXT", + "glVariantsvEXT", + "glVariantubvEXT", + "glVariantuivEXT", + "glVariantusvEXT", + "glVDPAUFiniNV", + "glVDPAUGetSurfaceivNV", + "glVDPAUInitNV", + "glVDPAUIsSurfaceNV", + "glVDPAUMapSurfacesNV", + "glVDPAURegisterOutputSurfaceNV", + "glVDPAURegisterVideoSurfaceNV", + "glVDPAUSurfaceAccessNV", + "glVDPAUUnmapSurfacesNV", + "glVDPAUUnregisterSurfaceNV", + "glVertex2bOES", + "glVertex2bvOES", + "glVertex2d", + "glVertex2dv", + "glVertex2f", + "glVertex2fv", + "glVertex2hNV", + "glVertex2hvNV", + "glVertex2i", + "glVertex2iv", + "glVertex2s", + "glVertex2sv", + "glVertex2xOES", + "glVertex2xvOES", + "glVertex3bOES", + "glVertex3bvOES", + "glVertex3d", + "glVertex3dv", + "glVertex3f", + "glVertex3fv", + "glVertex3hNV", + "glVertex3hvNV", + "glVertex3i", + "glVertex3iv", + "glVertex3s", + "glVertex3sv", + "glVertex3xOES", + "glVertex3xvOES", + "glVertex4bOES", + "glVertex4bvOES", + "glVertex4d", + "glVertex4dv", + "glVertex4f", + "glVertex4fv", + "glVertex4hNV", + "glVertex4hvNV", + "glVertex4i", + "glVertex4iv", + "glVertex4s", + "glVertex4sv", + "glVertex4xOES", + "glVertex4xvOES", + "glVertexArrayBindVertexBufferEXT", + "glVertexArrayColorOffsetEXT", + "glVertexArrayEdgeFlagOffsetEXT", + "glVertexArrayFogCoordOffsetEXT", + "glVertexArrayIndexOffsetEXT", + "glVertexArrayMultiTexCoordOffsetEXT", + "glVertexArrayNormalOffsetEXT", + "glVertexArrayParameteriAPPLE", + "glVertexArrayRangeAPPLE", + "glVertexArrayRangeNV", + "glVertexArraySecondaryColorOffsetEXT", + "glVertexArrayTexCoordOffsetEXT", + "glVertexArrayVertexAttribBindingEXT", + "glVertexArrayVertexAttribDivisorEXT", + "glVertexArrayVertexAttribFormatEXT", + "glVertexArrayVertexAttribIFormatEXT", + "glVertexArrayVertexAttribIOffsetEXT", + "glVertexArrayVertexAttribLFormatEXT", + "glVertexArrayVertexAttribLOffsetEXT", + "glVertexArrayVertexAttribOffsetEXT", + "glVertexArrayVertexBindingDivisorEXT", + "glVertexArrayVertexOffsetEXT", + "glVertexAttrib1d", + "glVertexAttrib1dARB", + "glVertexAttrib1dNV", + "glVertexAttrib1dv", + "glVertexAttrib1dvARB", + "glVertexAttrib1dvNV", + "glVertexAttrib1f", + "glVertexAttrib1fARB", + "glVertexAttrib1fNV", + "glVertexAttrib1fv", + "glVertexAttrib1fvARB", + "glVertexAttrib1fvNV", + "glVertexAttrib1hNV", + "glVertexAttrib1hvNV", + "glVertexAttrib1s", + "glVertexAttrib1sARB", + "glVertexAttrib1sNV", + "glVertexAttrib1sv", + "glVertexAttrib1svARB", + "glVertexAttrib1svNV", + "glVertexAttrib2d", + "glVertexAttrib2dARB", + "glVertexAttrib2dNV", + "glVertexAttrib2dv", + "glVertexAttrib2dvARB", + "glVertexAttrib2dvNV", + "glVertexAttrib2f", + "glVertexAttrib2fARB", + "glVertexAttrib2fNV", + "glVertexAttrib2fv", + "glVertexAttrib2fvARB", + "glVertexAttrib2fvNV", + "glVertexAttrib2hNV", + "glVertexAttrib2hvNV", + "glVertexAttrib2s", + "glVertexAttrib2sARB", + "glVertexAttrib2sNV", + "glVertexAttrib2sv", + "glVertexAttrib2svARB", + "glVertexAttrib2svNV", + "glVertexAttrib3d", + "glVertexAttrib3dARB", + "glVertexAttrib3dNV", + "glVertexAttrib3dv", + "glVertexAttrib3dvARB", + "glVertexAttrib3dvNV", + "glVertexAttrib3f", + "glVertexAttrib3fARB", + "glVertexAttrib3fNV", + "glVertexAttrib3fv", + "glVertexAttrib3fvARB", + "glVertexAttrib3fvNV", + "glVertexAttrib3hNV", + "glVertexAttrib3hvNV", + "glVertexAttrib3s", + "glVertexAttrib3sARB", + "glVertexAttrib3sNV", + "glVertexAttrib3sv", + "glVertexAttrib3svARB", + "glVertexAttrib3svNV", + "glVertexAttrib4bv", + "glVertexAttrib4bvARB", + "glVertexAttrib4d", + "glVertexAttrib4dARB", + "glVertexAttrib4dNV", + "glVertexAttrib4dv", + "glVertexAttrib4dvARB", + "glVertexAttrib4dvNV", + "glVertexAttrib4f", + "glVertexAttrib4fARB", + "glVertexAttrib4fNV", + "glVertexAttrib4fv", + "glVertexAttrib4fvARB", + "glVertexAttrib4fvNV", + "glVertexAttrib4hNV", + "glVertexAttrib4hvNV", + "glVertexAttrib4iv", + "glVertexAttrib4ivARB", + "glVertexAttrib4Nbv", + "glVertexAttrib4NbvARB", + "glVertexAttrib4Niv", + "glVertexAttrib4NivARB", + "glVertexAttrib4Nsv", + "glVertexAttrib4NsvARB", + "glVertexAttrib4Nub", + "glVertexAttrib4NubARB", + "glVertexAttrib4Nubv", + "glVertexAttrib4NubvARB", + "glVertexAttrib4Nuiv", + "glVertexAttrib4NuivARB", + "glVertexAttrib4Nusv", + "glVertexAttrib4NusvARB", + "glVertexAttrib4s", + "glVertexAttrib4sARB", + "glVertexAttrib4sNV", + "glVertexAttrib4sv", + "glVertexAttrib4svARB", + "glVertexAttrib4svNV", + "glVertexAttrib4ubNV", + "glVertexAttrib4ubv", + "glVertexAttrib4ubvARB", + "glVertexAttrib4ubvNV", + "glVertexAttrib4uiv", + "glVertexAttrib4uivARB", + "glVertexAttrib4usv", + "glVertexAttrib4usvARB", + "glVertexAttribArrayObjectATI", + "glVertexAttribBinding", + "glVertexAttribDivisor", + "glVertexAttribDivisorARB", + "glVertexAttribFormat", + "glVertexAttribFormatNV", + "glVertexAttribI1i", + "glVertexAttribI1iEXT", + "glVertexAttribI1iv", + "glVertexAttribI1ivEXT", + "glVertexAttribI1ui", + "glVertexAttribI1uiEXT", + "glVertexAttribI1uiv", + "glVertexAttribI1uivEXT", + "glVertexAttribI2i", + "glVertexAttribI2iEXT", + "glVertexAttribI2iv", + "glVertexAttribI2ivEXT", + "glVertexAttribI2ui", + "glVertexAttribI2uiEXT", + "glVertexAttribI2uiv", + "glVertexAttribI2uivEXT", + "glVertexAttribI3i", + "glVertexAttribI3iEXT", + "glVertexAttribI3iv", + "glVertexAttribI3ivEXT", + "glVertexAttribI3ui", + "glVertexAttribI3uiEXT", + "glVertexAttribI3uiv", + "glVertexAttribI3uivEXT", + "glVertexAttribI4bv", + "glVertexAttribI4bvEXT", + "glVertexAttribI4i", + "glVertexAttribI4iEXT", + "glVertexAttribI4iv", + "glVertexAttribI4ivEXT", + "glVertexAttribI4sv", + "glVertexAttribI4svEXT", + "glVertexAttribI4ubv", + "glVertexAttribI4ubvEXT", + "glVertexAttribI4ui", + "glVertexAttribI4uiEXT", + "glVertexAttribI4uiv", + "glVertexAttribI4uivEXT", + "glVertexAttribI4usv", + "glVertexAttribI4usvEXT", + "glVertexAttribIFormat", + "glVertexAttribIFormatNV", + "glVertexAttribIPointer", + "glVertexAttribIPointerEXT", + "glVertexAttribL1d", + "glVertexAttribL1dEXT", + "glVertexAttribL1dv", + "glVertexAttribL1dvEXT", + "glVertexAttribL1i64NV", + "glVertexAttribL1i64vNV", + "glVertexAttribL1ui64ARB", + "glVertexAttribL1ui64NV", + "glVertexAttribL1ui64vARB", + "glVertexAttribL1ui64vNV", + "glVertexAttribL2d", + "glVertexAttribL2dEXT", + "glVertexAttribL2dv", + "glVertexAttribL2dvEXT", + "glVertexAttribL2i64NV", + "glVertexAttribL2i64vNV", + "glVertexAttribL2ui64NV", + "glVertexAttribL2ui64vNV", + "glVertexAttribL3d", + "glVertexAttribL3dEXT", + "glVertexAttribL3dv", + "glVertexAttribL3dvEXT", + "glVertexAttribL3i64NV", + "glVertexAttribL3i64vNV", + "glVertexAttribL3ui64NV", + "glVertexAttribL3ui64vNV", + "glVertexAttribL4d", + "glVertexAttribL4dEXT", + "glVertexAttribL4dv", + "glVertexAttribL4dvEXT", + "glVertexAttribL4i64NV", + "glVertexAttribL4i64vNV", + "glVertexAttribL4ui64NV", + "glVertexAttribL4ui64vNV", + "glVertexAttribLFormat", + "glVertexAttribLFormatNV", + "glVertexAttribLPointer", + "glVertexAttribLPointerEXT", + "glVertexAttribP1ui", + "glVertexAttribP1uiv", + "glVertexAttribP2ui", + "glVertexAttribP2uiv", + "glVertexAttribP3ui", + "glVertexAttribP3uiv", + "glVertexAttribP4ui", + "glVertexAttribP4uiv", + "glVertexAttribParameteriAMD", + "glVertexAttribPointer", + "glVertexAttribPointerARB", + "glVertexAttribPointerNV", + "glVertexAttribs1dvNV", + "glVertexAttribs1fvNV", + "glVertexAttribs1hvNV", + "glVertexAttribs1svNV", + "glVertexAttribs2dvNV", + "glVertexAttribs2fvNV", + "glVertexAttribs2hvNV", + "glVertexAttribs2svNV", + "glVertexAttribs3dvNV", + "glVertexAttribs3fvNV", + "glVertexAttribs3hvNV", + "glVertexAttribs3svNV", + "glVertexAttribs4dvNV", + "glVertexAttribs4fvNV", + "glVertexAttribs4hvNV", + "glVertexAttribs4svNV", + "glVertexAttribs4ubvNV", + "glVertexBindingDivisor", + "glVertexBlendARB", + "glVertexBlendEnvfATI", + "glVertexBlendEnviATI", + "glVertexFormatNV", + "glVertexP2ui", + "glVertexP2uiv", + "glVertexP3ui", + "glVertexP3uiv", + "glVertexP4ui", + "glVertexP4uiv", + "glVertexPointer", + "glVertexPointerEXT", + "glVertexPointerListIBM", + "glVertexPointervINTEL", + "glVertexStream1dATI", + "glVertexStream1dvATI", + "glVertexStream1fATI", + "glVertexStream1fvATI", + "glVertexStream1iATI", + "glVertexStream1ivATI", + "glVertexStream1sATI", + "glVertexStream1svATI", + "glVertexStream2dATI", + "glVertexStream2dvATI", + "glVertexStream2fATI", + "glVertexStream2fvATI", + "glVertexStream2iATI", + "glVertexStream2ivATI", + "glVertexStream2sATI", + "glVertexStream2svATI", + "glVertexStream3dATI", + "glVertexStream3dvATI", + "glVertexStream3fATI", + "glVertexStream3fvATI", + "glVertexStream3iATI", + "glVertexStream3ivATI", + "glVertexStream3sATI", + "glVertexStream3svATI", + "glVertexStream4dATI", + "glVertexStream4dvATI", + "glVertexStream4fATI", + "glVertexStream4fvATI", + "glVertexStream4iATI", + "glVertexStream4ivATI", + "glVertexStream4sATI", + "glVertexStream4svATI", + "glVertexWeightfEXT", + "glVertexWeightfvEXT", + "glVertexWeighthNV", + "glVertexWeighthvNV", + "glVertexWeightPointerEXT", + "glVideoCaptureNV", + "glVideoCaptureStreamParameterdvNV", + "glVideoCaptureStreamParameterfvNV", + "glVideoCaptureStreamParameterivNV", + "glViewport", + "glViewportArrayv", + "glViewportIndexedf", + "glViewportIndexedfv", + "glWaitSync", + "glWeightbvARB", + "glWeightdvARB", + "glWeightfvARB", + "glWeightivARB", + "glWeightPathsNV", + "glWeightPointerARB", + "glWeightsvARB", + "glWeightubvARB", + "glWeightuivARB", + "glWeightusvARB", + "glWindowPos2d", + "glWindowPos2dARB", + "glWindowPos2dMESA", + "glWindowPos2dv", + "glWindowPos2dvARB", + "glWindowPos2dvMESA", + "glWindowPos2f", + "glWindowPos2fARB", + "glWindowPos2fMESA", + "glWindowPos2fv", + "glWindowPos2fvARB", + "glWindowPos2fvMESA", + "glWindowPos2i", + "glWindowPos2iARB", + "glWindowPos2iMESA", + "glWindowPos2iv", + "glWindowPos2ivARB", + "glWindowPos2ivMESA", + "glWindowPos2s", + "glWindowPos2sARB", + "glWindowPos2sMESA", + "glWindowPos2sv", + "glWindowPos2svARB", + "glWindowPos2svMESA", + "glWindowPos3d", + "glWindowPos3dARB", + "glWindowPos3dMESA", + "glWindowPos3dv", + "glWindowPos3dvARB", + "glWindowPos3dvMESA", + "glWindowPos3f", + "glWindowPos3fARB", + "glWindowPos3fMESA", + "glWindowPos3fv", + "glWindowPos3fvARB", + "glWindowPos3fvMESA", + "glWindowPos3i", + "glWindowPos3iARB", + "glWindowPos3iMESA", + "glWindowPos3iv", + "glWindowPos3ivARB", + "glWindowPos3ivMESA", + "glWindowPos3s", + "glWindowPos3sARB", + "glWindowPos3sMESA", + "glWindowPos3sv", + "glWindowPos3svARB", + "glWindowPos3svMESA", + "glWindowPos4dMESA", + "glWindowPos4dvMESA", + "glWindowPos4fMESA", + "glWindowPos4fvMESA", + "glWindowPos4iMESA", + "glWindowPos4ivMESA", + "glWindowPos4sMESA", + "glWindowPos4svMESA", + "glWriteMaskEXT", + }; + EntryPoints = new IntPtr[EntryPointNames.Length]; + } public static partial class GL_3dfx { /// [requires: 3DFX_tbuffer] [AutoGenerated(Category = "3DFX_tbuffer", Version = "", EntryPoint = "glTbufferMask3DFX")] - public static - void TbufferMask(Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTbufferMask3DFX((UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void TbufferMask(Int32 mask); /// [requires: 3DFX_tbuffer] [System.CLSCompliant(false)] [AutoGenerated(Category = "3DFX_tbuffer", Version = "", EntryPoint = "glTbufferMask3DFX")] - public static - void TbufferMask(UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTbufferMask3DFX((UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void TbufferMask(UInt32 mask); } @@ -77,158 +2712,48 @@ namespace OpenTK.Graphics.OpenGL { /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glBeginPerfMonitorAMD")] - public static - void BeginPerfMonitor(Int32 monitor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginPerfMonitorAMD((UInt32)monitor); - #if DEBUG - } - #endif - } + public static extern void BeginPerfMonitor(Int32 monitor); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glBeginPerfMonitorAMD")] - public static - void BeginPerfMonitor(UInt32 monitor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginPerfMonitorAMD((UInt32)monitor); - #if DEBUG - } - #endif - } + public static extern void BeginPerfMonitor(UInt32 monitor); /// [requires: AMD_draw_buffers_blend] [AutoGenerated(Category = "AMD_draw_buffers_blend", Version = "", EntryPoint = "glBlendEquationIndexedAMD")] - public static - void BlendEquationIndexed(Int32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationIndexedAMD((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)mode); - #if DEBUG - } - #endif - } + public static extern void BlendEquationIndexed(Int32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend mode); /// [requires: AMD_draw_buffers_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_draw_buffers_blend", Version = "", EntryPoint = "glBlendEquationIndexedAMD")] - public static - void BlendEquationIndexed(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationIndexedAMD((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)mode); - #if DEBUG - } - #endif - } + public static extern void BlendEquationIndexed(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend mode); /// [requires: AMD_draw_buffers_blend] [AutoGenerated(Category = "AMD_draw_buffers_blend", Version = "", EntryPoint = "glBlendEquationSeparateIndexedAMD")] - public static - void BlendEquationSeparateIndexed(Int32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationSeparateIndexedAMD((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)modeRGB, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)modeAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendEquationSeparateIndexed(Int32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeAlpha); /// [requires: AMD_draw_buffers_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_draw_buffers_blend", Version = "", EntryPoint = "glBlendEquationSeparateIndexedAMD")] - public static - void BlendEquationSeparateIndexed(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationSeparateIndexedAMD((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)modeRGB, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)modeAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendEquationSeparateIndexed(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeAlpha); /// [requires: AMD_draw_buffers_blend] [AutoGenerated(Category = "AMD_draw_buffers_blend", Version = "", EntryPoint = "glBlendFuncIndexedAMD")] - public static - void BlendFuncIndexed(Int32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend src, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dst) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFuncIndexedAMD((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)src, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)dst); - #if DEBUG - } - #endif - } + public static extern void BlendFuncIndexed(Int32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend src, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dst); /// [requires: AMD_draw_buffers_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_draw_buffers_blend", Version = "", EntryPoint = "glBlendFuncIndexedAMD")] - public static - void BlendFuncIndexed(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend src, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dst) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFuncIndexedAMD((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)src, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)dst); - #if DEBUG - } - #endif - } + public static extern void BlendFuncIndexed(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend src, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dst); /// [requires: AMD_draw_buffers_blend] [AutoGenerated(Category = "AMD_draw_buffers_blend", Version = "", EntryPoint = "glBlendFuncSeparateIndexedAMD")] - public static - void BlendFuncSeparateIndexed(Int32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend srcRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dstRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend srcAlpha, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dstAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFuncSeparateIndexedAMD((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)srcRGB, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)dstRGB, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)srcAlpha, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)dstAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendFuncSeparateIndexed(Int32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend srcRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dstRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend srcAlpha, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dstAlpha); /// [requires: AMD_draw_buffers_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_draw_buffers_blend", Version = "", EntryPoint = "glBlendFuncSeparateIndexedAMD")] - public static - void BlendFuncSeparateIndexed(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend srcRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dstRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend srcAlpha, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dstAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFuncSeparateIndexedAMD((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)srcRGB, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)dstRGB, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)srcAlpha, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)dstAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendFuncSeparateIndexed(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend srcRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dstRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend srcAlpha, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dstAlpha); /// [requires: AMD_debug_output] /// Specify a callback to receive debugging messages from the GL @@ -244,18 +2769,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glDebugMessageCallbackAMD")] - public static - void DebugMessageCallback(DebugProcAmd callback, [OutAttribute] IntPtr userParam) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageCallbackAMD((DebugProcAmd)callback, (IntPtr)userParam); - #if DEBUG - } - #endif - } + public static extern void DebugMessageCallback(DebugProcAmd callback, [OutAttribute] IntPtr userParam); /// [requires: AMD_debug_output] /// Specify a callback to receive debugging messages from the GL @@ -271,27 +2785,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glDebugMessageCallbackAMD")] - public static - void DebugMessageCallback(DebugProcAmd callback, [InAttribute, OutAttribute] T1[] userParam) + public static extern void DebugMessageCallback(DebugProcAmd callback, [InAttribute, OutAttribute] T1[] userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallbackAMD((DebugProcAmd)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_debug_output] /// Specify a callback to receive debugging messages from the GL @@ -307,27 +2803,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glDebugMessageCallbackAMD")] - public static - void DebugMessageCallback(DebugProcAmd callback, [InAttribute, OutAttribute] T1[,] userParam) + public static extern void DebugMessageCallback(DebugProcAmd callback, [InAttribute, OutAttribute] T1[,] userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallbackAMD((DebugProcAmd)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_debug_output] /// Specify a callback to receive debugging messages from the GL @@ -343,27 +2821,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glDebugMessageCallbackAMD")] - public static - void DebugMessageCallback(DebugProcAmd callback, [InAttribute, OutAttribute] T1[,,] userParam) + public static extern void DebugMessageCallback(DebugProcAmd callback, [InAttribute, OutAttribute] T1[,,] userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallbackAMD((DebugProcAmd)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_debug_output] /// Specify a callback to receive debugging messages from the GL @@ -379,146 +2839,37 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glDebugMessageCallbackAMD")] - public static - void DebugMessageCallback(DebugProcAmd callback, [InAttribute, OutAttribute] ref T1 userParam) + public static extern void DebugMessageCallback(DebugProcAmd callback, [InAttribute, OutAttribute] ref T1 userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallbackAMD((DebugProcAmd)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - userParam = (T1)userParam_ptr.Target; - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_debug_output] [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glDebugMessageEnableAMD")] - public static - void DebugMessageEnable(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, Int32 count, Int32[] ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glDebugMessageEnableAMD((OpenTK.Graphics.OpenGL.AmdDebugOutput)category, (OpenTK.Graphics.OpenGL.AmdDebugOutput)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageEnable(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, Int32 count, Int32[] ids, bool enabled); /// [requires: AMD_debug_output] [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glDebugMessageEnableAMD")] - public static - void DebugMessageEnable(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, Int32 count, ref Int32 ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glDebugMessageEnableAMD((OpenTK.Graphics.OpenGL.AmdDebugOutput)category, (OpenTK.Graphics.OpenGL.AmdDebugOutput)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageEnable(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, Int32 count, ref Int32 ids, bool enabled); /// [requires: AMD_debug_output] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glDebugMessageEnableAMD")] - public static - unsafe void DebugMessageEnable(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, Int32 count, Int32* ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageEnableAMD((OpenTK.Graphics.OpenGL.AmdDebugOutput)category, (OpenTK.Graphics.OpenGL.AmdDebugOutput)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - #if DEBUG - } - #endif - } + public static extern unsafe void DebugMessageEnable(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, Int32 count, Int32* ids, bool enabled); /// [requires: AMD_debug_output] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glDebugMessageEnableAMD")] - public static - void DebugMessageEnable(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, Int32 count, UInt32[] ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glDebugMessageEnableAMD((OpenTK.Graphics.OpenGL.AmdDebugOutput)category, (OpenTK.Graphics.OpenGL.AmdDebugOutput)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageEnable(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, Int32 count, UInt32[] ids, bool enabled); /// [requires: AMD_debug_output] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glDebugMessageEnableAMD")] - public static - void DebugMessageEnable(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, Int32 count, ref UInt32 ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glDebugMessageEnableAMD((OpenTK.Graphics.OpenGL.AmdDebugOutput)category, (OpenTK.Graphics.OpenGL.AmdDebugOutput)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageEnable(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, Int32 count, ref UInt32 ids, bool enabled); /// [requires: AMD_debug_output] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glDebugMessageEnableAMD")] - public static - unsafe void DebugMessageEnable(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, Int32 count, UInt32* ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageEnableAMD((OpenTK.Graphics.OpenGL.AmdDebugOutput)category, (OpenTK.Graphics.OpenGL.AmdDebugOutput)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - #if DEBUG - } - #endif - } + public static extern unsafe void DebugMessageEnable(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, Int32 count, UInt32* ids, bool enabled); /// [requires: AMD_debug_output] /// Inject an application-supplied message into the debug message queue @@ -554,18 +2905,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glDebugMessageInsertAMD")] - public static - void DebugMessageInsert(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, Int32 id, Int32 length, String buf) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageInsertAMD((OpenTK.Graphics.OpenGL.AmdDebugOutput)category, (OpenTK.Graphics.OpenGL.AmdDebugOutput)severity, (UInt32)id, (Int32)length, (String)buf); - #if DEBUG - } - #endif - } + public static extern void DebugMessageInsert(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, Int32 id, Int32 length, String buf); /// [requires: AMD_debug_output] /// Inject an application-supplied message into the debug message queue @@ -602,588 +2942,141 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glDebugMessageInsertAMD")] - public static - void DebugMessageInsert(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, UInt32 id, Int32 length, String buf) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageInsertAMD((OpenTK.Graphics.OpenGL.AmdDebugOutput)category, (OpenTK.Graphics.OpenGL.AmdDebugOutput)severity, (UInt32)id, (Int32)length, (String)buf); - #if DEBUG - } - #endif - } + public static extern void DebugMessageInsert(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, UInt32 id, Int32 length, String buf); /// [requires: AMD_name_gen_delete] [AutoGenerated(Category = "AMD_name_gen_delete", Version = "", EntryPoint = "glDeleteNamesAMD")] - public static - void DeleteNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, Int32 num, Int32[] names) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* names_ptr = names) - { - Delegates.glDeleteNamesAMD((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (UInt32*)names_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, Int32 num, Int32[] names); /// [requires: AMD_name_gen_delete] [AutoGenerated(Category = "AMD_name_gen_delete", Version = "", EntryPoint = "glDeleteNamesAMD")] - public static - void DeleteNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, Int32 num, ref Int32 names) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* names_ptr = &names) - { - Delegates.glDeleteNamesAMD((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (UInt32*)names_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, Int32 num, ref Int32 names); /// [requires: AMD_name_gen_delete] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_name_gen_delete", Version = "", EntryPoint = "glDeleteNamesAMD")] - public static - unsafe void DeleteNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, Int32 num, Int32* names) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteNamesAMD((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (UInt32*)names); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, Int32 num, Int32* names); /// [requires: AMD_name_gen_delete] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_name_gen_delete", Version = "", EntryPoint = "glDeleteNamesAMD")] - public static - void DeleteNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 num, UInt32[] names) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* names_ptr = names) - { - Delegates.glDeleteNamesAMD((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (UInt32*)names_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 num, UInt32[] names); /// [requires: AMD_name_gen_delete] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_name_gen_delete", Version = "", EntryPoint = "glDeleteNamesAMD")] - public static - void DeleteNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 num, ref UInt32 names) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* names_ptr = &names) - { - Delegates.glDeleteNamesAMD((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (UInt32*)names_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 num, ref UInt32 names); /// [requires: AMD_name_gen_delete] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_name_gen_delete", Version = "", EntryPoint = "glDeleteNamesAMD")] - public static - unsafe void DeleteNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 num, UInt32* names) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteNamesAMD((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (UInt32*)names); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 num, UInt32* names); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - void DeletePerfMonitor(Int32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* monitors_ptr = (UInt32*)&monitors; - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeletePerfMonitor(Int32 monitors); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - void DeletePerfMonitor(UInt32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* monitors_ptr = (UInt32*)&monitors; - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeletePerfMonitor(UInt32 monitors); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - void DeletePerfMonitors(Int32 n, Int32[] monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* monitors_ptr = monitors) - { - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeletePerfMonitors(Int32 n, Int32[] monitors); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - void DeletePerfMonitors(Int32 n, ref Int32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* monitors_ptr = &monitors) - { - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeletePerfMonitors(Int32 n, ref Int32 monitors); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - unsafe void DeletePerfMonitors(Int32 n, Int32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors); - #if DEBUG - } - #endif - } + public static extern unsafe void DeletePerfMonitors(Int32 n, Int32* monitors); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - void DeletePerfMonitors(Int32 n, UInt32[] monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* monitors_ptr = monitors) - { - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeletePerfMonitors(Int32 n, UInt32[] monitors); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - void DeletePerfMonitors(Int32 n, ref UInt32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* monitors_ptr = &monitors) - { - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeletePerfMonitors(Int32 n, ref UInt32 monitors); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - unsafe void DeletePerfMonitors(Int32 n, UInt32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors); - #if DEBUG - } - #endif - } + public static extern unsafe void DeletePerfMonitors(Int32 n, UInt32* monitors); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glEndPerfMonitorAMD")] - public static - void EndPerfMonitor(Int32 monitor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndPerfMonitorAMD((UInt32)monitor); - #if DEBUG - } - #endif - } + public static extern void EndPerfMonitor(Int32 monitor); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glEndPerfMonitorAMD")] - public static - void EndPerfMonitor(UInt32 monitor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndPerfMonitorAMD((UInt32)monitor); - #if DEBUG - } - #endif - } + public static extern void EndPerfMonitor(UInt32 monitor); /// [requires: AMD_name_gen_delete] [AutoGenerated(Category = "AMD_name_gen_delete", Version = "", EntryPoint = "glGenNamesAMD")] - public static - void GenNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, Int32 num, [OutAttribute] Int32[] names) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* names_ptr = names) - { - Delegates.glGenNamesAMD((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (UInt32*)names_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, Int32 num, [OutAttribute] Int32[] names); /// [requires: AMD_name_gen_delete] [AutoGenerated(Category = "AMD_name_gen_delete", Version = "", EntryPoint = "glGenNamesAMD")] - public static - void GenNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, Int32 num, [OutAttribute] out Int32 names) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* names_ptr = &names) - { - Delegates.glGenNamesAMD((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (UInt32*)names_ptr); - names = *names_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, Int32 num, [OutAttribute] out Int32 names); /// [requires: AMD_name_gen_delete] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_name_gen_delete", Version = "", EntryPoint = "glGenNamesAMD")] - public static - unsafe void GenNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, Int32 num, [OutAttribute] Int32* names) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenNamesAMD((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (UInt32*)names); - #if DEBUG - } - #endif - } + public static extern unsafe void GenNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, Int32 num, [OutAttribute] Int32* names); /// [requires: AMD_name_gen_delete] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_name_gen_delete", Version = "", EntryPoint = "glGenNamesAMD")] - public static - void GenNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 num, [OutAttribute] UInt32[] names) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* names_ptr = names) - { - Delegates.glGenNamesAMD((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (UInt32*)names_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 num, [OutAttribute] UInt32[] names); /// [requires: AMD_name_gen_delete] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_name_gen_delete", Version = "", EntryPoint = "glGenNamesAMD")] - public static - void GenNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 num, [OutAttribute] out UInt32 names) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* names_ptr = &names) - { - Delegates.glGenNamesAMD((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (UInt32*)names_ptr); - names = *names_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 num, [OutAttribute] out UInt32 names); /// [requires: AMD_name_gen_delete] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_name_gen_delete", Version = "", EntryPoint = "glGenNamesAMD")] - public static - unsafe void GenNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 num, [OutAttribute] UInt32* names) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenNamesAMD((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (UInt32*)names); - #if DEBUG - } - #endif - } + public static extern unsafe void GenNames(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 num, [OutAttribute] UInt32* names); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static - Int32 GenPerfMonitor() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* monitors_ptr = &retval; - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenPerfMonitor(); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static - void GenPerfMonitors(Int32 n, [OutAttribute] Int32[] monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* monitors_ptr = monitors) - { - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenPerfMonitors(Int32 n, [OutAttribute] Int32[] monitors); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static - void GenPerfMonitors(Int32 n, [OutAttribute] out Int32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* monitors_ptr = &monitors) - { - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - monitors = *monitors_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenPerfMonitors(Int32 n, [OutAttribute] out Int32 monitors); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static - unsafe void GenPerfMonitors(Int32 n, [OutAttribute] Int32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors); - #if DEBUG - } - #endif - } + public static extern unsafe void GenPerfMonitors(Int32 n, [OutAttribute] Int32* monitors); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static - void GenPerfMonitors(Int32 n, [OutAttribute] UInt32[] monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* monitors_ptr = monitors) - { - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenPerfMonitors(Int32 n, [OutAttribute] UInt32[] monitors); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static - void GenPerfMonitors(Int32 n, [OutAttribute] out UInt32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* monitors_ptr = &monitors) - { - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - monitors = *monitors_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenPerfMonitors(Int32 n, [OutAttribute] out UInt32 monitors); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGenPerfMonitorsAMD")] - public static - unsafe void GenPerfMonitors(Int32 n, [OutAttribute] UInt32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors); - #if DEBUG - } - #endif - } + public static extern unsafe void GenPerfMonitors(Int32 n, [OutAttribute] UInt32* monitors); /// [requires: AMD_debug_output] /// Retrieve messages from the debug message log @@ -1229,27 +3122,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogAMD")] - public static - Int32 GetDebugMessageLog(Int32 count, Int32 bufsize, [OutAttribute] OpenTK.Graphics.OpenGL.AmdDebugOutput[] categories, [OutAttribute] Int32[] severities, [OutAttribute] Int32[] ids, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.AmdDebugOutput* categories_ptr = categories) - fixed (Int32* severities_ptr = severities) - fixed (Int32* ids_ptr = ids) - fixed (Int32* lengths_ptr = lengths) - { - return Delegates.glGetDebugMessageLogAMD((UInt32)count, (Int32)bufsize, (OpenTK.Graphics.OpenGL.AmdDebugOutput*)categories_ptr, (UInt32*)severities_ptr, (UInt32*)ids_ptr, (Int32*)lengths_ptr, (StringBuilder)message); - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufsize, [OutAttribute] OpenTK.Graphics.OpenGL.AmdDebugOutput[] categories, [OutAttribute] Int32[] severities, [OutAttribute] Int32[] ids, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder message); /// [requires: AMD_debug_output] /// Retrieve messages from the debug message log @@ -1295,32 +3168,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogAMD")] - public static - Int32 GetDebugMessageLog(Int32 count, Int32 bufsize, [OutAttribute] out OpenTK.Graphics.OpenGL.AmdDebugOutput categories, [OutAttribute] out Int32 severities, [OutAttribute] out Int32 ids, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.AmdDebugOutput* categories_ptr = &categories) - fixed (Int32* severities_ptr = &severities) - fixed (Int32* ids_ptr = &ids) - fixed (Int32* lengths_ptr = &lengths) - { - Int32 retval = Delegates.glGetDebugMessageLogAMD((UInt32)count, (Int32)bufsize, (OpenTK.Graphics.OpenGL.AmdDebugOutput*)categories_ptr, (UInt32*)severities_ptr, (UInt32*)ids_ptr, (Int32*)lengths_ptr, (StringBuilder)message); - categories = *categories_ptr; - severities = *severities_ptr; - ids = *ids_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufsize, [OutAttribute] out OpenTK.Graphics.OpenGL.AmdDebugOutput categories, [OutAttribute] out Int32 severities, [OutAttribute] out Int32 ids, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder message); /// [requires: AMD_debug_output] /// Retrieve messages from the debug message log @@ -1367,18 +3215,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogAMD")] - public static - unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufsize, [OutAttribute] OpenTK.Graphics.OpenGL.AmdDebugOutput* categories, [OutAttribute] Int32* severities, [OutAttribute] Int32* ids, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetDebugMessageLogAMD((UInt32)count, (Int32)bufsize, (OpenTK.Graphics.OpenGL.AmdDebugOutput*)categories, (UInt32*)severities, (UInt32*)ids, (Int32*)lengths, (StringBuilder)message); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufsize, [OutAttribute] OpenTK.Graphics.OpenGL.AmdDebugOutput* categories, [OutAttribute] Int32* severities, [OutAttribute] Int32* ids, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder message); /// [requires: AMD_debug_output] /// Retrieve messages from the debug message log @@ -1425,27 +3262,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogAMD")] - public static - Int32 GetDebugMessageLog(UInt32 count, Int32 bufsize, [OutAttribute] OpenTK.Graphics.OpenGL.AmdDebugOutput[] categories, [OutAttribute] UInt32[] severities, [OutAttribute] UInt32[] ids, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.AmdDebugOutput* categories_ptr = categories) - fixed (UInt32* severities_ptr = severities) - fixed (UInt32* ids_ptr = ids) - fixed (Int32* lengths_ptr = lengths) - { - return Delegates.glGetDebugMessageLogAMD((UInt32)count, (Int32)bufsize, (OpenTK.Graphics.OpenGL.AmdDebugOutput*)categories_ptr, (UInt32*)severities_ptr, (UInt32*)ids_ptr, (Int32*)lengths_ptr, (StringBuilder)message); - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(UInt32 count, Int32 bufsize, [OutAttribute] OpenTK.Graphics.OpenGL.AmdDebugOutput[] categories, [OutAttribute] UInt32[] severities, [OutAttribute] UInt32[] ids, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder message); /// [requires: AMD_debug_output] /// Retrieve messages from the debug message log @@ -1492,32 +3309,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogAMD")] - public static - Int32 GetDebugMessageLog(UInt32 count, Int32 bufsize, [OutAttribute] out OpenTK.Graphics.OpenGL.AmdDebugOutput categories, [OutAttribute] out UInt32 severities, [OutAttribute] out UInt32 ids, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.AmdDebugOutput* categories_ptr = &categories) - fixed (UInt32* severities_ptr = &severities) - fixed (UInt32* ids_ptr = &ids) - fixed (Int32* lengths_ptr = &lengths) - { - Int32 retval = Delegates.glGetDebugMessageLogAMD((UInt32)count, (Int32)bufsize, (OpenTK.Graphics.OpenGL.AmdDebugOutput*)categories_ptr, (UInt32*)severities_ptr, (UInt32*)ids_ptr, (Int32*)lengths_ptr, (StringBuilder)message); - categories = *categories_ptr; - severities = *severities_ptr; - ids = *ids_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(UInt32 count, Int32 bufsize, [OutAttribute] out OpenTK.Graphics.OpenGL.AmdDebugOutput categories, [OutAttribute] out UInt32 severities, [OutAttribute] out UInt32 ids, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder message); /// [requires: AMD_debug_output] /// Retrieve messages from the debug message log @@ -1564,824 +3356,199 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogAMD")] - public static - unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufsize, [OutAttribute] OpenTK.Graphics.OpenGL.AmdDebugOutput* categories, [OutAttribute] UInt32* severities, [OutAttribute] UInt32* ids, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetDebugMessageLogAMD((UInt32)count, (Int32)bufsize, (OpenTK.Graphics.OpenGL.AmdDebugOutput*)categories, (UInt32*)severities, (UInt32*)ids, (Int32*)lengths, (StringBuilder)message); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufsize, [OutAttribute] OpenTK.Graphics.OpenGL.AmdDebugOutput* categories, [OutAttribute] UInt32* severities, [OutAttribute] UInt32* ids, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder message); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static - void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] Int32[] data, [OutAttribute] out Int32 bytesWritten) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - fixed (Int32* bytesWritten_ptr = &bytesWritten) - { - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr); - bytesWritten = *bytesWritten_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] Int32[] data, [OutAttribute] out Int32 bytesWritten); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static - void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] out Int32 data, [OutAttribute] out Int32 bytesWritten) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - fixed (Int32* bytesWritten_ptr = &bytesWritten) - { - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr); - data = *data_ptr; - bytesWritten = *bytesWritten_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] out Int32 data, [OutAttribute] out Int32 bytesWritten); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static - unsafe void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] Int32* data, [OutAttribute] Int32* bytesWritten) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] Int32* data, [OutAttribute] Int32* bytesWritten); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static - void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] UInt32[] data, [OutAttribute] out Int32 bytesWritten) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* data_ptr = data) - fixed (Int32* bytesWritten_ptr = &bytesWritten) - { - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr); - bytesWritten = *bytesWritten_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] UInt32[] data, [OutAttribute] out Int32 bytesWritten); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static - void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] out UInt32 data, [OutAttribute] out Int32 bytesWritten) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* data_ptr = &data) - fixed (Int32* bytesWritten_ptr = &bytesWritten) - { - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr); - data = *data_ptr; - bytesWritten = *bytesWritten_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] out UInt32 data, [OutAttribute] out Int32 bytesWritten); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static - unsafe void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] UInt32* data, [OutAttribute] Int32* bytesWritten) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] UInt32* data, [OutAttribute] Int32* bytesWritten); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [OutAttribute] IntPtr data); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [InAttribute, OutAttribute] T3[] data) + public static extern void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [InAttribute, OutAttribute] T3[] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [InAttribute, OutAttribute] T3[,] data) + public static extern void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [InAttribute, OutAttribute] T3[,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [InAttribute, OutAttribute] T3[,,] data) + public static extern void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [InAttribute, OutAttribute] T3[,,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [InAttribute, OutAttribute] ref T3 data) + public static extern void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [InAttribute, OutAttribute] ref T3 data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T3)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [OutAttribute] IntPtr data); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [InAttribute, OutAttribute] T3[] data) + public static extern void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [InAttribute, OutAttribute] T3[] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [InAttribute, OutAttribute] T3[,] data) + public static extern void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [InAttribute, OutAttribute] T3[,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [InAttribute, OutAttribute] T3[,,] data) + public static extern void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [InAttribute, OutAttribute] T3[,,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [InAttribute, OutAttribute] ref T3 data) + public static extern void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [InAttribute, OutAttribute] ref T3 data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T3)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static - void GetPerfMonitorCounters(Int32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] Int32[] counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* numCounters_ptr = &numCounters) - fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters) - fixed (Int32* counters_ptr = counters) - { - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr); - numCounters = *numCounters_ptr; - maxActiveCounters = *maxActiveCounters_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounters(Int32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] Int32[] counters); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static - void GetPerfMonitorCounters(Int32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] out Int32 counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* numCounters_ptr = &numCounters) - fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters) - fixed (Int32* counters_ptr = &counters) - { - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr); - numCounters = *numCounters_ptr; - maxActiveCounters = *maxActiveCounters_ptr; - counters = *counters_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounters(Int32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] out Int32 counters); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static - unsafe void GetPerfMonitorCounters(Int32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] Int32* counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPerfMonitorCounters(Int32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] Int32* counters); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static - void GetPerfMonitorCounters(UInt32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32[] counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* numCounters_ptr = &numCounters) - fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters) - fixed (UInt32* counters_ptr = counters) - { - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr); - numCounters = *numCounters_ptr; - maxActiveCounters = *maxActiveCounters_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounters(UInt32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32[] counters); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static - void GetPerfMonitorCounters(UInt32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] out UInt32 counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* numCounters_ptr = &numCounters) - fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters) - fixed (UInt32* counters_ptr = &counters) - { - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr); - numCounters = *numCounters_ptr; - maxActiveCounters = *maxActiveCounters_ptr; - counters = *counters_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounters(UInt32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] out UInt32 counters); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static - unsafe void GetPerfMonitorCounters(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPerfMonitorCounters(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterStringAMD")] - public static - void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder counterString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)counterString); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder counterString); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterStringAMD")] - public static - unsafe void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (StringBuilder)counterString); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterStringAMD")] - public static - void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder counterString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)counterString); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder counterString); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorCounterStringAMD")] - public static - unsafe void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (StringBuilder)counterString); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static - void GetPerfMonitorGroups([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] Int32[] groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* numGroups_ptr = &numGroups) - fixed (Int32* groups_ptr = groups) - { - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr); - numGroups = *numGroups_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorGroups([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] Int32[] groups); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static - void GetPerfMonitorGroups([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] out Int32 groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* numGroups_ptr = &numGroups) - fixed (Int32* groups_ptr = &groups) - { - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr); - numGroups = *numGroups_ptr; - groups = *groups_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorGroups([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] out Int32 groups); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static - void GetPerfMonitorGroups([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] UInt32[] groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* numGroups_ptr = &numGroups) - fixed (UInt32* groups_ptr = groups) - { - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr); - numGroups = *numGroups_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorGroups([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] UInt32[] groups); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static - void GetPerfMonitorGroups([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] out UInt32 groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* numGroups_ptr = &numGroups) - fixed (UInt32* groups_ptr = &groups) - { - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr); - numGroups = *numGroups_ptr; - groups = *groups_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorGroups([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] out UInt32 groups); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static - unsafe void GetPerfMonitorGroups([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] Int32* groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPerfMonitorGroups([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] Int32* groups); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static - unsafe void GetPerfMonitorGroups([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPerfMonitorGroups([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupStringAMD")] - public static - void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder groupString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)groupString); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder groupString); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupStringAMD")] - public static - unsafe void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (StringBuilder)groupString); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupStringAMD")] - public static - void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder groupString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)groupString); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder groupString); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glGetPerfMonitorGroupStringAMD")] - public static - unsafe void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (StringBuilder)groupString); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString); /// [requires: AMD_name_gen_delete] [AutoGenerated(Category = "AMD_name_gen_delete", Version = "", EntryPoint = "glIsNameAMD")] - public static - bool IsName(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, Int32 name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsNameAMD((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)name); - #if DEBUG - } - #endif - } + public static extern bool IsName(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, Int32 name); /// [requires: AMD_name_gen_delete] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_name_gen_delete", Version = "", EntryPoint = "glIsNameAMD")] - public static - bool IsName(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsNameAMD((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)name); - #if DEBUG - } - #endif - } + public static extern bool IsName(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 name); /// [requires: AMD_multi_draw_indirect] /// Render multiple sets of primitives from array data, taking parameters from memory @@ -2407,18 +3574,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_multi_draw_indirect", Version = "", EntryPoint = "glMultiDrawArraysIndirectAMD")] - public static - void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, IntPtr indirect, Int32 primcount, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawArraysIndirectAMD((OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)mode, (IntPtr)indirect, (Int32)primcount, (Int32)stride); - #if DEBUG - } - #endif - } + public static extern void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, IntPtr indirect, Int32 primcount, Int32 stride); /// [requires: AMD_multi_draw_indirect] /// Render multiple sets of primitives from array data, taking parameters from memory @@ -2444,27 +3600,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_multi_draw_indirect", Version = "", EntryPoint = "glMultiDrawArraysIndirectAMD")] - public static - void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, [InAttribute, OutAttribute] T1[] indirect, Int32 primcount, Int32 stride) + public static extern void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, [InAttribute, OutAttribute] T1[] indirect, Int32 primcount, Int32 stride) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawArraysIndirectAMD((OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)stride); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_multi_draw_indirect] /// Render multiple sets of primitives from array data, taking parameters from memory @@ -2490,27 +3628,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_multi_draw_indirect", Version = "", EntryPoint = "glMultiDrawArraysIndirectAMD")] - public static - void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, [InAttribute, OutAttribute] T1[,] indirect, Int32 primcount, Int32 stride) + public static extern void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, [InAttribute, OutAttribute] T1[,] indirect, Int32 primcount, Int32 stride) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawArraysIndirectAMD((OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)stride); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_multi_draw_indirect] /// Render multiple sets of primitives from array data, taking parameters from memory @@ -2536,27 +3656,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_multi_draw_indirect", Version = "", EntryPoint = "glMultiDrawArraysIndirectAMD")] - public static - void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, [InAttribute, OutAttribute] T1[,,] indirect, Int32 primcount, Int32 stride) + public static extern void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, [InAttribute, OutAttribute] T1[,,] indirect, Int32 primcount, Int32 stride) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawArraysIndirectAMD((OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)stride); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_multi_draw_indirect] /// Render multiple sets of primitives from array data, taking parameters from memory @@ -2582,28 +3684,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_multi_draw_indirect", Version = "", EntryPoint = "glMultiDrawArraysIndirectAMD")] - public static - void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, [InAttribute, OutAttribute] ref T1 indirect, Int32 primcount, Int32 stride) + public static extern void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, [InAttribute, OutAttribute] ref T1 indirect, Int32 primcount, Int32 stride) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawArraysIndirectAMD((OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)stride); - indirect = (T1)indirect_ptr.Target; - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_multi_draw_indirect] /// Render indexed primitives from array data, taking parameters from memory @@ -2634,18 +3717,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_multi_draw_indirect", Version = "", EntryPoint = "glMultiDrawElementsIndirectAMD")] - public static - void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect type, IntPtr indirect, Int32 primcount, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawElementsIndirectAMD((OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)mode, (OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)type, (IntPtr)indirect, (Int32)primcount, (Int32)stride); - #if DEBUG - } - #endif - } + public static extern void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect type, IntPtr indirect, Int32 primcount, Int32 stride); /// [requires: AMD_multi_draw_indirect] /// Render indexed primitives from array data, taking parameters from memory @@ -2676,27 +3748,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_multi_draw_indirect", Version = "", EntryPoint = "glMultiDrawElementsIndirectAMD")] - public static - void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect type, [InAttribute, OutAttribute] T2[] indirect, Int32 primcount, Int32 stride) + public static extern void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect type, [InAttribute, OutAttribute] T2[] indirect, Int32 primcount, Int32 stride) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsIndirectAMD((OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)mode, (OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)stride); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_multi_draw_indirect] /// Render indexed primitives from array data, taking parameters from memory @@ -2727,27 +3781,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_multi_draw_indirect", Version = "", EntryPoint = "glMultiDrawElementsIndirectAMD")] - public static - void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect type, [InAttribute, OutAttribute] T2[,] indirect, Int32 primcount, Int32 stride) + public static extern void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect type, [InAttribute, OutAttribute] T2[,] indirect, Int32 primcount, Int32 stride) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsIndirectAMD((OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)mode, (OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)stride); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_multi_draw_indirect] /// Render indexed primitives from array data, taking parameters from memory @@ -2778,27 +3814,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_multi_draw_indirect", Version = "", EntryPoint = "glMultiDrawElementsIndirectAMD")] - public static - void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect type, [InAttribute, OutAttribute] T2[,,] indirect, Int32 primcount, Int32 stride) + public static extern void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect type, [InAttribute, OutAttribute] T2[,,] indirect, Int32 primcount, Int32 stride) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsIndirectAMD((OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)mode, (OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)stride); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_multi_draw_indirect] /// Render indexed primitives from array data, taking parameters from memory @@ -2829,467 +3847,123 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "AMD_multi_draw_indirect", Version = "", EntryPoint = "glMultiDrawElementsIndirectAMD")] - public static - void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect type, [InAttribute, OutAttribute] ref T2 indirect, Int32 primcount, Int32 stride) + public static extern void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect type, [InAttribute, OutAttribute] ref T2 indirect, Int32 primcount, Int32 stride) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsIndirectAMD((OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)mode, (OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)stride); - indirect = (T2)indirect_ptr.Target; - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: AMD_occlusion_query_event] [AutoGenerated(Category = "AMD_occlusion_query_event", Version = "", EntryPoint = "glQueryObjectParameteruiAMD")] - public static - void QueryObjectParameter(OpenTK.Graphics.OpenGL.AmdOcclusionQueryEvent target, Int32 id, OpenTK.Graphics.OpenGL.AmdOcclusionQueryEvent pname, OpenTK.Graphics.OpenGL.OcclusionQueryEventMaskAmd param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glQueryObjectParameteruiAMD((OpenTK.Graphics.OpenGL.AmdOcclusionQueryEvent)target, (UInt32)id, (OpenTK.Graphics.OpenGL.AmdOcclusionQueryEvent)pname, (OpenTK.Graphics.OpenGL.OcclusionQueryEventMaskAmd)param); - #if DEBUG - } - #endif - } + public static extern void QueryObjectParameter(OpenTK.Graphics.OpenGL.AmdOcclusionQueryEvent target, Int32 id, OpenTK.Graphics.OpenGL.AmdOcclusionQueryEvent pname, OpenTK.Graphics.OpenGL.OcclusionQueryEventMaskAmd param); /// [requires: AMD_occlusion_query_event] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_occlusion_query_event", Version = "", EntryPoint = "glQueryObjectParameteruiAMD")] - public static - void QueryObjectParameter(OpenTK.Graphics.OpenGL.AmdOcclusionQueryEvent target, UInt32 id, OpenTK.Graphics.OpenGL.AmdOcclusionQueryEvent pname, OpenTK.Graphics.OpenGL.OcclusionQueryEventMaskAmd param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glQueryObjectParameteruiAMD((OpenTK.Graphics.OpenGL.AmdOcclusionQueryEvent)target, (UInt32)id, (OpenTK.Graphics.OpenGL.AmdOcclusionQueryEvent)pname, (OpenTK.Graphics.OpenGL.OcclusionQueryEventMaskAmd)param); - #if DEBUG - } - #endif - } + public static extern void QueryObjectParameter(OpenTK.Graphics.OpenGL.AmdOcclusionQueryEvent target, UInt32 id, OpenTK.Graphics.OpenGL.AmdOcclusionQueryEvent pname, OpenTK.Graphics.OpenGL.OcclusionQueryEventMaskAmd param); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static - void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [OutAttribute] Int32[] counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* counterList_ptr = counterList) - { - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [OutAttribute] Int32[] counterList); /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static - void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [OutAttribute] out Int32 counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* counterList_ptr = &counterList) - { - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr); - counterList = *counterList_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [OutAttribute] out Int32 counterList); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static - unsafe void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [OutAttribute] Int32* counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList); - #if DEBUG - } - #endif - } + public static extern unsafe void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [OutAttribute] Int32* counterList); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static - void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32[] counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* counterList_ptr = counterList) - { - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32[] counterList); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static - void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] out UInt32 counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* counterList_ptr = &counterList) - { - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr); - counterList = *counterList_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] out UInt32 counterList); /// [requires: AMD_performance_monitor] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static - unsafe void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32* counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList); - #if DEBUG - } - #endif - } + public static extern unsafe void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32* counterList); /// [requires: AMD_sample_positions] [AutoGenerated(Category = "AMD_sample_positions", Version = "", EntryPoint = "glSetMultisamplefvAMD")] - public static - void SetMultisample(OpenTK.Graphics.OpenGL.AmdSamplePositions pname, Int32 index, Single[] val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* val_ptr = val) - { - Delegates.glSetMultisamplefvAMD((OpenTK.Graphics.OpenGL.AmdSamplePositions)pname, (UInt32)index, (Single*)val_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SetMultisample(OpenTK.Graphics.OpenGL.AmdSamplePositions pname, Int32 index, Single[] val); /// [requires: AMD_sample_positions] [AutoGenerated(Category = "AMD_sample_positions", Version = "", EntryPoint = "glSetMultisamplefvAMD")] - public static - void SetMultisample(OpenTK.Graphics.OpenGL.AmdSamplePositions pname, Int32 index, ref Single val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* val_ptr = &val) - { - Delegates.glSetMultisamplefvAMD((OpenTK.Graphics.OpenGL.AmdSamplePositions)pname, (UInt32)index, (Single*)val_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SetMultisample(OpenTK.Graphics.OpenGL.AmdSamplePositions pname, Int32 index, ref Single val); /// [requires: AMD_sample_positions] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_sample_positions", Version = "", EntryPoint = "glSetMultisamplefvAMD")] - public static - unsafe void SetMultisample(OpenTK.Graphics.OpenGL.AmdSamplePositions pname, Int32 index, Single* val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSetMultisamplefvAMD((OpenTK.Graphics.OpenGL.AmdSamplePositions)pname, (UInt32)index, (Single*)val); - #if DEBUG - } - #endif - } + public static extern unsafe void SetMultisample(OpenTK.Graphics.OpenGL.AmdSamplePositions pname, Int32 index, Single* val); /// [requires: AMD_sample_positions] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_sample_positions", Version = "", EntryPoint = "glSetMultisamplefvAMD")] - public static - void SetMultisample(OpenTK.Graphics.OpenGL.AmdSamplePositions pname, UInt32 index, Single[] val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* val_ptr = val) - { - Delegates.glSetMultisamplefvAMD((OpenTK.Graphics.OpenGL.AmdSamplePositions)pname, (UInt32)index, (Single*)val_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SetMultisample(OpenTK.Graphics.OpenGL.AmdSamplePositions pname, UInt32 index, Single[] val); /// [requires: AMD_sample_positions] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_sample_positions", Version = "", EntryPoint = "glSetMultisamplefvAMD")] - public static - void SetMultisample(OpenTK.Graphics.OpenGL.AmdSamplePositions pname, UInt32 index, ref Single val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* val_ptr = &val) - { - Delegates.glSetMultisamplefvAMD((OpenTK.Graphics.OpenGL.AmdSamplePositions)pname, (UInt32)index, (Single*)val_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SetMultisample(OpenTK.Graphics.OpenGL.AmdSamplePositions pname, UInt32 index, ref Single val); /// [requires: AMD_sample_positions] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_sample_positions", Version = "", EntryPoint = "glSetMultisamplefvAMD")] - public static - unsafe void SetMultisample(OpenTK.Graphics.OpenGL.AmdSamplePositions pname, UInt32 index, Single* val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSetMultisamplefvAMD((OpenTK.Graphics.OpenGL.AmdSamplePositions)pname, (UInt32)index, (Single*)val); - #if DEBUG - } - #endif - } + public static extern unsafe void SetMultisample(OpenTK.Graphics.OpenGL.AmdSamplePositions pname, UInt32 index, Single* val); /// [requires: AMD_stencil_operation_extended] [AutoGenerated(Category = "AMD_stencil_operation_extended", Version = "", EntryPoint = "glStencilOpValueAMD")] - public static - void StencilOpValue(OpenTK.Graphics.OpenGL.AmdStencilOperationExtended face, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilOpValueAMD((OpenTK.Graphics.OpenGL.AmdStencilOperationExtended)face, (UInt32)value); - #if DEBUG - } - #endif - } + public static extern void StencilOpValue(OpenTK.Graphics.OpenGL.AmdStencilOperationExtended face, Int32 value); /// [requires: AMD_stencil_operation_extended] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_stencil_operation_extended", Version = "", EntryPoint = "glStencilOpValueAMD")] - public static - void StencilOpValue(OpenTK.Graphics.OpenGL.AmdStencilOperationExtended face, UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilOpValueAMD((OpenTK.Graphics.OpenGL.AmdStencilOperationExtended)face, (UInt32)value); - #if DEBUG - } - #endif - } + public static extern void StencilOpValue(OpenTK.Graphics.OpenGL.AmdStencilOperationExtended face, UInt32 value); /// [requires: AMD_vertex_shader_tessellator] [AutoGenerated(Category = "AMD_vertex_shader_tessellator", Version = "", EntryPoint = "glTessellationFactorAMD")] - public static - void TessellationFactor(Single factor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTessellationFactorAMD((Single)factor); - #if DEBUG - } - #endif - } + public static extern void TessellationFactor(Single factor); /// [requires: AMD_vertex_shader_tessellator] [Obsolete("Use AmdVertexShaderTessellator overload instead")] [AutoGenerated(Category = "AMD_vertex_shader_tessellator", Version = "", EntryPoint = "glTessellationModeAMD")] - public static - void TessellationMode(OpenTK.Graphics.OpenGL.AmdVertexShaderTesselator mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTessellationModeAMD((OpenTK.Graphics.OpenGL.AmdVertexShaderTessellator)mode); - #if DEBUG - } - #endif - } + public static extern void TessellationMode(OpenTK.Graphics.OpenGL.AmdVertexShaderTesselator mode); /// [requires: AMD_vertex_shader_tessellator] [AutoGenerated(Category = "AMD_vertex_shader_tessellator", Version = "", EntryPoint = "glTessellationModeAMD")] - public static - void TessellationMode(OpenTK.Graphics.OpenGL.AmdVertexShaderTessellator mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTessellationModeAMD((OpenTK.Graphics.OpenGL.AmdVertexShaderTessellator)mode); - #if DEBUG - } - #endif - } + public static extern void TessellationMode(OpenTK.Graphics.OpenGL.AmdVertexShaderTessellator mode); /// [requires: AMD_sparse_texture] [AutoGenerated(Category = "AMD_sparse_texture", Version = "", EntryPoint = "glTexStorageSparseAMD")] - public static - void TexStorageSparse(OpenTK.Graphics.OpenGL.AmdSparseTexture target, OpenTK.Graphics.OpenGL.AmdSparseTexture internalFormat, Int32 width, Int32 height, Int32 depth, Int32 layers, Int32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexStorageSparseAMD((OpenTK.Graphics.OpenGL.AmdSparseTexture)target, (OpenTK.Graphics.OpenGL.AmdSparseTexture)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (Int32)layers, (UInt32)flags); - #if DEBUG - } - #endif - } + public static extern void TexStorageSparse(OpenTK.Graphics.OpenGL.AmdSparseTexture target, OpenTK.Graphics.OpenGL.AmdSparseTexture internalFormat, Int32 width, Int32 height, Int32 depth, Int32 layers, Int32 flags); /// [requires: AMD_sparse_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_sparse_texture", Version = "", EntryPoint = "glTexStorageSparseAMD")] - public static - void TexStorageSparse(OpenTK.Graphics.OpenGL.AmdSparseTexture target, OpenTK.Graphics.OpenGL.AmdSparseTexture internalFormat, Int32 width, Int32 height, Int32 depth, Int32 layers, UInt32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexStorageSparseAMD((OpenTK.Graphics.OpenGL.AmdSparseTexture)target, (OpenTK.Graphics.OpenGL.AmdSparseTexture)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (Int32)layers, (UInt32)flags); - #if DEBUG - } - #endif - } + public static extern void TexStorageSparse(OpenTK.Graphics.OpenGL.AmdSparseTexture target, OpenTK.Graphics.OpenGL.AmdSparseTexture internalFormat, Int32 width, Int32 height, Int32 depth, Int32 layers, UInt32 flags); /// [requires: AMD_sparse_texture] [AutoGenerated(Category = "AMD_sparse_texture", Version = "", EntryPoint = "glTextureStorageSparseAMD")] - public static - void TextureStorageSparse(Int32 texture, OpenTK.Graphics.OpenGL.AmdSparseTexture target, OpenTK.Graphics.OpenGL.AmdSparseTexture internalFormat, Int32 width, Int32 height, Int32 depth, Int32 layers, Int32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureStorageSparseAMD((UInt32)texture, (OpenTK.Graphics.OpenGL.AmdSparseTexture)target, (OpenTK.Graphics.OpenGL.AmdSparseTexture)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (Int32)layers, (UInt32)flags); - #if DEBUG - } - #endif - } + public static extern void TextureStorageSparse(Int32 texture, OpenTK.Graphics.OpenGL.AmdSparseTexture target, OpenTK.Graphics.OpenGL.AmdSparseTexture internalFormat, Int32 width, Int32 height, Int32 depth, Int32 layers, Int32 flags); /// [requires: AMD_sparse_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_sparse_texture", Version = "", EntryPoint = "glTextureStorageSparseAMD")] - public static - void TextureStorageSparse(UInt32 texture, OpenTK.Graphics.OpenGL.AmdSparseTexture target, OpenTK.Graphics.OpenGL.AmdSparseTexture internalFormat, Int32 width, Int32 height, Int32 depth, Int32 layers, UInt32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureStorageSparseAMD((UInt32)texture, (OpenTK.Graphics.OpenGL.AmdSparseTexture)target, (OpenTK.Graphics.OpenGL.AmdSparseTexture)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (Int32)layers, (UInt32)flags); - #if DEBUG - } - #endif - } + public static extern void TextureStorageSparse(UInt32 texture, OpenTK.Graphics.OpenGL.AmdSparseTexture target, OpenTK.Graphics.OpenGL.AmdSparseTexture internalFormat, Int32 width, Int32 height, Int32 depth, Int32 layers, UInt32 flags); /// [requires: AMD_interleaved_elements] [AutoGenerated(Category = "AMD_interleaved_elements", Version = "", EntryPoint = "glVertexAttribParameteriAMD")] - public static - void VertexAttribParameter(Int32 index, OpenTK.Graphics.OpenGL.AmdInterleavedElements pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribParameteriAMD((UInt32)index, (OpenTK.Graphics.OpenGL.AmdInterleavedElements)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void VertexAttribParameter(Int32 index, OpenTK.Graphics.OpenGL.AmdInterleavedElements pname, Int32 param); /// [requires: AMD_interleaved_elements] [System.CLSCompliant(false)] [AutoGenerated(Category = "AMD_interleaved_elements", Version = "", EntryPoint = "glVertexAttribParameteriAMD")] - public static - void VertexAttribParameter(UInt32 index, OpenTK.Graphics.OpenGL.AmdInterleavedElements pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribParameteriAMD((UInt32)index, (OpenTK.Graphics.OpenGL.AmdInterleavedElements)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void VertexAttribParameter(UInt32 index, OpenTK.Graphics.OpenGL.AmdInterleavedElements pname, Int32 param); } @@ -3304,18 +3978,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glBindVertexArrayAPPLE")] - public static - void BindVertexArray(Int32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindVertexArrayAPPLE((UInt32)array); - #if DEBUG - } - #endif - } + public static extern void BindVertexArray(Int32 array); /// [requires: APPLE_vertex_array_object] /// Bind a vertex array object @@ -3327,233 +3990,57 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glBindVertexArrayAPPLE")] - public static - void BindVertexArray(UInt32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindVertexArrayAPPLE((UInt32)array); - #if DEBUG - } - #endif - } + public static extern void BindVertexArray(UInt32 array); /// [requires: APPLE_flush_buffer_range] [AutoGenerated(Category = "APPLE_flush_buffer_range", Version = "", EntryPoint = "glBufferParameteriAPPLE")] - public static - void BufferParameter(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterApple pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBufferParameteriAPPLE((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferParameterApple)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void BufferParameter(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterApple pname, Int32 param); /// [requires: APPLE_fence] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glDeleteFencesAPPLE")] - public static - void DeleteFence(Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* fences_ptr = (UInt32*)&fences; - Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteFence(Int32 fences); /// [requires: APPLE_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glDeleteFencesAPPLE")] - public static - void DeleteFence(UInt32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* fences_ptr = (UInt32*)&fences; - Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteFence(UInt32 fences); /// [requires: APPLE_fence] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glDeleteFencesAPPLE")] - public static - void DeleteFences(Int32 n, Int32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = fences) - { - Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFences(Int32 n, Int32[] fences); /// [requires: APPLE_fence] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glDeleteFencesAPPLE")] - public static - void DeleteFences(Int32 n, ref Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = &fences) - { - Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFences(Int32 n, ref Int32 fences); /// [requires: APPLE_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glDeleteFencesAPPLE")] - public static - unsafe void DeleteFences(Int32 n, Int32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteFences(Int32 n, Int32* fences); /// [requires: APPLE_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glDeleteFencesAPPLE")] - public static - void DeleteFences(Int32 n, UInt32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = fences) - { - Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFences(Int32 n, UInt32[] fences); /// [requires: APPLE_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glDeleteFencesAPPLE")] - public static - void DeleteFences(Int32 n, ref UInt32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = &fences) - { - Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFences(Int32 n, ref UInt32 fences); /// [requires: APPLE_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glDeleteFencesAPPLE")] - public static - unsafe void DeleteFences(Int32 n, UInt32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteFences(Int32 n, UInt32* fences); /// [requires: APPLE_vertex_array_object] [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysAPPLE")] - public static - void DeleteVertexArray(Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* arrays_ptr = (UInt32*)&arrays; - Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArray(Int32 arrays); /// [requires: APPLE_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysAPPLE")] - public static - void DeleteVertexArray(UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* arrays_ptr = (UInt32*)&arrays; - Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArray(UInt32 arrays); /// [requires: APPLE_vertex_array_object] /// Delete vertex array objects @@ -3569,24 +4056,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysAPPLE")] - public static - void DeleteVertexArrays(Int32 n, Int32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArrays(Int32 n, Int32[] arrays); /// [requires: APPLE_vertex_array_object] /// Delete vertex array objects @@ -3602,24 +4072,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysAPPLE")] - public static - void DeleteVertexArrays(Int32 n, ref Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = &arrays) - { - Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArrays(Int32 n, ref Int32 arrays); /// [requires: APPLE_vertex_array_object] /// Delete vertex array objects @@ -3636,18 +4089,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysAPPLE")] - public static - unsafe void DeleteVertexArrays(Int32 n, Int32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteVertexArrays(Int32 n, Int32* arrays); /// [requires: APPLE_vertex_array_object] /// Delete vertex array objects @@ -3664,24 +4106,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysAPPLE")] - public static - void DeleteVertexArrays(Int32 n, UInt32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = arrays) - { - Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArrays(Int32 n, UInt32[] arrays); /// [requires: APPLE_vertex_array_object] /// Delete vertex array objects @@ -3698,24 +4123,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysAPPLE")] - public static - void DeleteVertexArrays(Int32 n, ref UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = &arrays) - { - Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArrays(Int32 n, ref UInt32 arrays); /// [requires: APPLE_vertex_array_object] /// Delete vertex array objects @@ -3732,333 +4140,95 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysAPPLE")] - public static - unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays); /// [requires: APPLE_vertex_program_evaluators] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glDisableVertexAttribAPPLE")] - public static - void DisableVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableVertexAttribAPPLE((UInt32)index, (OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators)pname); - #if DEBUG - } - #endif - } + public static extern void DisableVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname); /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glDisableVertexAttribAPPLE")] - public static - void DisableVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableVertexAttribAPPLE((UInt32)index, (OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators)pname); - #if DEBUG - } - #endif - } + public static extern void DisableVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname); /// [requires: APPLE_element_array] [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glDrawElementArrayAPPLE")] - public static - void DrawElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count); - #if DEBUG - } - #endif - } + public static extern void DrawElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count); /// [requires: APPLE_element_array] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glDrawElementArrayAPPLE")] - public static - void DrawElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count); - #if DEBUG - } - #endif - } + public static extern void DrawElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count); /// [requires: APPLE_element_array] [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glDrawRangeElementArrayAPPLE")] - public static - void DrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)first, (Int32)count); - #if DEBUG - } - #endif - } + public static extern void DrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 first, Int32 count); /// [requires: APPLE_element_array] [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glDrawRangeElementArrayAPPLE")] - public static - void DrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)first, (Int32)count); - #if DEBUG - } - #endif - } + public static extern void DrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 first, Int32 count); /// [requires: APPLE_element_array] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glDrawRangeElementArrayAPPLE")] - public static - void DrawRangeElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)first, (Int32)count); - #if DEBUG - } - #endif - } + public static extern void DrawRangeElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 first, Int32 count); /// [requires: APPLE_element_array] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glDrawRangeElementArrayAPPLE")] - public static - void DrawRangeElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)first, (Int32)count); - #if DEBUG - } - #endif - } + public static extern void DrawRangeElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 first, Int32 count); /// [requires: APPLE_element_array] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glElementPointerAPPLE")] - public static - void ElementPointer(OpenTK.Graphics.OpenGL.AppleElementArray type, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glElementPointerAPPLE((OpenTK.Graphics.OpenGL.AppleElementArray)type, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void ElementPointer(OpenTK.Graphics.OpenGL.AppleElementArray type, IntPtr pointer); /// [requires: APPLE_element_array] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glElementPointerAPPLE")] - public static - void ElementPointer(OpenTK.Graphics.OpenGL.AppleElementArray type, [InAttribute, OutAttribute] T1[] pointer) + public static extern void ElementPointer(OpenTK.Graphics.OpenGL.AppleElementArray type, [InAttribute, OutAttribute] T1[] pointer) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glElementPointerAPPLE((OpenTK.Graphics.OpenGL.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: APPLE_element_array] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glElementPointerAPPLE")] - public static - void ElementPointer(OpenTK.Graphics.OpenGL.AppleElementArray type, [InAttribute, OutAttribute] T1[,] pointer) + public static extern void ElementPointer(OpenTK.Graphics.OpenGL.AppleElementArray type, [InAttribute, OutAttribute] T1[,] pointer) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glElementPointerAPPLE((OpenTK.Graphics.OpenGL.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: APPLE_element_array] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glElementPointerAPPLE")] - public static - void ElementPointer(OpenTK.Graphics.OpenGL.AppleElementArray type, [InAttribute, OutAttribute] T1[,,] pointer) + public static extern void ElementPointer(OpenTK.Graphics.OpenGL.AppleElementArray type, [InAttribute, OutAttribute] T1[,,] pointer) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glElementPointerAPPLE((OpenTK.Graphics.OpenGL.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: APPLE_element_array] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glElementPointerAPPLE")] - public static - void ElementPointer(OpenTK.Graphics.OpenGL.AppleElementArray type, [InAttribute, OutAttribute] ref T1 pointer) + public static extern void ElementPointer(OpenTK.Graphics.OpenGL.AppleElementArray type, [InAttribute, OutAttribute] ref T1 pointer) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glElementPointerAPPLE((OpenTK.Graphics.OpenGL.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T1)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: APPLE_vertex_program_evaluators] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glEnableVertexAttribAPPLE")] - public static - void EnableVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableVertexAttribAPPLE((UInt32)index, (OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators)pname); - #if DEBUG - } - #endif - } + public static extern void EnableVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname); /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glEnableVertexAttribAPPLE")] - public static - void EnableVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableVertexAttribAPPLE((UInt32)index, (OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators)pname); - #if DEBUG - } - #endif - } + public static extern void EnableVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname); /// [requires: APPLE_fence] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glFinishFenceAPPLE")] - public static - void FinishFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFinishFenceAPPLE((UInt32)fence); - #if DEBUG - } - #endif - } + public static extern void FinishFence(Int32 fence); /// [requires: APPLE_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glFinishFenceAPPLE")] - public static - void FinishFence(UInt32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFinishFenceAPPLE((UInt32)fence); - #if DEBUG - } - #endif - } + public static extern void FinishFence(UInt32 fence); /// [requires: APPLE_fence] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glFinishObjectAPPLE")] - public static - void FinishObject(OpenTK.Graphics.OpenGL.AppleFence @object, Int32 name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFinishObjectAPPLE((OpenTK.Graphics.OpenGL.AppleFence)@object, (Int32)name); - #if DEBUG - } - #endif - } + public static extern void FinishObject(OpenTK.Graphics.OpenGL.AppleFence @object, Int32 name); /// [requires: APPLE_flush_buffer_range] /// Indicate modifications to a range of a mapped buffer @@ -4079,294 +4249,71 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "APPLE_flush_buffer_range", Version = "", EntryPoint = "glFlushMappedBufferRangeAPPLE")] - public static - void FlushMappedBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFlushMappedBufferRangeAPPLE((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } + public static extern void FlushMappedBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size); /// [requires: APPLE_vertex_array_range] [AutoGenerated(Category = "APPLE_vertex_array_range", Version = "", EntryPoint = "glFlushVertexArrayRangeAPPLE")] - public static - void FlushVertexArrayRange(Int32 length, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void FlushVertexArrayRange(Int32 length, [OutAttribute] IntPtr pointer); /// [requires: APPLE_vertex_array_range] [AutoGenerated(Category = "APPLE_vertex_array_range", Version = "", EntryPoint = "glFlushVertexArrayRangeAPPLE")] - public static - void FlushVertexArrayRange(Int32 length, [InAttribute, OutAttribute] T1[] pointer) + public static extern void FlushVertexArrayRange(Int32 length, [InAttribute, OutAttribute] T1[] pointer) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: APPLE_vertex_array_range] [AutoGenerated(Category = "APPLE_vertex_array_range", Version = "", EntryPoint = "glFlushVertexArrayRangeAPPLE")] - public static - void FlushVertexArrayRange(Int32 length, [InAttribute, OutAttribute] T1[,] pointer) + public static extern void FlushVertexArrayRange(Int32 length, [InAttribute, OutAttribute] T1[,] pointer) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: APPLE_vertex_array_range] [AutoGenerated(Category = "APPLE_vertex_array_range", Version = "", EntryPoint = "glFlushVertexArrayRangeAPPLE")] - public static - void FlushVertexArrayRange(Int32 length, [InAttribute, OutAttribute] T1[,,] pointer) + public static extern void FlushVertexArrayRange(Int32 length, [InAttribute, OutAttribute] T1[,,] pointer) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: APPLE_vertex_array_range] [AutoGenerated(Category = "APPLE_vertex_array_range", Version = "", EntryPoint = "glFlushVertexArrayRangeAPPLE")] - public static - void FlushVertexArrayRange(Int32 length, [InAttribute, OutAttribute] ref T1 pointer) + public static extern void FlushVertexArrayRange(Int32 length, [InAttribute, OutAttribute] ref T1 pointer) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T1)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: APPLE_fence] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glGenFencesAPPLE")] - public static - Int32 GenFence() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* fences_ptr = &retval; - Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenFence(); /// [requires: APPLE_fence] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glGenFencesAPPLE")] - public static - void GenFences(Int32 n, [OutAttribute] Int32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = fences) - { - Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenFences(Int32 n, [OutAttribute] Int32[] fences); /// [requires: APPLE_fence] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glGenFencesAPPLE")] - public static - void GenFences(Int32 n, [OutAttribute] out Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = &fences) - { - Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr); - fences = *fences_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenFences(Int32 n, [OutAttribute] out Int32 fences); /// [requires: APPLE_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glGenFencesAPPLE")] - public static - unsafe void GenFences(Int32 n, [OutAttribute] Int32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences); - #if DEBUG - } - #endif - } + public static extern unsafe void GenFences(Int32 n, [OutAttribute] Int32* fences); /// [requires: APPLE_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glGenFencesAPPLE")] - public static - void GenFences(Int32 n, [OutAttribute] UInt32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = fences) - { - Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenFences(Int32 n, [OutAttribute] UInt32[] fences); /// [requires: APPLE_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glGenFencesAPPLE")] - public static - void GenFences(Int32 n, [OutAttribute] out UInt32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = &fences) - { - Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr); - fences = *fences_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenFences(Int32 n, [OutAttribute] out UInt32 fences); /// [requires: APPLE_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glGenFencesAPPLE")] - public static - unsafe void GenFences(Int32 n, [OutAttribute] UInt32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences); - #if DEBUG - } - #endif - } + public static extern unsafe void GenFences(Int32 n, [OutAttribute] UInt32* fences); /// [requires: APPLE_vertex_array_object] [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysAPPLE")] - public static - Int32 GenVertexArray() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* arrays_ptr = &retval; - Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenVertexArray(); /// [requires: APPLE_vertex_array_object] /// Generate vertex array object names @@ -4382,24 +4329,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysAPPLE")] - public static - void GenVertexArrays(Int32 n, [OutAttribute] Int32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenVertexArrays(Int32 n, [OutAttribute] Int32[] arrays); /// [requires: APPLE_vertex_array_object] /// Generate vertex array object names @@ -4415,25 +4345,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysAPPLE")] - public static - void GenVertexArrays(Int32 n, [OutAttribute] out Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = &arrays) - { - Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); - arrays = *arrays_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenVertexArrays(Int32 n, [OutAttribute] out Int32 arrays); /// [requires: APPLE_vertex_array_object] /// Generate vertex array object names @@ -4450,18 +4362,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysAPPLE")] - public static - unsafe void GenVertexArrays(Int32 n, [OutAttribute] Int32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } + public static extern unsafe void GenVertexArrays(Int32 n, [OutAttribute] Int32* arrays); /// [requires: APPLE_vertex_array_object] /// Generate vertex array object names @@ -4478,24 +4379,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysAPPLE")] - public static - void GenVertexArrays(Int32 n, [OutAttribute] UInt32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = arrays) - { - Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenVertexArrays(Int32 n, [OutAttribute] UInt32[] arrays); /// [requires: APPLE_vertex_array_object] /// Generate vertex array object names @@ -4512,25 +4396,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysAPPLE")] - public static - void GenVertexArrays(Int32 n, [OutAttribute] out UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = &arrays) - { - Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); - arrays = *arrays_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenVertexArrays(Int32 n, [OutAttribute] out UInt32 arrays); /// [requires: APPLE_vertex_array_object] /// Generate vertex array object names @@ -4547,281 +4413,72 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysAPPLE")] - public static - unsafe void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } + public static extern unsafe void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays); /// [requires: APPLE_object_purgeable] [AutoGenerated(Category = "APPLE_object_purgeable", Version = "", EntryPoint = "glGetObjectParameterivAPPLE")] - public static - void GetObjectParameter(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, Int32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetObjectParameterivAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectParameter(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, Int32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable pname, [OutAttribute] Int32[] @params); /// [requires: APPLE_object_purgeable] [AutoGenerated(Category = "APPLE_object_purgeable", Version = "", EntryPoint = "glGetObjectParameterivAPPLE")] - public static - void GetObjectParameter(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, Int32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetObjectParameterivAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectParameter(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, Int32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable pname, [OutAttribute] out Int32 @params); /// [requires: APPLE_object_purgeable] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_object_purgeable", Version = "", EntryPoint = "glGetObjectParameterivAPPLE")] - public static - unsafe void GetObjectParameter(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, Int32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectParameterivAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectParameter(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, Int32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable pname, [OutAttribute] Int32* @params); /// [requires: APPLE_object_purgeable] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_object_purgeable", Version = "", EntryPoint = "glGetObjectParameterivAPPLE")] - public static - void GetObjectParameter(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetObjectParameterivAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectParameter(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable pname, [OutAttribute] Int32[] @params); /// [requires: APPLE_object_purgeable] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_object_purgeable", Version = "", EntryPoint = "glGetObjectParameterivAPPLE")] - public static - void GetObjectParameter(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetObjectParameterivAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectParameter(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable pname, [OutAttribute] out Int32 @params); /// [requires: APPLE_object_purgeable] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_object_purgeable", Version = "", EntryPoint = "glGetObjectParameterivAPPLE")] - public static - unsafe void GetObjectParameter(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectParameterivAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectParameter(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable pname, [OutAttribute] Int32* @params); /// [requires: APPLE_texture_range] [AutoGenerated(Category = "APPLE_texture_range", Version = "", EntryPoint = "glGetTexParameterPointervAPPLE")] - public static - void GetTexParameterPointer(OpenTK.Graphics.OpenGL.AppleTextureRange target, OpenTK.Graphics.OpenGL.AppleTextureRange pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameterPointervAPPLE((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (OpenTK.Graphics.OpenGL.AppleTextureRange)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } + public static extern void GetTexParameterPointer(OpenTK.Graphics.OpenGL.AppleTextureRange target, OpenTK.Graphics.OpenGL.AppleTextureRange pname, [OutAttribute] IntPtr @params); /// [requires: APPLE_texture_range] [AutoGenerated(Category = "APPLE_texture_range", Version = "", EntryPoint = "glGetTexParameterPointervAPPLE")] - public static - void GetTexParameterPointer(OpenTK.Graphics.OpenGL.AppleTextureRange target, OpenTK.Graphics.OpenGL.AppleTextureRange pname, [InAttribute, OutAttribute] T2[] @params) + public static extern void GetTexParameterPointer(OpenTK.Graphics.OpenGL.AppleTextureRange target, OpenTK.Graphics.OpenGL.AppleTextureRange pname, [InAttribute, OutAttribute] T2[] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetTexParameterPointervAPPLE((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (OpenTK.Graphics.OpenGL.AppleTextureRange)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: APPLE_texture_range] [AutoGenerated(Category = "APPLE_texture_range", Version = "", EntryPoint = "glGetTexParameterPointervAPPLE")] - public static - void GetTexParameterPointer(OpenTK.Graphics.OpenGL.AppleTextureRange target, OpenTK.Graphics.OpenGL.AppleTextureRange pname, [InAttribute, OutAttribute] T2[,] @params) + public static extern void GetTexParameterPointer(OpenTK.Graphics.OpenGL.AppleTextureRange target, OpenTK.Graphics.OpenGL.AppleTextureRange pname, [InAttribute, OutAttribute] T2[,] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetTexParameterPointervAPPLE((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (OpenTK.Graphics.OpenGL.AppleTextureRange)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: APPLE_texture_range] [AutoGenerated(Category = "APPLE_texture_range", Version = "", EntryPoint = "glGetTexParameterPointervAPPLE")] - public static - void GetTexParameterPointer(OpenTK.Graphics.OpenGL.AppleTextureRange target, OpenTK.Graphics.OpenGL.AppleTextureRange pname, [InAttribute, OutAttribute] T2[,,] @params) + public static extern void GetTexParameterPointer(OpenTK.Graphics.OpenGL.AppleTextureRange target, OpenTK.Graphics.OpenGL.AppleTextureRange pname, [InAttribute, OutAttribute] T2[,,] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetTexParameterPointervAPPLE((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (OpenTK.Graphics.OpenGL.AppleTextureRange)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: APPLE_texture_range] [AutoGenerated(Category = "APPLE_texture_range", Version = "", EntryPoint = "glGetTexParameterPointervAPPLE")] - public static - void GetTexParameterPointer(OpenTK.Graphics.OpenGL.AppleTextureRange target, OpenTK.Graphics.OpenGL.AppleTextureRange pname, [InAttribute, OutAttribute] ref T2 @params) + public static extern void GetTexParameterPointer(OpenTK.Graphics.OpenGL.AppleTextureRange target, OpenTK.Graphics.OpenGL.AppleTextureRange pname, [InAttribute, OutAttribute] ref T2 @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetTexParameterPointervAPPLE((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (OpenTK.Graphics.OpenGL.AppleTextureRange)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - @params = (T2)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: APPLE_fence] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glIsFenceAPPLE")] - public static - bool IsFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsFenceAPPLE((UInt32)fence); - #if DEBUG - } - #endif - } + public static extern bool IsFence(Int32 fence); /// [requires: APPLE_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glIsFenceAPPLE")] - public static - bool IsFence(UInt32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsFenceAPPLE((UInt32)fence); - #if DEBUG - } - #endif - } + public static extern bool IsFence(UInt32 fence); /// [requires: APPLE_vertex_array_object] /// Determine if a name corresponds to a vertex array object @@ -4832,18 +4489,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glIsVertexArrayAPPLE")] - public static - bool IsVertexArray(Int32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsVertexArrayAPPLE((UInt32)array); - #if DEBUG - } - #endif - } + public static extern bool IsVertexArray(Int32 array); /// [requires: APPLE_vertex_array_object] /// Determine if a name corresponds to a vertex array object @@ -4855,1288 +4501,324 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_array_object", Version = "", EntryPoint = "glIsVertexArrayAPPLE")] - public static - bool IsVertexArray(UInt32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsVertexArrayAPPLE((UInt32)array); - #if DEBUG - } - #endif - } + public static extern bool IsVertexArray(UInt32 array); /// [requires: APPLE_vertex_program_evaluators] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glIsVertexAttribEnabledAPPLE")] - public static - bool IsVertexAttribEnabled(Int32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsVertexAttribEnabledAPPLE((UInt32)index, (OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators)pname); - #if DEBUG - } - #endif - } + public static extern bool IsVertexAttribEnabled(Int32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname); /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glIsVertexAttribEnabledAPPLE")] - public static - bool IsVertexAttribEnabled(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsVertexAttribEnabledAPPLE((UInt32)index, (OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators)pname); - #if DEBUG - } - #endif - } + public static extern bool IsVertexAttribEnabled(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname); /// [requires: APPLE_vertex_program_evaluators] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib1dAPPLE")] - public static - void MapVertexAttrib1(Int32 index, Int32 size, Double u1, Double u2, Int32 stride, Int32 order, Double[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* points_ptr = points) - { - Delegates.glMapVertexAttrib1dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MapVertexAttrib1(Int32 index, Int32 size, Double u1, Double u2, Int32 stride, Int32 order, Double[] points); /// [requires: APPLE_vertex_program_evaluators] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib1dAPPLE")] - public static - void MapVertexAttrib1(Int32 index, Int32 size, Double u1, Double u2, Int32 stride, Int32 order, ref Double points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* points_ptr = &points) - { - Delegates.glMapVertexAttrib1dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MapVertexAttrib1(Int32 index, Int32 size, Double u1, Double u2, Int32 stride, Int32 order, ref Double points); /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib1dAPPLE")] - public static - unsafe void MapVertexAttrib1(Int32 index, Int32 size, Double u1, Double u2, Int32 stride, Int32 order, Double* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapVertexAttrib1dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points); - #if DEBUG - } - #endif - } + public static extern unsafe void MapVertexAttrib1(Int32 index, Int32 size, Double u1, Double u2, Int32 stride, Int32 order, Double* points); /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib1dAPPLE")] - public static - void MapVertexAttrib1(UInt32 index, UInt32 size, Double u1, Double u2, Int32 stride, Int32 order, Double[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* points_ptr = points) - { - Delegates.glMapVertexAttrib1dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MapVertexAttrib1(UInt32 index, UInt32 size, Double u1, Double u2, Int32 stride, Int32 order, Double[] points); /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib1dAPPLE")] - public static - void MapVertexAttrib1(UInt32 index, UInt32 size, Double u1, Double u2, Int32 stride, Int32 order, ref Double points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* points_ptr = &points) - { - Delegates.glMapVertexAttrib1dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MapVertexAttrib1(UInt32 index, UInt32 size, Double u1, Double u2, Int32 stride, Int32 order, ref Double points); /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib1dAPPLE")] - public static - unsafe void MapVertexAttrib1(UInt32 index, UInt32 size, Double u1, Double u2, Int32 stride, Int32 order, Double* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapVertexAttrib1dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points); - #if DEBUG - } - #endif - } + public static extern unsafe void MapVertexAttrib1(UInt32 index, UInt32 size, Double u1, Double u2, Int32 stride, Int32 order, Double* points); /// [requires: APPLE_vertex_program_evaluators] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib1fAPPLE")] - public static - void MapVertexAttrib1(Int32 index, Int32 size, Single u1, Single u2, Int32 stride, Int32 order, Single[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = points) - { - Delegates.glMapVertexAttrib1fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MapVertexAttrib1(Int32 index, Int32 size, Single u1, Single u2, Int32 stride, Int32 order, Single[] points); /// [requires: APPLE_vertex_program_evaluators] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib1fAPPLE")] - public static - void MapVertexAttrib1(Int32 index, Int32 size, Single u1, Single u2, Int32 stride, Int32 order, ref Single points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = &points) - { - Delegates.glMapVertexAttrib1fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MapVertexAttrib1(Int32 index, Int32 size, Single u1, Single u2, Int32 stride, Int32 order, ref Single points); /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib1fAPPLE")] - public static - unsafe void MapVertexAttrib1(Int32 index, Int32 size, Single u1, Single u2, Int32 stride, Int32 order, Single* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapVertexAttrib1fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points); - #if DEBUG - } - #endif - } + public static extern unsafe void MapVertexAttrib1(Int32 index, Int32 size, Single u1, Single u2, Int32 stride, Int32 order, Single* points); /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib1fAPPLE")] - public static - void MapVertexAttrib1(UInt32 index, UInt32 size, Single u1, Single u2, Int32 stride, Int32 order, Single[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = points) - { - Delegates.glMapVertexAttrib1fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MapVertexAttrib1(UInt32 index, UInt32 size, Single u1, Single u2, Int32 stride, Int32 order, Single[] points); /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib1fAPPLE")] - public static - void MapVertexAttrib1(UInt32 index, UInt32 size, Single u1, Single u2, Int32 stride, Int32 order, ref Single points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = &points) - { - Delegates.glMapVertexAttrib1fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MapVertexAttrib1(UInt32 index, UInt32 size, Single u1, Single u2, Int32 stride, Int32 order, ref Single points); /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib1fAPPLE")] - public static - unsafe void MapVertexAttrib1(UInt32 index, UInt32 size, Single u1, Single u2, Int32 stride, Int32 order, Single* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapVertexAttrib1fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points); - #if DEBUG - } - #endif - } + public static extern unsafe void MapVertexAttrib1(UInt32 index, UInt32 size, Single u1, Single u2, Int32 stride, Int32 order, Single* points); /// [requires: APPLE_vertex_program_evaluators] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib2dAPPLE")] - public static - void MapVertexAttrib2(Int32 index, Int32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* points_ptr = points) - { - Delegates.glMapVertexAttrib2dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MapVertexAttrib2(Int32 index, Int32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double[] points); /// [requires: APPLE_vertex_program_evaluators] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib2dAPPLE")] - public static - void MapVertexAttrib2(Int32 index, Int32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, ref Double points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* points_ptr = &points) - { - Delegates.glMapVertexAttrib2dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MapVertexAttrib2(Int32 index, Int32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, ref Double points); /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib2dAPPLE")] - public static - unsafe void MapVertexAttrib2(Int32 index, Int32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapVertexAttrib2dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points); - #if DEBUG - } - #endif - } + public static extern unsafe void MapVertexAttrib2(Int32 index, Int32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points); /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib2dAPPLE")] - public static - void MapVertexAttrib2(UInt32 index, UInt32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* points_ptr = points) - { - Delegates.glMapVertexAttrib2dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MapVertexAttrib2(UInt32 index, UInt32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double[] points); /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib2dAPPLE")] - public static - void MapVertexAttrib2(UInt32 index, UInt32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, ref Double points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* points_ptr = &points) - { - Delegates.glMapVertexAttrib2dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MapVertexAttrib2(UInt32 index, UInt32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, ref Double points); /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib2dAPPLE")] - public static - unsafe void MapVertexAttrib2(UInt32 index, UInt32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapVertexAttrib2dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points); - #if DEBUG - } - #endif - } + public static extern unsafe void MapVertexAttrib2(UInt32 index, UInt32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points); /// [requires: APPLE_vertex_program_evaluators] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib2fAPPLE")] - public static - void MapVertexAttrib2(Int32 index, Int32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = points) - { - Delegates.glMapVertexAttrib2fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MapVertexAttrib2(Int32 index, Int32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single[] points); /// [requires: APPLE_vertex_program_evaluators] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib2fAPPLE")] - public static - void MapVertexAttrib2(Int32 index, Int32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, ref Single points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = &points) - { - Delegates.glMapVertexAttrib2fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MapVertexAttrib2(Int32 index, Int32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, ref Single points); /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib2fAPPLE")] - public static - unsafe void MapVertexAttrib2(Int32 index, Int32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapVertexAttrib2fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points); - #if DEBUG - } - #endif - } + public static extern unsafe void MapVertexAttrib2(Int32 index, Int32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points); /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib2fAPPLE")] - public static - void MapVertexAttrib2(UInt32 index, UInt32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = points) - { - Delegates.glMapVertexAttrib2fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MapVertexAttrib2(UInt32 index, UInt32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single[] points); /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib2fAPPLE")] - public static - void MapVertexAttrib2(UInt32 index, UInt32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, ref Single points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = &points) - { - Delegates.glMapVertexAttrib2fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MapVertexAttrib2(UInt32 index, UInt32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, ref Single points); /// [requires: APPLE_vertex_program_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_vertex_program_evaluators", Version = "", EntryPoint = "glMapVertexAttrib2fAPPLE")] - public static - unsafe void MapVertexAttrib2(UInt32 index, UInt32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapVertexAttrib2fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points); - #if DEBUG - } - #endif - } + public static extern unsafe void MapVertexAttrib2(UInt32 index, UInt32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points); /// [requires: APPLE_element_array] [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawElementArrayAPPLE")] - public static - void MultiDrawElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] first, Int32[] count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = first) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] first, Int32[] count, Int32 primcount); /// [requires: APPLE_element_array] [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawElementArrayAPPLE")] - public static - void MultiDrawElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 first, ref Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = &first) - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 first, ref Int32 count, Int32 primcount); /// [requires: APPLE_element_array] [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawElementArrayAPPLE")] - public static - unsafe void MultiDrawElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* first, Int32* count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)first, (Int32*)count, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiDrawElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* first, Int32* count, Int32 primcount); /// [requires: APPLE_element_array] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawElementArrayAPPLE")] - public static - void MultiDrawElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] first, Int32[] count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = first) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] first, Int32[] count, Int32 primcount); /// [requires: APPLE_element_array] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawElementArrayAPPLE")] - public static - void MultiDrawElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 first, ref Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = &first) - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 first, ref Int32 count, Int32 primcount); /// [requires: APPLE_element_array] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawElementArrayAPPLE")] - public static - unsafe void MultiDrawElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)first, (Int32*)count, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiDrawElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount); /// [requires: APPLE_element_array] [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] - public static - void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32[] first, Int32[] count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = first) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32[] first, Int32[] count, Int32 primcount); /// [requires: APPLE_element_array] [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] - public static - void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, ref Int32 first, ref Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = &first) - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, ref Int32 first, ref Int32 count, Int32 primcount); /// [requires: APPLE_element_array] [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] - public static - unsafe void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32* first, Int32* count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32* first, Int32* count, Int32 primcount); /// [requires: APPLE_element_array] [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] - public static - void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32[] first, Int32[] count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = first) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32[] first, Int32[] count, Int32 primcount); /// [requires: APPLE_element_array] [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] - public static - void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, ref Int32 first, ref Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = &first) - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, ref Int32 first, ref Int32 count, Int32 primcount); /// [requires: APPLE_element_array] [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] - public static - unsafe void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32* first, Int32* count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32* first, Int32* count, Int32 primcount); /// [requires: APPLE_element_array] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] - public static - void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32[] first, Int32[] count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = first) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32[] first, Int32[] count, Int32 primcount); /// [requires: APPLE_element_array] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] - public static - void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, ref Int32 first, ref Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = &first) - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, ref Int32 first, ref Int32 count, Int32 primcount); /// [requires: APPLE_element_array] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] - public static - unsafe void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32* first, Int32* count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32* first, Int32* count, Int32 primcount); /// [requires: APPLE_element_array] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] - public static - void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32[] first, Int32[] count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = first) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32[] first, Int32[] count, Int32 primcount); /// [requires: APPLE_element_array] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] - public static - void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, ref Int32 first, ref Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = &first) - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, ref Int32 first, ref Int32 count, Int32 primcount); /// [requires: APPLE_element_array] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] - public static - unsafe void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32* first, Int32* count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32* first, Int32* count, Int32 primcount); /// [requires: APPLE_object_purgeable] [AutoGenerated(Category = "APPLE_object_purgeable", Version = "", EntryPoint = "glObjectPurgeableAPPLE")] - public static - OpenTK.Graphics.OpenGL.AppleObjectPurgeable ObjectPurgeable(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, Int32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable option) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glObjectPurgeableAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)option); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.OpenGL.AppleObjectPurgeable ObjectPurgeable(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, Int32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable option); /// [requires: APPLE_object_purgeable] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_object_purgeable", Version = "", EntryPoint = "glObjectPurgeableAPPLE")] - public static - OpenTK.Graphics.OpenGL.AppleObjectPurgeable ObjectPurgeable(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable option) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glObjectPurgeableAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)option); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.OpenGL.AppleObjectPurgeable ObjectPurgeable(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable option); /// [requires: APPLE_object_purgeable] [AutoGenerated(Category = "APPLE_object_purgeable", Version = "", EntryPoint = "glObjectUnpurgeableAPPLE")] - public static - OpenTK.Graphics.OpenGL.AppleObjectPurgeable ObjectUnpurgeable(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, Int32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable option) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glObjectUnpurgeableAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)option); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.OpenGL.AppleObjectPurgeable ObjectUnpurgeable(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, Int32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable option); /// [requires: APPLE_object_purgeable] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_object_purgeable", Version = "", EntryPoint = "glObjectUnpurgeableAPPLE")] - public static - OpenTK.Graphics.OpenGL.AppleObjectPurgeable ObjectUnpurgeable(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable option) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glObjectUnpurgeableAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)option); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.OpenGL.AppleObjectPurgeable ObjectUnpurgeable(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable option); /// [requires: APPLE_fence] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glSetFenceAPPLE")] - public static - void SetFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSetFenceAPPLE((UInt32)fence); - #if DEBUG - } - #endif - } + public static extern void SetFence(Int32 fence); /// [requires: APPLE_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glSetFenceAPPLE")] - public static - void SetFence(UInt32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSetFenceAPPLE((UInt32)fence); - #if DEBUG - } - #endif - } + public static extern void SetFence(UInt32 fence); /// [requires: APPLE_fence] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glTestFenceAPPLE")] - public static - bool TestFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glTestFenceAPPLE((UInt32)fence); - #if DEBUG - } - #endif - } + public static extern bool TestFence(Int32 fence); /// [requires: APPLE_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glTestFenceAPPLE")] - public static - bool TestFence(UInt32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glTestFenceAPPLE((UInt32)fence); - #if DEBUG - } - #endif - } + public static extern bool TestFence(UInt32 fence); /// [requires: APPLE_fence] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glTestObjectAPPLE")] - public static - bool TestObject(OpenTK.Graphics.OpenGL.AppleFence @object, Int32 name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glTestObjectAPPLE((OpenTK.Graphics.OpenGL.AppleFence)@object, (UInt32)name); - #if DEBUG - } - #endif - } + public static extern bool TestObject(OpenTK.Graphics.OpenGL.AppleFence @object, Int32 name); /// [requires: APPLE_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "APPLE_fence", Version = "", EntryPoint = "glTestObjectAPPLE")] - public static - bool TestObject(OpenTK.Graphics.OpenGL.AppleFence @object, UInt32 name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glTestObjectAPPLE((OpenTK.Graphics.OpenGL.AppleFence)@object, (UInt32)name); - #if DEBUG - } - #endif - } + public static extern bool TestObject(OpenTK.Graphics.OpenGL.AppleFence @object, UInt32 name); /// [requires: APPLE_texture_range] [AutoGenerated(Category = "APPLE_texture_range", Version = "", EntryPoint = "glTextureRangeAPPLE")] - public static - void TextureRange(OpenTK.Graphics.OpenGL.AppleTextureRange target, Int32 length, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureRangeAPPLE((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (Int32)length, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void TextureRange(OpenTK.Graphics.OpenGL.AppleTextureRange target, Int32 length, IntPtr pointer); /// [requires: APPLE_texture_range] [AutoGenerated(Category = "APPLE_texture_range", Version = "", EntryPoint = "glTextureRangeAPPLE")] - public static - void TextureRange(OpenTK.Graphics.OpenGL.AppleTextureRange target, Int32 length, [InAttribute, OutAttribute] T2[] pointer) + public static extern void TextureRange(OpenTK.Graphics.OpenGL.AppleTextureRange target, Int32 length, [InAttribute, OutAttribute] T2[] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTextureRangeAPPLE((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: APPLE_texture_range] [AutoGenerated(Category = "APPLE_texture_range", Version = "", EntryPoint = "glTextureRangeAPPLE")] - public static - void TextureRange(OpenTK.Graphics.OpenGL.AppleTextureRange target, Int32 length, [InAttribute, OutAttribute] T2[,] pointer) + public static extern void TextureRange(OpenTK.Graphics.OpenGL.AppleTextureRange target, Int32 length, [InAttribute, OutAttribute] T2[,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTextureRangeAPPLE((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: APPLE_texture_range] [AutoGenerated(Category = "APPLE_texture_range", Version = "", EntryPoint = "glTextureRangeAPPLE")] - public static - void TextureRange(OpenTK.Graphics.OpenGL.AppleTextureRange target, Int32 length, [InAttribute, OutAttribute] T2[,,] pointer) + public static extern void TextureRange(OpenTK.Graphics.OpenGL.AppleTextureRange target, Int32 length, [InAttribute, OutAttribute] T2[,,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTextureRangeAPPLE((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: APPLE_texture_range] [AutoGenerated(Category = "APPLE_texture_range", Version = "", EntryPoint = "glTextureRangeAPPLE")] - public static - void TextureRange(OpenTK.Graphics.OpenGL.AppleTextureRange target, Int32 length, [InAttribute, OutAttribute] ref T2 pointer) + public static extern void TextureRange(OpenTK.Graphics.OpenGL.AppleTextureRange target, Int32 length, [InAttribute, OutAttribute] ref T2 pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTextureRangeAPPLE((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: APPLE_vertex_array_range] [AutoGenerated(Category = "APPLE_vertex_array_range", Version = "", EntryPoint = "glVertexArrayParameteriAPPLE")] - public static - void VertexArrayParameter(OpenTK.Graphics.OpenGL.AppleVertexArrayRange pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayParameteriAPPLE((OpenTK.Graphics.OpenGL.AppleVertexArrayRange)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void VertexArrayParameter(OpenTK.Graphics.OpenGL.AppleVertexArrayRange pname, Int32 param); /// [requires: APPLE_vertex_array_range] [AutoGenerated(Category = "APPLE_vertex_array_range", Version = "", EntryPoint = "glVertexArrayRangeAPPLE")] - public static - void VertexArrayRange(Int32 length, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexArrayRange(Int32 length, [OutAttribute] IntPtr pointer); /// [requires: APPLE_vertex_array_range] [AutoGenerated(Category = "APPLE_vertex_array_range", Version = "", EntryPoint = "glVertexArrayRangeAPPLE")] - public static - void VertexArrayRange(Int32 length, [InAttribute, OutAttribute] T1[] pointer) + public static extern void VertexArrayRange(Int32 length, [InAttribute, OutAttribute] T1[] pointer) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: APPLE_vertex_array_range] [AutoGenerated(Category = "APPLE_vertex_array_range", Version = "", EntryPoint = "glVertexArrayRangeAPPLE")] - public static - void VertexArrayRange(Int32 length, [InAttribute, OutAttribute] T1[,] pointer) + public static extern void VertexArrayRange(Int32 length, [InAttribute, OutAttribute] T1[,] pointer) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: APPLE_vertex_array_range] [AutoGenerated(Category = "APPLE_vertex_array_range", Version = "", EntryPoint = "glVertexArrayRangeAPPLE")] - public static - void VertexArrayRange(Int32 length, [InAttribute, OutAttribute] T1[,,] pointer) + public static extern void VertexArrayRange(Int32 length, [InAttribute, OutAttribute] T1[,,] pointer) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: APPLE_vertex_array_range] [AutoGenerated(Category = "APPLE_vertex_array_range", Version = "", EntryPoint = "glVertexArrayRangeAPPLE")] - public static - void VertexArrayRange(Int32 length, [InAttribute, OutAttribute] ref T1 pointer) + public static extern void VertexArrayRange(Int32 length, [InAttribute, OutAttribute] ref T1 pointer) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T1)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; } @@ -6151,49 +4833,16 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glActiveTextureARB")] - public static - void ActiveTexture(OpenTK.Graphics.OpenGL.TextureUnit texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glActiveTextureARB((OpenTK.Graphics.OpenGL.TextureUnit)texture); - #if DEBUG - } - #endif - } + public static extern void ActiveTexture(OpenTK.Graphics.OpenGL.TextureUnit texture); /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glAttachObjectARB")] - public static - void AttachObject(Int32 containerObj, Int32 obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAttachObjectARB((UInt32)containerObj, (UInt32)obj); - #if DEBUG - } - #endif - } + public static extern void AttachObject(Int32 containerObj, Int32 obj); /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glAttachObjectARB")] - public static - void AttachObject(UInt32 containerObj, UInt32 obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAttachObjectARB((UInt32)containerObj, (UInt32)obj); - #if DEBUG - } - #endif - } + public static extern void AttachObject(UInt32 containerObj, UInt32 obj); /// [requires: ARB_occlusion_query] /// Delimit the boundaries of a query object @@ -6209,18 +4858,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glBeginQueryARB")] - public static - void BeginQuery(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginQueryARB((OpenTK.Graphics.OpenGL.ArbOcclusionQuery)target, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BeginQuery(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, Int32 id); /// [requires: ARB_occlusion_query] /// Delimit the boundaries of a query object @@ -6237,18 +4875,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glBeginQueryARB")] - public static - void BeginQuery(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginQueryARB((OpenTK.Graphics.OpenGL.ArbOcclusionQuery)target, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BeginQuery(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, UInt32 id); /// [requires: ARB_vertex_shader] /// Associates a generic vertex attribute index with a named attribute variable @@ -6269,18 +4896,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_shader", Version = "", EntryPoint = "glBindAttribLocationARB")] - public static - void BindAttribLocation(Int32 programObj, Int32 index, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindAttribLocationARB((UInt32)programObj, (UInt32)index, (String)name); - #if DEBUG - } - #endif - } + public static extern void BindAttribLocation(Int32 programObj, Int32 index, String name); /// [requires: ARB_vertex_shader] /// Associates a generic vertex attribute index with a named attribute variable @@ -6302,18 +4918,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_shader", Version = "", EntryPoint = "glBindAttribLocationARB")] - public static - void BindAttribLocation(UInt32 programObj, UInt32 index, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindAttribLocationARB((UInt32)programObj, (UInt32)index, (String)name); - #if DEBUG - } - #endif - } + public static extern void BindAttribLocation(UInt32 programObj, UInt32 index, String name); /// [requires: ARB_vertex_buffer_object] /// Bind a named buffer object @@ -6329,18 +4934,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glBindBufferARB")] - public static - void BindBuffer(OpenTK.Graphics.OpenGL.BufferTargetArb target, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void BindBuffer(OpenTK.Graphics.OpenGL.BufferTargetArb target, Int32 buffer); /// [requires: ARB_vertex_buffer_object] /// Bind a named buffer object @@ -6357,49 +4951,16 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glBindBufferARB")] - public static - void BindBuffer(OpenTK.Graphics.OpenGL.BufferTargetArb target, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void BindBuffer(OpenTK.Graphics.OpenGL.BufferTargetArb target, UInt32 buffer); /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glBindProgramARB")] - public static - void BindProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindProgramARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)program); - #if DEBUG - } - #endif - } + public static extern void BindProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 program); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glBindProgramARB")] - public static - void BindProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindProgramARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)program); - #if DEBUG - } - #endif - } + public static extern void BindProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 program); /// [requires: ARB_draw_buffers_blend] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -6415,18 +4976,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "", EntryPoint = "glBlendEquationiARB")] - public static - void BlendEquation(Int32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationiARB((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendEquationMode)mode); - #if DEBUG - } - #endif - } + public static extern void BlendEquation(Int32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode mode); /// [requires: ARB_draw_buffers_blend] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -6443,18 +4993,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "", EntryPoint = "glBlendEquationiARB")] - public static - void BlendEquation(UInt32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationiARB((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendEquationMode)mode); - #if DEBUG - } - #endif - } + public static extern void BlendEquation(UInt32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode mode); /// [requires: ARB_draw_buffers_blend] /// Set the RGB blend equation and the alpha blend equation separately @@ -6475,18 +5014,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "", EntryPoint = "glBlendEquationSeparateiARB")] - public static - void BlendEquationSeparate(Int32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend modeRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationSeparateiARB((UInt32)buf, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)modeRGB, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)modeAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendEquationSeparate(Int32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend modeRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend modeAlpha); /// [requires: ARB_draw_buffers_blend] /// Set the RGB blend equation and the alpha blend equation separately @@ -6508,18 +5036,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "", EntryPoint = "glBlendEquationSeparateiARB")] - public static - void BlendEquationSeparate(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend modeRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationSeparateiARB((UInt32)buf, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)modeRGB, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)modeAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendEquationSeparate(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend modeRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend modeAlpha); /// [requires: ARB_draw_buffers_blend] /// Specify pixel arithmetic @@ -6540,18 +5057,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "", EntryPoint = "glBlendFunciARB")] - public static - void BlendFunc(Int32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend src, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dst) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFunciARB((UInt32)buf, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)src, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)dst); - #if DEBUG - } - #endif - } + public static extern void BlendFunc(Int32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend src, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dst); /// [requires: ARB_draw_buffers_blend] /// Specify pixel arithmetic @@ -6573,18 +5079,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "", EntryPoint = "glBlendFunciARB")] - public static - void BlendFunc(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend src, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dst) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFunciARB((UInt32)buf, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)src, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)dst); - #if DEBUG - } - #endif - } + public static extern void BlendFunc(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend src, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dst); /// [requires: ARB_draw_buffers_blend] /// Specify pixel arithmetic for RGB and alpha components separately @@ -6615,18 +5110,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "", EntryPoint = "glBlendFuncSeparateiARB")] - public static - void BlendFuncSeparate(Int32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcAlpha, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFuncSeparateiARB((UInt32)buf, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)srcRGB, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)dstRGB, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)srcAlpha, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)dstAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendFuncSeparate(Int32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcAlpha, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstAlpha); /// [requires: ARB_draw_buffers_blend] /// Specify pixel arithmetic for RGB and alpha components separately @@ -6658,18 +5142,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "", EntryPoint = "glBlendFuncSeparateiARB")] - public static - void BlendFuncSeparate(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcAlpha, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFuncSeparateiARB((UInt32)buf, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)srcRGB, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)dstRGB, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)srcAlpha, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)dstAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendFuncSeparate(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcAlpha, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstAlpha); /// [requires: ARB_vertex_buffer_object] /// Creates and initializes a buffer object's data store @@ -6695,18 +5168,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glBufferDataARB")] - public static - void BufferData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.BufferUsageArb usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBufferDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.OpenGL.BufferUsageArb)usage); - #if DEBUG - } - #endif - } + public static extern void BufferData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.BufferUsageArb usage); /// [requires: ARB_vertex_buffer_object] /// Creates and initializes a buffer object's data store @@ -6732,27 +5194,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glBufferDataARB")] - public static - void BufferData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.OpenGL.BufferUsageArb usage) + public static extern void BufferData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.OpenGL.BufferUsageArb usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferUsageArb)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_buffer_object] /// Creates and initializes a buffer object's data store @@ -6778,27 +5222,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glBufferDataARB")] - public static - void BufferData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.OpenGL.BufferUsageArb usage) + public static extern void BufferData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.OpenGL.BufferUsageArb usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferUsageArb)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_buffer_object] /// Creates and initializes a buffer object's data store @@ -6824,27 +5250,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glBufferDataARB")] - public static - void BufferData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.OpenGL.BufferUsageArb usage) + public static extern void BufferData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.OpenGL.BufferUsageArb usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferUsageArb)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_buffer_object] /// Creates and initializes a buffer object's data store @@ -6870,28 +5278,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glBufferDataARB")] - public static - void BufferData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.OpenGL.BufferUsageArb usage) + public static extern void BufferData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.OpenGL.BufferUsageArb usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferUsageArb)usage); - data = (T2)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_buffer_object] /// Updates a subset of a buffer object's data store @@ -6917,18 +5306,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glBufferSubDataARB")] - public static - void BufferSubData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBufferSubDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void BufferSubData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, IntPtr data); /// [requires: ARB_vertex_buffer_object] /// Updates a subset of a buffer object's data store @@ -6954,27 +5332,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glBufferSubDataARB")] - public static - void BufferSubData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) + public static extern void BufferSubData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_buffer_object] /// Updates a subset of a buffer object's data store @@ -7000,27 +5360,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glBufferSubDataARB")] - public static - void BufferSubData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) + public static extern void BufferSubData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_buffer_object] /// Updates a subset of a buffer object's data store @@ -7046,27 +5388,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glBufferSubDataARB")] - public static - void BufferSubData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) + public static extern void BufferSubData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_buffer_object] /// Updates a subset of a buffer object's data store @@ -7092,28 +5416,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glBufferSubDataARB")] - public static - void BufferSubData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) + public static extern void BufferSubData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T3)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_color_buffer_float] /// Specify whether data read via glReadPixels should be clamped @@ -7129,18 +5434,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_color_buffer_float", Version = "", EntryPoint = "glClampColorARB")] - public static - void ClampColor(OpenTK.Graphics.OpenGL.ArbColorBufferFloat target, OpenTK.Graphics.OpenGL.ArbColorBufferFloat clamp) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClampColorARB((OpenTK.Graphics.OpenGL.ArbColorBufferFloat)target, (OpenTK.Graphics.OpenGL.ArbColorBufferFloat)clamp); - #if DEBUG - } - #endif - } + public static extern void ClampColor(OpenTK.Graphics.OpenGL.ArbColorBufferFloat target, OpenTK.Graphics.OpenGL.ArbColorBufferFloat clamp); /// [requires: ARB_multitexture] /// Select active texture unit @@ -7151,18 +5445,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glClientActiveTextureARB")] - public static - void ClientActiveTexture(OpenTK.Graphics.OpenGL.TextureUnit texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClientActiveTextureARB((OpenTK.Graphics.OpenGL.TextureUnit)texture); - #if DEBUG - } - #endif - } + public static extern void ClientActiveTexture(OpenTK.Graphics.OpenGL.TextureUnit texture); /// [requires: ARB_shader_objects] /// Compiles a shader object @@ -7173,18 +5456,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glCompileShaderARB")] - public static - void CompileShader(Int32 shaderObj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompileShaderARB((UInt32)shaderObj); - #if DEBUG - } - #endif - } + public static extern void CompileShader(Int32 shaderObj); /// [requires: ARB_shader_objects] /// Compiles a shader object @@ -7196,136 +5468,35 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glCompileShaderARB")] - public static - void CompileShader(UInt32 shaderObj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompileShaderARB((UInt32)shaderObj); - #if DEBUG - } - #endif - } + public static extern void CompileShader(UInt32 shaderObj); /// [requires: ARB_shading_language_include] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glCompileShaderIncludeARB")] - public static - void CompileShaderInclude(Int32 shader, Int32 count, String[] path, Int32[] length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glCompileShaderIncludeARB((UInt32)shader, (Int32)count, (String[])path, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void CompileShaderInclude(Int32 shader, Int32 count, String[] path, Int32[] length); /// [requires: ARB_shading_language_include] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glCompileShaderIncludeARB")] - public static - void CompileShaderInclude(Int32 shader, Int32 count, String[] path, ref Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glCompileShaderIncludeARB((UInt32)shader, (Int32)count, (String[])path, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void CompileShaderInclude(Int32 shader, Int32 count, String[] path, ref Int32 length); /// [requires: ARB_shading_language_include] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glCompileShaderIncludeARB")] - public static - unsafe void CompileShaderInclude(Int32 shader, Int32 count, String[] path, Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompileShaderIncludeARB((UInt32)shader, (Int32)count, (String[])path, (Int32*)length); - #if DEBUG - } - #endif - } + public static extern unsafe void CompileShaderInclude(Int32 shader, Int32 count, String[] path, Int32* length); /// [requires: ARB_shading_language_include] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glCompileShaderIncludeARB")] - public static - void CompileShaderInclude(UInt32 shader, Int32 count, String[] path, Int32[] length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glCompileShaderIncludeARB((UInt32)shader, (Int32)count, (String[])path, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void CompileShaderInclude(UInt32 shader, Int32 count, String[] path, Int32[] length); /// [requires: ARB_shading_language_include] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glCompileShaderIncludeARB")] - public static - void CompileShaderInclude(UInt32 shader, Int32 count, String[] path, ref Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glCompileShaderIncludeARB((UInt32)shader, (Int32)count, (String[])path, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void CompileShaderInclude(UInt32 shader, Int32 count, String[] path, ref Int32 length); /// [requires: ARB_shading_language_include] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glCompileShaderIncludeARB")] - public static - unsafe void CompileShaderInclude(UInt32 shader, Int32 count, String[] path, Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompileShaderIncludeARB((UInt32)shader, (Int32)count, (String[])path, (Int32*)length); - #if DEBUG - } - #endif - } + public static extern unsafe void CompileShaderInclude(UInt32 shader, Int32 count, String[] path, Int32* length); /// [requires: ARB_texture_compression] /// Specify a one-dimensional texture image in a compressed format @@ -7366,18 +5537,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexImage1DARB")] - public static - void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data); /// [requires: ARB_texture_compression] /// Specify a one-dimensional texture image in a compressed format @@ -7418,27 +5578,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexImage1DARB")] - public static - void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T6[] data) + public static extern void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T6[] data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_texture_compression] /// Specify a one-dimensional texture image in a compressed format @@ -7479,27 +5621,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexImage1DARB")] - public static - void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T6[,] data) + public static extern void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T6[,] data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_texture_compression] /// Specify a one-dimensional texture image in a compressed format @@ -7540,27 +5664,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexImage1DARB")] - public static - void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T6[,,] data) + public static extern void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T6[,,] data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_texture_compression] /// Specify a one-dimensional texture image in a compressed format @@ -7601,28 +5707,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexImage1DARB")] - public static - void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T6 data) + public static extern void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T6 data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T6)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_texture_compression] /// Specify a two-dimensional texture image in a compressed format @@ -7668,18 +5755,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexImage2DARB")] - public static - void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); /// [requires: ARB_texture_compression] /// Specify a two-dimensional texture image in a compressed format @@ -7725,27 +5801,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexImage2DARB")] - public static - void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_texture_compression] /// Specify a two-dimensional texture image in a compressed format @@ -7791,27 +5849,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexImage2DARB")] - public static - void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_texture_compression] /// Specify a two-dimensional texture image in a compressed format @@ -7857,27 +5897,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexImage2DARB")] - public static - void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_texture_compression] /// Specify a two-dimensional texture image in a compressed format @@ -7923,28 +5945,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexImage2DARB")] - public static - void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T7)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_texture_compression] /// Specify a three-dimensional texture image in a compressed format @@ -7995,18 +5998,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexImage3DARB")] - public static - void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexImage3DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); /// [requires: ARB_texture_compression] /// Specify a three-dimensional texture image in a compressed format @@ -8057,27 +6049,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexImage3DARB")] - public static - void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_texture_compression] /// Specify a three-dimensional texture image in a compressed format @@ -8128,27 +6102,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexImage3DARB")] - public static - void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_texture_compression] /// Specify a three-dimensional texture image in a compressed format @@ -8199,27 +6155,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexImage3DARB")] - public static - void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_texture_compression] /// Specify a three-dimensional texture image in a compressed format @@ -8270,28 +6208,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexImage3DARB")] - public static - void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T8)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_texture_compression] /// Specify a one-dimensional texture subimage in a compressed format @@ -8332,18 +6251,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexSubImage1DARB")] - public static - void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexSubImage1DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); /// [requires: ARB_texture_compression] /// Specify a one-dimensional texture subimage in a compressed format @@ -8384,27 +6292,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexSubImage1DARB")] - public static - void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T6[] data) + public static extern void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T6[] data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage1DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_texture_compression] /// Specify a one-dimensional texture subimage in a compressed format @@ -8445,27 +6335,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexSubImage1DARB")] - public static - void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T6[,] data) + public static extern void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T6[,] data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage1DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_texture_compression] /// Specify a one-dimensional texture subimage in a compressed format @@ -8506,27 +6378,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexSubImage1DARB")] - public static - void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T6[,,] data) + public static extern void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T6[,,] data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage1DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_texture_compression] /// Specify a one-dimensional texture subimage in a compressed format @@ -8567,28 +6421,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexSubImage1DARB")] - public static - void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T6 data) + public static extern void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T6 data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage1DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T6)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_texture_compression] /// Specify a two-dimensional texture subimage in a compressed format @@ -8639,18 +6474,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexSubImage2DARB")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); /// [requires: ARB_texture_compression] /// Specify a two-dimensional texture subimage in a compressed format @@ -8701,27 +6525,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexSubImage2DARB")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_texture_compression] /// Specify a two-dimensional texture subimage in a compressed format @@ -8772,27 +6578,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexSubImage2DARB")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_texture_compression] /// Specify a two-dimensional texture subimage in a compressed format @@ -8843,27 +6631,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexSubImage2DARB")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_texture_compression] /// Specify a two-dimensional texture subimage in a compressed format @@ -8914,28 +6684,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexSubImage2DARB")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T8)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_texture_compression] /// Specify a three-dimensional texture subimage in a compressed format @@ -8991,18 +6742,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexSubImage3DARB")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); /// [requires: ARB_texture_compression] /// Specify a three-dimensional texture subimage in a compressed format @@ -9058,27 +6798,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexSubImage3DARB")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[] data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_texture_compression] /// Specify a three-dimensional texture subimage in a compressed format @@ -9134,27 +6856,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexSubImage3DARB")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[,] data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[,] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_texture_compression] /// Specify a three-dimensional texture subimage in a compressed format @@ -9210,27 +6914,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexSubImage3DARB")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[,,] data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[,,] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_texture_compression] /// Specify a three-dimensional texture subimage in a compressed format @@ -9286,201 +6972,49 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glCompressedTexSubImage3DARB")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T10 data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T10 data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T10)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glCreateProgramObjectARB")] - public static - Int32 CreateProgramObject() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCreateProgramObjectARB(); - #if DEBUG - } - #endif - } + public static extern Int32 CreateProgramObject(); /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glCreateShaderObjectARB")] - public static - Int32 CreateShaderObject(OpenTK.Graphics.OpenGL.ArbShaderObjects shaderType) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCreateShaderObjectARB((OpenTK.Graphics.OpenGL.ArbShaderObjects)shaderType); - #if DEBUG - } - #endif - } + public static extern Int32 CreateShaderObject(OpenTK.Graphics.OpenGL.ArbShaderObjects shaderType); /// [requires: ARB_cl_event] [AutoGenerated(Category = "ARB_cl_event", Version = "", EntryPoint = "glCreateSyncFromCLeventARB")] - public static - IntPtr CreateSyncFromCLevent([OutAttribute] IntPtr[] context, [OutAttribute] IntPtr[] @event, Int32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (IntPtr* context_ptr = context) - fixed (IntPtr* @event_ptr = @event) - { - return Delegates.glCreateSyncFromCLeventARB((IntPtr*)context_ptr, (IntPtr*)@event_ptr, (UInt32)flags); - } - } - #if DEBUG - } - #endif - } + public static extern IntPtr CreateSyncFromCLevent([OutAttribute] IntPtr[] context, [OutAttribute] IntPtr[] @event, Int32 flags); /// [requires: ARB_cl_event] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_cl_event", Version = "", EntryPoint = "glCreateSyncFromCLeventARB")] - public static - IntPtr CreateSyncFromCLevent([OutAttribute] IntPtr[] context, [OutAttribute] IntPtr[] @event, UInt32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (IntPtr* context_ptr = context) - fixed (IntPtr* @event_ptr = @event) - { - return Delegates.glCreateSyncFromCLeventARB((IntPtr*)context_ptr, (IntPtr*)@event_ptr, (UInt32)flags); - } - } - #if DEBUG - } - #endif - } + public static extern IntPtr CreateSyncFromCLevent([OutAttribute] IntPtr[] context, [OutAttribute] IntPtr[] @event, UInt32 flags); /// [requires: ARB_cl_event] [AutoGenerated(Category = "ARB_cl_event", Version = "", EntryPoint = "glCreateSyncFromCLeventARB")] - public static - IntPtr CreateSyncFromCLevent([OutAttribute] out IntPtr context, [OutAttribute] out IntPtr @event, Int32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (IntPtr* context_ptr = &context) - fixed (IntPtr* @event_ptr = &@event) - { - IntPtr retval = Delegates.glCreateSyncFromCLeventARB((IntPtr*)context_ptr, (IntPtr*)@event_ptr, (UInt32)flags); - context = *context_ptr; - @event = *@event_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern IntPtr CreateSyncFromCLevent([OutAttribute] out IntPtr context, [OutAttribute] out IntPtr @event, Int32 flags); /// [requires: ARB_cl_event] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_cl_event", Version = "", EntryPoint = "glCreateSyncFromCLeventARB")] - public static - IntPtr CreateSyncFromCLevent([OutAttribute] out IntPtr context, [OutAttribute] out IntPtr @event, UInt32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (IntPtr* context_ptr = &context) - fixed (IntPtr* @event_ptr = &@event) - { - IntPtr retval = Delegates.glCreateSyncFromCLeventARB((IntPtr*)context_ptr, (IntPtr*)@event_ptr, (UInt32)flags); - context = *context_ptr; - @event = *@event_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern IntPtr CreateSyncFromCLevent([OutAttribute] out IntPtr context, [OutAttribute] out IntPtr @event, UInt32 flags); /// [requires: ARB_cl_event] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_cl_event", Version = "", EntryPoint = "glCreateSyncFromCLeventARB")] - public static - unsafe IntPtr CreateSyncFromCLevent([OutAttribute] IntPtr* context, [OutAttribute] IntPtr* @event, Int32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCreateSyncFromCLeventARB((IntPtr*)context, (IntPtr*)@event, (UInt32)flags); - #if DEBUG - } - #endif - } + public static extern unsafe IntPtr CreateSyncFromCLevent([OutAttribute] IntPtr* context, [OutAttribute] IntPtr* @event, Int32 flags); /// [requires: ARB_cl_event] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_cl_event", Version = "", EntryPoint = "glCreateSyncFromCLeventARB")] - public static - unsafe IntPtr CreateSyncFromCLevent([OutAttribute] IntPtr* context, [OutAttribute] IntPtr* @event, UInt32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCreateSyncFromCLeventARB((IntPtr*)context, (IntPtr*)@event, (UInt32)flags); - #if DEBUG - } - #endif - } + public static extern unsafe IntPtr CreateSyncFromCLevent([OutAttribute] IntPtr* context, [OutAttribute] IntPtr* @event, UInt32 flags); /// [requires: ARB_matrix_palette] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glCurrentPaletteMatrixARB")] - public static - void CurrentPaletteMatrix(Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCurrentPaletteMatrixARB((Int32)index); - #if DEBUG - } - #endif - } + public static extern void CurrentPaletteMatrix(Int32 index); /// [requires: ARB_debug_output] /// Specify a callback to receive debugging messages from the GL @@ -9496,18 +7030,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageCallbackARB")] - public static - void DebugMessageCallback(DebugProcArb callback, IntPtr userParam) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageCallbackARB((DebugProcArb)callback, (IntPtr)userParam); - #if DEBUG - } - #endif - } + public static extern void DebugMessageCallback(DebugProcArb callback, IntPtr userParam); /// [requires: ARB_debug_output] /// Specify a callback to receive debugging messages from the GL @@ -9523,27 +7046,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageCallbackARB")] - public static - void DebugMessageCallback(DebugProcArb callback, [InAttribute, OutAttribute] T1[] userParam) + public static extern void DebugMessageCallback(DebugProcArb callback, [InAttribute, OutAttribute] T1[] userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallbackARB((DebugProcArb)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_debug_output] /// Specify a callback to receive debugging messages from the GL @@ -9559,27 +7064,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageCallbackARB")] - public static - void DebugMessageCallback(DebugProcArb callback, [InAttribute, OutAttribute] T1[,] userParam) + public static extern void DebugMessageCallback(DebugProcArb callback, [InAttribute, OutAttribute] T1[,] userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallbackARB((DebugProcArb)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_debug_output] /// Specify a callback to receive debugging messages from the GL @@ -9595,27 +7082,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageCallbackARB")] - public static - void DebugMessageCallback(DebugProcArb callback, [InAttribute, OutAttribute] T1[,,] userParam) + public static extern void DebugMessageCallback(DebugProcArb callback, [InAttribute, OutAttribute] T1[,,] userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallbackARB((DebugProcArb)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_debug_output] /// Specify a callback to receive debugging messages from the GL @@ -9631,28 +7100,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageCallbackARB")] - public static - void DebugMessageCallback(DebugProcArb callback, [InAttribute, OutAttribute] ref T1 userParam) + public static extern void DebugMessageCallback(DebugProcArb callback, [InAttribute, OutAttribute] ref T1 userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallbackARB((DebugProcArb)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - userParam = (T1)userParam_ptr.Target; - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_debug_output] /// Control the reporting of debug messages in a debug context @@ -9688,24 +7138,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageControlARB")] - public static - void DebugMessageControl(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 count, Int32[] ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glDebugMessageControlARB((OpenTK.Graphics.OpenGL.ArbDebugOutput)source, (OpenTK.Graphics.OpenGL.ArbDebugOutput)type, (OpenTK.Graphics.OpenGL.ArbDebugOutput)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 count, Int32[] ids, bool enabled); /// [requires: ARB_debug_output] /// Control the reporting of debug messages in a debug context @@ -9741,24 +7174,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageControlARB")] - public static - void DebugMessageControl(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 count, ref Int32 ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glDebugMessageControlARB((OpenTK.Graphics.OpenGL.ArbDebugOutput)source, (OpenTK.Graphics.OpenGL.ArbDebugOutput)type, (OpenTK.Graphics.OpenGL.ArbDebugOutput)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 count, ref Int32 ids, bool enabled); /// [requires: ARB_debug_output] /// Control the reporting of debug messages in a debug context @@ -9795,18 +7211,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageControlARB")] - public static - unsafe void DebugMessageControl(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 count, Int32* ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageControlARB((OpenTK.Graphics.OpenGL.ArbDebugOutput)source, (OpenTK.Graphics.OpenGL.ArbDebugOutput)type, (OpenTK.Graphics.OpenGL.ArbDebugOutput)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - #if DEBUG - } - #endif - } + public static extern unsafe void DebugMessageControl(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 count, Int32* ids, bool enabled); /// [requires: ARB_debug_output] /// Control the reporting of debug messages in a debug context @@ -9843,24 +7248,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageControlARB")] - public static - void DebugMessageControl(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 count, UInt32[] ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glDebugMessageControlARB((OpenTK.Graphics.OpenGL.ArbDebugOutput)source, (OpenTK.Graphics.OpenGL.ArbDebugOutput)type, (OpenTK.Graphics.OpenGL.ArbDebugOutput)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 count, UInt32[] ids, bool enabled); /// [requires: ARB_debug_output] /// Control the reporting of debug messages in a debug context @@ -9897,24 +7285,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageControlARB")] - public static - void DebugMessageControl(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 count, ref UInt32 ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glDebugMessageControlARB((OpenTK.Graphics.OpenGL.ArbDebugOutput)source, (OpenTK.Graphics.OpenGL.ArbDebugOutput)type, (OpenTK.Graphics.OpenGL.ArbDebugOutput)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 count, ref UInt32 ids, bool enabled); /// [requires: ARB_debug_output] /// Control the reporting of debug messages in a debug context @@ -9951,18 +7322,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageControlARB")] - public static - unsafe void DebugMessageControl(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 count, UInt32* ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageControlARB((OpenTK.Graphics.OpenGL.ArbDebugOutput)source, (OpenTK.Graphics.OpenGL.ArbDebugOutput)type, (OpenTK.Graphics.OpenGL.ArbDebugOutput)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - #if DEBUG - } - #endif - } + public static extern unsafe void DebugMessageControl(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 count, UInt32* ids, bool enabled); /// [requires: ARB_debug_output] /// Inject an application-supplied message into the debug message queue @@ -9998,18 +7358,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageInsertARB")] - public static - void DebugMessageInsert(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, Int32 id, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 length, String buf) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageInsertARB((OpenTK.Graphics.OpenGL.ArbDebugOutput)source, (OpenTK.Graphics.OpenGL.ArbDebugOutput)type, (UInt32)id, (OpenTK.Graphics.OpenGL.ArbDebugOutput)severity, (Int32)length, (String)buf); - #if DEBUG - } - #endif - } + public static extern void DebugMessageInsert(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, Int32 id, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 length, String buf); /// [requires: ARB_debug_output] /// Inject an application-supplied message into the debug message queue @@ -10046,59 +7395,16 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageInsertARB")] - public static - void DebugMessageInsert(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, UInt32 id, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 length, String buf) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageInsertARB((OpenTK.Graphics.OpenGL.ArbDebugOutput)source, (OpenTK.Graphics.OpenGL.ArbDebugOutput)type, (UInt32)id, (OpenTK.Graphics.OpenGL.ArbDebugOutput)severity, (Int32)length, (String)buf); - #if DEBUG - } - #endif - } + public static extern void DebugMessageInsert(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, UInt32 id, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 length, String buf); /// [requires: ARB_vertex_buffer_object] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glDeleteBuffersARB")] - public static - void DeleteBuffer(Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* buffers_ptr = (UInt32*)&buffers; - Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffer(Int32 buffers); /// [requires: ARB_vertex_buffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glDeleteBuffersARB")] - public static - void DeleteBuffer(UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* buffers_ptr = (UInt32*)&buffers; - Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffer(UInt32 buffers); /// [requires: ARB_vertex_buffer_object] /// Delete named buffer objects @@ -10114,24 +7420,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glDeleteBuffersARB")] - public static - void DeleteBuffers(Int32 n, Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffers(Int32 n, Int32[] buffers); /// [requires: ARB_vertex_buffer_object] /// Delete named buffer objects @@ -10147,24 +7436,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glDeleteBuffersARB")] - public static - void DeleteBuffers(Int32 n, ref Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - { - Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffers(Int32 n, ref Int32 buffers); /// [requires: ARB_vertex_buffer_object] /// Delete named buffer objects @@ -10181,18 +7453,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glDeleteBuffersARB")] - public static - unsafe void DeleteBuffers(Int32 n, Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteBuffers(Int32 n, Int32* buffers); /// [requires: ARB_vertex_buffer_object] /// Delete named buffer objects @@ -10209,24 +7470,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glDeleteBuffersARB")] - public static - void DeleteBuffers(Int32 n, UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffers(Int32 n, UInt32[] buffers); /// [requires: ARB_vertex_buffer_object] /// Delete named buffer objects @@ -10243,24 +7487,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glDeleteBuffersARB")] - public static - void DeleteBuffers(Int32 n, ref UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - { - Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffers(Int32 n, ref UInt32 buffers); /// [requires: ARB_vertex_buffer_object] /// Delete named buffer objects @@ -10277,64 +7504,20 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glDeleteBuffersARB")] - public static - unsafe void DeleteBuffers(Int32 n, UInt32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteBuffers(Int32 n, UInt32* buffers); /// [requires: ARB_shading_language_include] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glDeleteNamedStringARB")] - public static - void DeleteNamedString(Int32 namelen, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteNamedStringARB((Int32)namelen, (String)name); - #if DEBUG - } - #endif - } + public static extern void DeleteNamedString(Int32 namelen, String name); /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glDeleteObjectARB")] - public static - void DeleteObject(Int32 obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteObjectARB((UInt32)obj); - #if DEBUG - } - #endif - } + public static extern void DeleteObject(Int32 obj); /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glDeleteObjectARB")] - public static - void DeleteObject(UInt32 obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteObjectARB((UInt32)obj); - #if DEBUG - } - #endif - } + public static extern void DeleteObject(UInt32 obj); /// [requires: ARB_fragment_program|ARB_vertex_program] /// Deletes a program object @@ -10345,23 +7528,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glDeleteProgramsARB")] - public static - void DeleteProgram(Int32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* programs_ptr = (UInt32*)&programs; - Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgram(Int32 programs); /// [requires: ARB_fragment_program|ARB_vertex_program] /// Deletes a program object @@ -10373,23 +7540,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glDeleteProgramsARB")] - public static - void DeleteProgram(UInt32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* programs_ptr = (UInt32*)&programs; - Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgram(UInt32 programs); /// [requires: ARB_fragment_program|ARB_vertex_program] /// Deletes a program object @@ -10400,24 +7551,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glDeleteProgramsARB")] - public static - void DeleteProgram(Int32 n, Int32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = programs) - { - Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgram(Int32 n, Int32[] programs); /// [requires: ARB_fragment_program|ARB_vertex_program] /// Deletes a program object @@ -10428,24 +7562,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glDeleteProgramsARB")] - public static - void DeleteProgram(Int32 n, ref Int32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = &programs) - { - Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgram(Int32 n, ref Int32 programs); /// [requires: ARB_fragment_program|ARB_vertex_program] /// Deletes a program object @@ -10457,18 +7574,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glDeleteProgramsARB")] - public static - unsafe void DeleteProgram(Int32 n, Int32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteProgram(Int32 n, Int32* programs); /// [requires: ARB_fragment_program|ARB_vertex_program] /// Deletes a program object @@ -10480,24 +7586,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glDeleteProgramsARB")] - public static - void DeleteProgram(Int32 n, UInt32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = programs) - { - Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgram(Int32 n, UInt32[] programs); /// [requires: ARB_fragment_program|ARB_vertex_program] /// Deletes a program object @@ -10509,24 +7598,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glDeleteProgramsARB")] - public static - void DeleteProgram(Int32 n, ref UInt32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = &programs) - { - Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgram(Int32 n, ref UInt32 programs); /// [requires: ARB_fragment_program|ARB_vertex_program] /// Deletes a program object @@ -10538,59 +7610,16 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glDeleteProgramsARB")] - public static - unsafe void DeleteProgram(Int32 n, UInt32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteProgram(Int32 n, UInt32* programs); /// [requires: ARB_occlusion_query] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glDeleteQueriesARB")] - public static - void DeleteQuery(Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteQuery(Int32 ids); /// [requires: ARB_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glDeleteQueriesARB")] - public static - void DeleteQuery(UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteQuery(UInt32 ids); /// [requires: ARB_occlusion_query] /// Delete named query objects @@ -10606,24 +7635,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glDeleteQueriesARB")] - public static - void DeleteQueries(Int32 n, Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteQueries(Int32 n, Int32[] ids); /// [requires: ARB_occlusion_query] /// Delete named query objects @@ -10639,24 +7651,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glDeleteQueriesARB")] - public static - void DeleteQueries(Int32 n, ref Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteQueries(Int32 n, ref Int32 ids); /// [requires: ARB_occlusion_query] /// Delete named query objects @@ -10673,18 +7668,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glDeleteQueriesARB")] - public static - unsafe void DeleteQueries(Int32 n, Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteQueries(Int32 n, Int32* ids); /// [requires: ARB_occlusion_query] /// Delete named query objects @@ -10701,24 +7685,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glDeleteQueriesARB")] - public static - void DeleteQueries(Int32 n, UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteQueries(Int32 n, UInt32[] ids); /// [requires: ARB_occlusion_query] /// Delete named query objects @@ -10735,24 +7702,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glDeleteQueriesARB")] - public static - void DeleteQueries(Int32 n, ref UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteQueries(Int32 n, ref UInt32 ids); /// [requires: ARB_occlusion_query] /// Delete named query objects @@ -10769,111 +7719,34 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glDeleteQueriesARB")] - public static - unsafe void DeleteQueries(Int32 n, UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteQueries(Int32 n, UInt32* ids); /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glDetachObjectARB")] - public static - void DetachObject(Int32 containerObj, Int32 attachedObj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDetachObjectARB((UInt32)containerObj, (UInt32)attachedObj); - #if DEBUG - } - #endif - } + public static extern void DetachObject(Int32 containerObj, Int32 attachedObj); /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glDetachObjectARB")] - public static - void DetachObject(UInt32 containerObj, UInt32 attachedObj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDetachObjectARB((UInt32)containerObj, (UInt32)attachedObj); - #if DEBUG - } - #endif - } + public static extern void DetachObject(UInt32 containerObj, UInt32 attachedObj); /// [requires: ARB_vertex_program|ARB_vertex_shader] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glDisableVertexAttribArrayARB")] - public static - void DisableVertexAttribArray(Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableVertexAttribArrayARB((UInt32)index); - #if DEBUG - } - #endif - } + public static extern void DisableVertexAttribArray(Int32 index); /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glDisableVertexAttribArrayARB")] - public static - void DisableVertexAttribArray(UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableVertexAttribArrayARB((UInt32)index); - #if DEBUG - } - #endif - } + public static extern void DisableVertexAttribArray(UInt32 index); /// [requires: ARB_compute_variable_group_size] [AutoGenerated(Category = "ARB_compute_variable_group_size", Version = "", EntryPoint = "glDispatchComputeGroupSizeARB")] - public static - void DispatchComputeGroupSize(Int32 num_groups_x, Int32 num_groups_y, Int32 num_groups_z, Int32 group_size_x, Int32 group_size_y, Int32 group_size_z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDispatchComputeGroupSizeARB((UInt32)num_groups_x, (UInt32)num_groups_y, (UInt32)num_groups_z, (UInt32)group_size_x, (UInt32)group_size_y, (UInt32)group_size_z); - #if DEBUG - } - #endif - } + public static extern void DispatchComputeGroupSize(Int32 num_groups_x, Int32 num_groups_y, Int32 num_groups_z, Int32 group_size_x, Int32 group_size_y, Int32 group_size_z); /// [requires: ARB_compute_variable_group_size] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_compute_variable_group_size", Version = "", EntryPoint = "glDispatchComputeGroupSizeARB")] - public static - void DispatchComputeGroupSize(UInt32 num_groups_x, UInt32 num_groups_y, UInt32 num_groups_z, UInt32 group_size_x, UInt32 group_size_y, UInt32 group_size_z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDispatchComputeGroupSizeARB((UInt32)num_groups_x, (UInt32)num_groups_y, (UInt32)num_groups_z, (UInt32)group_size_x, (UInt32)group_size_y, (UInt32)group_size_z); - #if DEBUG - } - #endif - } + public static extern void DispatchComputeGroupSize(UInt32 num_groups_x, UInt32 num_groups_y, UInt32 num_groups_z, UInt32 group_size_x, UInt32 group_size_y, UInt32 group_size_z); /// [requires: ARB_draw_instanced] /// Draw multiple instances of a range of elements @@ -10900,18 +7773,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_instanced", Version = "", EntryPoint = "glDrawArraysInstancedARB")] - public static - void DrawArraysInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArraysInstancedARB((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern void DrawArraysInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count, Int32 primcount); /// [requires: ARB_draw_instanced] /// Draw multiple instances of a range of elements @@ -10937,18 +7799,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_instanced", Version = "", EntryPoint = "glDrawArraysInstancedARB")] - public static - void DrawArraysInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArraysInstancedARB((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern void DrawArraysInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount); /// [requires: ARB_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -10964,24 +7815,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_buffers", Version = "", EntryPoint = "glDrawBuffersARB")] - public static - void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL.ArbDrawBuffers[] bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.ArbDrawBuffers* bufs_ptr = bufs) - { - Delegates.glDrawBuffersARB((Int32)n, (OpenTK.Graphics.OpenGL.ArbDrawBuffers*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL.ArbDrawBuffers[] bufs); /// [requires: ARB_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -10997,24 +7831,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_buffers", Version = "", EntryPoint = "glDrawBuffersARB")] - public static - void DrawBuffers(Int32 n, ref OpenTK.Graphics.OpenGL.ArbDrawBuffers bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.ArbDrawBuffers* bufs_ptr = &bufs) - { - Delegates.glDrawBuffersARB((Int32)n, (OpenTK.Graphics.OpenGL.ArbDrawBuffers*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawBuffers(Int32 n, ref OpenTK.Graphics.OpenGL.ArbDrawBuffers bufs); /// [requires: ARB_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -11031,18 +7848,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_buffers", Version = "", EntryPoint = "glDrawBuffersARB")] - public static - unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL.ArbDrawBuffers* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawBuffersARB((Int32)n, (OpenTK.Graphics.OpenGL.ArbDrawBuffers*)bufs); - #if DEBUG - } - #endif - } + public static extern unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL.ArbDrawBuffers* bufs); /// [requires: ARB_draw_instanced] /// Draw multiple instances of a set of elements @@ -11074,18 +7880,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedARB")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); /// [requires: ARB_draw_instanced] /// Draw multiple instances of a set of elements @@ -11117,27 +7912,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedARB")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_draw_instanced] /// Draw multiple instances of a set of elements @@ -11169,27 +7946,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedARB")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_draw_instanced] /// Draw multiple instances of a set of elements @@ -11221,27 +7980,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedARB")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_draw_instanced] /// Draw multiple instances of a set of elements @@ -11273,28 +8014,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedARB")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_draw_instanced] /// Draw multiple instances of a set of elements @@ -11325,18 +8047,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedARB")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); /// [requires: ARB_draw_instanced] /// Draw multiple instances of a set of elements @@ -11367,27 +8078,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedARB")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_draw_instanced] /// Draw multiple instances of a set of elements @@ -11418,27 +8111,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedARB")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_draw_instanced] /// Draw multiple instances of a set of elements @@ -11469,27 +8144,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedARB")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_draw_instanced] /// Draw multiple instances of a set of elements @@ -11520,28 +8177,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedARB")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Enable or disable a generic vertex attribute array @@ -11552,18 +8190,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glEnableVertexAttribArrayARB")] - public static - void EnableVertexAttribArray(Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableVertexAttribArrayARB((UInt32)index); - #if DEBUG - } - #endif - } + public static extern void EnableVertexAttribArray(Int32 index); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Enable or disable a generic vertex attribute array @@ -11575,33 +8202,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glEnableVertexAttribArrayARB")] - public static - void EnableVertexAttribArray(UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableVertexAttribArrayARB((UInt32)index); - #if DEBUG - } - #endif - } + public static extern void EnableVertexAttribArray(UInt32 index); /// [requires: ARB_occlusion_query] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glEndQueryARB")] - public static - void EndQuery(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndQueryARB((OpenTK.Graphics.OpenGL.ArbOcclusionQuery)target); - #if DEBUG - } - #endif - } + public static extern void EndQuery(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target); /// [requires: ARB_geometry_shader4] /// Attach a level of a texture object as a logical buffer to the currently bound framebuffer object @@ -11632,18 +8237,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_geometry_shader4", Version = "", EntryPoint = "glFramebufferTextureARB")] - public static - void FramebufferTexture(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTextureARB((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level); /// [requires: ARB_geometry_shader4] /// Attach a level of a texture object as a logical buffer to the currently bound framebuffer object @@ -11675,18 +8269,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_geometry_shader4", Version = "", EntryPoint = "glFramebufferTextureARB")] - public static - void FramebufferTexture(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTextureARB((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level); /// [requires: ARB_geometry_shader4] /// Attach a face of a cube map texture as a logical buffer to the currently bound framebuffer @@ -11717,18 +8300,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_geometry_shader4", Version = "", EntryPoint = "glFramebufferTextureFaceARB")] - public static - void FramebufferTextureFace(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTextureFaceARB((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.TextureTarget)face); - #if DEBUG - } - #endif - } + public static extern void FramebufferTextureFace(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face); /// [requires: ARB_geometry_shader4] /// Attach a face of a cube map texture as a logical buffer to the currently bound framebuffer @@ -11760,18 +8332,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_geometry_shader4", Version = "", EntryPoint = "glFramebufferTextureFaceARB")] - public static - void FramebufferTextureFace(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTextureFaceARB((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.TextureTarget)face); - #if DEBUG - } - #endif - } + public static extern void FramebufferTextureFace(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face); /// [requires: ARB_geometry_shader4] /// Attach a single layer of a texture to a framebuffer @@ -11802,18 +8363,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_geometry_shader4", Version = "", EntryPoint = "glFramebufferTextureLayerARB")] - public static - void FramebufferTextureLayer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTextureLayerARB((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); - #if DEBUG - } - #endif - } + public static extern void FramebufferTextureLayer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer); /// [requires: ARB_geometry_shader4] /// Attach a single layer of a texture to a framebuffer @@ -11845,40 +8395,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_geometry_shader4", Version = "", EntryPoint = "glFramebufferTextureLayerARB")] - public static - void FramebufferTextureLayer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTextureLayerARB((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); - #if DEBUG - } - #endif - } + public static extern void FramebufferTextureLayer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); /// [requires: ARB_vertex_buffer_object] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGenBuffersARB")] - public static - Int32 GenBuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* buffers_ptr = &retval; - Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenBuffer(); /// [requires: ARB_vertex_buffer_object] /// Generate buffer object names @@ -11894,24 +8415,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGenBuffersARB")] - public static - void GenBuffers(Int32 n, [OutAttribute] Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenBuffers(Int32 n, [OutAttribute] Int32[] buffers); /// [requires: ARB_vertex_buffer_object] /// Generate buffer object names @@ -11927,25 +8431,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGenBuffersARB")] - public static - void GenBuffers(Int32 n, [OutAttribute] out Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - { - Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr); - buffers = *buffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenBuffers(Int32 n, [OutAttribute] out Int32 buffers); /// [requires: ARB_vertex_buffer_object] /// Generate buffer object names @@ -11962,18 +8448,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGenBuffersARB")] - public static - unsafe void GenBuffers(Int32 n, [OutAttribute] Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenBuffers(Int32 n, [OutAttribute] Int32* buffers); /// [requires: ARB_vertex_buffer_object] /// Generate buffer object names @@ -11990,24 +8465,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGenBuffersARB")] - public static - void GenBuffers(Int32 n, [OutAttribute] UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenBuffers(Int32 n, [OutAttribute] UInt32[] buffers); /// [requires: ARB_vertex_buffer_object] /// Generate buffer object names @@ -12024,25 +8482,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGenBuffersARB")] - public static - void GenBuffers(Int32 n, [OutAttribute] out UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - { - Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr); - buffers = *buffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenBuffers(Int32 n, [OutAttribute] out UInt32 buffers); /// [requires: ARB_vertex_buffer_object] /// Generate buffer object names @@ -12059,182 +8499,43 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGenBuffersARB")] - public static - unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers); /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGenProgramsARB")] - public static - Int32 GenProgram() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* programs_ptr = &retval; - Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenProgram(); /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGenProgramsARB")] - public static - void GenProgram(Int32 n, [OutAttribute] Int32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = programs) - { - Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenProgram(Int32 n, [OutAttribute] Int32[] programs); /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGenProgramsARB")] - public static - void GenProgram(Int32 n, [OutAttribute] out Int32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = &programs) - { - Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr); - programs = *programs_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenProgram(Int32 n, [OutAttribute] out Int32 programs); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGenProgramsARB")] - public static - unsafe void GenProgram(Int32 n, [OutAttribute] Int32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs); - #if DEBUG - } - #endif - } + public static extern unsafe void GenProgram(Int32 n, [OutAttribute] Int32* programs); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGenProgramsARB")] - public static - void GenProgram(Int32 n, [OutAttribute] UInt32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = programs) - { - Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenProgram(Int32 n, [OutAttribute] UInt32[] programs); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGenProgramsARB")] - public static - void GenProgram(Int32 n, [OutAttribute] out UInt32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = &programs) - { - Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr); - programs = *programs_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenProgram(Int32 n, [OutAttribute] out UInt32 programs); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGenProgramsARB")] - public static - unsafe void GenProgram(Int32 n, [OutAttribute] UInt32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs); - #if DEBUG - } - #endif - } + public static extern unsafe void GenProgram(Int32 n, [OutAttribute] UInt32* programs); /// [requires: ARB_occlusion_query] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGenQueriesARB")] - public static - Int32 GenQuery() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* ids_ptr = &retval; - Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenQuery(); /// [requires: ARB_occlusion_query] /// Generate query object names @@ -12250,24 +8551,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGenQueriesARB")] - public static - void GenQueries(Int32 n, [OutAttribute] Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenQueries(Int32 n, [OutAttribute] Int32[] ids); /// [requires: ARB_occlusion_query] /// Generate query object names @@ -12283,25 +8567,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGenQueriesARB")] - public static - void GenQueries(Int32 n, [OutAttribute] out Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenQueries(Int32 n, [OutAttribute] out Int32 ids); /// [requires: ARB_occlusion_query] /// Generate query object names @@ -12318,18 +8584,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGenQueriesARB")] - public static - unsafe void GenQueries(Int32 n, [OutAttribute] Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void GenQueries(Int32 n, [OutAttribute] Int32* ids); /// [requires: ARB_occlusion_query] /// Generate query object names @@ -12346,24 +8601,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGenQueriesARB")] - public static - void GenQueries(Int32 n, [OutAttribute] UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenQueries(Int32 n, [OutAttribute] UInt32[] ids); /// [requires: ARB_occlusion_query] /// Generate query object names @@ -12380,25 +8618,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGenQueriesARB")] - public static - void GenQueries(Int32 n, [OutAttribute] out UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenQueries(Int32 n, [OutAttribute] out UInt32 ids); /// [requires: ARB_occlusion_query] /// Generate query object names @@ -12415,18 +8635,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGenQueriesARB")] - public static - unsafe void GenQueries(Int32 n, [OutAttribute] UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void GenQueries(Int32 n, [OutAttribute] UInt32* ids); /// [requires: ARB_vertex_shader] /// Returns information about an active attribute variable for the specified program object @@ -12467,29 +8676,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_shader", Version = "", EntryPoint = "glGetActiveAttribARB")] - public static - void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ArbVertexShader type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.OpenGL.ArbVertexShader* type_ptr = &type) - { - Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.ArbVertexShader*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ArbVertexShader type, [OutAttribute] StringBuilder name); /// [requires: ARB_vertex_shader] /// Returns information about an active attribute variable for the specified program object @@ -12531,18 +8718,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_shader", Version = "", EntryPoint = "glGetActiveAttribARB")] - public static - unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ArbVertexShader* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ArbVertexShader*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ArbVertexShader* type, [OutAttribute] StringBuilder name); /// [requires: ARB_vertex_shader] /// Returns information about an active attribute variable for the specified program object @@ -12584,29 +8760,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_shader", Version = "", EntryPoint = "glGetActiveAttribARB")] - public static - void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ArbVertexShader type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.OpenGL.ArbVertexShader* type_ptr = &type) - { - Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.ArbVertexShader*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ArbVertexShader type, [OutAttribute] StringBuilder name); /// [requires: ARB_vertex_shader] /// Returns information about an active attribute variable for the specified program object @@ -12648,18 +8802,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_shader", Version = "", EntryPoint = "glGetActiveAttribARB")] - public static - unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ArbVertexShader* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ArbVertexShader*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ArbVertexShader* type, [OutAttribute] StringBuilder name); /// [requires: ARB_shader_objects] /// Returns information about an active uniform variable for the specified program object @@ -12700,29 +8843,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetActiveUniformARB")] - public static - void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ArbShaderObjects type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.OpenGL.ArbShaderObjects* type_ptr = &type) - { - Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.ArbShaderObjects*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ArbShaderObjects type, [OutAttribute] StringBuilder name); /// [requires: ARB_shader_objects] /// Returns information about an active uniform variable for the specified program object @@ -12764,18 +8885,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetActiveUniformARB")] - public static - unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ArbShaderObjects* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ArbShaderObjects*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ArbShaderObjects* type, [OutAttribute] StringBuilder name); /// [requires: ARB_shader_objects] /// Returns information about an active uniform variable for the specified program object @@ -12817,29 +8927,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetActiveUniformARB")] - public static - void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ArbShaderObjects type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.OpenGL.ArbShaderObjects* type_ptr = &type) - { - Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.ArbShaderObjects*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ArbShaderObjects type, [OutAttribute] StringBuilder name); /// [requires: ARB_shader_objects] /// Returns information about an active uniform variable for the specified program object @@ -12881,146 +8969,35 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetActiveUniformARB")] - public static - unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ArbShaderObjects* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ArbShaderObjects*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ArbShaderObjects* type, [OutAttribute] StringBuilder name); /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetAttachedObjectsARB")] - public static - void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] Int32[] obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* obj_ptr = obj) - { - Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); - count = *count_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] Int32[] obj); /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetAttachedObjectsARB")] - public static - void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] out Int32 obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* obj_ptr = &obj) - { - Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); - count = *count_ptr; - obj = *obj_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] out Int32 obj); /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetAttachedObjectsARB")] - public static - unsafe void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] Int32* obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj); - #if DEBUG - } - #endif - } + public static extern unsafe void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] Int32* obj); /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetAttachedObjectsARB")] - public static - void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] UInt32[] obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (UInt32* obj_ptr = obj) - { - Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); - count = *count_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] UInt32[] obj); /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetAttachedObjectsARB")] - public static - void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] out UInt32 obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (UInt32* obj_ptr = &obj) - { - Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); - count = *count_ptr; - obj = *obj_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] out UInt32 obj); /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetAttachedObjectsARB")] - public static - unsafe void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj); - #if DEBUG - } - #endif - } + public static extern unsafe void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* obj); /// [requires: ARB_vertex_shader] /// Returns the location of an attribute variable @@ -13036,18 +9013,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_shader", Version = "", EntryPoint = "glGetAttribLocationARB")] - public static - Int32 GetAttribLocation(Int32 programObj, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetAttribLocationARB((UInt32)programObj, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetAttribLocation(Int32 programObj, String name); /// [requires: ARB_vertex_shader] /// Returns the location of an attribute variable @@ -13064,18 +9030,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_shader", Version = "", EntryPoint = "glGetAttribLocationARB")] - public static - Int32 GetAttribLocation(UInt32 programObj, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetAttribLocationARB((UInt32)programObj, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetAttribLocation(UInt32 programObj, String name); /// [requires: ARB_vertex_buffer_object] /// Return parameters of a buffer object @@ -13097,24 +9052,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use BufferTargetArb overload instead")] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferParameterivARB")] - public static - void GetBufferParameter(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetBufferParameterivARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferParameterNameArb)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetBufferParameter(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] Int32[] @params); /// [requires: ARB_vertex_buffer_object] /// Return parameters of a buffer object @@ -13136,25 +9074,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use BufferTargetArb overload instead")] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferParameterivARB")] - public static - void GetBufferParameter(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetBufferParameterivARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferParameterNameArb)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetBufferParameter(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] out Int32 @params); /// [requires: ARB_vertex_buffer_object] /// Return parameters of a buffer object @@ -13177,18 +9097,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use BufferTargetArb overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferParameterivARB")] - public static - unsafe void GetBufferParameter(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferParameterivARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferParameterNameArb)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetBufferParameter(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] Int32* @params); /// [requires: ARB_vertex_buffer_object] /// Return parameters of a buffer object @@ -13209,24 +9118,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferParameterivARB")] - public static - void GetBufferParameter(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetBufferParameterivARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferParameterNameArb)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetBufferParameter(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] Int32[] @params); /// [requires: ARB_vertex_buffer_object] /// Return parameters of a buffer object @@ -13247,25 +9139,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferParameterivARB")] - public static - void GetBufferParameter(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetBufferParameterivARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferParameterNameArb)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetBufferParameter(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] out Int32 @params); /// [requires: ARB_vertex_buffer_object] /// Return parameters of a buffer object @@ -13287,247 +9161,68 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferParameterivARB")] - public static - unsafe void GetBufferParameter(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferParameterivARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferParameterNameArb)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetBufferParameter(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] Int32* @params); /// [requires: ARB_vertex_buffer_object] [Obsolete("Use BufferTargetArb overload instead")] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferPointervARB")] - public static - void GetBufferPointer(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } + public static extern void GetBufferPointer(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [OutAttribute] IntPtr @params); /// [requires: ARB_vertex_buffer_object] [Obsolete("Use BufferTargetArb overload instead")] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferPointervARB")] - public static - void GetBufferPointer(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [InAttribute, OutAttribute] T2[] @params) + public static extern void GetBufferPointer(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [InAttribute, OutAttribute] T2[] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_buffer_object] [Obsolete("Use BufferTargetArb overload instead")] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferPointervARB")] - public static - void GetBufferPointer(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [InAttribute, OutAttribute] T2[,] @params) + public static extern void GetBufferPointer(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [InAttribute, OutAttribute] T2[,] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_buffer_object] [Obsolete("Use BufferTargetArb overload instead")] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferPointervARB")] - public static - void GetBufferPointer(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [InAttribute, OutAttribute] T2[,,] @params) + public static extern void GetBufferPointer(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [InAttribute, OutAttribute] T2[,,] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_buffer_object] [Obsolete("Use BufferTargetArb overload instead")] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferPointervARB")] - public static - void GetBufferPointer(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [InAttribute, OutAttribute] ref T2 @params) + public static extern void GetBufferPointer(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [InAttribute, OutAttribute] ref T2 @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - @params = (T2)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_buffer_object] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferPointervARB")] - public static - void GetBufferPointer(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } + public static extern void GetBufferPointer(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [OutAttribute] IntPtr @params); /// [requires: ARB_vertex_buffer_object] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferPointervARB")] - public static - void GetBufferPointer(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [InAttribute, OutAttribute] T2[] @params) + public static extern void GetBufferPointer(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [InAttribute, OutAttribute] T2[] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_buffer_object] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferPointervARB")] - public static - void GetBufferPointer(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [InAttribute, OutAttribute] T2[,] @params) + public static extern void GetBufferPointer(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [InAttribute, OutAttribute] T2[,] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_buffer_object] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferPointervARB")] - public static - void GetBufferPointer(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [InAttribute, OutAttribute] T2[,,] @params) + public static extern void GetBufferPointer(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [InAttribute, OutAttribute] T2[,,] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_buffer_object] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferPointervARB")] - public static - void GetBufferPointer(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [InAttribute, OutAttribute] ref T2 @params) + public static extern void GetBufferPointer(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [InAttribute, OutAttribute] ref T2 @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - @params = (T2)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_buffer_object] /// Returns a subset of a buffer object's data store @@ -13553,18 +9248,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferSubDataARB")] - public static - void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferSubDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data); /// [requires: ARB_vertex_buffer_object] /// Returns a subset of a buffer object's data store @@ -13590,27 +9274,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferSubDataARB")] - public static - void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) + public static extern void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetBufferSubDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_buffer_object] /// Returns a subset of a buffer object's data store @@ -13636,27 +9302,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferSubDataARB")] - public static - void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) + public static extern void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetBufferSubDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_buffer_object] /// Returns a subset of a buffer object's data store @@ -13682,27 +9330,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferSubDataARB")] - public static - void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) + public static extern void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetBufferSubDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_buffer_object] /// Returns a subset of a buffer object's data store @@ -13728,28 +9358,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferSubDataARB")] - public static - void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) + public static extern void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetBufferSubDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T3)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_texture_compression] /// Return a compressed texture image @@ -13770,18 +9381,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glGetCompressedTexImageARB")] - public static - void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [OutAttribute] IntPtr img) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetCompressedTexImageARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img); - #if DEBUG - } - #endif - } + public static extern void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [OutAttribute] IntPtr img); /// [requires: ARB_texture_compression] /// Return a compressed texture image @@ -13802,27 +9402,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glGetCompressedTexImageARB")] - public static - void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [InAttribute, OutAttribute] T2[] img) + public static extern void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [InAttribute, OutAttribute] T2[] img) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTexImageARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_texture_compression] /// Return a compressed texture image @@ -13843,27 +9425,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glGetCompressedTexImageARB")] - public static - void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [InAttribute, OutAttribute] T2[,] img) + public static extern void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [InAttribute, OutAttribute] T2[,] img) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTexImageARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_texture_compression] /// Return a compressed texture image @@ -13884,27 +9448,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glGetCompressedTexImageARB")] - public static - void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [InAttribute, OutAttribute] T2[,,] img) + public static extern void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [InAttribute, OutAttribute] T2[,,] img) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTexImageARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_texture_compression] /// Return a compressed texture image @@ -13925,28 +9471,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_compression", Version = "", EntryPoint = "glGetCompressedTexImageARB")] - public static - void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [InAttribute, OutAttribute] ref T2 img) + public static extern void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [InAttribute, OutAttribute] ref T2 img) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTexImageARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); - img = (T2)img_ptr.Target; - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_debug_output] /// Retrieve messages from the debug message log @@ -13992,28 +9519,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogARB")] - public static - Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput[] sources, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.ArbDebugOutput* sources_ptr = sources) - fixed (OpenTK.Graphics.OpenGL.ArbDebugOutput* types_ptr = types) - fixed (Int32* ids_ptr = ids) - fixed (OpenTK.Graphics.OpenGL.ArbDebugOutput* severities_ptr = severities) - fixed (Int32* lengths_ptr = lengths) - { - return Delegates.glGetDebugMessageLogARB((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)sources_ptr, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput[] sources, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog); /// [requires: ARB_debug_output] /// Retrieve messages from the debug message log @@ -14059,34 +9565,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogARB")] - public static - Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL.ArbDebugOutput sources, [OutAttribute] out OpenTK.Graphics.OpenGL.ArbDebugOutput types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL.ArbDebugOutput severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.ArbDebugOutput* sources_ptr = &sources) - fixed (OpenTK.Graphics.OpenGL.ArbDebugOutput* types_ptr = &types) - fixed (Int32* ids_ptr = &ids) - fixed (OpenTK.Graphics.OpenGL.ArbDebugOutput* severities_ptr = &severities) - fixed (Int32* lengths_ptr = &lengths) - { - Int32 retval = Delegates.glGetDebugMessageLogARB((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)sources_ptr, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL.ArbDebugOutput sources, [OutAttribute] out OpenTK.Graphics.OpenGL.ArbDebugOutput types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL.ArbDebugOutput severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog); /// [requires: ARB_debug_output] /// Retrieve messages from the debug message log @@ -14133,18 +9612,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogARB")] - public static - unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* sources, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetDebugMessageLogARB((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)sources, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)severities, (Int32*)lengths, (StringBuilder)messageLog); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* sources, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); /// [requires: ARB_debug_output] /// Retrieve messages from the debug message log @@ -14191,28 +9659,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogARB")] - public static - Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput[] sources, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.ArbDebugOutput* sources_ptr = sources) - fixed (OpenTK.Graphics.OpenGL.ArbDebugOutput* types_ptr = types) - fixed (UInt32* ids_ptr = ids) - fixed (OpenTK.Graphics.OpenGL.ArbDebugOutput* severities_ptr = severities) - fixed (Int32* lengths_ptr = lengths) - { - return Delegates.glGetDebugMessageLogARB((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)sources_ptr, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput[] sources, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog); /// [requires: ARB_debug_output] /// Retrieve messages from the debug message log @@ -14259,34 +9706,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogARB")] - public static - Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL.ArbDebugOutput sources, [OutAttribute] out OpenTK.Graphics.OpenGL.ArbDebugOutput types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL.ArbDebugOutput severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.ArbDebugOutput* sources_ptr = &sources) - fixed (OpenTK.Graphics.OpenGL.ArbDebugOutput* types_ptr = &types) - fixed (UInt32* ids_ptr = &ids) - fixed (OpenTK.Graphics.OpenGL.ArbDebugOutput* severities_ptr = &severities) - fixed (Int32* lengths_ptr = &lengths) - { - Int32 retval = Delegates.glGetDebugMessageLogARB((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)sources_ptr, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL.ArbDebugOutput sources, [OutAttribute] out OpenTK.Graphics.OpenGL.ArbDebugOutput types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL.ArbDebugOutput severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog); /// [requires: ARB_debug_output] /// Retrieve messages from the debug message log @@ -14333,2773 +9753,673 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogARB")] - public static - unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* sources, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetDebugMessageLogARB((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)sources, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)severities, (Int32*)lengths, (StringBuilder)messageLog); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* sources, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetGraphicsResetStatusARB")] - public static - OpenTK.Graphics.OpenGL.ArbRobustness GetGraphicsResetStatus() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetGraphicsResetStatusARB(); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.OpenGL.ArbRobustness GetGraphicsResetStatus(); /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetHandleARB")] - public static - Int32 GetHandle(OpenTK.Graphics.OpenGL.ArbShaderObjects pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetHandleARB((OpenTK.Graphics.OpenGL.ArbShaderObjects)pname); - #if DEBUG - } - #endif - } + public static extern Int32 GetHandle(OpenTK.Graphics.OpenGL.ArbShaderObjects pname); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetImageHandleARB")] - public static - Int64 GetImageHandle(Int32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.ArbBindlessTexture format) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetImageHandleARB((UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL.ArbBindlessTexture)format); - #if DEBUG - } - #endif - } + public static extern Int64 GetImageHandle(Int32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.ArbBindlessTexture format); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetImageHandleARB")] - public static - Int64 GetImageHandle(UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.ArbBindlessTexture format) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetImageHandleARB((UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL.ArbBindlessTexture)format); - #if DEBUG - } - #endif - } + public static extern Int64 GetImageHandle(UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.ArbBindlessTexture format); /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetInfoLogARB")] - public static - void GetInfoLog(Int32 obj, Int32 maxLength, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInfoLog(Int32 obj, Int32 maxLength, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog); /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetInfoLogARB")] - public static - unsafe void GetInfoLog(Int32 obj, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (StringBuilder)infoLog); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInfoLog(Int32 obj, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetInfoLogARB")] - public static - void GetInfoLog(UInt32 obj, Int32 maxLength, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInfoLog(UInt32 obj, Int32 maxLength, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog); /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetInfoLogARB")] - public static - unsafe void GetInfoLog(UInt32 obj, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (StringBuilder)infoLog); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInfoLog(UInt32 obj, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); /// [requires: ARB_shading_language_include] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glGetNamedStringARB")] - public static - void GetNamedString(Int32 namelen, String name, Int32 bufSize, [OutAttribute] out Int32 stringlen, [OutAttribute] StringBuilder @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* stringlen_ptr = &stringlen) - { - Delegates.glGetNamedStringARB((Int32)namelen, (String)name, (Int32)bufSize, (Int32*)stringlen_ptr, (StringBuilder)@string); - stringlen = *stringlen_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedString(Int32 namelen, String name, Int32 bufSize, [OutAttribute] out Int32 stringlen, [OutAttribute] StringBuilder @string); /// [requires: ARB_shading_language_include] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glGetNamedStringARB")] - public static - unsafe void GetNamedString(Int32 namelen, String name, Int32 bufSize, [OutAttribute] Int32* stringlen, [OutAttribute] StringBuilder @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedStringARB((Int32)namelen, (String)name, (Int32)bufSize, (Int32*)stringlen, (StringBuilder)@string); - #if DEBUG - } - #endif - } + public static extern unsafe void GetNamedString(Int32 namelen, String name, Int32 bufSize, [OutAttribute] Int32* stringlen, [OutAttribute] StringBuilder @string); /// [requires: ARB_shading_language_include] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glGetNamedStringivARB")] - public static - void GetNamedString(Int32 namelen, String name, OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetNamedStringivARB((Int32)namelen, (String)name, (OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedString(Int32 namelen, String name, OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude pname, [OutAttribute] Int32[] @params); /// [requires: ARB_shading_language_include] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glGetNamedStringivARB")] - public static - void GetNamedString(Int32 namelen, String name, OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetNamedStringivARB((Int32)namelen, (String)name, (OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedString(Int32 namelen, String name, OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude pname, [OutAttribute] out Int32 @params); /// [requires: ARB_shading_language_include] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glGetNamedStringivARB")] - public static - unsafe void GetNamedString(Int32 namelen, String name, OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedStringivARB((Int32)namelen, (String)name, (OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetNamedString(Int32 namelen, String name, OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude pname, [OutAttribute] Int32* @params); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnColorTableARB")] - public static - void GetnColorTable(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr table) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnColorTableARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)table); - #if DEBUG - } - #endif - } + public static extern void GetnColorTable(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr table); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnColorTableARB")] - public static - void GetnColorTable(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T4[] table) + public static extern void GetnColorTable(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T4[] table) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetnColorTableARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnColorTableARB")] - public static - void GetnColorTable(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T4[,] table) + public static extern void GetnColorTable(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T4[,] table) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetnColorTableARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnColorTableARB")] - public static - void GetnColorTable(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T4[,,] table) + public static extern void GetnColorTable(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T4[,,] table) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetnColorTableARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnColorTableARB")] - public static - void GetnColorTable(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] ref T4 table) + public static extern void GetnColorTable(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] ref T4 table) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetnColorTableARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)table_ptr.AddrOfPinnedObject()); - table = (T4)table_ptr.Target; - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnCompressedTexImageARB")] - public static - void GetnCompressedTexImage(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 lod, Int32 bufSize, [OutAttribute] IntPtr img) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnCompressedTexImageARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (Int32)lod, (Int32)bufSize, (IntPtr)img); - #if DEBUG - } - #endif - } + public static extern void GetnCompressedTexImage(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 lod, Int32 bufSize, [OutAttribute] IntPtr img); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnCompressedTexImageARB")] - public static - void GetnCompressedTexImage(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 lod, Int32 bufSize, [InAttribute, OutAttribute] T3[] img) + public static extern void GetnCompressedTexImage(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 lod, Int32 bufSize, [InAttribute, OutAttribute] T3[] img) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetnCompressedTexImageARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (Int32)lod, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnCompressedTexImageARB")] - public static - void GetnCompressedTexImage(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 lod, Int32 bufSize, [InAttribute, OutAttribute] T3[,] img) + public static extern void GetnCompressedTexImage(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 lod, Int32 bufSize, [InAttribute, OutAttribute] T3[,] img) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetnCompressedTexImageARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (Int32)lod, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnCompressedTexImageARB")] - public static - void GetnCompressedTexImage(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 lod, Int32 bufSize, [InAttribute, OutAttribute] T3[,,] img) + public static extern void GetnCompressedTexImage(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 lod, Int32 bufSize, [InAttribute, OutAttribute] T3[,,] img) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetnCompressedTexImageARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (Int32)lod, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnCompressedTexImageARB")] - public static - void GetnCompressedTexImage(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 lod, Int32 bufSize, [InAttribute, OutAttribute] ref T3 img) + public static extern void GetnCompressedTexImage(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 lod, Int32 bufSize, [InAttribute, OutAttribute] ref T3 img) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetnCompressedTexImageARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (Int32)lod, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject()); - img = (T3)img_ptr.Target; - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnConvolutionFilterARB")] - public static - void GetnConvolutionFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnConvolutionFilterARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)image); - #if DEBUG - } - #endif - } + public static extern void GetnConvolutionFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr image); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnConvolutionFilterARB")] - public static - void GetnConvolutionFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T4[] image) + public static extern void GetnConvolutionFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T4[] image) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetnConvolutionFilterARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnConvolutionFilterARB")] - public static - void GetnConvolutionFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T4[,] image) + public static extern void GetnConvolutionFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T4[,] image) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetnConvolutionFilterARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnConvolutionFilterARB")] - public static - void GetnConvolutionFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T4[,,] image) + public static extern void GetnConvolutionFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T4[,,] image) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetnConvolutionFilterARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnConvolutionFilterARB")] - public static - void GetnConvolutionFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] ref T4 image) + public static extern void GetnConvolutionFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] ref T4 image) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetnConvolutionFilterARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)image_ptr.AddrOfPinnedObject()); - image = (T4)image_ptr.Target; - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnHistogramARB")] - public static - void GetnHistogram(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnHistogramARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (bool)reset, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)values); - #if DEBUG - } - #endif - } + public static extern void GetnHistogram(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr values); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnHistogramARB")] - public static - void GetnHistogram(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T5[] values) + public static extern void GetnHistogram(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T5[] values) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetnHistogramARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (bool)reset, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnHistogramARB")] - public static - void GetnHistogram(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T5[,] values) + public static extern void GetnHistogram(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T5[,] values) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetnHistogramARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (bool)reset, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnHistogramARB")] - public static - void GetnHistogram(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T5[,,] values) + public static extern void GetnHistogram(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T5[,,] values) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetnHistogramARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (bool)reset, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnHistogramARB")] - public static - void GetnHistogram(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] ref T5 values) + public static extern void GetnHistogram(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] ref T5 values) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetnHistogramARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (bool)reset, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject()); - values = (T5)values_ptr.Target; - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapdvARB")] - public static - void GetnMap(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glGetnMapdvARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)query, (Int32)bufSize, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnMap(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Double[] v); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapdvARB")] - public static - void GetnMap(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] out Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glGetnMapdvARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)query, (Int32)bufSize, (Double*)v_ptr); - v = *v_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnMap(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] out Double v); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapdvARB")] - public static - unsafe void GetnMap(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnMapdvARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)query, (Int32)bufSize, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnMap(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Double* v); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapfvARB")] - public static - void GetnMap(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glGetnMapfvARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)query, (Int32)bufSize, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnMap(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Single[] v); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapfvARB")] - public static - void GetnMap(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] out Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glGetnMapfvARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)query, (Int32)bufSize, (Single*)v_ptr); - v = *v_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnMap(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] out Single v); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapfvARB")] - public static - unsafe void GetnMap(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnMapfvARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)query, (Int32)bufSize, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnMap(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Single* v); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapivARB")] - public static - void GetnMap(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glGetnMapivARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)query, (Int32)bufSize, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnMap(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Int32[] v); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapivARB")] - public static - void GetnMap(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] out Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glGetnMapivARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)query, (Int32)bufSize, (Int32*)v_ptr); - v = *v_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnMap(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] out Int32 v); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapivARB")] - public static - unsafe void GetnMap(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnMapivARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)query, (Int32)bufSize, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnMap(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Int32* v); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMinmaxARB")] - public static - void GetnMinmax(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnMinmaxARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (bool)reset, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)values); - #if DEBUG - } - #endif - } + public static extern void GetnMinmax(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr values); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMinmaxARB")] - public static - void GetnMinmax(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T5[] values) + public static extern void GetnMinmax(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T5[] values) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetnMinmaxARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (bool)reset, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMinmaxARB")] - public static - void GetnMinmax(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T5[,] values) + public static extern void GetnMinmax(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T5[,] values) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetnMinmaxARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (bool)reset, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMinmaxARB")] - public static - void GetnMinmax(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T5[,,] values) + public static extern void GetnMinmax(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T5[,,] values) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetnMinmaxARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (bool)reset, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMinmaxARB")] - public static - void GetnMinmax(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] ref T5 values) + public static extern void GetnMinmax(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] ref T5 values) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetnMinmaxARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (bool)reset, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject()); - values = (T5)values_ptr.Target; - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapfvARB")] - public static - void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] Single[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* values_ptr = values) - { - Delegates.glGetnPixelMapfvARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (Single*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] Single[] values); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapfvARB")] - public static - void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] out Single values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* values_ptr = &values) - { - Delegates.glGetnPixelMapfvARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (Single*)values_ptr); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] out Single values); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapfvARB")] - public static - unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] Single* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnPixelMapfvARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (Single*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] Single* values); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapuivARB")] - public static - void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] Int32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* values_ptr = values) - { - Delegates.glGetnPixelMapuivARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (UInt32*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] Int32[] values); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapuivARB")] - public static - void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] out Int32 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* values_ptr = &values) - { - Delegates.glGetnPixelMapuivARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (UInt32*)values_ptr); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] out Int32 values); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapuivARB")] - public static - unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] Int32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnPixelMapuivARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (UInt32*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] Int32* values); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapuivARB")] - public static - void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] UInt32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* values_ptr = values) - { - Delegates.glGetnPixelMapuivARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (UInt32*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] UInt32[] values); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapuivARB")] - public static - void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] out UInt32 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* values_ptr = &values) - { - Delegates.glGetnPixelMapuivARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (UInt32*)values_ptr); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] out UInt32 values); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapuivARB")] - public static - unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] UInt32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnPixelMapuivARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (UInt32*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] UInt32* values); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapusvARB")] - public static - void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] Int16[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* values_ptr = values) - { - Delegates.glGetnPixelMapusvARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (UInt16*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] Int16[] values); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapusvARB")] - public static - void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] out Int16 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* values_ptr = &values) - { - Delegates.glGetnPixelMapusvARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (UInt16*)values_ptr); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] out Int16 values); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapusvARB")] - public static - unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] Int16* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnPixelMapusvARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (UInt16*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] Int16* values); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapusvARB")] - public static - void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] UInt16[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* values_ptr = values) - { - Delegates.glGetnPixelMapusvARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (UInt16*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] UInt16[] values); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapusvARB")] - public static - void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] out UInt16 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* values_ptr = &values) - { - Delegates.glGetnPixelMapusvARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (UInt16*)values_ptr); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] out UInt16 values); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapusvARB")] - public static - unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] UInt16* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnPixelMapusvARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (UInt16*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] UInt16* values); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPolygonStippleARB")] - public static - Byte GetnPolygonStipple() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 bufSize = 1; - Byte retval; - Byte* pattern_ptr = &retval; - Delegates.glGetnPolygonStippleARB((Int32)bufSize, (Byte*)pattern_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Byte GetnPolygonStipple(); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPolygonStippleARB")] - public static - void GetnPolygonStipple(Int32 bufSize, [OutAttribute] Byte[] pattern) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* pattern_ptr = pattern) - { - Delegates.glGetnPolygonStippleARB((Int32)bufSize, (Byte*)pattern_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnPolygonStipple(Int32 bufSize, [OutAttribute] Byte[] pattern); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPolygonStippleARB")] - public static - void GetnPolygonStipple(Int32 bufSize, [OutAttribute] out Byte pattern) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* pattern_ptr = &pattern) - { - Delegates.glGetnPolygonStippleARB((Int32)bufSize, (Byte*)pattern_ptr); - pattern = *pattern_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnPolygonStipple(Int32 bufSize, [OutAttribute] out Byte pattern); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPolygonStippleARB")] - public static - unsafe void GetnPolygonStipple(Int32 bufSize, [OutAttribute] Byte* pattern) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnPolygonStippleARB((Int32)bufSize, (Byte*)pattern); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnPolygonStipple(Int32 bufSize, [OutAttribute] Byte* pattern); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnSeparableFilterARB")] - public static - void GetnSeparableFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 rowBufSize, [OutAttribute] IntPtr row, Int32 columnBufSize, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnSeparableFilterARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)rowBufSize, (IntPtr)row, (Int32)columnBufSize, (IntPtr)column, (IntPtr)span); - #if DEBUG - } - #endif - } + public static extern void GetnSeparableFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 rowBufSize, [OutAttribute] IntPtr row, Int32 columnBufSize, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnSeparableFilterARB")] - public static - void GetnSeparableFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 rowBufSize, [InAttribute, OutAttribute] T4[] row, Int32 columnBufSize, [InAttribute, OutAttribute] T6[] column, [InAttribute, OutAttribute] T7[] span) + public static extern void GetnSeparableFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 rowBufSize, [InAttribute, OutAttribute] T4[] row, Int32 columnBufSize, [InAttribute, OutAttribute] T6[] column, [InAttribute, OutAttribute] T7[] span) where T4 : struct where T6 : struct where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetnSeparableFilterARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)rowBufSize, (IntPtr)row_ptr.AddrOfPinnedObject(), (Int32)columnBufSize, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnSeparableFilterARB")] - public static - void GetnSeparableFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 rowBufSize, [InAttribute, OutAttribute] T4[,] row, Int32 columnBufSize, [InAttribute, OutAttribute] T6[,] column, [InAttribute, OutAttribute] T7[,] span) + public static extern void GetnSeparableFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 rowBufSize, [InAttribute, OutAttribute] T4[,] row, Int32 columnBufSize, [InAttribute, OutAttribute] T6[,] column, [InAttribute, OutAttribute] T7[,] span) where T4 : struct where T6 : struct where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetnSeparableFilterARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)rowBufSize, (IntPtr)row_ptr.AddrOfPinnedObject(), (Int32)columnBufSize, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnSeparableFilterARB")] - public static - void GetnSeparableFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 rowBufSize, [InAttribute, OutAttribute] T4[,,] row, Int32 columnBufSize, [InAttribute, OutAttribute] T6[,,] column, [InAttribute, OutAttribute] T7[,,] span) + public static extern void GetnSeparableFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 rowBufSize, [InAttribute, OutAttribute] T4[,,] row, Int32 columnBufSize, [InAttribute, OutAttribute] T6[,,] column, [InAttribute, OutAttribute] T7[,,] span) where T4 : struct where T6 : struct where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetnSeparableFilterARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)rowBufSize, (IntPtr)row_ptr.AddrOfPinnedObject(), (Int32)columnBufSize, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnSeparableFilterARB")] - public static - void GetnSeparableFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 rowBufSize, [InAttribute, OutAttribute] ref T4 row, Int32 columnBufSize, [InAttribute, OutAttribute] ref T6 column, [InAttribute, OutAttribute] ref T7 span) + public static extern void GetnSeparableFilter(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 rowBufSize, [InAttribute, OutAttribute] ref T4 row, Int32 columnBufSize, [InAttribute, OutAttribute] ref T6 column, [InAttribute, OutAttribute] ref T7 span) where T4 : struct where T6 : struct where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetnSeparableFilterARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)rowBufSize, (IntPtr)row_ptr.AddrOfPinnedObject(), (Int32)columnBufSize, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - row = (T4)row_ptr.Target; - column = (T6)column_ptr.Target; - span = (T7)span_ptr.Target; - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnTexImageARB")] - public static - void GetnTexImage(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 level, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr img) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnTexImageARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (Int32)level, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)img); - #if DEBUG - } - #endif - } + public static extern void GetnTexImage(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 level, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr img); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnTexImageARB")] - public static - void GetnTexImage(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 level, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T5[] img) + public static extern void GetnTexImage(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 level, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T5[] img) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetnTexImageARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (Int32)level, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnTexImageARB")] - public static - void GetnTexImage(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 level, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T5[,] img) + public static extern void GetnTexImage(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 level, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T5[,] img) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetnTexImageARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (Int32)level, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnTexImageARB")] - public static - void GetnTexImage(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 level, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T5[,,] img) + public static extern void GetnTexImage(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 level, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T5[,,] img) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetnTexImageARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (Int32)level, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnTexImageARB")] - public static - void GetnTexImage(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 level, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] ref T5 img) + public static extern void GetnTexImage(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 level, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] ref T5 img) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetnTexImageARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (Int32)level, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject()); - img = (T5)img_ptr.Target; - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformdvARB")] - public static - void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetnUniformdvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Double[] @params); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformdvARB")] - public static - void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetnUniformdvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] out Double @params); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformdvARB")] - public static - unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnUniformdvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Double* @params); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformdvARB")] - public static - void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetnUniformdvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Double[] @params); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformdvARB")] - public static - void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetnUniformdvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] out Double @params); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformdvARB")] - public static - unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnUniformdvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Double* @params); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformfvARB")] - public static - void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetnUniformfvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Single[] @params); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformfvARB")] - public static - void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetnUniformfvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] out Single @params); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformfvARB")] - public static - unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnUniformfvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformfvARB")] - public static - void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetnUniformfvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single[] @params); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformfvARB")] - public static - void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetnUniformfvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] out Single @params); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformfvARB")] - public static - unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnUniformfvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformivARB")] - public static - void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetnUniformivARB((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32[] @params); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformivARB")] - public static - void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetnUniformivARB((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] out Int32 @params); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformivARB")] - public static - unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnUniformivARB((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformivARB")] - public static - void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetnUniformivARB((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32[] @params); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformivARB")] - public static - void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetnUniformivARB((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] out Int32 @params); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformivARB")] - public static - unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnUniformivARB((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformuivARB")] - public static - void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetnUniformuivARB((UInt32)program, (Int32)location, (Int32)bufSize, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] UInt32[] @params); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformuivARB")] - public static - void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetnUniformuivARB((UInt32)program, (Int32)location, (Int32)bufSize, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] out UInt32 @params); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformuivARB")] - public static - unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnUniformuivARB((UInt32)program, (Int32)location, (Int32)bufSize, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] UInt32* @params); /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetObjectParameterfvARB")] - public static - void GetObjectParameter(Int32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectParameter(Int32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Single[] @params); /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetObjectParameterfvARB")] - public static - void GetObjectParameter(Int32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectParameter(Int32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] out Single @params); /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetObjectParameterfvARB")] - public static - unsafe void GetObjectParameter(Int32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectParameter(Int32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Single* @params); /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetObjectParameterfvARB")] - public static - void GetObjectParameter(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectParameter(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Single[] @params); /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetObjectParameterfvARB")] - public static - void GetObjectParameter(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectParameter(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] out Single @params); /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetObjectParameterfvARB")] - public static - unsafe void GetObjectParameter(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectParameter(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Single* @params); /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetObjectParameterivARB")] - public static - void GetObjectParameter(Int32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectParameter(Int32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Int32[] @params); /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetObjectParameterivARB")] - public static - void GetObjectParameter(Int32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectParameter(Int32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] out Int32 @params); /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetObjectParameterivARB")] - public static - unsafe void GetObjectParameter(Int32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectParameter(Int32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Int32* @params); /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetObjectParameterivARB")] - public static - void GetObjectParameter(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectParameter(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Int32[] @params); /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetObjectParameterivARB")] - public static - void GetObjectParameter(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectParameter(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] out Int32 @params); /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetObjectParameterivARB")] - public static - unsafe void GetObjectParameter(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectParameter(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Int32* @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterdvARB")] - public static - void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] Double[] @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterdvARB")] - public static - void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] out Double @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterdvARB")] - public static - unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] Double* @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterdvARB")] - public static - void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Double[] @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterdvARB")] - public static - void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] out Double @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterdvARB")] - public static - unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Double* @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [Obsolete("Use All overload instead")] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterdvARB")] - public static - void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Double[] @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [Obsolete("Use All overload instead")] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterdvARB")] - public static - void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] out Double @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [Obsolete("Use All overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterdvARB")] - public static - unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Double* @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [Obsolete("Use All overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterdvARB")] - public static - void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Double[] @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [Obsolete("Use All overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterdvARB")] - public static - void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] out Double @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [Obsolete("Use All overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterdvARB")] - public static - unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Double* @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterfvARB")] - public static - void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] Single[] @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterfvARB")] - public static - void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] out Single @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterfvARB")] - public static - unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] Single* @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterfvARB")] - public static - void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Single[] @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterfvARB")] - public static - void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] out Single @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterfvARB")] - public static - unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Single* @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [Obsolete("Use All overload instead")] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterfvARB")] - public static - void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Single[] @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [Obsolete("Use All overload instead")] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterfvARB")] - public static - void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] out Single @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [Obsolete("Use All overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterfvARB")] - public static - unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Single* @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [Obsolete("Use All overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterfvARB")] - public static - void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Single[] @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [Obsolete("Use All overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterfvARB")] - public static - void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] out Single @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [Obsolete("Use All overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterfvARB")] - public static - unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Single* @params); /// [requires: ARB_fragment_program|ARB_vertex_program] /// Returns a parameter from a program object @@ -17120,25 +10440,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramivARB")] - public static - void GetProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramivARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] out Int32 @params); /// [requires: ARB_fragment_program|ARB_vertex_program] /// Returns a parameter from a program object @@ -17160,681 +10462,172 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramivARB")] - public static - unsafe void GetProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramivARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Int32* @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterdvARB")] - public static - void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] Double[] @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterdvARB")] - public static - void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] out Double @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterdvARB")] - public static - unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] Double* @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterdvARB")] - public static - void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Double[] @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterdvARB")] - public static - void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] out Double @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterdvARB")] - public static - unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Double* @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [Obsolete("Use All overload instead")] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterdvARB")] - public static - void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Double[] @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [Obsolete("Use All overload instead")] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterdvARB")] - public static - void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] out Double @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [Obsolete("Use All overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterdvARB")] - public static - unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Double* @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [Obsolete("Use All overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterdvARB")] - public static - void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Double[] @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [Obsolete("Use All overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterdvARB")] - public static - void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] out Double @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [Obsolete("Use All overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterdvARB")] - public static - unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Double* @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterfvARB")] - public static - void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] Single[] @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterfvARB")] - public static - void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] out Single @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterfvARB")] - public static - unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] Single* @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterfvARB")] - public static - void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Single[] @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterfvARB")] - public static - void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] out Single @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterfvARB")] - public static - unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Single* @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [Obsolete("Use All overload instead")] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterfvARB")] - public static - void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Single[] @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [Obsolete("Use All overload instead")] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterfvARB")] - public static - void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] out Single @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [Obsolete("Use All overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterfvARB")] - public static - unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Single* @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [Obsolete("Use All overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterfvARB")] - public static - void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Single[] @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [Obsolete("Use All overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterfvARB")] - public static - void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] out Single @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [Obsolete("Use All overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterfvARB")] - public static - unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Single* @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramStringARB")] - public static - void GetProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] IntPtr @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@string); - #if DEBUG - } - #endif - } + public static extern void GetProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] IntPtr @string); /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramStringARB")] - public static - void GetProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [InAttribute, OutAttribute] T2[] @string) + public static extern void GetProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [InAttribute, OutAttribute] T2[] @string) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glGetProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramStringARB")] - public static - void GetProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [InAttribute, OutAttribute] T2[,] @string) + public static extern void GetProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [InAttribute, OutAttribute] T2[,] @string) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glGetProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramStringARB")] - public static - void GetProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [InAttribute, OutAttribute] T2[,,] @string) + public static extern void GetProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [InAttribute, OutAttribute] T2[,,] @string) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glGetProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramStringARB")] - public static - void GetProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [InAttribute, OutAttribute] ref T2 @string) + public static extern void GetProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [InAttribute, OutAttribute] ref T2 @string) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glGetProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); - @string = (T2)@string_ptr.Target; - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_occlusion_query] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGetQueryivARB")] - public static - void GetQuery(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryivARB((OpenTK.Graphics.OpenGL.ArbOcclusionQuery)target, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQuery(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32[] @params); /// [requires: ARB_occlusion_query] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGetQueryivARB")] - public static - void GetQuery(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryivARB((OpenTK.Graphics.OpenGL.ArbOcclusionQuery)target, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQuery(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] out Int32 @params); /// [requires: ARB_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGetQueryivARB")] - public static - unsafe void GetQuery(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryivARB((OpenTK.Graphics.OpenGL.ArbOcclusionQuery)target, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQuery(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32* @params); /// [requires: ARB_occlusion_query] /// Return parameters of a query object @@ -17855,24 +10648,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGetQueryObjectivARB")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32[] @params); /// [requires: ARB_occlusion_query] /// Return parameters of a query object @@ -17893,25 +10669,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGetQueryObjectivARB")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] out Int32 @params); /// [requires: ARB_occlusion_query] /// Return parameters of a query object @@ -17933,18 +10691,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGetQueryObjectivARB")] - public static - unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32* @params); /// [requires: ARB_occlusion_query] /// Return parameters of a query object @@ -17966,24 +10713,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGetQueryObjectivARB")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32[] @params); /// [requires: ARB_occlusion_query] /// Return parameters of a query object @@ -18005,25 +10735,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGetQueryObjectivARB")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] out Int32 @params); /// [requires: ARB_occlusion_query] /// Return parameters of a query object @@ -18045,18 +10757,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGetQueryObjectivARB")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32* @params); /// [requires: ARB_occlusion_query] /// Return parameters of a query object @@ -18078,24 +10779,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGetQueryObjectuivARB")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetQueryObjectuivARB((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] UInt32[] @params); /// [requires: ARB_occlusion_query] /// Return parameters of a query object @@ -18117,25 +10801,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGetQueryObjectuivARB")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectuivARB((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] out UInt32 @params); /// [requires: ARB_occlusion_query] /// Return parameters of a query object @@ -18157,18 +10823,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glGetQueryObjectuivARB")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectuivARB((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] UInt32* @params); /// [requires: ARB_shader_objects] /// Returns the source code string from a shader object @@ -18194,25 +10849,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetShaderSourceARB")] - public static - void GetShaderSource(Int32 obj, Int32 maxLength, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (StringBuilder)source); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShaderSource(Int32 obj, Int32 maxLength, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source); /// [requires: ARB_shader_objects] /// Returns the source code string from a shader object @@ -18239,18 +10876,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetShaderSourceARB")] - public static - unsafe void GetShaderSource(Int32 obj, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (StringBuilder)source); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShaderSource(Int32 obj, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); /// [requires: ARB_shader_objects] /// Returns the source code string from a shader object @@ -18277,25 +10903,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetShaderSourceARB")] - public static - void GetShaderSource(UInt32 obj, Int32 maxLength, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (StringBuilder)source); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShaderSource(UInt32 obj, Int32 maxLength, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source); /// [requires: ARB_shader_objects] /// Returns the source code string from a shader object @@ -18322,80 +10930,25 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetShaderSourceARB")] - public static - unsafe void GetShaderSource(UInt32 obj, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (StringBuilder)source); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShaderSource(UInt32 obj, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetTextureHandleARB")] - public static - Int64 GetTextureHandle(Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetTextureHandleARB((UInt32)texture); - #if DEBUG - } - #endif - } + public static extern Int64 GetTextureHandle(Int32 texture); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetTextureHandleARB")] - public static - Int64 GetTextureHandle(UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetTextureHandleARB((UInt32)texture); - #if DEBUG - } - #endif - } + public static extern Int64 GetTextureHandle(UInt32 texture); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetTextureSamplerHandleARB")] - public static - Int64 GetTextureSamplerHandle(Int32 texture, Int32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetTextureSamplerHandleARB((UInt32)texture, (UInt32)sampler); - #if DEBUG - } - #endif - } + public static extern Int64 GetTextureSamplerHandle(Int32 texture, Int32 sampler); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetTextureSamplerHandleARB")] - public static - Int64 GetTextureSamplerHandle(UInt32 texture, UInt32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetTextureSamplerHandleARB((UInt32)texture, (UInt32)sampler); - #if DEBUG - } - #endif - } + public static extern Int64 GetTextureSamplerHandle(UInt32 texture, UInt32 sampler); /// [requires: ARB_shader_objects] /// Returns the value of a uniform variable @@ -18416,24 +10969,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetUniformfvARB")] - public static - void GetUniform(Int32 programObj, Int32 location, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(Int32 programObj, Int32 location, [OutAttribute] Single[] @params); /// [requires: ARB_shader_objects] /// Returns the value of a uniform variable @@ -18454,25 +10990,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetUniformfvARB")] - public static - void GetUniform(Int32 programObj, Int32 location, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(Int32 programObj, Int32 location, [OutAttribute] out Single @params); /// [requires: ARB_shader_objects] /// Returns the value of a uniform variable @@ -18494,18 +11012,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetUniformfvARB")] - public static - unsafe void GetUniform(Int32 programObj, Int32 location, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniform(Int32 programObj, Int32 location, [OutAttribute] Single* @params); /// [requires: ARB_shader_objects] /// Returns the value of a uniform variable @@ -18527,24 +11034,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetUniformfvARB")] - public static - void GetUniform(UInt32 programObj, Int32 location, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 programObj, Int32 location, [OutAttribute] Single[] @params); /// [requires: ARB_shader_objects] /// Returns the value of a uniform variable @@ -18566,25 +11056,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetUniformfvARB")] - public static - void GetUniform(UInt32 programObj, Int32 location, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 programObj, Int32 location, [OutAttribute] out Single @params); /// [requires: ARB_shader_objects] /// Returns the value of a uniform variable @@ -18606,18 +11078,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetUniformfvARB")] - public static - unsafe void GetUniform(UInt32 programObj, Int32 location, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniform(UInt32 programObj, Int32 location, [OutAttribute] Single* @params); /// [requires: ARB_shader_objects] /// Returns the value of a uniform variable @@ -18638,24 +11099,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetUniformivARB")] - public static - void GetUniform(Int32 programObj, Int32 location, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(Int32 programObj, Int32 location, [OutAttribute] Int32[] @params); /// [requires: ARB_shader_objects] /// Returns the value of a uniform variable @@ -18676,25 +11120,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetUniformivARB")] - public static - void GetUniform(Int32 programObj, Int32 location, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(Int32 programObj, Int32 location, [OutAttribute] out Int32 @params); /// [requires: ARB_shader_objects] /// Returns the value of a uniform variable @@ -18716,18 +11142,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetUniformivARB")] - public static - unsafe void GetUniform(Int32 programObj, Int32 location, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniform(Int32 programObj, Int32 location, [OutAttribute] Int32* @params); /// [requires: ARB_shader_objects] /// Returns the value of a uniform variable @@ -18749,24 +11164,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetUniformivARB")] - public static - void GetUniform(UInt32 programObj, Int32 location, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 programObj, Int32 location, [OutAttribute] Int32[] @params); /// [requires: ARB_shader_objects] /// Returns the value of a uniform variable @@ -18788,25 +11186,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetUniformivARB")] - public static - void GetUniform(UInt32 programObj, Int32 location, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 programObj, Int32 location, [OutAttribute] out Int32 @params); /// [requires: ARB_shader_objects] /// Returns the value of a uniform variable @@ -18828,18 +11208,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetUniformivARB")] - public static - unsafe void GetUniform(UInt32 programObj, Int32 location, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniform(UInt32 programObj, Int32 location, [OutAttribute] Int32* @params); /// [requires: ARB_shader_objects] /// Returns the location of a uniform variable @@ -18855,18 +11224,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetUniformLocationARB")] - public static - Int32 GetUniformLocation(Int32 programObj, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetUniformLocationARB((UInt32)programObj, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetUniformLocation(Int32 programObj, String name); /// [requires: ARB_shader_objects] /// Returns the location of a uniform variable @@ -18883,18 +11241,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glGetUniformLocationARB")] - public static - Int32 GetUniformLocation(UInt32 programObj, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetUniformLocationARB((UInt32)programObj, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetUniformLocation(UInt32 programObj, String name); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -18915,24 +11262,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribdvARB")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Double[] @params); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -18953,25 +11283,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribdvARB")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] out Double @params); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -18993,18 +11305,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribdvARB")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Double* @params); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -19026,24 +11327,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribdvARB")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Double[] @params); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -19065,25 +11349,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribdvARB")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] out Double @params); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -19105,18 +11371,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribdvARB")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Double* @params); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -19137,24 +11392,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribfvARB")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Single[] @params); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -19175,25 +11413,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribfvARB")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] out Single @params); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -19215,18 +11435,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribfvARB")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Single* @params); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -19248,24 +11457,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribfvARB")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Single[] @params); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -19287,25 +11479,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribfvARB")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] out Single @params); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -19327,18 +11501,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribfvARB")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Single* @params); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -19359,24 +11522,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribivARB")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Int32[] @params); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -19397,25 +11543,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribivARB")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] out Int32 @params); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -19437,18 +11565,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribivARB")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Int32* @params); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -19470,24 +11587,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribivARB")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Int32[] @params); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -19509,25 +11609,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribivARB")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] out Int32 @params); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Return a generic vertex attribute parameter @@ -19549,367 +11631,96 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribivARB")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Int32* @params); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetVertexAttribLui64vARB")] - public static - void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetVertexAttribLui64vARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (UInt64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Int64[] @params); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetVertexAttribLui64vARB")] - public static - void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetVertexAttribLui64vARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (UInt64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] out Int64 @params); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetVertexAttribLui64vARB")] - public static - unsafe void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribLui64vARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (UInt64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Int64* @params); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetVertexAttribLui64vARB")] - public static - void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] UInt64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = @params) - { - Delegates.glGetVertexAttribLui64vARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (UInt64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] UInt64[] @params); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetVertexAttribLui64vARB")] - public static - void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] out UInt64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = &@params) - { - Delegates.glGetVertexAttribLui64vARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (UInt64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] out UInt64 @params); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetVertexAttribLui64vARB")] - public static - unsafe void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] UInt64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribLui64vARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (UInt64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] UInt64* @params); /// [requires: ARB_vertex_program|ARB_vertex_shader] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribPointervARB")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [OutAttribute] IntPtr pointer); /// [requires: ARB_vertex_program|ARB_vertex_shader] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribPointervARB")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [InAttribute, OutAttribute] T2[] pointer) + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [InAttribute, OutAttribute] T2[] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_program|ARB_vertex_shader] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribPointervARB")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [InAttribute, OutAttribute] T2[,] pointer) + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [InAttribute, OutAttribute] T2[,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_program|ARB_vertex_shader] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribPointervARB")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [InAttribute, OutAttribute] T2[,,] pointer) + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [InAttribute, OutAttribute] T2[,,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_program|ARB_vertex_shader] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribPointervARB")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [InAttribute, OutAttribute] ref T2 pointer) + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [InAttribute, OutAttribute] ref T2 pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribPointervARB")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [OutAttribute] IntPtr pointer); /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribPointervARB")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [InAttribute, OutAttribute] T2[] pointer) + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [InAttribute, OutAttribute] T2[] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribPointervARB")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [InAttribute, OutAttribute] T2[,] pointer) + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [InAttribute, OutAttribute] T2[,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribPointervARB")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [InAttribute, OutAttribute] T2[,,] pointer) + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [InAttribute, OutAttribute] T2[,,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glGetVertexAttribPointervARB")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [InAttribute, OutAttribute] ref T2 pointer) + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [InAttribute, OutAttribute] ref T2 pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_buffer_object] /// Determine if a name corresponds to a buffer object @@ -19920,18 +11731,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glIsBufferARB")] - public static - bool IsBuffer(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsBufferARB((UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern bool IsBuffer(Int32 buffer); /// [requires: ARB_vertex_buffer_object] /// Determine if a name corresponds to a buffer object @@ -19943,64 +11743,20 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glIsBufferARB")] - public static - bool IsBuffer(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsBufferARB((UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern bool IsBuffer(UInt32 buffer); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glIsImageHandleResidentARB")] - public static - bool IsImageHandleResident(Int64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsImageHandleResidentARB((UInt64)handle); - #if DEBUG - } - #endif - } + public static extern bool IsImageHandleResident(Int64 handle); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glIsImageHandleResidentARB")] - public static - bool IsImageHandleResident(UInt64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsImageHandleResidentARB((UInt64)handle); - #if DEBUG - } - #endif - } + public static extern bool IsImageHandleResident(UInt64 handle); /// [requires: ARB_shading_language_include] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glIsNamedStringARB")] - public static - bool IsNamedString(Int32 namelen, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsNamedStringARB((Int32)namelen, (String)name); - #if DEBUG - } - #endif - } + public static extern bool IsNamedString(Int32 namelen, String name); /// [requires: ARB_fragment_program|ARB_vertex_program] /// Determines if a name corresponds to a program object @@ -20011,18 +11767,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glIsProgramARB")] - public static - bool IsProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsProgramARB((UInt32)program); - #if DEBUG - } - #endif - } + public static extern bool IsProgram(Int32 program); /// [requires: ARB_fragment_program|ARB_vertex_program] /// Determines if a name corresponds to a program object @@ -20034,18 +11779,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glIsProgramARB")] - public static - bool IsProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsProgramARB((UInt32)program); - #if DEBUG - } - #endif - } + public static extern bool IsProgram(UInt32 program); /// [requires: ARB_occlusion_query] /// Determine if a name corresponds to a query object @@ -20056,18 +11790,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glIsQueryARB")] - public static - bool IsQuery(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsQueryARB((UInt32)id); - #if DEBUG - } - #endif - } + public static extern bool IsQuery(Int32 id); /// [requires: ARB_occlusion_query] /// Determine if a name corresponds to a query object @@ -20079,49 +11802,16 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_occlusion_query", Version = "", EntryPoint = "glIsQueryARB")] - public static - bool IsQuery(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsQueryARB((UInt32)id); - #if DEBUG - } - #endif - } + public static extern bool IsQuery(UInt32 id); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glIsTextureHandleResidentARB")] - public static - bool IsTextureHandleResident(Int64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsTextureHandleResidentARB((UInt64)handle); - #if DEBUG - } - #endif - } + public static extern bool IsTextureHandleResident(Int64 handle); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glIsTextureHandleResidentARB")] - public static - bool IsTextureHandleResident(UInt64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsTextureHandleResidentARB((UInt64)handle); - #if DEBUG - } - #endif - } + public static extern bool IsTextureHandleResident(UInt64 handle); /// [requires: ARB_shader_objects] /// Links a program object @@ -20132,18 +11822,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glLinkProgramARB")] - public static - void LinkProgram(Int32 programObj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLinkProgramARB((UInt32)programObj); - #if DEBUG - } - #endif - } + public static extern void LinkProgram(Int32 programObj); /// [requires: ARB_shader_objects] /// Links a program object @@ -20155,18 +11834,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glLinkProgramARB")] - public static - void LinkProgram(UInt32 programObj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLinkProgramARB((UInt32)programObj); - #if DEBUG - } - #endif - } + public static extern void LinkProgram(UInt32 programObj); /// [requires: ARB_transpose_matrix] /// Replace the current matrix with the specified row-major ordered matrix @@ -20177,24 +11845,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transpose_matrix", Version = "", EntryPoint = "glLoadTransposeMatrixdARB")] - public static - void LoadTransposeMatrix(Double[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = m) - { - Delegates.glLoadTransposeMatrixdARB((Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LoadTransposeMatrix(Double[] m); /// [requires: ARB_transpose_matrix] /// Replace the current matrix with the specified row-major ordered matrix @@ -20205,24 +11856,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transpose_matrix", Version = "", EntryPoint = "glLoadTransposeMatrixdARB")] - public static - void LoadTransposeMatrix(ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - Delegates.glLoadTransposeMatrixdARB((Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LoadTransposeMatrix(ref Double m); /// [requires: ARB_transpose_matrix] /// Replace the current matrix with the specified row-major ordered matrix @@ -20234,18 +11868,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transpose_matrix", Version = "", EntryPoint = "glLoadTransposeMatrixdARB")] - public static - unsafe void LoadTransposeMatrix(Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadTransposeMatrixdARB((Double*)m); - #if DEBUG - } - #endif - } + public static extern unsafe void LoadTransposeMatrix(Double* m); /// [requires: ARB_transpose_matrix] /// Replace the current matrix with the specified row-major ordered matrix @@ -20256,24 +11879,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transpose_matrix", Version = "", EntryPoint = "glLoadTransposeMatrixfARB")] - public static - void LoadTransposeMatrix(Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - Delegates.glLoadTransposeMatrixfARB((Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LoadTransposeMatrix(Single[] m); /// [requires: ARB_transpose_matrix] /// Replace the current matrix with the specified row-major ordered matrix @@ -20284,24 +11890,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transpose_matrix", Version = "", EntryPoint = "glLoadTransposeMatrixfARB")] - public static - void LoadTransposeMatrix(ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - Delegates.glLoadTransposeMatrixfARB((Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LoadTransposeMatrix(ref Single m); /// [requires: ARB_transpose_matrix] /// Replace the current matrix with the specified row-major ordered matrix @@ -20313,142 +11902,43 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transpose_matrix", Version = "", EntryPoint = "glLoadTransposeMatrixfARB")] - public static - unsafe void LoadTransposeMatrix(Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadTransposeMatrixfARB((Single*)m); - #if DEBUG - } - #endif - } + public static extern unsafe void LoadTransposeMatrix(Single* m); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glMakeImageHandleNonResidentARB")] - public static - void MakeImageHandleNonResident(Int64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMakeImageHandleNonResidentARB((UInt64)handle); - #if DEBUG - } - #endif - } + public static extern void MakeImageHandleNonResident(Int64 handle); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glMakeImageHandleNonResidentARB")] - public static - void MakeImageHandleNonResident(UInt64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMakeImageHandleNonResidentARB((UInt64)handle); - #if DEBUG - } - #endif - } + public static extern void MakeImageHandleNonResident(UInt64 handle); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glMakeImageHandleResidentARB")] - public static - void MakeImageHandleResident(Int64 handle, OpenTK.Graphics.OpenGL.ArbBindlessTexture access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMakeImageHandleResidentARB((UInt64)handle, (OpenTK.Graphics.OpenGL.ArbBindlessTexture)access); - #if DEBUG - } - #endif - } + public static extern void MakeImageHandleResident(Int64 handle, OpenTK.Graphics.OpenGL.ArbBindlessTexture access); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glMakeImageHandleResidentARB")] - public static - void MakeImageHandleResident(UInt64 handle, OpenTK.Graphics.OpenGL.ArbBindlessTexture access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMakeImageHandleResidentARB((UInt64)handle, (OpenTK.Graphics.OpenGL.ArbBindlessTexture)access); - #if DEBUG - } - #endif - } + public static extern void MakeImageHandleResident(UInt64 handle, OpenTK.Graphics.OpenGL.ArbBindlessTexture access); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glMakeTextureHandleNonResidentARB")] - public static - void MakeTextureHandleNonResident(Int64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMakeTextureHandleNonResidentARB((UInt64)handle); - #if DEBUG - } - #endif - } + public static extern void MakeTextureHandleNonResident(Int64 handle); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glMakeTextureHandleNonResidentARB")] - public static - void MakeTextureHandleNonResident(UInt64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMakeTextureHandleNonResidentARB((UInt64)handle); - #if DEBUG - } - #endif - } + public static extern void MakeTextureHandleNonResident(UInt64 handle); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glMakeTextureHandleResidentARB")] - public static - void MakeTextureHandleResident(Int64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMakeTextureHandleResidentARB((UInt64)handle); - #if DEBUG - } - #endif - } + public static extern void MakeTextureHandleResident(Int64 handle); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glMakeTextureHandleResidentARB")] - public static - void MakeTextureHandleResident(UInt64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMakeTextureHandleResidentARB((UInt64)handle); - #if DEBUG - } - #endif - } + public static extern void MakeTextureHandleResident(UInt64 handle); /// [requires: ARB_vertex_buffer_object] /// Map a buffer object's data store @@ -20465,18 +11955,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use BufferAccessArb overload instead")] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glMapBufferARB")] - public static - IntPtr MapBuffer(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexBufferObject access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glMapBufferARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferAccessArb)access); - #if DEBUG - } - #endif - } + public static extern IntPtr MapBuffer(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexBufferObject access); /// [requires: ARB_vertex_buffer_object] /// Map a buffer object's data store @@ -20492,424 +11971,104 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glMapBufferARB")] - public static - IntPtr MapBuffer(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferAccessArb access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glMapBufferARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferAccessArb)access); - #if DEBUG - } - #endif - } + public static extern IntPtr MapBuffer(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferAccessArb access); /// [requires: ARB_matrix_palette] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexPointerARB")] - public static - void MatrixIndexPointer(Int32 size, OpenTK.Graphics.OpenGL.ArbMatrixPalette type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.OpenGL.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void MatrixIndexPointer(Int32 size, OpenTK.Graphics.OpenGL.ArbMatrixPalette type, Int32 stride, IntPtr pointer); /// [requires: ARB_matrix_palette] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexPointerARB")] - public static - void MatrixIndexPointer(Int32 size, OpenTK.Graphics.OpenGL.ArbMatrixPalette type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) + public static extern void MatrixIndexPointer(Int32 size, OpenTK.Graphics.OpenGL.ArbMatrixPalette type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.OpenGL.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_matrix_palette] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexPointerARB")] - public static - void MatrixIndexPointer(Int32 size, OpenTK.Graphics.OpenGL.ArbMatrixPalette type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) + public static extern void MatrixIndexPointer(Int32 size, OpenTK.Graphics.OpenGL.ArbMatrixPalette type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.OpenGL.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_matrix_palette] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexPointerARB")] - public static - void MatrixIndexPointer(Int32 size, OpenTK.Graphics.OpenGL.ArbMatrixPalette type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) + public static extern void MatrixIndexPointer(Int32 size, OpenTK.Graphics.OpenGL.ArbMatrixPalette type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.OpenGL.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_matrix_palette] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexPointerARB")] - public static - void MatrixIndexPointer(Int32 size, OpenTK.Graphics.OpenGL.ArbMatrixPalette type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) + public static extern void MatrixIndexPointer(Int32 size, OpenTK.Graphics.OpenGL.ArbMatrixPalette type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.OpenGL.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_matrix_palette] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexubvARB")] - public static - void MatrixIndex(Int32 size, Byte[] indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* indices_ptr = indices) - { - Delegates.glMatrixIndexubvARB((Int32)size, (Byte*)indices_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MatrixIndex(Int32 size, Byte[] indices); /// [requires: ARB_matrix_palette] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexubvARB")] - public static - void MatrixIndex(Int32 size, ref Byte indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* indices_ptr = &indices) - { - Delegates.glMatrixIndexubvARB((Int32)size, (Byte*)indices_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MatrixIndex(Int32 size, ref Byte indices); /// [requires: ARB_matrix_palette] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexubvARB")] - public static - unsafe void MatrixIndex(Int32 size, Byte* indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixIndexubvARB((Int32)size, (Byte*)indices); - #if DEBUG - } - #endif - } + public static extern unsafe void MatrixIndex(Int32 size, Byte* indices); /// [requires: ARB_matrix_palette] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexuivARB")] - public static - void MatrixIndex(Int32 size, Int32[] indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* indices_ptr = indices) - { - Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MatrixIndex(Int32 size, Int32[] indices); /// [requires: ARB_matrix_palette] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexuivARB")] - public static - void MatrixIndex(Int32 size, ref Int32 indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* indices_ptr = &indices) - { - Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MatrixIndex(Int32 size, ref Int32 indices); /// [requires: ARB_matrix_palette] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexuivARB")] - public static - unsafe void MatrixIndex(Int32 size, Int32* indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices); - #if DEBUG - } - #endif - } + public static extern unsafe void MatrixIndex(Int32 size, Int32* indices); /// [requires: ARB_matrix_palette] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexuivARB")] - public static - void MatrixIndex(Int32 size, UInt32[] indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* indices_ptr = indices) - { - Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MatrixIndex(Int32 size, UInt32[] indices); /// [requires: ARB_matrix_palette] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexuivARB")] - public static - void MatrixIndex(Int32 size, ref UInt32 indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* indices_ptr = &indices) - { - Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MatrixIndex(Int32 size, ref UInt32 indices); /// [requires: ARB_matrix_palette] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexuivARB")] - public static - unsafe void MatrixIndex(Int32 size, UInt32* indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices); - #if DEBUG - } - #endif - } + public static extern unsafe void MatrixIndex(Int32 size, UInt32* indices); /// [requires: ARB_matrix_palette] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexusvARB")] - public static - void MatrixIndex(Int32 size, Int16[] indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* indices_ptr = indices) - { - Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MatrixIndex(Int32 size, Int16[] indices); /// [requires: ARB_matrix_palette] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexusvARB")] - public static - void MatrixIndex(Int32 size, ref Int16 indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* indices_ptr = &indices) - { - Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MatrixIndex(Int32 size, ref Int16 indices); /// [requires: ARB_matrix_palette] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexusvARB")] - public static - unsafe void MatrixIndex(Int32 size, Int16* indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices); - #if DEBUG - } - #endif - } + public static extern unsafe void MatrixIndex(Int32 size, Int16* indices); /// [requires: ARB_matrix_palette] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexusvARB")] - public static - void MatrixIndex(Int32 size, UInt16[] indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* indices_ptr = indices) - { - Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MatrixIndex(Int32 size, UInt16[] indices); /// [requires: ARB_matrix_palette] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexusvARB")] - public static - void MatrixIndex(Int32 size, ref UInt16 indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* indices_ptr = &indices) - { - Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MatrixIndex(Int32 size, ref UInt16 indices); /// [requires: ARB_matrix_palette] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_matrix_palette", Version = "", EntryPoint = "glMatrixIndexusvARB")] - public static - unsafe void MatrixIndex(Int32 size, UInt16* indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices); - #if DEBUG - } - #endif - } + public static extern unsafe void MatrixIndex(Int32 size, UInt16* indices); /// [requires: ARB_sample_shading] /// Specifies minimum rate at which sample shaing takes place @@ -20920,48 +12079,15 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sample_shading", Version = "", EntryPoint = "glMinSampleShadingARB")] - public static - void MinSampleShading(Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMinSampleShadingARB((Single)value); - #if DEBUG - } - #endif - } + public static extern void MinSampleShading(Single value); /// [requires: ARB_indirect_parameters] [AutoGenerated(Category = "ARB_indirect_parameters", Version = "", EntryPoint = "glMultiDrawArraysIndirectCountARB")] - public static - void MultiDrawArraysIndirectCount(OpenTK.Graphics.OpenGL.ArbIndirectParameters mode, IntPtr indirect, IntPtr drawcount, Int32 maxdrawcount, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawArraysIndirectCountARB((OpenTK.Graphics.OpenGL.ArbIndirectParameters)mode, (IntPtr)indirect, (IntPtr)drawcount, (Int32)maxdrawcount, (Int32)stride); - #if DEBUG - } - #endif - } + public static extern void MultiDrawArraysIndirectCount(OpenTK.Graphics.OpenGL.ArbIndirectParameters mode, IntPtr indirect, IntPtr drawcount, Int32 maxdrawcount, Int32 stride); /// [requires: ARB_indirect_parameters] [AutoGenerated(Category = "ARB_indirect_parameters", Version = "", EntryPoint = "glMultiDrawElementsIndirectCountARB")] - public static - void MultiDrawElementsIndirectCount(OpenTK.Graphics.OpenGL.ArbIndirectParameters mode, OpenTK.Graphics.OpenGL.ArbIndirectParameters type, IntPtr indirect, IntPtr drawcount, Int32 maxdrawcount, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawElementsIndirectCountARB((OpenTK.Graphics.OpenGL.ArbIndirectParameters)mode, (OpenTK.Graphics.OpenGL.ArbIndirectParameters)type, (IntPtr)indirect, (IntPtr)drawcount, (Int32)maxdrawcount, (Int32)stride); - #if DEBUG - } - #endif - } + public static extern void MultiDrawElementsIndirectCount(OpenTK.Graphics.OpenGL.ArbIndirectParameters mode, OpenTK.Graphics.OpenGL.ArbIndirectParameters type, IntPtr indirect, IntPtr drawcount, Int32 maxdrawcount, Int32 stride); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -20977,18 +12103,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord1dARB")] - public static - void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Double s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1dARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Double s); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -21005,18 +12120,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord1dvARB")] - public static - unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1dvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -21032,18 +12136,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord1fARB")] - public static - void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Single s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1fARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Single s); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -21060,18 +12153,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord1fvARB")] - public static - unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1fvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -21087,18 +12169,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord1iARB")] - public static - void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1iARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -21115,18 +12186,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord1ivARB")] - public static - unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1ivARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -21142,18 +12202,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord1sARB")] - public static - void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1sARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -21170,18 +12219,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord1svARB")] - public static - unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1svARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -21197,18 +12235,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord2dARB")] - public static - void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2dARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s, (Double)t); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -21224,24 +12251,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord2dvARB")] - public static - void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glMultiTexCoord2dvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Double[] v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -21257,24 +12267,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord2dvARB")] - public static - void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glMultiTexCoord2dvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Double v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -21291,18 +12284,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord2dvARB")] - public static - unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2dvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -21318,18 +12300,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord2fARB")] - public static - void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2fARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s, (Single)t); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -21345,24 +12316,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord2fvARB")] - public static - void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glMultiTexCoord2fvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Single[] v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -21378,24 +12332,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord2fvARB")] - public static - void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glMultiTexCoord2fvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Single v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -21412,18 +12349,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord2fvARB")] - public static - unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2fvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -21439,18 +12365,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord2iARB")] - public static - void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2iARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s, (Int32)t); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -21466,24 +12381,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord2ivARB")] - public static - void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glMultiTexCoord2ivARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int32[] v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -21499,24 +12397,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord2ivARB")] - public static - void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glMultiTexCoord2ivARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int32 v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -21533,18 +12414,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord2ivARB")] - public static - unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2ivARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -21560,18 +12430,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord2sARB")] - public static - void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2sARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s, (Int16)t); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -21587,24 +12446,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord2svARB")] - public static - void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glMultiTexCoord2svARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int16[] v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -21620,24 +12462,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord2svARB")] - public static - void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glMultiTexCoord2svARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int16 v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -21654,18 +12479,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord2svARB")] - public static - unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2svARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -21681,18 +12495,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord3dARB")] - public static - void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3dARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s, (Double)t, (Double)r); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -21708,24 +12511,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord3dvARB")] - public static - void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glMultiTexCoord3dvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Double[] v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -21741,24 +12527,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord3dvARB")] - public static - void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glMultiTexCoord3dvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, ref Double v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -21775,18 +12544,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord3dvARB")] - public static - unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3dvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -21802,18 +12560,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord3fARB")] - public static - void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3fARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s, (Single)t, (Single)r); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -21829,24 +12576,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord3fvARB")] - public static - void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glMultiTexCoord3fvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Single[] v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -21862,24 +12592,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord3fvARB")] - public static - void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glMultiTexCoord3fvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, ref Single v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -21896,18 +12609,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord3fvARB")] - public static - unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3fvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -21923,18 +12625,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord3iARB")] - public static - void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3iARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -21950,24 +12641,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord3ivARB")] - public static - void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glMultiTexCoord3ivARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int32[] v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -21983,24 +12657,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord3ivARB")] - public static - void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glMultiTexCoord3ivARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int32 v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -22017,18 +12674,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord3ivARB")] - public static - unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3ivARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -22044,18 +12690,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord3sARB")] - public static - void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3sARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -22071,24 +12706,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord3svARB")] - public static - void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glMultiTexCoord3svARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int16[] v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -22104,24 +12722,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord3svARB")] - public static - void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glMultiTexCoord3svARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int16 v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -22138,18 +12739,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord3svARB")] - public static - unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3svARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -22165,18 +12755,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord4dARB")] - public static - void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r, Double q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4dARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s, (Double)t, (Double)r, (Double)q); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r, Double q); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -22192,24 +12771,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord4dvARB")] - public static - void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glMultiTexCoord4dvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Double[] v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -22225,24 +12787,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord4dvARB")] - public static - void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glMultiTexCoord4dvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, ref Double v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -22259,18 +12804,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord4dvARB")] - public static - unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4dvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -22286,18 +12820,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord4fARB")] - public static - void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r, Single q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4fARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s, (Single)t, (Single)r, (Single)q); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r, Single q); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -22313,24 +12836,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord4fvARB")] - public static - void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glMultiTexCoord4fvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Single[] v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -22346,24 +12852,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord4fvARB")] - public static - void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glMultiTexCoord4fvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, ref Single v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -22380,18 +12869,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord4fvARB")] - public static - unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4fvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -22407,18 +12885,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord4iARB")] - public static - void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4iARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r, (Int32)q); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -22434,24 +12901,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord4ivARB")] - public static - void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glMultiTexCoord4ivARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int32[] v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -22467,24 +12917,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord4ivARB")] - public static - void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glMultiTexCoord4ivARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int32 v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -22501,18 +12934,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord4ivARB")] - public static - unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4ivARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -22528,18 +12950,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord4sARB")] - public static - void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4sARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r, (Int16)q); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -22555,24 +12966,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord4svARB")] - public static - void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glMultiTexCoord4svARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int16[] v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -22588,24 +12982,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord4svARB")] - public static - void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glMultiTexCoord4svARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int16 v); /// [requires: ARB_multitexture] /// Set the current texture coordinates @@ -22622,18 +12999,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multitexture", Version = "", EntryPoint = "glMultiTexCoord4svARB")] - public static - unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4svARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); /// [requires: ARB_transpose_matrix] /// Multiply the current matrix with the specified row-major ordered matrix @@ -22644,24 +13010,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transpose_matrix", Version = "", EntryPoint = "glMultTransposeMatrixdARB")] - public static - void MultTransposeMatrix(Double[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = m) - { - Delegates.glMultTransposeMatrixdARB((Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultTransposeMatrix(Double[] m); /// [requires: ARB_transpose_matrix] /// Multiply the current matrix with the specified row-major ordered matrix @@ -22672,24 +13021,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transpose_matrix", Version = "", EntryPoint = "glMultTransposeMatrixdARB")] - public static - void MultTransposeMatrix(ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - Delegates.glMultTransposeMatrixdARB((Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultTransposeMatrix(ref Double m); /// [requires: ARB_transpose_matrix] /// Multiply the current matrix with the specified row-major ordered matrix @@ -22701,18 +13033,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transpose_matrix", Version = "", EntryPoint = "glMultTransposeMatrixdARB")] - public static - unsafe void MultTransposeMatrix(Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultTransposeMatrixdARB((Double*)m); - #if DEBUG - } - #endif - } + public static extern unsafe void MultTransposeMatrix(Double* m); /// [requires: ARB_transpose_matrix] /// Multiply the current matrix with the specified row-major ordered matrix @@ -22723,24 +13044,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transpose_matrix", Version = "", EntryPoint = "glMultTransposeMatrixfARB")] - public static - void MultTransposeMatrix(Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - Delegates.glMultTransposeMatrixfARB((Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultTransposeMatrix(Single[] m); /// [requires: ARB_transpose_matrix] /// Multiply the current matrix with the specified row-major ordered matrix @@ -22751,24 +13055,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transpose_matrix", Version = "", EntryPoint = "glMultTransposeMatrixfARB")] - public static - void MultTransposeMatrix(ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - Delegates.glMultTransposeMatrixfARB((Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultTransposeMatrix(ref Single m); /// [requires: ARB_transpose_matrix] /// Multiply the current matrix with the specified row-major ordered matrix @@ -22780,33 +13067,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transpose_matrix", Version = "", EntryPoint = "glMultTransposeMatrixfARB")] - public static - unsafe void MultTransposeMatrix(Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultTransposeMatrixfARB((Single*)m); - #if DEBUG - } - #endif - } + public static extern unsafe void MultTransposeMatrix(Single* m); /// [requires: ARB_shading_language_include] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glNamedStringARB")] - public static - void NamedString(OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude type, Int32 namelen, String name, Int32 stringlen, String @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedStringARB((OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude)type, (Int32)namelen, (String)name, (Int32)stringlen, (String)@string); - #if DEBUG - } - #endif - } + public static extern void NamedString(OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude type, Int32 namelen, String name, Int32 stringlen, String @string); /// [requires: ARB_point_parameters] /// Specify point parameters @@ -22827,18 +13092,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_point_parameters", Version = "", EntryPoint = "glPointParameterfARB")] - public static - void PointParameter(OpenTK.Graphics.OpenGL.ArbPointParameters pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameterfARB((OpenTK.Graphics.OpenGL.ArbPointParameters)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void PointParameter(OpenTK.Graphics.OpenGL.ArbPointParameters pname, Single param); /// [requires: ARB_point_parameters] /// Specify point parameters @@ -22859,24 +13113,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_point_parameters", Version = "", EntryPoint = "glPointParameterfvARB")] - public static - void PointParameter(OpenTK.Graphics.OpenGL.ArbPointParameters pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glPointParameterfvARB((OpenTK.Graphics.OpenGL.ArbPointParameters)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PointParameter(OpenTK.Graphics.OpenGL.ArbPointParameters pname, Single[] @params); /// [requires: ARB_point_parameters] /// Specify point parameters @@ -22898,614 +13135,155 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_point_parameters", Version = "", EntryPoint = "glPointParameterfvARB")] - public static - unsafe void PointParameter(OpenTK.Graphics.OpenGL.ArbPointParameters pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameterfvARB((OpenTK.Graphics.OpenGL.ArbPointParameters)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void PointParameter(OpenTK.Graphics.OpenGL.ArbPointParameters pname, Single* @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramEnvParameter4dARB")] - public static - void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameter4dARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } + public static extern void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Double x, Double y, Double z, Double w); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramEnvParameter4dARB")] - public static - void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameter4dARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } + public static extern void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w); /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramEnvParameter4dvARB")] - public static - void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Double[] @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramEnvParameter4dvARB")] - public static - void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, ref Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, ref Double @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramEnvParameter4dvARB")] - public static - unsafe void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Double* @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramEnvParameter4dvARB")] - public static - void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double[] @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramEnvParameter4dvARB")] - public static - void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, ref Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, ref Double @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramEnvParameter4dvARB")] - public static - unsafe void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramEnvParameter4fARB")] - public static - void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameter4fARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } + public static extern void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Single x, Single y, Single z, Single w); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramEnvParameter4fARB")] - public static - void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameter4fARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } + public static extern void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w); /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramEnvParameter4fvARB")] - public static - void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Single[] @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramEnvParameter4fvARB")] - public static - void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, ref Single @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramEnvParameter4fvARB")] - public static - unsafe void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Single* @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramEnvParameter4fvARB")] - public static - void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single[] @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramEnvParameter4fvARB")] - public static - void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, ref Single @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramEnvParameter4fvARB")] - public static - unsafe void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramEnvParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramLocalParameter4dARB")] - public static - void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameter4dARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } + public static extern void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Double x, Double y, Double z, Double w); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramLocalParameter4dARB")] - public static - void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameter4dARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } + public static extern void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w); /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramLocalParameter4dvARB")] - public static - void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Double[] @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramLocalParameter4dvARB")] - public static - void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, ref Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, ref Double @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramLocalParameter4dvARB")] - public static - unsafe void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Double* @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramLocalParameter4dvARB")] - public static - void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double[] @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramLocalParameter4dvARB")] - public static - void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, ref Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, ref Double @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramLocalParameter4dvARB")] - public static - unsafe void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramLocalParameter4fARB")] - public static - void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameter4fARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } + public static extern void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Single x, Single y, Single z, Single w); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramLocalParameter4fARB")] - public static - void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameter4fARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } + public static extern void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w); /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramLocalParameter4fvARB")] - public static - void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Single[] @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramLocalParameter4fvARB")] - public static - void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, ref Single @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramLocalParameter4fvARB")] - public static - unsafe void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Single* @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramLocalParameter4fvARB")] - public static - void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single[] @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramLocalParameter4fvARB")] - public static - void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, ref Single @params); /// [requires: ARB_fragment_program|ARB_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramLocalParameter4fvARB")] - public static - unsafe void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramLocalParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* @params); /// [requires: ARB_geometry_shader4] /// Specify a parameter for a program object @@ -23526,18 +13304,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_geometry_shader4", Version = "", EntryPoint = "glProgramParameteriARB")] - public static - void ProgramParameter(Int32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameteriARB((UInt32)program, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32)value); - #if DEBUG - } - #endif - } + public static extern void ProgramParameter(Int32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value); /// [requires: ARB_geometry_shader4] /// Specify a parameter for a program object @@ -23559,508 +13326,133 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_geometry_shader4", Version = "", EntryPoint = "glProgramParameteriARB")] - public static - void ProgramParameter(UInt32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameteriARB((UInt32)program, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32)value); - #if DEBUG - } - #endif - } + public static extern void ProgramParameter(UInt32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value); /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramStringARB")] - public static - void ProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.All format, Int32 len, IntPtr @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.All)format, (Int32)len, (IntPtr)@string); - #if DEBUG - } - #endif - } + public static extern void ProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.All format, Int32 len, IntPtr @string); /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramStringARB")] - public static - void ProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.All format, Int32 len, [InAttribute, OutAttribute] T3[] @string) + public static extern void ProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.All format, Int32 len, [InAttribute, OutAttribute] T3[] @string) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.All)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramStringARB")] - public static - void ProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.All format, Int32 len, [InAttribute, OutAttribute] T3[,] @string) + public static extern void ProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.All format, Int32 len, [InAttribute, OutAttribute] T3[,] @string) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.All)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramStringARB")] - public static - void ProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.All format, Int32 len, [InAttribute, OutAttribute] T3[,,] @string) + public static extern void ProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.All format, Int32 len, [InAttribute, OutAttribute] T3[,,] @string) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.All)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramStringARB")] - public static - void ProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.All format, Int32 len, [InAttribute, OutAttribute] ref T3 @string) + public static extern void ProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.All format, Int32 len, [InAttribute, OutAttribute] ref T3 @string) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.All)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - @string = (T3)@string_ptr.Target; - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_fragment_program|ARB_vertex_program] [Obsolete("Use All overload instead")] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramStringARB")] - public static - void ProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexProgram format, Int32 len, IntPtr @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.All)format, (Int32)len, (IntPtr)@string); - #if DEBUG - } - #endif - } + public static extern void ProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexProgram format, Int32 len, IntPtr @string); /// [requires: ARB_fragment_program|ARB_vertex_program] [Obsolete("Use All overload instead")] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramStringARB")] - public static - void ProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexProgram format, Int32 len, [InAttribute, OutAttribute] T3[] @string) + public static extern void ProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexProgram format, Int32 len, [InAttribute, OutAttribute] T3[] @string) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.All)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_fragment_program|ARB_vertex_program] [Obsolete("Use All overload instead")] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramStringARB")] - public static - void ProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexProgram format, Int32 len, [InAttribute, OutAttribute] T3[,] @string) + public static extern void ProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexProgram format, Int32 len, [InAttribute, OutAttribute] T3[,] @string) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.All)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_fragment_program|ARB_vertex_program] [Obsolete("Use All overload instead")] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramStringARB")] - public static - void ProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexProgram format, Int32 len, [InAttribute, OutAttribute] T3[,,] @string) + public static extern void ProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexProgram format, Int32 len, [InAttribute, OutAttribute] T3[,,] @string) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.All)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_fragment_program|ARB_vertex_program] [Obsolete("Use All overload instead")] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramStringARB")] - public static - void ProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexProgram format, Int32 len, [InAttribute, OutAttribute] ref T3 @string) + public static extern void ProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexProgram format, Int32 len, [InAttribute, OutAttribute] ref T3 @string) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.All)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - @string = (T3)@string_ptr.Target; - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64ARB")] - public static - void ProgramUniformHandle(Int32 program, Int32 location, Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformHandleui64ARB((UInt32)program, (Int32)location, (UInt64)value); - #if DEBUG - } - #endif - } + public static extern void ProgramUniformHandle(Int32 program, Int32 location, Int64 value); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64ARB")] - public static - void ProgramUniformHandle(UInt32 program, Int32 location, UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformHandleui64ARB((UInt32)program, (Int32)location, (UInt64)value); - #if DEBUG - } - #endif - } + public static extern void ProgramUniformHandle(UInt32 program, Int32 location, UInt64 value); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vARB")] - public static - void ProgramUniformHandle(Int32 program, Int32 location, Int32 count, Int64[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* values_ptr = values) - { - Delegates.glProgramUniformHandleui64vARB((UInt32)program, (Int32)location, (Int32)count, (UInt64*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformHandle(Int32 program, Int32 location, Int32 count, Int64[] values); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vARB")] - public static - void ProgramUniformHandle(Int32 program, Int32 location, Int32 count, ref Int64 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* values_ptr = &values) - { - Delegates.glProgramUniformHandleui64vARB((UInt32)program, (Int32)location, (Int32)count, (UInt64*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformHandle(Int32 program, Int32 location, Int32 count, ref Int64 values); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vARB")] - public static - unsafe void ProgramUniformHandle(Int32 program, Int32 location, Int32 count, Int64* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformHandleui64vARB((UInt32)program, (Int32)location, (Int32)count, (UInt64*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformHandle(Int32 program, Int32 location, Int32 count, Int64* values); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vARB")] - public static - void ProgramUniformHandle(UInt32 program, Int32 location, Int32 count, UInt64[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* values_ptr = values) - { - Delegates.glProgramUniformHandleui64vARB((UInt32)program, (Int32)location, (Int32)count, (UInt64*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformHandle(UInt32 program, Int32 location, Int32 count, UInt64[] values); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vARB")] - public static - void ProgramUniformHandle(UInt32 program, Int32 location, Int32 count, ref UInt64 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* values_ptr = &values) - { - Delegates.glProgramUniformHandleui64vARB((UInt32)program, (Int32)location, (Int32)count, (UInt64*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformHandle(UInt32 program, Int32 location, Int32 count, ref UInt64 values); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vARB")] - public static - unsafe void ProgramUniformHandle(UInt32 program, Int32 location, Int32 count, UInt64* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformHandleui64vARB((UInt32)program, (Int32)location, (Int32)count, (UInt64*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformHandle(UInt32 program, Int32 location, Int32 count, UInt64* values); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glReadnPixelsARB")] - public static - void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReadnPixelsARB((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr data); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glReadnPixelsARB")] - public static - void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T7[] data) + public static extern void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T7[] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glReadnPixelsARB((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glReadnPixelsARB")] - public static - void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T7[,] data) + public static extern void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T7[,] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glReadnPixelsARB((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glReadnPixelsARB")] - public static - void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T7[,,] data) + public static extern void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T7[,,] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glReadnPixelsARB((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glReadnPixelsARB")] - public static - void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] ref T7 data) + public static extern void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [InAttribute, OutAttribute] ref T7 data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glReadnPixelsARB((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T7)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_multisample] /// Specify multisample coverage parameters @@ -24076,18 +13468,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multisample", Version = "", EntryPoint = "glSampleCoverageARB")] - public static - void SampleCoverage(Single value, bool invert) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSampleCoverageARB((Single)value, (bool)invert); - #if DEBUG - } - #endif - } + public static extern void SampleCoverage(Single value, bool invert); /// [requires: ARB_shader_objects] /// Replaces the source code in a shader object @@ -24113,24 +13494,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glShaderSourceARB")] - public static - void ShaderSource(Int32 shaderObj, Int32 count, String[] @string, Int32[] length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (String[])@string, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderSource(Int32 shaderObj, Int32 count, String[] @string, Int32[] length); /// [requires: ARB_shader_objects] /// Replaces the source code in a shader object @@ -24156,24 +13520,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glShaderSourceARB")] - public static - void ShaderSource(Int32 shaderObj, Int32 count, String[] @string, ref Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (String[])@string, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderSource(Int32 shaderObj, Int32 count, String[] @string, ref Int32 length); /// [requires: ARB_shader_objects] /// Replaces the source code in a shader object @@ -24200,18 +13547,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glShaderSourceARB")] - public static - unsafe void ShaderSource(Int32 shaderObj, Int32 count, String[] @string, Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (String[])@string, (Int32*)length); - #if DEBUG - } - #endif - } + public static extern unsafe void ShaderSource(Int32 shaderObj, Int32 count, String[] @string, Int32* length); /// [requires: ARB_shader_objects] /// Replaces the source code in a shader object @@ -24238,24 +13574,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glShaderSourceARB")] - public static - void ShaderSource(UInt32 shaderObj, Int32 count, String[] @string, Int32[] length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (String[])@string, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderSource(UInt32 shaderObj, Int32 count, String[] @string, Int32[] length); /// [requires: ARB_shader_objects] /// Replaces the source code in a shader object @@ -24282,24 +13601,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glShaderSourceARB")] - public static - void ShaderSource(UInt32 shaderObj, Int32 count, String[] @string, ref Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (String[])@string, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderSource(UInt32 shaderObj, Int32 count, String[] @string, ref Int32 length); /// [requires: ARB_shader_objects] /// Replaces the source code in a shader object @@ -24326,18 +13628,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glShaderSourceARB")] - public static - unsafe void ShaderSource(UInt32 shaderObj, Int32 count, String[] @string, Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (String[])@string, (Int32*)length); - #if DEBUG - } - #endif - } + public static extern unsafe void ShaderSource(UInt32 shaderObj, Int32 count, String[] @string, Int32* length); /// [requires: ARB_texture_buffer_object] /// Attach the storage for a buffer object to the active buffer texture @@ -24358,18 +13649,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_buffer_object", Version = "", EntryPoint = "glTexBufferARB")] - public static - void TexBuffer(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ArbTextureBufferObject internalformat, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexBufferARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ArbTextureBufferObject)internalformat, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void TexBuffer(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ArbTextureBufferObject internalformat, Int32 buffer); /// [requires: ARB_texture_buffer_object] /// Attach the storage for a buffer object to the active buffer texture @@ -24391,33 +13671,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_texture_buffer_object", Version = "", EntryPoint = "glTexBufferARB")] - public static - void TexBuffer(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ArbTextureBufferObject internalformat, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexBufferARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ArbTextureBufferObject)internalformat, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void TexBuffer(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ArbTextureBufferObject internalformat, UInt32 buffer); /// [requires: ARB_sparse_texture] [AutoGenerated(Category = "ARB_sparse_texture", Version = "", EntryPoint = "glTexPageCommitmentARB")] - public static - void TexPageCommitment(OpenTK.Graphics.OpenGL.ArbSparseTexture target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, bool resident) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexPageCommitmentARB((OpenTK.Graphics.OpenGL.ArbSparseTexture)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (bool)resident); - #if DEBUG - } - #endif - } + public static extern void TexPageCommitment(OpenTK.Graphics.OpenGL.ArbSparseTexture target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, bool resident); /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -24451,18 +13709,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform1fARB")] - public static - void Uniform1(Int32 location, Single v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1fARB((Int32)location, (Single)v0); - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Single v0); /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -24496,24 +13743,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform1fvARB")] - public static - void Uniform1(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniform1fvARB((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, Single[] value); /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -24547,24 +13777,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform1fvARB")] - public static - void Uniform1(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniform1fvARB((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, ref Single value); /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -24599,18 +13812,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform1fvARB")] - public static - unsafe void Uniform1(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1fvARB((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform1(Int32 location, Int32 count, Single* value); /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -24644,18 +13846,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform1iARB")] - public static - void Uniform1(Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1iARB((Int32)location, (Int32)v0); - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 v0); /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -24689,24 +13880,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform1ivARB")] - public static - void Uniform1(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform1ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, Int32[] value); /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -24740,24 +13914,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform1ivARB")] - public static - void Uniform1(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glUniform1ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, ref Int32 value); /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -24792,18 +13949,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform1ivARB")] - public static - unsafe void Uniform1(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1ivARB((Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform1(Int32 location, Int32 count, Int32* value); /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -24837,18 +13983,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform2fARB")] - public static - void Uniform2(Int32 location, Single v0, Single v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2fARB((Int32)location, (Single)v0, (Single)v1); - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Single v0, Single v1); /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -24882,24 +14017,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform2fvARB")] - public static - void Uniform2(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniform2fvARB((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 count, Single[] value); /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -24933,24 +14051,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform2fvARB")] - public static - void Uniform2(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniform2fvARB((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 count, ref Single value); /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -24985,18 +14086,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform2fvARB")] - public static - unsafe void Uniform2(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2fvARB((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform2(Int32 location, Int32 count, Single* value); /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -25030,18 +14120,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform2iARB")] - public static - void Uniform2(Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2iARB((Int32)location, (Int32)v0, (Int32)v1); - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 v0, Int32 v1); /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -25075,24 +14154,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform2ivARB")] - public static - void Uniform2(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform2ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 count, Int32[] value); /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -25127,18 +14189,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform2ivARB")] - public static - unsafe void Uniform2(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2ivARB((Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform2(Int32 location, Int32 count, Int32* value); /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -25172,18 +14223,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform3fARB")] - public static - void Uniform3(Int32 location, Single v0, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3fARB((Int32)location, (Single)v0, (Single)v1, (Single)v2); - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Single v0, Single v1, Single v2); /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -25217,24 +14257,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform3fvARB")] - public static - void Uniform3(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniform3fvARB((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, Single[] value); /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -25268,24 +14291,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform3fvARB")] - public static - void Uniform3(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniform3fvARB((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, ref Single value); /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -25320,18 +14326,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform3fvARB")] - public static - unsafe void Uniform3(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3fvARB((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform3(Int32 location, Int32 count, Single* value); /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -25365,18 +14360,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform3iARB")] - public static - void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3iARB((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2); /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -25410,24 +14394,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform3ivARB")] - public static - void Uniform3(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform3ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, Int32[] value); /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -25461,24 +14428,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform3ivARB")] - public static - void Uniform3(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glUniform3ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, ref Int32 value); /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -25513,18 +14463,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform3ivARB")] - public static - unsafe void Uniform3(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3ivARB((Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform3(Int32 location, Int32 count, Int32* value); /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -25558,18 +14497,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform4fARB")] - public static - void Uniform4(Int32 location, Single v0, Single v1, Single v2, Single v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4fARB((Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Single v0, Single v1, Single v2, Single v3); /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -25603,24 +14531,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform4fvARB")] - public static - void Uniform4(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniform4fvARB((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, Single[] value); /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -25654,24 +14565,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform4fvARB")] - public static - void Uniform4(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniform4fvARB((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, ref Single value); /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -25706,18 +14600,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform4fvARB")] - public static - unsafe void Uniform4(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4fvARB((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform4(Int32 location, Int32 count, Single* value); /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -25751,18 +14634,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform4iARB")] - public static - void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4iARB((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -25796,24 +14668,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform4ivARB")] - public static - void Uniform4(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform4ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, Int32[] value); /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -25847,24 +14702,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform4ivARB")] - public static - void Uniform4(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glUniform4ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, ref Int32 value); /// [requires: ARB_shader_objects] /// Specify the value of a uniform variable for the current program object @@ -25899,387 +14737,96 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniform4ivARB")] - public static - unsafe void Uniform4(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4ivARB((Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform4(Int32 location, Int32 count, Int32* value); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64ARB")] - public static - void UniformHandle(Int32 location, Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformHandleui64ARB((Int32)location, (UInt64)value); - #if DEBUG - } - #endif - } + public static extern void UniformHandle(Int32 location, Int64 value); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64ARB")] - public static - void UniformHandle(Int32 location, UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformHandleui64ARB((Int32)location, (UInt64)value); - #if DEBUG - } - #endif - } + public static extern void UniformHandle(Int32 location, UInt64 value); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vARB")] - public static - void UniformHandle(Int32 location, Int32 count, Int64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = value) - { - Delegates.glUniformHandleui64vARB((Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformHandle(Int32 location, Int32 count, Int64[] value); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vARB")] - public static - void UniformHandle(Int32 location, Int32 count, ref Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = &value) - { - Delegates.glUniformHandleui64vARB((Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformHandle(Int32 location, Int32 count, ref Int64 value); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vARB")] - public static - unsafe void UniformHandle(Int32 location, Int32 count, Int64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformHandleui64vARB((Int32)location, (Int32)count, (UInt64*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformHandle(Int32 location, Int32 count, Int64* value); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vARB")] - public static - void UniformHandle(Int32 location, Int32 count, UInt64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = value) - { - Delegates.glUniformHandleui64vARB((Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformHandle(Int32 location, Int32 count, UInt64[] value); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vARB")] - public static - void UniformHandle(Int32 location, Int32 count, ref UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = &value) - { - Delegates.glUniformHandleui64vARB((Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformHandle(Int32 location, Int32 count, ref UInt64 value); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vARB")] - public static - unsafe void UniformHandle(Int32 location, Int32 count, UInt64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformHandleui64vARB((Int32)location, (Int32)count, (UInt64*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformHandle(Int32 location, Int32 count, UInt64* value); /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniformMatrix2fvARB")] - public static - void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix2fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniformMatrix2fvARB")] - public static - void UniformMatrix2(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix2fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniformMatrix2fvARB")] - public static - unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix2fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniformMatrix3fvARB")] - public static - void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix3fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniformMatrix3fvARB")] - public static - void UniformMatrix3(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix3fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniformMatrix3fvARB")] - public static - unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix3fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniformMatrix4fvARB")] - public static - void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix4fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniformMatrix4fvARB")] - public static - void UniformMatrix4(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix4fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUniformMatrix4fvARB")] - public static - unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix4fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: ARB_vertex_buffer_object] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glUnmapBufferARB")] - public static - bool UnmapBuffer(OpenTK.Graphics.OpenGL.BufferTargetArb target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glUnmapBufferARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target); - #if DEBUG - } - #endif - } + public static extern bool UnmapBuffer(OpenTK.Graphics.OpenGL.BufferTargetArb target); /// [requires: ARB_shader_objects] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUseProgramObjectARB")] - public static - void UseProgramObject(Int32 programObj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUseProgramObjectARB((UInt32)programObj); - #if DEBUG - } - #endif - } + public static extern void UseProgramObject(Int32 programObj); /// [requires: ARB_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glUseProgramObjectARB")] - public static - void UseProgramObject(UInt32 programObj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUseProgramObjectARB((UInt32)programObj); - #if DEBUG - } - #endif - } + public static extern void UseProgramObject(UInt32 programObj); /// [requires: ARB_shader_objects] /// Validates a program object @@ -26290,18 +14837,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glValidateProgramARB")] - public static - void ValidateProgram(Int32 programObj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glValidateProgramARB((UInt32)programObj); - #if DEBUG - } - #endif - } + public static extern void ValidateProgram(Int32 programObj); /// [requires: ARB_shader_objects] /// Validates a program object @@ -26313,18 +14849,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_objects", Version = "", EntryPoint = "glValidateProgramARB")] - public static - void ValidateProgram(UInt32 programObj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glValidateProgramARB((UInt32)programObj); - #if DEBUG - } - #endif - } + public static extern void ValidateProgram(UInt32 programObj); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -26360,18 +14885,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib1dARB")] - public static - void VertexAttrib1(Int32 index, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1dARB((UInt32)index, (Double)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib1(Int32 index, Double x); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -26408,18 +14922,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib1dARB")] - public static - void VertexAttrib1(UInt32 index, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1dARB((UInt32)index, (Double)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib1(UInt32 index, Double x); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -26456,18 +14959,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib1dvARB")] - public static - unsafe void VertexAttrib1(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1dvARB((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib1(Int32 index, Double* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -26504,18 +14996,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib1dvARB")] - public static - unsafe void VertexAttrib1(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1dvARB((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib1(UInt32 index, Double* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -26551,18 +15032,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib1fARB")] - public static - void VertexAttrib1(Int32 index, Single x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1fARB((UInt32)index, (Single)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib1(Int32 index, Single x); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -26599,18 +15069,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib1fARB")] - public static - void VertexAttrib1(UInt32 index, Single x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1fARB((UInt32)index, (Single)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib1(UInt32 index, Single x); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -26647,18 +15106,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib1fvARB")] - public static - unsafe void VertexAttrib1(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1fvARB((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib1(Int32 index, Single* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -26695,18 +15143,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib1fvARB")] - public static - unsafe void VertexAttrib1(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1fvARB((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib1(UInt32 index, Single* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -26742,18 +15179,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib1sARB")] - public static - void VertexAttrib1(Int32 index, Int16 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1sARB((UInt32)index, (Int16)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib1(Int32 index, Int16 x); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -26790,18 +15216,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib1sARB")] - public static - void VertexAttrib1(UInt32 index, Int16 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1sARB((UInt32)index, (Int16)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib1(UInt32 index, Int16 x); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -26838,18 +15253,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib1svARB")] - public static - unsafe void VertexAttrib1(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1svARB((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib1(Int32 index, Int16* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -26886,18 +15290,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib1svARB")] - public static - unsafe void VertexAttrib1(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1svARB((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib1(UInt32 index, Int16* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -26933,18 +15326,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2dARB")] - public static - void VertexAttrib2(Int32 index, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2dARB((UInt32)index, (Double)x, (Double)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, Double x, Double y); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -26981,18 +15363,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2dARB")] - public static - void VertexAttrib2(UInt32 index, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2dARB((UInt32)index, (Double)x, (Double)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, Double x, Double y); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -27028,24 +15399,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2dvARB")] - public static - void VertexAttrib2(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, Double[] v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -27081,24 +15435,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2dvARB")] - public static - void VertexAttrib2(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, ref Double v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -27135,18 +15472,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2dvARB")] - public static - unsafe void VertexAttrib2(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib2(Int32 index, Double* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -27183,24 +15509,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2dvARB")] - public static - void VertexAttrib2(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, Double[] v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -27237,24 +15546,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2dvARB")] - public static - void VertexAttrib2(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, ref Double v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -27291,18 +15583,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2dvARB")] - public static - unsafe void VertexAttrib2(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib2(UInt32 index, Double* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -27338,18 +15619,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2fARB")] - public static - void VertexAttrib2(Int32 index, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2fARB((UInt32)index, (Single)x, (Single)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, Single x, Single y); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -27386,18 +15656,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2fARB")] - public static - void VertexAttrib2(UInt32 index, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2fARB((UInt32)index, (Single)x, (Single)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, Single x, Single y); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -27433,24 +15692,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2fvARB")] - public static - void VertexAttrib2(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, Single[] v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -27486,24 +15728,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2fvARB")] - public static - void VertexAttrib2(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, ref Single v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -27540,18 +15765,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2fvARB")] - public static - unsafe void VertexAttrib2(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib2(Int32 index, Single* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -27588,24 +15802,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2fvARB")] - public static - void VertexAttrib2(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, Single[] v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -27642,24 +15839,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2fvARB")] - public static - void VertexAttrib2(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, ref Single v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -27696,18 +15876,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2fvARB")] - public static - unsafe void VertexAttrib2(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib2(UInt32 index, Single* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -27743,18 +15912,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2sARB")] - public static - void VertexAttrib2(Int32 index, Int16 x, Int16 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2sARB((UInt32)index, (Int16)x, (Int16)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, Int16 x, Int16 y); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -27791,18 +15949,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2sARB")] - public static - void VertexAttrib2(UInt32 index, Int16 x, Int16 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2sARB((UInt32)index, (Int16)x, (Int16)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, Int16 x, Int16 y); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -27838,24 +15985,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2svARB")] - public static - void VertexAttrib2(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, Int16[] v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -27891,24 +16021,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2svARB")] - public static - void VertexAttrib2(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, ref Int16 v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -27945,18 +16058,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2svARB")] - public static - unsafe void VertexAttrib2(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib2(Int32 index, Int16* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -27993,24 +16095,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2svARB")] - public static - void VertexAttrib2(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, Int16[] v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -28047,24 +16132,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2svARB")] - public static - void VertexAttrib2(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, ref Int16 v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -28101,18 +16169,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib2svARB")] - public static - unsafe void VertexAttrib2(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib2(UInt32 index, Int16* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -28148,18 +16205,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3dARB")] - public static - void VertexAttrib3(Int32 index, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3dARB((UInt32)index, (Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, Double x, Double y, Double z); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -28196,18 +16242,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3dARB")] - public static - void VertexAttrib3(UInt32 index, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3dARB((UInt32)index, (Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, Double x, Double y, Double z); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -28243,24 +16278,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3dvARB")] - public static - void VertexAttrib3(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, Double[] v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -28296,24 +16314,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3dvARB")] - public static - void VertexAttrib3(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, ref Double v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -28350,18 +16351,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3dvARB")] - public static - unsafe void VertexAttrib3(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib3(Int32 index, Double* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -28398,24 +16388,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3dvARB")] - public static - void VertexAttrib3(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, Double[] v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -28452,24 +16425,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3dvARB")] - public static - void VertexAttrib3(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, ref Double v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -28506,18 +16462,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3dvARB")] - public static - unsafe void VertexAttrib3(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib3(UInt32 index, Double* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -28553,18 +16498,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3fARB")] - public static - void VertexAttrib3(Int32 index, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3fARB((UInt32)index, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, Single x, Single y, Single z); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -28601,18 +16535,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3fARB")] - public static - void VertexAttrib3(UInt32 index, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3fARB((UInt32)index, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, Single x, Single y, Single z); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -28648,24 +16571,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3fvARB")] - public static - void VertexAttrib3(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, Single[] v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -28701,24 +16607,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3fvARB")] - public static - void VertexAttrib3(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, ref Single v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -28755,18 +16644,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3fvARB")] - public static - unsafe void VertexAttrib3(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib3(Int32 index, Single* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -28803,24 +16681,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3fvARB")] - public static - void VertexAttrib3(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, Single[] v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -28857,24 +16718,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3fvARB")] - public static - void VertexAttrib3(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, ref Single v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -28911,18 +16755,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3fvARB")] - public static - unsafe void VertexAttrib3(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib3(UInt32 index, Single* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -28958,18 +16791,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3sARB")] - public static - void VertexAttrib3(Int32 index, Int16 x, Int16 y, Int16 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3sARB((UInt32)index, (Int16)x, (Int16)y, (Int16)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, Int16 x, Int16 y, Int16 z); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29006,18 +16828,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3sARB")] - public static - void VertexAttrib3(UInt32 index, Int16 x, Int16 y, Int16 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3sARB((UInt32)index, (Int16)x, (Int16)y, (Int16)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, Int16 x, Int16 y, Int16 z); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29053,24 +16864,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3svARB")] - public static - void VertexAttrib3(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, Int16[] v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29106,24 +16900,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3svARB")] - public static - void VertexAttrib3(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, ref Int16 v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29160,18 +16937,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3svARB")] - public static - unsafe void VertexAttrib3(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib3(Int32 index, Int16* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29208,24 +16974,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3svARB")] - public static - void VertexAttrib3(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, Int16[] v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29262,24 +17011,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3svARB")] - public static - void VertexAttrib3(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, ref Int16 v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29316,18 +17048,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib3svARB")] - public static - unsafe void VertexAttrib3(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib3(UInt32 index, Int16* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29364,24 +17085,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4bvARB")] - public static - void VertexAttrib4(UInt32 index, SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - Delegates.glVertexAttrib4bvARB((UInt32)index, (SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, SByte[] v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29418,24 +17122,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4bvARB")] - public static - void VertexAttrib4(UInt32 index, ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - Delegates.glVertexAttrib4bvARB((UInt32)index, (SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, ref SByte v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29472,18 +17159,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4bvARB")] - public static - unsafe void VertexAttrib4(UInt32 index, SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4bvARB((UInt32)index, (SByte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(UInt32 index, SByte* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29519,18 +17195,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4dARB")] - public static - void VertexAttrib4(Int32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4dARB((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Double x, Double y, Double z, Double w); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29567,18 +17232,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4dARB")] - public static - void VertexAttrib4(UInt32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4dARB((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Double x, Double y, Double z, Double w); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29614,24 +17268,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4dvARB")] - public static - void VertexAttrib4(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Double[] v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29667,24 +17304,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4dvARB")] - public static - void VertexAttrib4(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, ref Double v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29721,18 +17341,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4dvARB")] - public static - unsafe void VertexAttrib4(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(Int32 index, Double* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29769,24 +17378,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4dvARB")] - public static - void VertexAttrib4(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Double[] v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29823,24 +17415,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4dvARB")] - public static - void VertexAttrib4(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, ref Double v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29877,18 +17452,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4dvARB")] - public static - unsafe void VertexAttrib4(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(UInt32 index, Double* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29924,18 +17488,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4fARB")] - public static - void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4fARB((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -29972,18 +17525,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4fARB")] - public static - void VertexAttrib4(UInt32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4fARB((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Single x, Single y, Single z, Single w); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -30019,24 +17561,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4fvARB")] - public static - void VertexAttrib4(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Single[] v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -30072,24 +17597,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4fvARB")] - public static - void VertexAttrib4(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, ref Single v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -30126,18 +17634,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4fvARB")] - public static - unsafe void VertexAttrib4(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(Int32 index, Single* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -30174,24 +17671,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4fvARB")] - public static - void VertexAttrib4(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Single[] v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -30228,24 +17708,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4fvARB")] - public static - void VertexAttrib4(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, ref Single v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -30282,18 +17745,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4fvARB")] - public static - unsafe void VertexAttrib4(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(UInt32 index, Single* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -30329,24 +17781,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4ivARB")] - public static - void VertexAttrib4(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Int32[] v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -30382,24 +17817,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4ivARB")] - public static - void VertexAttrib4(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, ref Int32 v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -30436,18 +17854,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4ivARB")] - public static - unsafe void VertexAttrib4(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(Int32 index, Int32* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -30484,24 +17891,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4ivARB")] - public static - void VertexAttrib4(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Int32[] v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -30538,24 +17928,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4ivARB")] - public static - void VertexAttrib4(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, ref Int32 v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -30592,583 +17965,145 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4ivARB")] - public static - unsafe void VertexAttrib4(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(UInt32 index, Int32* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NbvARB")] - public static - void VertexAttrib4N(UInt32 index, SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - Delegates.glVertexAttrib4NbvARB((UInt32)index, (SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, SByte[] v); /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NbvARB")] - public static - void VertexAttrib4N(UInt32 index, ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - Delegates.glVertexAttrib4NbvARB((UInt32)index, (SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, ref SByte v); /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NbvARB")] - public static - unsafe void VertexAttrib4N(UInt32 index, SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4NbvARB((UInt32)index, (SByte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4N(UInt32 index, SByte* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NivARB")] - public static - void VertexAttrib4N(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(Int32 index, Int32[] v); /// [requires: ARB_vertex_program|ARB_vertex_shader] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NivARB")] - public static - void VertexAttrib4N(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(Int32 index, ref Int32 v); /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NivARB")] - public static - unsafe void VertexAttrib4N(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4N(Int32 index, Int32* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NivARB")] - public static - void VertexAttrib4N(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, Int32[] v); /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NivARB")] - public static - void VertexAttrib4N(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, ref Int32 v); /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NivARB")] - public static - unsafe void VertexAttrib4N(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4N(UInt32 index, Int32* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NsvARB")] - public static - void VertexAttrib4N(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(Int32 index, Int16[] v); /// [requires: ARB_vertex_program|ARB_vertex_shader] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NsvARB")] - public static - void VertexAttrib4N(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(Int32 index, ref Int16 v); /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NsvARB")] - public static - unsafe void VertexAttrib4N(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4N(Int32 index, Int16* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NsvARB")] - public static - void VertexAttrib4N(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, Int16[] v); /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NsvARB")] - public static - void VertexAttrib4N(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, ref Int16 v); /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NsvARB")] - public static - unsafe void VertexAttrib4N(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4N(UInt32 index, Int16* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NubARB")] - public static - void VertexAttrib4N(Int32 index, Byte x, Byte y, Byte z, Byte w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4NubARB((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(Int32 index, Byte x, Byte y, Byte z, Byte w); /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NubARB")] - public static - void VertexAttrib4N(UInt32 index, Byte x, Byte y, Byte z, Byte w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4NubARB((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, Byte x, Byte y, Byte z, Byte w); /// [requires: ARB_vertex_program|ARB_vertex_shader] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NubvARB")] - public static - void VertexAttrib4N(Int32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(Int32 index, Byte[] v); /// [requires: ARB_vertex_program|ARB_vertex_shader] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NubvARB")] - public static - void VertexAttrib4N(Int32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(Int32 index, ref Byte v); /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NubvARB")] - public static - unsafe void VertexAttrib4N(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4N(Int32 index, Byte* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NubvARB")] - public static - void VertexAttrib4N(UInt32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, Byte[] v); /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NubvARB")] - public static - void VertexAttrib4N(UInt32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, ref Byte v); /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NubvARB")] - public static - unsafe void VertexAttrib4N(UInt32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4N(UInt32 index, Byte* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NuivARB")] - public static - void VertexAttrib4N(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, UInt32[] v); /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NuivARB")] - public static - void VertexAttrib4N(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, ref UInt32 v); /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NuivARB")] - public static - unsafe void VertexAttrib4N(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4N(UInt32 index, UInt32* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NusvARB")] - public static - void VertexAttrib4N(UInt32 index, UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, UInt16[] v); /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NusvARB")] - public static - void VertexAttrib4N(UInt32 index, ref UInt16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = &v) - { - Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, ref UInt16 v); /// [requires: ARB_vertex_program|ARB_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4NusvARB")] - public static - unsafe void VertexAttrib4N(UInt32 index, UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4N(UInt32 index, UInt16* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31204,18 +18139,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4sARB")] - public static - void VertexAttrib4(Int32 index, Int16 x, Int16 y, Int16 z, Int16 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4sARB((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Int16 x, Int16 y, Int16 z, Int16 w); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31252,18 +18176,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4sARB")] - public static - void VertexAttrib4(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4sARB((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31299,24 +18212,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4svARB")] - public static - void VertexAttrib4(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Int16[] v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31352,24 +18248,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4svARB")] - public static - void VertexAttrib4(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, ref Int16 v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31406,18 +18285,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4svARB")] - public static - unsafe void VertexAttrib4(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(Int32 index, Int16* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31454,24 +18322,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4svARB")] - public static - void VertexAttrib4(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Int16[] v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31508,24 +18359,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4svARB")] - public static - void VertexAttrib4(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, ref Int16 v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31562,18 +18396,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4svARB")] - public static - unsafe void VertexAttrib4(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(UInt32 index, Int16* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31609,24 +18432,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4ubvARB")] - public static - void VertexAttrib4(Int32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Byte[] v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31662,24 +18468,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4ubvARB")] - public static - void VertexAttrib4(Int32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, ref Byte v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31716,18 +18505,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4ubvARB")] - public static - unsafe void VertexAttrib4(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(Int32 index, Byte* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31764,24 +18542,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4ubvARB")] - public static - void VertexAttrib4(UInt32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Byte[] v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31818,24 +18579,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4ubvARB")] - public static - void VertexAttrib4(UInt32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, ref Byte v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31872,18 +18616,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4ubvARB")] - public static - unsafe void VertexAttrib4(UInt32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(UInt32 index, Byte* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31920,24 +18653,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4uivARB")] - public static - void VertexAttrib4(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, UInt32[] v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -31974,24 +18690,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4uivARB")] - public static - void VertexAttrib4(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, ref UInt32 v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -32028,18 +18727,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4uivARB")] - public static - unsafe void VertexAttrib4(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(UInt32 index, UInt32* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -32076,24 +18764,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4usvARB")] - public static - void VertexAttrib4(UInt32 index, UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, UInt16[] v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -32130,24 +18801,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4usvARB")] - public static - void VertexAttrib4(UInt32 index, ref UInt16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = &v) - { - Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, ref UInt16 v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Specifies the value of a generic vertex attribute @@ -32184,18 +18838,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttrib4usvARB")] - public static - unsafe void VertexAttrib4(UInt32 index, UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(UInt32 index, UInt16* v); /// [requires: ARB_instanced_arrays] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -32211,18 +18854,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_instanced_arrays", Version = "", EntryPoint = "glVertexAttribDivisorARB")] - public static - void VertexAttribDivisor(Int32 index, Int32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribDivisorARB((UInt32)index, (UInt32)divisor); - #if DEBUG - } - #endif - } + public static extern void VertexAttribDivisor(Int32 index, Int32 divisor); /// [requires: ARB_instanced_arrays] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -32239,124 +18871,35 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_instanced_arrays", Version = "", EntryPoint = "glVertexAttribDivisorARB")] - public static - void VertexAttribDivisor(UInt32 index, UInt32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribDivisorARB((UInt32)index, (UInt32)divisor); - #if DEBUG - } - #endif - } + public static extern void VertexAttribDivisor(UInt32 index, UInt32 divisor); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glVertexAttribL1ui64ARB")] - public static - void VertexAttribL1(Int32 index, Int64 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL1ui64ARB((UInt32)index, (UInt64)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL1(Int32 index, Int64 x); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glVertexAttribL1ui64ARB")] - public static - void VertexAttribL1(UInt32 index, UInt64 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL1ui64ARB((UInt32)index, (UInt64)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL1(UInt32 index, UInt64 x); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glVertexAttribL1ui64vARB")] - public static - void VertexAttribL1(Int32 index, Int64[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* v_ptr = v) - { - Delegates.glVertexAttribL1ui64vARB((UInt32)index, (UInt64*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL1(Int32 index, Int64[] v); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glVertexAttribL1ui64vARB")] - public static - unsafe void VertexAttribL1(Int32 index, Int64* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL1ui64vARB((UInt32)index, (UInt64*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL1(Int32 index, Int64* v); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glVertexAttribL1ui64vARB")] - public static - void VertexAttribL1(UInt32 index, UInt64[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* v_ptr = v) - { - Delegates.glVertexAttribL1ui64vARB((UInt32)index, (UInt64*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL1(UInt32 index, UInt64[] v); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glVertexAttribL1ui64vARB")] - public static - unsafe void VertexAttribL1(UInt32 index, UInt64* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL1ui64vARB((UInt32)index, (UInt64*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL1(UInt32 index, UInt64* v); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Define an array of generic vertex attribute data @@ -32392,18 +18935,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttribPointerARB")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Define an array of generic vertex attribute data @@ -32439,27 +18971,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttribPointerARB")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] pointer) + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Define an array of generic vertex attribute data @@ -32495,27 +19009,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttribPointerARB")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] pointer) + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Define an array of generic vertex attribute data @@ -32551,27 +19047,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttribPointerARB")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] pointer) + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Define an array of generic vertex attribute data @@ -32607,28 +19085,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttribPointerARB")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 pointer) + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T5)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Define an array of generic vertex attribute data @@ -32665,18 +19124,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttribPointerARB")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer); /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Define an array of generic vertex attribute data @@ -32713,27 +19161,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttribPointerARB")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] pointer) + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Define an array of generic vertex attribute data @@ -32770,27 +19200,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttribPointerARB")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] pointer) + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Define an array of generic vertex attribute data @@ -32827,27 +19239,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttribPointerARB")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] pointer) + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_program|ARB_vertex_shader] /// Define an array of generic vertex attribute data @@ -32884,625 +19278,151 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_program|ARB_vertex_shader", Version = "", EntryPoint = "glVertexAttribPointerARB")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 pointer) + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T5)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_blend] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glVertexBlendARB")] - public static - void VertexBlend(Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexBlendARB((Int32)count); - #if DEBUG - } - #endif - } + public static extern void VertexBlend(Int32 count); /// [requires: ARB_vertex_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightbvARB")] - public static - void Weight(Int32 size, SByte[] weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* weights_ptr = weights) - { - Delegates.glWeightbvARB((Int32)size, (SByte*)weights_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Weight(Int32 size, SByte[] weights); /// [requires: ARB_vertex_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightbvARB")] - public static - void Weight(Int32 size, ref SByte weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* weights_ptr = &weights) - { - Delegates.glWeightbvARB((Int32)size, (SByte*)weights_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Weight(Int32 size, ref SByte weights); /// [requires: ARB_vertex_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightbvARB")] - public static - unsafe void Weight(Int32 size, SByte* weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWeightbvARB((Int32)size, (SByte*)weights); - #if DEBUG - } - #endif - } + public static extern unsafe void Weight(Int32 size, SByte* weights); /// [requires: ARB_vertex_blend] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightdvARB")] - public static - void Weight(Int32 size, Double[] weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* weights_ptr = weights) - { - Delegates.glWeightdvARB((Int32)size, (Double*)weights_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Weight(Int32 size, Double[] weights); /// [requires: ARB_vertex_blend] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightdvARB")] - public static - void Weight(Int32 size, ref Double weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* weights_ptr = &weights) - { - Delegates.glWeightdvARB((Int32)size, (Double*)weights_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Weight(Int32 size, ref Double weights); /// [requires: ARB_vertex_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightdvARB")] - public static - unsafe void Weight(Int32 size, Double* weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWeightdvARB((Int32)size, (Double*)weights); - #if DEBUG - } - #endif - } + public static extern unsafe void Weight(Int32 size, Double* weights); /// [requires: ARB_vertex_blend] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightfvARB")] - public static - void Weight(Int32 size, Single[] weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* weights_ptr = weights) - { - Delegates.glWeightfvARB((Int32)size, (Single*)weights_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Weight(Int32 size, Single[] weights); /// [requires: ARB_vertex_blend] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightfvARB")] - public static - void Weight(Int32 size, ref Single weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* weights_ptr = &weights) - { - Delegates.glWeightfvARB((Int32)size, (Single*)weights_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Weight(Int32 size, ref Single weights); /// [requires: ARB_vertex_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightfvARB")] - public static - unsafe void Weight(Int32 size, Single* weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWeightfvARB((Int32)size, (Single*)weights); - #if DEBUG - } - #endif - } + public static extern unsafe void Weight(Int32 size, Single* weights); /// [requires: ARB_vertex_blend] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightivARB")] - public static - void Weight(Int32 size, Int32[] weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* weights_ptr = weights) - { - Delegates.glWeightivARB((Int32)size, (Int32*)weights_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Weight(Int32 size, Int32[] weights); /// [requires: ARB_vertex_blend] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightivARB")] - public static - void Weight(Int32 size, ref Int32 weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* weights_ptr = &weights) - { - Delegates.glWeightivARB((Int32)size, (Int32*)weights_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Weight(Int32 size, ref Int32 weights); /// [requires: ARB_vertex_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightivARB")] - public static - unsafe void Weight(Int32 size, Int32* weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWeightivARB((Int32)size, (Int32*)weights); - #if DEBUG - } - #endif - } + public static extern unsafe void Weight(Int32 size, Int32* weights); /// [requires: ARB_vertex_blend] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightPointerARB")] - public static - void WeightPointer(Int32 size, OpenTK.Graphics.OpenGL.ArbVertexBlend type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.OpenGL.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void WeightPointer(Int32 size, OpenTK.Graphics.OpenGL.ArbVertexBlend type, Int32 stride, IntPtr pointer); /// [requires: ARB_vertex_blend] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightPointerARB")] - public static - void WeightPointer(Int32 size, OpenTK.Graphics.OpenGL.ArbVertexBlend type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) + public static extern void WeightPointer(Int32 size, OpenTK.Graphics.OpenGL.ArbVertexBlend type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.OpenGL.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_blend] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightPointerARB")] - public static - void WeightPointer(Int32 size, OpenTK.Graphics.OpenGL.ArbVertexBlend type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) + public static extern void WeightPointer(Int32 size, OpenTK.Graphics.OpenGL.ArbVertexBlend type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.OpenGL.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_blend] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightPointerARB")] - public static - void WeightPointer(Int32 size, OpenTK.Graphics.OpenGL.ArbVertexBlend type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) + public static extern void WeightPointer(Int32 size, OpenTK.Graphics.OpenGL.ArbVertexBlend type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.OpenGL.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_blend] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightPointerARB")] - public static - void WeightPointer(Int32 size, OpenTK.Graphics.OpenGL.ArbVertexBlend type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) + public static extern void WeightPointer(Int32 size, OpenTK.Graphics.OpenGL.ArbVertexBlend type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.OpenGL.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_vertex_blend] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightsvARB")] - public static - void Weight(Int32 size, Int16[] weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* weights_ptr = weights) - { - Delegates.glWeightsvARB((Int32)size, (Int16*)weights_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Weight(Int32 size, Int16[] weights); /// [requires: ARB_vertex_blend] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightsvARB")] - public static - void Weight(Int32 size, ref Int16 weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* weights_ptr = &weights) - { - Delegates.glWeightsvARB((Int32)size, (Int16*)weights_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Weight(Int32 size, ref Int16 weights); /// [requires: ARB_vertex_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightsvARB")] - public static - unsafe void Weight(Int32 size, Int16* weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWeightsvARB((Int32)size, (Int16*)weights); - #if DEBUG - } - #endif - } + public static extern unsafe void Weight(Int32 size, Int16* weights); /// [requires: ARB_vertex_blend] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightubvARB")] - public static - void Weight(Int32 size, Byte[] weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* weights_ptr = weights) - { - Delegates.glWeightubvARB((Int32)size, (Byte*)weights_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Weight(Int32 size, Byte[] weights); /// [requires: ARB_vertex_blend] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightubvARB")] - public static - void Weight(Int32 size, ref Byte weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* weights_ptr = &weights) - { - Delegates.glWeightubvARB((Int32)size, (Byte*)weights_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Weight(Int32 size, ref Byte weights); /// [requires: ARB_vertex_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightubvARB")] - public static - unsafe void Weight(Int32 size, Byte* weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWeightubvARB((Int32)size, (Byte*)weights); - #if DEBUG - } - #endif - } + public static extern unsafe void Weight(Int32 size, Byte* weights); /// [requires: ARB_vertex_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightuivARB")] - public static - void Weight(Int32 size, UInt32[] weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* weights_ptr = weights) - { - Delegates.glWeightuivARB((Int32)size, (UInt32*)weights_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Weight(Int32 size, UInt32[] weights); /// [requires: ARB_vertex_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightuivARB")] - public static - void Weight(Int32 size, ref UInt32 weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* weights_ptr = &weights) - { - Delegates.glWeightuivARB((Int32)size, (UInt32*)weights_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Weight(Int32 size, ref UInt32 weights); /// [requires: ARB_vertex_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightuivARB")] - public static - unsafe void Weight(Int32 size, UInt32* weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWeightuivARB((Int32)size, (UInt32*)weights); - #if DEBUG - } - #endif - } + public static extern unsafe void Weight(Int32 size, UInt32* weights); /// [requires: ARB_vertex_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightusvARB")] - public static - void Weight(Int32 size, UInt16[] weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* weights_ptr = weights) - { - Delegates.glWeightusvARB((Int32)size, (UInt16*)weights_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Weight(Int32 size, UInt16[] weights); /// [requires: ARB_vertex_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightusvARB")] - public static - void Weight(Int32 size, ref UInt16 weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* weights_ptr = &weights) - { - Delegates.glWeightusvARB((Int32)size, (UInt16*)weights_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Weight(Int32 size, ref UInt16 weights); /// [requires: ARB_vertex_blend] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_blend", Version = "", EntryPoint = "glWeightusvARB")] - public static - unsafe void Weight(Int32 size, UInt16* weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWeightusvARB((Int32)size, (UInt16*)weights); - #if DEBUG - } - #endif - } + public static extern unsafe void Weight(Int32 size, UInt16* weights); /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -33513,18 +19433,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos2dARB")] - public static - void WindowPos2(Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2dARB((Double)x, (Double)y); - #if DEBUG - } - #endif - } + public static extern void WindowPos2(Double x, Double y); /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -33535,24 +19444,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos2dvARB")] - public static - void WindowPos2(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glWindowPos2dvARB((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos2(Double[] v); /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -33563,24 +19455,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos2dvARB")] - public static - void WindowPos2(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glWindowPos2dvARB((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos2(ref Double v); /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -33592,18 +19467,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos2dvARB")] - public static - unsafe void WindowPos2(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2dvARB((Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void WindowPos2(Double* v); /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -33614,18 +19478,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos2fARB")] - public static - void WindowPos2(Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2fARB((Single)x, (Single)y); - #if DEBUG - } - #endif - } + public static extern void WindowPos2(Single x, Single y); /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -33636,24 +19489,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos2fvARB")] - public static - void WindowPos2(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glWindowPos2fvARB((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos2(Single[] v); /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -33664,24 +19500,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos2fvARB")] - public static - void WindowPos2(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glWindowPos2fvARB((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos2(ref Single v); /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -33693,18 +19512,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos2fvARB")] - public static - unsafe void WindowPos2(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2fvARB((Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void WindowPos2(Single* v); /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -33715,18 +19523,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos2iARB")] - public static - void WindowPos2(Int32 x, Int32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2iARB((Int32)x, (Int32)y); - #if DEBUG - } - #endif - } + public static extern void WindowPos2(Int32 x, Int32 y); /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -33737,24 +19534,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos2ivARB")] - public static - void WindowPos2(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glWindowPos2ivARB((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos2(Int32[] v); /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -33765,24 +19545,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos2ivARB")] - public static - void WindowPos2(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glWindowPos2ivARB((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos2(ref Int32 v); /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -33794,18 +19557,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos2ivARB")] - public static - unsafe void WindowPos2(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2ivARB((Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void WindowPos2(Int32* v); /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -33816,18 +19568,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos2sARB")] - public static - void WindowPos2(Int16 x, Int16 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2sARB((Int16)x, (Int16)y); - #if DEBUG - } - #endif - } + public static extern void WindowPos2(Int16 x, Int16 y); /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -33838,24 +19579,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos2svARB")] - public static - void WindowPos2(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glWindowPos2svARB((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos2(Int16[] v); /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -33866,24 +19590,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos2svARB")] - public static - void WindowPos2(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glWindowPos2svARB((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos2(ref Int16 v); /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -33895,18 +19602,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos2svARB")] - public static - unsafe void WindowPos2(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2svARB((Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void WindowPos2(Int16* v); /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -33917,18 +19613,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos3dARB")] - public static - void WindowPos3(Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3dARB((Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } + public static extern void WindowPos3(Double x, Double y, Double z); /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -33939,24 +19624,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos3dvARB")] - public static - void WindowPos3(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glWindowPos3dvARB((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos3(Double[] v); /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -33967,24 +19635,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos3dvARB")] - public static - void WindowPos3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glWindowPos3dvARB((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos3(ref Double v); /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -33996,18 +19647,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos3dvARB")] - public static - unsafe void WindowPos3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3dvARB((Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void WindowPos3(Double* v); /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -34018,18 +19658,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos3fARB")] - public static - void WindowPos3(Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3fARB((Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void WindowPos3(Single x, Single y, Single z); /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -34040,24 +19669,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos3fvARB")] - public static - void WindowPos3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glWindowPos3fvARB((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos3(Single[] v); /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -34068,24 +19680,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos3fvARB")] - public static - void WindowPos3(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glWindowPos3fvARB((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos3(ref Single v); /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -34097,18 +19692,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos3fvARB")] - public static - unsafe void WindowPos3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3fvARB((Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void WindowPos3(Single* v); /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -34119,18 +19703,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos3iARB")] - public static - void WindowPos3(Int32 x, Int32 y, Int32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3iARB((Int32)x, (Int32)y, (Int32)z); - #if DEBUG - } - #endif - } + public static extern void WindowPos3(Int32 x, Int32 y, Int32 z); /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -34141,24 +19714,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos3ivARB")] - public static - void WindowPos3(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glWindowPos3ivARB((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos3(Int32[] v); /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -34169,24 +19725,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos3ivARB")] - public static - void WindowPos3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glWindowPos3ivARB((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos3(ref Int32 v); /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -34198,18 +19737,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos3ivARB")] - public static - unsafe void WindowPos3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3ivARB((Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void WindowPos3(Int32* v); /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -34220,18 +19748,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos3sARB")] - public static - void WindowPos3(Int16 x, Int16 y, Int16 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3sARB((Int16)x, (Int16)y, (Int16)z); - #if DEBUG - } - #endif - } + public static extern void WindowPos3(Int16 x, Int16 y, Int16 z); /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -34242,24 +19759,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos3svARB")] - public static - void WindowPos3(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glWindowPos3svARB((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos3(Int16[] v); /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -34270,24 +19770,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos3svARB")] - public static - void WindowPos3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glWindowPos3svARB((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos3(ref Int16 v); /// [requires: ARB_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -34299,18 +19782,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_window_pos", Version = "", EntryPoint = "glWindowPos3svARB")] - public static - unsafe void WindowPos3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3svARB((Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void WindowPos3(Int16* v); } @@ -34318,312 +19790,92 @@ namespace OpenTK.Graphics.OpenGL { /// [requires: ATI_fragment_shader] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glAlphaFragmentOp1ATI")] - public static - void AlphaFragmentOp1(OpenTK.Graphics.OpenGL.AtiFragmentShader op, Int32 dst, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAlphaFragmentOp1ATI((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod); - #if DEBUG - } - #endif - } + public static extern void AlphaFragmentOp1(OpenTK.Graphics.OpenGL.AtiFragmentShader op, Int32 dst, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod); /// [requires: ATI_fragment_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glAlphaFragmentOp1ATI")] - public static - void AlphaFragmentOp1(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAlphaFragmentOp1ATI((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod); - #if DEBUG - } - #endif - } + public static extern void AlphaFragmentOp1(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod); /// [requires: ATI_fragment_shader] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glAlphaFragmentOp2ATI")] - public static - void AlphaFragmentOp2(OpenTK.Graphics.OpenGL.AtiFragmentShader op, Int32 dst, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAlphaFragmentOp2ATI((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod); - #if DEBUG - } - #endif - } + public static extern void AlphaFragmentOp2(OpenTK.Graphics.OpenGL.AtiFragmentShader op, Int32 dst, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod); /// [requires: ATI_fragment_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glAlphaFragmentOp2ATI")] - public static - void AlphaFragmentOp2(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAlphaFragmentOp2ATI((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod); - #if DEBUG - } - #endif - } + public static extern void AlphaFragmentOp2(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod); /// [requires: ATI_fragment_shader] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glAlphaFragmentOp3ATI")] - public static - void AlphaFragmentOp3(OpenTK.Graphics.OpenGL.AtiFragmentShader op, Int32 dst, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod, Int32 arg3, Int32 arg3Rep, Int32 arg3Mod) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAlphaFragmentOp3ATI((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod); - #if DEBUG - } - #endif - } + public static extern void AlphaFragmentOp3(OpenTK.Graphics.OpenGL.AtiFragmentShader op, Int32 dst, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod, Int32 arg3, Int32 arg3Rep, Int32 arg3Mod); /// [requires: ATI_fragment_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glAlphaFragmentOp3ATI")] - public static - void AlphaFragmentOp3(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAlphaFragmentOp3ATI((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod); - #if DEBUG - } - #endif - } + public static extern void AlphaFragmentOp3(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod); /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glArrayObjectATI")] - public static - void ArrayObject(OpenTK.Graphics.OpenGL.EnableCap array, Int32 size, OpenTK.Graphics.OpenGL.AtiVertexArrayObject type, Int32 stride, Int32 buffer, Int32 offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glArrayObjectATI((OpenTK.Graphics.OpenGL.EnableCap)array, (Int32)size, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)type, (Int32)stride, (UInt32)buffer, (UInt32)offset); - #if DEBUG - } - #endif - } + public static extern void ArrayObject(OpenTK.Graphics.OpenGL.EnableCap array, Int32 size, OpenTK.Graphics.OpenGL.AtiVertexArrayObject type, Int32 stride, Int32 buffer, Int32 offset); /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glArrayObjectATI")] - public static - void ArrayObject(OpenTK.Graphics.OpenGL.EnableCap array, Int32 size, OpenTK.Graphics.OpenGL.AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glArrayObjectATI((OpenTK.Graphics.OpenGL.EnableCap)array, (Int32)size, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)type, (Int32)stride, (UInt32)buffer, (UInt32)offset); - #if DEBUG - } - #endif - } + public static extern void ArrayObject(OpenTK.Graphics.OpenGL.EnableCap array, Int32 size, OpenTK.Graphics.OpenGL.AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset); /// [requires: ATI_fragment_shader] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glBeginFragmentShaderATI")] - public static - void BeginFragmentShader() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginFragmentShaderATI(); - #if DEBUG - } - #endif - } + public static extern void BeginFragmentShader(); /// [requires: ATI_fragment_shader] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glBindFragmentShaderATI")] - public static - void BindFragmentShader(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFragmentShaderATI((UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BindFragmentShader(Int32 id); /// [requires: ATI_fragment_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glBindFragmentShaderATI")] - public static - void BindFragmentShader(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFragmentShaderATI((UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BindFragmentShader(UInt32 id); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glClientActiveVertexStreamATI")] - public static - void ClientActiveVertexStream(OpenTK.Graphics.OpenGL.AtiVertexStreams stream) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClientActiveVertexStreamATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream); - #if DEBUG - } - #endif - } + public static extern void ClientActiveVertexStream(OpenTK.Graphics.OpenGL.AtiVertexStreams stream); /// [requires: ATI_fragment_shader] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glColorFragmentOp1ATI")] - public static - void ColorFragmentOp1(OpenTK.Graphics.OpenGL.AtiFragmentShader op, Int32 dst, Int32 dstMask, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorFragmentOp1ATI((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod); - #if DEBUG - } - #endif - } + public static extern void ColorFragmentOp1(OpenTK.Graphics.OpenGL.AtiFragmentShader op, Int32 dst, Int32 dstMask, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod); /// [requires: ATI_fragment_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glColorFragmentOp1ATI")] - public static - void ColorFragmentOp1(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorFragmentOp1ATI((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod); - #if DEBUG - } - #endif - } + public static extern void ColorFragmentOp1(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod); /// [requires: ATI_fragment_shader] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glColorFragmentOp2ATI")] - public static - void ColorFragmentOp2(OpenTK.Graphics.OpenGL.AtiFragmentShader op, Int32 dst, Int32 dstMask, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorFragmentOp2ATI((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod); - #if DEBUG - } - #endif - } + public static extern void ColorFragmentOp2(OpenTK.Graphics.OpenGL.AtiFragmentShader op, Int32 dst, Int32 dstMask, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod); /// [requires: ATI_fragment_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glColorFragmentOp2ATI")] - public static - void ColorFragmentOp2(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorFragmentOp2ATI((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod); - #if DEBUG - } - #endif - } + public static extern void ColorFragmentOp2(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod); /// [requires: ATI_fragment_shader] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glColorFragmentOp3ATI")] - public static - void ColorFragmentOp3(OpenTK.Graphics.OpenGL.AtiFragmentShader op, Int32 dst, Int32 dstMask, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod, Int32 arg3, Int32 arg3Rep, Int32 arg3Mod) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorFragmentOp3ATI((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod); - #if DEBUG - } - #endif - } + public static extern void ColorFragmentOp3(OpenTK.Graphics.OpenGL.AtiFragmentShader op, Int32 dst, Int32 dstMask, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod, Int32 arg3, Int32 arg3Rep, Int32 arg3Mod); /// [requires: ATI_fragment_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glColorFragmentOp3ATI")] - public static - void ColorFragmentOp3(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorFragmentOp3ATI((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod); - #if DEBUG - } - #endif - } + public static extern void ColorFragmentOp3(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod); /// [requires: ATI_fragment_shader] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glDeleteFragmentShaderATI")] - public static - void DeleteFragmentShader(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFragmentShaderATI((UInt32)id); - #if DEBUG - } - #endif - } + public static extern void DeleteFragmentShader(Int32 id); /// [requires: ATI_fragment_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glDeleteFragmentShaderATI")] - public static - void DeleteFragmentShader(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFragmentShaderATI((UInt32)id); - #if DEBUG - } - #endif - } + public static extern void DeleteFragmentShader(UInt32 id); /// [requires: ATI_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -34639,24 +19891,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ATI_draw_buffers", Version = "", EntryPoint = "glDrawBuffersATI")] - public static - void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL.AtiDrawBuffers[] bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.AtiDrawBuffers* bufs_ptr = bufs) - { - Delegates.glDrawBuffersATI((Int32)n, (OpenTK.Graphics.OpenGL.AtiDrawBuffers*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL.AtiDrawBuffers[] bufs); /// [requires: ATI_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -34672,24 +19907,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ATI_draw_buffers", Version = "", EntryPoint = "glDrawBuffersATI")] - public static - void DrawBuffers(Int32 n, ref OpenTK.Graphics.OpenGL.AtiDrawBuffers bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.AtiDrawBuffers* bufs_ptr = &bufs) - { - Delegates.glDrawBuffersATI((Int32)n, (OpenTK.Graphics.OpenGL.AtiDrawBuffers*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawBuffers(Int32 n, ref OpenTK.Graphics.OpenGL.AtiDrawBuffers bufs); /// [requires: ATI_draw_buffers] /// Specifies a list of color buffers to be drawn into @@ -34706,1891 +19924,471 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_draw_buffers", Version = "", EntryPoint = "glDrawBuffersATI")] - public static - unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL.AtiDrawBuffers* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawBuffersATI((Int32)n, (OpenTK.Graphics.OpenGL.AtiDrawBuffers*)bufs); - #if DEBUG - } - #endif - } + public static extern unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL.AtiDrawBuffers* bufs); /// [requires: ATI_element_array] [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ATI_element_array", Version = "", EntryPoint = "glDrawElementArrayATI")] - public static - void DrawElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementArrayATI((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count); - #if DEBUG - } - #endif - } + public static extern void DrawElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count); /// [requires: ATI_element_array] [AutoGenerated(Category = "ATI_element_array", Version = "", EntryPoint = "glDrawElementArrayATI")] - public static - void DrawElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementArrayATI((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count); - #if DEBUG - } - #endif - } + public static extern void DrawElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count); /// [requires: ATI_element_array] [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ATI_element_array", Version = "", EntryPoint = "glDrawRangeElementArrayATI")] - public static - void DrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElementArrayATI((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count); - #if DEBUG - } - #endif - } + public static extern void DrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count); /// [requires: ATI_element_array] [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_element_array", Version = "", EntryPoint = "glDrawRangeElementArrayATI")] - public static - void DrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElementArrayATI((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count); - #if DEBUG - } - #endif - } + public static extern void DrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count); /// [requires: ATI_element_array] [AutoGenerated(Category = "ATI_element_array", Version = "", EntryPoint = "glDrawRangeElementArrayATI")] - public static - void DrawRangeElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElementArrayATI((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count); - #if DEBUG - } - #endif - } + public static extern void DrawRangeElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count); /// [requires: ATI_element_array] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_element_array", Version = "", EntryPoint = "glDrawRangeElementArrayATI")] - public static - void DrawRangeElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElementArrayATI((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count); - #if DEBUG - } - #endif - } + public static extern void DrawRangeElementArray(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count); /// [requires: ATI_element_array] [AutoGenerated(Category = "ATI_element_array", Version = "", EntryPoint = "glElementPointerATI")] - public static - void ElementPointer(OpenTK.Graphics.OpenGL.AtiElementArray type, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glElementPointerATI((OpenTK.Graphics.OpenGL.AtiElementArray)type, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void ElementPointer(OpenTK.Graphics.OpenGL.AtiElementArray type, IntPtr pointer); /// [requires: ATI_element_array] [AutoGenerated(Category = "ATI_element_array", Version = "", EntryPoint = "glElementPointerATI")] - public static - void ElementPointer(OpenTK.Graphics.OpenGL.AtiElementArray type, [InAttribute, OutAttribute] T1[] pointer) + public static extern void ElementPointer(OpenTK.Graphics.OpenGL.AtiElementArray type, [InAttribute, OutAttribute] T1[] pointer) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glElementPointerATI((OpenTK.Graphics.OpenGL.AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ATI_element_array] [AutoGenerated(Category = "ATI_element_array", Version = "", EntryPoint = "glElementPointerATI")] - public static - void ElementPointer(OpenTK.Graphics.OpenGL.AtiElementArray type, [InAttribute, OutAttribute] T1[,] pointer) + public static extern void ElementPointer(OpenTK.Graphics.OpenGL.AtiElementArray type, [InAttribute, OutAttribute] T1[,] pointer) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glElementPointerATI((OpenTK.Graphics.OpenGL.AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ATI_element_array] [AutoGenerated(Category = "ATI_element_array", Version = "", EntryPoint = "glElementPointerATI")] - public static - void ElementPointer(OpenTK.Graphics.OpenGL.AtiElementArray type, [InAttribute, OutAttribute] T1[,,] pointer) + public static extern void ElementPointer(OpenTK.Graphics.OpenGL.AtiElementArray type, [InAttribute, OutAttribute] T1[,,] pointer) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glElementPointerATI((OpenTK.Graphics.OpenGL.AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ATI_element_array] [AutoGenerated(Category = "ATI_element_array", Version = "", EntryPoint = "glElementPointerATI")] - public static - void ElementPointer(OpenTK.Graphics.OpenGL.AtiElementArray type, [InAttribute, OutAttribute] ref T1 pointer) + public static extern void ElementPointer(OpenTK.Graphics.OpenGL.AtiElementArray type, [InAttribute, OutAttribute] ref T1 pointer) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glElementPointerATI((OpenTK.Graphics.OpenGL.AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T1)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ATI_fragment_shader] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glEndFragmentShaderATI")] - public static - void EndFragmentShader() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndFragmentShaderATI(); - #if DEBUG - } - #endif - } + public static extern void EndFragmentShader(); /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glFreeObjectBufferATI")] - public static - void FreeObjectBuffer(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFreeObjectBufferATI((UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void FreeObjectBuffer(Int32 buffer); /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glFreeObjectBufferATI")] - public static - void FreeObjectBuffer(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFreeObjectBufferATI((UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void FreeObjectBuffer(UInt32 buffer); /// [requires: ATI_fragment_shader] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glGenFragmentShadersATI")] - public static - Int32 GenFragmentShaders(Int32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGenFragmentShadersATI((UInt32)range); - #if DEBUG - } - #endif - } + public static extern Int32 GenFragmentShaders(Int32 range); /// [requires: ATI_fragment_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glGenFragmentShadersATI")] - public static - Int32 GenFragmentShaders(UInt32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGenFragmentShadersATI((UInt32)range); - #if DEBUG - } - #endif - } + public static extern Int32 GenFragmentShaders(UInt32 range); /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetArrayObjectfvATI")] - public static - void GetArrayObject(OpenTK.Graphics.OpenGL.EnableCap array, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetArrayObjectfvATI((OpenTK.Graphics.OpenGL.EnableCap)array, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetArrayObject(OpenTK.Graphics.OpenGL.EnableCap array, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] out Single @params); /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetArrayObjectfvATI")] - public static - unsafe void GetArrayObject(OpenTK.Graphics.OpenGL.EnableCap array, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetArrayObjectfvATI((OpenTK.Graphics.OpenGL.EnableCap)array, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetArrayObject(OpenTK.Graphics.OpenGL.EnableCap array, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params); /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetArrayObjectivATI")] - public static - void GetArrayObject(OpenTK.Graphics.OpenGL.EnableCap array, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetArrayObjectivATI((OpenTK.Graphics.OpenGL.EnableCap)array, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetArrayObject(OpenTK.Graphics.OpenGL.EnableCap array, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] out Int32 @params); /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetArrayObjectivATI")] - public static - unsafe void GetArrayObject(OpenTK.Graphics.OpenGL.EnableCap array, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetArrayObjectivATI((OpenTK.Graphics.OpenGL.EnableCap)array, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetArrayObject(OpenTK.Graphics.OpenGL.EnableCap array, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params); /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetObjectBufferfvATI")] - public static - void GetObjectBuffer(Int32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectBuffer(Int32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] out Single @params); /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetObjectBufferfvATI")] - public static - unsafe void GetObjectBuffer(Int32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectBuffer(Int32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params); /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetObjectBufferfvATI")] - public static - void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] out Single @params); /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetObjectBufferfvATI")] - public static - unsafe void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params); /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetObjectBufferivATI")] - public static - void GetObjectBuffer(Int32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetObjectBufferivATI((UInt32)buffer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectBuffer(Int32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] out Int32 @params); /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetObjectBufferivATI")] - public static - unsafe void GetObjectBuffer(Int32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectBufferivATI((UInt32)buffer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectBuffer(Int32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params); /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetObjectBufferivATI")] - public static - void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetObjectBufferivATI((UInt32)buffer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] out Int32 @params); /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetObjectBufferivATI")] - public static - unsafe void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectBufferivATI((UInt32)buffer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params); /// [requires: ATI_envmap_bumpmap] [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "", EntryPoint = "glGetTexBumpParameterfvATI")] - public static - Single GetTexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* param_ptr = &retval; - Delegates.glGetTexBumpParameterfvATI((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (Single*)param_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Single GetTexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname); /// [requires: ATI_envmap_bumpmap] [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "", EntryPoint = "glGetTexBumpParameterfvATI")] - public static - void GetTexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] Single[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* param_ptr = param) - { - Delegates.glGetTexBumpParameterfvATI((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (Single*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] Single[] param); /// [requires: ATI_envmap_bumpmap] [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "", EntryPoint = "glGetTexBumpParameterfvATI")] - public static - void GetTexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] out Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* param_ptr = ¶m) - { - Delegates.glGetTexBumpParameterfvATI((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (Single*)param_ptr); - param = *param_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] out Single param); /// [requires: ATI_envmap_bumpmap] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "", EntryPoint = "glGetTexBumpParameterfvATI")] - public static - unsafe void GetTexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] Single* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexBumpParameterfvATI((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (Single*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] Single* param); /// [requires: ATI_envmap_bumpmap] [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "", EntryPoint = "glGetTexBumpParameterivATI")] - public static - void GetTexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] Int32[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = param) - { - Delegates.glGetTexBumpParameterivATI((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (Int32*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] Int32[] param); /// [requires: ATI_envmap_bumpmap] [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "", EntryPoint = "glGetTexBumpParameterivATI")] - public static - void GetTexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] out Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = ¶m) - { - Delegates.glGetTexBumpParameterivATI((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (Int32*)param_ptr); - param = *param_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] out Int32 param); /// [requires: ATI_envmap_bumpmap] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "", EntryPoint = "glGetTexBumpParameterivATI")] - public static - unsafe void GetTexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexBumpParameterivATI((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (Int32*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] Int32* param); /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetVariantArrayObjectfvATI")] - public static - void GetVariantArrayObject(Int32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVariantArrayObject(Int32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] out Single @params); /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetVariantArrayObjectfvATI")] - public static - unsafe void GetVariantArrayObject(Int32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVariantArrayObject(Int32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params); /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetVariantArrayObjectfvATI")] - public static - void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] out Single @params); /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetVariantArrayObjectfvATI")] - public static - unsafe void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params); /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetVariantArrayObjectivATI")] - public static - void GetVariantArrayObject(Int32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVariantArrayObjectivATI((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVariantArrayObject(Int32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] out Int32 @params); /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetVariantArrayObjectivATI")] - public static - unsafe void GetVariantArrayObject(Int32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantArrayObjectivATI((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVariantArrayObject(Int32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params); /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetVariantArrayObjectivATI")] - public static - void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVariantArrayObjectivATI((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] out Int32 @params); /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glGetVariantArrayObjectivATI")] - public static - unsafe void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantArrayObjectivATI((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params); /// [requires: ATI_vertex_attrib_array_object] [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] - public static - void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Single[] @params); /// [requires: ATI_vertex_attrib_array_object] [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] - public static - void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] out Single @params); /// [requires: ATI_vertex_attrib_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] - public static - unsafe void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Single* @params); /// [requires: ATI_vertex_attrib_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] - public static - void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Single[] @params); /// [requires: ATI_vertex_attrib_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] - public static - void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] out Single @params); /// [requires: ATI_vertex_attrib_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] - public static - unsafe void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Single* @params); /// [requires: ATI_vertex_attrib_array_object] [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glGetVertexAttribArrayObjectivATI")] - public static - void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Int32[] @params); /// [requires: ATI_vertex_attrib_array_object] [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glGetVertexAttribArrayObjectivATI")] - public static - void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] out Int32 @params); /// [requires: ATI_vertex_attrib_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glGetVertexAttribArrayObjectivATI")] - public static - unsafe void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Int32* @params); /// [requires: ATI_vertex_attrib_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glGetVertexAttribArrayObjectivATI")] - public static - void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Int32[] @params); /// [requires: ATI_vertex_attrib_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glGetVertexAttribArrayObjectivATI")] - public static - void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] out Int32 @params); /// [requires: ATI_vertex_attrib_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glGetVertexAttribArrayObjectivATI")] - public static - unsafe void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Int32* @params); /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glIsObjectBufferATI")] - public static - bool IsObjectBuffer(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsObjectBufferATI((UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern bool IsObjectBuffer(Int32 buffer); /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glIsObjectBufferATI")] - public static - bool IsObjectBuffer(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsObjectBufferATI((UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern bool IsObjectBuffer(UInt32 buffer); /// [requires: ATI_map_object_buffer] [AutoGenerated(Category = "ATI_map_object_buffer", Version = "", EntryPoint = "glMapObjectBufferATI")] - public static - IntPtr MapObjectBuffer(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glMapObjectBufferATI((UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern IntPtr MapObjectBuffer(Int32 buffer); /// [requires: ATI_map_object_buffer] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_map_object_buffer", Version = "", EntryPoint = "glMapObjectBufferATI")] - public static - IntPtr MapObjectBuffer(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glMapObjectBufferATI((UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern IntPtr MapObjectBuffer(UInt32 buffer); /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glNewObjectBufferATI")] - public static - Int32 NewObjectBuffer(Int32 size, IntPtr pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)usage); - #if DEBUG - } - #endif - } + public static extern Int32 NewObjectBuffer(Int32 size, IntPtr pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject usage); /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glNewObjectBufferATI")] - public static - Int32 NewObjectBuffer(Int32 size, [InAttribute, OutAttribute] T1[] pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject usage) + public static extern Int32 NewObjectBuffer(Int32 size, [InAttribute, OutAttribute] T1[] pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject usage) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)usage); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glNewObjectBufferATI")] - public static - Int32 NewObjectBuffer(Int32 size, [InAttribute, OutAttribute] T1[,] pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject usage) + public static extern Int32 NewObjectBuffer(Int32 size, [InAttribute, OutAttribute] T1[,] pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject usage) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)usage); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glNewObjectBufferATI")] - public static - Int32 NewObjectBuffer(Int32 size, [InAttribute, OutAttribute] T1[,,] pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject usage) + public static extern Int32 NewObjectBuffer(Int32 size, [InAttribute, OutAttribute] T1[,,] pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject usage) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)usage); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glNewObjectBufferATI")] - public static - Int32 NewObjectBuffer(Int32 size, [InAttribute, OutAttribute] ref T1 pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject usage) + public static extern Int32 NewObjectBuffer(Int32 size, [InAttribute, OutAttribute] ref T1 pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject usage) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Int32 retval = Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)usage); - pointer = (T1)pointer_ptr.Target; - return retval; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3bATI")] - public static - void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Byte nx, Byte ny, Byte nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalStream3bATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (SByte)nx, (SByte)ny, (SByte)nz); - #if DEBUG - } - #endif - } + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Byte nx, Byte ny, Byte nz); /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3bATI")] - public static - void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, SByte nx, SByte ny, SByte nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalStream3bATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (SByte)nx, (SByte)ny, (SByte)nz); - #if DEBUG - } - #endif - } + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, SByte nx, SByte ny, SByte nz); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3bvATI")] - public static - void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - Delegates.glNormalStream3bvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Byte[] coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3bvATI")] - public static - void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - Delegates.glNormalStream3bvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Byte coords); /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3bvATI")] - public static - unsafe void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalStream3bvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Byte* coords); /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3bvATI")] - public static - void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - Delegates.glNormalStream3bvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, SByte[] coords); /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3bvATI")] - public static - void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - Delegates.glNormalStream3bvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref SByte coords); /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3bvATI")] - public static - unsafe void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalStream3bvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, SByte* coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3dATI")] - public static - void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double nx, Double ny, Double nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalStream3dATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double)nx, (Double)ny, (Double)nz); - #if DEBUG - } - #endif - } + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double nx, Double ny, Double nz); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3dvATI")] - public static - void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* coords_ptr = coords) - { - Delegates.glNormalStream3dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double[] coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3dvATI")] - public static - void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Double coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* coords_ptr = &coords) - { - Delegates.glNormalStream3dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Double coords); /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3dvATI")] - public static - unsafe void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalStream3dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3fATI")] - public static - void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single nx, Single ny, Single nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalStream3fATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single)nx, (Single)ny, (Single)nz); - #if DEBUG - } - #endif - } + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single nx, Single ny, Single nz); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3fvATI")] - public static - void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = coords) - { - Delegates.glNormalStream3fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single[] coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3fvATI")] - public static - void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Single coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = &coords) - { - Delegates.glNormalStream3fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Single coords); /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3fvATI")] - public static - unsafe void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalStream3fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3iATI")] - public static - void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 nx, Int32 ny, Int32 nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalStream3iATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32)nx, (Int32)ny, (Int32)nz); - #if DEBUG - } - #endif - } + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 nx, Int32 ny, Int32 nz); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3ivATI")] - public static - void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* coords_ptr = coords) - { - Delegates.glNormalStream3ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32[] coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3ivATI")] - public static - void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* coords_ptr = &coords) - { - Delegates.glNormalStream3ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Int32 coords); /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3ivATI")] - public static - unsafe void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalStream3ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3sATI")] - public static - void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 nx, Int16 ny, Int16 nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalStream3sATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16)nx, (Int16)ny, (Int16)nz); - #if DEBUG - } - #endif - } + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 nx, Int16 ny, Int16 nz); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3svATI")] - public static - void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* coords_ptr = coords) - { - Delegates.glNormalStream3svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16[] coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3svATI")] - public static - void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Int16 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* coords_ptr = &coords) - { - Delegates.glNormalStream3svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Int16 coords); /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glNormalStream3svATI")] - public static - unsafe void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalStream3svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void NormalStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); /// [requires: ATI_fragment_shader] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glPassTexCoordATI")] - public static - void PassTexCoord(Int32 dst, Int32 coord, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPassTexCoordATI((UInt32)dst, (UInt32)coord, (OpenTK.Graphics.OpenGL.AtiFragmentShader)swizzle); - #if DEBUG - } - #endif - } + public static extern void PassTexCoord(Int32 dst, Int32 coord, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle); /// [requires: ATI_fragment_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glPassTexCoordATI")] - public static - void PassTexCoord(UInt32 dst, UInt32 coord, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPassTexCoordATI((UInt32)dst, (UInt32)coord, (OpenTK.Graphics.OpenGL.AtiFragmentShader)swizzle); - #if DEBUG - } - #endif - } + public static extern void PassTexCoord(UInt32 dst, UInt32 coord, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle); /// [requires: ATI_pn_triangles] [AutoGenerated(Category = "ATI_pn_triangles", Version = "", EntryPoint = "glPNTrianglesfATI")] - public static - void PNTriangles(OpenTK.Graphics.OpenGL.AtiPnTriangles pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPNTrianglesfATI((OpenTK.Graphics.OpenGL.AtiPnTriangles)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void PNTriangles(OpenTK.Graphics.OpenGL.AtiPnTriangles pname, Single param); /// [requires: ATI_pn_triangles] [AutoGenerated(Category = "ATI_pn_triangles", Version = "", EntryPoint = "glPNTrianglesiATI")] - public static - void PNTriangles(OpenTK.Graphics.OpenGL.AtiPnTriangles pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPNTrianglesiATI((OpenTK.Graphics.OpenGL.AtiPnTriangles)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void PNTriangles(OpenTK.Graphics.OpenGL.AtiPnTriangles pname, Int32 param); /// [requires: ATI_fragment_shader] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glSampleMapATI")] - public static - void SampleMap(Int32 dst, Int32 interp, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSampleMapATI((UInt32)dst, (UInt32)interp, (OpenTK.Graphics.OpenGL.AtiFragmentShader)swizzle); - #if DEBUG - } - #endif - } + public static extern void SampleMap(Int32 dst, Int32 interp, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle); /// [requires: ATI_fragment_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glSampleMapATI")] - public static - void SampleMap(UInt32 dst, UInt32 interp, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSampleMapATI((UInt32)dst, (UInt32)interp, (OpenTK.Graphics.OpenGL.AtiFragmentShader)swizzle); - #if DEBUG - } - #endif - } + public static extern void SampleMap(UInt32 dst, UInt32 interp, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle); /// [requires: ATI_fragment_shader] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glSetFragmentShaderConstantATI")] - public static - void SetFragmentShaderConstant(Int32 dst, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SetFragmentShaderConstant(Int32 dst, Single[] value); /// [requires: ATI_fragment_shader] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glSetFragmentShaderConstantATI")] - public static - void SetFragmentShaderConstant(Int32 dst, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SetFragmentShaderConstant(Int32 dst, ref Single value); /// [requires: ATI_fragment_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glSetFragmentShaderConstantATI")] - public static - unsafe void SetFragmentShaderConstant(Int32 dst, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void SetFragmentShaderConstant(Int32 dst, Single* value); /// [requires: ATI_fragment_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glSetFragmentShaderConstantATI")] - public static - void SetFragmentShaderConstant(UInt32 dst, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SetFragmentShaderConstant(UInt32 dst, Single[] value); /// [requires: ATI_fragment_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glSetFragmentShaderConstantATI")] - public static - void SetFragmentShaderConstant(UInt32 dst, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SetFragmentShaderConstant(UInt32 dst, ref Single value); /// [requires: ATI_fragment_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_fragment_shader", Version = "", EntryPoint = "glSetFragmentShaderConstantATI")] - public static - unsafe void SetFragmentShaderConstant(UInt32 dst, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void SetFragmentShaderConstant(UInt32 dst, Single* value); /// [requires: ATI_separate_stencil] /// Set front and/or back function and reference value for stencil testing @@ -36616,18 +20414,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ATI_separate_stencil", Version = "", EntryPoint = "glStencilFuncSeparateATI")] - public static - void StencilFuncSeparate(OpenTK.Graphics.OpenGL.StencilFunction frontfunc, OpenTK.Graphics.OpenGL.StencilFunction backfunc, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFuncSeparateATI((OpenTK.Graphics.OpenGL.StencilFunction)frontfunc, (OpenTK.Graphics.OpenGL.StencilFunction)backfunc, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilFuncSeparate(OpenTK.Graphics.OpenGL.StencilFunction frontfunc, OpenTK.Graphics.OpenGL.StencilFunction backfunc, Int32 @ref, Int32 mask); /// [requires: ATI_separate_stencil] /// Set front and/or back function and reference value for stencil testing @@ -36654,18 +20441,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_separate_stencil", Version = "", EntryPoint = "glStencilFuncSeparateATI")] - public static - void StencilFuncSeparate(OpenTK.Graphics.OpenGL.StencilFunction frontfunc, OpenTK.Graphics.OpenGL.StencilFunction backfunc, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFuncSeparateATI((OpenTK.Graphics.OpenGL.StencilFunction)frontfunc, (OpenTK.Graphics.OpenGL.StencilFunction)backfunc, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilFuncSeparate(OpenTK.Graphics.OpenGL.StencilFunction frontfunc, OpenTK.Graphics.OpenGL.StencilFunction backfunc, Int32 @ref, UInt32 mask); /// [requires: ATI_separate_stencil] /// Set front and/or back stencil test actions @@ -36691,1519 +20467,380 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ATI_separate_stencil", Version = "", EntryPoint = "glStencilOpSeparateATI")] - public static - void StencilOpSeparate(OpenTK.Graphics.OpenGL.AtiSeparateStencil face, OpenTK.Graphics.OpenGL.StencilOp sfail, OpenTK.Graphics.OpenGL.StencilOp dpfail, OpenTK.Graphics.OpenGL.StencilOp dppass) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilOpSeparateATI((OpenTK.Graphics.OpenGL.AtiSeparateStencil)face, (OpenTK.Graphics.OpenGL.StencilOp)sfail, (OpenTK.Graphics.OpenGL.StencilOp)dpfail, (OpenTK.Graphics.OpenGL.StencilOp)dppass); - #if DEBUG - } - #endif - } + public static extern void StencilOpSeparate(OpenTK.Graphics.OpenGL.AtiSeparateStencil face, OpenTK.Graphics.OpenGL.StencilOp sfail, OpenTK.Graphics.OpenGL.StencilOp dpfail, OpenTK.Graphics.OpenGL.StencilOp dppass); /// [requires: ATI_envmap_bumpmap] [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "", EntryPoint = "glTexBumpParameterfvATI")] - public static - void TexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, Single[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* param_ptr = param) - { - Delegates.glTexBumpParameterfvATI((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (Single*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, Single[] param); /// [requires: ATI_envmap_bumpmap] [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "", EntryPoint = "glTexBumpParameterfvATI")] - public static - void TexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, ref Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* param_ptr = ¶m) - { - Delegates.glTexBumpParameterfvATI((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (Single*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, ref Single param); /// [requires: ATI_envmap_bumpmap] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "", EntryPoint = "glTexBumpParameterfvATI")] - public static - unsafe void TexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, Single* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexBumpParameterfvATI((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (Single*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void TexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, Single* param); /// [requires: ATI_envmap_bumpmap] [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "", EntryPoint = "glTexBumpParameterivATI")] - public static - void TexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, Int32[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = param) - { - Delegates.glTexBumpParameterivATI((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (Int32*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, Int32[] param); /// [requires: ATI_envmap_bumpmap] [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "", EntryPoint = "glTexBumpParameterivATI")] - public static - void TexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, ref Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = ¶m) - { - Delegates.glTexBumpParameterivATI((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (Int32*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, ref Int32 param); /// [requires: ATI_envmap_bumpmap] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_envmap_bumpmap", Version = "", EntryPoint = "glTexBumpParameterivATI")] - public static - unsafe void TexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexBumpParameterivATI((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (Int32*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void TexBumpParameter(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, Int32* param); /// [requires: ATI_map_object_buffer] [AutoGenerated(Category = "ATI_map_object_buffer", Version = "", EntryPoint = "glUnmapObjectBufferATI")] - public static - void UnmapObjectBuffer(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUnmapObjectBufferATI((UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void UnmapObjectBuffer(Int32 buffer); /// [requires: ATI_map_object_buffer] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_map_object_buffer", Version = "", EntryPoint = "glUnmapObjectBufferATI")] - public static - void UnmapObjectBuffer(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUnmapObjectBufferATI((UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void UnmapObjectBuffer(UInt32 buffer); /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glUpdateObjectBufferATI")] - public static - void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, IntPtr pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)preserve); - #if DEBUG - } - #endif - } + public static extern void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, IntPtr pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve); /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glUpdateObjectBufferATI")] - public static - void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [InAttribute, OutAttribute] T3[] pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve) + public static extern void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [InAttribute, OutAttribute] T3[] pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)preserve); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glUpdateObjectBufferATI")] - public static - void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [InAttribute, OutAttribute] T3[,] pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve) + public static extern void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [InAttribute, OutAttribute] T3[,] pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)preserve); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glUpdateObjectBufferATI")] - public static - void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [InAttribute, OutAttribute] T3[,,] pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve) + public static extern void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [InAttribute, OutAttribute] T3[,,] pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)preserve); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glUpdateObjectBufferATI")] - public static - void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [InAttribute, OutAttribute] ref T3 pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve) + public static extern void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [InAttribute, OutAttribute] ref T3 pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)preserve); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glUpdateObjectBufferATI")] - public static - void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, IntPtr pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)preserve); - #if DEBUG - } - #endif - } + public static extern void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, IntPtr pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve); /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glUpdateObjectBufferATI")] - public static - void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [InAttribute, OutAttribute] T3[] pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve) + public static extern void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [InAttribute, OutAttribute] T3[] pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)preserve); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glUpdateObjectBufferATI")] - public static - void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [InAttribute, OutAttribute] T3[,] pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve) + public static extern void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [InAttribute, OutAttribute] T3[,] pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)preserve); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glUpdateObjectBufferATI")] - public static - void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [InAttribute, OutAttribute] T3[,,] pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve) + public static extern void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [InAttribute, OutAttribute] T3[,,] pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)preserve); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glUpdateObjectBufferATI")] - public static - void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [InAttribute, OutAttribute] ref T3 pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve) + public static extern void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [InAttribute, OutAttribute] ref T3 pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)preserve); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ATI_vertex_array_object] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glVariantArrayObjectATI")] - public static - void VariantArrayObject(Int32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject type, Int32 stride, Int32 buffer, Int32 offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantArrayObjectATI((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)type, (Int32)stride, (UInt32)buffer, (UInt32)offset); - #if DEBUG - } - #endif - } + public static extern void VariantArrayObject(Int32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject type, Int32 stride, Int32 buffer, Int32 offset); /// [requires: ATI_vertex_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_array_object", Version = "", EntryPoint = "glVariantArrayObjectATI")] - public static - void VariantArrayObject(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantArrayObjectATI((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)type, (Int32)stride, (UInt32)buffer, (UInt32)offset); - #if DEBUG - } - #endif - } + public static extern void VariantArrayObject(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset); /// [requires: ATI_vertex_attrib_array_object] [Obsolete("Use VertexAttribPointerType overload instead")] [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glVertexAttribArrayObjectATI")] - public static - void VertexAttribArrayObject(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject type, bool normalized, Int32 stride, Int32 buffer, Int32 offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribArrayObjectATI((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (UInt32)buffer, (UInt32)offset); - #if DEBUG - } - #endif - } + public static extern void VertexAttribArrayObject(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject type, bool normalized, Int32 stride, Int32 buffer, Int32 offset); /// [requires: ATI_vertex_attrib_array_object] [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glVertexAttribArrayObjectATI")] - public static - void VertexAttribArrayObject(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, Int32 buffer, Int32 offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribArrayObjectATI((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (UInt32)buffer, (UInt32)offset); - #if DEBUG - } - #endif - } + public static extern void VertexAttribArrayObject(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, Int32 buffer, Int32 offset); /// [requires: ATI_vertex_attrib_array_object] [Obsolete("Use VertexAttribPointerType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glVertexAttribArrayObjectATI")] - public static - void VertexAttribArrayObject(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject type, bool normalized, Int32 stride, UInt32 buffer, UInt32 offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribArrayObjectATI((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (UInt32)buffer, (UInt32)offset); - #if DEBUG - } - #endif - } + public static extern void VertexAttribArrayObject(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject type, bool normalized, Int32 stride, UInt32 buffer, UInt32 offset); /// [requires: ATI_vertex_attrib_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glVertexAttribArrayObjectATI")] - public static - void VertexAttribArrayObject(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, UInt32 buffer, UInt32 offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribArrayObjectATI((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (UInt32)buffer, (UInt32)offset); - #if DEBUG - } - #endif - } + public static extern void VertexAttribArrayObject(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, UInt32 buffer, UInt32 offset); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexBlendEnvfATI")] - public static - void VertexBlendEnv(OpenTK.Graphics.OpenGL.AtiVertexStreams pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexBlendEnvfATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void VertexBlendEnv(OpenTK.Graphics.OpenGL.AtiVertexStreams pname, Single param); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexBlendEnviATI")] - public static - void VertexBlendEnv(OpenTK.Graphics.OpenGL.AtiVertexStreams pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexBlendEnviATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void VertexBlendEnv(OpenTK.Graphics.OpenGL.AtiVertexStreams pname, Int32 param); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream1dATI")] - public static - void VertexStream1(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream1dATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double)x); - #if DEBUG - } - #endif - } + public static extern void VertexStream1(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x); /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream1dvATI")] - public static - unsafe void VertexStream1(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream1dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexStream1(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream1fATI")] - public static - void VertexStream1(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream1fATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single)x); - #if DEBUG - } - #endif - } + public static extern void VertexStream1(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x); /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream1fvATI")] - public static - unsafe void VertexStream1(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream1fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexStream1(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream1iATI")] - public static - void VertexStream1(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream1iATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32)x); - #if DEBUG - } - #endif - } + public static extern void VertexStream1(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x); /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream1ivATI")] - public static - unsafe void VertexStream1(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream1ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexStream1(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream1sATI")] - public static - void VertexStream1(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream1sATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16)x); - #if DEBUG - } - #endif - } + public static extern void VertexStream1(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x); /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream1svATI")] - public static - unsafe void VertexStream1(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream1svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexStream1(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream2dATI")] - public static - void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream2dATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double)x, (Double)y); - #if DEBUG - } - #endif - } + public static extern void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream2dvATI")] - public static - void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* coords_ptr = coords) - { - Delegates.glVertexStream2dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double[] coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream2dvATI")] - public static - void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Double coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* coords_ptr = &coords) - { - Delegates.glVertexStream2dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Double coords); /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream2dvATI")] - public static - unsafe void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream2dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream2fATI")] - public static - void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream2fATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single)x, (Single)y); - #if DEBUG - } - #endif - } + public static extern void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream2fvATI")] - public static - void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = coords) - { - Delegates.glVertexStream2fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single[] coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream2fvATI")] - public static - void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Single coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = &coords) - { - Delegates.glVertexStream2fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Single coords); /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream2fvATI")] - public static - unsafe void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream2fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream2iATI")] - public static - void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream2iATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32)x, (Int32)y); - #if DEBUG - } - #endif - } + public static extern void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream2ivATI")] - public static - void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* coords_ptr = coords) - { - Delegates.glVertexStream2ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32[] coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream2ivATI")] - public static - void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* coords_ptr = &coords) - { - Delegates.glVertexStream2ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Int32 coords); /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream2ivATI")] - public static - unsafe void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream2ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream2sATI")] - public static - void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream2sATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16)x, (Int16)y); - #if DEBUG - } - #endif - } + public static extern void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream2svATI")] - public static - void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* coords_ptr = coords) - { - Delegates.glVertexStream2svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16[] coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream2svATI")] - public static - void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Int16 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* coords_ptr = &coords) - { - Delegates.glVertexStream2svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Int16 coords); /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream2svATI")] - public static - unsafe void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream2svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexStream2(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream3dATI")] - public static - void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream3dATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } + public static extern void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y, Double z); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream3dvATI")] - public static - void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* coords_ptr = coords) - { - Delegates.glVertexStream3dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double[] coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream3dvATI")] - public static - void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Double coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* coords_ptr = &coords) - { - Delegates.glVertexStream3dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Double coords); /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream3dvATI")] - public static - unsafe void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream3dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream3fATI")] - public static - void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream3fATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y, Single z); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream3fvATI")] - public static - void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = coords) - { - Delegates.glVertexStream3fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single[] coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream3fvATI")] - public static - void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Single coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = &coords) - { - Delegates.glVertexStream3fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Single coords); /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream3fvATI")] - public static - unsafe void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream3fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream3iATI")] - public static - void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream3iATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32)x, (Int32)y, (Int32)z); - #if DEBUG - } - #endif - } + public static extern void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream3ivATI")] - public static - void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* coords_ptr = coords) - { - Delegates.glVertexStream3ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32[] coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream3ivATI")] - public static - void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* coords_ptr = &coords) - { - Delegates.glVertexStream3ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Int32 coords); /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream3ivATI")] - public static - unsafe void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream3ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream3sATI")] - public static - void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream3sATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16)x, (Int16)y, (Int16)z); - #if DEBUG - } - #endif - } + public static extern void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream3svATI")] - public static - void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* coords_ptr = coords) - { - Delegates.glVertexStream3svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16[] coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream3svATI")] - public static - void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Int16 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* coords_ptr = &coords) - { - Delegates.glVertexStream3svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Int16 coords); /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream3svATI")] - public static - unsafe void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream3svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexStream3(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream4dATI")] - public static - void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream4dATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } + public static extern void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y, Double z, Double w); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream4dvATI")] - public static - void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* coords_ptr = coords) - { - Delegates.glVertexStream4dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double[] coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream4dvATI")] - public static - void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Double coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* coords_ptr = &coords) - { - Delegates.glVertexStream4dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Double coords); /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream4dvATI")] - public static - unsafe void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream4dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream4fATI")] - public static - void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream4fATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } + public static extern void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y, Single z, Single w); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream4fvATI")] - public static - void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = coords) - { - Delegates.glVertexStream4fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single[] coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream4fvATI")] - public static - void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Single coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = &coords) - { - Delegates.glVertexStream4fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Single coords); /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream4fvATI")] - public static - unsafe void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream4fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream4iATI")] - public static - void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream4iATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - #if DEBUG - } - #endif - } + public static extern void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z, Int32 w); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream4ivATI")] - public static - void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* coords_ptr = coords) - { - Delegates.glVertexStream4ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32[] coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream4ivATI")] - public static - void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* coords_ptr = &coords) - { - Delegates.glVertexStream4ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Int32 coords); /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream4ivATI")] - public static - unsafe void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream4ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream4sATI")] - public static - void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z, Int16 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream4sATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16)x, (Int16)y, (Int16)z, (Int16)w); - #if DEBUG - } - #endif - } + public static extern void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z, Int16 w); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream4svATI")] - public static - void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* coords_ptr = coords) - { - Delegates.glVertexStream4svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16[] coords); /// [requires: ATI_vertex_streams] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream4svATI")] - public static - void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Int16 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* coords_ptr = &coords) - { - Delegates.glVertexStream4svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, ref Int16 coords); /// [requires: ATI_vertex_streams] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_streams", Version = "", EntryPoint = "glVertexStream4svATI")] - public static - unsafe void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream4svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexStream4(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); } @@ -38221,18 +20858,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glAccum")] - public static - void Accum(OpenTK.Graphics.OpenGL.AccumOp op, Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAccum((OpenTK.Graphics.OpenGL.AccumOp)op, (Single)value); - #if DEBUG - } - #endif - } + public static extern void Accum(OpenTK.Graphics.OpenGL.AccumOp op, Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Set the active program object for a program pipeline object @@ -38248,18 +20874,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glActiveShaderProgram")] - public static - void ActiveShaderProgram(Int32 pipeline, Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glActiveShaderProgram((UInt32)pipeline, (UInt32)program); - #if DEBUG - } - #endif - } + public static extern void ActiveShaderProgram(Int32 pipeline, Int32 program); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Set the active program object for a program pipeline object @@ -38276,18 +20891,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glActiveShaderProgram")] - public static - void ActiveShaderProgram(UInt32 pipeline, UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glActiveShaderProgram((UInt32)pipeline, (UInt32)program); - #if DEBUG - } - #endif - } + public static extern void ActiveShaderProgram(UInt32 pipeline, UInt32 program); /// [requires: v1.3] /// Select active texture unit @@ -38298,18 +20902,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glActiveTexture")] - public static - void ActiveTexture(OpenTK.Graphics.OpenGL.TextureUnit texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glActiveTexture((OpenTK.Graphics.OpenGL.TextureUnit)texture); - #if DEBUG - } - #endif - } + public static extern void ActiveTexture(OpenTK.Graphics.OpenGL.TextureUnit texture); /// [requires: v1.0][deprecated: v3.2] /// Specify the alpha test function @@ -38325,18 +20918,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glAlphaFunc")] - public static - void AlphaFunc(OpenTK.Graphics.OpenGL.AlphaFunction func, Single @ref) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAlphaFunc((OpenTK.Graphics.OpenGL.AlphaFunction)func, (Single)@ref); - #if DEBUG - } - #endif - } + public static extern void AlphaFunc(OpenTK.Graphics.OpenGL.AlphaFunction func, Single @ref); /// [requires: v1.1][deprecated: v3.2] /// Determine if textures are loaded in texture memory @@ -38357,25 +20939,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glAreTexturesResident")] - public static - bool AreTexturesResident(Int32 n, Int32[] textures, [OutAttribute] bool[] residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - fixed (bool* residences_ptr = residences) - { - return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern bool AreTexturesResident(Int32 n, Int32[] textures, [OutAttribute] bool[] residences); /// [requires: v1.1][deprecated: v3.2] /// Determine if textures are loaded in texture memory @@ -38396,27 +20960,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glAreTexturesResident")] - public static - bool AreTexturesResident(Int32 n, ref Int32 textures, [OutAttribute] out bool residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - fixed (bool* residences_ptr = &residences) - { - bool retval = Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); - residences = *residences_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern bool AreTexturesResident(Int32 n, ref Int32 textures, [OutAttribute] out bool residences); /// [requires: v1.1][deprecated: v3.2] /// Determine if textures are loaded in texture memory @@ -38438,18 +20982,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glAreTexturesResident")] - public static - unsafe bool AreTexturesResident(Int32 n, Int32* textures, [OutAttribute] bool* residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures, (bool*)residences); - #if DEBUG - } - #endif - } + public static extern unsafe bool AreTexturesResident(Int32 n, Int32* textures, [OutAttribute] bool* residences); /// [requires: v1.1][deprecated: v3.2] /// Determine if textures are loaded in texture memory @@ -38471,25 +21004,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glAreTexturesResident")] - public static - bool AreTexturesResident(Int32 n, UInt32[] textures, [OutAttribute] bool[] residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - fixed (bool* residences_ptr = residences) - { - return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern bool AreTexturesResident(Int32 n, UInt32[] textures, [OutAttribute] bool[] residences); /// [requires: v1.1][deprecated: v3.2] /// Determine if textures are loaded in texture memory @@ -38511,27 +21026,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glAreTexturesResident")] - public static - bool AreTexturesResident(Int32 n, ref UInt32 textures, [OutAttribute] out bool residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - fixed (bool* residences_ptr = &residences) - { - bool retval = Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); - residences = *residences_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern bool AreTexturesResident(Int32 n, ref UInt32 textures, [OutAttribute] out bool residences); /// [requires: v1.1][deprecated: v3.2] /// Determine if textures are loaded in texture memory @@ -38553,18 +21048,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glAreTexturesResident")] - public static - unsafe bool AreTexturesResident(Int32 n, UInt32* textures, [OutAttribute] bool* residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures, (bool*)residences); - #if DEBUG - } - #endif - } + public static extern unsafe bool AreTexturesResident(Int32 n, UInt32* textures, [OutAttribute] bool* residences); /// [requires: v1.1][deprecated: v3.2] /// Render a vertex using the specified vertex array element @@ -38575,18 +21059,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glArrayElement")] - public static - void ArrayElement(Int32 i) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glArrayElement((Int32)i); - #if DEBUG - } - #endif - } + public static extern void ArrayElement(Int32 i); /// [requires: v2.0] /// Attaches a shader object to a program object @@ -38602,18 +21075,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glAttachShader")] - public static - void AttachShader(Int32 program, Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAttachShader((UInt32)program, (UInt32)shader); - #if DEBUG - } - #endif - } + public static extern void AttachShader(Int32 program, Int32 shader); /// [requires: v2.0] /// Attaches a shader object to a program object @@ -38630,18 +21092,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glAttachShader")] - public static - void AttachShader(UInt32 program, UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAttachShader((UInt32)program, (UInt32)shader); - #if DEBUG - } - #endif - } + public static extern void AttachShader(UInt32 program, UInt32 shader); /// [requires: v1.0][deprecated: v3.2] /// Delimit the vertices of a primitive or a group of like primitives @@ -38653,19 +21104,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glBegin")] - public static - void Begin(OpenTK.Graphics.OpenGL.BeginMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - GraphicsContext.CurrentContext.ErrorChecking = false; - #endif - Delegates.glBegin((OpenTK.Graphics.OpenGL.PrimitiveType)mode); - #if DEBUG - } - #endif - } + public static extern void Begin(OpenTK.Graphics.OpenGL.BeginMode mode); /// [requires: v1.0][deprecated: v3.2] /// Delimit the vertices of a primitive or a group of like primitives @@ -38676,19 +21115,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glBegin")] - public static - void Begin(OpenTK.Graphics.OpenGL.PrimitiveType mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - GraphicsContext.CurrentContext.ErrorChecking = false; - #endif - Delegates.glBegin((OpenTK.Graphics.OpenGL.PrimitiveType)mode); - #if DEBUG - } - #endif - } + public static extern void Begin(OpenTK.Graphics.OpenGL.PrimitiveType mode); /// [requires: v3.0] /// Start conditional rendering @@ -38704,18 +21131,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBeginConditionalRender")] - public static - void BeginConditionalRender(Int32 id, OpenTK.Graphics.OpenGL.ConditionalRenderType mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginConditionalRender((UInt32)id, (OpenTK.Graphics.OpenGL.ConditionalRenderType)mode); - #if DEBUG - } - #endif - } + public static extern void BeginConditionalRender(Int32 id, OpenTK.Graphics.OpenGL.ConditionalRenderType mode); /// [requires: v3.0] /// Start conditional rendering @@ -38732,18 +21148,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBeginConditionalRender")] - public static - void BeginConditionalRender(UInt32 id, OpenTK.Graphics.OpenGL.ConditionalRenderType mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginConditionalRender((UInt32)id, (OpenTK.Graphics.OpenGL.ConditionalRenderType)mode); - #if DEBUG - } - #endif - } + public static extern void BeginConditionalRender(UInt32 id, OpenTK.Graphics.OpenGL.ConditionalRenderType mode); /// [requires: v1.5] /// Delimit the boundaries of a query object @@ -38759,18 +21164,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBeginQuery")] - public static - void BeginQuery(OpenTK.Graphics.OpenGL.QueryTarget target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginQuery((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BeginQuery(OpenTK.Graphics.OpenGL.QueryTarget target, Int32 id); /// [requires: v1.5] /// Delimit the boundaries of a query object @@ -38787,18 +21181,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBeginQuery")] - public static - void BeginQuery(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginQuery((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BeginQuery(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 id); /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Delimit the boundaries of a query object on an indexed target @@ -38819,18 +21202,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glBeginQueryIndexed")] - public static - void BeginQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, Int32 index, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginQueryIndexed((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BeginQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, Int32 index, Int32 id); /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Delimit the boundaries of a query object on an indexed target @@ -38852,18 +21224,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glBeginQueryIndexed")] - public static - void BeginQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginQueryIndexed((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BeginQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index, UInt32 id); /// [requires: v3.0] /// Start transform feedback operation @@ -38875,18 +21236,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use TransformFeedbackPrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBeginTransformFeedback")] - public static - void BeginTransformFeedback(OpenTK.Graphics.OpenGL.BeginFeedbackMode primitiveMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginTransformFeedback((OpenTK.Graphics.OpenGL.TransformFeedbackPrimitiveType)primitiveMode); - #if DEBUG - } - #endif - } + public static extern void BeginTransformFeedback(OpenTK.Graphics.OpenGL.BeginFeedbackMode primitiveMode); /// [requires: v3.0] /// Start transform feedback operation @@ -38897,18 +21247,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBeginTransformFeedback")] - public static - void BeginTransformFeedback(OpenTK.Graphics.OpenGL.TransformFeedbackPrimitiveType primitiveMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginTransformFeedback((OpenTK.Graphics.OpenGL.TransformFeedbackPrimitiveType)primitiveMode); - #if DEBUG - } - #endif - } + public static extern void BeginTransformFeedback(OpenTK.Graphics.OpenGL.TransformFeedbackPrimitiveType primitiveMode); /// [requires: v2.0] /// Associates a generic vertex attribute index with a named attribute variable @@ -38929,18 +21268,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glBindAttribLocation")] - public static - void BindAttribLocation(Int32 program, Int32 index, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name); - #if DEBUG - } - #endif - } + public static extern void BindAttribLocation(Int32 program, Int32 index, String name); /// [requires: v2.0] /// Associates a generic vertex attribute index with a named attribute variable @@ -38962,18 +21290,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glBindAttribLocation")] - public static - void BindAttribLocation(UInt32 program, UInt32 index, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name); - #if DEBUG - } - #endif - } + public static extern void BindAttribLocation(UInt32 program, UInt32 index, String name); /// [requires: v1.5] /// Bind a named buffer object @@ -38989,18 +21306,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBindBuffer")] - public static - void BindBuffer(OpenTK.Graphics.OpenGL.BufferTarget target, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBuffer((OpenTK.Graphics.OpenGL.BufferTarget)target, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void BindBuffer(OpenTK.Graphics.OpenGL.BufferTarget target, Int32 buffer); /// [requires: v1.5] /// Bind a named buffer object @@ -39017,18 +21323,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBindBuffer")] - public static - void BindBuffer(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBuffer((OpenTK.Graphics.OpenGL.BufferTarget)target, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void BindBuffer(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 buffer); /// [requires: v3.0] /// Bind a buffer object to an indexed buffer target @@ -39049,18 +21344,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferBase")] - public static - void BindBufferBase(OpenTK.Graphics.OpenGL.BufferRangeTarget target, Int32 index, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferBase((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void BindBufferBase(OpenTK.Graphics.OpenGL.BufferRangeTarget target, Int32 index, Int32 buffer); /// [requires: v3.0] /// Bind a buffer object to an indexed buffer target @@ -39082,18 +21366,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferBase")] - public static - void BindBufferBase(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 index, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferBase((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void BindBufferBase(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 index, UInt32 buffer); /// [requires: v3.0] /// Bind a buffer object to an indexed buffer target @@ -39115,18 +21388,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use BufferRangeTarget overload instead")] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferBase")] - public static - void BindBufferBase(OpenTK.Graphics.OpenGL.BufferTarget target, Int32 index, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferBase((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void BindBufferBase(OpenTK.Graphics.OpenGL.BufferTarget target, Int32 index, Int32 buffer); /// [requires: v3.0] /// Bind a buffer object to an indexed buffer target @@ -39149,18 +21411,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use BufferRangeTarget overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferBase")] - public static - void BindBufferBase(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 index, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferBase((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void BindBufferBase(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 index, UInt32 buffer); /// [requires: v3.0] /// Bind a range within a buffer object to an indexed buffer target @@ -39191,18 +21442,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferRange")] - public static - void BindBufferRange(OpenTK.Graphics.OpenGL.BufferRangeTarget target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferRange((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } + public static extern void BindBufferRange(OpenTK.Graphics.OpenGL.BufferRangeTarget target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size); /// [requires: v3.0] /// Bind a range within a buffer object to an indexed buffer target @@ -39234,18 +21474,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferRange")] - public static - void BindBufferRange(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferRange((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } + public static extern void BindBufferRange(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); /// [requires: v3.0] /// Bind a range within a buffer object to an indexed buffer target @@ -39277,18 +21506,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use BufferRangeTarget overload instead")] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferRange")] - public static - void BindBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferRange((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } + public static extern void BindBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size); /// [requires: v3.0] /// Bind a range within a buffer object to an indexed buffer target @@ -39321,18 +21539,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use BufferRangeTarget overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferRange")] - public static - void BindBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferRange((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } + public static extern void BindBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more buffer objects to a sequence of indexed buffer targets @@ -39358,24 +21565,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersBase")] - public static - void BindBuffersBase(OpenTK.Graphics.OpenGL.BufferRangeTarget target, Int32 first, Int32 count, Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - Delegates.glBindBuffersBase((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)first, (Int32)count, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindBuffersBase(OpenTK.Graphics.OpenGL.BufferRangeTarget target, Int32 first, Int32 count, Int32[] buffers); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more buffer objects to a sequence of indexed buffer targets @@ -39401,24 +21591,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersBase")] - public static - void BindBuffersBase(OpenTK.Graphics.OpenGL.BufferRangeTarget target, Int32 first, Int32 count, ref Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - { - Delegates.glBindBuffersBase((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)first, (Int32)count, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindBuffersBase(OpenTK.Graphics.OpenGL.BufferRangeTarget target, Int32 first, Int32 count, ref Int32 buffers); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more buffer objects to a sequence of indexed buffer targets @@ -39445,18 +21618,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersBase")] - public static - unsafe void BindBuffersBase(OpenTK.Graphics.OpenGL.BufferRangeTarget target, Int32 first, Int32 count, Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBuffersBase((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)first, (Int32)count, (UInt32*)buffers); - #if DEBUG - } - #endif - } + public static extern unsafe void BindBuffersBase(OpenTK.Graphics.OpenGL.BufferRangeTarget target, Int32 first, Int32 count, Int32* buffers); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more buffer objects to a sequence of indexed buffer targets @@ -39483,24 +21645,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersBase")] - public static - void BindBuffersBase(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 first, Int32 count, UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - Delegates.glBindBuffersBase((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)first, (Int32)count, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindBuffersBase(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 first, Int32 count, UInt32[] buffers); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more buffer objects to a sequence of indexed buffer targets @@ -39527,24 +21672,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersBase")] - public static - void BindBuffersBase(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 first, Int32 count, ref UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - { - Delegates.glBindBuffersBase((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)first, (Int32)count, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindBuffersBase(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 first, Int32 count, ref UInt32 buffers); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more buffer objects to a sequence of indexed buffer targets @@ -39571,18 +21699,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersBase")] - public static - unsafe void BindBuffersBase(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 first, Int32 count, UInt32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBuffersBase((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)first, (Int32)count, (UInt32*)buffers); - #if DEBUG - } - #endif - } + public static extern unsafe void BindBuffersBase(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 first, Int32 count, UInt32* buffers); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind ranges of one or more buffer objects to a sequence of indexed buffer targets @@ -39608,26 +21725,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersRange")] - public static - void BindBuffersRange(OpenTK.Graphics.OpenGL.BufferRangeTarget target, Int32 first, Int32 count, Int32[] buffers, IntPtr[] offsets, IntPtr[] sizes) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - fixed (IntPtr* offsets_ptr = offsets) - fixed (IntPtr* sizes_ptr = sizes) - { - Delegates.glBindBuffersRange((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)first, (Int32)count, (UInt32*)buffers_ptr, (IntPtr*)offsets_ptr, (IntPtr*)sizes_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindBuffersRange(OpenTK.Graphics.OpenGL.BufferRangeTarget target, Int32 first, Int32 count, Int32[] buffers, IntPtr[] offsets, IntPtr[] sizes); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind ranges of one or more buffer objects to a sequence of indexed buffer targets @@ -39653,26 +21751,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersRange")] - public static - void BindBuffersRange(OpenTK.Graphics.OpenGL.BufferRangeTarget target, Int32 first, Int32 count, ref Int32 buffers, ref IntPtr offsets, ref IntPtr sizes) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - fixed (IntPtr* offsets_ptr = &offsets) - fixed (IntPtr* sizes_ptr = &sizes) - { - Delegates.glBindBuffersRange((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)first, (Int32)count, (UInt32*)buffers_ptr, (IntPtr*)offsets_ptr, (IntPtr*)sizes_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindBuffersRange(OpenTK.Graphics.OpenGL.BufferRangeTarget target, Int32 first, Int32 count, ref Int32 buffers, ref IntPtr offsets, ref IntPtr sizes); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind ranges of one or more buffer objects to a sequence of indexed buffer targets @@ -39699,18 +21778,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersRange")] - public static - unsafe void BindBuffersRange(OpenTK.Graphics.OpenGL.BufferRangeTarget target, Int32 first, Int32 count, Int32* buffers, IntPtr* offsets, IntPtr* sizes) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBuffersRange((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)first, (Int32)count, (UInt32*)buffers, (IntPtr*)offsets, (IntPtr*)sizes); - #if DEBUG - } - #endif - } + public static extern unsafe void BindBuffersRange(OpenTK.Graphics.OpenGL.BufferRangeTarget target, Int32 first, Int32 count, Int32* buffers, IntPtr* offsets, IntPtr* sizes); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind ranges of one or more buffer objects to a sequence of indexed buffer targets @@ -39737,26 +21805,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersRange")] - public static - void BindBuffersRange(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 first, Int32 count, UInt32[] buffers, IntPtr[] offsets, IntPtr[] sizes) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - fixed (IntPtr* offsets_ptr = offsets) - fixed (IntPtr* sizes_ptr = sizes) - { - Delegates.glBindBuffersRange((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)first, (Int32)count, (UInt32*)buffers_ptr, (IntPtr*)offsets_ptr, (IntPtr*)sizes_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindBuffersRange(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 first, Int32 count, UInt32[] buffers, IntPtr[] offsets, IntPtr[] sizes); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind ranges of one or more buffer objects to a sequence of indexed buffer targets @@ -39783,26 +21832,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersRange")] - public static - void BindBuffersRange(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 first, Int32 count, ref UInt32 buffers, ref IntPtr offsets, ref IntPtr sizes) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - fixed (IntPtr* offsets_ptr = &offsets) - fixed (IntPtr* sizes_ptr = &sizes) - { - Delegates.glBindBuffersRange((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)first, (Int32)count, (UInt32*)buffers_ptr, (IntPtr*)offsets_ptr, (IntPtr*)sizes_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindBuffersRange(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 first, Int32 count, ref UInt32 buffers, ref IntPtr offsets, ref IntPtr sizes); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind ranges of one or more buffer objects to a sequence of indexed buffer targets @@ -39829,18 +21859,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersRange")] - public static - unsafe void BindBuffersRange(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 first, Int32 count, UInt32* buffers, IntPtr* offsets, IntPtr* sizes) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBuffersRange((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)first, (Int32)count, (UInt32*)buffers, (IntPtr*)offsets, (IntPtr*)sizes); - #if DEBUG - } - #endif - } + public static extern unsafe void BindBuffersRange(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 first, Int32 count, UInt32* buffers, IntPtr* offsets, IntPtr* sizes); /// [requires: v3.0] /// Bind a user-defined varying out variable to a fragment shader color number @@ -39861,18 +21880,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindFragDataLocation")] - public static - void BindFragDataLocation(Int32 program, Int32 color, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFragDataLocation((UInt32)program, (UInt32)color, (String)name); - #if DEBUG - } - #endif - } + public static extern void BindFragDataLocation(Int32 program, Int32 color, String name); /// [requires: v3.0] /// Bind a user-defined varying out variable to a fragment shader color number @@ -39894,18 +21902,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindFragDataLocation")] - public static - void BindFragDataLocation(UInt32 program, UInt32 color, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFragDataLocation((UInt32)program, (UInt32)color, (String)name); - #if DEBUG - } - #endif - } + public static extern void BindFragDataLocation(UInt32 program, UInt32 color, String name); /// [requires: v3.3 and ARB_blend_func_extended|VERSION_3_3] /// Bind a user-defined varying out variable to a fragment shader color number and index @@ -39931,18 +21928,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_blend_func_extended|VERSION_3_3", Version = "3.3", EntryPoint = "glBindFragDataLocationIndexed")] - public static - void BindFragDataLocationIndexed(Int32 program, Int32 colorNumber, Int32 index, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFragDataLocationIndexed((UInt32)program, (UInt32)colorNumber, (UInt32)index, (String)name); - #if DEBUG - } - #endif - } + public static extern void BindFragDataLocationIndexed(Int32 program, Int32 colorNumber, Int32 index, String name); /// [requires: v3.3 and ARB_blend_func_extended|VERSION_3_3] /// Bind a user-defined varying out variable to a fragment shader color number and index @@ -39969,18 +21955,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_blend_func_extended|VERSION_3_3", Version = "3.3", EntryPoint = "glBindFragDataLocationIndexed")] - public static - void BindFragDataLocationIndexed(UInt32 program, UInt32 colorNumber, UInt32 index, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFragDataLocationIndexed((UInt32)program, (UInt32)colorNumber, (UInt32)index, (String)name); - #if DEBUG - } - #endif - } + public static extern void BindFragDataLocationIndexed(UInt32 program, UInt32 colorNumber, UInt32 index, String name); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Bind a framebuffer to a framebuffer target @@ -39996,18 +21971,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glBindFramebuffer")] - public static - void BindFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, Int32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFramebuffer((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (UInt32)framebuffer); - #if DEBUG - } - #endif - } + public static extern void BindFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, Int32 framebuffer); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Bind a framebuffer to a framebuffer target @@ -40024,18 +21988,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glBindFramebuffer")] - public static - void BindFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, UInt32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFramebuffer((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (UInt32)framebuffer); - #if DEBUG - } - #endif - } + public static extern void BindFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, UInt32 framebuffer); /// [requires: v4.2 and ARB_shader_image_load_store|VERSION_4_2] /// Bind a level of a texture to an image unit @@ -40076,18 +22029,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_image_load_store|VERSION_4_2", Version = "4.2", EntryPoint = "glBindImageTexture")] - public static - void BindImageTexture(Int32 unit, Int32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.TextureAccess access, OpenTK.Graphics.OpenGL.SizedInternalFormat format) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindImageTexture((UInt32)unit, (UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL.TextureAccess)access, (OpenTK.Graphics.OpenGL.SizedInternalFormat)format); - #if DEBUG - } - #endif - } + public static extern void BindImageTexture(Int32 unit, Int32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.TextureAccess access, OpenTK.Graphics.OpenGL.SizedInternalFormat format); /// [requires: v4.2 and ARB_shader_image_load_store|VERSION_4_2] /// Bind a level of a texture to an image unit @@ -40129,18 +22071,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_image_load_store|VERSION_4_2", Version = "4.2", EntryPoint = "glBindImageTexture")] - public static - void BindImageTexture(UInt32 unit, UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.TextureAccess access, OpenTK.Graphics.OpenGL.SizedInternalFormat format) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindImageTexture((UInt32)unit, (UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL.TextureAccess)access, (OpenTK.Graphics.OpenGL.SizedInternalFormat)format); - #if DEBUG - } - #endif - } + public static extern void BindImageTexture(UInt32 unit, UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.TextureAccess access, OpenTK.Graphics.OpenGL.SizedInternalFormat format); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named texture images to a sequence of consecutive image units @@ -40161,24 +22092,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindImageTextures")] - public static - void BindImageTextures(Int32 first, Int32 count, Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - Delegates.glBindImageTextures((UInt32)first, (Int32)count, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindImageTextures(Int32 first, Int32 count, Int32[] textures); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named texture images to a sequence of consecutive image units @@ -40199,24 +22113,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindImageTextures")] - public static - void BindImageTextures(Int32 first, Int32 count, ref Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - Delegates.glBindImageTextures((UInt32)first, (Int32)count, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindImageTextures(Int32 first, Int32 count, ref Int32 textures); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named texture images to a sequence of consecutive image units @@ -40238,18 +22135,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindImageTextures")] - public static - unsafe void BindImageTextures(Int32 first, Int32 count, Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindImageTextures((UInt32)first, (Int32)count, (UInt32*)textures); - #if DEBUG - } - #endif - } + public static extern unsafe void BindImageTextures(Int32 first, Int32 count, Int32* textures); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named texture images to a sequence of consecutive image units @@ -40271,24 +22157,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindImageTextures")] - public static - void BindImageTextures(UInt32 first, Int32 count, UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - Delegates.glBindImageTextures((UInt32)first, (Int32)count, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindImageTextures(UInt32 first, Int32 count, UInt32[] textures); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named texture images to a sequence of consecutive image units @@ -40310,24 +22179,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindImageTextures")] - public static - void BindImageTextures(UInt32 first, Int32 count, ref UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - Delegates.glBindImageTextures((UInt32)first, (Int32)count, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindImageTextures(UInt32 first, Int32 count, ref UInt32 textures); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named texture images to a sequence of consecutive image units @@ -40349,18 +22201,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindImageTextures")] - public static - unsafe void BindImageTextures(UInt32 first, Int32 count, UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindImageTextures((UInt32)first, (Int32)count, (UInt32*)textures); - #if DEBUG - } - #endif - } + public static extern unsafe void BindImageTextures(UInt32 first, Int32 count, UInt32* textures); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Bind a program pipeline to the current context @@ -40371,18 +22212,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glBindProgramPipeline")] - public static - void BindProgramPipeline(Int32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindProgramPipeline((UInt32)pipeline); - #if DEBUG - } - #endif - } + public static extern void BindProgramPipeline(Int32 pipeline); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Bind a program pipeline to the current context @@ -40394,18 +22224,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glBindProgramPipeline")] - public static - void BindProgramPipeline(UInt32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindProgramPipeline((UInt32)pipeline); - #if DEBUG - } - #endif - } + public static extern void BindProgramPipeline(UInt32 pipeline); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Bind a renderbuffer to a renderbuffer target @@ -40421,18 +22240,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glBindRenderbuffer")] - public static - void BindRenderbuffer(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindRenderbuffer((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void BindRenderbuffer(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 renderbuffer); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Bind a renderbuffer to a renderbuffer target @@ -40449,18 +22257,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glBindRenderbuffer")] - public static - void BindRenderbuffer(OpenTK.Graphics.OpenGL.RenderbufferTarget target, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindRenderbuffer((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void BindRenderbuffer(OpenTK.Graphics.OpenGL.RenderbufferTarget target, UInt32 renderbuffer); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Bind a named sampler to a texturing target @@ -40476,18 +22273,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glBindSampler")] - public static - void BindSampler(Int32 unit, Int32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindSampler((UInt32)unit, (UInt32)sampler); - #if DEBUG - } - #endif - } + public static extern void BindSampler(Int32 unit, Int32 sampler); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Bind a named sampler to a texturing target @@ -40504,18 +22290,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glBindSampler")] - public static - void BindSampler(UInt32 unit, UInt32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindSampler((UInt32)unit, (UInt32)sampler); - #if DEBUG - } - #endif - } + public static extern void BindSampler(UInt32 unit, UInt32 sampler); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named sampler objects to a sequence of consecutive sampler units @@ -40536,24 +22311,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindSamplers")] - public static - void BindSamplers(Int32 first, Int32 count, Int32[] samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* samplers_ptr = samplers) - { - Delegates.glBindSamplers((UInt32)first, (Int32)count, (UInt32*)samplers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindSamplers(Int32 first, Int32 count, Int32[] samplers); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named sampler objects to a sequence of consecutive sampler units @@ -40574,24 +22332,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindSamplers")] - public static - void BindSamplers(Int32 first, Int32 count, ref Int32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* samplers_ptr = &samplers) - { - Delegates.glBindSamplers((UInt32)first, (Int32)count, (UInt32*)samplers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindSamplers(Int32 first, Int32 count, ref Int32 samplers); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named sampler objects to a sequence of consecutive sampler units @@ -40613,18 +22354,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindSamplers")] - public static - unsafe void BindSamplers(Int32 first, Int32 count, Int32* samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindSamplers((UInt32)first, (Int32)count, (UInt32*)samplers); - #if DEBUG - } - #endif - } + public static extern unsafe void BindSamplers(Int32 first, Int32 count, Int32* samplers); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named sampler objects to a sequence of consecutive sampler units @@ -40646,24 +22376,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindSamplers")] - public static - void BindSamplers(UInt32 first, Int32 count, UInt32[] samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* samplers_ptr = samplers) - { - Delegates.glBindSamplers((UInt32)first, (Int32)count, (UInt32*)samplers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindSamplers(UInt32 first, Int32 count, UInt32[] samplers); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named sampler objects to a sequence of consecutive sampler units @@ -40685,24 +22398,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindSamplers")] - public static - void BindSamplers(UInt32 first, Int32 count, ref UInt32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* samplers_ptr = &samplers) - { - Delegates.glBindSamplers((UInt32)first, (Int32)count, (UInt32*)samplers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindSamplers(UInt32 first, Int32 count, ref UInt32 samplers); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named sampler objects to a sequence of consecutive sampler units @@ -40724,18 +22420,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindSamplers")] - public static - unsafe void BindSamplers(UInt32 first, Int32 count, UInt32* samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindSamplers((UInt32)first, (Int32)count, (UInt32*)samplers); - #if DEBUG - } - #endif - } + public static extern unsafe void BindSamplers(UInt32 first, Int32 count, UInt32* samplers); /// [requires: v1.1] /// Bind a named texture to a texturing target @@ -40751,18 +22436,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glBindTexture")] - public static - void BindTexture(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTexture((OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)texture); - #if DEBUG - } - #endif - } + public static extern void BindTexture(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 texture); /// [requires: v1.1] /// Bind a named texture to a texturing target @@ -40779,18 +22453,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glBindTexture")] - public static - void BindTexture(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTexture((OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)texture); - #if DEBUG - } - #endif - } + public static extern void BindTexture(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named textures to a sequence of consecutive texture units @@ -40811,24 +22474,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindTextures")] - public static - void BindTextures(Int32 first, Int32 count, Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - Delegates.glBindTextures((UInt32)first, (Int32)count, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindTextures(Int32 first, Int32 count, Int32[] textures); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named textures to a sequence of consecutive texture units @@ -40849,24 +22495,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindTextures")] - public static - void BindTextures(Int32 first, Int32 count, ref Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - Delegates.glBindTextures((UInt32)first, (Int32)count, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindTextures(Int32 first, Int32 count, ref Int32 textures); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named textures to a sequence of consecutive texture units @@ -40888,18 +22517,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindTextures")] - public static - unsafe void BindTextures(Int32 first, Int32 count, Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTextures((UInt32)first, (Int32)count, (UInt32*)textures); - #if DEBUG - } - #endif - } + public static extern unsafe void BindTextures(Int32 first, Int32 count, Int32* textures); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named textures to a sequence of consecutive texture units @@ -40921,24 +22539,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindTextures")] - public static - void BindTextures(UInt32 first, Int32 count, UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - Delegates.glBindTextures((UInt32)first, (Int32)count, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindTextures(UInt32 first, Int32 count, UInt32[] textures); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named textures to a sequence of consecutive texture units @@ -40960,24 +22561,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindTextures")] - public static - void BindTextures(UInt32 first, Int32 count, ref UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - Delegates.glBindTextures((UInt32)first, (Int32)count, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindTextures(UInt32 first, Int32 count, ref UInt32 textures); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named textures to a sequence of consecutive texture units @@ -40999,18 +22583,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindTextures")] - public static - unsafe void BindTextures(UInt32 first, Int32 count, UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTextures((UInt32)first, (Int32)count, (UInt32*)textures); - #if DEBUG - } - #endif - } + public static extern unsafe void BindTextures(UInt32 first, Int32 count, UInt32* textures); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Bind a transform feedback object @@ -41026,18 +22599,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glBindTransformFeedback")] - public static - void BindTransformFeedback(OpenTK.Graphics.OpenGL.TransformFeedbackTarget target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTransformFeedback((OpenTK.Graphics.OpenGL.TransformFeedbackTarget)target, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BindTransformFeedback(OpenTK.Graphics.OpenGL.TransformFeedbackTarget target, Int32 id); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Bind a transform feedback object @@ -41054,18 +22616,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glBindTransformFeedback")] - public static - void BindTransformFeedback(OpenTK.Graphics.OpenGL.TransformFeedbackTarget target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTransformFeedback((OpenTK.Graphics.OpenGL.TransformFeedbackTarget)target, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BindTransformFeedback(OpenTK.Graphics.OpenGL.TransformFeedbackTarget target, UInt32 id); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Bind a vertex array object @@ -41076,18 +22627,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glBindVertexArray")] - public static - void BindVertexArray(Int32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindVertexArray((UInt32)array); - #if DEBUG - } - #endif - } + public static extern void BindVertexArray(Int32 array); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Bind a vertex array object @@ -41099,18 +22639,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glBindVertexArray")] - public static - void BindVertexArray(UInt32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindVertexArray((UInt32)array); - #if DEBUG - } - #endif - } + public static extern void BindVertexArray(UInt32 array); /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] /// Bind a buffer to a vertex buffer bind point @@ -41136,18 +22665,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glBindVertexBuffer")] - public static - void BindVertexBuffer(Int32 bindingindex, Int32 buffer, IntPtr offset, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindVertexBuffer((UInt32)bindingindex, (UInt32)buffer, (IntPtr)offset, (Int32)stride); - #if DEBUG - } - #endif - } + public static extern void BindVertexBuffer(Int32 bindingindex, Int32 buffer, IntPtr offset, Int32 stride); /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] /// Bind a buffer to a vertex buffer bind point @@ -41174,18 +22692,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glBindVertexBuffer")] - public static - void BindVertexBuffer(UInt32 bindingindex, UInt32 buffer, IntPtr offset, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindVertexBuffer((UInt32)bindingindex, (UInt32)buffer, (IntPtr)offset, (Int32)stride); - #if DEBUG - } - #endif - } + public static extern void BindVertexBuffer(UInt32 bindingindex, UInt32 buffer, IntPtr offset, Int32 stride); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named buffer objects to a sequence of consecutive vertex buffer binding points @@ -41216,26 +22723,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindVertexBuffers")] - public static - void BindVertexBuffers(Int32 first, Int32 count, Int32[] buffers, IntPtr[] offsets, Int32[] strides) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - fixed (IntPtr* offsets_ptr = offsets) - fixed (Int32* strides_ptr = strides) - { - Delegates.glBindVertexBuffers((UInt32)first, (Int32)count, (UInt32*)buffers_ptr, (IntPtr*)offsets_ptr, (Int32*)strides_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindVertexBuffers(Int32 first, Int32 count, Int32[] buffers, IntPtr[] offsets, Int32[] strides); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named buffer objects to a sequence of consecutive vertex buffer binding points @@ -41266,26 +22754,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindVertexBuffers")] - public static - void BindVertexBuffers(Int32 first, Int32 count, ref Int32 buffers, ref IntPtr offsets, ref Int32 strides) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - fixed (IntPtr* offsets_ptr = &offsets) - fixed (Int32* strides_ptr = &strides) - { - Delegates.glBindVertexBuffers((UInt32)first, (Int32)count, (UInt32*)buffers_ptr, (IntPtr*)offsets_ptr, (Int32*)strides_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindVertexBuffers(Int32 first, Int32 count, ref Int32 buffers, ref IntPtr offsets, ref Int32 strides); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named buffer objects to a sequence of consecutive vertex buffer binding points @@ -41317,18 +22786,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindVertexBuffers")] - public static - unsafe void BindVertexBuffers(Int32 first, Int32 count, Int32* buffers, IntPtr* offsets, Int32* strides) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindVertexBuffers((UInt32)first, (Int32)count, (UInt32*)buffers, (IntPtr*)offsets, (Int32*)strides); - #if DEBUG - } - #endif - } + public static extern unsafe void BindVertexBuffers(Int32 first, Int32 count, Int32* buffers, IntPtr* offsets, Int32* strides); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named buffer objects to a sequence of consecutive vertex buffer binding points @@ -41360,26 +22818,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindVertexBuffers")] - public static - void BindVertexBuffers(UInt32 first, Int32 count, UInt32[] buffers, IntPtr[] offsets, Int32[] strides) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - fixed (IntPtr* offsets_ptr = offsets) - fixed (Int32* strides_ptr = strides) - { - Delegates.glBindVertexBuffers((UInt32)first, (Int32)count, (UInt32*)buffers_ptr, (IntPtr*)offsets_ptr, (Int32*)strides_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindVertexBuffers(UInt32 first, Int32 count, UInt32[] buffers, IntPtr[] offsets, Int32[] strides); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named buffer objects to a sequence of consecutive vertex buffer binding points @@ -41411,26 +22850,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindVertexBuffers")] - public static - void BindVertexBuffers(UInt32 first, Int32 count, ref UInt32 buffers, ref IntPtr offsets, ref Int32 strides) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - fixed (IntPtr* offsets_ptr = &offsets) - fixed (Int32* strides_ptr = &strides) - { - Delegates.glBindVertexBuffers((UInt32)first, (Int32)count, (UInt32*)buffers_ptr, (IntPtr*)offsets_ptr, (Int32*)strides_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindVertexBuffers(UInt32 first, Int32 count, ref UInt32 buffers, ref IntPtr offsets, ref Int32 strides); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named buffer objects to a sequence of consecutive vertex buffer binding points @@ -41462,18 +22882,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindVertexBuffers")] - public static - unsafe void BindVertexBuffers(UInt32 first, Int32 count, UInt32* buffers, IntPtr* offsets, Int32* strides) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindVertexBuffers((UInt32)first, (Int32)count, (UInt32*)buffers, (IntPtr*)offsets, (Int32*)strides); - #if DEBUG - } - #endif - } + public static extern unsafe void BindVertexBuffers(UInt32 first, Int32 count, UInt32* buffers, IntPtr* offsets, Int32* strides); /// [requires: v1.0][deprecated: v3.2] /// Draw a bitmap @@ -41499,24 +22908,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glBitmap")] - public static - void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte[] bitmap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* bitmap_ptr = bitmap) - { - Delegates.glBitmap((Int32)width, (Int32)height, (Single)xorig, (Single)yorig, (Single)xmove, (Single)ymove, (Byte*)bitmap_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte[] bitmap); /// [requires: v1.0][deprecated: v3.2] /// Draw a bitmap @@ -41542,24 +22934,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glBitmap")] - public static - void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, ref Byte bitmap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* bitmap_ptr = &bitmap) - { - Delegates.glBitmap((Int32)width, (Int32)height, (Single)xorig, (Single)yorig, (Single)xmove, (Single)ymove, (Byte*)bitmap_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, ref Byte bitmap); /// [requires: v1.0][deprecated: v3.2] /// Draw a bitmap @@ -41586,18 +22961,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glBitmap")] - public static - unsafe void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte* bitmap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBitmap((Int32)width, (Int32)height, (Single)xorig, (Single)yorig, (Single)xmove, (Single)ymove, (Byte*)bitmap); - #if DEBUG - } - #endif - } + public static extern unsafe void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte* bitmap); /// [requires: v1.4 and ARB_imaging|VERSION_1_4] /// Set the blend color @@ -41608,18 +22972,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging|VERSION_1_4", Version = "1.4", EntryPoint = "glBlendColor")] - public static - void BlendColor(Single red, Single green, Single blue, Single alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendColor((Single)red, (Single)green, (Single)blue, (Single)alpha); - #if DEBUG - } - #endif - } + public static extern void BlendColor(Single red, Single green, Single blue, Single alpha); /// [requires: v1.4 and ARB_imaging|VERSION_1_4] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -41636,18 +22989,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use BlendEquationMode overload instead")] [AutoGenerated(Category = "ARB_imaging|VERSION_1_4", Version = "1.4", EntryPoint = "glBlendEquation")] - public static - void BlendEquation(OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquation((OpenTK.Graphics.OpenGL.BlendEquationMode)mode); - #if DEBUG - } - #endif - } + public static extern void BlendEquation(OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend mode); /// [requires: v1.4 and ARB_imaging|VERSION_1_4] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -41663,18 +23005,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging|VERSION_1_4", Version = "1.4", EntryPoint = "glBlendEquation")] - public static - void BlendEquation(OpenTK.Graphics.OpenGL.BlendEquationMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquation((OpenTK.Graphics.OpenGL.BlendEquationMode)mode); - #if DEBUG - } - #endif - } + public static extern void BlendEquation(OpenTK.Graphics.OpenGL.BlendEquationMode mode); /// [requires: v4.0] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -41691,18 +23022,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use BlendEquationMode overload instead")] [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendEquationi")] - public static - void BlendEquation(Int32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationi((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendEquationMode)mode); - #if DEBUG - } - #endif - } + public static extern void BlendEquation(Int32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend mode); /// [requires: v4.0] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -41718,18 +23038,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendEquationi")] - public static - void BlendEquation(Int32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationi((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendEquationMode)mode); - #if DEBUG - } - #endif - } + public static extern void BlendEquation(Int32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode mode); /// [requires: v4.0] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -41747,18 +23056,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use BlendEquationMode overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendEquationi")] - public static - void BlendEquation(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationi((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendEquationMode)mode); - #if DEBUG - } - #endif - } + public static extern void BlendEquation(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend mode); /// [requires: v4.0] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -41775,18 +23073,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendEquationi")] - public static - void BlendEquation(UInt32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationi((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendEquationMode)mode); - #if DEBUG - } - #endif - } + public static extern void BlendEquation(UInt32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode mode); /// [requires: v2.0] /// Set the RGB blend equation and the alpha blend equation separately @@ -41807,18 +23094,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glBlendEquationSeparate")] - public static - void BlendEquationSeparate(OpenTK.Graphics.OpenGL.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL.BlendEquationMode modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationSeparate((OpenTK.Graphics.OpenGL.BlendEquationMode)modeRGB, (OpenTK.Graphics.OpenGL.BlendEquationMode)modeAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendEquationSeparate(OpenTK.Graphics.OpenGL.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL.BlendEquationMode modeAlpha); /// [requires: v4.0] /// Set the RGB blend equation and the alpha blend equation separately @@ -41839,18 +23115,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendEquationSeparatei")] - public static - void BlendEquationSeparate(Int32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL.BlendEquationMode modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationSeparatei((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendEquationMode)modeRGB, (OpenTK.Graphics.OpenGL.BlendEquationMode)modeAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendEquationSeparate(Int32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL.BlendEquationMode modeAlpha); /// [requires: v4.0] /// Set the RGB blend equation and the alpha blend equation separately @@ -41872,18 +23137,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendEquationSeparatei")] - public static - void BlendEquationSeparate(UInt32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL.BlendEquationMode modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationSeparatei((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendEquationMode)modeRGB, (OpenTK.Graphics.OpenGL.BlendEquationMode)modeAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendEquationSeparate(UInt32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL.BlendEquationMode modeAlpha); /// [requires: v1.0] /// Specify pixel arithmetic @@ -41904,18 +23158,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glBlendFunc")] - public static - void BlendFunc(OpenTK.Graphics.OpenGL.BlendingFactorSrc sfactor, OpenTK.Graphics.OpenGL.BlendingFactorDest dfactor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFunc((OpenTK.Graphics.OpenGL.BlendingFactorSrc)sfactor, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dfactor); - #if DEBUG - } - #endif - } + public static extern void BlendFunc(OpenTK.Graphics.OpenGL.BlendingFactorSrc sfactor, OpenTK.Graphics.OpenGL.BlendingFactorDest dfactor); /// [requires: v4.0] /// Specify pixel arithmetic @@ -41937,18 +23180,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use BlendingFactorSrc overload instead")] [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendFunci")] - public static - void BlendFunc(Int32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend src, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dst) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFunci((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)src, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dst); - #if DEBUG - } - #endif - } + public static extern void BlendFunc(Int32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend src, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dst); /// [requires: v4.0] /// Specify pixel arithmetic @@ -41969,18 +23201,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendFunci")] - public static - void BlendFunc(Int32 buf, OpenTK.Graphics.OpenGL.BlendingFactorSrc src, OpenTK.Graphics.OpenGL.BlendingFactorDest dst) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFunci((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)src, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dst); - #if DEBUG - } - #endif - } + public static extern void BlendFunc(Int32 buf, OpenTK.Graphics.OpenGL.BlendingFactorSrc src, OpenTK.Graphics.OpenGL.BlendingFactorDest dst); /// [requires: v4.0] /// Specify pixel arithmetic @@ -42003,18 +23224,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use BlendingFactorSrc overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendFunci")] - public static - void BlendFunc(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend src, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dst) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFunci((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)src, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dst); - #if DEBUG - } - #endif - } + public static extern void BlendFunc(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend src, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dst); /// [requires: v4.0] /// Specify pixel arithmetic @@ -42036,18 +23246,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendFunci")] - public static - void BlendFunc(UInt32 buf, OpenTK.Graphics.OpenGL.BlendingFactorSrc src, OpenTK.Graphics.OpenGL.BlendingFactorDest dst) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFunci((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)src, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dst); - #if DEBUG - } - #endif - } + public static extern void BlendFunc(UInt32 buf, OpenTK.Graphics.OpenGL.BlendingFactorSrc src, OpenTK.Graphics.OpenGL.BlendingFactorDest dst); /// [requires: v1.4] /// Specify pixel arithmetic for RGB and alpha components separately @@ -42079,18 +23278,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use BlendingFactorSrc overload instead")] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glBlendFuncSeparate")] - public static - void BlendFuncSeparate(OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend sfactorRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dfactorRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend sfactorAlpha, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dfactorAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFuncSeparate((OpenTK.Graphics.OpenGL.BlendingFactorSrc)sfactorRGB, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dfactorRGB, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)sfactorAlpha, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dfactorAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendFuncSeparate(OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend sfactorRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dfactorRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend sfactorAlpha, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dfactorAlpha); /// [requires: v1.4] /// Specify pixel arithmetic for RGB and alpha components separately @@ -42121,18 +23309,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glBlendFuncSeparate")] - public static - void BlendFuncSeparate(OpenTK.Graphics.OpenGL.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.OpenGL.BlendingFactorDest dfactorRGB, OpenTK.Graphics.OpenGL.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.OpenGL.BlendingFactorDest dfactorAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFuncSeparate((OpenTK.Graphics.OpenGL.BlendingFactorSrc)sfactorRGB, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dfactorRGB, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)sfactorAlpha, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dfactorAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendFuncSeparate(OpenTK.Graphics.OpenGL.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.OpenGL.BlendingFactorDest dfactorRGB, OpenTK.Graphics.OpenGL.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.OpenGL.BlendingFactorDest dfactorAlpha); /// [requires: v4.0] /// Specify pixel arithmetic for RGB and alpha components separately @@ -42164,18 +23341,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use BlendingFactorSrc overload instead")] [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendFuncSeparatei")] - public static - void BlendFuncSeparate(Int32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcAlpha, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFuncSeparatei((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)srcRGB, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dstRGB, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)srcAlpha, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dstAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendFuncSeparate(Int32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcAlpha, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstAlpha); /// [requires: v4.0] /// Specify pixel arithmetic for RGB and alpha components separately @@ -42206,18 +23372,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendFuncSeparatei")] - public static - void BlendFuncSeparate(Int32 buf, OpenTK.Graphics.OpenGL.BlendingFactorSrc srcRGB, OpenTK.Graphics.OpenGL.BlendingFactorDest dstRGB, OpenTK.Graphics.OpenGL.BlendingFactorSrc srcAlpha, OpenTK.Graphics.OpenGL.BlendingFactorDest dstAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFuncSeparatei((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)srcRGB, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dstRGB, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)srcAlpha, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dstAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendFuncSeparate(Int32 buf, OpenTK.Graphics.OpenGL.BlendingFactorSrc srcRGB, OpenTK.Graphics.OpenGL.BlendingFactorDest dstRGB, OpenTK.Graphics.OpenGL.BlendingFactorSrc srcAlpha, OpenTK.Graphics.OpenGL.BlendingFactorDest dstAlpha); /// [requires: v4.0] /// Specify pixel arithmetic for RGB and alpha components separately @@ -42250,18 +23405,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use BlendingFactorSrc overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendFuncSeparatei")] - public static - void BlendFuncSeparate(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcAlpha, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFuncSeparatei((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)srcRGB, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dstRGB, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)srcAlpha, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dstAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendFuncSeparate(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcAlpha, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstAlpha); /// [requires: v4.0] /// Specify pixel arithmetic for RGB and alpha components separately @@ -42293,18 +23437,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendFuncSeparatei")] - public static - void BlendFuncSeparate(UInt32 buf, OpenTK.Graphics.OpenGL.BlendingFactorSrc srcRGB, OpenTK.Graphics.OpenGL.BlendingFactorDest dstRGB, OpenTK.Graphics.OpenGL.BlendingFactorSrc srcAlpha, OpenTK.Graphics.OpenGL.BlendingFactorDest dstAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFuncSeparatei((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)srcRGB, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dstRGB, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)srcAlpha, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dstAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendFuncSeparate(UInt32 buf, OpenTK.Graphics.OpenGL.BlendingFactorSrc srcRGB, OpenTK.Graphics.OpenGL.BlendingFactorDest dstRGB, OpenTK.Graphics.OpenGL.BlendingFactorSrc srcAlpha, OpenTK.Graphics.OpenGL.BlendingFactorDest dstAlpha); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Copy a block of pixels from the read framebuffer to the draw framebuffer @@ -42330,18 +23463,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glBlitFramebuffer")] - public static - void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL.ClearBufferMask mask, OpenTK.Graphics.OpenGL.BlitFramebufferFilter filter) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlitFramebuffer((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.OpenGL.ClearBufferMask)mask, (OpenTK.Graphics.OpenGL.BlitFramebufferFilter)filter); - #if DEBUG - } - #endif - } + public static extern void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL.ClearBufferMask mask, OpenTK.Graphics.OpenGL.BlitFramebufferFilter filter); /// [requires: v1.5] /// Creates and initializes a buffer object's data store @@ -42367,18 +23489,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.BufferUsageHint usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBufferData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.OpenGL.BufferUsageHint)usage); - #if DEBUG - } - #endif - } + public static extern void BufferData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.BufferUsageHint usage); /// [requires: v1.5] /// Creates and initializes a buffer object's data store @@ -42404,27 +23515,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.OpenGL.BufferUsageHint usage) + public static extern void BufferData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.OpenGL.BufferUsageHint usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferUsageHint)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.5] /// Creates and initializes a buffer object's data store @@ -42450,27 +23543,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.OpenGL.BufferUsageHint usage) + public static extern void BufferData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.OpenGL.BufferUsageHint usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferUsageHint)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.5] /// Creates and initializes a buffer object's data store @@ -42496,27 +23571,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.OpenGL.BufferUsageHint usage) + public static extern void BufferData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.OpenGL.BufferUsageHint usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferUsageHint)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.5] /// Creates and initializes a buffer object's data store @@ -42542,28 +23599,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.OpenGL.BufferUsageHint usage) + public static extern void BufferData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.OpenGL.BufferUsageHint usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferUsageHint)usage); - data = (T2)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_buffer_storage|VERSION_4_4] /// Creates and initializes a buffer object's immutable data store @@ -42589,18 +23627,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_buffer_storage|VERSION_4_4", Version = "4.4", EntryPoint = "glBufferStorage")] - public static - void BufferStorage(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.BufferStorageFlags flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBufferStorage((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.OpenGL.BufferStorageFlags)flags); - #if DEBUG - } - #endif - } + public static extern void BufferStorage(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.BufferStorageFlags flags); /// [requires: v4.4 and ARB_buffer_storage|VERSION_4_4] /// Creates and initializes a buffer object's immutable data store @@ -42626,27 +23653,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_buffer_storage|VERSION_4_4", Version = "4.4", EntryPoint = "glBufferStorage")] - public static - void BufferStorage(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.OpenGL.BufferStorageFlags flags) + public static extern void BufferStorage(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.OpenGL.BufferStorageFlags flags) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferStorage((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferStorageFlags)flags); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_buffer_storage|VERSION_4_4] /// Creates and initializes a buffer object's immutable data store @@ -42672,27 +23681,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_buffer_storage|VERSION_4_4", Version = "4.4", EntryPoint = "glBufferStorage")] - public static - void BufferStorage(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.OpenGL.BufferStorageFlags flags) + public static extern void BufferStorage(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.OpenGL.BufferStorageFlags flags) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferStorage((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferStorageFlags)flags); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_buffer_storage|VERSION_4_4] /// Creates and initializes a buffer object's immutable data store @@ -42718,27 +23709,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_buffer_storage|VERSION_4_4", Version = "4.4", EntryPoint = "glBufferStorage")] - public static - void BufferStorage(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.OpenGL.BufferStorageFlags flags) + public static extern void BufferStorage(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.OpenGL.BufferStorageFlags flags) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferStorage((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferStorageFlags)flags); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_buffer_storage|VERSION_4_4] /// Creates and initializes a buffer object's immutable data store @@ -42764,28 +23737,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_buffer_storage|VERSION_4_4", Version = "4.4", EntryPoint = "glBufferStorage")] - public static - void BufferStorage(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.OpenGL.BufferStorageFlags flags) + public static extern void BufferStorage(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.OpenGL.BufferStorageFlags flags) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferStorage((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferStorageFlags)flags); - data = (T2)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.5] /// Updates a subset of a buffer object's data store @@ -42811,18 +23765,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void BufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data); /// [requires: v1.5] /// Updates a subset of a buffer object's data store @@ -42848,27 +23791,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) + public static extern void BufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.5] /// Updates a subset of a buffer object's data store @@ -42894,27 +23819,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) + public static extern void BufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.5] /// Updates a subset of a buffer object's data store @@ -42940,27 +23847,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) + public static extern void BufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.5] /// Updates a subset of a buffer object's data store @@ -42986,28 +23875,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) + public static extern void BufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T3)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0][deprecated: v3.2] /// Execute a display list @@ -43018,18 +23888,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glCallList")] - public static - void CallList(Int32 list) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCallList((UInt32)list); - #if DEBUG - } - #endif - } + public static extern void CallList(Int32 list); /// [requires: v1.0][deprecated: v3.2] /// Execute a display list @@ -43041,18 +23900,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glCallList")] - public static - void CallList(UInt32 list) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCallList((UInt32)list); - #if DEBUG - } - #endif - } + public static extern void CallList(UInt32 list); /// [requires: v1.0][deprecated: v3.2] /// Execute a list of display lists @@ -43073,18 +23921,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glCallLists")] - public static - void CallLists(Int32 n, OpenTK.Graphics.OpenGL.ListNameType type, IntPtr lists) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCallLists((Int32)n, (OpenTK.Graphics.OpenGL.ListNameType)type, (IntPtr)lists); - #if DEBUG - } - #endif - } + public static extern void CallLists(Int32 n, OpenTK.Graphics.OpenGL.ListNameType type, IntPtr lists); /// [requires: v1.0][deprecated: v3.2] /// Execute a list of display lists @@ -43105,27 +23942,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glCallLists")] - public static - void CallLists(Int32 n, OpenTK.Graphics.OpenGL.ListNameType type, [InAttribute, OutAttribute] T2[] lists) + public static extern void CallLists(Int32 n, OpenTK.Graphics.OpenGL.ListNameType type, [InAttribute, OutAttribute] T2[] lists) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle lists_ptr = GCHandle.Alloc(lists, GCHandleType.Pinned); - try - { - Delegates.glCallLists((Int32)n, (OpenTK.Graphics.OpenGL.ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject()); - } - finally - { - lists_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0][deprecated: v3.2] /// Execute a list of display lists @@ -43146,27 +23965,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glCallLists")] - public static - void CallLists(Int32 n, OpenTK.Graphics.OpenGL.ListNameType type, [InAttribute, OutAttribute] T2[,] lists) + public static extern void CallLists(Int32 n, OpenTK.Graphics.OpenGL.ListNameType type, [InAttribute, OutAttribute] T2[,] lists) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle lists_ptr = GCHandle.Alloc(lists, GCHandleType.Pinned); - try - { - Delegates.glCallLists((Int32)n, (OpenTK.Graphics.OpenGL.ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject()); - } - finally - { - lists_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0][deprecated: v3.2] /// Execute a list of display lists @@ -43187,27 +23988,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glCallLists")] - public static - void CallLists(Int32 n, OpenTK.Graphics.OpenGL.ListNameType type, [InAttribute, OutAttribute] T2[,,] lists) + public static extern void CallLists(Int32 n, OpenTK.Graphics.OpenGL.ListNameType type, [InAttribute, OutAttribute] T2[,,] lists) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle lists_ptr = GCHandle.Alloc(lists, GCHandleType.Pinned); - try - { - Delegates.glCallLists((Int32)n, (OpenTK.Graphics.OpenGL.ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject()); - } - finally - { - lists_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0][deprecated: v3.2] /// Execute a list of display lists @@ -43228,28 +24011,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glCallLists")] - public static - void CallLists(Int32 n, OpenTK.Graphics.OpenGL.ListNameType type, [InAttribute, OutAttribute] ref T2 lists) + public static extern void CallLists(Int32 n, OpenTK.Graphics.OpenGL.ListNameType type, [InAttribute, OutAttribute] ref T2 lists) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle lists_ptr = GCHandle.Alloc(lists, GCHandleType.Pinned); - try - { - Delegates.glCallLists((Int32)n, (OpenTK.Graphics.OpenGL.ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject()); - lists = (T2)lists_ptr.Target; - } - finally - { - lists_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Check the completeness status of a framebuffer @@ -43260,18 +24024,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glCheckFramebufferStatus")] - public static - OpenTK.Graphics.OpenGL.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.OpenGL.FramebufferTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCheckFramebufferStatus((OpenTK.Graphics.OpenGL.FramebufferTarget)target); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.OpenGL.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.OpenGL.FramebufferTarget target); /// [requires: v3.0] /// Specify whether data read via glReadPixels should be clamped @@ -43287,18 +24040,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClampColor")] - public static - void ClampColor(OpenTK.Graphics.OpenGL.ClampColorTarget target, OpenTK.Graphics.OpenGL.ClampColorMode clamp) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClampColor((OpenTK.Graphics.OpenGL.ClampColorTarget)target, (OpenTK.Graphics.OpenGL.ClampColorMode)clamp); - #if DEBUG - } - #endif - } + public static extern void ClampColor(OpenTK.Graphics.OpenGL.ClampColorTarget target, OpenTK.Graphics.OpenGL.ClampColorMode clamp); /// [requires: v1.0] /// Clear buffers to preset values @@ -43309,18 +24051,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glClear")] - public static - void Clear(OpenTK.Graphics.OpenGL.ClearBufferMask mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClear((OpenTK.Graphics.OpenGL.ClearBufferMask)mask); - #if DEBUG - } - #endif - } + public static extern void Clear(OpenTK.Graphics.OpenGL.ClearBufferMask mask); /// [requires: v1.0][deprecated: v3.2] /// Specify clear values for the accumulation buffer @@ -43331,18 +24062,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glClearAccum")] - public static - void ClearAccum(Single red, Single green, Single blue, Single alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearAccum((Single)red, (Single)green, (Single)blue, (Single)alpha); - #if DEBUG - } - #endif - } + public static extern void ClearAccum(Single red, Single green, Single blue, Single alpha); /// [requires: v4.3 and ARB_clear_buffer_object|VERSION_4_3] /// Fill a buffer object's data store with a fixed value @@ -43378,18 +24098,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferData")] - public static - void ClearBufferData(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.All type, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearBufferData((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void ClearBufferData(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.All type, IntPtr data); /// [requires: v4.3 and ARB_clear_buffer_object|VERSION_4_3] /// Fill a buffer object's data store with a fixed value @@ -43425,27 +24134,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferData")] - public static - void ClearBufferData(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.All type, [InAttribute, OutAttribute] T4[] data) + public static extern void ClearBufferData(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.All type, [InAttribute, OutAttribute] T4[] data) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearBufferData((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and ARB_clear_buffer_object|VERSION_4_3] /// Fill a buffer object's data store with a fixed value @@ -43481,27 +24172,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferData")] - public static - void ClearBufferData(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.All type, [InAttribute, OutAttribute] T4[,] data) + public static extern void ClearBufferData(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.All type, [InAttribute, OutAttribute] T4[,] data) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearBufferData((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and ARB_clear_buffer_object|VERSION_4_3] /// Fill a buffer object's data store with a fixed value @@ -43537,27 +24210,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferData")] - public static - void ClearBufferData(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.All type, [InAttribute, OutAttribute] T4[,,] data) + public static extern void ClearBufferData(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.All type, [InAttribute, OutAttribute] T4[,,] data) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearBufferData((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and ARB_clear_buffer_object|VERSION_4_3] /// Fill a buffer object's data store with a fixed value @@ -43593,28 +24248,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferData")] - public static - void ClearBufferData(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.All type, [InAttribute, OutAttribute] ref T4 data) + public static extern void ClearBufferData(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.All type, [InAttribute, OutAttribute] ref T4 data) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearBufferData((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T4)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -43646,18 +24282,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ClearBufferCombined overload instead")] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfi")] - public static - void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Single depth, Int32 stencil) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearBufferfi((OpenTK.Graphics.OpenGL.ClearBufferCombined)buffer, (Int32)drawbuffer, (Single)depth, (Int32)stencil); - #if DEBUG - } - #endif - } + public static extern void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Single depth, Int32 stencil); /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -43688,18 +24313,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfi")] - public static - void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBufferCombined buffer, Int32 drawbuffer, Single depth, Int32 stencil) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearBufferfi((OpenTK.Graphics.OpenGL.ClearBufferCombined)buffer, (Int32)drawbuffer, (Single)depth, (Int32)stencil); - #if DEBUG - } - #endif - } + public static extern void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBufferCombined buffer, Int32 drawbuffer, Single depth, Int32 stencil); /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -43730,24 +24344,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfv")] - public static - void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glClearBufferfv((OpenTK.Graphics.OpenGL.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Single[] value); /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -43778,24 +24375,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfv")] - public static - void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glClearBufferfv((OpenTK.Graphics.OpenGL.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, ref Single value); /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -43827,18 +24407,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfv")] - public static - unsafe void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearBufferfv((OpenTK.Graphics.OpenGL.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Single* value); /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -43869,24 +24438,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferiv")] - public static - void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glClearBufferiv((OpenTK.Graphics.OpenGL.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Int32[] value); /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -43917,24 +24469,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferiv")] - public static - void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glClearBufferiv((OpenTK.Graphics.OpenGL.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, ref Int32 value); /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -43966,18 +24501,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferiv")] - public static - unsafe void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearBufferiv((OpenTK.Graphics.OpenGL.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Int32* value); /// [requires: v4.3 and ARB_clear_buffer_object|VERSION_4_3] /// Fill all or part of buffer object's data store with a fixed value @@ -44018,18 +24542,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferSubData")] - public static - void ClearBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.All type, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (IntPtr)offset, (IntPtr)size, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void ClearBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.All type, IntPtr data); /// [requires: v4.3 and ARB_clear_buffer_object|VERSION_4_3] /// Fill all or part of buffer object's data store with a fixed value @@ -44070,27 +24583,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferSubData")] - public static - void ClearBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.All type, [InAttribute, OutAttribute] T6[] data) + public static extern void ClearBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.All type, [InAttribute, OutAttribute] T6[] data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (IntPtr)offset, (IntPtr)size, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and ARB_clear_buffer_object|VERSION_4_3] /// Fill all or part of buffer object's data store with a fixed value @@ -44131,27 +24626,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferSubData")] - public static - void ClearBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.All type, [InAttribute, OutAttribute] T6[,] data) + public static extern void ClearBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.All type, [InAttribute, OutAttribute] T6[,] data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (IntPtr)offset, (IntPtr)size, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and ARB_clear_buffer_object|VERSION_4_3] /// Fill all or part of buffer object's data store with a fixed value @@ -44192,27 +24669,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferSubData")] - public static - void ClearBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.All type, [InAttribute, OutAttribute] T6[,,] data) + public static extern void ClearBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.All type, [InAttribute, OutAttribute] T6[,,] data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (IntPtr)offset, (IntPtr)size, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and ARB_clear_buffer_object|VERSION_4_3] /// Fill all or part of buffer object's data store with a fixed value @@ -44253,28 +24712,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferSubData")] - public static - void ClearBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.All type, [InAttribute, OutAttribute] ref T6 data) + public static extern void ClearBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.All type, [InAttribute, OutAttribute] ref T6 data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (IntPtr)offset, (IntPtr)size, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T6)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -44306,24 +24746,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferuiv")] - public static - void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glClearBufferuiv((OpenTK.Graphics.OpenGL.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, UInt32[] value); /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -44355,24 +24778,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferuiv")] - public static - void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glClearBufferuiv((OpenTK.Graphics.OpenGL.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, ref UInt32 value); /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -44404,18 +24810,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferuiv")] - public static - unsafe void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearBufferuiv((OpenTK.Graphics.OpenGL.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ClearBuffer(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, UInt32* value); /// [requires: v1.0] /// Specify clear values for the color buffers @@ -44426,18 +24821,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glClearColor")] - public static - void ClearColor(Single red, Single green, Single blue, Single alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearColor((Single)red, (Single)green, (Single)blue, (Single)alpha); - #if DEBUG - } - #endif - } + public static extern void ClearColor(Single red, Single green, Single blue, Single alpha); /// [requires: v1.0] /// Specify the clear value for the depth buffer @@ -44448,18 +24832,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glClearDepth")] - public static - void ClearDepth(Double depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearDepth((Double)depth); - #if DEBUG - } - #endif - } + public static extern void ClearDepth(Double depth); /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Specify the clear value for the depth buffer @@ -44470,18 +24843,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glClearDepthf")] - public static - void ClearDepth(Single d) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearDepthf((Single)d); - #if DEBUG - } - #endif - } + public static extern void ClearDepth(Single d); /// [requires: v1.0][deprecated: v3.2] /// Specify the clear value for the color index buffers @@ -44492,18 +24854,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glClearIndex")] - public static - void ClearIndex(Single c) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearIndex((Single)c); - #if DEBUG - } - #endif - } + public static extern void ClearIndex(Single c); /// [requires: v1.0] /// Specify the clear value for the stencil buffer @@ -44514,18 +24865,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glClearStencil")] - public static - void ClearStencil(Int32 s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearStencil((Int32)s); - #if DEBUG - } - #endif - } + public static extern void ClearStencil(Int32 s); /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all a texture image with a constant value @@ -44556,18 +24896,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static - void ClearTexImage(Int32 texture, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearTexImage((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void ClearTexImage(Int32 texture, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data); /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all a texture image with a constant value @@ -44598,27 +24927,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static - void ClearTexImage(Int32 texture, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[] data) + public static extern void ClearTexImage(Int32 texture, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[] data) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearTexImage((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all a texture image with a constant value @@ -44649,27 +24960,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static - void ClearTexImage(Int32 texture, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,] data) + public static extern void ClearTexImage(Int32 texture, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,] data) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearTexImage((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all a texture image with a constant value @@ -44700,27 +24993,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static - void ClearTexImage(Int32 texture, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,,] data) + public static extern void ClearTexImage(Int32 texture, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,,] data) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearTexImage((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all a texture image with a constant value @@ -44751,28 +25026,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static - void ClearTexImage(Int32 texture, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 data) + public static extern void ClearTexImage(Int32 texture, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 data) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearTexImage((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T4)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all a texture image with a constant value @@ -44804,18 +25060,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static - void ClearTexImage(UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearTexImage((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void ClearTexImage(UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data); /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all a texture image with a constant value @@ -44847,27 +25092,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static - void ClearTexImage(UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[] data) + public static extern void ClearTexImage(UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[] data) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearTexImage((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all a texture image with a constant value @@ -44899,27 +25126,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static - void ClearTexImage(UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,] data) + public static extern void ClearTexImage(UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,] data) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearTexImage((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all a texture image with a constant value @@ -44951,27 +25160,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static - void ClearTexImage(UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,,] data) + public static extern void ClearTexImage(UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,,] data) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearTexImage((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all a texture image with a constant value @@ -45003,28 +25194,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static - void ClearTexImage(UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 data) + public static extern void ClearTexImage(UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 data) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearTexImage((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T4)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all or part of a texture image with a constant value @@ -45085,18 +25257,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static - void ClearTexSubImage(Int32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearTexSubImage((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void ClearTexSubImage(Int32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data); /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all or part of a texture image with a constant value @@ -45157,27 +25318,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static - void ClearTexSubImage(Int32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[] data) + public static extern void ClearTexSubImage(Int32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearTexSubImage((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all or part of a texture image with a constant value @@ -45238,27 +25381,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static - void ClearTexSubImage(Int32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,] data) + public static extern void ClearTexSubImage(Int32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearTexSubImage((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all or part of a texture image with a constant value @@ -45319,27 +25444,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static - void ClearTexSubImage(Int32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,,] data) + public static extern void ClearTexSubImage(Int32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,,] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearTexSubImage((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all or part of a texture image with a constant value @@ -45400,28 +25507,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static - void ClearTexSubImage(Int32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T10 data) + public static extern void ClearTexSubImage(Int32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T10 data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearTexSubImage((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T10)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all or part of a texture image with a constant value @@ -45483,18 +25571,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static - void ClearTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearTexSubImage((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void ClearTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data); /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all or part of a texture image with a constant value @@ -45556,27 +25633,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static - void ClearTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[] data) + public static extern void ClearTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearTexSubImage((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all or part of a texture image with a constant value @@ -45638,27 +25697,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static - void ClearTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,] data) + public static extern void ClearTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearTexSubImage((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all or part of a texture image with a constant value @@ -45720,27 +25761,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static - void ClearTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,,] data) + public static extern void ClearTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,,] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearTexSubImage((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all or part of a texture image with a constant value @@ -45802,28 +25825,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static - void ClearTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T10 data) + public static extern void ClearTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T10 data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearTexSubImage((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T10)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3][deprecated: v3.2] /// Select active texture unit @@ -45834,18 +25838,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glClientActiveTexture")] - public static - void ClientActiveTexture(OpenTK.Graphics.OpenGL.TextureUnit texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClientActiveTexture((OpenTK.Graphics.OpenGL.TextureUnit)texture); - #if DEBUG - } - #endif - } + public static extern void ClientActiveTexture(OpenTK.Graphics.OpenGL.TextureUnit texture); /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Block and wait for a sync object to become signaled @@ -45866,18 +25859,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glClientWaitSync")] - public static - OpenTK.Graphics.OpenGL.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.OpenGL.ClientWaitSyncFlags flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glClientWaitSync((IntPtr)sync, (OpenTK.Graphics.OpenGL.ClientWaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.OpenGL.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.OpenGL.ClientWaitSyncFlags flags, Int64 timeout); /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Block and wait for a sync object to become signaled @@ -45899,18 +25881,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glClientWaitSync")] - public static - OpenTK.Graphics.OpenGL.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.OpenGL.ClientWaitSyncFlags flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glClientWaitSync((IntPtr)sync, (OpenTK.Graphics.OpenGL.ClientWaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.OpenGL.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.OpenGL.ClientWaitSyncFlags flags, UInt64 timeout); /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Block and wait for a sync object to become signaled @@ -45932,18 +25903,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ClientWaitSyncFlags overload instead")] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glClientWaitSync")] - public static - OpenTK.Graphics.OpenGL.WaitSyncStatus ClientWaitSync(IntPtr sync, Int32 flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glClientWaitSync((IntPtr)sync, (OpenTK.Graphics.OpenGL.ClientWaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.OpenGL.WaitSyncStatus ClientWaitSync(IntPtr sync, Int32 flags, Int64 timeout); /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Block and wait for a sync object to become signaled @@ -45966,18 +25926,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use ClientWaitSyncFlags overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glClientWaitSync")] - public static - OpenTK.Graphics.OpenGL.WaitSyncStatus ClientWaitSync(IntPtr sync, Int32 flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glClientWaitSync((IntPtr)sync, (OpenTK.Graphics.OpenGL.ClientWaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.OpenGL.WaitSyncStatus ClientWaitSync(IntPtr sync, Int32 flags, UInt64 timeout); /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Block and wait for a sync object to become signaled @@ -46000,18 +25949,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use ClientWaitSyncFlags overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glClientWaitSync")] - public static - OpenTK.Graphics.OpenGL.WaitSyncStatus ClientWaitSync(IntPtr sync, UInt32 flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glClientWaitSync((IntPtr)sync, (OpenTK.Graphics.OpenGL.ClientWaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.OpenGL.WaitSyncStatus ClientWaitSync(IntPtr sync, UInt32 flags, UInt64 timeout); /// [requires: v1.0][deprecated: v3.2] /// Specify a plane against which all geometry is clipped @@ -46027,24 +25965,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glClipPlane")] - public static - void ClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, Double[] equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* equation_ptr = equation) - { - Delegates.glClipPlane((OpenTK.Graphics.OpenGL.ClipPlaneName)plane, (Double*)equation_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, Double[] equation); /// [requires: v1.0][deprecated: v3.2] /// Specify a plane against which all geometry is clipped @@ -46060,24 +25981,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glClipPlane")] - public static - void ClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, ref Double equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* equation_ptr = &equation) - { - Delegates.glClipPlane((OpenTK.Graphics.OpenGL.ClipPlaneName)plane, (Double*)equation_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, ref Double equation); /// [requires: v1.0][deprecated: v3.2] /// Specify a plane against which all geometry is clipped @@ -46094,18 +25998,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glClipPlane")] - public static - unsafe void ClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, Double* equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClipPlane((OpenTK.Graphics.OpenGL.ClipPlaneName)plane, (Double*)equation); - #if DEBUG - } - #endif - } + public static extern unsafe void ClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, Double* equation); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -46122,18 +26015,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3b")] - public static - void Color3(SByte red, SByte green, SByte blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3b((SByte)red, (SByte)green, (SByte)blue); - #if DEBUG - } - #endif - } + public static extern void Color3(SByte red, SByte green, SByte blue); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -46150,24 +26032,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3bv")] - public static - void Color3(SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - Delegates.glColor3bv((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color3(SByte[] v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -46184,24 +26049,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3bv")] - public static - void Color3(ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - Delegates.glColor3bv((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color3(ref SByte v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -46218,18 +26066,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3bv")] - public static - unsafe void Color3(SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3bv((SByte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Color3(SByte* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -46245,18 +26082,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3d")] - public static - void Color3(Double red, Double green, Double blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3d((Double)red, (Double)green, (Double)blue); - #if DEBUG - } - #endif - } + public static extern void Color3(Double red, Double green, Double blue); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -46272,24 +26098,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3dv")] - public static - void Color3(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glColor3dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color3(Double[] v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -46305,24 +26114,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3dv")] - public static - void Color3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glColor3dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color3(ref Double v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -46339,18 +26131,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3dv")] - public static - unsafe void Color3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3dv((Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Color3(Double* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -46366,18 +26147,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3f")] - public static - void Color3(Single red, Single green, Single blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3f((Single)red, (Single)green, (Single)blue); - #if DEBUG - } - #endif - } + public static extern void Color3(Single red, Single green, Single blue); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -46393,24 +26163,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3fv")] - public static - void Color3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glColor3fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color3(Single[] v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -46426,24 +26179,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3fv")] - public static - void Color3(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glColor3fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color3(ref Single v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -46460,18 +26196,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3fv")] - public static - unsafe void Color3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3fv((Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Color3(Single* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -46487,18 +26212,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3i")] - public static - void Color3(Int32 red, Int32 green, Int32 blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3i((Int32)red, (Int32)green, (Int32)blue); - #if DEBUG - } - #endif - } + public static extern void Color3(Int32 red, Int32 green, Int32 blue); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -46514,24 +26228,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3iv")] - public static - void Color3(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glColor3iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color3(Int32[] v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -46547,24 +26244,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3iv")] - public static - void Color3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glColor3iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color3(ref Int32 v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -46581,18 +26261,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3iv")] - public static - unsafe void Color3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3iv((Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Color3(Int32* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -46608,18 +26277,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3s")] - public static - void Color3(Int16 red, Int16 green, Int16 blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3s((Int16)red, (Int16)green, (Int16)blue); - #if DEBUG - } - #endif - } + public static extern void Color3(Int16 red, Int16 green, Int16 blue); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -46635,24 +26293,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3sv")] - public static - void Color3(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glColor3sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color3(Int16[] v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -46668,24 +26309,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3sv")] - public static - void Color3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glColor3sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color3(ref Int16 v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -46702,18 +26326,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3sv")] - public static - unsafe void Color3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3sv((Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Color3(Int16* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -46729,18 +26342,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3ub")] - public static - void Color3(Byte red, Byte green, Byte blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3ub((Byte)red, (Byte)green, (Byte)blue); - #if DEBUG - } - #endif - } + public static extern void Color3(Byte red, Byte green, Byte blue); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -46756,24 +26358,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3ubv")] - public static - void Color3(Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glColor3ubv((Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color3(Byte[] v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -46789,24 +26374,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3ubv")] - public static - void Color3(ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glColor3ubv((Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color3(ref Byte v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -46823,18 +26391,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3ubv")] - public static - unsafe void Color3(Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3ubv((Byte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Color3(Byte* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -46851,18 +26408,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3ui")] - public static - void Color3(UInt32 red, UInt32 green, UInt32 blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3ui((UInt32)red, (UInt32)green, (UInt32)blue); - #if DEBUG - } - #endif - } + public static extern void Color3(UInt32 red, UInt32 green, UInt32 blue); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -46879,24 +26425,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3uiv")] - public static - void Color3(UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glColor3uiv((UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color3(UInt32[] v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -46913,24 +26442,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3uiv")] - public static - void Color3(ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - Delegates.glColor3uiv((UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color3(ref UInt32 v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -46947,18 +26459,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3uiv")] - public static - unsafe void Color3(UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3uiv((UInt32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Color3(UInt32* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -46975,18 +26476,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3us")] - public static - void Color3(UInt16 red, UInt16 green, UInt16 blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3us((UInt16)red, (UInt16)green, (UInt16)blue); - #if DEBUG - } - #endif - } + public static extern void Color3(UInt16 red, UInt16 green, UInt16 blue); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -47003,24 +26493,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3usv")] - public static - void Color3(UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - Delegates.glColor3usv((UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color3(UInt16[] v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -47037,24 +26510,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3usv")] - public static - void Color3(ref UInt16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = &v) - { - Delegates.glColor3usv((UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color3(ref UInt16 v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -47071,18 +26527,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor3usv")] - public static - unsafe void Color3(UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3usv((UInt16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Color3(UInt16* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -47099,18 +26544,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4b")] - public static - void Color4(SByte red, SByte green, SByte blue, SByte alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4b((SByte)red, (SByte)green, (SByte)blue, (SByte)alpha); - #if DEBUG - } - #endif - } + public static extern void Color4(SByte red, SByte green, SByte blue, SByte alpha); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -47127,24 +26561,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4bv")] - public static - void Color4(SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - Delegates.glColor4bv((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color4(SByte[] v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -47161,24 +26578,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4bv")] - public static - void Color4(ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - Delegates.glColor4bv((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color4(ref SByte v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -47195,18 +26595,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4bv")] - public static - unsafe void Color4(SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4bv((SByte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Color4(SByte* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -47222,18 +26611,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4d")] - public static - void Color4(Double red, Double green, Double blue, Double alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4d((Double)red, (Double)green, (Double)blue, (Double)alpha); - #if DEBUG - } - #endif - } + public static extern void Color4(Double red, Double green, Double blue, Double alpha); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -47249,24 +26627,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4dv")] - public static - void Color4(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glColor4dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color4(Double[] v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -47282,24 +26643,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4dv")] - public static - void Color4(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glColor4dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color4(ref Double v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -47316,18 +26660,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4dv")] - public static - unsafe void Color4(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4dv((Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Color4(Double* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -47343,18 +26676,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4f")] - public static - void Color4(Single red, Single green, Single blue, Single alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4f((Single)red, (Single)green, (Single)blue, (Single)alpha); - #if DEBUG - } - #endif - } + public static extern void Color4(Single red, Single green, Single blue, Single alpha); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -47370,24 +26692,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4fv")] - public static - void Color4(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glColor4fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color4(Single[] v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -47403,24 +26708,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4fv")] - public static - void Color4(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glColor4fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color4(ref Single v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -47437,18 +26725,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4fv")] - public static - unsafe void Color4(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4fv((Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Color4(Single* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -47464,18 +26741,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4i")] - public static - void Color4(Int32 red, Int32 green, Int32 blue, Int32 alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4i((Int32)red, (Int32)green, (Int32)blue, (Int32)alpha); - #if DEBUG - } - #endif - } + public static extern void Color4(Int32 red, Int32 green, Int32 blue, Int32 alpha); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -47491,24 +26757,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4iv")] - public static - void Color4(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glColor4iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color4(Int32[] v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -47524,24 +26773,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4iv")] - public static - void Color4(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glColor4iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color4(ref Int32 v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -47558,18 +26790,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4iv")] - public static - unsafe void Color4(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4iv((Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Color4(Int32* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -47585,18 +26806,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4s")] - public static - void Color4(Int16 red, Int16 green, Int16 blue, Int16 alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4s((Int16)red, (Int16)green, (Int16)blue, (Int16)alpha); - #if DEBUG - } - #endif - } + public static extern void Color4(Int16 red, Int16 green, Int16 blue, Int16 alpha); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -47612,24 +26822,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4sv")] - public static - void Color4(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glColor4sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color4(Int16[] v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -47645,24 +26838,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4sv")] - public static - void Color4(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glColor4sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color4(ref Int16 v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -47679,18 +26855,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4sv")] - public static - unsafe void Color4(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4sv((Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Color4(Int16* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -47706,18 +26871,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4ub")] - public static - void Color4(Byte red, Byte green, Byte blue, Byte alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4ub((Byte)red, (Byte)green, (Byte)blue, (Byte)alpha); - #if DEBUG - } - #endif - } + public static extern void Color4(Byte red, Byte green, Byte blue, Byte alpha); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -47733,24 +26887,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4ubv")] - public static - void Color4(Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glColor4ubv((Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color4(Byte[] v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -47766,24 +26903,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4ubv")] - public static - void Color4(ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glColor4ubv((Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color4(ref Byte v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -47800,18 +26920,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4ubv")] - public static - unsafe void Color4(Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4ubv((Byte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Color4(Byte* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -47828,18 +26937,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4ui")] - public static - void Color4(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4ui((UInt32)red, (UInt32)green, (UInt32)blue, (UInt32)alpha); - #if DEBUG - } - #endif - } + public static extern void Color4(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -47856,24 +26954,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4uiv")] - public static - void Color4(UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glColor4uiv((UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color4(UInt32[] v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -47890,24 +26971,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4uiv")] - public static - void Color4(ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - Delegates.glColor4uiv((UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color4(ref UInt32 v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -47924,18 +26988,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4uiv")] - public static - unsafe void Color4(UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4uiv((UInt32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Color4(UInt32* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -47952,18 +27005,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4us")] - public static - void Color4(UInt16 red, UInt16 green, UInt16 blue, UInt16 alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4us((UInt16)red, (UInt16)green, (UInt16)blue, (UInt16)alpha); - #if DEBUG - } - #endif - } + public static extern void Color4(UInt16 red, UInt16 green, UInt16 blue, UInt16 alpha); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -47980,24 +27022,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4usv")] - public static - void Color4(UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - Delegates.glColor4usv((UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color4(UInt16[] v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -48014,24 +27039,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4usv")] - public static - void Color4(ref UInt16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = &v) - { - Delegates.glColor4usv((UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color4(ref UInt16 v); /// [requires: v1.0][deprecated: v3.2] /// Set the current color @@ -48048,18 +27056,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColor4usv")] - public static - unsafe void Color4(UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4usv((UInt16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Color4(UInt16* v); /// [requires: v1.0] /// Enable and disable writing of frame buffer color components @@ -48075,18 +27072,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColorMask")] - public static - void ColorMask(bool red, bool green, bool blue, bool alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorMask((bool)red, (bool)green, (bool)blue, (bool)alpha); - #if DEBUG - } - #endif - } + public static extern void ColorMask(bool red, bool green, bool blue, bool alpha); /// [requires: v3.0] /// Enable and disable writing of frame buffer color components @@ -48102,18 +27088,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glColorMaski")] - public static - void ColorMask(Int32 index, bool r, bool g, bool b, bool a) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorMaski((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a); - #if DEBUG - } - #endif - } + public static extern void ColorMask(Int32 index, bool r, bool g, bool b, bool a); /// [requires: v3.0] /// Enable and disable writing of frame buffer color components @@ -48130,18 +27105,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glColorMaski")] - public static - void ColorMask(UInt32 index, bool r, bool g, bool b, bool a) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorMaski((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a); - #if DEBUG - } - #endif - } + public static extern void ColorMask(UInt32 index, bool r, bool g, bool b, bool a); /// [requires: v1.0][deprecated: v3.2] /// Cause a material color to track the current color @@ -48157,144 +27121,45 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColorMaterial")] - public static - void ColorMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.ColorMaterialParameter mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorMaterial((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.ColorMaterialParameter)mode); - #if DEBUG - } - #endif - } + public static extern void ColorMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.ColorMaterialParameter mode); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glColorP3ui")] - public static - void ColorP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorP3ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)color); - #if DEBUG - } - #endif - } + public static extern void ColorP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 color); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glColorP3ui")] - public static - void ColorP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorP3ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)color); - #if DEBUG - } - #endif - } + public static extern void ColorP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 color); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glColorP3uiv")] - public static - unsafe void ColorP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorP3uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)color); - #if DEBUG - } - #endif - } + public static extern unsafe void ColorP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* color); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glColorP3uiv")] - public static - unsafe void ColorP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorP3uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)color); - #if DEBUG - } - #endif - } + public static extern unsafe void ColorP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* color); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glColorP4ui")] - public static - void ColorP4(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorP4ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)color); - #if DEBUG - } - #endif - } + public static extern void ColorP4(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 color); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glColorP4ui")] - public static - void ColorP4(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorP4ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)color); - #if DEBUG - } - #endif - } + public static extern void ColorP4(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 color); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glColorP4uiv")] - public static - unsafe void ColorP4(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorP4uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)color); - #if DEBUG - } - #endif - } + public static extern unsafe void ColorP4(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* color); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glColorP4uiv")] - public static - unsafe void ColorP4(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorP4uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)color); - #if DEBUG - } - #endif - } + public static extern unsafe void ColorP4(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* color); /// [requires: v1.1][deprecated: v3.2] /// Define an array of colors @@ -48320,18 +27185,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glColorPointer")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer); /// [requires: v1.1][deprecated: v3.2] /// Define an array of colors @@ -48357,27 +27211,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glColorPointer")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) + public static extern void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1][deprecated: v3.2] /// Define an array of colors @@ -48403,27 +27239,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glColorPointer")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) + public static extern void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1][deprecated: v3.2] /// Define an array of colors @@ -48449,27 +27267,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glColorPointer")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) + public static extern void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1][deprecated: v3.2] /// Define an array of colors @@ -48495,28 +27295,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glColorPointer")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) + public static extern void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Respecify a portion of a color table @@ -48552,18 +27333,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorSubTable")] - public static - void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorSubTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data); /// /// Respecify a portion of a color table @@ -48599,27 +27369,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorSubTable")] - public static - void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] data) + public static extern void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] data) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glColorSubTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Respecify a portion of a color table @@ -48655,27 +27407,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorSubTable")] - public static - void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] data) + public static extern void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] data) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glColorSubTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Respecify a portion of a color table @@ -48711,27 +27445,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorSubTable")] - public static - void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] data) + public static extern void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] data) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glColorSubTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Respecify a portion of a color table @@ -48767,28 +27483,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorSubTable")] - public static - void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 data) + public static extern void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 data) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glColorSubTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T5)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Define a color lookup table @@ -48824,18 +27521,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTable")] - public static - void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table); - #if DEBUG - } - #endif - } + public static extern void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table); /// /// Define a color lookup table @@ -48871,27 +27557,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTable")] - public static - void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] table) + public static extern void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] table) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Define a color lookup table @@ -48927,27 +27595,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTable")] - public static - void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] table) + public static extern void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] table) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Define a color lookup table @@ -48983,27 +27633,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTable")] - public static - void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] table) + public static extern void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] table) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Define a color lookup table @@ -49039,28 +27671,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTable")] - public static - void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 table) + public static extern void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 table) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - table = (T5)table_ptr.Target; - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Set color lookup table parameters @@ -49081,24 +27694,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTableParameterfv")] - public static - void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glColorTableParameterfv((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, Single[] @params); /// /// Set color lookup table parameters @@ -49119,24 +27715,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTableParameterfv")] - public static - void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glColorTableParameterfv((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, ref Single @params); /// /// Set color lookup table parameters @@ -49158,18 +27737,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTableParameterfv")] - public static - unsafe void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorTableParameterfv((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, Single* @params); /// /// Set color lookup table parameters @@ -49190,24 +27758,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTableParameteriv")] - public static - void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glColorTableParameteriv((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, Int32[] @params); /// /// Set color lookup table parameters @@ -49228,24 +27779,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTableParameteriv")] - public static - void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glColorTableParameteriv((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, ref Int32 @params); /// /// Set color lookup table parameters @@ -49267,18 +27801,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTableParameteriv")] - public static - unsafe void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorTableParameteriv((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, Int32* @params); /// [requires: v2.0] /// Compiles a shader object @@ -49289,18 +27812,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glCompileShader")] - public static - void CompileShader(Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompileShader((UInt32)shader); - #if DEBUG - } - #endif - } + public static extern void CompileShader(Int32 shader); /// [requires: v2.0] /// Compiles a shader object @@ -49312,18 +27824,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glCompileShader")] - public static - void CompileShader(UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompileShader((UInt32)shader); - #if DEBUG - } - #endif - } + public static extern void CompileShader(UInt32 shader); /// [requires: v1.3] /// Specify a one-dimensional texture image in a compressed format @@ -49364,18 +27865,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] - public static - void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data); /// [requires: v1.3] /// Specify a one-dimensional texture image in a compressed format @@ -49416,27 +27906,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] - public static - void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T6[] data) + public static extern void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T6[] data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a one-dimensional texture image in a compressed format @@ -49477,27 +27949,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] - public static - void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T6[,] data) + public static extern void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T6[,] data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a one-dimensional texture image in a compressed format @@ -49538,27 +27992,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] - public static - void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T6[,,] data) + public static extern void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T6[,,] data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a one-dimensional texture image in a compressed format @@ -49599,28 +28035,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] - public static - void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T6 data) + public static extern void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T6 data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T6)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a two-dimensional texture image in a compressed format @@ -49666,18 +28083,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); /// [requires: v1.3] /// Specify a two-dimensional texture image in a compressed format @@ -49723,27 +28129,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a two-dimensional texture image in a compressed format @@ -49789,27 +28177,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a two-dimensional texture image in a compressed format @@ -49855,27 +28225,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a two-dimensional texture image in a compressed format @@ -49921,28 +28273,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T7)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a three-dimensional texture image in a compressed format @@ -49993,18 +28326,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] - public static - void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); /// [requires: v1.3] /// Specify a three-dimensional texture image in a compressed format @@ -50055,27 +28377,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] - public static - void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a three-dimensional texture image in a compressed format @@ -50126,27 +28430,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] - public static - void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a three-dimensional texture image in a compressed format @@ -50197,27 +28483,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] - public static - void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a three-dimensional texture image in a compressed format @@ -50268,28 +28536,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] - public static - void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T8)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a one-dimensional texture subimage in a compressed format @@ -50330,18 +28579,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] - public static - void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); /// [requires: v1.3] /// Specify a one-dimensional texture subimage in a compressed format @@ -50382,27 +28620,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] - public static - void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T6[] data) + public static extern void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T6[] data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a one-dimensional texture subimage in a compressed format @@ -50443,27 +28663,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] - public static - void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T6[,] data) + public static extern void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T6[,] data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a one-dimensional texture subimage in a compressed format @@ -50504,27 +28706,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] - public static - void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T6[,,] data) + public static extern void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T6[,,] data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a one-dimensional texture subimage in a compressed format @@ -50565,28 +28749,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] - public static - void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T6 data) + public static extern void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T6 data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T6)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a two-dimensional texture subimage in a compressed format @@ -50637,18 +28802,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); /// [requires: v1.3] /// Specify a two-dimensional texture subimage in a compressed format @@ -50699,27 +28853,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a two-dimensional texture subimage in a compressed format @@ -50770,27 +28906,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a two-dimensional texture subimage in a compressed format @@ -50841,27 +28959,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a two-dimensional texture subimage in a compressed format @@ -50912,28 +29012,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T8)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a three-dimensional texture subimage in a compressed format @@ -50989,18 +29070,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); /// [requires: v1.3] /// Specify a three-dimensional texture subimage in a compressed format @@ -51056,27 +29126,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[] data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a three-dimensional texture subimage in a compressed format @@ -51132,27 +29184,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[,] data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[,] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a three-dimensional texture subimage in a compressed format @@ -51208,27 +29242,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[,,] data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[,,] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a three-dimensional texture subimage in a compressed format @@ -51284,28 +29300,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T10 data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T10 data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T10)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Define a one-dimensional convolution filter @@ -51341,18 +29338,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter1D")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionFilter1D((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); - #if DEBUG - } - #endif - } + public static extern void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); /// /// Define a one-dimensional convolution filter @@ -51388,27 +29374,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter1D")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] image) + public static extern void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] image) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter1D((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Define a one-dimensional convolution filter @@ -51444,27 +29412,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter1D")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] image) + public static extern void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] image) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter1D((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Define a one-dimensional convolution filter @@ -51500,27 +29450,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter1D")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] image) + public static extern void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] image) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter1D((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Define a one-dimensional convolution filter @@ -51556,28 +29488,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter1D")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 image) + public static extern void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 image) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter1D((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - image = (T5)image_ptr.Target; - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Define a two-dimensional convolution filter @@ -51618,18 +29531,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter2D")] - public static - void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionFilter2D((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); - #if DEBUG - } - #endif - } + public static extern void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); /// /// Define a two-dimensional convolution filter @@ -51670,27 +29572,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter2D")] - public static - void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] image) + public static extern void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] image) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter2D((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Define a two-dimensional convolution filter @@ -51731,27 +29615,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter2D")] - public static - void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] image) + public static extern void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] image) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter2D((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Define a two-dimensional convolution filter @@ -51792,27 +29658,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter2D")] - public static - void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,,] image) + public static extern void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,,] image) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter2D((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Define a two-dimensional convolution filter @@ -51853,28 +29701,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter2D")] - public static - void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 image) + public static extern void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 image) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter2D((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - image = (T6)image_ptr.Target; - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Set convolution parameters @@ -51898,18 +29727,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionParameterf")] - public static - void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionParameterf((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.ConvolutionParameter)pname, (Single)@params); - #if DEBUG - } - #endif - } + public static extern void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Single @params); /// /// Set convolution parameters @@ -51933,24 +29751,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionParameterfv")] - public static - void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glConvolutionParameterfv((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.ConvolutionParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Single[] @params); /// /// Set convolution parameters @@ -51975,18 +29776,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionParameterfv")] - public static - unsafe void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionParameterfv((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.ConvolutionParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Single* @params); /// /// Set convolution parameters @@ -52010,18 +29800,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionParameteri")] - public static - void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionParameteri((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.ConvolutionParameter)pname, (Int32)@params); - #if DEBUG - } - #endif - } + public static extern void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Int32 @params); /// /// Set convolution parameters @@ -52045,24 +29824,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionParameteriv")] - public static - void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glConvolutionParameteriv((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.ConvolutionParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Int32[] @params); /// /// Set convolution parameters @@ -52087,18 +29849,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionParameteriv")] - public static - unsafe void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionParameteriv((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.ConvolutionParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Int32* @params); /// [requires: v3.1 and ARB_copy_buffer|VERSION_3_1] /// Copy part of the data store of a buffer object to the data store of another buffer object @@ -52129,18 +29880,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_copy_buffer|VERSION_3_1", Version = "3.1", EntryPoint = "glCopyBufferSubData")] - public static - void CopyBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget readTarget, OpenTK.Graphics.OpenGL.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)readTarget, (OpenTK.Graphics.OpenGL.BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size); - #if DEBUG - } - #endif - } + public static extern void CopyBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget readTarget, OpenTK.Graphics.OpenGL.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size); /// /// Respecify a portion of a color table @@ -52166,18 +29906,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glCopyColorSubTable")] - public static - void CopyColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyColorSubTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)x, (Int32)y, (Int32)width); - #if DEBUG - } - #endif - } + public static extern void CopyColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width); /// /// Copy pixels into a color table @@ -52208,18 +29937,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glCopyColorTable")] - public static - void CopyColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyColorTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); - #if DEBUG - } - #endif - } + public static extern void CopyColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); /// /// Copy pixels into a one-dimensional convolution filter @@ -52245,18 +29963,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glCopyConvolutionFilter1D")] - public static - void CopyConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyConvolutionFilter1D((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); - #if DEBUG - } - #endif - } + public static extern void CopyConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); /// /// Copy pixels into a two-dimensional convolution filter @@ -52287,18 +29994,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glCopyConvolutionFilter2D")] - public static - void CopyConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyConvolutionFilter2D((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void CopyConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v4.3 and ARB_copy_image|VERSION_4_3] /// Perform a raw data copy between two images @@ -52374,18 +30070,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_copy_image|VERSION_4_3", Version = "4.3", EntryPoint = "glCopyImageSubData")] - public static - void CopyImageSubData(Int32 srcName, OpenTK.Graphics.OpenGL.ImageTarget srcTarget, Int32 srcLevel, Int32 srcX, Int32 srcY, Int32 srcZ, Int32 dstName, OpenTK.Graphics.OpenGL.ImageTarget dstTarget, Int32 dstLevel, Int32 dstX, Int32 dstY, Int32 dstZ, Int32 srcWidth, Int32 srcHeight, Int32 srcDepth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyImageSubData((UInt32)srcName, (OpenTK.Graphics.OpenGL.ImageTarget)srcTarget, (Int32)srcLevel, (Int32)srcX, (Int32)srcY, (Int32)srcZ, (UInt32)dstName, (OpenTK.Graphics.OpenGL.ImageTarget)dstTarget, (Int32)dstLevel, (Int32)dstX, (Int32)dstY, (Int32)dstZ, (Int32)srcWidth, (Int32)srcHeight, (Int32)srcDepth); - #if DEBUG - } - #endif - } + public static extern void CopyImageSubData(Int32 srcName, OpenTK.Graphics.OpenGL.ImageTarget srcTarget, Int32 srcLevel, Int32 srcX, Int32 srcY, Int32 srcZ, Int32 dstName, OpenTK.Graphics.OpenGL.ImageTarget dstTarget, Int32 dstLevel, Int32 dstX, Int32 dstY, Int32 dstZ, Int32 srcWidth, Int32 srcHeight, Int32 srcDepth); /// [requires: v4.3 and ARB_copy_image|VERSION_4_3] /// Perform a raw data copy between two images @@ -52462,18 +30147,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_copy_image|VERSION_4_3", Version = "4.3", EntryPoint = "glCopyImageSubData")] - public static - void CopyImageSubData(UInt32 srcName, OpenTK.Graphics.OpenGL.ImageTarget srcTarget, Int32 srcLevel, Int32 srcX, Int32 srcY, Int32 srcZ, UInt32 dstName, OpenTK.Graphics.OpenGL.ImageTarget dstTarget, Int32 dstLevel, Int32 dstX, Int32 dstY, Int32 dstZ, Int32 srcWidth, Int32 srcHeight, Int32 srcDepth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyImageSubData((UInt32)srcName, (OpenTK.Graphics.OpenGL.ImageTarget)srcTarget, (Int32)srcLevel, (Int32)srcX, (Int32)srcY, (Int32)srcZ, (UInt32)dstName, (OpenTK.Graphics.OpenGL.ImageTarget)dstTarget, (Int32)dstLevel, (Int32)dstX, (Int32)dstY, (Int32)dstZ, (Int32)srcWidth, (Int32)srcHeight, (Int32)srcDepth); - #if DEBUG - } - #endif - } + public static extern void CopyImageSubData(UInt32 srcName, OpenTK.Graphics.OpenGL.ImageTarget srcTarget, Int32 srcLevel, Int32 srcX, Int32 srcY, Int32 srcZ, UInt32 dstName, OpenTK.Graphics.OpenGL.ImageTarget dstTarget, Int32 dstLevel, Int32 dstX, Int32 dstY, Int32 dstZ, Int32 srcWidth, Int32 srcHeight, Int32 srcDepth); /// [requires: v1.0][deprecated: v3.2] /// Copy pixels in the frame buffer @@ -52494,18 +30168,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glCopyPixels")] - public static - void CopyPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelCopyType type) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelCopyType)type); - #if DEBUG - } - #endif - } + public static extern void CopyPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelCopyType type); /// [requires: v1.1] /// Copy pixels into a 1D texture image @@ -52541,18 +30204,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glCopyTexImage1D")] - public static - void CopyTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); - #if DEBUG - } - #endif - } + public static extern void CopyTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border); /// [requires: v1.1] /// Copy pixels into a 2D texture image @@ -52593,18 +30245,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glCopyTexImage2D")] - public static - void CopyTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); - #if DEBUG - } - #endif - } + public static extern void CopyTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); /// [requires: v1.1] /// Copy a one-dimensional texture subimage @@ -52635,18 +30276,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glCopyTexSubImage1D")] - public static - void CopyTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexSubImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); - #if DEBUG - } - #endif - } + public static extern void CopyTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); /// [requires: v1.1] /// Copy a two-dimensional texture subimage @@ -52687,18 +30317,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glCopyTexSubImage2D")] - public static - void CopyTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexSubImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void CopyTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v1.2] /// Copy a three-dimensional texture subimage @@ -52744,35 +30363,13 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glCopyTexSubImage3D")] - public static - void CopyTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexSubImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void CopyTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v2.0] /// Creates a program object /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glCreateProgram")] - public static - Int32 CreateProgram() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCreateProgram(); - #if DEBUG - } - #endif - } + public static extern Int32 CreateProgram(); /// [requires: v2.0] /// Creates a shader object @@ -52783,18 +30380,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glCreateShader")] - public static - Int32 CreateShader(OpenTK.Graphics.OpenGL.ShaderType type) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCreateShader((OpenTK.Graphics.OpenGL.ShaderType)type); - #if DEBUG - } - #endif - } + public static extern Int32 CreateShader(OpenTK.Graphics.OpenGL.ShaderType type); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Create a stand-alone program from an array of null-terminated source code strings @@ -52815,18 +30401,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glCreateShaderProgramv")] - public static - Int32 CreateShaderProgram(OpenTK.Graphics.OpenGL.ShaderType type, Int32 count, String[] strings) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCreateShaderProgramv((OpenTK.Graphics.OpenGL.ShaderType)type, (Int32)count, (String[])strings); - #if DEBUG - } - #endif - } + public static extern Int32 CreateShaderProgram(OpenTK.Graphics.OpenGL.ShaderType type, Int32 count, String[] strings); /// [requires: v1.0] /// Specify whether front- or back-facing facets can be culled @@ -52837,18 +30412,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glCullFace")] - public static - void CullFace(OpenTK.Graphics.OpenGL.CullFaceMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCullFace((OpenTK.Graphics.OpenGL.CullFaceMode)mode); - #if DEBUG - } - #endif - } + public static extern void CullFace(OpenTK.Graphics.OpenGL.CullFaceMode mode); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Specify a callback to receive debugging messages from the GL @@ -52864,18 +30428,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageCallback")] - public static - void DebugMessageCallback(DebugProc callback, IntPtr userParam) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageCallback((DebugProc)callback, (IntPtr)userParam); - #if DEBUG - } - #endif - } + public static extern void DebugMessageCallback(DebugProc callback, IntPtr userParam); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Specify a callback to receive debugging messages from the GL @@ -52891,27 +30444,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageCallback")] - public static - void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] T1[] userParam) + public static extern void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] T1[] userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallback((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Specify a callback to receive debugging messages from the GL @@ -52927,27 +30462,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageCallback")] - public static - void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] T1[,] userParam) + public static extern void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] T1[,] userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallback((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Specify a callback to receive debugging messages from the GL @@ -52963,27 +30480,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageCallback")] - public static - void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] T1[,,] userParam) + public static extern void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] T1[,,] userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallback((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Specify a callback to receive debugging messages from the GL @@ -52999,28 +30498,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageCallback")] - public static - void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] ref T1 userParam) + public static extern void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] ref T1 userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallback((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - userParam = (T1)userParam_ptr.Target; - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Control the reporting of debug messages in a debug context @@ -53056,24 +30536,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageControl")] - public static - void DebugMessageControl(OpenTK.Graphics.OpenGL.DebugSourceControl source, OpenTK.Graphics.OpenGL.DebugTypeControl type, OpenTK.Graphics.OpenGL.DebugSeverityControl severity, Int32 count, Int32[] ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glDebugMessageControl((OpenTK.Graphics.OpenGL.DebugSourceControl)source, (OpenTK.Graphics.OpenGL.DebugTypeControl)type, (OpenTK.Graphics.OpenGL.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.OpenGL.DebugSourceControl source, OpenTK.Graphics.OpenGL.DebugTypeControl type, OpenTK.Graphics.OpenGL.DebugSeverityControl severity, Int32 count, Int32[] ids, bool enabled); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Control the reporting of debug messages in a debug context @@ -53109,24 +30572,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageControl")] - public static - void DebugMessageControl(OpenTK.Graphics.OpenGL.DebugSourceControl source, OpenTK.Graphics.OpenGL.DebugTypeControl type, OpenTK.Graphics.OpenGL.DebugSeverityControl severity, Int32 count, ref Int32 ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glDebugMessageControl((OpenTK.Graphics.OpenGL.DebugSourceControl)source, (OpenTK.Graphics.OpenGL.DebugTypeControl)type, (OpenTK.Graphics.OpenGL.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.OpenGL.DebugSourceControl source, OpenTK.Graphics.OpenGL.DebugTypeControl type, OpenTK.Graphics.OpenGL.DebugSeverityControl severity, Int32 count, ref Int32 ids, bool enabled); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Control the reporting of debug messages in a debug context @@ -53163,18 +30609,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageControl")] - public static - unsafe void DebugMessageControl(OpenTK.Graphics.OpenGL.DebugSourceControl source, OpenTK.Graphics.OpenGL.DebugTypeControl type, OpenTK.Graphics.OpenGL.DebugSeverityControl severity, Int32 count, Int32* ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageControl((OpenTK.Graphics.OpenGL.DebugSourceControl)source, (OpenTK.Graphics.OpenGL.DebugTypeControl)type, (OpenTK.Graphics.OpenGL.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - #if DEBUG - } - #endif - } + public static extern unsafe void DebugMessageControl(OpenTK.Graphics.OpenGL.DebugSourceControl source, OpenTK.Graphics.OpenGL.DebugTypeControl type, OpenTK.Graphics.OpenGL.DebugSeverityControl severity, Int32 count, Int32* ids, bool enabled); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Control the reporting of debug messages in a debug context @@ -53211,24 +30646,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageControl")] - public static - void DebugMessageControl(OpenTK.Graphics.OpenGL.DebugSourceControl source, OpenTK.Graphics.OpenGL.DebugTypeControl type, OpenTK.Graphics.OpenGL.DebugSeverityControl severity, Int32 count, UInt32[] ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glDebugMessageControl((OpenTK.Graphics.OpenGL.DebugSourceControl)source, (OpenTK.Graphics.OpenGL.DebugTypeControl)type, (OpenTK.Graphics.OpenGL.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.OpenGL.DebugSourceControl source, OpenTK.Graphics.OpenGL.DebugTypeControl type, OpenTK.Graphics.OpenGL.DebugSeverityControl severity, Int32 count, UInt32[] ids, bool enabled); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Control the reporting of debug messages in a debug context @@ -53265,24 +30683,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageControl")] - public static - void DebugMessageControl(OpenTK.Graphics.OpenGL.DebugSourceControl source, OpenTK.Graphics.OpenGL.DebugTypeControl type, OpenTK.Graphics.OpenGL.DebugSeverityControl severity, Int32 count, ref UInt32 ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glDebugMessageControl((OpenTK.Graphics.OpenGL.DebugSourceControl)source, (OpenTK.Graphics.OpenGL.DebugTypeControl)type, (OpenTK.Graphics.OpenGL.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.OpenGL.DebugSourceControl source, OpenTK.Graphics.OpenGL.DebugTypeControl type, OpenTK.Graphics.OpenGL.DebugSeverityControl severity, Int32 count, ref UInt32 ids, bool enabled); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Control the reporting of debug messages in a debug context @@ -53319,18 +30720,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageControl")] - public static - unsafe void DebugMessageControl(OpenTK.Graphics.OpenGL.DebugSourceControl source, OpenTK.Graphics.OpenGL.DebugTypeControl type, OpenTK.Graphics.OpenGL.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageControl((OpenTK.Graphics.OpenGL.DebugSourceControl)source, (OpenTK.Graphics.OpenGL.DebugTypeControl)type, (OpenTK.Graphics.OpenGL.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - #if DEBUG - } - #endif - } + public static extern unsafe void DebugMessageControl(OpenTK.Graphics.OpenGL.DebugSourceControl source, OpenTK.Graphics.OpenGL.DebugTypeControl type, OpenTK.Graphics.OpenGL.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Inject an application-supplied message into the debug message queue @@ -53366,18 +30756,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageInsert")] - public static - void DebugMessageInsert(OpenTK.Graphics.OpenGL.DebugSourceExternal source, OpenTK.Graphics.OpenGL.DebugType type, Int32 id, OpenTK.Graphics.OpenGL.DebugSeverity severity, Int32 length, String buf) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageInsert((OpenTK.Graphics.OpenGL.DebugSourceExternal)source, (OpenTK.Graphics.OpenGL.DebugType)type, (UInt32)id, (OpenTK.Graphics.OpenGL.DebugSeverity)severity, (Int32)length, (String)buf); - #if DEBUG - } - #endif - } + public static extern void DebugMessageInsert(OpenTK.Graphics.OpenGL.DebugSourceExternal source, OpenTK.Graphics.OpenGL.DebugType type, Int32 id, OpenTK.Graphics.OpenGL.DebugSeverity severity, Int32 length, String buf); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Inject an application-supplied message into the debug message queue @@ -53414,18 +30793,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageInsert")] - public static - void DebugMessageInsert(OpenTK.Graphics.OpenGL.DebugSourceExternal source, OpenTK.Graphics.OpenGL.DebugType type, UInt32 id, OpenTK.Graphics.OpenGL.DebugSeverity severity, Int32 length, String buf) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageInsert((OpenTK.Graphics.OpenGL.DebugSourceExternal)source, (OpenTK.Graphics.OpenGL.DebugType)type, (UInt32)id, (OpenTK.Graphics.OpenGL.DebugSeverity)severity, (Int32)length, (String)buf); - #if DEBUG - } - #endif - } + public static extern void DebugMessageInsert(OpenTK.Graphics.OpenGL.DebugSourceExternal source, OpenTK.Graphics.OpenGL.DebugType type, UInt32 id, OpenTK.Graphics.OpenGL.DebugSeverity severity, Int32 length, String buf); /// [requires: v1.5] /// Delete named buffer objects @@ -53441,23 +30809,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffer(Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* buffers_ptr = (UInt32*)&buffers; - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffer(Int32 buffers); /// [requires: v1.5] /// Delete named buffer objects @@ -53474,23 +30826,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffer(UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* buffers_ptr = (UInt32*)&buffers; - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffer(UInt32 buffers); /// [requires: v1.5] /// Delete named buffer objects @@ -53506,24 +30842,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffers(Int32 n, Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffers(Int32 n, Int32[] buffers); /// [requires: v1.5] /// Delete named buffer objects @@ -53539,24 +30858,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffers(Int32 n, ref Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - { - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffers(Int32 n, ref Int32 buffers); /// [requires: v1.5] /// Delete named buffer objects @@ -53573,18 +30875,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static - unsafe void DeleteBuffers(Int32 n, Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteBuffers(Int32 n, Int32* buffers); /// [requires: v1.5] /// Delete named buffer objects @@ -53601,24 +30892,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffers(Int32 n, UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffers(Int32 n, UInt32[] buffers); /// [requires: v1.5] /// Delete named buffer objects @@ -53635,24 +30909,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffers(Int32 n, ref UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - { - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffers(Int32 n, ref UInt32 buffers); /// [requires: v1.5] /// Delete named buffer objects @@ -53669,18 +30926,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static - unsafe void DeleteBuffers(Int32 n, UInt32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteBuffers(Int32 n, UInt32* buffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete framebuffer objects @@ -53696,23 +30942,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static - void DeleteFramebuffer(Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* framebuffers_ptr = (UInt32*)&framebuffers; - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffer(Int32 framebuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete framebuffer objects @@ -53729,23 +30959,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static - void DeleteFramebuffer(UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* framebuffers_ptr = (UInt32*)&framebuffers; - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffer(UInt32 framebuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete framebuffer objects @@ -53761,24 +30975,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static - void DeleteFramebuffers(Int32 n, Int32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffers(Int32 n, Int32[] framebuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete framebuffer objects @@ -53794,24 +30991,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static - void DeleteFramebuffers(Int32 n, ref Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - { - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffers(Int32 n, ref Int32 framebuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete framebuffer objects @@ -53828,18 +31008,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static - unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete framebuffer objects @@ -53856,24 +31025,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static - void DeleteFramebuffers(Int32 n, UInt32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = framebuffers) - { - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffers(Int32 n, UInt32[] framebuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete framebuffer objects @@ -53890,24 +31042,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static - void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = &framebuffers) - { - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete framebuffer objects @@ -53924,18 +31059,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static - unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers); /// [requires: v1.0][deprecated: v3.2] /// Delete a contiguous group of display lists @@ -53951,18 +31075,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDeleteLists")] - public static - void DeleteLists(Int32 list, Int32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteLists((UInt32)list, (Int32)range); - #if DEBUG - } - #endif - } + public static extern void DeleteLists(Int32 list, Int32 range); /// [requires: v1.0][deprecated: v3.2] /// Delete a contiguous group of display lists @@ -53979,18 +31092,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDeleteLists")] - public static - void DeleteLists(UInt32 list, Int32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteLists((UInt32)list, (Int32)range); - #if DEBUG - } - #endif - } + public static extern void DeleteLists(UInt32 list, Int32 range); /// [requires: v2.0] /// Deletes a program object @@ -54001,18 +31103,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteProgram")] - public static - void DeleteProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void DeleteProgram(Int32 program); /// [requires: v2.0] /// Deletes a program object @@ -54024,18 +31115,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteProgram")] - public static - void DeleteProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void DeleteProgram(UInt32 program); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Delete program pipeline objects @@ -54051,23 +31131,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] - public static - void DeleteProgramPipeline(Int32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* pipelines_ptr = (UInt32*)&pipelines; - Delegates.glDeleteProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgramPipeline(Int32 pipelines); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Delete program pipeline objects @@ -54084,23 +31148,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] - public static - void DeleteProgramPipeline(UInt32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* pipelines_ptr = (UInt32*)&pipelines; - Delegates.glDeleteProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgramPipeline(UInt32 pipelines); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Delete program pipeline objects @@ -54116,24 +31164,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] - public static - void DeleteProgramPipelines(Int32 n, Int32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = pipelines) - { - Delegates.glDeleteProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgramPipelines(Int32 n, Int32[] pipelines); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Delete program pipeline objects @@ -54149,24 +31180,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] - public static - void DeleteProgramPipelines(Int32 n, ref Int32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = &pipelines) - { - Delegates.glDeleteProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgramPipelines(Int32 n, ref Int32 pipelines); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Delete program pipeline objects @@ -54183,18 +31197,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] - public static - unsafe void DeleteProgramPipelines(Int32 n, Int32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteProgramPipelines((Int32)n, (UInt32*)pipelines); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteProgramPipelines(Int32 n, Int32* pipelines); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Delete program pipeline objects @@ -54211,24 +31214,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] - public static - void DeleteProgramPipelines(Int32 n, UInt32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = pipelines) - { - Delegates.glDeleteProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgramPipelines(Int32 n, UInt32[] pipelines); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Delete program pipeline objects @@ -54245,24 +31231,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] - public static - void DeleteProgramPipelines(Int32 n, ref UInt32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = &pipelines) - { - Delegates.glDeleteProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgramPipelines(Int32 n, ref UInt32 pipelines); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Delete program pipeline objects @@ -54279,18 +31248,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] - public static - unsafe void DeleteProgramPipelines(Int32 n, UInt32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteProgramPipelines((Int32)n, (UInt32*)pipelines); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteProgramPipelines(Int32 n, UInt32* pipelines); /// [requires: v1.5] /// Delete named query objects @@ -54306,23 +31264,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static - void DeleteQuery(Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteQuery(Int32 ids); /// [requires: v1.5] /// Delete named query objects @@ -54339,23 +31281,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static - void DeleteQuery(UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteQuery(UInt32 ids); /// [requires: v1.5] /// Delete named query objects @@ -54371,24 +31297,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static - void DeleteQueries(Int32 n, Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteQueries(Int32 n, Int32[] ids); /// [requires: v1.5] /// Delete named query objects @@ -54404,24 +31313,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static - void DeleteQueries(Int32 n, ref Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteQueries(Int32 n, ref Int32 ids); /// [requires: v1.5] /// Delete named query objects @@ -54438,18 +31330,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static - unsafe void DeleteQueries(Int32 n, Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteQueries(Int32 n, Int32* ids); /// [requires: v1.5] /// Delete named query objects @@ -54466,24 +31347,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static - void DeleteQueries(Int32 n, UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteQueries(Int32 n, UInt32[] ids); /// [requires: v1.5] /// Delete named query objects @@ -54500,24 +31364,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static - void DeleteQueries(Int32 n, ref UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteQueries(Int32 n, ref UInt32 ids); /// [requires: v1.5] /// Delete named query objects @@ -54534,18 +31381,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static - unsafe void DeleteQueries(Int32 n, UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteQueries(Int32 n, UInt32* ids); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete renderbuffer objects @@ -54561,23 +31397,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static - void DeleteRenderbuffer(Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* renderbuffers_ptr = (UInt32*)&renderbuffers; - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffer(Int32 renderbuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete renderbuffer objects @@ -54594,23 +31414,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static - void DeleteRenderbuffer(UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* renderbuffers_ptr = (UInt32*)&renderbuffers; - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffer(UInt32 renderbuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete renderbuffer objects @@ -54626,24 +31430,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static - void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = renderbuffers) - { - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete renderbuffer objects @@ -54659,24 +31446,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static - void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete renderbuffer objects @@ -54693,18 +31463,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static - unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete renderbuffer objects @@ -54721,24 +31480,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static - void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = renderbuffers) - { - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete renderbuffer objects @@ -54755,24 +31497,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static - void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete renderbuffer objects @@ -54789,18 +31514,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static - unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Delete named sampler objects @@ -54816,23 +31530,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")] - public static - void DeleteSampler(Int32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 count = 1; - UInt32* samplers_ptr = (UInt32*)&samplers; - Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteSampler(Int32 samplers); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Delete named sampler objects @@ -54849,23 +31547,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")] - public static - void DeleteSampler(UInt32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 count = 1; - UInt32* samplers_ptr = (UInt32*)&samplers; - Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteSampler(UInt32 samplers); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Delete named sampler objects @@ -54881,24 +31563,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")] - public static - void DeleteSamplers(Int32 count, Int32[] samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* samplers_ptr = samplers) - { - Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteSamplers(Int32 count, Int32[] samplers); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Delete named sampler objects @@ -54914,24 +31579,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")] - public static - void DeleteSamplers(Int32 count, ref Int32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* samplers_ptr = &samplers) - { - Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteSamplers(Int32 count, ref Int32 samplers); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Delete named sampler objects @@ -54948,18 +31596,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")] - public static - unsafe void DeleteSamplers(Int32 count, Int32* samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteSamplers(Int32 count, Int32* samplers); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Delete named sampler objects @@ -54976,24 +31613,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")] - public static - void DeleteSamplers(Int32 count, UInt32[] samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* samplers_ptr = samplers) - { - Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteSamplers(Int32 count, UInt32[] samplers); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Delete named sampler objects @@ -55010,24 +31630,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")] - public static - void DeleteSamplers(Int32 count, ref UInt32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* samplers_ptr = &samplers) - { - Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteSamplers(Int32 count, ref UInt32 samplers); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Delete named sampler objects @@ -55044,18 +31647,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")] - public static - unsafe void DeleteSamplers(Int32 count, UInt32* samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteSamplers(Int32 count, UInt32* samplers); /// [requires: v2.0] /// Deletes a shader object @@ -55066,18 +31658,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteShader")] - public static - void DeleteShader(Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteShader((UInt32)shader); - #if DEBUG - } - #endif - } + public static extern void DeleteShader(Int32 shader); /// [requires: v2.0] /// Deletes a shader object @@ -55089,18 +31670,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteShader")] - public static - void DeleteShader(UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteShader((UInt32)shader); - #if DEBUG - } - #endif - } + public static extern void DeleteShader(UInt32 shader); /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Delete a sync object @@ -55111,18 +31681,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glDeleteSync")] - public static - void DeleteSync(IntPtr sync) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteSync((IntPtr)sync); - #if DEBUG - } - #endif - } + public static extern void DeleteSync(IntPtr sync); /// [requires: v1.1] /// Delete named textures @@ -55138,23 +31697,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static - void DeleteTexture(Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* textures_ptr = (UInt32*)&textures; - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteTexture(Int32 textures); /// [requires: v1.1] /// Delete named textures @@ -55171,23 +31714,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static - void DeleteTexture(UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* textures_ptr = (UInt32*)&textures; - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteTexture(UInt32 textures); /// [requires: v1.1] /// Delete named textures @@ -55203,24 +31730,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static - void DeleteTextures(Int32 n, Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTextures(Int32 n, Int32[] textures); /// [requires: v1.1] /// Delete named textures @@ -55236,24 +31746,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static - void DeleteTextures(Int32 n, ref Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTextures(Int32 n, ref Int32 textures); /// [requires: v1.1] /// Delete named textures @@ -55270,18 +31763,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static - unsafe void DeleteTextures(Int32 n, Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteTextures(Int32 n, Int32* textures); /// [requires: v1.1] /// Delete named textures @@ -55298,24 +31780,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static - void DeleteTextures(Int32 n, UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTextures(Int32 n, UInt32[] textures); /// [requires: v1.1] /// Delete named textures @@ -55332,24 +31797,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static - void DeleteTextures(Int32 n, ref UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTextures(Int32 n, ref UInt32 textures); /// [requires: v1.1] /// Delete named textures @@ -55366,18 +31814,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static - unsafe void DeleteTextures(Int32 n, UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteTextures(Int32 n, UInt32* textures); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Delete transform feedback objects @@ -55393,23 +31830,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static - void DeleteTransformFeedback(Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteTransformFeedback(Int32 ids); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Delete transform feedback objects @@ -55426,23 +31847,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static - void DeleteTransformFeedback(UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteTransformFeedback(UInt32 ids); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Delete transform feedback objects @@ -55458,24 +31863,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static - void DeleteTransformFeedbacks(Int32 n, Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTransformFeedbacks(Int32 n, Int32[] ids); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Delete transform feedback objects @@ -55491,24 +31879,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static - void DeleteTransformFeedbacks(Int32 n, ref Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTransformFeedbacks(Int32 n, ref Int32 ids); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Delete transform feedback objects @@ -55525,18 +31896,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static - unsafe void DeleteTransformFeedbacks(Int32 n, Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteTransformFeedbacks(Int32 n, Int32* ids); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Delete transform feedback objects @@ -55553,24 +31913,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static - void DeleteTransformFeedbacks(Int32 n, UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTransformFeedbacks(Int32 n, UInt32[] ids); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Delete transform feedback objects @@ -55587,24 +31930,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static - void DeleteTransformFeedbacks(Int32 n, ref UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTransformFeedbacks(Int32 n, ref UInt32 ids); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Delete transform feedback objects @@ -55621,18 +31947,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static - unsafe void DeleteTransformFeedbacks(Int32 n, UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteTransformFeedbacks(Int32 n, UInt32* ids); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Delete vertex array objects @@ -55648,23 +31963,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static - void DeleteVertexArray(Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* arrays_ptr = (UInt32*)&arrays; - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArray(Int32 arrays); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Delete vertex array objects @@ -55681,23 +31980,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static - void DeleteVertexArray(UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* arrays_ptr = (UInt32*)&arrays; - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArray(UInt32 arrays); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Delete vertex array objects @@ -55713,24 +31996,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static - void DeleteVertexArrays(Int32 n, Int32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArrays(Int32 n, Int32[] arrays); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Delete vertex array objects @@ -55746,24 +32012,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static - void DeleteVertexArrays(Int32 n, ref Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = &arrays) - { - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArrays(Int32 n, ref Int32 arrays); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Delete vertex array objects @@ -55780,18 +32029,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static - unsafe void DeleteVertexArrays(Int32 n, Int32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteVertexArrays(Int32 n, Int32* arrays); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Delete vertex array objects @@ -55808,24 +32046,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static - void DeleteVertexArrays(Int32 n, UInt32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = arrays) - { - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArrays(Int32 n, UInt32[] arrays); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Delete vertex array objects @@ -55842,24 +32063,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static - void DeleteVertexArrays(Int32 n, ref UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = &arrays) - { - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArrays(Int32 n, ref UInt32 arrays); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Delete vertex array objects @@ -55876,18 +32080,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static - unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays); /// [requires: v1.0] /// Specify the value used for depth buffer comparisons @@ -55898,18 +32091,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDepthFunc")] - public static - void DepthFunc(OpenTK.Graphics.OpenGL.DepthFunction func) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthFunc((OpenTK.Graphics.OpenGL.DepthFunction)func); - #if DEBUG - } - #endif - } + public static extern void DepthFunc(OpenTK.Graphics.OpenGL.DepthFunction func); /// [requires: v1.0] /// Enable or disable writing into the depth buffer @@ -55920,18 +32102,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDepthMask")] - public static - void DepthMask(bool flag) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthMask((bool)flag); - #if DEBUG - } - #endif - } + public static extern void DepthMask(bool flag); /// [requires: v1.0] /// Specify mapping of depth values from normalized device coordinates to window coordinates @@ -55947,18 +32118,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDepthRange")] - public static - void DepthRange(Double near, Double far) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthRange((Double)near, (Double)far); - #if DEBUG - } - #endif - } + public static extern void DepthRange(Double near, Double far); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Specify mapping of depth values from normalized device coordinates to window coordinates for a specified set of viewports @@ -55979,24 +32139,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangeArrayv")] - public static - void DepthRangeArray(Int32 first, Int32 count, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glDepthRangeArrayv((UInt32)first, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DepthRangeArray(Int32 first, Int32 count, Double[] v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Specify mapping of depth values from normalized device coordinates to window coordinates for a specified set of viewports @@ -56017,24 +32160,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangeArrayv")] - public static - void DepthRangeArray(Int32 first, Int32 count, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glDepthRangeArrayv((UInt32)first, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DepthRangeArray(Int32 first, Int32 count, ref Double v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Specify mapping of depth values from normalized device coordinates to window coordinates for a specified set of viewports @@ -56056,18 +32182,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangeArrayv")] - public static - unsafe void DepthRangeArray(Int32 first, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthRangeArrayv((UInt32)first, (Int32)count, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void DepthRangeArray(Int32 first, Int32 count, Double* v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Specify mapping of depth values from normalized device coordinates to window coordinates for a specified set of viewports @@ -56089,24 +32204,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangeArrayv")] - public static - void DepthRangeArray(UInt32 first, Int32 count, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glDepthRangeArrayv((UInt32)first, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DepthRangeArray(UInt32 first, Int32 count, Double[] v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Specify mapping of depth values from normalized device coordinates to window coordinates for a specified set of viewports @@ -56128,24 +32226,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangeArrayv")] - public static - void DepthRangeArray(UInt32 first, Int32 count, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glDepthRangeArrayv((UInt32)first, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DepthRangeArray(UInt32 first, Int32 count, ref Double v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Specify mapping of depth values from normalized device coordinates to window coordinates for a specified set of viewports @@ -56167,18 +32248,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangeArrayv")] - public static - unsafe void DepthRangeArray(UInt32 first, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthRangeArrayv((UInt32)first, (Int32)count, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void DepthRangeArray(UInt32 first, Int32 count, Double* v); /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Specify mapping of depth values from normalized device coordinates to window coordinates @@ -56194,18 +32264,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangef")] - public static - void DepthRange(Single n, Single f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthRangef((Single)n, (Single)f); - #if DEBUG - } - #endif - } + public static extern void DepthRange(Single n, Single f); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Specify mapping of depth values from normalized device coordinates to window coordinates for a specified viewport @@ -56226,18 +32285,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangeIndexed")] - public static - void DepthRangeIndexed(Int32 index, Double n, Double f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthRangeIndexed((UInt32)index, (Double)n, (Double)f); - #if DEBUG - } - #endif - } + public static extern void DepthRangeIndexed(Int32 index, Double n, Double f); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Specify mapping of depth values from normalized device coordinates to window coordinates for a specified viewport @@ -56259,18 +32307,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangeIndexed")] - public static - void DepthRangeIndexed(UInt32 index, Double n, Double f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthRangeIndexed((UInt32)index, (Double)n, (Double)f); - #if DEBUG - } - #endif - } + public static extern void DepthRangeIndexed(UInt32 index, Double n, Double f); /// [requires: v2.0] /// Detaches a shader object from a program object to which it is attached @@ -56286,18 +32323,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDetachShader")] - public static - void DetachShader(Int32 program, Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDetachShader((UInt32)program, (UInt32)shader); - #if DEBUG - } - #endif - } + public static extern void DetachShader(Int32 program, Int32 shader); /// [requires: v2.0] /// Detaches a shader object from a program object to which it is attached @@ -56314,110 +32340,33 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDetachShader")] - public static - void DetachShader(UInt32 program, UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDetachShader((UInt32)program, (UInt32)shader); - #if DEBUG - } - #endif - } + public static extern void DetachShader(UInt32 program, UInt32 shader); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDisable")] - public static - void Disable(OpenTK.Graphics.OpenGL.EnableCap cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisable((OpenTK.Graphics.OpenGL.EnableCap)cap); - #if DEBUG - } - #endif - } + public static extern void Disable(OpenTK.Graphics.OpenGL.EnableCap cap); /// [requires: v1.1][deprecated: v3.2] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDisableClientState")] - public static - void DisableClientState(OpenTK.Graphics.OpenGL.ArrayCap array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableClientState((OpenTK.Graphics.OpenGL.ArrayCap)array); - #if DEBUG - } - #endif - } + public static extern void DisableClientState(OpenTK.Graphics.OpenGL.ArrayCap array); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glDisablei")] - public static - void Disable(OpenTK.Graphics.OpenGL.IndexedEnableCap target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisablei((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void Disable(OpenTK.Graphics.OpenGL.IndexedEnableCap target, Int32 index); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glDisablei")] - public static - void Disable(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisablei((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void Disable(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")] - public static - void DisableVertexAttribArray(Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableVertexAttribArray((UInt32)index); - #if DEBUG - } - #endif - } + public static extern void DisableVertexAttribArray(Int32 index); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")] - public static - void DisableVertexAttribArray(UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableVertexAttribArray((UInt32)index); - #if DEBUG - } - #endif - } + public static extern void DisableVertexAttribArray(UInt32 index); /// [requires: v4.3 and ARB_compute_shader|VERSION_4_3] /// Launch one or more compute work groups @@ -56438,18 +32387,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_compute_shader|VERSION_4_3", Version = "4.3", EntryPoint = "glDispatchCompute")] - public static - void DispatchCompute(Int32 num_groups_x, Int32 num_groups_y, Int32 num_groups_z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDispatchCompute((UInt32)num_groups_x, (UInt32)num_groups_y, (UInt32)num_groups_z); - #if DEBUG - } - #endif - } + public static extern void DispatchCompute(Int32 num_groups_x, Int32 num_groups_y, Int32 num_groups_z); /// [requires: v4.3 and ARB_compute_shader|VERSION_4_3] /// Launch one or more compute work groups @@ -56471,18 +32409,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_compute_shader|VERSION_4_3", Version = "4.3", EntryPoint = "glDispatchCompute")] - public static - void DispatchCompute(UInt32 num_groups_x, UInt32 num_groups_y, UInt32 num_groups_z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDispatchCompute((UInt32)num_groups_x, (UInt32)num_groups_y, (UInt32)num_groups_z); - #if DEBUG - } - #endif - } + public static extern void DispatchCompute(UInt32 num_groups_x, UInt32 num_groups_y, UInt32 num_groups_z); /// [requires: v4.3 and ARB_compute_shader|VERSION_4_3] /// Launch one or more compute work groups using parameters stored in a buffer @@ -56493,18 +32420,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_compute_shader|VERSION_4_3", Version = "4.3", EntryPoint = "glDispatchComputeIndirect")] - public static - void DispatchComputeIndirect(IntPtr indirect) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDispatchComputeIndirect((IntPtr)indirect); - #if DEBUG - } - #endif - } + public static extern void DispatchComputeIndirect(IntPtr indirect); /// [requires: v1.1] /// Render primitives from array data @@ -56526,18 +32442,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawArrays")] - public static - void DrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArrays((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count); - #if DEBUG - } - #endif - } + public static extern void DrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count); /// [requires: v1.1] /// Render primitives from array data @@ -56558,18 +32463,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawArrays")] - public static - void DrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArrays((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count); - #if DEBUG - } - #endif - } + public static extern void DrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count); /// [requires: v4.0 and ARB_draw_indirect|VERSION_4_0] /// Render primitives from array data, taking parameters from memory @@ -56585,18 +32479,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawArraysIndirect")] - public static - void DrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, IntPtr indirect) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArraysIndirect((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)indirect); - #if DEBUG - } - #endif - } + public static extern void DrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, IntPtr indirect); /// [requires: v4.0 and ARB_draw_indirect|VERSION_4_0] /// Render primitives from array data, taking parameters from memory @@ -56612,27 +32495,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawArraysIndirect")] - public static - void DrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, [InAttribute, OutAttribute] T1[] indirect) + public static extern void DrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, [InAttribute, OutAttribute] T1[] indirect) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glDrawArraysIndirect((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject()); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.0 and ARB_draw_indirect|VERSION_4_0] /// Render primitives from array data, taking parameters from memory @@ -56648,27 +32513,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawArraysIndirect")] - public static - void DrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, [InAttribute, OutAttribute] T1[,] indirect) + public static extern void DrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, [InAttribute, OutAttribute] T1[,] indirect) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glDrawArraysIndirect((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject()); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.0 and ARB_draw_indirect|VERSION_4_0] /// Render primitives from array data, taking parameters from memory @@ -56684,27 +32531,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawArraysIndirect")] - public static - void DrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, [InAttribute, OutAttribute] T1[,,] indirect) + public static extern void DrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, [InAttribute, OutAttribute] T1[,,] indirect) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glDrawArraysIndirect((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject()); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.0 and ARB_draw_indirect|VERSION_4_0] /// Render primitives from array data, taking parameters from memory @@ -56720,28 +32549,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawArraysIndirect")] - public static - void DrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, [InAttribute, OutAttribute] ref T1 indirect) + public static extern void DrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, [InAttribute, OutAttribute] ref T1 indirect) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glDrawArraysIndirect((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject()); - indirect = (T1)indirect_ptr.Target; - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.1] /// Draw multiple instances of a range of elements @@ -56768,18 +32578,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawArraysInstanced")] - public static - void DrawArraysInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count, Int32 instancecount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArraysInstanced((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)instancecount); - #if DEBUG - } - #endif - } + public static extern void DrawArraysInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count, Int32 instancecount); /// [requires: v3.1] /// Draw multiple instances of a range of elements @@ -56805,18 +32604,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawArraysInstanced")] - public static - void DrawArraysInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArraysInstanced((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)instancecount); - #if DEBUG - } - #endif - } + public static extern void DrawArraysInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount); /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Draw multiple instances of a range of elements with offset applied to instanced attributes @@ -56847,18 +32635,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawArraysInstancedBaseInstance")] - public static - void DrawArraysInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount, Int32 baseinstance) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArraysInstancedBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)instancecount, (UInt32)baseinstance); - #if DEBUG - } - #endif - } + public static extern void DrawArraysInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount, Int32 baseinstance); /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Draw multiple instances of a range of elements with offset applied to instanced attributes @@ -56890,18 +32667,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawArraysInstancedBaseInstance")] - public static - void DrawArraysInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount, UInt32 baseinstance) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArraysInstancedBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)instancecount, (UInt32)baseinstance); - #if DEBUG - } - #endif - } + public static extern void DrawArraysInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount, UInt32 baseinstance); /// [requires: v1.0] /// Specify which color buffers are to be drawn into @@ -56912,18 +32678,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDrawBuffer")] - public static - void DrawBuffer(OpenTK.Graphics.OpenGL.DrawBufferMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawBuffer((OpenTK.Graphics.OpenGL.DrawBufferMode)mode); - #if DEBUG - } - #endif - } + public static extern void DrawBuffer(OpenTK.Graphics.OpenGL.DrawBufferMode mode); /// [requires: v2.0] /// Specifies a list of color buffers to be drawn into @@ -56939,24 +32694,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDrawBuffers")] - public static - void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL.DrawBuffersEnum[] bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.DrawBuffersEnum* bufs_ptr = bufs) - { - Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.OpenGL.DrawBuffersEnum*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL.DrawBuffersEnum[] bufs); /// [requires: v2.0] /// Specifies a list of color buffers to be drawn into @@ -56972,24 +32710,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDrawBuffers")] - public static - void DrawBuffers(Int32 n, ref OpenTK.Graphics.OpenGL.DrawBuffersEnum bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.DrawBuffersEnum* bufs_ptr = &bufs) - { - Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.OpenGL.DrawBuffersEnum*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawBuffers(Int32 n, ref OpenTK.Graphics.OpenGL.DrawBuffersEnum bufs); /// [requires: v2.0] /// Specifies a list of color buffers to be drawn into @@ -57006,18 +32727,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDrawBuffers")] - public static - unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL.DrawBuffersEnum* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.OpenGL.DrawBuffersEnum*)bufs); - #if DEBUG - } - #endif - } + public static extern unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL.DrawBuffersEnum* bufs); /// [requires: v1.1] /// Render primitives from array data @@ -57043,18 +32753,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, Int32 indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices); - #if DEBUG - } - #endif - } + public static extern void DrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, Int32 indices); /// [requires: v1.1] /// Render primitives from array data @@ -57081,18 +32780,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices); - #if DEBUG - } - #endif - } + public static extern void DrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices); /// [requires: v1.1] /// Render primitives from array data @@ -57119,27 +32807,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices) + public static extern void DrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1] /// Render primitives from array data @@ -57166,27 +32836,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices) + public static extern void DrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1] /// Render primitives from array data @@ -57213,27 +32865,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices) + public static extern void DrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1] /// Render primitives from array data @@ -57260,28 +32894,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices) + public static extern void DrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1] /// Render primitives from array data @@ -57307,18 +32922,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, Int32 indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices); - #if DEBUG - } - #endif - } + public static extern void DrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, Int32 indices); /// [requires: v1.1] /// Render primitives from array data @@ -57344,18 +32948,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices); - #if DEBUG - } - #endif - } + public static extern void DrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices); /// [requires: v1.1] /// Render primitives from array data @@ -57381,27 +32974,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices) + public static extern void DrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1] /// Render primitives from array data @@ -57427,27 +33002,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices) + public static extern void DrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1] /// Render primitives from array data @@ -57473,27 +33030,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices) + public static extern void DrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1] /// Render primitives from array data @@ -57519,28 +33058,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices) + public static extern void DrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -57572,18 +33092,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")] - public static - void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); - #if DEBUG - } - #endif - } + public static extern void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex); /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -57615,27 +33124,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")] - public static - void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 basevertex) + public static extern void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -57667,27 +33158,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")] - public static - void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 basevertex) + public static extern void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -57719,27 +33192,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")] - public static - void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 basevertex) + public static extern void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -57771,28 +33226,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")] - public static - void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 basevertex) + public static extern void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -57823,18 +33259,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")] - public static - void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); - #if DEBUG - } - #endif - } + public static extern void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex); /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -57865,27 +33290,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")] - public static - void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 basevertex) + public static extern void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -57916,27 +33323,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")] - public static - void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 basevertex) + public static extern void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -57967,27 +33356,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")] - public static - void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 basevertex) + public static extern void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -58018,28 +33389,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")] - public static - void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 basevertex) + public static extern void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.0 and ARB_draw_indirect|VERSION_4_0] /// Render indexed primitives from array data, taking parameters from memory @@ -58060,18 +33412,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawElementsIndirect")] - public static - void DrawElementsIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, OpenTK.Graphics.OpenGL.All type, IntPtr indirect) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsIndirect((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)indirect); - #if DEBUG - } - #endif - } + public static extern void DrawElementsIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, OpenTK.Graphics.OpenGL.All type, IntPtr indirect); /// [requires: v4.0 and ARB_draw_indirect|VERSION_4_0] /// Render indexed primitives from array data, taking parameters from memory @@ -58092,27 +33433,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawElementsIndirect")] - public static - void DrawElementsIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, OpenTK.Graphics.OpenGL.All type, [InAttribute, OutAttribute] T2[] indirect) + public static extern void DrawElementsIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, OpenTK.Graphics.OpenGL.All type, [InAttribute, OutAttribute] T2[] indirect) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsIndirect((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject()); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.0 and ARB_draw_indirect|VERSION_4_0] /// Render indexed primitives from array data, taking parameters from memory @@ -58133,27 +33456,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawElementsIndirect")] - public static - void DrawElementsIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, OpenTK.Graphics.OpenGL.All type, [InAttribute, OutAttribute] T2[,] indirect) + public static extern void DrawElementsIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, OpenTK.Graphics.OpenGL.All type, [InAttribute, OutAttribute] T2[,] indirect) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsIndirect((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject()); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.0 and ARB_draw_indirect|VERSION_4_0] /// Render indexed primitives from array data, taking parameters from memory @@ -58174,27 +33479,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawElementsIndirect")] - public static - void DrawElementsIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, OpenTK.Graphics.OpenGL.All type, [InAttribute, OutAttribute] T2[,,] indirect) + public static extern void DrawElementsIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, OpenTK.Graphics.OpenGL.All type, [InAttribute, OutAttribute] T2[,,] indirect) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsIndirect((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject()); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.0 and ARB_draw_indirect|VERSION_4_0] /// Render indexed primitives from array data, taking parameters from memory @@ -58215,28 +33502,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawElementsIndirect")] - public static - void DrawElementsIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, OpenTK.Graphics.OpenGL.All type, [InAttribute, OutAttribute] ref T2 indirect) + public static extern void DrawElementsIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, OpenTK.Graphics.OpenGL.All type, [InAttribute, OutAttribute] ref T2 indirect) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsIndirect((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject()); - indirect = (T2)indirect_ptr.Target; - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.1] /// Draw multiple instances of a set of elements @@ -58268,18 +33536,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstanced((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount); - #if DEBUG - } - #endif - } + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount); /// [requires: v3.1] /// Draw multiple instances of a set of elements @@ -58311,27 +33568,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstanced((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.1] /// Draw multiple instances of a set of elements @@ -58363,27 +33602,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstanced((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.1] /// Draw multiple instances of a set of elements @@ -58415,27 +33636,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstanced((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.1] /// Draw multiple instances of a set of elements @@ -58467,28 +33670,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstanced((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.1] /// Draw multiple instances of a set of elements @@ -58519,18 +33703,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstanced((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount); - #if DEBUG - } - #endif - } + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount); /// [requires: v3.1] /// Draw multiple instances of a set of elements @@ -58561,27 +33734,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstanced((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.1] /// Draw multiple instances of a set of elements @@ -58612,27 +33767,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstanced((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.1] /// Draw multiple instances of a set of elements @@ -58663,27 +33800,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstanced((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.1] /// Draw multiple instances of a set of elements @@ -58714,28 +33833,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstanced((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Draw multiple instances of a set of elements with offset applied to instanced attributes @@ -58771,18 +33871,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static - void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 baseinstance) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (UInt32)baseinstance); - #if DEBUG - } - #endif - } + public static extern void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 baseinstance); /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Draw multiple instances of a set of elements with offset applied to instanced attributes @@ -58819,18 +33908,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static - void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, UInt32 baseinstance) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (UInt32)baseinstance); - #if DEBUG - } - #endif - } + public static extern void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, UInt32 baseinstance); /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Draw multiple instances of a set of elements with offset applied to instanced attributes @@ -58866,27 +33944,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static - void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount, Int32 baseinstance) + public static extern void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount, Int32 baseinstance) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Draw multiple instances of a set of elements with offset applied to instanced attributes @@ -58923,27 +33983,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static - void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount, UInt32 baseinstance) + public static extern void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount, UInt32 baseinstance) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Draw multiple instances of a set of elements with offset applied to instanced attributes @@ -58979,27 +34021,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static - void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount, Int32 baseinstance) + public static extern void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount, Int32 baseinstance) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Draw multiple instances of a set of elements with offset applied to instanced attributes @@ -59036,27 +34060,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static - void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount, UInt32 baseinstance) + public static extern void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount, UInt32 baseinstance) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Draw multiple instances of a set of elements with offset applied to instanced attributes @@ -59092,27 +34098,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static - void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount, Int32 baseinstance) + public static extern void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount, Int32 baseinstance) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Draw multiple instances of a set of elements with offset applied to instanced attributes @@ -59149,27 +34137,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static - void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount, UInt32 baseinstance) + public static extern void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount, UInt32 baseinstance) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Draw multiple instances of a set of elements with offset applied to instanced attributes @@ -59205,28 +34175,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static - void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount, Int32 baseinstance) + public static extern void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount, Int32 baseinstance) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Draw multiple instances of a set of elements with offset applied to instanced attributes @@ -59263,28 +34214,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static - void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount, UInt32 baseinstance) + public static extern void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount, UInt32 baseinstance) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -59321,18 +34253,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] - public static - void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (Int32)basevertex); - #if DEBUG - } - #endif - } + public static extern void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex); /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -59369,27 +34290,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] - public static - void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount, Int32 basevertex) + public static extern void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount, Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -59426,27 +34329,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] - public static - void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount, Int32 basevertex) + public static extern void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount, Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -59483,27 +34368,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] - public static - void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount, Int32 basevertex) + public static extern void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount, Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -59540,28 +34407,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] - public static - void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount, Int32 basevertex) + public static extern void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount, Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -59597,18 +34445,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] - public static - void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (Int32)basevertex); - #if DEBUG - } - #endif - } + public static extern void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex); /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -59644,27 +34481,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] - public static - void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount, Int32 basevertex) + public static extern void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount, Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -59700,27 +34519,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] - public static - void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount, Int32 basevertex) + public static extern void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount, Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -59756,27 +34557,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] - public static - void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount, Int32 basevertex) + public static extern void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount, Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -59812,28 +34595,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] - public static - void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount, Int32 basevertex) + public static extern void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount, Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -59874,18 +34638,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static - void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex, Int32 baseinstance) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); - #if DEBUG - } - #endif - } + public static extern void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex, Int32 baseinstance); /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -59927,18 +34680,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static - void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); - #if DEBUG - } - #endif - } + public static extern void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance); /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -59979,27 +34721,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static - void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount, Int32 basevertex, Int32 baseinstance) + public static extern void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount, Int32 basevertex, Int32 baseinstance) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -60041,27 +34765,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static - void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance) + public static extern void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -60102,27 +34808,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static - void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount, Int32 basevertex, Int32 baseinstance) + public static extern void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount, Int32 basevertex, Int32 baseinstance) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -60164,27 +34852,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static - void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance) + public static extern void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -60225,27 +34895,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static - void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount, Int32 basevertex, Int32 baseinstance) + public static extern void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount, Int32 basevertex, Int32 baseinstance) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -60287,27 +34939,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static - void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance) + public static extern void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -60348,28 +34982,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static - void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount, Int32 basevertex, Int32 baseinstance) + public static extern void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount, Int32 basevertex, Int32 baseinstance) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -60411,28 +35026,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static - void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance) + public static extern void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0][deprecated: v3.2] /// Write a block of pixels to the frame buffer @@ -60458,18 +35054,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDrawPixels")] - public static - void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: v1.0][deprecated: v3.2] /// Write a block of pixels to the frame buffer @@ -60495,27 +35080,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDrawPixels")] - public static - void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[] pixels) + public static extern void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[] pixels) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0][deprecated: v3.2] /// Write a block of pixels to the frame buffer @@ -60541,27 +35108,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDrawPixels")] - public static - void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,] pixels) + public static extern void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,] pixels) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0][deprecated: v3.2] /// Write a block of pixels to the frame buffer @@ -60587,27 +35136,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDrawPixels")] - public static - void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,,] pixels) + public static extern void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,,] pixels) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0][deprecated: v3.2] /// Write a block of pixels to the frame buffer @@ -60633,28 +35164,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDrawPixels")] - public static - void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 pixels) + public static extern void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 pixels) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T4)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Render primitives from array data @@ -60691,18 +35203,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices); - #if DEBUG - } - #endif - } + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices); /// [requires: v1.2] /// Render primitives from array data @@ -60739,27 +35240,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Render primitives from array data @@ -60796,27 +35279,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Render primitives from array data @@ -60853,27 +35318,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Render primitives from array data @@ -60910,28 +35357,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - indices = (T5)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Render primitives from array data @@ -60969,18 +35397,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices); - #if DEBUG - } - #endif - } + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices); /// [requires: v1.2] /// Render primitives from array data @@ -61018,27 +35435,9 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Render primitives from array data @@ -61076,27 +35475,9 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Render primitives from array data @@ -61134,27 +35515,9 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Render primitives from array data @@ -61192,28 +35555,9 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - indices = (T5)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Render primitives from array data @@ -61249,18 +35593,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices); - #if DEBUG - } - #endif - } + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices); /// [requires: v1.2] /// Render primitives from array data @@ -61296,27 +35629,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Render primitives from array data @@ -61352,27 +35667,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Render primitives from array data @@ -61408,27 +35705,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Render primitives from array data @@ -61464,28 +35743,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - indices = (T5)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Render primitives from array data @@ -61522,18 +35782,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices); - #if DEBUG - } - #endif - } + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices); /// [requires: v1.2] /// Render primitives from array data @@ -61570,27 +35819,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Render primitives from array data @@ -61627,27 +35858,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Render primitives from array data @@ -61684,27 +35897,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Render primitives from array data @@ -61741,28 +35936,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - indices = (T5)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -61804,18 +35980,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); - #if DEBUG - } - #endif - } + public static extern void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex); /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -61857,27 +36022,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices, Int32 basevertex) + public static extern void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices, Int32 basevertex) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -61919,27 +36066,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices, Int32 basevertex) + public static extern void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices, Int32 basevertex) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -61981,27 +36110,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices, Int32 basevertex) + public static extern void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices, Int32 basevertex) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -62043,28 +36154,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices, Int32 basevertex) + public static extern void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices, Int32 basevertex) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - indices = (T5)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -62107,18 +36199,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); - #if DEBUG - } - #endif - } + public static extern void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex); /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -62161,27 +36242,9 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices, Int32 basevertex) + public static extern void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices, Int32 basevertex) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -62224,27 +36287,9 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices, Int32 basevertex) + public static extern void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices, Int32 basevertex) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -62287,27 +36332,9 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices, Int32 basevertex) + public static extern void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices, Int32 basevertex) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -62350,28 +36377,9 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices, Int32 basevertex) + public static extern void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices, Int32 basevertex) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - indices = (T5)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -62412,18 +36420,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); - #if DEBUG - } - #endif - } + public static extern void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex); /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -62464,27 +36461,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices, Int32 basevertex) + public static extern void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices, Int32 basevertex) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -62525,27 +36504,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices, Int32 basevertex) + public static extern void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices, Int32 basevertex) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -62586,27 +36547,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices, Int32 basevertex) + public static extern void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices, Int32 basevertex) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -62647,28 +36590,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices, Int32 basevertex) + public static extern void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices, Int32 basevertex) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - indices = (T5)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -62710,18 +36634,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); - #if DEBUG - } - #endif - } + public static extern void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex); /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -62763,27 +36676,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices, Int32 basevertex) + public static extern void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices, Int32 basevertex) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -62825,27 +36720,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices, Int32 basevertex) + public static extern void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices, Int32 basevertex) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -62887,27 +36764,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices, Int32 basevertex) + public static extern void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices, Int32 basevertex) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -62949,28 +36808,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices, Int32 basevertex) + public static extern void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices, Int32 basevertex) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - indices = (T5)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Render primitives using a count derived from a transform feedback object @@ -62986,18 +36826,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawTransformFeedback")] - public static - void DrawTransformFeedback(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawTransformFeedback((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void DrawTransformFeedback(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 id); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Render primitives using a count derived from a transform feedback object @@ -63014,18 +36843,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawTransformFeedback")] - public static - void DrawTransformFeedback(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawTransformFeedback((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void DrawTransformFeedback(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id); /// [requires: v4.2 and ARB_transform_feedback_instanced|VERSION_4_2] /// Render multiple instances of primitives using a count derived from a transform feedback object @@ -63046,18 +36864,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transform_feedback_instanced|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawTransformFeedbackInstanced")] - public static - void DrawTransformFeedbackInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 id, Int32 instancecount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawTransformFeedbackInstanced((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id, (Int32)instancecount); - #if DEBUG - } - #endif - } + public static extern void DrawTransformFeedbackInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 id, Int32 instancecount); /// [requires: v4.2 and ARB_transform_feedback_instanced|VERSION_4_2] /// Render multiple instances of primitives using a count derived from a transform feedback object @@ -63079,18 +36886,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback_instanced|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawTransformFeedbackInstanced")] - public static - void DrawTransformFeedbackInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id, Int32 instancecount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawTransformFeedbackInstanced((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id, (Int32)instancecount); - #if DEBUG - } - #endif - } + public static extern void DrawTransformFeedbackInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id, Int32 instancecount); /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Render primitives using a count derived from a specifed stream of a transform feedback object @@ -63111,18 +36907,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawTransformFeedbackStream")] - public static - void DrawTransformFeedbackStream(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 id, Int32 stream) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawTransformFeedbackStream((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id, (UInt32)stream); - #if DEBUG - } - #endif - } + public static extern void DrawTransformFeedbackStream(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 id, Int32 stream); /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Render primitives using a count derived from a specifed stream of a transform feedback object @@ -63144,18 +36929,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawTransformFeedbackStream")] - public static - void DrawTransformFeedbackStream(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id, UInt32 stream) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawTransformFeedbackStream((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id, (UInt32)stream); - #if DEBUG - } - #endif - } + public static extern void DrawTransformFeedbackStream(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id, UInt32 stream); /// [requires: v4.2 and ARB_transform_feedback_instanced|VERSION_4_2] /// Render multiple instances of primitives using a count derived from a specifed stream of a transform feedback object @@ -63181,18 +36955,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transform_feedback_instanced|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawTransformFeedbackStreamInstanced")] - public static - void DrawTransformFeedbackStreamInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 id, Int32 stream, Int32 instancecount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawTransformFeedbackStreamInstanced((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id, (UInt32)stream, (Int32)instancecount); - #if DEBUG - } - #endif - } + public static extern void DrawTransformFeedbackStreamInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 id, Int32 stream, Int32 instancecount); /// [requires: v4.2 and ARB_transform_feedback_instanced|VERSION_4_2] /// Render multiple instances of primitives using a count derived from a specifed stream of a transform feedback object @@ -63219,18 +36982,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback_instanced|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawTransformFeedbackStreamInstanced")] - public static - void DrawTransformFeedbackStreamInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id, UInt32 stream, Int32 instancecount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawTransformFeedbackStreamInstanced((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id, (UInt32)stream, (Int32)instancecount); - #if DEBUG - } - #endif - } + public static extern void DrawTransformFeedbackStreamInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id, UInt32 stream, Int32 instancecount); /// [requires: v1.0][deprecated: v3.2] /// Flag edges as either boundary or nonboundary @@ -63241,18 +36993,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEdgeFlag")] - public static - void EdgeFlag(bool flag) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEdgeFlag((bool)flag); - #if DEBUG - } - #endif - } + public static extern void EdgeFlag(bool flag); /// [requires: v1.1][deprecated: v3.2] /// Define an array of edge flags @@ -63268,18 +37009,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] - public static - void EdgeFlagPointer(Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void EdgeFlagPointer(Int32 stride, IntPtr pointer); /// [requires: v1.1][deprecated: v3.2] /// Define an array of edge flags @@ -63295,27 +37025,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] - public static - void EdgeFlagPointer(Int32 stride, [InAttribute, OutAttribute] T1[] pointer) + public static extern void EdgeFlagPointer(Int32 stride, [InAttribute, OutAttribute] T1[] pointer) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1][deprecated: v3.2] /// Define an array of edge flags @@ -63331,27 +37043,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] - public static - void EdgeFlagPointer(Int32 stride, [InAttribute, OutAttribute] T1[,] pointer) + public static extern void EdgeFlagPointer(Int32 stride, [InAttribute, OutAttribute] T1[,] pointer) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1][deprecated: v3.2] /// Define an array of edge flags @@ -63367,27 +37061,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] - public static - void EdgeFlagPointer(Int32 stride, [InAttribute, OutAttribute] T1[,,] pointer) + public static extern void EdgeFlagPointer(Int32 stride, [InAttribute, OutAttribute] T1[,,] pointer) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1][deprecated: v3.2] /// Define an array of edge flags @@ -63403,28 +37079,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] - public static - void EdgeFlagPointer(Int32 stride, [InAttribute, OutAttribute] ref T1 pointer) + public static extern void EdgeFlagPointer(Int32 stride, [InAttribute, OutAttribute] ref T1 pointer) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T1)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0][deprecated: v3.2] /// Flag edges as either boundary or nonboundary @@ -63435,24 +37092,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEdgeFlagv")] - public static - void EdgeFlag(bool[] flag) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* flag_ptr = flag) - { - Delegates.glEdgeFlagv((bool*)flag_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void EdgeFlag(bool[] flag); /// [requires: v1.0][deprecated: v3.2] /// Flag edges as either boundary or nonboundary @@ -63464,18 +37104,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEdgeFlagv")] - public static - unsafe void EdgeFlag(bool* flag) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEdgeFlagv((bool*)flag); - #if DEBUG - } - #endif - } + public static extern unsafe void EdgeFlag(bool* flag); /// [requires: v1.0] /// Enable or disable server-side GL capabilities @@ -63491,18 +37120,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEnable")] - public static - void Enable(OpenTK.Graphics.OpenGL.EnableCap cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnable((OpenTK.Graphics.OpenGL.EnableCap)cap); - #if DEBUG - } - #endif - } + public static extern void Enable(OpenTK.Graphics.OpenGL.EnableCap cap); /// [requires: v1.1][deprecated: v3.2] /// Enable or disable client-side capability @@ -63513,18 +37131,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glEnableClientState")] - public static - void EnableClientState(OpenTK.Graphics.OpenGL.ArrayCap array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableClientState((OpenTK.Graphics.OpenGL.ArrayCap)array); - #if DEBUG - } - #endif - } + public static extern void EnableClientState(OpenTK.Graphics.OpenGL.ArrayCap array); /// [requires: v3.0] /// Enable or disable server-side GL capabilities @@ -63540,18 +37147,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glEnablei")] - public static - void Enable(OpenTK.Graphics.OpenGL.IndexedEnableCap target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnablei((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void Enable(OpenTK.Graphics.OpenGL.IndexedEnableCap target, Int32 index); /// [requires: v3.0] /// Enable or disable server-side GL capabilities @@ -63568,18 +37164,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glEnablei")] - public static - void Enable(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnablei((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void Enable(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); /// [requires: v2.0] /// Enable or disable a generic vertex attribute array @@ -63590,18 +37175,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")] - public static - void EnableVertexAttribArray(Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableVertexAttribArray((UInt32)index); - #if DEBUG - } - #endif - } + public static extern void EnableVertexAttribArray(Int32 index); /// [requires: v2.0] /// Enable or disable a generic vertex attribute array @@ -63613,125 +37187,36 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")] - public static - void EnableVertexAttribArray(UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableVertexAttribArray((UInt32)index); - #if DEBUG - } - #endif - } + public static extern void EnableVertexAttribArray(UInt32 index); /// [requires: v1.0][deprecated: v3.2] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEnd")] - public static - void End() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnd(); - #if DEBUG - GraphicsContext.CurrentContext.ErrorChecking = true; - } - #endif - } + public static extern void End(); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glEndConditionalRender")] - public static - void EndConditionalRender() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndConditionalRender(); - #if DEBUG - } - #endif - } + public static extern void EndConditionalRender(); /// [requires: v1.0][deprecated: v3.2] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEndList")] - public static - void EndList() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndList(); - #if DEBUG - } - #endif - } + public static extern void EndList(); /// [requires: v1.5] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glEndQuery")] - public static - void EndQuery(OpenTK.Graphics.OpenGL.QueryTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndQuery((OpenTK.Graphics.OpenGL.QueryTarget)target); - #if DEBUG - } - #endif - } + public static extern void EndQuery(OpenTK.Graphics.OpenGL.QueryTarget target); /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glEndQueryIndexed")] - public static - void EndQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndQueryIndexed((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void EndQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, Int32 index); /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glEndQueryIndexed")] - public static - void EndQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndQueryIndexed((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void EndQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glEndTransformFeedback")] - public static - void EndTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndTransformFeedback(); - #if DEBUG - } - #endif - } + public static extern void EndTransformFeedback(); /// [requires: v1.0][deprecated: v3.2] /// Evaluate enabled one- and two-dimensional maps @@ -63747,18 +37232,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEvalCoord1d")] - public static - void EvalCoord1(Double u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalCoord1d((Double)u); - #if DEBUG - } - #endif - } + public static extern void EvalCoord1(Double u); /// [requires: v1.0][deprecated: v3.2] /// Evaluate enabled one- and two-dimensional maps @@ -63775,18 +37249,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEvalCoord1dv")] - public static - unsafe void EvalCoord1(Double* u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalCoord1dv((Double*)u); - #if DEBUG - } - #endif - } + public static extern unsafe void EvalCoord1(Double* u); /// [requires: v1.0][deprecated: v3.2] /// Evaluate enabled one- and two-dimensional maps @@ -63802,18 +37265,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEvalCoord1f")] - public static - void EvalCoord1(Single u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalCoord1f((Single)u); - #if DEBUG - } - #endif - } + public static extern void EvalCoord1(Single u); /// [requires: v1.0][deprecated: v3.2] /// Evaluate enabled one- and two-dimensional maps @@ -63830,18 +37282,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEvalCoord1fv")] - public static - unsafe void EvalCoord1(Single* u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalCoord1fv((Single*)u); - #if DEBUG - } - #endif - } + public static extern unsafe void EvalCoord1(Single* u); /// [requires: v1.0][deprecated: v3.2] /// Evaluate enabled one- and two-dimensional maps @@ -63857,18 +37298,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEvalCoord2d")] - public static - void EvalCoord2(Double u, Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalCoord2d((Double)u, (Double)v); - #if DEBUG - } - #endif - } + public static extern void EvalCoord2(Double u, Double v); /// [requires: v1.0][deprecated: v3.2] /// Evaluate enabled one- and two-dimensional maps @@ -63884,24 +37314,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEvalCoord2dv")] - public static - void EvalCoord2(Double[] u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* u_ptr = u) - { - Delegates.glEvalCoord2dv((Double*)u_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void EvalCoord2(Double[] u); /// [requires: v1.0][deprecated: v3.2] /// Evaluate enabled one- and two-dimensional maps @@ -63917,24 +37330,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEvalCoord2dv")] - public static - void EvalCoord2(ref Double u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* u_ptr = &u) - { - Delegates.glEvalCoord2dv((Double*)u_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void EvalCoord2(ref Double u); /// [requires: v1.0][deprecated: v3.2] /// Evaluate enabled one- and two-dimensional maps @@ -63951,18 +37347,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEvalCoord2dv")] - public static - unsafe void EvalCoord2(Double* u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalCoord2dv((Double*)u); - #if DEBUG - } - #endif - } + public static extern unsafe void EvalCoord2(Double* u); /// [requires: v1.0][deprecated: v3.2] /// Evaluate enabled one- and two-dimensional maps @@ -63978,18 +37363,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEvalCoord2f")] - public static - void EvalCoord2(Single u, Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalCoord2f((Single)u, (Single)v); - #if DEBUG - } - #endif - } + public static extern void EvalCoord2(Single u, Single v); /// [requires: v1.0][deprecated: v3.2] /// Evaluate enabled one- and two-dimensional maps @@ -64005,24 +37379,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEvalCoord2fv")] - public static - void EvalCoord2(Single[] u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* u_ptr = u) - { - Delegates.glEvalCoord2fv((Single*)u_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void EvalCoord2(Single[] u); /// [requires: v1.0][deprecated: v3.2] /// Evaluate enabled one- and two-dimensional maps @@ -64038,24 +37395,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEvalCoord2fv")] - public static - void EvalCoord2(ref Single u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* u_ptr = &u) - { - Delegates.glEvalCoord2fv((Single*)u_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void EvalCoord2(ref Single u); /// [requires: v1.0][deprecated: v3.2] /// Evaluate enabled one- and two-dimensional maps @@ -64072,18 +37412,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEvalCoord2fv")] - public static - unsafe void EvalCoord2(Single* u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalCoord2fv((Single*)u); - #if DEBUG - } - #endif - } + public static extern unsafe void EvalCoord2(Single* u); /// [requires: v1.0][deprecated: v3.2] /// Compute a one- or two-dimensional grid of points or lines @@ -64099,18 +37428,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEvalMesh1")] - public static - void EvalMesh1(OpenTK.Graphics.OpenGL.MeshMode1 mode, Int32 i1, Int32 i2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalMesh1((OpenTK.Graphics.OpenGL.MeshMode1)mode, (Int32)i1, (Int32)i2); - #if DEBUG - } - #endif - } + public static extern void EvalMesh1(OpenTK.Graphics.OpenGL.MeshMode1 mode, Int32 i1, Int32 i2); /// [requires: v1.0][deprecated: v3.2] /// Compute a one- or two-dimensional grid of points or lines @@ -64126,18 +37444,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEvalMesh2")] - public static - void EvalMesh2(OpenTK.Graphics.OpenGL.MeshMode2 mode, Int32 i1, Int32 i2, Int32 j1, Int32 j2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalMesh2((OpenTK.Graphics.OpenGL.MeshMode2)mode, (Int32)i1, (Int32)i2, (Int32)j1, (Int32)j2); - #if DEBUG - } - #endif - } + public static extern void EvalMesh2(OpenTK.Graphics.OpenGL.MeshMode2 mode, Int32 i1, Int32 i2, Int32 j1, Int32 j2); /// [requires: v1.0][deprecated: v3.2] /// Generate and evaluate a single point in a mesh @@ -64153,18 +37460,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEvalPoint1")] - public static - void EvalPoint1(Int32 i) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalPoint1((Int32)i); - #if DEBUG - } - #endif - } + public static extern void EvalPoint1(Int32 i); /// [requires: v1.0][deprecated: v3.2] /// Generate and evaluate a single point in a mesh @@ -64180,18 +37476,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEvalPoint2")] - public static - void EvalPoint2(Int32 i, Int32 j) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalPoint2((Int32)i, (Int32)j); - #if DEBUG - } - #endif - } + public static extern void EvalPoint2(Int32 i, Int32 j); /// [requires: v1.0][deprecated: v3.2] /// Controls feedback mode @@ -64212,24 +37497,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFeedbackBuffer")] - public static - void FeedbackBuffer(Int32 size, OpenTK.Graphics.OpenGL.FeedbackType type, [OutAttribute] Single[] buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* buffer_ptr = buffer) - { - Delegates.glFeedbackBuffer((Int32)size, (OpenTK.Graphics.OpenGL.FeedbackType)type, (Single*)buffer_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void FeedbackBuffer(Int32 size, OpenTK.Graphics.OpenGL.FeedbackType type, [OutAttribute] Single[] buffer); /// [requires: v1.0][deprecated: v3.2] /// Controls feedback mode @@ -64250,25 +37518,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFeedbackBuffer")] - public static - void FeedbackBuffer(Int32 size, OpenTK.Graphics.OpenGL.FeedbackType type, [OutAttribute] out Single buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* buffer_ptr = &buffer) - { - Delegates.glFeedbackBuffer((Int32)size, (OpenTK.Graphics.OpenGL.FeedbackType)type, (Single*)buffer_ptr); - buffer = *buffer_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void FeedbackBuffer(Int32 size, OpenTK.Graphics.OpenGL.FeedbackType type, [OutAttribute] out Single buffer); /// [requires: v1.0][deprecated: v3.2] /// Controls feedback mode @@ -64290,18 +37540,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFeedbackBuffer")] - public static - unsafe void FeedbackBuffer(Int32 size, OpenTK.Graphics.OpenGL.FeedbackType type, [OutAttribute] Single* buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFeedbackBuffer((Int32)size, (OpenTK.Graphics.OpenGL.FeedbackType)type, (Single*)buffer); - #if DEBUG - } - #endif - } + public static extern unsafe void FeedbackBuffer(Int32 size, OpenTK.Graphics.OpenGL.FeedbackType type, [OutAttribute] Single* buffer); /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Create a new sync object and insert it into the GL command stream @@ -64318,18 +37557,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use SyncCondition overload instead")] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glFenceSync")] - public static - IntPtr FenceSync(OpenTK.Graphics.OpenGL.ArbSync condition, Int32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glFenceSync((OpenTK.Graphics.OpenGL.SyncCondition)condition, (OpenTK.Graphics.OpenGL.WaitSyncFlags)flags); - #if DEBUG - } - #endif - } + public static extern IntPtr FenceSync(OpenTK.Graphics.OpenGL.ArbSync condition, Int32 flags); /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Create a new sync object and insert it into the GL command stream @@ -64347,18 +37575,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use SyncCondition overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glFenceSync")] - public static - IntPtr FenceSync(OpenTK.Graphics.OpenGL.ArbSync condition, UInt32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glFenceSync((OpenTK.Graphics.OpenGL.SyncCondition)condition, (OpenTK.Graphics.OpenGL.WaitSyncFlags)flags); - #if DEBUG - } - #endif - } + public static extern IntPtr FenceSync(OpenTK.Graphics.OpenGL.ArbSync condition, UInt32 flags); /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Create a new sync object and insert it into the GL command stream @@ -64374,52 +37591,19 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glFenceSync")] - public static - IntPtr FenceSync(OpenTK.Graphics.OpenGL.SyncCondition condition, OpenTK.Graphics.OpenGL.WaitSyncFlags flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glFenceSync((OpenTK.Graphics.OpenGL.SyncCondition)condition, (OpenTK.Graphics.OpenGL.WaitSyncFlags)flags); - #if DEBUG - } - #endif - } + public static extern IntPtr FenceSync(OpenTK.Graphics.OpenGL.SyncCondition condition, OpenTK.Graphics.OpenGL.WaitSyncFlags flags); /// [requires: v1.0] /// Block until all GL execution is complete /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFinish")] - public static - void Finish() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFinish(); - #if DEBUG - } - #endif - } + public static extern void Finish(); /// [requires: v1.0] /// Force execution of GL commands in finite time /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFlush")] - public static - void Flush() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFlush(); - #if DEBUG - } - #endif - } + public static extern void Flush(); /// [requires: v3.0 and ARB_map_buffer_range|VERSION_3_0] /// Indicate modifications to a range of a mapped buffer @@ -64440,18 +37624,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_map_buffer_range|VERSION_3_0", Version = "3.0", EntryPoint = "glFlushMappedBufferRange")] - public static - void FlushMappedBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFlushMappedBufferRange((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)length); - #if DEBUG - } - #endif - } + public static extern void FlushMappedBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr length); /// [requires: v1.4][deprecated: v3.2] /// Set the current fog coordinates @@ -64462,18 +37635,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glFogCoordd")] - public static - void FogCoord(Double coord) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogCoordd((Double)coord); - #if DEBUG - } - #endif - } + public static extern void FogCoord(Double coord); /// [requires: v1.4][deprecated: v3.2] /// Set the current fog coordinates @@ -64485,18 +37647,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glFogCoorddv")] - public static - unsafe void FogCoord(Double* coord) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogCoorddv((Double*)coord); - #if DEBUG - } - #endif - } + public static extern unsafe void FogCoord(Double* coord); /// [requires: v1.4][deprecated: v3.2] /// Set the current fog coordinates @@ -64507,18 +37658,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glFogCoordf")] - public static - void FogCoord(Single coord) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogCoordf((Single)coord); - #if DEBUG - } - #endif - } + public static extern void FogCoord(Single coord); /// [requires: v1.4][deprecated: v3.2] /// Set the current fog coordinates @@ -64530,18 +37670,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glFogCoordfv")] - public static - unsafe void FogCoord(Single* coord) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogCoordfv((Single*)coord); - #if DEBUG - } - #endif - } + public static extern unsafe void FogCoord(Single* coord); /// [requires: v1.4][deprecated: v3.2] /// Define an array of fog coordinates @@ -64562,18 +37691,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glFogCoordPointer")] - public static - void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogCoordPointer((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, IntPtr pointer); /// [requires: v1.4][deprecated: v3.2] /// Define an array of fog coordinates @@ -64594,27 +37712,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glFogCoordPointer")] - public static - void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) + public static extern void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFogCoordPointer((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4][deprecated: v3.2] /// Define an array of fog coordinates @@ -64635,27 +37735,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glFogCoordPointer")] - public static - void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) + public static extern void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFogCoordPointer((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4][deprecated: v3.2] /// Define an array of fog coordinates @@ -64676,27 +37758,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glFogCoordPointer")] - public static - void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) + public static extern void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFogCoordPointer((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4][deprecated: v3.2] /// Define an array of fog coordinates @@ -64717,28 +37781,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glFogCoordPointer")] - public static - void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) + public static extern void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFogCoordPointer((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0][deprecated: v3.2] /// Specify fog parameters @@ -64754,18 +37799,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFogf")] - public static - void Fog(OpenTK.Graphics.OpenGL.FogParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogf((OpenTK.Graphics.OpenGL.FogParameter)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void Fog(OpenTK.Graphics.OpenGL.FogParameter pname, Single param); /// [requires: v1.0][deprecated: v3.2] /// Specify fog parameters @@ -64781,24 +37815,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFogfv")] - public static - void Fog(OpenTK.Graphics.OpenGL.FogParameter pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glFogfv((OpenTK.Graphics.OpenGL.FogParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Fog(OpenTK.Graphics.OpenGL.FogParameter pname, Single[] @params); /// [requires: v1.0][deprecated: v3.2] /// Specify fog parameters @@ -64815,18 +37832,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFogfv")] - public static - unsafe void Fog(OpenTK.Graphics.OpenGL.FogParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogfv((OpenTK.Graphics.OpenGL.FogParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void Fog(OpenTK.Graphics.OpenGL.FogParameter pname, Single* @params); /// [requires: v1.0][deprecated: v3.2] /// Specify fog parameters @@ -64842,18 +37848,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFogi")] - public static - void Fog(OpenTK.Graphics.OpenGL.FogParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogi((OpenTK.Graphics.OpenGL.FogParameter)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void Fog(OpenTK.Graphics.OpenGL.FogParameter pname, Int32 param); /// [requires: v1.0][deprecated: v3.2] /// Specify fog parameters @@ -64869,24 +37864,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFogiv")] - public static - void Fog(OpenTK.Graphics.OpenGL.FogParameter pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glFogiv((OpenTK.Graphics.OpenGL.FogParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Fog(OpenTK.Graphics.OpenGL.FogParameter pname, Int32[] @params); /// [requires: v1.0][deprecated: v3.2] /// Specify fog parameters @@ -64903,18 +37881,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFogiv")] - public static - unsafe void Fog(OpenTK.Graphics.OpenGL.FogParameter pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogiv((OpenTK.Graphics.OpenGL.FogParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void Fog(OpenTK.Graphics.OpenGL.FogParameter pname, Int32* @params); /// [requires: v4.3 and ARB_framebuffer_no_attachments|VERSION_4_3] /// Set a named parameter of a framebuffer @@ -64935,18 +37902,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_no_attachments|VERSION_4_3", Version = "4.3", EntryPoint = "glFramebufferParameteri")] - public static - void FramebufferParameter(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferDefaultParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferParameteri((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferDefaultParameter)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void FramebufferParameter(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferDefaultParameter pname, Int32 param); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -64972,18 +37928,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferRenderbuffer")] - public static - void FramebufferRenderbuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void FramebufferRenderbuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, Int32 renderbuffer); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -65010,18 +37955,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferRenderbuffer")] - public static - void FramebufferRenderbuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void FramebufferRenderbuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); /// [requires: v3.2] /// Attach a level of a texture object as a logical buffer to the currently bound framebuffer object @@ -65052,18 +37986,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glFramebufferTexture")] - public static - void FramebufferTexture(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level); /// [requires: v3.2] /// Attach a level of a texture object as a logical buffer to the currently bound framebuffer object @@ -65095,111 +38018,34 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glFramebufferTexture")] - public static - void FramebufferTexture(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTexture1D")] - public static - void FramebufferTexture1D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture1D((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture1D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, Int32 texture, Int32 level); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTexture1D")] - public static - void FramebufferTexture1D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture1D((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture1D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTexture2D")] - public static - void FramebufferTexture2D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2D((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture2D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, Int32 texture, Int32 level); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTexture2D")] - public static - void FramebufferTexture2D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2D((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture2D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTexture3D")] - public static - void FramebufferTexture3D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, Int32 texture, Int32 level, Int32 zoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture3D((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture3D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, Int32 texture, Int32 level, Int32 zoffset); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTexture3D")] - public static - void FramebufferTexture3D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture3D((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture3D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Attach a single layer of a texture to a framebuffer @@ -65230,18 +38076,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTextureLayer")] - public static - void FramebufferTextureLayer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTextureLayer((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); - #if DEBUG - } - #endif - } + public static extern void FramebufferTextureLayer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Attach a single layer of a texture to a framebuffer @@ -65273,18 +38108,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTextureLayer")] - public static - void FramebufferTextureLayer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTextureLayer((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); - #if DEBUG - } - #endif - } + public static extern void FramebufferTextureLayer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); /// [requires: v1.0] /// Define front- and back-facing polygons @@ -65295,18 +38119,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFrontFace")] - public static - void FrontFace(OpenTK.Graphics.OpenGL.FrontFaceDirection mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFrontFace((OpenTK.Graphics.OpenGL.FrontFaceDirection)mode); - #if DEBUG - } - #endif - } + public static extern void FrontFace(OpenTK.Graphics.OpenGL.FrontFaceDirection mode); /// [requires: v1.0][deprecated: v3.2] /// Multiply the current matrix by a perspective matrix @@ -65327,18 +38140,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFrustum")] - public static - void Frustum(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFrustum((Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar); - #if DEBUG - } - #endif - } + public static extern void Frustum(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); /// [requires: v1.5] /// Generate buffer object names @@ -65354,25 +38156,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenBuffers")] - public static - Int32 GenBuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* buffers_ptr = &retval; - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenBuffer(); /// [requires: v1.5] /// Generate buffer object names @@ -65388,24 +38172,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenBuffers")] - public static - void GenBuffers(Int32 n, [OutAttribute] Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenBuffers(Int32 n, [OutAttribute] Int32[] buffers); /// [requires: v1.5] /// Generate buffer object names @@ -65421,25 +38188,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenBuffers")] - public static - void GenBuffers(Int32 n, [OutAttribute] out Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - { - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - buffers = *buffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenBuffers(Int32 n, [OutAttribute] out Int32 buffers); /// [requires: v1.5] /// Generate buffer object names @@ -65456,18 +38205,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenBuffers")] - public static - unsafe void GenBuffers(Int32 n, [OutAttribute] Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenBuffers(Int32 n, [OutAttribute] Int32* buffers); /// [requires: v1.5] /// Generate buffer object names @@ -65484,24 +38222,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenBuffers")] - public static - void GenBuffers(Int32 n, [OutAttribute] UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenBuffers(Int32 n, [OutAttribute] UInt32[] buffers); /// [requires: v1.5] /// Generate buffer object names @@ -65518,25 +38239,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenBuffers")] - public static - void GenBuffers(Int32 n, [OutAttribute] out UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - { - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - buffers = *buffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenBuffers(Int32 n, [OutAttribute] out UInt32 buffers); /// [requires: v1.5] /// Generate buffer object names @@ -65553,18 +38256,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenBuffers")] - public static - unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate mipmaps for a specified texture target @@ -65575,18 +38267,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenerateMipmap")] - public static - void GenerateMipmap(OpenTK.Graphics.OpenGL.GenerateMipmapTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenerateMipmap((OpenTK.Graphics.OpenGL.GenerateMipmapTarget)target); - #if DEBUG - } - #endif - } + public static extern void GenerateMipmap(OpenTK.Graphics.OpenGL.GenerateMipmapTarget target); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate framebuffer object names @@ -65602,25 +38283,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static - Int32 GenFramebuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* framebuffers_ptr = &retval; - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenFramebuffer(); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate framebuffer object names @@ -65636,24 +38299,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static - void GenFramebuffers(Int32 n, [OutAttribute] Int32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenFramebuffers(Int32 n, [OutAttribute] Int32[] framebuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate framebuffer object names @@ -65669,25 +38315,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static - void GenFramebuffers(Int32 n, [OutAttribute] out Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - { - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - framebuffers = *framebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenFramebuffers(Int32 n, [OutAttribute] out Int32 framebuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate framebuffer object names @@ -65704,18 +38332,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static - unsafe void GenFramebuffers(Int32 n, [OutAttribute] Int32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenFramebuffers(Int32 n, [OutAttribute] Int32* framebuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate framebuffer object names @@ -65732,24 +38349,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static - void GenFramebuffers(Int32 n, [OutAttribute] UInt32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = framebuffers) - { - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenFramebuffers(Int32 n, [OutAttribute] UInt32[] framebuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate framebuffer object names @@ -65766,25 +38366,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static - void GenFramebuffers(Int32 n, [OutAttribute] out UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = &framebuffers) - { - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - framebuffers = *framebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenFramebuffers(Int32 n, [OutAttribute] out UInt32 framebuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate framebuffer object names @@ -65801,18 +38383,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static - unsafe void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers); /// [requires: v1.0][deprecated: v3.2] /// Generate a contiguous set of empty display lists @@ -65823,18 +38394,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGenLists")] - public static - Int32 GenLists(Int32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGenLists((Int32)range); - #if DEBUG - } - #endif - } + public static extern Int32 GenLists(Int32 range); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Reserve program pipeline object names @@ -65850,25 +38410,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGenProgramPipelines")] - public static - Int32 GenProgramPipeline() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* pipelines_ptr = &retval; - Delegates.glGenProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenProgramPipeline(); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Reserve program pipeline object names @@ -65884,24 +38426,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGenProgramPipelines")] - public static - void GenProgramPipelines(Int32 n, [OutAttribute] Int32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = pipelines) - { - Delegates.glGenProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] Int32[] pipelines); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Reserve program pipeline object names @@ -65917,25 +38442,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGenProgramPipelines")] - public static - void GenProgramPipelines(Int32 n, [OutAttribute] out Int32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = &pipelines) - { - Delegates.glGenProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); - pipelines = *pipelines_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] out Int32 pipelines); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Reserve program pipeline object names @@ -65952,18 +38459,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGenProgramPipelines")] - public static - unsafe void GenProgramPipelines(Int32 n, [OutAttribute] Int32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenProgramPipelines((Int32)n, (UInt32*)pipelines); - #if DEBUG - } - #endif - } + public static extern unsafe void GenProgramPipelines(Int32 n, [OutAttribute] Int32* pipelines); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Reserve program pipeline object names @@ -65980,24 +38476,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGenProgramPipelines")] - public static - void GenProgramPipelines(Int32 n, [OutAttribute] UInt32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = pipelines) - { - Delegates.glGenProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] UInt32[] pipelines); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Reserve program pipeline object names @@ -66014,25 +38493,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGenProgramPipelines")] - public static - void GenProgramPipelines(Int32 n, [OutAttribute] out UInt32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = &pipelines) - { - Delegates.glGenProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); - pipelines = *pipelines_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] out UInt32 pipelines); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Reserve program pipeline object names @@ -66049,18 +38510,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGenProgramPipelines")] - public static - unsafe void GenProgramPipelines(Int32 n, [OutAttribute] UInt32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenProgramPipelines((Int32)n, (UInt32*)pipelines); - #if DEBUG - } - #endif - } + public static extern unsafe void GenProgramPipelines(Int32 n, [OutAttribute] UInt32* pipelines); /// [requires: v1.5] /// Generate query object names @@ -66076,25 +38526,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenQueries")] - public static - Int32 GenQuery() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* ids_ptr = &retval; - Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenQuery(); /// [requires: v1.5] /// Generate query object names @@ -66110,24 +38542,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenQueries")] - public static - void GenQueries(Int32 n, [OutAttribute] Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenQueries(Int32 n, [OutAttribute] Int32[] ids); /// [requires: v1.5] /// Generate query object names @@ -66143,25 +38558,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenQueries")] - public static - void GenQueries(Int32 n, [OutAttribute] out Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenQueries(Int32 n, [OutAttribute] out Int32 ids); /// [requires: v1.5] /// Generate query object names @@ -66178,18 +38575,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenQueries")] - public static - unsafe void GenQueries(Int32 n, [OutAttribute] Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenQueries((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void GenQueries(Int32 n, [OutAttribute] Int32* ids); /// [requires: v1.5] /// Generate query object names @@ -66206,24 +38592,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenQueries")] - public static - void GenQueries(Int32 n, [OutAttribute] UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenQueries(Int32 n, [OutAttribute] UInt32[] ids); /// [requires: v1.5] /// Generate query object names @@ -66240,25 +38609,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenQueries")] - public static - void GenQueries(Int32 n, [OutAttribute] out UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenQueries(Int32 n, [OutAttribute] out UInt32 ids); /// [requires: v1.5] /// Generate query object names @@ -66275,18 +38626,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenQueries")] - public static - unsafe void GenQueries(Int32 n, [OutAttribute] UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenQueries((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void GenQueries(Int32 n, [OutAttribute] UInt32* ids); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate renderbuffer object names @@ -66302,25 +38642,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static - Int32 GenRenderbuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* renderbuffers_ptr = &retval; - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenRenderbuffer(); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate renderbuffer object names @@ -66336,24 +38658,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static - void GenRenderbuffers(Int32 n, [OutAttribute] Int32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = renderbuffers) - { - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] Int32[] renderbuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate renderbuffer object names @@ -66369,25 +38674,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static - void GenRenderbuffers(Int32 n, [OutAttribute] out Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - renderbuffers = *renderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] out Int32 renderbuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate renderbuffer object names @@ -66404,18 +38691,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static - unsafe void GenRenderbuffers(Int32 n, [OutAttribute] Int32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenRenderbuffers(Int32 n, [OutAttribute] Int32* renderbuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate renderbuffer object names @@ -66432,24 +38708,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static - void GenRenderbuffers(Int32 n, [OutAttribute] UInt32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = renderbuffers) - { - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] UInt32[] renderbuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate renderbuffer object names @@ -66466,25 +38725,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static - void GenRenderbuffers(Int32 n, [OutAttribute] out UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - renderbuffers = *renderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] out UInt32 renderbuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate renderbuffer object names @@ -66501,18 +38742,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static - unsafe void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Generate sampler object names @@ -66528,25 +38758,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGenSamplers")] - public static - Int32 GenSampler() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 count = 1; - Int32 retval; - Int32* samplers_ptr = &retval; - Delegates.glGenSamplers((Int32)count, (UInt32*)samplers_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenSampler(); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Generate sampler object names @@ -66562,24 +38774,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGenSamplers")] - public static - void GenSamplers(Int32 count, [OutAttribute] Int32[] samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* samplers_ptr = samplers) - { - Delegates.glGenSamplers((Int32)count, (UInt32*)samplers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenSamplers(Int32 count, [OutAttribute] Int32[] samplers); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Generate sampler object names @@ -66595,25 +38790,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGenSamplers")] - public static - void GenSamplers(Int32 count, [OutAttribute] out Int32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* samplers_ptr = &samplers) - { - Delegates.glGenSamplers((Int32)count, (UInt32*)samplers_ptr); - samplers = *samplers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenSamplers(Int32 count, [OutAttribute] out Int32 samplers); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Generate sampler object names @@ -66630,18 +38807,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGenSamplers")] - public static - unsafe void GenSamplers(Int32 count, [OutAttribute] Int32* samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenSamplers((Int32)count, (UInt32*)samplers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenSamplers(Int32 count, [OutAttribute] Int32* samplers); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Generate sampler object names @@ -66658,24 +38824,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGenSamplers")] - public static - void GenSamplers(Int32 count, [OutAttribute] UInt32[] samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* samplers_ptr = samplers) - { - Delegates.glGenSamplers((Int32)count, (UInt32*)samplers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenSamplers(Int32 count, [OutAttribute] UInt32[] samplers); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Generate sampler object names @@ -66692,25 +38841,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGenSamplers")] - public static - void GenSamplers(Int32 count, [OutAttribute] out UInt32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* samplers_ptr = &samplers) - { - Delegates.glGenSamplers((Int32)count, (UInt32*)samplers_ptr); - samplers = *samplers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenSamplers(Int32 count, [OutAttribute] out UInt32 samplers); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Generate sampler object names @@ -66727,18 +38858,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGenSamplers")] - public static - unsafe void GenSamplers(Int32 count, [OutAttribute] UInt32* samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenSamplers((Int32)count, (UInt32*)samplers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenSamplers(Int32 count, [OutAttribute] UInt32* samplers); /// [requires: v1.1] /// Generate texture names @@ -66754,25 +38874,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGenTextures")] - public static - Int32 GenTexture() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* textures_ptr = &retval; - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenTexture(); /// [requires: v1.1] /// Generate texture names @@ -66788,24 +38890,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGenTextures")] - public static - void GenTextures(Int32 n, [OutAttribute] Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenTextures(Int32 n, [OutAttribute] Int32[] textures); /// [requires: v1.1] /// Generate texture names @@ -66821,25 +38906,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGenTextures")] - public static - void GenTextures(Int32 n, [OutAttribute] out Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - textures = *textures_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenTextures(Int32 n, [OutAttribute] out Int32 textures); /// [requires: v1.1] /// Generate texture names @@ -66856,18 +38923,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGenTextures")] - public static - unsafe void GenTextures(Int32 n, [OutAttribute] Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenTextures((Int32)n, (UInt32*)textures); - #if DEBUG - } - #endif - } + public static extern unsafe void GenTextures(Int32 n, [OutAttribute] Int32* textures); /// [requires: v1.1] /// Generate texture names @@ -66884,24 +38940,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGenTextures")] - public static - void GenTextures(Int32 n, [OutAttribute] UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenTextures(Int32 n, [OutAttribute] UInt32[] textures); /// [requires: v1.1] /// Generate texture names @@ -66918,25 +38957,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGenTextures")] - public static - void GenTextures(Int32 n, [OutAttribute] out UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - textures = *textures_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenTextures(Int32 n, [OutAttribute] out UInt32 textures); /// [requires: v1.1] /// Generate texture names @@ -66953,18 +38974,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGenTextures")] - public static - unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenTextures((Int32)n, (UInt32*)textures); - #if DEBUG - } - #endif - } + public static extern unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Reserve transform feedback object names @@ -66980,25 +38990,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glGenTransformFeedbacks")] - public static - Int32 GenTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* ids_ptr = &retval; - Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenTransformFeedback(); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Reserve transform feedback object names @@ -67014,24 +39006,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glGenTransformFeedbacks")] - public static - void GenTransformFeedbacks(Int32 n, [OutAttribute] Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenTransformFeedbacks(Int32 n, [OutAttribute] Int32[] ids); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Reserve transform feedback object names @@ -67047,25 +39022,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glGenTransformFeedbacks")] - public static - void GenTransformFeedbacks(Int32 n, [OutAttribute] out Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenTransformFeedbacks(Int32 n, [OutAttribute] out Int32 ids); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Reserve transform feedback object names @@ -67082,18 +39039,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glGenTransformFeedbacks")] - public static - unsafe void GenTransformFeedbacks(Int32 n, [OutAttribute] Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void GenTransformFeedbacks(Int32 n, [OutAttribute] Int32* ids); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Reserve transform feedback object names @@ -67110,24 +39056,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glGenTransformFeedbacks")] - public static - void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32[] ids); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Reserve transform feedback object names @@ -67144,25 +39073,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glGenTransformFeedbacks")] - public static - void GenTransformFeedbacks(Int32 n, [OutAttribute] out UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenTransformFeedbacks(Int32 n, [OutAttribute] out UInt32 ids); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Reserve transform feedback object names @@ -67179,18 +39090,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glGenTransformFeedbacks")] - public static - unsafe void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32* ids); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Generate vertex array object names @@ -67206,25 +39106,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static - Int32 GenVertexArray() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* arrays_ptr = &retval; - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenVertexArray(); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Generate vertex array object names @@ -67240,24 +39122,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static - void GenVertexArrays(Int32 n, [OutAttribute] Int32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenVertexArrays(Int32 n, [OutAttribute] Int32[] arrays); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Generate vertex array object names @@ -67273,25 +39138,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static - void GenVertexArrays(Int32 n, [OutAttribute] out Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = &arrays) - { - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr); - arrays = *arrays_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenVertexArrays(Int32 n, [OutAttribute] out Int32 arrays); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Generate vertex array object names @@ -67308,18 +39155,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static - unsafe void GenVertexArrays(Int32 n, [OutAttribute] Int32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } + public static extern unsafe void GenVertexArrays(Int32 n, [OutAttribute] Int32* arrays); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Generate vertex array object names @@ -67336,24 +39172,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static - void GenVertexArrays(Int32 n, [OutAttribute] UInt32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = arrays) - { - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenVertexArrays(Int32 n, [OutAttribute] UInt32[] arrays); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Generate vertex array object names @@ -67370,25 +39189,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static - void GenVertexArrays(Int32 n, [OutAttribute] out UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = &arrays) - { - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr); - arrays = *arrays_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenVertexArrays(Int32 n, [OutAttribute] out UInt32 arrays); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Generate vertex array object names @@ -67405,18 +39206,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static - unsafe void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } + public static extern unsafe void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays); /// [requires: v4.2 and ARB_shader_atomic_counters|VERSION_4_2] /// Retrieve information about the set of active atomic counter buffers for a program @@ -67442,24 +39232,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_atomic_counters|VERSION_4_2", Version = "4.2", EntryPoint = "glGetActiveAtomicCounterBufferiv")] - public static - void GetActiveAtomicCounterBuffer(Int32 program, Int32 bufferIndex, OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetActiveAtomicCounterBufferiv((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveAtomicCounterBuffer(Int32 program, Int32 bufferIndex, OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter pname, [OutAttribute] Int32[] @params); /// [requires: v4.2 and ARB_shader_atomic_counters|VERSION_4_2] /// Retrieve information about the set of active atomic counter buffers for a program @@ -67485,25 +39258,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_atomic_counters|VERSION_4_2", Version = "4.2", EntryPoint = "glGetActiveAtomicCounterBufferiv")] - public static - void GetActiveAtomicCounterBuffer(Int32 program, Int32 bufferIndex, OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetActiveAtomicCounterBufferiv((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveAtomicCounterBuffer(Int32 program, Int32 bufferIndex, OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter pname, [OutAttribute] out Int32 @params); /// [requires: v4.2 and ARB_shader_atomic_counters|VERSION_4_2] /// Retrieve information about the set of active atomic counter buffers for a program @@ -67530,18 +39285,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_atomic_counters|VERSION_4_2", Version = "4.2", EntryPoint = "glGetActiveAtomicCounterBufferiv")] - public static - unsafe void GetActiveAtomicCounterBuffer(Int32 program, Int32 bufferIndex, OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveAtomicCounterBufferiv((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveAtomicCounterBuffer(Int32 program, Int32 bufferIndex, OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter pname, [OutAttribute] Int32* @params); /// [requires: v4.2 and ARB_shader_atomic_counters|VERSION_4_2] /// Retrieve information about the set of active atomic counter buffers for a program @@ -67568,24 +39312,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_atomic_counters|VERSION_4_2", Version = "4.2", EntryPoint = "glGetActiveAtomicCounterBufferiv")] - public static - void GetActiveAtomicCounterBuffer(UInt32 program, UInt32 bufferIndex, OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetActiveAtomicCounterBufferiv((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveAtomicCounterBuffer(UInt32 program, UInt32 bufferIndex, OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter pname, [OutAttribute] Int32[] @params); /// [requires: v4.2 and ARB_shader_atomic_counters|VERSION_4_2] /// Retrieve information about the set of active atomic counter buffers for a program @@ -67612,25 +39339,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_atomic_counters|VERSION_4_2", Version = "4.2", EntryPoint = "glGetActiveAtomicCounterBufferiv")] - public static - void GetActiveAtomicCounterBuffer(UInt32 program, UInt32 bufferIndex, OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetActiveAtomicCounterBufferiv((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveAtomicCounterBuffer(UInt32 program, UInt32 bufferIndex, OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter pname, [OutAttribute] out Int32 @params); /// [requires: v4.2 and ARB_shader_atomic_counters|VERSION_4_2] /// Retrieve information about the set of active atomic counter buffers for a program @@ -67657,18 +39366,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_atomic_counters|VERSION_4_2", Version = "4.2", EntryPoint = "glGetActiveAtomicCounterBufferiv")] - public static - unsafe void GetActiveAtomicCounterBuffer(UInt32 program, UInt32 bufferIndex, OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveAtomicCounterBufferiv((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveAtomicCounterBuffer(UInt32 program, UInt32 bufferIndex, OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter pname, [OutAttribute] Int32* @params); /// [requires: v2.0] /// Returns information about an active attribute variable for the specified program object @@ -67709,29 +39407,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static - void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ActiveAttribType type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.OpenGL.ActiveAttribType* type_ptr = &type) - { - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.ActiveAttribType*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ActiveAttribType type, [OutAttribute] StringBuilder name); /// [requires: v2.0] /// Returns information about an active attribute variable for the specified program object @@ -67773,18 +39449,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static - unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveAttribType* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ActiveAttribType*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveAttribType* type, [OutAttribute] StringBuilder name); /// [requires: v2.0] /// Returns information about an active attribute variable for the specified program object @@ -67826,29 +39491,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static - void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ActiveAttribType type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.OpenGL.ActiveAttribType* type_ptr = &type) - { - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.ActiveAttribType*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ActiveAttribType type, [OutAttribute] StringBuilder name); /// [requires: v2.0] /// Returns information about an active attribute variable for the specified program object @@ -67890,18 +39533,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static - unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveAttribType* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ActiveAttribType*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveAttribType* type, [OutAttribute] StringBuilder name); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query the name of an active shader subroutine @@ -67937,25 +39569,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineName")] - public static - void GetActiveSubroutineName(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetActiveSubroutineName((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)name); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveSubroutineName(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder name); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query the name of an active shader subroutine @@ -67992,18 +39606,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineName")] - public static - unsafe void GetActiveSubroutineName(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveSubroutineName((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (Int32*)length, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveSubroutineName(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query the name of an active shader subroutine @@ -68040,25 +39643,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineName")] - public static - void GetActiveSubroutineName(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetActiveSubroutineName((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)name); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveSubroutineName(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder name); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query the name of an active shader subroutine @@ -68095,18 +39680,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineName")] - public static - unsafe void GetActiveSubroutineName(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveSubroutineName((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (Int32*)length, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveSubroutineName(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query a property of an active shader subroutine uniform @@ -68137,24 +39711,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformiv")] - public static - void GetActiveSubroutineUniform(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 index, OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter pname, [OutAttribute] Int32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* values_ptr = values) - { - Delegates.glGetActiveSubroutineUniformiv((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter)pname, (Int32*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveSubroutineUniform(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 index, OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter pname, [OutAttribute] Int32[] values); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query a property of an active shader subroutine uniform @@ -68185,25 +39742,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformiv")] - public static - void GetActiveSubroutineUniform(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 index, OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter pname, [OutAttribute] out Int32 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* values_ptr = &values) - { - Delegates.glGetActiveSubroutineUniformiv((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter)pname, (Int32*)values_ptr); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveSubroutineUniform(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 index, OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter pname, [OutAttribute] out Int32 values); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query a property of an active shader subroutine uniform @@ -68235,18 +39774,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformiv")] - public static - unsafe void GetActiveSubroutineUniform(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 index, OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter pname, [OutAttribute] Int32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveSubroutineUniformiv((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter)pname, (Int32*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveSubroutineUniform(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 index, OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter pname, [OutAttribute] Int32* values); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query a property of an active shader subroutine uniform @@ -68278,24 +39806,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformiv")] - public static - void GetActiveSubroutineUniform(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter pname, [OutAttribute] Int32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* values_ptr = values) - { - Delegates.glGetActiveSubroutineUniformiv((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter)pname, (Int32*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveSubroutineUniform(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter pname, [OutAttribute] Int32[] values); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query a property of an active shader subroutine uniform @@ -68327,25 +39838,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformiv")] - public static - void GetActiveSubroutineUniform(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter pname, [OutAttribute] out Int32 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* values_ptr = &values) - { - Delegates.glGetActiveSubroutineUniformiv((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter)pname, (Int32*)values_ptr); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveSubroutineUniform(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter pname, [OutAttribute] out Int32 values); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query a property of an active shader subroutine uniform @@ -68377,18 +39870,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformiv")] - public static - unsafe void GetActiveSubroutineUniform(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter pname, [OutAttribute] Int32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveSubroutineUniformiv((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter)pname, (Int32*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveSubroutineUniform(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter pname, [OutAttribute] Int32* values); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query the name of an active shader subroutine uniform @@ -68424,25 +39906,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformName")] - public static - void GetActiveSubroutineUniformName(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetActiveSubroutineUniformName((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)name); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveSubroutineUniformName(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder name); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query the name of an active shader subroutine uniform @@ -68479,18 +39943,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformName")] - public static - unsafe void GetActiveSubroutineUniformName(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveSubroutineUniformName((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (Int32*)length, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveSubroutineUniformName(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query the name of an active shader subroutine uniform @@ -68527,25 +39980,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformName")] - public static - void GetActiveSubroutineUniformName(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetActiveSubroutineUniformName((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)name); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveSubroutineUniformName(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder name); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query the name of an active shader subroutine uniform @@ -68582,18 +40017,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformName")] - public static - unsafe void GetActiveSubroutineUniformName(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveSubroutineUniformName((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (Int32*)length, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveSubroutineUniformName(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name); /// [requires: v2.0] /// Returns information about an active uniform variable for the specified program object @@ -68634,29 +40058,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static - void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ActiveUniformType type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.OpenGL.ActiveUniformType* type_ptr = &type) - { - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.ActiveUniformType*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ActiveUniformType type, [OutAttribute] StringBuilder name); /// [requires: v2.0] /// Returns information about an active uniform variable for the specified program object @@ -68698,18 +40100,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static - unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveUniformType* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ActiveUniformType*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveUniformType* type, [OutAttribute] StringBuilder name); /// [requires: v2.0] /// Returns information about an active uniform variable for the specified program object @@ -68751,29 +40142,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static - void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ActiveUniformType type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.OpenGL.ActiveUniformType* type_ptr = &type) - { - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.ActiveUniformType*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ActiveUniformType type, [OutAttribute] StringBuilder name); /// [requires: v2.0] /// Returns information about an active uniform variable for the specified program object @@ -68815,18 +40184,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static - unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveUniformType* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ActiveUniformType*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveUniformType* type, [OutAttribute] StringBuilder name); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query information about an active uniform block @@ -68852,24 +40210,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] - public static - void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter pname, [OutAttribute] Int32[] @params); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query information about an active uniform block @@ -68895,25 +40236,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] - public static - void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter pname, [OutAttribute] out Int32 @params); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query information about an active uniform block @@ -68940,18 +40263,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] - public static - unsafe void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query information about an active uniform block @@ -68978,24 +40290,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] - public static - void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter pname, [OutAttribute] Int32[] @params); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query information about an active uniform block @@ -69022,25 +40317,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] - public static - void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter pname, [OutAttribute] out Int32 @params); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query information about an active uniform block @@ -69067,18 +40344,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] - public static - unsafe void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the name of an active uniform block @@ -69109,25 +40375,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockName")] - public static - void GetActiveUniformBlockName(Int32 program, Int32 uniformBlockIndex, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)uniformBlockName); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniformBlockName(Int32 program, Int32 uniformBlockIndex, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder uniformBlockName); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the name of an active uniform block @@ -69159,18 +40407,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockName")] - public static - unsafe void GetActiveUniformBlockName(Int32 program, Int32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length, (StringBuilder)uniformBlockName); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniformBlockName(Int32 program, Int32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the name of an active uniform block @@ -69202,25 +40439,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockName")] - public static - void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)uniformBlockName); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder uniformBlockName); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the name of an active uniform block @@ -69252,18 +40471,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockName")] - public static - unsafe void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length, (StringBuilder)uniformBlockName); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query the name of an active uniform @@ -69294,25 +40502,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformName")] - public static - void GetActiveUniformName(Int32 program, Int32 uniformIndex, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder uniformName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetActiveUniformName((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)uniformName); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniformName(Int32 program, Int32 uniformIndex, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder uniformName); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query the name of an active uniform @@ -69344,18 +40534,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformName")] - public static - unsafe void GetActiveUniformName(Int32 program, Int32 uniformIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformName((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (Int32*)length, (StringBuilder)uniformName); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniformName(Int32 program, Int32 uniformIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformName); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query the name of an active uniform @@ -69387,25 +40566,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformName")] - public static - void GetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder uniformName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetActiveUniformName((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)uniformName); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder uniformName); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query the name of an active uniform @@ -69437,18 +40598,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformName")] - public static - unsafe void GetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformName((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (Int32*)length, (StringBuilder)uniformName); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformName); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Returns information about several active uniform variables for the specified program object @@ -69479,25 +40629,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] - public static - void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32[] uniformIndices, OpenTK.Graphics.OpenGL.ActiveUniformParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* uniformIndices_ptr = uniformIndices) - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.OpenGL.ActiveUniformParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32[] uniformIndices, OpenTK.Graphics.OpenGL.ActiveUniformParameter pname, [OutAttribute] Int32[] @params); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Returns information about several active uniform variables for the specified program object @@ -69528,26 +40660,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] - public static - void GetActiveUniforms(Int32 program, Int32 uniformCount, ref Int32 uniformIndices, OpenTK.Graphics.OpenGL.ActiveUniformParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* uniformIndices_ptr = &uniformIndices) - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.OpenGL.ActiveUniformParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniforms(Int32 program, Int32 uniformCount, ref Int32 uniformIndices, OpenTK.Graphics.OpenGL.ActiveUniformParameter pname, [OutAttribute] out Int32 @params); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Returns information about several active uniform variables for the specified program object @@ -69579,18 +40692,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] - public static - unsafe void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32* uniformIndices, OpenTK.Graphics.OpenGL.ActiveUniformParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices, (OpenTK.Graphics.OpenGL.ActiveUniformParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32* uniformIndices, OpenTK.Graphics.OpenGL.ActiveUniformParameter pname, [OutAttribute] Int32* @params); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Returns information about several active uniform variables for the specified program object @@ -69622,25 +40724,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] - public static - void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32[] uniformIndices, OpenTK.Graphics.OpenGL.ActiveUniformParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* uniformIndices_ptr = uniformIndices) - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.OpenGL.ActiveUniformParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32[] uniformIndices, OpenTK.Graphics.OpenGL.ActiveUniformParameter pname, [OutAttribute] Int32[] @params); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Returns information about several active uniform variables for the specified program object @@ -69672,26 +40756,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] - public static - void GetActiveUniforms(UInt32 program, Int32 uniformCount, ref UInt32 uniformIndices, OpenTK.Graphics.OpenGL.ActiveUniformParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* uniformIndices_ptr = &uniformIndices) - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.OpenGL.ActiveUniformParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniforms(UInt32 program, Int32 uniformCount, ref UInt32 uniformIndices, OpenTK.Graphics.OpenGL.ActiveUniformParameter pname, [OutAttribute] out Int32 @params); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Returns information about several active uniform variables for the specified program object @@ -69723,18 +40788,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] - public static - unsafe void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, OpenTK.Graphics.OpenGL.ActiveUniformParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices, (OpenTK.Graphics.OpenGL.ActiveUniformParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, OpenTK.Graphics.OpenGL.ActiveUniformParameter pname, [OutAttribute] Int32* @params); /// [requires: v2.0] /// Returns the handles of the shader objects attached to a program object @@ -69760,26 +40814,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static - void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] Int32[] shaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* shaders_ptr = shaders) - { - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)shaders_ptr); - count = *count_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] Int32[] shaders); /// [requires: v2.0] /// Returns the handles of the shader objects attached to a program object @@ -69805,27 +40840,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static - void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] out Int32 shaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* shaders_ptr = &shaders) - { - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)shaders_ptr); - count = *count_ptr; - shaders = *shaders_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] out Int32 shaders); /// [requires: v2.0] /// Returns the handles of the shader objects attached to a program object @@ -69852,18 +40867,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static - unsafe void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] Int32* shaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)shaders); - #if DEBUG - } - #endif - } + public static extern unsafe void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] Int32* shaders); /// [requires: v2.0] /// Returns the handles of the shader objects attached to a program object @@ -69890,26 +40894,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static - void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] UInt32[] shaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (UInt32* shaders_ptr = shaders) - { - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)shaders_ptr); - count = *count_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] UInt32[] shaders); /// [requires: v2.0] /// Returns the handles of the shader objects attached to a program object @@ -69936,27 +40921,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static - void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] out UInt32 shaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (UInt32* shaders_ptr = &shaders) - { - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)shaders_ptr); - count = *count_ptr; - shaders = *shaders_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] out UInt32 shaders); /// [requires: v2.0] /// Returns the handles of the shader objects attached to a program object @@ -69983,18 +40948,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static - unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)shaders); - #if DEBUG - } - #endif - } + public static extern unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders); /// [requires: v2.0] /// Returns the location of an attribute variable @@ -70010,18 +40964,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttribLocation")] - public static - Int32 GetAttribLocation(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetAttribLocation((UInt32)program, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetAttribLocation(Int32 program, String name); /// [requires: v2.0] /// Returns the location of an attribute variable @@ -70038,218 +40981,52 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttribLocation")] - public static - Int32 GetAttribLocation(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetAttribLocation((UInt32)program, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetAttribLocation(UInt32 program, String name); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetBooleani_v")] - public static - void GetBoolean(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetBooleani_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetBoolean(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] bool[] data); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetBooleani_v")] - public static - void GetBoolean(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] out bool data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetBooleani_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (bool*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetBoolean(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] out bool data); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetBooleani_v")] - public static - unsafe void GetBoolean(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBooleani_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (bool*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetBoolean(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] bool* data); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetBooleani_v")] - public static - void GetBoolean(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetBooleani_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetBoolean(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] bool[] data); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetBooleani_v")] - public static - void GetBoolean(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] out bool data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetBooleani_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (bool*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetBoolean(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] out bool data); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetBooleani_v")] - public static - unsafe void GetBoolean(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBooleani_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (bool*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetBoolean(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] bool* data); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")] - public static - bool GetBoolean(OpenTK.Graphics.OpenGL.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - bool retval; - bool* data_ptr = &retval; - Delegates.glGetBooleanv((OpenTK.Graphics.OpenGL.GetPName)pname, (bool*)data_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern bool GetBoolean(OpenTK.Graphics.OpenGL.GetPName pname); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")] - public static - void GetBoolean(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetBooleanv((OpenTK.Graphics.OpenGL.GetPName)pname, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetBoolean(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] bool[] data); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")] - public static - void GetBoolean(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] out bool data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetBooleanv((OpenTK.Graphics.OpenGL.GetPName)pname, (bool*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetBoolean(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] out bool data); /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")] - public static - unsafe void GetBoolean(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBooleanv((OpenTK.Graphics.OpenGL.GetPName)pname, (bool*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetBoolean(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] bool* data); /// [requires: v3.2] /// Return parameters of a buffer object @@ -70270,24 +41047,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetBufferParameteri64v")] - public static - void GetBufferParameter(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetBufferParameteri64v((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferParameterName)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetBufferParameter(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [OutAttribute] Int64[] @params); /// [requires: v3.2] /// Return parameters of a buffer object @@ -70308,25 +41068,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetBufferParameteri64v")] - public static - void GetBufferParameter(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetBufferParameteri64v((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferParameterName)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetBufferParameter(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [OutAttribute] out Int64 @params); /// [requires: v3.2] /// Return parameters of a buffer object @@ -70348,18 +41090,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetBufferParameteri64v")] - public static - unsafe void GetBufferParameter(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferParameteri64v((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferParameterName)pname, (Int64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetBufferParameter(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [OutAttribute] Int64* @params); /// [requires: v1.5] /// Return parameters of a buffer object @@ -70380,24 +41111,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferParameteriv")] - public static - void GetBufferParameter(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetBufferParameteriv((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetBufferParameter(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [OutAttribute] Int32[] @params); /// [requires: v1.5] /// Return parameters of a buffer object @@ -70418,25 +41132,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferParameteriv")] - public static - void GetBufferParameter(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetBufferParameteriv((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetBufferParameter(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [OutAttribute] out Int32 @params); /// [requires: v1.5] /// Return parameters of a buffer object @@ -70458,18 +41154,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferParameteriv")] - public static - unsafe void GetBufferParameter(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferParameteriv((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetBufferParameter(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [OutAttribute] Int32* @params); /// [requires: v1.5] /// Return the pointer to a mapped buffer object's data store @@ -70490,18 +41175,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferPointerv")] - public static - void GetBufferPointer(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferPointer pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferPointerv((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferPointer)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } + public static extern void GetBufferPointer(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferPointer pname, [OutAttribute] IntPtr @params); /// [requires: v1.5] /// Return the pointer to a mapped buffer object's data store @@ -70522,27 +41196,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferPointerv")] - public static - void GetBufferPointer(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferPointer pname, [InAttribute, OutAttribute] T2[] @params) + public static extern void GetBufferPointer(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferPointer pname, [InAttribute, OutAttribute] T2[] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointerv((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.5] /// Return the pointer to a mapped buffer object's data store @@ -70563,27 +41219,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferPointerv")] - public static - void GetBufferPointer(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferPointer pname, [InAttribute, OutAttribute] T2[,] @params) + public static extern void GetBufferPointer(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferPointer pname, [InAttribute, OutAttribute] T2[,] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointerv((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.5] /// Return the pointer to a mapped buffer object's data store @@ -70604,27 +41242,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferPointerv")] - public static - void GetBufferPointer(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferPointer pname, [InAttribute, OutAttribute] T2[,,] @params) + public static extern void GetBufferPointer(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferPointer pname, [InAttribute, OutAttribute] T2[,,] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointerv((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.5] /// Return the pointer to a mapped buffer object's data store @@ -70645,28 +41265,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferPointerv")] - public static - void GetBufferPointer(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferPointer pname, [InAttribute, OutAttribute] ref T2 @params) + public static extern void GetBufferPointer(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferPointer pname, [InAttribute, OutAttribute] ref T2 @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointerv((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - @params = (T2)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.5] /// Returns a subset of a buffer object's data store @@ -70692,18 +41293,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferSubData")] - public static - void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data); /// [requires: v1.5] /// Returns a subset of a buffer object's data store @@ -70729,27 +41319,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferSubData")] - public static - void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) + public static extern void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.5] /// Returns a subset of a buffer object's data store @@ -70775,27 +41347,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferSubData")] - public static - void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) + public static extern void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.5] /// Returns a subset of a buffer object's data store @@ -70821,27 +41375,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferSubData")] - public static - void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) + public static extern void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.5] /// Returns a subset of a buffer object's data store @@ -70867,28 +41403,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferSubData")] - public static - void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) + public static extern void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T3)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0][deprecated: v3.2] /// Return the coefficients of the specified clipping plane @@ -70904,24 +41421,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetClipPlane")] - public static - void GetClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, [OutAttribute] Double[] equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* equation_ptr = equation) - { - Delegates.glGetClipPlane((OpenTK.Graphics.OpenGL.ClipPlaneName)plane, (Double*)equation_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, [OutAttribute] Double[] equation); /// [requires: v1.0][deprecated: v3.2] /// Return the coefficients of the specified clipping plane @@ -70937,25 +41437,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetClipPlane")] - public static - void GetClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, [OutAttribute] out Double equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* equation_ptr = &equation) - { - Delegates.glGetClipPlane((OpenTK.Graphics.OpenGL.ClipPlaneName)plane, (Double*)equation_ptr); - equation = *equation_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, [OutAttribute] out Double equation); /// [requires: v1.0][deprecated: v3.2] /// Return the coefficients of the specified clipping plane @@ -70972,18 +41454,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetClipPlane")] - public static - unsafe void GetClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, [OutAttribute] Double* equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetClipPlane((OpenTK.Graphics.OpenGL.ClipPlaneName)plane, (Double*)equation); - #if DEBUG - } - #endif - } + public static extern unsafe void GetClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, [OutAttribute] Double* equation); /// /// Retrieve contents of a color lookup table @@ -71009,18 +41480,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTable")] - public static - void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr table) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetColorTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table); - #if DEBUG - } - #endif - } + public static extern void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr table); /// /// Retrieve contents of a color lookup table @@ -71046,27 +41506,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTable")] - public static - void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] table) + public static extern void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] table) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetColorTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Retrieve contents of a color lookup table @@ -71092,27 +41534,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTable")] - public static - void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] table) + public static extern void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] table) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetColorTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Retrieve contents of a color lookup table @@ -71138,27 +41562,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTable")] - public static - void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,,] table) + public static extern void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,,] table) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetColorTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Retrieve contents of a color lookup table @@ -71184,28 +41590,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTable")] - public static - void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 table) + public static extern void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 table) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetColorTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - table = (T3)table_ptr.Target; - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Get color lookup table parameters @@ -71226,24 +41613,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTableParameterfv")] - public static - void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetColorTableParameterfv((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Single[] @params); /// /// Get color lookup table parameters @@ -71264,25 +41634,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTableParameterfv")] - public static - void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetColorTableParameterfv((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] out Single @params); /// /// Get color lookup table parameters @@ -71304,18 +41656,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTableParameterfv")] - public static - unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetColorTableParameterfv((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Single* @params); /// /// Get color lookup table parameters @@ -71336,24 +41677,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTableParameteriv")] - public static - void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetColorTableParameteriv((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Int32[] @params); /// /// Get color lookup table parameters @@ -71374,25 +41698,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTableParameteriv")] - public static - void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetColorTableParameteriv((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] out Int32 @params); /// /// Get color lookup table parameters @@ -71414,18 +41720,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTableParameteriv")] - public static - unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetColorTableParameteriv((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Int32* @params); /// [requires: v1.3] /// Return a compressed texture image @@ -71446,18 +41741,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] - public static - void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [OutAttribute] IntPtr img) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetCompressedTexImage((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img); - #if DEBUG - } - #endif - } + public static extern void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [OutAttribute] IntPtr img); /// [requires: v1.3] /// Return a compressed texture image @@ -71478,27 +41762,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] - public static - void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [InAttribute, OutAttribute] T2[] img) + public static extern void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [InAttribute, OutAttribute] T2[] img) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTexImage((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Return a compressed texture image @@ -71519,27 +41785,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] - public static - void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [InAttribute, OutAttribute] T2[,] img) + public static extern void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [InAttribute, OutAttribute] T2[,] img) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTexImage((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Return a compressed texture image @@ -71560,27 +41808,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] - public static - void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [InAttribute, OutAttribute] T2[,,] img) + public static extern void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [InAttribute, OutAttribute] T2[,,] img) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTexImage((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Return a compressed texture image @@ -71601,28 +41831,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] - public static - void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [InAttribute, OutAttribute] ref T2 img) + public static extern void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [InAttribute, OutAttribute] ref T2 img) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTexImage((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); - img = (T2)img_ptr.Target; - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Get current 1D or 2D convolution filter kernel @@ -71648,18 +41859,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionFilter")] - public static - void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetConvolutionFilter((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); - #if DEBUG - } - #endif - } + public static extern void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr image); /// /// Get current 1D or 2D convolution filter kernel @@ -71685,27 +41885,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionFilter")] - public static - void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] image) + public static extern void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] image) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetConvolutionFilter((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Get current 1D or 2D convolution filter kernel @@ -71731,27 +41913,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionFilter")] - public static - void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] image) + public static extern void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] image) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetConvolutionFilter((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Get current 1D or 2D convolution filter kernel @@ -71777,27 +41941,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionFilter")] - public static - void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,,] image) + public static extern void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,,] image) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetConvolutionFilter((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Get current 1D or 2D convolution filter kernel @@ -71823,28 +41969,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionFilter")] - public static - void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 image) + public static extern void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 image) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetConvolutionFilter((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - image = (T3)image_ptr.Target; - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Get convolution parameters @@ -71865,24 +41992,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionParameterfv")] - public static - void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetConvolutionParameterfv((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.GetConvolutionParameterPName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] Single[] @params); /// /// Get convolution parameters @@ -71903,25 +42013,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionParameterfv")] - public static - void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetConvolutionParameterfv((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.GetConvolutionParameterPName)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] out Single @params); /// /// Get convolution parameters @@ -71943,18 +42035,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionParameterfv")] - public static - unsafe void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetConvolutionParameterfv((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.GetConvolutionParameterPName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] Single* @params); /// /// Get convolution parameters @@ -71975,24 +42056,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionParameteriv")] - public static - void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.GetConvolutionParameterPName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] Int32[] @params); /// /// Get convolution parameters @@ -72013,25 +42077,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionParameteriv")] - public static - void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.GetConvolutionParameterPName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] out Int32 @params); /// /// Get convolution parameters @@ -72053,18 +42099,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionParameteriv")] - public static - unsafe void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.GetConvolutionParameterPName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] Int32* @params); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve messages from the debug message log @@ -72110,28 +42145,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")] - public static - Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSource[] sources, [OutAttribute] OpenTK.Graphics.OpenGL.DebugType[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.DebugSource* sources_ptr = sources) - fixed (OpenTK.Graphics.OpenGL.DebugType* types_ptr = types) - fixed (Int32* ids_ptr = ids) - fixed (OpenTK.Graphics.OpenGL.DebugSeverity* severities_ptr = severities) - fixed (Int32* lengths_ptr = lengths) - { - return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.DebugSource*)sources_ptr, (OpenTK.Graphics.OpenGL.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSource[] sources, [OutAttribute] OpenTK.Graphics.OpenGL.DebugType[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve messages from the debug message log @@ -72177,34 +42191,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")] - public static - Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL.DebugSource sources, [OutAttribute] out OpenTK.Graphics.OpenGL.DebugType types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.DebugSource* sources_ptr = &sources) - fixed (OpenTK.Graphics.OpenGL.DebugType* types_ptr = &types) - fixed (Int32* ids_ptr = &ids) - fixed (OpenTK.Graphics.OpenGL.DebugSeverity* severities_ptr = &severities) - fixed (Int32* lengths_ptr = &lengths) - { - Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.DebugSource*)sources_ptr, (OpenTK.Graphics.OpenGL.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL.DebugSource sources, [OutAttribute] out OpenTK.Graphics.OpenGL.DebugType types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve messages from the debug message log @@ -72251,18 +42238,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")] - public static - unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSource* sources, [OutAttribute] OpenTK.Graphics.OpenGL.DebugType* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.DebugSource*)sources, (OpenTK.Graphics.OpenGL.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSource* sources, [OutAttribute] OpenTK.Graphics.OpenGL.DebugType* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve messages from the debug message log @@ -72309,28 +42285,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")] - public static - Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSource[] sources, [OutAttribute] OpenTK.Graphics.OpenGL.DebugType[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.DebugSource* sources_ptr = sources) - fixed (OpenTK.Graphics.OpenGL.DebugType* types_ptr = types) - fixed (UInt32* ids_ptr = ids) - fixed (OpenTK.Graphics.OpenGL.DebugSeverity* severities_ptr = severities) - fixed (Int32* lengths_ptr = lengths) - { - return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.DebugSource*)sources_ptr, (OpenTK.Graphics.OpenGL.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSource[] sources, [OutAttribute] OpenTK.Graphics.OpenGL.DebugType[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve messages from the debug message log @@ -72377,34 +42332,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")] - public static - Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL.DebugSource sources, [OutAttribute] out OpenTK.Graphics.OpenGL.DebugType types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.DebugSource* sources_ptr = &sources) - fixed (OpenTK.Graphics.OpenGL.DebugType* types_ptr = &types) - fixed (UInt32* ids_ptr = &ids) - fixed (OpenTK.Graphics.OpenGL.DebugSeverity* severities_ptr = &severities) - fixed (Int32* lengths_ptr = &lengths) - { - Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.DebugSource*)sources_ptr, (OpenTK.Graphics.OpenGL.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL.DebugSource sources, [OutAttribute] out OpenTK.Graphics.OpenGL.DebugType types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve messages from the debug message log @@ -72451,428 +42379,103 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")] - public static - unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSource* sources, [OutAttribute] OpenTK.Graphics.OpenGL.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.DebugSource*)sources, (OpenTK.Graphics.OpenGL.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSource* sources, [OutAttribute] OpenTK.Graphics.OpenGL.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glGetDoublei_v")] - public static - void GetDouble(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Double[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* data_ptr = data) - { - Delegates.glGetDoublei_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Double*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetDouble(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Double[] data); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glGetDoublei_v")] - public static - void GetDouble(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] out Double data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* data_ptr = &data) - { - Delegates.glGetDoublei_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Double*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetDouble(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] out Double data); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glGetDoublei_v")] - public static - unsafe void GetDouble(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Double* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetDoublei_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Double*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetDouble(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Double* data); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glGetDoublei_v")] - public static - void GetDouble(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Double[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* data_ptr = data) - { - Delegates.glGetDoublei_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Double*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetDouble(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Double[] data); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glGetDoublei_v")] - public static - void GetDouble(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] out Double data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* data_ptr = &data) - { - Delegates.glGetDoublei_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Double*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetDouble(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] out Double data); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glGetDoublei_v")] - public static - unsafe void GetDouble(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Double* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetDoublei_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Double*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetDouble(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Double* data); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetDoublev")] - public static - Double GetDouble(OpenTK.Graphics.OpenGL.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Double retval; - Double* data_ptr = &retval; - Delegates.glGetDoublev((OpenTK.Graphics.OpenGL.GetPName)pname, (Double*)data_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Double GetDouble(OpenTK.Graphics.OpenGL.GetPName pname); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetDoublev")] - public static - void GetDouble(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Double[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* data_ptr = data) - { - Delegates.glGetDoublev((OpenTK.Graphics.OpenGL.GetPName)pname, (Double*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetDouble(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Double[] data); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetDoublev")] - public static - void GetDouble(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] out Double data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* data_ptr = &data) - { - Delegates.glGetDoublev((OpenTK.Graphics.OpenGL.GetPName)pname, (Double*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetDouble(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] out Double data); /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetDoublev")] - public static - unsafe void GetDouble(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Double* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetDoublev((OpenTK.Graphics.OpenGL.GetPName)pname, (Double*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetDouble(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Double* data); /// [requires: v1.0] /// Return error information /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetError")] - public static - OpenTK.Graphics.OpenGL.ErrorCode GetError() - { - return Delegates.glGetError(); - } + public static extern OpenTK.Graphics.OpenGL.ErrorCode GetError(); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glGetFloati_v")] - public static - void GetFloat(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - Delegates.glGetFloati_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Single*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFloat(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Single[] data); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glGetFloati_v")] - public static - void GetFloat(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] out Single data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = &data) - { - Delegates.glGetFloati_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Single*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFloat(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] out Single data); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glGetFloati_v")] - public static - unsafe void GetFloat(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFloati_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Single*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFloat(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Single* data); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glGetFloati_v")] - public static - void GetFloat(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - Delegates.glGetFloati_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Single*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFloat(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Single[] data); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glGetFloati_v")] - public static - void GetFloat(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] out Single data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = &data) - { - Delegates.glGetFloati_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Single*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFloat(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] out Single data); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glGetFloati_v")] - public static - unsafe void GetFloat(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFloati_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Single*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFloat(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Single* data); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetFloatv")] - public static - Single GetFloat(OpenTK.Graphics.OpenGL.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* data_ptr = &retval; - Delegates.glGetFloatv((OpenTK.Graphics.OpenGL.GetPName)pname, (Single*)data_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Single GetFloat(OpenTK.Graphics.OpenGL.GetPName pname); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetFloatv")] - public static - void GetFloat(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - Delegates.glGetFloatv((OpenTK.Graphics.OpenGL.GetPName)pname, (Single*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFloat(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Single[] data); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetFloatv")] - public static - void GetFloat(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] out Single data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = &data) - { - Delegates.glGetFloatv((OpenTK.Graphics.OpenGL.GetPName)pname, (Single*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFloat(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] out Single data); /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetFloatv")] - public static - unsafe void GetFloat(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFloatv((OpenTK.Graphics.OpenGL.GetPName)pname, (Single*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFloat(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Single* data); /// [requires: v3.3 and ARB_blend_func_extended|VERSION_3_3] /// Query the bindings of color indices to user-defined varying out variables @@ -72888,18 +42491,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_blend_func_extended|VERSION_3_3", Version = "3.3", EntryPoint = "glGetFragDataIndex")] - public static - Int32 GetFragDataIndex(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetFragDataIndex((UInt32)program, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetFragDataIndex(Int32 program, String name); /// [requires: v3.3 and ARB_blend_func_extended|VERSION_3_3] /// Query the bindings of color indices to user-defined varying out variables @@ -72916,18 +42508,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_blend_func_extended|VERSION_3_3", Version = "3.3", EntryPoint = "glGetFragDataIndex")] - public static - Int32 GetFragDataIndex(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetFragDataIndex((UInt32)program, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetFragDataIndex(UInt32 program, String name); /// [requires: v3.0] /// Query the bindings of color numbers to user-defined varying out variables @@ -72943,18 +42524,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetFragDataLocation")] - public static - Int32 GetFragDataLocation(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetFragDataLocation((UInt32)program, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetFragDataLocation(Int32 program, String name); /// [requires: v3.0] /// Query the bindings of color numbers to user-defined varying out variables @@ -72971,18 +42541,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetFragDataLocation")] - public static - Int32 GetFragDataLocation(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetFragDataLocation((UInt32)program, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetFragDataLocation(UInt32 program, String name); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Retrieve information about attachments of a bound framebuffer object @@ -73008,24 +42567,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static - void GetFramebufferAttachmentParameter(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.FramebufferParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFramebufferAttachmentParameter(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, [OutAttribute] Int32[] @params); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Retrieve information about attachments of a bound framebuffer object @@ -73051,25 +42593,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static - void GetFramebufferAttachmentParameter(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.FramebufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFramebufferAttachmentParameter(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, [OutAttribute] out Int32 @params); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Retrieve information about attachments of a bound framebuffer object @@ -73096,18 +42620,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static - unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.FramebufferParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, [OutAttribute] Int32* @params); /// [requires: v4.3 and ARB_framebuffer_no_attachments|VERSION_4_3] /// Retrieve a named parameter from a framebuffer @@ -73128,24 +42641,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_no_attachments|VERSION_4_3", Version = "4.3", EntryPoint = "glGetFramebufferParameteriv")] - public static - void GetFramebufferParameter(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferDefaultParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFramebufferParameteriv((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferDefaultParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFramebufferParameter(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferDefaultParameter pname, [OutAttribute] Int32[] @params); /// [requires: v4.3 and ARB_framebuffer_no_attachments|VERSION_4_3] /// Retrieve a named parameter from a framebuffer @@ -73166,25 +42662,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_no_attachments|VERSION_4_3", Version = "4.3", EntryPoint = "glGetFramebufferParameteriv")] - public static - void GetFramebufferParameter(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferDefaultParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFramebufferParameteriv((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferDefaultParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFramebufferParameter(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferDefaultParameter pname, [OutAttribute] out Int32 @params); /// [requires: v4.3 and ARB_framebuffer_no_attachments|VERSION_4_3] /// Retrieve a named parameter from a framebuffer @@ -73206,18 +42684,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_no_attachments|VERSION_4_3", Version = "4.3", EntryPoint = "glGetFramebufferParameteriv")] - public static - unsafe void GetFramebufferParameter(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferDefaultParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFramebufferParameteriv((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferDefaultParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFramebufferParameter(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferDefaultParameter pname, [OutAttribute] Int32* @params); /// /// Get histogram table @@ -73248,18 +42715,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogram")] - public static - void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetHistogram((OpenTK.Graphics.OpenGL.HistogramTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values); - #if DEBUG - } - #endif - } + public static extern void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values); /// /// Get histogram table @@ -73290,27 +42746,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogram")] - public static - void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[] values) + public static extern void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[] values) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetHistogram((OpenTK.Graphics.OpenGL.HistogramTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Get histogram table @@ -73341,27 +42779,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogram")] - public static - void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,] values) + public static extern void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,] values) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetHistogram((OpenTK.Graphics.OpenGL.HistogramTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Get histogram table @@ -73392,27 +42812,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogram")] - public static - void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,,] values) + public static extern void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,,] values) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetHistogram((OpenTK.Graphics.OpenGL.HistogramTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Get histogram table @@ -73443,28 +42845,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogram")] - public static - void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 values) + public static extern void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 values) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetHistogram((OpenTK.Graphics.OpenGL.HistogramTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - values = (T4)values_ptr.Target; - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Get histogram parameters @@ -73485,24 +42868,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogramParameterfv")] - public static - void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetHistogramParameterfv((OpenTK.Graphics.OpenGL.HistogramTarget)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] Single[] @params); /// /// Get histogram parameters @@ -73523,25 +42889,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogramParameterfv")] - public static - void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetHistogramParameterfv((OpenTK.Graphics.OpenGL.HistogramTarget)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPName)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] out Single @params); /// /// Get histogram parameters @@ -73563,18 +42911,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogramParameterfv")] - public static - unsafe void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetHistogramParameterfv((OpenTK.Graphics.OpenGL.HistogramTarget)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] Single* @params); /// /// Get histogram parameters @@ -73595,24 +42932,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogramParameteriv")] - public static - void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetHistogramParameteriv((OpenTK.Graphics.OpenGL.HistogramTarget)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] Int32[] @params); /// /// Get histogram parameters @@ -73633,25 +42953,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogramParameteriv")] - public static - void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetHistogramParameteriv((OpenTK.Graphics.OpenGL.HistogramTarget)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] out Int32 @params); /// /// Get histogram parameters @@ -73673,687 +42975,165 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogramParameteriv")] - public static - unsafe void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetHistogramParameteriv((OpenTK.Graphics.OpenGL.HistogramTarget)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] Int32* @params); /// [requires: v3.2] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static - void GetInteger64(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Int64[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = data) - { - Delegates.glGetInteger64i_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Int64[] data); /// [requires: v3.2] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static - void GetInteger64(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] out Int64 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = &data) - { - Delegates.glGetInteger64i_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] out Int64 data); /// [requires: v3.2] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static - unsafe void GetInteger64(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Int64* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInteger64i_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int64*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger64(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Int64* data); /// [requires: v3.2] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static - void GetInteger64(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int64[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = data) - { - Delegates.glGetInteger64i_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int64[] data); /// [requires: v3.2] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static - void GetInteger64(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] out Int64 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = &data) - { - Delegates.glGetInteger64i_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] out Int64 data); /// [requires: v3.2] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static - unsafe void GetInteger64(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int64* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInteger64i_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int64*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger64(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int64* data); /// [requires: v3.2] [Obsolete("Use GetIndexedPName overload instead")] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static - void GetInteger64(OpenTK.Graphics.OpenGL.Version32 target, Int32 index, [OutAttribute] Int64[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = data) - { - Delegates.glGetInteger64i_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.OpenGL.Version32 target, Int32 index, [OutAttribute] Int64[] data); /// [requires: v3.2] [Obsolete("Use GetIndexedPName overload instead")] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static - void GetInteger64(OpenTK.Graphics.OpenGL.Version32 target, Int32 index, [OutAttribute] out Int64 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = &data) - { - Delegates.glGetInteger64i_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.OpenGL.Version32 target, Int32 index, [OutAttribute] out Int64 data); /// [requires: v3.2] [Obsolete("Use GetIndexedPName overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static - unsafe void GetInteger64(OpenTK.Graphics.OpenGL.Version32 target, Int32 index, [OutAttribute] Int64* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInteger64i_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int64*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger64(OpenTK.Graphics.OpenGL.Version32 target, Int32 index, [OutAttribute] Int64* data); /// [requires: v3.2] [Obsolete("Use GetIndexedPName overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static - void GetInteger64(OpenTK.Graphics.OpenGL.Version32 target, UInt32 index, [OutAttribute] Int64[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = data) - { - Delegates.glGetInteger64i_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.OpenGL.Version32 target, UInt32 index, [OutAttribute] Int64[] data); /// [requires: v3.2] [Obsolete("Use GetIndexedPName overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static - void GetInteger64(OpenTK.Graphics.OpenGL.Version32 target, UInt32 index, [OutAttribute] out Int64 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = &data) - { - Delegates.glGetInteger64i_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.OpenGL.Version32 target, UInt32 index, [OutAttribute] out Int64 data); /// [requires: v3.2] [Obsolete("Use GetIndexedPName overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static - unsafe void GetInteger64(OpenTK.Graphics.OpenGL.Version32 target, UInt32 index, [OutAttribute] Int64* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInteger64i_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int64*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger64(OpenTK.Graphics.OpenGL.Version32 target, UInt32 index, [OutAttribute] Int64* data); /// [requires: v3.2 and ARB_sync|VERSION_3_2] [Obsolete("Use GetPName overload instead")] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64v")] - public static - Int64 GetInteger64(OpenTK.Graphics.OpenGL.ArbSync pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int64 retval; - Int64* data_ptr = &retval; - Delegates.glGetInteger64v((OpenTK.Graphics.OpenGL.GetPName)pname, (Int64*)data_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int64 GetInteger64(OpenTK.Graphics.OpenGL.ArbSync pname); /// [requires: v3.2 and ARB_sync|VERSION_3_2] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64v")] - public static - Int64 GetInteger64(OpenTK.Graphics.OpenGL.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int64 retval; - Int64* data_ptr = &retval; - Delegates.glGetInteger64v((OpenTK.Graphics.OpenGL.GetPName)pname, (Int64*)data_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int64 GetInteger64(OpenTK.Graphics.OpenGL.GetPName pname); /// [requires: v3.2 and ARB_sync|VERSION_3_2] [Obsolete("Use GetPName overload instead")] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64v")] - public static - void GetInteger64(OpenTK.Graphics.OpenGL.ArbSync pname, [OutAttribute] Int64[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = data) - { - Delegates.glGetInteger64v((OpenTK.Graphics.OpenGL.GetPName)pname, (Int64*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.OpenGL.ArbSync pname, [OutAttribute] Int64[] data); /// [requires: v3.2 and ARB_sync|VERSION_3_2] [Obsolete("Use GetPName overload instead")] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64v")] - public static - void GetInteger64(OpenTK.Graphics.OpenGL.ArbSync pname, [OutAttribute] out Int64 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = &data) - { - Delegates.glGetInteger64v((OpenTK.Graphics.OpenGL.GetPName)pname, (Int64*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.OpenGL.ArbSync pname, [OutAttribute] out Int64 data); /// [requires: v3.2 and ARB_sync|VERSION_3_2] [Obsolete("Use GetPName overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64v")] - public static - unsafe void GetInteger64(OpenTK.Graphics.OpenGL.ArbSync pname, [OutAttribute] Int64* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInteger64v((OpenTK.Graphics.OpenGL.GetPName)pname, (Int64*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger64(OpenTK.Graphics.OpenGL.ArbSync pname, [OutAttribute] Int64* data); /// [requires: v3.2 and ARB_sync|VERSION_3_2] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64v")] - public static - void GetInteger64(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Int64[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = data) - { - Delegates.glGetInteger64v((OpenTK.Graphics.OpenGL.GetPName)pname, (Int64*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Int64[] data); /// [requires: v3.2 and ARB_sync|VERSION_3_2] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64v")] - public static - void GetInteger64(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] out Int64 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = &data) - { - Delegates.glGetInteger64v((OpenTK.Graphics.OpenGL.GetPName)pname, (Int64*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] out Int64 data); /// [requires: v3.2 and ARB_sync|VERSION_3_2] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64v")] - public static - unsafe void GetInteger64(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Int64* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInteger64v((OpenTK.Graphics.OpenGL.GetPName)pname, (Int64*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger64(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Int64* data); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - void GetInteger(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegeri_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Int32[] data); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - void GetInteger(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetIntegeri_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] out Int32 data); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - unsafe void GetInteger(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegeri_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Int32* data); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - void GetInteger(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegeri_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int32[] data); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - void GetInteger(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetIntegeri_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] out Int32 data); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - unsafe void GetInteger(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegeri_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")] - public static - Int32 GetInteger(OpenTK.Graphics.OpenGL.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int32 retval; - Int32* data_ptr = &retval; - Delegates.glGetIntegerv((OpenTK.Graphics.OpenGL.GetPName)pname, (Int32*)data_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GetInteger(OpenTK.Graphics.OpenGL.GetPName pname); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")] - public static - void GetInteger(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegerv((OpenTK.Graphics.OpenGL.GetPName)pname, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Int32[] data); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")] - public static - void GetInteger(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetIntegerv((OpenTK.Graphics.OpenGL.GetPName)pname, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] out Int32 data); /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")] - public static - unsafe void GetInteger(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegerv((OpenTK.Graphics.OpenGL.GetPName)pname, (Int32*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Int32* data); /// [requires: v4.3 and ARB_internalformat_query2|VERSION_4_3] [AutoGenerated(Category = "ARB_internalformat_query2|VERSION_4_3", Version = "4.3", EntryPoint = "glGetInternalformati64v")] - public static - void GetInternalformat(OpenTK.Graphics.OpenGL.ImageTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetInternalformati64v((OpenTK.Graphics.OpenGL.ImageTarget)target, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (OpenTK.Graphics.OpenGL.InternalFormatParameter)pname, (Int32)bufSize, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInternalformat(OpenTK.Graphics.OpenGL.ImageTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int64[] @params); /// [requires: v4.3 and ARB_internalformat_query2|VERSION_4_3] [AutoGenerated(Category = "ARB_internalformat_query2|VERSION_4_3", Version = "4.3", EntryPoint = "glGetInternalformati64v")] - public static - void GetInternalformat(OpenTK.Graphics.OpenGL.ImageTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetInternalformati64v((OpenTK.Graphics.OpenGL.ImageTarget)target, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (OpenTK.Graphics.OpenGL.InternalFormatParameter)pname, (Int32)bufSize, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInternalformat(OpenTK.Graphics.OpenGL.ImageTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] out Int64 @params); /// [requires: v4.3 and ARB_internalformat_query2|VERSION_4_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_internalformat_query2|VERSION_4_3", Version = "4.3", EntryPoint = "glGetInternalformati64v")] - public static - unsafe void GetInternalformat(OpenTK.Graphics.OpenGL.ImageTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInternalformati64v((OpenTK.Graphics.OpenGL.ImageTarget)target, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (OpenTK.Graphics.OpenGL.InternalFormatParameter)pname, (Int32)bufSize, (Int64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInternalformat(OpenTK.Graphics.OpenGL.ImageTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int64* @params); /// [requires: v4.2 and ARB_internalformat_query|VERSION_4_2] /// Retrieve information about implementation-dependent support for internal formats @@ -74384,24 +43164,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_internalformat_query|VERSION_4_2", Version = "4.2", EntryPoint = "glGetInternalformativ")] - public static - void GetInternalformat(OpenTK.Graphics.OpenGL.ImageTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetInternalformativ((OpenTK.Graphics.OpenGL.ImageTarget)target, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (OpenTK.Graphics.OpenGL.InternalFormatParameter)pname, (Int32)bufSize, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInternalformat(OpenTK.Graphics.OpenGL.ImageTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int32[] @params); /// [requires: v4.2 and ARB_internalformat_query|VERSION_4_2] /// Retrieve information about implementation-dependent support for internal formats @@ -74432,25 +43195,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_internalformat_query|VERSION_4_2", Version = "4.2", EntryPoint = "glGetInternalformativ")] - public static - void GetInternalformat(OpenTK.Graphics.OpenGL.ImageTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetInternalformativ((OpenTK.Graphics.OpenGL.ImageTarget)target, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (OpenTK.Graphics.OpenGL.InternalFormatParameter)pname, (Int32)bufSize, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInternalformat(OpenTK.Graphics.OpenGL.ImageTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] out Int32 @params); /// [requires: v4.2 and ARB_internalformat_query|VERSION_4_2] /// Retrieve information about implementation-dependent support for internal formats @@ -74482,18 +43227,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_internalformat_query|VERSION_4_2", Version = "4.2", EntryPoint = "glGetInternalformativ")] - public static - unsafe void GetInternalformat(OpenTK.Graphics.OpenGL.ImageTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInternalformativ((OpenTK.Graphics.OpenGL.ImageTarget)target, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (OpenTK.Graphics.OpenGL.InternalFormatParameter)pname, (Int32)bufSize, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInternalformat(OpenTK.Graphics.OpenGL.ImageTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int32* @params); /// [requires: v1.0][deprecated: v3.2] /// Return light source parameter values @@ -74514,24 +43248,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetLightfv")] - public static - void GetLight(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetLightfv((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetLight(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [OutAttribute] Single[] @params); /// [requires: v1.0][deprecated: v3.2] /// Return light source parameter values @@ -74552,25 +43269,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetLightfv")] - public static - void GetLight(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetLightfv((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetLight(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [OutAttribute] out Single @params); /// [requires: v1.0][deprecated: v3.2] /// Return light source parameter values @@ -74592,18 +43291,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetLightfv")] - public static - unsafe void GetLight(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetLightfv((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetLight(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [OutAttribute] Single* @params); /// [requires: v1.0][deprecated: v3.2] /// Return light source parameter values @@ -74624,24 +43312,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetLightiv")] - public static - void GetLight(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetLightiv((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetLight(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [OutAttribute] Int32[] @params); /// [requires: v1.0][deprecated: v3.2] /// Return light source parameter values @@ -74662,25 +43333,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetLightiv")] - public static - void GetLight(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetLightiv((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetLight(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [OutAttribute] out Int32 @params); /// [requires: v1.0][deprecated: v3.2] /// Return light source parameter values @@ -74702,18 +43355,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetLightiv")] - public static - unsafe void GetLight(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetLightiv((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetLight(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [OutAttribute] Int32* @params); /// [requires: v1.0][deprecated: v3.2] /// Return evaluator parameters @@ -74734,24 +43376,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetMapdv")] - public static - void GetMap(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glGetMapdv((OpenTK.Graphics.OpenGL.MapTarget)target, (OpenTK.Graphics.OpenGL.GetMapQuery)query, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMap(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Double[] v); /// [requires: v1.0][deprecated: v3.2] /// Return evaluator parameters @@ -74772,25 +43397,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetMapdv")] - public static - void GetMap(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] out Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glGetMapdv((OpenTK.Graphics.OpenGL.MapTarget)target, (OpenTK.Graphics.OpenGL.GetMapQuery)query, (Double*)v_ptr); - v = *v_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMap(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] out Double v); /// [requires: v1.0][deprecated: v3.2] /// Return evaluator parameters @@ -74812,18 +43419,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetMapdv")] - public static - unsafe void GetMap(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMapdv((OpenTK.Graphics.OpenGL.MapTarget)target, (OpenTK.Graphics.OpenGL.GetMapQuery)query, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMap(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Double* v); /// [requires: v1.0][deprecated: v3.2] /// Return evaluator parameters @@ -74844,24 +43440,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetMapfv")] - public static - void GetMap(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glGetMapfv((OpenTK.Graphics.OpenGL.MapTarget)target, (OpenTK.Graphics.OpenGL.GetMapQuery)query, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMap(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Single[] v); /// [requires: v1.0][deprecated: v3.2] /// Return evaluator parameters @@ -74882,25 +43461,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetMapfv")] - public static - void GetMap(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] out Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glGetMapfv((OpenTK.Graphics.OpenGL.MapTarget)target, (OpenTK.Graphics.OpenGL.GetMapQuery)query, (Single*)v_ptr); - v = *v_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMap(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] out Single v); /// [requires: v1.0][deprecated: v3.2] /// Return evaluator parameters @@ -74922,18 +43483,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetMapfv")] - public static - unsafe void GetMap(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMapfv((OpenTK.Graphics.OpenGL.MapTarget)target, (OpenTK.Graphics.OpenGL.GetMapQuery)query, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMap(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Single* v); /// [requires: v1.0][deprecated: v3.2] /// Return evaluator parameters @@ -74954,24 +43504,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetMapiv")] - public static - void GetMap(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glGetMapiv((OpenTK.Graphics.OpenGL.MapTarget)target, (OpenTK.Graphics.OpenGL.GetMapQuery)query, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMap(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Int32[] v); /// [requires: v1.0][deprecated: v3.2] /// Return evaluator parameters @@ -74992,25 +43525,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetMapiv")] - public static - void GetMap(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] out Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glGetMapiv((OpenTK.Graphics.OpenGL.MapTarget)target, (OpenTK.Graphics.OpenGL.GetMapQuery)query, (Int32*)v_ptr); - v = *v_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMap(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] out Int32 v); /// [requires: v1.0][deprecated: v3.2] /// Return evaluator parameters @@ -75032,18 +43547,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetMapiv")] - public static - unsafe void GetMap(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMapiv((OpenTK.Graphics.OpenGL.MapTarget)target, (OpenTK.Graphics.OpenGL.GetMapQuery)query, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMap(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Int32* v); /// [requires: v1.0][deprecated: v3.2] /// Return material parameters @@ -75064,24 +43568,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetMaterialfv")] - public static - void GetMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetMaterialfv((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Single[] @params); /// [requires: v1.0][deprecated: v3.2] /// Return material parameters @@ -75102,25 +43589,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetMaterialfv")] - public static - void GetMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetMaterialfv((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] out Single @params); /// [requires: v1.0][deprecated: v3.2] /// Return material parameters @@ -75142,18 +43611,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetMaterialfv")] - public static - unsafe void GetMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMaterialfv((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Single* @params); /// [requires: v1.0][deprecated: v3.2] /// Return material parameters @@ -75174,24 +43632,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetMaterialiv")] - public static - void GetMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetMaterialiv((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Int32[] @params); /// [requires: v1.0][deprecated: v3.2] /// Return material parameters @@ -75212,25 +43653,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetMaterialiv")] - public static - void GetMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetMaterialiv((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] out Int32 @params); /// [requires: v1.0][deprecated: v3.2] /// Return material parameters @@ -75252,18 +43675,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetMaterialiv")] - public static - unsafe void GetMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMaterialiv((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Int32* @params); /// /// Get minimum and maximum pixel values @@ -75294,18 +43706,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmax")] - public static - void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMinmax((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values); - #if DEBUG - } - #endif - } + public static extern void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values); /// /// Get minimum and maximum pixel values @@ -75336,27 +43737,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmax")] - public static - void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[] values) + public static extern void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[] values) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetMinmax((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Get minimum and maximum pixel values @@ -75387,27 +43770,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmax")] - public static - void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,] values) + public static extern void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,] values) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetMinmax((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Get minimum and maximum pixel values @@ -75438,27 +43803,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmax")] - public static - void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,,] values) + public static extern void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,,] values) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetMinmax((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Get minimum and maximum pixel values @@ -75489,28 +43836,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmax")] - public static - void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 values) + public static extern void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 values) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetMinmax((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - values = (T4)values_ptr.Target; - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Get minmax parameters @@ -75531,24 +43859,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmaxParameterfv")] - public static - void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetMinmaxParameterfv((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] Single[] @params); /// /// Get minmax parameters @@ -75569,25 +43880,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmaxParameterfv")] - public static - void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetMinmaxParameterfv((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPName)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] out Single @params); /// /// Get minmax parameters @@ -75609,18 +43902,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmaxParameterfv")] - public static - unsafe void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMinmaxParameterfv((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] Single* @params); /// /// Get minmax parameters @@ -75641,24 +43923,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmaxParameteriv")] - public static - void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetMinmaxParameteriv((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] Int32[] @params); /// /// Get minmax parameters @@ -75679,25 +43944,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmaxParameteriv")] - public static - void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetMinmaxParameteriv((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] out Int32 @params); /// /// Get minmax parameters @@ -75719,18 +43966,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmaxParameteriv")] - public static - unsafe void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMinmaxParameteriv((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] Int32* @params); /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Retrieve the location of a sample @@ -75751,24 +43987,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glGetMultisamplefv")] - public static - void GetMultisample(OpenTK.Graphics.OpenGL.GetMultisamplePName pname, Int32 index, [OutAttribute] Single[] val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* val_ptr = val) - { - Delegates.glGetMultisamplefv((OpenTK.Graphics.OpenGL.GetMultisamplePName)pname, (UInt32)index, (Single*)val_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMultisample(OpenTK.Graphics.OpenGL.GetMultisamplePName pname, Int32 index, [OutAttribute] Single[] val); /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Retrieve the location of a sample @@ -75789,25 +44008,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glGetMultisamplefv")] - public static - void GetMultisample(OpenTK.Graphics.OpenGL.GetMultisamplePName pname, Int32 index, [OutAttribute] out Single val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* val_ptr = &val) - { - Delegates.glGetMultisamplefv((OpenTK.Graphics.OpenGL.GetMultisamplePName)pname, (UInt32)index, (Single*)val_ptr); - val = *val_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMultisample(OpenTK.Graphics.OpenGL.GetMultisamplePName pname, Int32 index, [OutAttribute] out Single val); /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Retrieve the location of a sample @@ -75829,18 +44030,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glGetMultisamplefv")] - public static - unsafe void GetMultisample(OpenTK.Graphics.OpenGL.GetMultisamplePName pname, Int32 index, [OutAttribute] Single* val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultisamplefv((OpenTK.Graphics.OpenGL.GetMultisamplePName)pname, (UInt32)index, (Single*)val); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMultisample(OpenTK.Graphics.OpenGL.GetMultisamplePName pname, Int32 index, [OutAttribute] Single* val); /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Retrieve the location of a sample @@ -75862,24 +44052,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glGetMultisamplefv")] - public static - void GetMultisample(OpenTK.Graphics.OpenGL.GetMultisamplePName pname, UInt32 index, [OutAttribute] Single[] val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* val_ptr = val) - { - Delegates.glGetMultisamplefv((OpenTK.Graphics.OpenGL.GetMultisamplePName)pname, (UInt32)index, (Single*)val_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMultisample(OpenTK.Graphics.OpenGL.GetMultisamplePName pname, UInt32 index, [OutAttribute] Single[] val); /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Retrieve the location of a sample @@ -75901,25 +44074,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glGetMultisamplefv")] - public static - void GetMultisample(OpenTK.Graphics.OpenGL.GetMultisamplePName pname, UInt32 index, [OutAttribute] out Single val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* val_ptr = &val) - { - Delegates.glGetMultisamplefv((OpenTK.Graphics.OpenGL.GetMultisamplePName)pname, (UInt32)index, (Single*)val_ptr); - val = *val_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMultisample(OpenTK.Graphics.OpenGL.GetMultisamplePName pname, UInt32 index, [OutAttribute] out Single val); /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Retrieve the location of a sample @@ -75941,18 +44096,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glGetMultisamplefv")] - public static - unsafe void GetMultisample(OpenTK.Graphics.OpenGL.GetMultisamplePName pname, UInt32 index, [OutAttribute] Single* val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultisamplefv((OpenTK.Graphics.OpenGL.GetMultisamplePName)pname, (UInt32)index, (Single*)val); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMultisample(OpenTK.Graphics.OpenGL.GetMultisamplePName pname, UInt32 index, [OutAttribute] Single* val); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a named object identified within a namespace @@ -75983,24 +44127,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectLabel")] - public static - void GetObjectLabel(OpenTK.Graphics.OpenGL.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectLabel((OpenTK.Graphics.OpenGL.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.OpenGL.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a named object identified within a namespace @@ -76031,25 +44158,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectLabel")] - public static - void GetObjectLabel(OpenTK.Graphics.OpenGL.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectLabel((OpenTK.Graphics.OpenGL.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.OpenGL.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a named object identified within a namespace @@ -76081,18 +44190,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectLabel")] - public static - unsafe void GetObjectLabel(OpenTK.Graphics.OpenGL.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectLabel((OpenTK.Graphics.OpenGL.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectLabel(OpenTK.Graphics.OpenGL.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a named object identified within a namespace @@ -76124,24 +44222,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectLabel")] - public static - void GetObjectLabel(OpenTK.Graphics.OpenGL.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectLabel((OpenTK.Graphics.OpenGL.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.OpenGL.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a named object identified within a namespace @@ -76173,25 +44254,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectLabel")] - public static - void GetObjectLabel(OpenTK.Graphics.OpenGL.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectLabel((OpenTK.Graphics.OpenGL.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.OpenGL.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a named object identified within a namespace @@ -76223,18 +44286,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectLabel")] - public static - unsafe void GetObjectLabel(OpenTK.Graphics.OpenGL.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectLabel((OpenTK.Graphics.OpenGL.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectLabel(OpenTK.Graphics.OpenGL.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -76260,24 +44312,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -76303,25 +44338,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -76348,18 +44365,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static - unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectPtrLabel((IntPtr)ptr, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -76385,33 +44391,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -76437,34 +44419,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -76491,27 +44448,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static - unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + public static extern unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -76537,33 +44476,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -76589,34 +44504,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -76643,27 +44533,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static - unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + public static extern unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -76689,33 +44561,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -76741,34 +44589,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -76795,27 +44618,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static - unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + public static extern unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -76841,34 +44646,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - ptr = (T0)ptr_ptr.Target; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -76894,35 +44674,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - ptr = (T0)ptr_ptr.Target; - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -76949,28 +44703,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static - unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + public static extern unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label); - ptr = (T0)ptr_ptr.Target; - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0][deprecated: v3.2] /// Return the specified pixel map @@ -76986,24 +44721,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPixelMapfv")] - public static - Single GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* values_ptr = &retval; - Delegates.glGetPixelMapfv((OpenTK.Graphics.OpenGL.PixelMap)map, (Single*)values_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Single GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map); /// [requires: v1.0][deprecated: v3.2] /// Return the specified pixel map @@ -77019,24 +44737,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPixelMapfv")] - public static - void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] Single[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* values_ptr = values) - { - Delegates.glGetPixelMapfv((OpenTK.Graphics.OpenGL.PixelMap)map, (Single*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] Single[] values); /// [requires: v1.0][deprecated: v3.2] /// Return the specified pixel map @@ -77052,25 +44753,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPixelMapfv")] - public static - void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] out Single values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* values_ptr = &values) - { - Delegates.glGetPixelMapfv((OpenTK.Graphics.OpenGL.PixelMap)map, (Single*)values_ptr); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] out Single values); /// [requires: v1.0][deprecated: v3.2] /// Return the specified pixel map @@ -77087,18 +44770,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPixelMapfv")] - public static - unsafe void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] Single* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPixelMapfv((OpenTK.Graphics.OpenGL.PixelMap)map, (Single*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] Single* values); /// [requires: v1.0][deprecated: v3.2] /// Return the specified pixel map @@ -77114,24 +44786,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] - public static - void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] Int32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* values_ptr = values) - { - Delegates.glGetPixelMapuiv((OpenTK.Graphics.OpenGL.PixelMap)map, (UInt32*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] Int32[] values); /// [requires: v1.0][deprecated: v3.2] /// Return the specified pixel map @@ -77147,25 +44802,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] - public static - void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] out Int32 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* values_ptr = &values) - { - Delegates.glGetPixelMapuiv((OpenTK.Graphics.OpenGL.PixelMap)map, (UInt32*)values_ptr); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] out Int32 values); /// [requires: v1.0][deprecated: v3.2] /// Return the specified pixel map @@ -77182,18 +44819,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] - public static - unsafe void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] Int32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPixelMapuiv((OpenTK.Graphics.OpenGL.PixelMap)map, (UInt32*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] Int32* values); /// [requires: v1.0][deprecated: v3.2] /// Return the specified pixel map @@ -77210,24 +44836,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] - public static - void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] UInt32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* values_ptr = values) - { - Delegates.glGetPixelMapuiv((OpenTK.Graphics.OpenGL.PixelMap)map, (UInt32*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] UInt32[] values); /// [requires: v1.0][deprecated: v3.2] /// Return the specified pixel map @@ -77244,25 +44853,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] - public static - void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] out UInt32 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* values_ptr = &values) - { - Delegates.glGetPixelMapuiv((OpenTK.Graphics.OpenGL.PixelMap)map, (UInt32*)values_ptr); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] out UInt32 values); /// [requires: v1.0][deprecated: v3.2] /// Return the specified pixel map @@ -77279,18 +44870,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] - public static - unsafe void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] UInt32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPixelMapuiv((OpenTK.Graphics.OpenGL.PixelMap)map, (UInt32*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] UInt32* values); /// [requires: v1.0][deprecated: v3.2] /// Return the specified pixel map @@ -77306,24 +44886,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPixelMapusv")] - public static - void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] Int16[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* values_ptr = values) - { - Delegates.glGetPixelMapusv((OpenTK.Graphics.OpenGL.PixelMap)map, (UInt16*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] Int16[] values); /// [requires: v1.0][deprecated: v3.2] /// Return the specified pixel map @@ -77339,25 +44902,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPixelMapusv")] - public static - void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] out Int16 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* values_ptr = &values) - { - Delegates.glGetPixelMapusv((OpenTK.Graphics.OpenGL.PixelMap)map, (UInt16*)values_ptr); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] out Int16 values); /// [requires: v1.0][deprecated: v3.2] /// Return the specified pixel map @@ -77374,18 +44919,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPixelMapusv")] - public static - unsafe void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] Int16* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPixelMapusv((OpenTK.Graphics.OpenGL.PixelMap)map, (UInt16*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] Int16* values); /// [requires: v1.0][deprecated: v3.2] /// Return the specified pixel map @@ -77402,24 +44936,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPixelMapusv")] - public static - void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] UInt16[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* values_ptr = values) - { - Delegates.glGetPixelMapusv((OpenTK.Graphics.OpenGL.PixelMap)map, (UInt16*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] UInt16[] values); /// [requires: v1.0][deprecated: v3.2] /// Return the specified pixel map @@ -77436,25 +44953,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPixelMapusv")] - public static - void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] out UInt16 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* values_ptr = &values) - { - Delegates.glGetPixelMapusv((OpenTK.Graphics.OpenGL.PixelMap)map, (UInt16*)values_ptr); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] out UInt16 values); /// [requires: v1.0][deprecated: v3.2] /// Return the specified pixel map @@ -77471,77 +44970,20 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPixelMapusv")] - public static - unsafe void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] UInt16* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPixelMapusv((OpenTK.Graphics.OpenGL.PixelMap)map, (UInt16*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPixelMap(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] UInt16* values); /// [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetPixelMapxv")] - public static - void GetPixelMapx(OpenTK.Graphics.OpenGL.OesFixedPoint map, Int32 size, [OutAttribute] int[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* values_ptr = values) - { - Delegates.glGetPixelMapxv((OpenTK.Graphics.OpenGL.OesFixedPoint)map, (Int32)size, (int*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetPixelMapx(OpenTK.Graphics.OpenGL.OesFixedPoint map, Int32 size, [OutAttribute] int[] values); /// [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetPixelMapxv")] - public static - void GetPixelMapx(OpenTK.Graphics.OpenGL.OesFixedPoint map, Int32 size, [OutAttribute] out int values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* values_ptr = &values) - { - Delegates.glGetPixelMapxv((OpenTK.Graphics.OpenGL.OesFixedPoint)map, (Int32)size, (int*)values_ptr); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPixelMapx(OpenTK.Graphics.OpenGL.OesFixedPoint map, Int32 size, [OutAttribute] out int values); /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetPixelMapxv")] - public static - unsafe void GetPixelMapx(OpenTK.Graphics.OpenGL.OesFixedPoint map, Int32 size, [OutAttribute] int* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPixelMapxv((OpenTK.Graphics.OpenGL.OesFixedPoint)map, (Int32)size, (int*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPixelMapx(OpenTK.Graphics.OpenGL.OesFixedPoint map, Int32 size, [OutAttribute] int* values); /// [requires: v1.1 and KHR_debug|VERSION_1_1|VERSION_4_3|VERSION_4_3] /// Return the address of the specified pointer @@ -77557,18 +44999,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_1_1|VERSION_4_3|VERSION_4_3", Version = "1.1", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.OpenGL.GetPointervPName pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPointerv((OpenTK.Graphics.OpenGL.GetPointervPName)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } + public static extern void GetPointer(OpenTK.Graphics.OpenGL.GetPointervPName pname, [OutAttribute] IntPtr @params); /// [requires: v1.1 and KHR_debug|VERSION_1_1|VERSION_4_3|VERSION_4_3] /// Return the address of the specified pointer @@ -77584,27 +45015,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_1_1|VERSION_4_3|VERSION_4_3", Version = "1.1", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.OpenGL.GetPointervPName pname, [InAttribute, OutAttribute] T1[] @params) + public static extern void GetPointer(OpenTK.Graphics.OpenGL.GetPointervPName pname, [InAttribute, OutAttribute] T1[] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.OpenGL.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1 and KHR_debug|VERSION_1_1|VERSION_4_3|VERSION_4_3] /// Return the address of the specified pointer @@ -77620,27 +45033,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_1_1|VERSION_4_3|VERSION_4_3", Version = "1.1", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.OpenGL.GetPointervPName pname, [InAttribute, OutAttribute] T1[,] @params) + public static extern void GetPointer(OpenTK.Graphics.OpenGL.GetPointervPName pname, [InAttribute, OutAttribute] T1[,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.OpenGL.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1 and KHR_debug|VERSION_1_1|VERSION_4_3|VERSION_4_3] /// Return the address of the specified pointer @@ -77656,27 +45051,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_1_1|VERSION_4_3|VERSION_4_3", Version = "1.1", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.OpenGL.GetPointervPName pname, [InAttribute, OutAttribute] T1[,,] @params) + public static extern void GetPointer(OpenTK.Graphics.OpenGL.GetPointervPName pname, [InAttribute, OutAttribute] T1[,,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.OpenGL.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1 and KHR_debug|VERSION_1_1|VERSION_4_3|VERSION_4_3] /// Return the address of the specified pointer @@ -77692,28 +45069,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_1_1|VERSION_4_3|VERSION_4_3", Version = "1.1", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.OpenGL.GetPointervPName pname, [InAttribute, OutAttribute] ref T1 @params) + public static extern void GetPointer(OpenTK.Graphics.OpenGL.GetPointervPName pname, [InAttribute, OutAttribute] ref T1 @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.OpenGL.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - @params = (T1)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0][deprecated: v3.2] /// Return the polygon stipple pattern @@ -77724,24 +45082,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPolygonStipple")] - public static - Byte GetPolygonStipple() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Byte retval; - Byte* mask_ptr = &retval; - Delegates.glGetPolygonStipple((Byte*)mask_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Byte GetPolygonStipple(); /// [requires: v1.0][deprecated: v3.2] /// Return the polygon stipple pattern @@ -77752,24 +45093,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPolygonStipple")] - public static - void GetPolygonStipple([OutAttribute] Byte[] mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* mask_ptr = mask) - { - Delegates.glGetPolygonStipple((Byte*)mask_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetPolygonStipple([OutAttribute] Byte[] mask); /// [requires: v1.0][deprecated: v3.2] /// Return the polygon stipple pattern @@ -77780,25 +45104,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPolygonStipple")] - public static - void GetPolygonStipple([OutAttribute] out Byte mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* mask_ptr = &mask) - { - Delegates.glGetPolygonStipple((Byte*)mask_ptr); - mask = *mask_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPolygonStipple([OutAttribute] out Byte mask); /// [requires: v1.0][deprecated: v3.2] /// Return the polygon stipple pattern @@ -77810,18 +45116,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetPolygonStipple")] - public static - unsafe void GetPolygonStipple([OutAttribute] Byte* mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPolygonStipple((Byte*)mask); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPolygonStipple([OutAttribute] Byte* mask); /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -77852,27 +45147,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [OutAttribute] IntPtr binary) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat_ptr = &binaryFormat) - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat_ptr, (IntPtr)binary); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [OutAttribute] IntPtr binary); /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -77903,36 +45178,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T4[] binary) + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T4[] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -77963,36 +45211,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T4[,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -78023,36 +45244,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -78083,37 +45277,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] ref T4 binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - binary = (T4)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -78145,18 +45311,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [OutAttribute] IntPtr binary) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat, (IntPtr)binary); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [OutAttribute] IntPtr binary); /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -78188,27 +45343,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] T4[] binary) + public static extern unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] T4[] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -78240,27 +45377,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + public static extern unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] T4[,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -78292,27 +45411,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + public static extern unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -78344,28 +45445,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + public static extern unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] ref T4 binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - binary = (T4)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -78397,27 +45479,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [OutAttribute] IntPtr binary) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat_ptr = &binaryFormat) - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat_ptr, (IntPtr)binary); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [OutAttribute] IntPtr binary); /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -78449,36 +45511,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T4[] binary) + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T4[] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -78510,36 +45545,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T4[,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -78571,36 +45579,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -78632,37 +45613,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] ref T4 binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - binary = (T4)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -78694,18 +45647,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [OutAttribute] IntPtr binary) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat, (IntPtr)binary); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [OutAttribute] IntPtr binary); /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -78737,27 +45679,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] T4[] binary) + public static extern unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] T4[] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -78789,27 +45713,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + public static extern unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] T4[,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -78841,27 +45747,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + public static extern unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -78893,28 +45781,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + public static extern unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] ref T4 binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - binary = (T4)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0] /// Returns the information log for a program object @@ -78940,25 +45809,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static - void GetProgramInfoLog(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramInfoLog(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog); /// [requires: v2.0] /// Returns the information log for a program object @@ -78985,18 +45836,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static - unsafe void GetProgramInfoLog(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramInfoLog(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); /// [requires: v2.0] /// Returns the information log for a program object @@ -79023,25 +45863,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static - void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog); /// [requires: v2.0] /// Returns the information log for a program object @@ -79068,18 +45890,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static - unsafe void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query a property of an interface in a program @@ -79105,24 +45916,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramInterfaceiv")] - public static - void GetProgramInterface(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, OpenTK.Graphics.OpenGL.ProgramInterfaceParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramInterfaceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (OpenTK.Graphics.OpenGL.ProgramInterfaceParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramInterface(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, OpenTK.Graphics.OpenGL.ProgramInterfaceParameter pname, [OutAttribute] Int32[] @params); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query a property of an interface in a program @@ -79148,25 +45942,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramInterfaceiv")] - public static - void GetProgramInterface(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, OpenTK.Graphics.OpenGL.ProgramInterfaceParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramInterfaceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (OpenTK.Graphics.OpenGL.ProgramInterfaceParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramInterface(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, OpenTK.Graphics.OpenGL.ProgramInterfaceParameter pname, [OutAttribute] out Int32 @params); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query a property of an interface in a program @@ -79193,18 +45969,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramInterfaceiv")] - public static - unsafe void GetProgramInterface(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, OpenTK.Graphics.OpenGL.ProgramInterfaceParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramInterfaceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (OpenTK.Graphics.OpenGL.ProgramInterfaceParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramInterface(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, OpenTK.Graphics.OpenGL.ProgramInterfaceParameter pname, [OutAttribute] Int32* @params); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query a property of an interface in a program @@ -79231,24 +45996,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramInterfaceiv")] - public static - void GetProgramInterface(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, OpenTK.Graphics.OpenGL.ProgramInterfaceParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramInterfaceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (OpenTK.Graphics.OpenGL.ProgramInterfaceParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramInterface(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, OpenTK.Graphics.OpenGL.ProgramInterfaceParameter pname, [OutAttribute] Int32[] @params); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query a property of an interface in a program @@ -79275,25 +46023,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramInterfaceiv")] - public static - void GetProgramInterface(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, OpenTK.Graphics.OpenGL.ProgramInterfaceParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramInterfaceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (OpenTK.Graphics.OpenGL.ProgramInterfaceParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramInterface(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, OpenTK.Graphics.OpenGL.ProgramInterfaceParameter pname, [OutAttribute] out Int32 @params); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query a property of an interface in a program @@ -79320,18 +46050,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramInterfaceiv")] - public static - unsafe void GetProgramInterface(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, OpenTK.Graphics.OpenGL.ProgramInterfaceParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramInterfaceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (OpenTK.Graphics.OpenGL.ProgramInterfaceParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramInterface(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, OpenTK.Graphics.OpenGL.ProgramInterfaceParameter pname, [OutAttribute] Int32* @params); /// [requires: v2.0] /// Returns a parameter from a program object @@ -79352,24 +46071,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(Int32 program, OpenTK.Graphics.OpenGL.GetProgramParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.OpenGL.GetProgramParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(Int32 program, OpenTK.Graphics.OpenGL.GetProgramParameterName pname, [OutAttribute] Int32[] @params); /// [requires: v2.0] /// Returns a parameter from a program object @@ -79390,25 +46092,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(Int32 program, OpenTK.Graphics.OpenGL.GetProgramParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.OpenGL.GetProgramParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(Int32 program, OpenTK.Graphics.OpenGL.GetProgramParameterName pname, [OutAttribute] out Int32 @params); /// [requires: v2.0] /// Returns a parameter from a program object @@ -79430,18 +46114,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - unsafe void GetProgram(Int32 program, OpenTK.Graphics.OpenGL.GetProgramParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.OpenGL.GetProgramParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgram(Int32 program, OpenTK.Graphics.OpenGL.GetProgramParameterName pname, [OutAttribute] Int32* @params); /// [requires: v2.0] /// Returns a parameter from a program object @@ -79463,24 +46136,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use GetProgramParameterName overload instead")] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(Int32 program, OpenTK.Graphics.OpenGL.ProgramParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.OpenGL.GetProgramParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(Int32 program, OpenTK.Graphics.OpenGL.ProgramParameter pname, [OutAttribute] Int32[] @params); /// [requires: v2.0] /// Returns a parameter from a program object @@ -79502,25 +46158,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use GetProgramParameterName overload instead")] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(Int32 program, OpenTK.Graphics.OpenGL.ProgramParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.OpenGL.GetProgramParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(Int32 program, OpenTK.Graphics.OpenGL.ProgramParameter pname, [OutAttribute] out Int32 @params); /// [requires: v2.0] /// Returns a parameter from a program object @@ -79543,18 +46181,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use GetProgramParameterName overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - unsafe void GetProgram(Int32 program, OpenTK.Graphics.OpenGL.ProgramParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.OpenGL.GetProgramParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgram(Int32 program, OpenTK.Graphics.OpenGL.ProgramParameter pname, [OutAttribute] Int32* @params); /// [requires: v2.0] /// Returns a parameter from a program object @@ -79576,24 +46203,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(UInt32 program, OpenTK.Graphics.OpenGL.GetProgramParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.OpenGL.GetProgramParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(UInt32 program, OpenTK.Graphics.OpenGL.GetProgramParameterName pname, [OutAttribute] Int32[] @params); /// [requires: v2.0] /// Returns a parameter from a program object @@ -79615,25 +46225,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(UInt32 program, OpenTK.Graphics.OpenGL.GetProgramParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.OpenGL.GetProgramParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(UInt32 program, OpenTK.Graphics.OpenGL.GetProgramParameterName pname, [OutAttribute] out Int32 @params); /// [requires: v2.0] /// Returns a parameter from a program object @@ -79655,18 +46247,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - unsafe void GetProgram(UInt32 program, OpenTK.Graphics.OpenGL.GetProgramParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.OpenGL.GetProgramParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgram(UInt32 program, OpenTK.Graphics.OpenGL.GetProgramParameterName pname, [OutAttribute] Int32* @params); /// [requires: v2.0] /// Returns a parameter from a program object @@ -79689,24 +46270,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use GetProgramParameterName overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(UInt32 program, OpenTK.Graphics.OpenGL.ProgramParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.OpenGL.GetProgramParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(UInt32 program, OpenTK.Graphics.OpenGL.ProgramParameter pname, [OutAttribute] Int32[] @params); /// [requires: v2.0] /// Returns a parameter from a program object @@ -79729,25 +46293,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use GetProgramParameterName overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(UInt32 program, OpenTK.Graphics.OpenGL.ProgramParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.OpenGL.GetProgramParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(UInt32 program, OpenTK.Graphics.OpenGL.ProgramParameter pname, [OutAttribute] out Int32 @params); /// [requires: v2.0] /// Returns a parameter from a program object @@ -79770,18 +46316,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use GetProgramParameterName overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - unsafe void GetProgram(UInt32 program, OpenTK.Graphics.OpenGL.ProgramParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.OpenGL.GetProgramParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgram(UInt32 program, OpenTK.Graphics.OpenGL.ProgramParameter pname, [OutAttribute] Int32* @params); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve the info log string from a program pipeline object @@ -79807,25 +46342,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineInfoLog")] - public static - void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetProgramPipelineInfoLog((UInt32)pipeline, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve the info log string from a program pipeline object @@ -79852,18 +46369,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineInfoLog")] - public static - unsafe void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramPipelineInfoLog((UInt32)pipeline, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve the info log string from a program pipeline object @@ -79890,25 +46396,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineInfoLog")] - public static - void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetProgramPipelineInfoLog((UInt32)pipeline, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve the info log string from a program pipeline object @@ -79935,18 +46423,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineInfoLog")] - public static - unsafe void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramPipelineInfoLog((UInt32)pipeline, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve properties of a program pipeline object @@ -79967,24 +46444,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineiv")] - public static - void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.OpenGL.ProgramPipelineParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramPipelineiv((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ProgramPipelineParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.OpenGL.ProgramPipelineParameter pname, [OutAttribute] Int32[] @params); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve properties of a program pipeline object @@ -80005,25 +46465,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineiv")] - public static - void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.OpenGL.ProgramPipelineParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramPipelineiv((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ProgramPipelineParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.OpenGL.ProgramPipelineParameter pname, [OutAttribute] out Int32 @params); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve properties of a program pipeline object @@ -80045,18 +46487,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineiv")] - public static - unsafe void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.OpenGL.ProgramPipelineParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramPipelineiv((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ProgramPipelineParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.OpenGL.ProgramPipelineParameter pname, [OutAttribute] Int32* @params); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve properties of a program pipeline object @@ -80078,24 +46509,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineiv")] - public static - void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.OpenGL.ProgramPipelineParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramPipelineiv((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ProgramPipelineParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.OpenGL.ProgramPipelineParameter pname, [OutAttribute] Int32[] @params); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve properties of a program pipeline object @@ -80117,25 +46531,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineiv")] - public static - void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.OpenGL.ProgramPipelineParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramPipelineiv((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ProgramPipelineParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.OpenGL.ProgramPipelineParameter pname, [OutAttribute] out Int32 @params); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve properties of a program pipeline object @@ -80157,18 +46553,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineiv")] - public static - unsafe void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.OpenGL.ProgramPipelineParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramPipelineiv((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ProgramPipelineParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.OpenGL.ProgramPipelineParameter pname, [OutAttribute] Int32* @params); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the index of a named resource within a program @@ -80189,18 +46574,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceIndex")] - public static - Int32 GetProgramResourceIndex(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetProgramResourceIndex((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetProgramResourceIndex(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the index of a named resource within a program @@ -80222,18 +46596,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceIndex")] - public static - Int32 GetProgramResourceIndex(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetProgramResourceIndex((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetProgramResourceIndex(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Retrieve values for multiple properties of a single active resource within a program object @@ -80249,26 +46612,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] - public static - void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, Int32 index, Int32 propCount, OpenTK.Graphics.OpenGL.ProgramProperty[] props, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.ProgramProperty* props_ptr = props) - fixed (Int32* length_ptr = length) - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramResourceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)propCount, (OpenTK.Graphics.OpenGL.ProgramProperty*)props_ptr, (Int32)bufSize, (Int32*)length_ptr, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, Int32 index, Int32 propCount, OpenTK.Graphics.OpenGL.ProgramProperty[] props, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] @params); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Retrieve values for multiple properties of a single active resource within a program object @@ -80284,28 +46628,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] - public static - void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, Int32 index, Int32 propCount, ref OpenTK.Graphics.OpenGL.ProgramProperty props, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.ProgramProperty* props_ptr = &props) - fixed (Int32* length_ptr = &length) - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramResourceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)propCount, (OpenTK.Graphics.OpenGL.ProgramProperty*)props_ptr, (Int32)bufSize, (Int32*)length_ptr, (Int32*)@params_ptr); - length = *length_ptr; - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, Int32 index, Int32 propCount, ref OpenTK.Graphics.OpenGL.ProgramProperty props, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 @params); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Retrieve values for multiple properties of a single active resource within a program object @@ -80322,18 +46645,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] - public static - unsafe void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, Int32 index, Int32 propCount, OpenTK.Graphics.OpenGL.ProgramProperty* props, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramResourceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)propCount, (OpenTK.Graphics.OpenGL.ProgramProperty*)props, (Int32)bufSize, (Int32*)length, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, Int32 index, Int32 propCount, OpenTK.Graphics.OpenGL.ProgramProperty* props, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* @params); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Retrieve values for multiple properties of a single active resource within a program object @@ -80350,26 +46662,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] - public static - void GetProgramResource(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 propCount, OpenTK.Graphics.OpenGL.ProgramProperty[] props, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.ProgramProperty* props_ptr = props) - fixed (Int32* length_ptr = length) - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramResourceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)propCount, (OpenTK.Graphics.OpenGL.ProgramProperty*)props_ptr, (Int32)bufSize, (Int32*)length_ptr, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramResource(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 propCount, OpenTK.Graphics.OpenGL.ProgramProperty[] props, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] @params); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Retrieve values for multiple properties of a single active resource within a program object @@ -80386,28 +46679,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] - public static - void GetProgramResource(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 propCount, ref OpenTK.Graphics.OpenGL.ProgramProperty props, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.ProgramProperty* props_ptr = &props) - fixed (Int32* length_ptr = &length) - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramResourceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)propCount, (OpenTK.Graphics.OpenGL.ProgramProperty*)props_ptr, (Int32)bufSize, (Int32*)length_ptr, (Int32*)@params_ptr); - length = *length_ptr; - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramResource(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 propCount, ref OpenTK.Graphics.OpenGL.ProgramProperty props, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 @params); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Retrieve values for multiple properties of a single active resource within a program object @@ -80424,18 +46696,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] - public static - unsafe void GetProgramResource(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 propCount, OpenTK.Graphics.OpenGL.ProgramProperty* props, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramResourceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)propCount, (OpenTK.Graphics.OpenGL.ProgramProperty*)props, (Int32)bufSize, (Int32*)length, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramResource(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 propCount, OpenTK.Graphics.OpenGL.ProgramProperty* props, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* @params); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the location of a named resource within a program @@ -80456,18 +46717,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceLocation")] - public static - Int32 GetProgramResourceLocation(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetProgramResourceLocation((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetProgramResourceLocation(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the location of a named resource within a program @@ -80489,18 +46739,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceLocation")] - public static - Int32 GetProgramResourceLocation(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetProgramResourceLocation((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetProgramResourceLocation(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the fragment color index of a named variable within a program @@ -80521,18 +46760,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceLocationIndex")] - public static - Int32 GetProgramResourceLocationIndex(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetProgramResourceLocationIndex((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetProgramResourceLocationIndex(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the fragment color index of a named variable within a program @@ -80554,18 +46782,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceLocationIndex")] - public static - Int32 GetProgramResourceLocationIndex(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetProgramResourceLocationIndex((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetProgramResourceLocationIndex(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the name of an indexed resource within a program @@ -80601,24 +46818,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")] - public static - void GetProgramResourceName(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, Int32 index, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetProgramResourceName((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)name); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramResourceName(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, Int32 index, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder name); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the name of an indexed resource within a program @@ -80654,25 +46854,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")] - public static - void GetProgramResourceName(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetProgramResourceName((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)name); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramResourceName(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder name); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the name of an indexed resource within a program @@ -80709,18 +46891,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")] - public static - unsafe void GetProgramResourceName(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramResourceName((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)bufSize, (Int32*)length, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramResourceName(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the name of an indexed resource within a program @@ -80757,24 +46928,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")] - public static - void GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetProgramResourceName((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)name); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder name); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the name of an indexed resource within a program @@ -80811,25 +46965,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")] - public static - void GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetProgramResourceName((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)name); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder name); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the name of an indexed resource within a program @@ -80866,18 +47002,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")] - public static - unsafe void GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramResourceName((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)bufSize, (Int32*)length, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Retrieve properties of a program object corresponding to a specified shader stage @@ -80903,25 +47028,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetProgramStageiv")] - public static - void GetProgramStage(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ProgramStageParameter pname, [OutAttribute] out Int32 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* values_ptr = &values) - { - Delegates.glGetProgramStageiv((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (OpenTK.Graphics.OpenGL.ProgramStageParameter)pname, (Int32*)values_ptr); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramStage(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ProgramStageParameter pname, [OutAttribute] out Int32 values); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Retrieve properties of a program object corresponding to a specified shader stage @@ -80948,18 +47055,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetProgramStageiv")] - public static - unsafe void GetProgramStage(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ProgramStageParameter pname, [OutAttribute] Int32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramStageiv((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (OpenTK.Graphics.OpenGL.ProgramStageParameter)pname, (Int32*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramStage(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ProgramStageParameter pname, [OutAttribute] Int32* values); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Retrieve properties of a program object corresponding to a specified shader stage @@ -80986,25 +47082,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetProgramStageiv")] - public static - void GetProgramStage(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ProgramStageParameter pname, [OutAttribute] out Int32 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* values_ptr = &values) - { - Delegates.glGetProgramStageiv((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (OpenTK.Graphics.OpenGL.ProgramStageParameter)pname, (Int32*)values_ptr); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramStage(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ProgramStageParameter pname, [OutAttribute] out Int32 values); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Retrieve properties of a program object corresponding to a specified shader stage @@ -81031,18 +47109,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetProgramStageiv")] - public static - unsafe void GetProgramStage(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ProgramStageParameter pname, [OutAttribute] Int32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramStageiv((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (OpenTK.Graphics.OpenGL.ProgramStageParameter)pname, (Int32*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramStage(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ProgramStageParameter pname, [OutAttribute] Int32* values); /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Return parameters of an indexed query object target @@ -81068,24 +47135,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glGetQueryIndexediv")] - public static - void GetQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, Int32 index, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryIndexediv((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index, (OpenTK.Graphics.OpenGL.GetQueryParam)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, Int32 index, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] Int32[] @params); /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Return parameters of an indexed query object target @@ -81111,25 +47161,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glGetQueryIndexediv")] - public static - void GetQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, Int32 index, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryIndexediv((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index, (OpenTK.Graphics.OpenGL.GetQueryParam)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, Int32 index, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] out Int32 @params); /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Return parameters of an indexed query object target @@ -81156,18 +47188,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glGetQueryIndexediv")] - public static - unsafe void GetQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, Int32 index, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryIndexediv((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index, (OpenTK.Graphics.OpenGL.GetQueryParam)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, Int32 index, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] Int32* @params); /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Return parameters of an indexed query object target @@ -81194,24 +47215,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glGetQueryIndexediv")] - public static - void GetQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryIndexediv((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index, (OpenTK.Graphics.OpenGL.GetQueryParam)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] Int32[] @params); /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Return parameters of an indexed query object target @@ -81238,25 +47242,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glGetQueryIndexediv")] - public static - void GetQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryIndexediv((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index, (OpenTK.Graphics.OpenGL.GetQueryParam)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] out Int32 @params); /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Return parameters of an indexed query object target @@ -81283,18 +47269,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glGetQueryIndexediv")] - public static - unsafe void GetQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryIndexediv((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index, (OpenTK.Graphics.OpenGL.GetQueryParam)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] Int32* @params); /// [requires: v1.5] /// Return parameters of a query object target @@ -81315,24 +47290,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryiv")] - public static - void GetQuery(OpenTK.Graphics.OpenGL.QueryTarget target, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryiv((OpenTK.Graphics.OpenGL.QueryTarget)target, (OpenTK.Graphics.OpenGL.GetQueryParam)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQuery(OpenTK.Graphics.OpenGL.QueryTarget target, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] Int32[] @params); /// [requires: v1.5] /// Return parameters of a query object target @@ -81353,25 +47311,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryiv")] - public static - void GetQuery(OpenTK.Graphics.OpenGL.QueryTarget target, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryiv((OpenTK.Graphics.OpenGL.QueryTarget)target, (OpenTK.Graphics.OpenGL.GetQueryParam)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQuery(OpenTK.Graphics.OpenGL.QueryTarget target, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] out Int32 @params); /// [requires: v1.5] /// Return parameters of a query object target @@ -81393,18 +47333,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryiv")] - public static - unsafe void GetQuery(OpenTK.Graphics.OpenGL.QueryTarget target, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryiv((OpenTK.Graphics.OpenGL.QueryTarget)target, (OpenTK.Graphics.OpenGL.GetQueryParam)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQuery(OpenTK.Graphics.OpenGL.QueryTarget target, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] Int32* @params); /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -81425,24 +47354,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjecti64v")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetQueryObjecti64v((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int64[] @params); /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -81463,25 +47375,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjecti64v")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetQueryObjecti64v((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] out Int64 @params); /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -81503,18 +47397,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjecti64v")] - public static - unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjecti64v((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (Int64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int64* @params); /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -81536,24 +47419,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjecti64v")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetQueryObjecti64v((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int64[] @params); /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -81575,25 +47441,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjecti64v")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetQueryObjecti64v((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] out Int64 @params); /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -81615,18 +47463,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjecti64v")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjecti64v((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (Int64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int64* @params); /// [requires: v1.5] /// Return parameters of a query object @@ -81647,24 +47484,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int32[] @params); /// [requires: v1.5] /// Return parameters of a query object @@ -81685,25 +47505,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] out Int32 @params); /// [requires: v1.5] /// Return parameters of a query object @@ -81725,18 +47527,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static - unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int32* @params); /// [requires: v1.5] /// Return parameters of a query object @@ -81758,24 +47549,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int32[] @params); /// [requires: v1.5] /// Return parameters of a query object @@ -81797,25 +47571,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] out Int32 @params); /// [requires: v1.5] /// Return parameters of a query object @@ -81837,18 +47593,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int32* @params); /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -81870,24 +47615,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjectui64v")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] UInt64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = @params) - { - Delegates.glGetQueryObjectui64v((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (UInt64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] UInt64[] @params); /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -81909,25 +47637,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjectui64v")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] out UInt64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = &@params) - { - Delegates.glGetQueryObjectui64v((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (UInt64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] out UInt64 @params); /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -81949,18 +47659,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjectui64v")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] UInt64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectui64v((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (UInt64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] UInt64* @params); /// [requires: v1.5] /// Return parameters of a query object @@ -81982,24 +47681,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectuiv")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] UInt32[] @params); /// [requires: v1.5] /// Return parameters of a query object @@ -82021,25 +47703,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectuiv")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] out UInt32 @params); /// [requires: v1.5] /// Return parameters of a query object @@ -82061,18 +47725,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectuiv")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] UInt32* @params); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Retrieve information about a bound renderbuffer object @@ -82093,24 +47746,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static - void GetRenderbufferParameter(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetRenderbufferParameter(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32[] @params); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Retrieve information about a bound renderbuffer object @@ -82131,25 +47767,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static - void GetRenderbufferParameter(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetRenderbufferParameter(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] out Int32 @params); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Retrieve information about a bound renderbuffer object @@ -82171,18 +47789,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static - unsafe void GetRenderbufferParameter(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetRenderbufferParameter(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32* @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -82203,24 +47810,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterfv")] - public static - void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] Single[] @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -82241,25 +47831,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterfv")] - public static - void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] out Single @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -82281,18 +47853,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterfv")] - public static - unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] Single* @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -82314,24 +47875,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterfv")] - public static - void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] Single[] @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -82353,25 +47897,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterfv")] - public static - void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] out Single @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -82393,199 +47919,50 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterfv")] - public static - unsafe void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] Single* @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterIiv")] - public static - void GetSamplerParameterI(Int32 sampler, OpenTK.Graphics.OpenGL.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.All)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameterI(Int32 sampler, OpenTK.Graphics.OpenGL.All pname, [OutAttribute] Int32[] @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterIiv")] - public static - void GetSamplerParameterI(Int32 sampler, OpenTK.Graphics.OpenGL.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.All)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameterI(Int32 sampler, OpenTK.Graphics.OpenGL.All pname, [OutAttribute] out Int32 @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterIiv")] - public static - unsafe void GetSamplerParameterI(Int32 sampler, OpenTK.Graphics.OpenGL.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.All)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetSamplerParameterI(Int32 sampler, OpenTK.Graphics.OpenGL.All pname, [OutAttribute] Int32* @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterIiv")] - public static - void GetSamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.All)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.All pname, [OutAttribute] Int32[] @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterIiv")] - public static - void GetSamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.All)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.All pname, [OutAttribute] out Int32 @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterIiv")] - public static - unsafe void GetSamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.All)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetSamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.All pname, [OutAttribute] Int32* @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterIuiv")] - public static - void GetSamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.All pname, [OutAttribute] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetSamplerParameterIuiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.All)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.All pname, [OutAttribute] UInt32[] @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterIuiv")] - public static - void GetSamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.All pname, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetSamplerParameterIuiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.All)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.All pname, [OutAttribute] out UInt32 @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterIuiv")] - public static - unsafe void GetSamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.All pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSamplerParameterIuiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.All)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetSamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.All pname, [OutAttribute] UInt32* @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -82606,24 +47983,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameteriv")] - public static - void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] Int32[] @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -82644,25 +48004,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameteriv")] - public static - void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] out Int32 @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -82684,18 +48026,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameteriv")] - public static - unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] Int32* @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -82717,24 +48048,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameteriv")] - public static - void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] Int32[] @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -82756,25 +48070,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameteriv")] - public static - void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] out Int32 @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -82796,18 +48092,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameteriv")] - public static - unsafe void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] Int32* @params); /// /// Get separable convolution filter kernel images @@ -82843,18 +48128,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span); - #if DEBUG - } - #endif - } + public static extern void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span); /// /// Get separable convolution filter kernel images @@ -82890,33 +48164,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] row, [InAttribute, OutAttribute] T4[] column, [InAttribute, OutAttribute] T5[] span) + public static extern void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] row, [InAttribute, OutAttribute] T4[] column, [InAttribute, OutAttribute] T5[] span) where T3 : struct where T4 : struct where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Get separable convolution filter kernel images @@ -82952,33 +48204,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] row, [InAttribute, OutAttribute] T4[,] column, [InAttribute, OutAttribute] T5[,] span) + public static extern void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] row, [InAttribute, OutAttribute] T4[,] column, [InAttribute, OutAttribute] T5[,] span) where T3 : struct where T4 : struct where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Get separable convolution filter kernel images @@ -83014,33 +48244,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,,] row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) + public static extern void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,,] row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) where T3 : struct where T4 : struct where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Get separable convolution filter kernel images @@ -83076,36 +48284,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 row, [InAttribute, OutAttribute] ref T4 column, [InAttribute, OutAttribute] ref T5 span) + public static extern void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 row, [InAttribute, OutAttribute] ref T4 column, [InAttribute, OutAttribute] ref T5 span) where T3 : struct where T4 : struct where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - row = (T3)row_ptr.Target; - column = (T4)column_ptr.Target; - span = (T5)span_ptr.Target; - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0] /// Returns the information log for a shader object @@ -83131,25 +48314,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static - void GetShaderInfoLog(Int32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShaderInfoLog(Int32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog); /// [requires: v2.0] /// Returns the information log for a shader object @@ -83176,18 +48341,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static - unsafe void GetShaderInfoLog(Int32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShaderInfoLog(Int32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); /// [requires: v2.0] /// Returns the information log for a shader object @@ -83214,25 +48368,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static - void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog); /// [requires: v2.0] /// Returns the information log for a shader object @@ -83259,18 +48395,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static - unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); /// [requires: v2.0] /// Returns a parameter from a shader object @@ -83291,24 +48416,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - void GetShader(Int32 shader, OpenTK.Graphics.OpenGL.ShaderParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.OpenGL.ShaderParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetShader(Int32 shader, OpenTK.Graphics.OpenGL.ShaderParameter pname, [OutAttribute] Int32[] @params); /// [requires: v2.0] /// Returns a parameter from a shader object @@ -83329,25 +48437,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - void GetShader(Int32 shader, OpenTK.Graphics.OpenGL.ShaderParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.OpenGL.ShaderParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShader(Int32 shader, OpenTK.Graphics.OpenGL.ShaderParameter pname, [OutAttribute] out Int32 @params); /// [requires: v2.0] /// Returns a parameter from a shader object @@ -83369,18 +48459,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - unsafe void GetShader(Int32 shader, OpenTK.Graphics.OpenGL.ShaderParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.OpenGL.ShaderParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShader(Int32 shader, OpenTK.Graphics.OpenGL.ShaderParameter pname, [OutAttribute] Int32* @params); /// [requires: v2.0] /// Returns a parameter from a shader object @@ -83402,24 +48481,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - void GetShader(UInt32 shader, OpenTK.Graphics.OpenGL.ShaderParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.OpenGL.ShaderParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetShader(UInt32 shader, OpenTK.Graphics.OpenGL.ShaderParameter pname, [OutAttribute] Int32[] @params); /// [requires: v2.0] /// Returns a parameter from a shader object @@ -83441,25 +48503,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - void GetShader(UInt32 shader, OpenTK.Graphics.OpenGL.ShaderParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.OpenGL.ShaderParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShader(UInt32 shader, OpenTK.Graphics.OpenGL.ShaderParameter pname, [OutAttribute] out Int32 @params); /// [requires: v2.0] /// Returns a parameter from a shader object @@ -83481,18 +48525,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - unsafe void GetShader(UInt32 shader, OpenTK.Graphics.OpenGL.ShaderParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.OpenGL.ShaderParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShader(UInt32 shader, OpenTK.Graphics.OpenGL.ShaderParameter pname, [OutAttribute] Int32* @params); /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -83518,25 +48551,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glGetShaderPrecisionFormat")] - public static - void GetShaderPrecisionFormat(OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ShaderPrecision precisiontype, [OutAttribute] Int32[] range, [OutAttribute] Int32[] precision) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* range_ptr = range) - fixed (Int32* precision_ptr = precision) - { - Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (OpenTK.Graphics.OpenGL.ShaderPrecision)precisiontype, (Int32*)range_ptr, (Int32*)precision_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetShaderPrecisionFormat(OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ShaderPrecision precisiontype, [OutAttribute] Int32[] range, [OutAttribute] Int32[] precision); /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -83562,27 +48577,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glGetShaderPrecisionFormat")] - public static - void GetShaderPrecisionFormat(OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ShaderPrecision precisiontype, [OutAttribute] out Int32 range, [OutAttribute] out Int32 precision) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* range_ptr = &range) - fixed (Int32* precision_ptr = &precision) - { - Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (OpenTK.Graphics.OpenGL.ShaderPrecision)precisiontype, (Int32*)range_ptr, (Int32*)precision_ptr); - range = *range_ptr; - precision = *precision_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShaderPrecisionFormat(OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ShaderPrecision precisiontype, [OutAttribute] out Int32 range, [OutAttribute] out Int32 precision); /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -83609,18 +48604,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glGetShaderPrecisionFormat")] - public static - unsafe void GetShaderPrecisionFormat(OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (OpenTK.Graphics.OpenGL.ShaderPrecision)precisiontype, (Int32*)range, (Int32*)precision); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShaderPrecisionFormat(OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision); /// [requires: v2.0] /// Returns the source code string from a shader object @@ -83646,25 +48630,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static - void GetShaderSource(Int32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)source); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShaderSource(Int32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source); /// [requires: v2.0] /// Returns the source code string from a shader object @@ -83691,18 +48657,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static - unsafe void GetShaderSource(Int32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)source); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShaderSource(Int32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); /// [requires: v2.0] /// Returns the source code string from a shader object @@ -83729,25 +48684,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static - void GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)source); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source); /// [requires: v2.0] /// Returns the source code string from a shader object @@ -83774,18 +48711,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static - unsafe void GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)source); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); /// [requires: v1.0] /// Return a string describing the current GL connection @@ -83801,18 +48727,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetString")] - public static - String GetString(OpenTK.Graphics.OpenGL.StringName name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)Delegates.glGetString((OpenTK.Graphics.OpenGL.StringName)name)); } - #if DEBUG - } - #endif - } + public static extern String GetString(OpenTK.Graphics.OpenGL.StringName name); /// [requires: v3.0] /// Return a string describing the current GL connection @@ -83829,18 +48744,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use StringNameIndexed overload instead")] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetStringi")] - public static - String GetString(OpenTK.Graphics.OpenGL.StringName name, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)Delegates.glGetStringi((OpenTK.Graphics.OpenGL.StringNameIndexed)name, (UInt32)index)); } - #if DEBUG - } - #endif - } + public static extern String GetString(OpenTK.Graphics.OpenGL.StringName name, Int32 index); /// [requires: v3.0] /// Return a string describing the current GL connection @@ -83858,18 +48762,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use StringNameIndexed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetStringi")] - public static - String GetString(OpenTK.Graphics.OpenGL.StringName name, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)Delegates.glGetStringi((OpenTK.Graphics.OpenGL.StringNameIndexed)name, (UInt32)index)); } - #if DEBUG - } - #endif - } + public static extern String GetString(OpenTK.Graphics.OpenGL.StringName name, UInt32 index); /// [requires: v3.0] /// Return a string describing the current GL connection @@ -83885,18 +48778,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetStringi")] - public static - String GetString(OpenTK.Graphics.OpenGL.StringNameIndexed name, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)Delegates.glGetStringi((OpenTK.Graphics.OpenGL.StringNameIndexed)name, (UInt32)index)); } - #if DEBUG - } - #endif - } + public static extern String GetString(OpenTK.Graphics.OpenGL.StringNameIndexed name, Int32 index); /// [requires: v3.0] /// Return a string describing the current GL connection @@ -83913,18 +48795,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetStringi")] - public static - String GetString(OpenTK.Graphics.OpenGL.StringNameIndexed name, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)Delegates.glGetStringi((OpenTK.Graphics.OpenGL.StringNameIndexed)name, (UInt32)index)); } - #if DEBUG - } - #endif - } + public static extern String GetString(OpenTK.Graphics.OpenGL.StringNameIndexed name, UInt32 index); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Retrieve the index of a subroutine uniform of a given shader stage within a program @@ -83945,18 +48816,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetSubroutineIndex")] - public static - Int32 GetSubroutineIndex(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetSubroutineIndex((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetSubroutineIndex(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, String name); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Retrieve the index of a subroutine uniform of a given shader stage within a program @@ -83978,18 +48838,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetSubroutineIndex")] - public static - Int32 GetSubroutineIndex(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetSubroutineIndex((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetSubroutineIndex(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, String name); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Retrieve the location of a subroutine uniform of a given shader stage within a program @@ -84010,18 +48859,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetSubroutineUniformLocation")] - public static - Int32 GetSubroutineUniformLocation(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetSubroutineUniformLocation((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetSubroutineUniformLocation(Int32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, String name); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Retrieve the location of a subroutine uniform of a given shader stage within a program @@ -84043,18 +48881,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetSubroutineUniformLocation")] - public static - Int32 GetSubroutineUniformLocation(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetSubroutineUniformLocation((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetSubroutineUniformLocation(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, String name); /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Query the properties of a sync object @@ -84086,26 +48913,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use SyncParameterName overload instead")] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetSynciv")] - public static - void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL.ArbSync pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] Int32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* values_ptr = values) - { - Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.OpenGL.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL.ArbSync pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] Int32[] values); /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Query the properties of a sync object @@ -84137,27 +48945,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use SyncParameterName overload instead")] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetSynciv")] - public static - void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL.ArbSync pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* values_ptr = &values) - { - Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.OpenGL.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr); - length = *length_ptr; - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL.ArbSync pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values); /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Query the properties of a sync object @@ -84190,18 +48978,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use SyncParameterName overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetSynciv")] - public static - unsafe void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL.ArbSync pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.OpenGL.SyncParameterName)pname, (Int32)bufSize, (Int32*)length, (Int32*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL.ArbSync pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Query the properties of a sync object @@ -84232,26 +49009,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetSynciv")] - public static - void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL.SyncParameterName pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] Int32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* values_ptr = values) - { - Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.OpenGL.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL.SyncParameterName pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] Int32[] values); /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Query the properties of a sync object @@ -84282,27 +49040,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetSynciv")] - public static - void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL.SyncParameterName pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* values_ptr = &values) - { - Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.OpenGL.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr); - length = *length_ptr; - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL.SyncParameterName pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values); /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Query the properties of a sync object @@ -84334,18 +49072,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetSynciv")] - public static - unsafe void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.OpenGL.SyncParameterName)pname, (Int32)bufSize, (Int32*)length, (Int32*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); /// [requires: v1.0][deprecated: v3.2] /// Return texture environment parameters @@ -84366,24 +49093,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexEnvfv")] - public static - void GetTexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTexEnvfv((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Single[] @params); /// [requires: v1.0][deprecated: v3.2] /// Return texture environment parameters @@ -84404,25 +49114,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexEnvfv")] - public static - void GetTexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetTexEnvfv((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] out Single @params); /// [requires: v1.0][deprecated: v3.2] /// Return texture environment parameters @@ -84444,18 +49136,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexEnvfv")] - public static - unsafe void GetTexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexEnvfv((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Single* @params); /// [requires: v1.0][deprecated: v3.2] /// Return texture environment parameters @@ -84476,24 +49157,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexEnviv")] - public static - void GetTexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTexEnviv((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Int32[] @params); /// [requires: v1.0][deprecated: v3.2] /// Return texture environment parameters @@ -84514,25 +49178,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexEnviv")] - public static - void GetTexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTexEnviv((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] out Int32 @params); /// [requires: v1.0][deprecated: v3.2] /// Return texture environment parameters @@ -84554,18 +49200,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexEnviv")] - public static - unsafe void GetTexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexEnviv((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Int32* @params); /// [requires: v1.0][deprecated: v3.2] /// Return texture coordinate generation parameters @@ -84586,24 +49221,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexGendv")] - public static - void GetTexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetTexGendv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Double[] @params); /// [requires: v1.0][deprecated: v3.2] /// Return texture coordinate generation parameters @@ -84624,25 +49242,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexGendv")] - public static - void GetTexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetTexGendv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] out Double @params); /// [requires: v1.0][deprecated: v3.2] /// Return texture coordinate generation parameters @@ -84664,18 +49264,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexGendv")] - public static - unsafe void GetTexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexGendv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Double* @params); /// [requires: v1.0][deprecated: v3.2] /// Return texture coordinate generation parameters @@ -84696,24 +49285,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexGenfv")] - public static - void GetTexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTexGenfv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Single[] @params); /// [requires: v1.0][deprecated: v3.2] /// Return texture coordinate generation parameters @@ -84734,25 +49306,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexGenfv")] - public static - void GetTexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetTexGenfv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] out Single @params); /// [requires: v1.0][deprecated: v3.2] /// Return texture coordinate generation parameters @@ -84774,18 +49328,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexGenfv")] - public static - unsafe void GetTexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexGenfv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Single* @params); /// [requires: v1.0][deprecated: v3.2] /// Return texture coordinate generation parameters @@ -84806,24 +49349,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexGeniv")] - public static - void GetTexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTexGeniv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Int32[] @params); /// [requires: v1.0][deprecated: v3.2] /// Return texture coordinate generation parameters @@ -84844,25 +49370,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexGeniv")] - public static - void GetTexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTexGeniv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] out Int32 @params); /// [requires: v1.0][deprecated: v3.2] /// Return texture coordinate generation parameters @@ -84884,18 +49392,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexGeniv")] - public static - unsafe void GetTexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexGeniv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Int32* @params); /// [requires: v1.0] /// Return a texture image @@ -84926,18 +49423,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexImage")] - public static - void GetTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexImage((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void GetTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels); /// [requires: v1.0] /// Return a texture image @@ -84968,27 +49454,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexImage")] - public static - void GetTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[] pixels) + public static extern void GetTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[] pixels) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTexImage((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Return a texture image @@ -85019,27 +49487,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexImage")] - public static - void GetTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,] pixels) + public static extern void GetTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,] pixels) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTexImage((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Return a texture image @@ -85070,27 +49520,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexImage")] - public static - void GetTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,,] pixels) + public static extern void GetTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,,] pixels) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTexImage((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Return a texture image @@ -85121,28 +49553,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexImage")] - public static - void GetTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 pixels) + public static extern void GetTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 pixels) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTexImage((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T4)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Return texture parameter values for a specific level of detail @@ -85168,24 +49581,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexLevelParameterfv")] - public static - void GetTexLevelParameter(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTexLevelParameterfv((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexLevelParameter(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single[] @params); /// [requires: v1.0] /// Return texture parameter values for a specific level of detail @@ -85211,25 +49607,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexLevelParameterfv")] - public static - void GetTexLevelParameter(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetTexLevelParameterfv((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexLevelParameter(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Single @params); /// [requires: v1.0] /// Return texture parameter values for a specific level of detail @@ -85256,18 +49634,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexLevelParameterfv")] - public static - unsafe void GetTexLevelParameter(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexLevelParameterfv((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexLevelParameter(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params); /// [requires: v1.0] /// Return texture parameter values for a specific level of detail @@ -85293,24 +49660,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexLevelParameteriv")] - public static - void GetTexLevelParameter(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTexLevelParameteriv((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexLevelParameter(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params); /// [requires: v1.0] /// Return texture parameter values for a specific level of detail @@ -85336,25 +49686,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexLevelParameteriv")] - public static - void GetTexLevelParameter(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTexLevelParameteriv((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexLevelParameter(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params); /// [requires: v1.0] /// Return texture parameter values for a specific level of detail @@ -85381,18 +49713,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexLevelParameteriv")] - public static - unsafe void GetTexLevelParameter(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexLevelParameteriv((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexLevelParameter(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); /// [requires: v1.0] /// Return texture parameter values @@ -85413,24 +49734,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexParameterfv")] - public static - void GetTexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTexParameterfv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single[] @params); /// [requires: v1.0] /// Return texture parameter values @@ -85451,25 +49755,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexParameterfv")] - public static - void GetTexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetTexParameterfv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Single @params); /// [requires: v1.0] /// Return texture parameter values @@ -85491,138 +49777,35 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexParameterfv")] - public static - unsafe void GetTexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameterfv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTexParameterIiv")] - public static - void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTexParameterIiv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTexParameterIiv")] - public static - void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTexParameterIiv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTexParameterIiv")] - public static - unsafe void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameterIiv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTexParameterIuiv")] - public static - void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetTexParameterIuiv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32[] @params); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTexParameterIuiv")] - public static - void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetTexParameterIuiv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out UInt32 @params); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTexParameterIuiv")] - public static - unsafe void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameterIuiv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params); /// [requires: v1.0] /// Return texture parameter values @@ -85643,24 +49826,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexParameteriv")] - public static - void GetTexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTexParameteriv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params); /// [requires: v1.0] /// Return texture parameter values @@ -85681,25 +49847,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexParameteriv")] - public static - void GetTexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTexParameteriv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params); /// [requires: v1.0] /// Return texture parameter values @@ -85721,18 +49869,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexParameteriv")] - public static - unsafe void GetTexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameteriv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); /// [requires: v3.0] /// Retrieve information about varying variables selected for transform feedback @@ -85773,29 +49910,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static - void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ActiveAttribType type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.OpenGL.ActiveAttribType* type_ptr = &type) - { - Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.TransformFeedbackType*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ActiveAttribType type, [OutAttribute] StringBuilder name); /// [requires: v3.0] /// Retrieve information about varying variables selected for transform feedback @@ -85836,29 +49951,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static - void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.TransformFeedbackType type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.OpenGL.TransformFeedbackType* type_ptr = &type) - { - Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.TransformFeedbackType*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.TransformFeedbackType type, [OutAttribute] StringBuilder name); /// [requires: v3.0] /// Retrieve information about varying variables selected for transform feedback @@ -85900,18 +49993,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static - unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveAttribType* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.TransformFeedbackType*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveAttribType* type, [OutAttribute] StringBuilder name); /// [requires: v3.0] /// Retrieve information about varying variables selected for transform feedback @@ -85953,18 +50035,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static - unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.TransformFeedbackType* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.TransformFeedbackType*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.TransformFeedbackType* type, [OutAttribute] StringBuilder name); /// [requires: v3.0] /// Retrieve information about varying variables selected for transform feedback @@ -86006,29 +50077,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static - void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ActiveAttribType type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.OpenGL.ActiveAttribType* type_ptr = &type) - { - Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.TransformFeedbackType*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ActiveAttribType type, [OutAttribute] StringBuilder name); /// [requires: v3.0] /// Retrieve information about varying variables selected for transform feedback @@ -86070,29 +50119,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static - void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.TransformFeedbackType type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.OpenGL.TransformFeedbackType* type_ptr = &type) - { - Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.TransformFeedbackType*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.TransformFeedbackType type, [OutAttribute] StringBuilder name); /// [requires: v3.0] /// Retrieve information about varying variables selected for transform feedback @@ -86134,18 +50161,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static - unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveAttribType* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.TransformFeedbackType*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveAttribType* type, [OutAttribute] StringBuilder name); /// [requires: v3.0] /// Retrieve information about varying variables selected for transform feedback @@ -86187,18 +50203,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static - unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.TransformFeedbackType* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.TransformFeedbackType*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.TransformFeedbackType* type, [OutAttribute] StringBuilder name); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the index of a named uniform block @@ -86214,18 +50219,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetUniformBlockIndex")] - public static - Int32 GetUniformBlockIndex(Int32 program, String uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetUniformBlockIndex((UInt32)program, (String)uniformBlockName); - #if DEBUG - } - #endif - } + public static extern Int32 GetUniformBlockIndex(Int32 program, String uniformBlockName); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the index of a named uniform block @@ -86242,18 +50236,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetUniformBlockIndex")] - public static - Int32 GetUniformBlockIndex(UInt32 program, String uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetUniformBlockIndex((UInt32)program, (String)uniformBlockName); - #if DEBUG - } - #endif - } + public static extern Int32 GetUniformBlockIndex(UInt32 program, String uniformBlockName); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Returns the value of a uniform variable @@ -86274,24 +50257,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformdv")] - public static - void GetUniform(Int32 program, Int32 location, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetUniformdv((UInt32)program, (Int32)location, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] Double[] @params); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Returns the value of a uniform variable @@ -86312,25 +50278,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformdv")] - public static - void GetUniform(Int32 program, Int32 location, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetUniformdv((UInt32)program, (Int32)location, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] out Double @params); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Returns the value of a uniform variable @@ -86352,18 +50300,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformdv")] - public static - unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformdv((UInt32)program, (Int32)location, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Double* @params); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Returns the value of a uniform variable @@ -86385,24 +50322,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformdv")] - public static - void GetUniform(UInt32 program, Int32 location, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetUniformdv((UInt32)program, (Int32)location, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] Double[] @params); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Returns the value of a uniform variable @@ -86424,25 +50344,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformdv")] - public static - void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetUniformdv((UInt32)program, (Int32)location, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Double @params); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Returns the value of a uniform variable @@ -86464,18 +50366,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformdv")] - public static - unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformdv((UInt32)program, (Int32)location, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Double* @params); /// [requires: v2.0] /// Returns the value of a uniform variable @@ -86496,24 +50387,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static - void GetUniform(Int32 program, Int32 location, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] Single[] @params); /// [requires: v2.0] /// Returns the value of a uniform variable @@ -86534,25 +50408,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static - void GetUniform(Int32 program, Int32 location, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] out Single @params); /// [requires: v2.0] /// Returns the value of a uniform variable @@ -86574,18 +50430,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static - unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Single* @params); /// [requires: v2.0] /// Returns the value of a uniform variable @@ -86607,24 +50452,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static - void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single[] @params); /// [requires: v2.0] /// Returns the value of a uniform variable @@ -86646,25 +50474,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static - void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Single @params); /// [requires: v2.0] /// Returns the value of a uniform variable @@ -86686,18 +50496,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static - unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single* @params); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the index of a named uniform block @@ -86723,24 +50522,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetUniformIndices")] - public static - void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] Int32[] uniformIndices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* uniformIndices_ptr = uniformIndices) - { - Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] Int32[] uniformIndices); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the index of a named uniform block @@ -86766,25 +50548,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetUniformIndices")] - public static - void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] out Int32 uniformIndices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* uniformIndices_ptr = &uniformIndices) - { - Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices_ptr); - uniformIndices = *uniformIndices_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] out Int32 uniformIndices); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the index of a named uniform block @@ -86811,18 +50575,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetUniformIndices")] - public static - unsafe void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] Int32* uniformIndices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] Int32* uniformIndices); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the index of a named uniform block @@ -86849,24 +50602,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetUniformIndices")] - public static - void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] UInt32[] uniformIndices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* uniformIndices_ptr = uniformIndices) - { - Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] UInt32[] uniformIndices); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the index of a named uniform block @@ -86893,25 +50629,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetUniformIndices")] - public static - void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] out UInt32 uniformIndices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* uniformIndices_ptr = &uniformIndices) - { - Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices_ptr); - uniformIndices = *uniformIndices_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] out UInt32 uniformIndices); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the index of a named uniform block @@ -86938,18 +50656,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetUniformIndices")] - public static - unsafe void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] UInt32* uniformIndices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] UInt32* uniformIndices); /// [requires: v2.0] /// Returns the value of a uniform variable @@ -86970,24 +50677,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static - void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32[] @params); /// [requires: v2.0] /// Returns the value of a uniform variable @@ -87008,25 +50698,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static - void GetUniform(Int32 program, Int32 location, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] out Int32 @params); /// [requires: v2.0] /// Returns the value of a uniform variable @@ -87048,18 +50720,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static - unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32* @params); /// [requires: v2.0] /// Returns the value of a uniform variable @@ -87081,24 +50742,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static - void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32[] @params); /// [requires: v2.0] /// Returns the value of a uniform variable @@ -87120,25 +50764,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static - void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Int32 @params); /// [requires: v2.0] /// Returns the value of a uniform variable @@ -87160,18 +50786,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static - unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32* @params); /// [requires: v2.0] /// Returns the location of a uniform variable @@ -87187,18 +50802,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformLocation")] - public static - Int32 GetUniformLocation(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetUniformLocation((UInt32)program, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetUniformLocation(Int32 program, String name); /// [requires: v2.0] /// Returns the location of a uniform variable @@ -87215,18 +50819,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformLocation")] - public static - Int32 GetUniformLocation(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetUniformLocation((UInt32)program, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetUniformLocation(UInt32 program, String name); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Retrieve the value of a subroutine uniform of a given shader stage of the current program @@ -87247,25 +50840,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformSubroutineuiv")] - public static - void GetUniformSubroutine(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 location, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetUniformSubroutineuiv((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (Int32)location, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniformSubroutine(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 location, [OutAttribute] out Int32 @params); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Retrieve the value of a subroutine uniform of a given shader stage of the current program @@ -87287,18 +50862,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformSubroutineuiv")] - public static - unsafe void GetUniformSubroutine(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 location, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformSubroutineuiv((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (Int32)location, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniformSubroutine(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 location, [OutAttribute] Int32* @params); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Retrieve the value of a subroutine uniform of a given shader stage of the current program @@ -87320,25 +50884,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformSubroutineuiv")] - public static - void GetUniformSubroutine(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 location, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetUniformSubroutineuiv((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (Int32)location, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniformSubroutine(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 location, [OutAttribute] out UInt32 @params); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Retrieve the value of a subroutine uniform of a given shader stage of the current program @@ -87360,18 +50906,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformSubroutineuiv")] - public static - unsafe void GetUniformSubroutine(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 location, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformSubroutineuiv((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (Int32)location, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniformSubroutine(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 location, [OutAttribute] UInt32* @params); /// [requires: v3.0] /// Returns the value of a uniform variable @@ -87393,24 +50928,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformuiv")] - public static - void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetUniformuiv((UInt32)program, (Int32)location, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt32[] @params); /// [requires: v3.0] /// Returns the value of a uniform variable @@ -87432,25 +50950,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformuiv")] - public static - void GetUniform(UInt32 program, Int32 location, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetUniformuiv((UInt32)program, (Int32)location, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] out UInt32 @params); /// [requires: v3.0] /// Returns the value of a uniform variable @@ -87472,18 +50972,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformuiv")] - public static - unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformuiv((UInt32)program, (Int32)location, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt32* @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -87504,24 +50993,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double[] @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -87542,25 +51014,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] out Double @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -87582,18 +51036,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double* @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -87615,24 +51058,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double[] @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -87654,25 +51080,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] out Double @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -87694,18 +51102,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double* @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -87726,24 +51123,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Single[] @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -87764,25 +51144,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] out Single @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -87804,18 +51166,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Single* @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -87837,24 +51188,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Single[] @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -87876,25 +51210,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] out Single @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -87916,134 +51232,36 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Single* @params); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] - public static - void GetVertexAttribI(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribI(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] out Int32 @params); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] - public static - unsafe void GetVertexAttribI(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttribI(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Int32* @params); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] - public static - void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] out Int32 @params); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] - public static - unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Int32* @params); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIuiv")] - public static - void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribIuiv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] out UInt32 @params); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIuiv")] - public static - unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribIuiv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] UInt32* @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -88064,24 +51282,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Int32[] @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -88102,25 +51303,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] out Int32 @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -88142,18 +51325,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Int32* @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -88175,24 +51347,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Int32[] @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -88214,25 +51369,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] out Int32 @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -88254,138 +51391,35 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Int32* @params); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glGetVertexAttribLdv")] - public static - void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetVertexAttribLdv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double[] @params); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glGetVertexAttribLdv")] - public static - void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetVertexAttribLdv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] out Double @params); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glGetVertexAttribLdv")] - public static - unsafe void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribLdv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double* @params); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glGetVertexAttribLdv")] - public static - void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetVertexAttribLdv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double[] @params); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glGetVertexAttribLdv")] - public static - void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetVertexAttribLdv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] out Double @params); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glGetVertexAttribLdv")] - public static - unsafe void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribLdv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double* @params); /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -88406,18 +51440,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameter)pname, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer); /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -88438,27 +51461,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[] pointer) + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -88479,27 +51484,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,] pointer) + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -88520,27 +51507,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,,] pointer) + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -88561,28 +51530,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] ref T2 pointer) + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] ref T2 pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -88604,18 +51554,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameter)pname, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer); /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -88637,27 +51576,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[] pointer) + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -88679,27 +51600,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,] pointer) + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -88721,27 +51624,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,,] pointer) + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -88763,28 +51648,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] ref T2 pointer) + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] ref T2 pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify implementation-specific hints @@ -88800,18 +51666,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glHint")] - public static - void Hint(OpenTK.Graphics.OpenGL.HintTarget target, OpenTK.Graphics.OpenGL.HintMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glHint((OpenTK.Graphics.OpenGL.HintTarget)target, (OpenTK.Graphics.OpenGL.HintMode)mode); - #if DEBUG - } - #endif - } + public static extern void Hint(OpenTK.Graphics.OpenGL.HintTarget target, OpenTK.Graphics.OpenGL.HintMode mode); /// /// Define histogram table @@ -88837,18 +51692,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glHistogram")] - public static - void Histogram(OpenTK.Graphics.OpenGL.HistogramTarget target, Int32 width, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glHistogram((OpenTK.Graphics.OpenGL.HistogramTarget)target, (Int32)width, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (bool)sink); - #if DEBUG - } - #endif - } + public static extern void Histogram(OpenTK.Graphics.OpenGL.HistogramTarget target, Int32 width, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); /// [requires: v1.0][deprecated: v3.2] /// Set the current color index @@ -88862,18 +51706,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glIndexd")] - public static - void Index(Double c) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glIndexd((Double)c); - #if DEBUG - } - #endif - } + public static extern void Index(Double c); /// [requires: v1.0][deprecated: v3.2] /// Set the current color index @@ -88888,18 +51721,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glIndexdv")] - public static - unsafe void Index(Double* c) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glIndexdv((Double*)c); - #if DEBUG - } - #endif - } + public static extern unsafe void Index(Double* c); /// [requires: v1.0][deprecated: v3.2] /// Set the current color index @@ -88913,18 +51735,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glIndexf")] - public static - void Index(Single c) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glIndexf((Single)c); - #if DEBUG - } - #endif - } + public static extern void Index(Single c); /// [requires: v1.0][deprecated: v3.2] /// Set the current color index @@ -88939,18 +51750,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glIndexfv")] - public static - unsafe void Index(Single* c) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glIndexfv((Single*)c); - #if DEBUG - } - #endif - } + public static extern unsafe void Index(Single* c); /// [requires: v1.0][deprecated: v3.2] /// Set the current color index @@ -88964,18 +51764,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glIndexi")] - public static - void Index(Int32 c) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glIndexi((Int32)c); - #if DEBUG - } - #endif - } + public static extern void Index(Int32 c); /// [requires: v1.0][deprecated: v3.2] /// Set the current color index @@ -88990,18 +51779,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glIndexiv")] - public static - unsafe void Index(Int32* c) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glIndexiv((Int32*)c); - #if DEBUG - } - #endif - } + public static extern unsafe void Index(Int32* c); /// [requires: v1.0][deprecated: v3.2] /// Control the writing of individual bits in the color index buffers @@ -89012,18 +51790,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glIndexMask")] - public static - void IndexMask(Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glIndexMask((UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void IndexMask(Int32 mask); /// [requires: v1.0][deprecated: v3.2] /// Control the writing of individual bits in the color index buffers @@ -89035,18 +51802,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glIndexMask")] - public static - void IndexMask(UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glIndexMask((UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void IndexMask(UInt32 mask); /// [requires: v1.1][deprecated: v3.2] /// Define an array of color indexes @@ -89067,18 +51823,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glIndexPointer")] - public static - void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glIndexPointer((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, IntPtr pointer); /// [requires: v1.1][deprecated: v3.2] /// Define an array of color indexes @@ -89099,27 +51844,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glIndexPointer")] - public static - void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) + public static extern void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glIndexPointer((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1][deprecated: v3.2] /// Define an array of color indexes @@ -89140,27 +51867,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glIndexPointer")] - public static - void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) + public static extern void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glIndexPointer((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1][deprecated: v3.2] /// Define an array of color indexes @@ -89181,27 +51890,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glIndexPointer")] - public static - void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) + public static extern void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glIndexPointer((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1][deprecated: v3.2] /// Define an array of color indexes @@ -89222,28 +51913,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glIndexPointer")] - public static - void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) + public static extern void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glIndexPointer((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0][deprecated: v3.2] /// Set the current color index @@ -89257,18 +51929,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glIndexs")] - public static - void Index(Int16 c) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glIndexs((Int16)c); - #if DEBUG - } - #endif - } + public static extern void Index(Int16 c); /// [requires: v1.0][deprecated: v3.2] /// Set the current color index @@ -89283,18 +51944,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glIndexsv")] - public static - unsafe void Index(Int16* c) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glIndexsv((Int16*)c); - #if DEBUG - } - #endif - } + public static extern unsafe void Index(Int16* c); /// [requires: v1.1][deprecated: v3.2] /// Set the current color index @@ -89308,18 +51958,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glIndexub")] - public static - void Index(Byte c) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glIndexub((Byte)c); - #if DEBUG - } - #endif - } + public static extern void Index(Byte c); /// [requires: v1.1][deprecated: v3.2] /// Set the current color index @@ -89334,35 +51973,13 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glIndexubv")] - public static - unsafe void Index(Byte* c) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glIndexubv((Byte*)c); - #if DEBUG - } - #endif - } + public static extern unsafe void Index(Byte* c); /// [requires: v1.0][deprecated: v3.2] /// Initialize the name stack /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glInitNames")] - public static - void InitNames() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInitNames(); - #if DEBUG - } - #endif - } + public static extern void InitNames(); /// [requires: v1.1][deprecated: v3.2] /// Simultaneously specify and enable several interleaved arrays @@ -89378,18 +51995,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glInterleavedArrays")] - public static - void InterleavedArrays(OpenTK.Graphics.OpenGL.InterleavedArrayFormat format, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInterleavedArrays((OpenTK.Graphics.OpenGL.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void InterleavedArrays(OpenTK.Graphics.OpenGL.InterleavedArrayFormat format, Int32 stride, IntPtr pointer); /// [requires: v1.1][deprecated: v3.2] /// Simultaneously specify and enable several interleaved arrays @@ -89405,27 +52011,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glInterleavedArrays")] - public static - void InterleavedArrays(OpenTK.Graphics.OpenGL.InterleavedArrayFormat format, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) + public static extern void InterleavedArrays(OpenTK.Graphics.OpenGL.InterleavedArrayFormat format, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glInterleavedArrays((OpenTK.Graphics.OpenGL.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1][deprecated: v3.2] /// Simultaneously specify and enable several interleaved arrays @@ -89441,27 +52029,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glInterleavedArrays")] - public static - void InterleavedArrays(OpenTK.Graphics.OpenGL.InterleavedArrayFormat format, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) + public static extern void InterleavedArrays(OpenTK.Graphics.OpenGL.InterleavedArrayFormat format, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glInterleavedArrays((OpenTK.Graphics.OpenGL.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1][deprecated: v3.2] /// Simultaneously specify and enable several interleaved arrays @@ -89477,27 +52047,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glInterleavedArrays")] - public static - void InterleavedArrays(OpenTK.Graphics.OpenGL.InterleavedArrayFormat format, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) + public static extern void InterleavedArrays(OpenTK.Graphics.OpenGL.InterleavedArrayFormat format, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glInterleavedArrays((OpenTK.Graphics.OpenGL.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1][deprecated: v3.2] /// Simultaneously specify and enable several interleaved arrays @@ -89513,28 +52065,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glInterleavedArrays")] - public static - void InterleavedArrays(OpenTK.Graphics.OpenGL.InterleavedArrayFormat format, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) + public static extern void InterleavedArrays(OpenTK.Graphics.OpenGL.InterleavedArrayFormat format, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glInterleavedArrays((OpenTK.Graphics.OpenGL.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate the content of a buffer object's data store @@ -89545,18 +52078,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateBufferData")] - public static - void InvalidateBufferData(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInvalidateBufferData((UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void InvalidateBufferData(Int32 buffer); /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate the content of a buffer object's data store @@ -89568,18 +52090,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateBufferData")] - public static - void InvalidateBufferData(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInvalidateBufferData((UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void InvalidateBufferData(UInt32 buffer); /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate a region of a buffer object's data store @@ -89600,18 +52111,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateBufferSubData")] - public static - void InvalidateBufferSubData(Int32 buffer, IntPtr offset, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInvalidateBufferSubData((UInt32)buffer, (IntPtr)offset, (IntPtr)length); - #if DEBUG - } - #endif - } + public static extern void InvalidateBufferSubData(Int32 buffer, IntPtr offset, IntPtr length); /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate a region of a buffer object's data store @@ -89633,18 +52133,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateBufferSubData")] - public static - void InvalidateBufferSubData(UInt32 buffer, IntPtr offset, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInvalidateBufferSubData((UInt32)buffer, (IntPtr)offset, (IntPtr)length); - #if DEBUG - } - #endif - } + public static extern void InvalidateBufferSubData(UInt32 buffer, IntPtr offset, IntPtr length); /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate the content some or all of a framebuffer object's attachments @@ -89665,24 +52154,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateFramebuffer")] - public static - void InvalidateFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.OpenGL.FramebufferAttachment[] attachments) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.FramebufferAttachment* attachments_ptr = attachments) - { - Delegates.glInvalidateFramebuffer((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.OpenGL.FramebufferAttachment*)attachments_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void InvalidateFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.OpenGL.FramebufferAttachment[] attachments); /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate the content some or all of a framebuffer object's attachments @@ -89703,24 +52175,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateFramebuffer")] - public static - void InvalidateFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, Int32 numAttachments, ref OpenTK.Graphics.OpenGL.FramebufferAttachment attachments) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.FramebufferAttachment* attachments_ptr = &attachments) - { - Delegates.glInvalidateFramebuffer((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.OpenGL.FramebufferAttachment*)attachments_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void InvalidateFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, Int32 numAttachments, ref OpenTK.Graphics.OpenGL.FramebufferAttachment attachments); /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate the content some or all of a framebuffer object's attachments @@ -89742,18 +52197,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateFramebuffer")] - public static - unsafe void InvalidateFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.OpenGL.FramebufferAttachment* attachments) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInvalidateFramebuffer((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.OpenGL.FramebufferAttachment*)attachments); - #if DEBUG - } - #endif - } + public static extern unsafe void InvalidateFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.OpenGL.FramebufferAttachment* attachments); /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate the content of a region of some or all of a framebuffer object's attachments @@ -89794,24 +52238,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateSubFramebuffer")] - public static - void InvalidateSubFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.OpenGL.FramebufferAttachment[] attachments, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.FramebufferAttachment* attachments_ptr = attachments) - { - Delegates.glInvalidateSubFramebuffer((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.OpenGL.FramebufferAttachment*)attachments_ptr, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - } - #if DEBUG - } - #endif - } + public static extern void InvalidateSubFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.OpenGL.FramebufferAttachment[] attachments, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate the content of a region of some or all of a framebuffer object's attachments @@ -89852,24 +52279,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateSubFramebuffer")] - public static - void InvalidateSubFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, Int32 numAttachments, ref OpenTK.Graphics.OpenGL.FramebufferAttachment attachments, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.FramebufferAttachment* attachments_ptr = &attachments) - { - Delegates.glInvalidateSubFramebuffer((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.OpenGL.FramebufferAttachment*)attachments_ptr, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - } - #if DEBUG - } - #endif - } + public static extern void InvalidateSubFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, Int32 numAttachments, ref OpenTK.Graphics.OpenGL.FramebufferAttachment attachments, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate the content of a region of some or all of a framebuffer object's attachments @@ -89911,18 +52321,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateSubFramebuffer")] - public static - unsafe void InvalidateSubFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.OpenGL.FramebufferAttachment* attachments, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInvalidateSubFramebuffer((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.OpenGL.FramebufferAttachment*)attachments, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern unsafe void InvalidateSubFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.OpenGL.FramebufferAttachment* attachments, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate the entirety a texture image @@ -89938,18 +52337,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateTexImage")] - public static - void InvalidateTexImage(Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInvalidateTexImage((UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void InvalidateTexImage(Int32 texture, Int32 level); /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate the entirety a texture image @@ -89966,18 +52354,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateTexImage")] - public static - void InvalidateTexImage(UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInvalidateTexImage((UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void InvalidateTexImage(UInt32 texture, Int32 level); /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate a region of a texture image @@ -90023,18 +52400,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateTexSubImage")] - public static - void InvalidateTexSubImage(Int32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInvalidateTexSubImage((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth); - #if DEBUG - } - #endif - } + public static extern void InvalidateTexSubImage(Int32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth); /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate a region of a texture image @@ -90081,18 +52447,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateTexSubImage")] - public static - void InvalidateTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInvalidateTexSubImage((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth); - #if DEBUG - } - #endif - } + public static extern void InvalidateTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth); /// [requires: v1.5] /// Determine if a name corresponds to a buffer object @@ -90103,18 +52458,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glIsBuffer")] - public static - bool IsBuffer(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsBuffer((UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern bool IsBuffer(Int32 buffer); /// [requires: v1.5] /// Determine if a name corresponds to a buffer object @@ -90126,18 +52470,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glIsBuffer")] - public static - bool IsBuffer(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsBuffer((UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern bool IsBuffer(UInt32 buffer); /// [requires: v1.0] /// Test whether a capability is enabled @@ -90153,18 +52486,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glIsEnabled")] - public static - bool IsEnabled(OpenTK.Graphics.OpenGL.EnableCap cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsEnabled((OpenTK.Graphics.OpenGL.EnableCap)cap); - #if DEBUG - } - #endif - } + public static extern bool IsEnabled(OpenTK.Graphics.OpenGL.EnableCap cap); /// [requires: v3.0] /// Test whether a capability is enabled @@ -90180,18 +52502,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glIsEnabledi")] - public static - bool IsEnabled(OpenTK.Graphics.OpenGL.IndexedEnableCap target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsEnabledi((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern bool IsEnabled(OpenTK.Graphics.OpenGL.IndexedEnableCap target, Int32 index); /// [requires: v3.0] /// Test whether a capability is enabled @@ -90208,18 +52519,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glIsEnabledi")] - public static - bool IsEnabled(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsEnabledi((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern bool IsEnabled(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Determine if a name corresponds to a framebuffer object @@ -90230,18 +52530,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glIsFramebuffer")] - public static - bool IsFramebuffer(Int32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsFramebuffer((UInt32)framebuffer); - #if DEBUG - } - #endif - } + public static extern bool IsFramebuffer(Int32 framebuffer); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Determine if a name corresponds to a framebuffer object @@ -90253,18 +52542,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glIsFramebuffer")] - public static - bool IsFramebuffer(UInt32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsFramebuffer((UInt32)framebuffer); - #if DEBUG - } - #endif - } + public static extern bool IsFramebuffer(UInt32 framebuffer); /// [requires: v1.0][deprecated: v3.2] /// Determine if a name corresponds to a display list @@ -90275,18 +52553,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glIsList")] - public static - bool IsList(Int32 list) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsList((UInt32)list); - #if DEBUG - } - #endif - } + public static extern bool IsList(Int32 list); /// [requires: v1.0][deprecated: v3.2] /// Determine if a name corresponds to a display list @@ -90298,18 +52565,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glIsList")] - public static - bool IsList(UInt32 list) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsList((UInt32)list); - #if DEBUG - } - #endif - } + public static extern bool IsList(UInt32 list); /// [requires: v2.0] /// Determines if a name corresponds to a program object @@ -90320,18 +52576,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glIsProgram")] - public static - bool IsProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern bool IsProgram(Int32 program); /// [requires: v2.0] /// Determines if a name corresponds to a program object @@ -90343,18 +52588,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glIsProgram")] - public static - bool IsProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern bool IsProgram(UInt32 program); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Determine if a name corresponds to a program pipeline object @@ -90365,18 +52599,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glIsProgramPipeline")] - public static - bool IsProgramPipeline(Int32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsProgramPipeline((UInt32)pipeline); - #if DEBUG - } - #endif - } + public static extern bool IsProgramPipeline(Int32 pipeline); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Determine if a name corresponds to a program pipeline object @@ -90388,18 +52611,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glIsProgramPipeline")] - public static - bool IsProgramPipeline(UInt32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsProgramPipeline((UInt32)pipeline); - #if DEBUG - } - #endif - } + public static extern bool IsProgramPipeline(UInt32 pipeline); /// [requires: v1.5] /// Determine if a name corresponds to a query object @@ -90410,18 +52622,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glIsQuery")] - public static - bool IsQuery(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsQuery((UInt32)id); - #if DEBUG - } - #endif - } + public static extern bool IsQuery(Int32 id); /// [requires: v1.5] /// Determine if a name corresponds to a query object @@ -90433,18 +52634,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glIsQuery")] - public static - bool IsQuery(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsQuery((UInt32)id); - #if DEBUG - } - #endif - } + public static extern bool IsQuery(UInt32 id); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Determine if a name corresponds to a renderbuffer object @@ -90455,18 +52645,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glIsRenderbuffer")] - public static - bool IsRenderbuffer(Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsRenderbuffer((UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern bool IsRenderbuffer(Int32 renderbuffer); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Determine if a name corresponds to a renderbuffer object @@ -90478,18 +52657,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glIsRenderbuffer")] - public static - bool IsRenderbuffer(UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsRenderbuffer((UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern bool IsRenderbuffer(UInt32 renderbuffer); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Determine if a name corresponds to a sampler object @@ -90500,18 +52668,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glIsSampler")] - public static - bool IsSampler(Int32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsSampler((UInt32)sampler); - #if DEBUG - } - #endif - } + public static extern bool IsSampler(Int32 sampler); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Determine if a name corresponds to a sampler object @@ -90523,18 +52680,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glIsSampler")] - public static - bool IsSampler(UInt32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsSampler((UInt32)sampler); - #if DEBUG - } - #endif - } + public static extern bool IsSampler(UInt32 sampler); /// [requires: v2.0] /// Determines if a name corresponds to a shader object @@ -90545,18 +52691,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glIsShader")] - public static - bool IsShader(Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsShader((UInt32)shader); - #if DEBUG - } - #endif - } + public static extern bool IsShader(Int32 shader); /// [requires: v2.0] /// Determines if a name corresponds to a shader object @@ -90568,18 +52703,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glIsShader")] - public static - bool IsShader(UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsShader((UInt32)shader); - #if DEBUG - } - #endif - } + public static extern bool IsShader(UInt32 shader); /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Determine if a name corresponds to a sync object @@ -90590,18 +52714,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glIsSync")] - public static - bool IsSync(IntPtr sync) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsSync((IntPtr)sync); - #if DEBUG - } - #endif - } + public static extern bool IsSync(IntPtr sync); /// [requires: v1.1] /// Determine if a name corresponds to a texture @@ -90612,18 +52725,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glIsTexture")] - public static - bool IsTexture(Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsTexture((UInt32)texture); - #if DEBUG - } - #endif - } + public static extern bool IsTexture(Int32 texture); /// [requires: v1.1] /// Determine if a name corresponds to a texture @@ -90635,18 +52737,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glIsTexture")] - public static - bool IsTexture(UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsTexture((UInt32)texture); - #if DEBUG - } - #endif - } + public static extern bool IsTexture(UInt32 texture); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Determine if a name corresponds to a transform feedback object @@ -90657,18 +52748,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glIsTransformFeedback")] - public static - bool IsTransformFeedback(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsTransformFeedback((UInt32)id); - #if DEBUG - } - #endif - } + public static extern bool IsTransformFeedback(Int32 id); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Determine if a name corresponds to a transform feedback object @@ -90680,18 +52760,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glIsTransformFeedback")] - public static - bool IsTransformFeedback(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsTransformFeedback((UInt32)id); - #if DEBUG - } - #endif - } + public static extern bool IsTransformFeedback(UInt32 id); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Determine if a name corresponds to a vertex array object @@ -90702,18 +52771,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glIsVertexArray")] - public static - bool IsVertexArray(Int32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsVertexArray((UInt32)array); - #if DEBUG - } - #endif - } + public static extern bool IsVertexArray(Int32 array); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Determine if a name corresponds to a vertex array object @@ -90725,18 +52783,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glIsVertexArray")] - public static - bool IsVertexArray(UInt32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsVertexArray((UInt32)array); - #if DEBUG - } - #endif - } + public static extern bool IsVertexArray(UInt32 array); /// [requires: v1.0][deprecated: v3.2] /// Set light source parameters @@ -90757,18 +52804,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLightf")] - public static - void Light(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightf((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void Light(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Single param); /// [requires: v1.0][deprecated: v3.2] /// Set light source parameters @@ -90789,24 +52825,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLightfv")] - public static - void Light(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glLightfv((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Light(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Single[] @params); /// [requires: v1.0][deprecated: v3.2] /// Set light source parameters @@ -90828,18 +52847,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLightfv")] - public static - unsafe void Light(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightfv((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void Light(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Single* @params); /// [requires: v1.0][deprecated: v3.2] /// Set light source parameters @@ -90860,18 +52868,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLighti")] - public static - void Light(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLighti((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void Light(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Int32 param); /// [requires: v1.0][deprecated: v3.2] /// Set light source parameters @@ -90892,24 +52889,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLightiv")] - public static - void Light(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glLightiv((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Light(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Int32[] @params); /// [requires: v1.0][deprecated: v3.2] /// Set light source parameters @@ -90931,18 +52911,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLightiv")] - public static - unsafe void Light(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightiv((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void Light(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Int32* @params); /// [requires: v1.0][deprecated: v3.2] /// Set the lighting model parameters @@ -90958,18 +52927,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLightModelf")] - public static - void LightModel(OpenTK.Graphics.OpenGL.LightModelParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightModelf((OpenTK.Graphics.OpenGL.LightModelParameter)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void LightModel(OpenTK.Graphics.OpenGL.LightModelParameter pname, Single param); /// [requires: v1.0][deprecated: v3.2] /// Set the lighting model parameters @@ -90985,24 +52943,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLightModelfv")] - public static - void LightModel(OpenTK.Graphics.OpenGL.LightModelParameter pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glLightModelfv((OpenTK.Graphics.OpenGL.LightModelParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LightModel(OpenTK.Graphics.OpenGL.LightModelParameter pname, Single[] @params); /// [requires: v1.0][deprecated: v3.2] /// Set the lighting model parameters @@ -91019,18 +52960,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLightModelfv")] - public static - unsafe void LightModel(OpenTK.Graphics.OpenGL.LightModelParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightModelfv((OpenTK.Graphics.OpenGL.LightModelParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void LightModel(OpenTK.Graphics.OpenGL.LightModelParameter pname, Single* @params); /// [requires: v1.0][deprecated: v3.2] /// Set the lighting model parameters @@ -91046,18 +52976,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLightModeli")] - public static - void LightModel(OpenTK.Graphics.OpenGL.LightModelParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightModeli((OpenTK.Graphics.OpenGL.LightModelParameter)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void LightModel(OpenTK.Graphics.OpenGL.LightModelParameter pname, Int32 param); /// [requires: v1.0][deprecated: v3.2] /// Set the lighting model parameters @@ -91073,24 +52992,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLightModeliv")] - public static - void LightModel(OpenTK.Graphics.OpenGL.LightModelParameter pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glLightModeliv((OpenTK.Graphics.OpenGL.LightModelParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LightModel(OpenTK.Graphics.OpenGL.LightModelParameter pname, Int32[] @params); /// [requires: v1.0][deprecated: v3.2] /// Set the lighting model parameters @@ -91107,18 +53009,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLightModeliv")] - public static - unsafe void LightModel(OpenTK.Graphics.OpenGL.LightModelParameter pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightModeliv((OpenTK.Graphics.OpenGL.LightModelParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void LightModel(OpenTK.Graphics.OpenGL.LightModelParameter pname, Int32* @params); /// [requires: v1.0][deprecated: v3.2] /// Specify the line stipple pattern @@ -91134,18 +53025,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLineStipple")] - public static - void LineStipple(Int32 factor, Int16 pattern) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLineStipple((Int32)factor, (UInt16)pattern); - #if DEBUG - } - #endif - } + public static extern void LineStipple(Int32 factor, Int16 pattern); /// [requires: v1.0][deprecated: v3.2] /// Specify the line stipple pattern @@ -91162,18 +53042,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLineStipple")] - public static - void LineStipple(Int32 factor, UInt16 pattern) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLineStipple((Int32)factor, (UInt16)pattern); - #if DEBUG - } - #endif - } + public static extern void LineStipple(Int32 factor, UInt16 pattern); /// [requires: v1.0] /// Specify the width of rasterized lines @@ -91184,18 +53053,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLineWidth")] - public static - void LineWidth(Single width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLineWidth((Single)width); - #if DEBUG - } - #endif - } + public static extern void LineWidth(Single width); /// [requires: v2.0] /// Links a program object @@ -91206,18 +53064,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glLinkProgram")] - public static - void LinkProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLinkProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void LinkProgram(Int32 program); /// [requires: v2.0] /// Links a program object @@ -91229,18 +53076,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glLinkProgram")] - public static - void LinkProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLinkProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void LinkProgram(UInt32 program); /// [requires: v1.0][deprecated: v3.2] /// Set the display-list base for glCallLists @@ -91251,18 +53087,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glListBase")] - public static - void ListBase(Int32 @base) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glListBase((UInt32)@base); - #if DEBUG - } - #endif - } + public static extern void ListBase(Int32 @base); /// [requires: v1.0][deprecated: v3.2] /// Set the display-list base for glCallLists @@ -91274,35 +53099,13 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glListBase")] - public static - void ListBase(UInt32 @base) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glListBase((UInt32)@base); - #if DEBUG - } - #endif - } + public static extern void ListBase(UInt32 @base); /// [requires: v1.0][deprecated: v3.2] /// Replace the current matrix with the identity matrix /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLoadIdentity")] - public static - void LoadIdentity() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadIdentity(); - #if DEBUG - } - #endif - } + public static extern void LoadIdentity(); /// [requires: v1.0][deprecated: v3.2] /// Replace the current matrix with the specified matrix @@ -91313,24 +53116,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLoadMatrixd")] - public static - void LoadMatrix(Double[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = m) - { - Delegates.glLoadMatrixd((Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LoadMatrix(Double[] m); /// [requires: v1.0][deprecated: v3.2] /// Replace the current matrix with the specified matrix @@ -91341,24 +53127,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLoadMatrixd")] - public static - void LoadMatrix(ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - Delegates.glLoadMatrixd((Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LoadMatrix(ref Double m); /// [requires: v1.0][deprecated: v3.2] /// Replace the current matrix with the specified matrix @@ -91370,18 +53139,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLoadMatrixd")] - public static - unsafe void LoadMatrix(Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadMatrixd((Double*)m); - #if DEBUG - } - #endif - } + public static extern unsafe void LoadMatrix(Double* m); /// [requires: v1.0][deprecated: v3.2] /// Replace the current matrix with the specified matrix @@ -91392,24 +53150,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLoadMatrixf")] - public static - void LoadMatrix(Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - Delegates.glLoadMatrixf((Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LoadMatrix(Single[] m); /// [requires: v1.0][deprecated: v3.2] /// Replace the current matrix with the specified matrix @@ -91420,24 +53161,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLoadMatrixf")] - public static - void LoadMatrix(ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - Delegates.glLoadMatrixf((Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LoadMatrix(ref Single m); /// [requires: v1.0][deprecated: v3.2] /// Replace the current matrix with the specified matrix @@ -91449,18 +53173,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLoadMatrixf")] - public static - unsafe void LoadMatrix(Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadMatrixf((Single*)m); - #if DEBUG - } - #endif - } + public static extern unsafe void LoadMatrix(Single* m); /// [requires: v1.0][deprecated: v3.2] /// Load a name onto the name stack @@ -91471,18 +53184,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLoadName")] - public static - void LoadName(Int32 name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadName((UInt32)name); - #if DEBUG - } - #endif - } + public static extern void LoadName(Int32 name); /// [requires: v1.0][deprecated: v3.2] /// Load a name onto the name stack @@ -91494,18 +53196,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLoadName")] - public static - void LoadName(UInt32 name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadName((UInt32)name); - #if DEBUG - } - #endif - } + public static extern void LoadName(UInt32 name); /// [requires: v1.3][deprecated: v3.2] /// Replace the current matrix with the specified row-major ordered matrix @@ -91516,24 +53207,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glLoadTransposeMatrixd")] - public static - void LoadTransposeMatrix(Double[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = m) - { - Delegates.glLoadTransposeMatrixd((Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LoadTransposeMatrix(Double[] m); /// [requires: v1.3][deprecated: v3.2] /// Replace the current matrix with the specified row-major ordered matrix @@ -91544,24 +53218,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glLoadTransposeMatrixd")] - public static - void LoadTransposeMatrix(ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - Delegates.glLoadTransposeMatrixd((Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LoadTransposeMatrix(ref Double m); /// [requires: v1.3][deprecated: v3.2] /// Replace the current matrix with the specified row-major ordered matrix @@ -91573,18 +53230,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glLoadTransposeMatrixd")] - public static - unsafe void LoadTransposeMatrix(Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadTransposeMatrixd((Double*)m); - #if DEBUG - } - #endif - } + public static extern unsafe void LoadTransposeMatrix(Double* m); /// [requires: v1.3][deprecated: v3.2] /// Replace the current matrix with the specified row-major ordered matrix @@ -91595,24 +53241,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glLoadTransposeMatrixf")] - public static - void LoadTransposeMatrix(Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - Delegates.glLoadTransposeMatrixf((Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LoadTransposeMatrix(Single[] m); /// [requires: v1.3][deprecated: v3.2] /// Replace the current matrix with the specified row-major ordered matrix @@ -91623,24 +53252,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glLoadTransposeMatrixf")] - public static - void LoadTransposeMatrix(ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - Delegates.glLoadTransposeMatrixf((Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LoadTransposeMatrix(ref Single m); /// [requires: v1.3][deprecated: v3.2] /// Replace the current matrix with the specified row-major ordered matrix @@ -91652,18 +53264,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glLoadTransposeMatrixf")] - public static - unsafe void LoadTransposeMatrix(Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadTransposeMatrixf((Single*)m); - #if DEBUG - } - #endif - } + public static extern unsafe void LoadTransposeMatrix(Single* m); /// [requires: v1.0] /// Specify a logical pixel operation for rendering @@ -91674,18 +53275,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLogicOp")] - public static - void LogicOp(OpenTK.Graphics.OpenGL.LogicOp opcode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLogicOp((OpenTK.Graphics.OpenGL.LogicOp)opcode); - #if DEBUG - } - #endif - } + public static extern void LogicOp(OpenTK.Graphics.OpenGL.LogicOp opcode); /// [requires: v1.0][deprecated: v3.2] /// Define a one-dimensional evaluator @@ -91716,24 +53306,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMap1d")] - public static - void Map1(OpenTK.Graphics.OpenGL.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, Double[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* points_ptr = points) - { - Delegates.glMap1d((OpenTK.Graphics.OpenGL.MapTarget)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Map1(OpenTK.Graphics.OpenGL.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, Double[] points); /// [requires: v1.0][deprecated: v3.2] /// Define a one-dimensional evaluator @@ -91764,24 +53337,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMap1d")] - public static - void Map1(OpenTK.Graphics.OpenGL.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, ref Double points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* points_ptr = &points) - { - Delegates.glMap1d((OpenTK.Graphics.OpenGL.MapTarget)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Map1(OpenTK.Graphics.OpenGL.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, ref Double points); /// [requires: v1.0][deprecated: v3.2] /// Define a one-dimensional evaluator @@ -91813,18 +53369,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMap1d")] - public static - unsafe void Map1(OpenTK.Graphics.OpenGL.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, Double* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMap1d((OpenTK.Graphics.OpenGL.MapTarget)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points); - #if DEBUG - } - #endif - } + public static extern unsafe void Map1(OpenTK.Graphics.OpenGL.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, Double* points); /// [requires: v1.0][deprecated: v3.2] /// Define a one-dimensional evaluator @@ -91855,24 +53400,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMap1f")] - public static - void Map1(OpenTK.Graphics.OpenGL.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, Single[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = points) - { - Delegates.glMap1f((OpenTK.Graphics.OpenGL.MapTarget)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Map1(OpenTK.Graphics.OpenGL.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, Single[] points); /// [requires: v1.0][deprecated: v3.2] /// Define a one-dimensional evaluator @@ -91903,24 +53431,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMap1f")] - public static - void Map1(OpenTK.Graphics.OpenGL.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, ref Single points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = &points) - { - Delegates.glMap1f((OpenTK.Graphics.OpenGL.MapTarget)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Map1(OpenTK.Graphics.OpenGL.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, ref Single points); /// [requires: v1.0][deprecated: v3.2] /// Define a one-dimensional evaluator @@ -91952,18 +53463,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMap1f")] - public static - unsafe void Map1(OpenTK.Graphics.OpenGL.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, Single* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMap1f((OpenTK.Graphics.OpenGL.MapTarget)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points); - #if DEBUG - } - #endif - } + public static extern unsafe void Map1(OpenTK.Graphics.OpenGL.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, Single* points); /// [requires: v1.0][deprecated: v3.2] /// Define a two-dimensional evaluator @@ -92009,24 +53509,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMap2d")] - public static - void Map2(OpenTK.Graphics.OpenGL.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* points_ptr = points) - { - Delegates.glMap2d((OpenTK.Graphics.OpenGL.MapTarget)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Map2(OpenTK.Graphics.OpenGL.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double[] points); /// [requires: v1.0][deprecated: v3.2] /// Define a two-dimensional evaluator @@ -92072,24 +53555,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMap2d")] - public static - void Map2(OpenTK.Graphics.OpenGL.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, ref Double points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* points_ptr = &points) - { - Delegates.glMap2d((OpenTK.Graphics.OpenGL.MapTarget)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Map2(OpenTK.Graphics.OpenGL.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, ref Double points); /// [requires: v1.0][deprecated: v3.2] /// Define a two-dimensional evaluator @@ -92136,18 +53602,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMap2d")] - public static - unsafe void Map2(OpenTK.Graphics.OpenGL.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMap2d((OpenTK.Graphics.OpenGL.MapTarget)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points); - #if DEBUG - } - #endif - } + public static extern unsafe void Map2(OpenTK.Graphics.OpenGL.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points); /// [requires: v1.0][deprecated: v3.2] /// Define a two-dimensional evaluator @@ -92193,24 +53648,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMap2f")] - public static - void Map2(OpenTK.Graphics.OpenGL.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = points) - { - Delegates.glMap2f((OpenTK.Graphics.OpenGL.MapTarget)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Map2(OpenTK.Graphics.OpenGL.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single[] points); /// [requires: v1.0][deprecated: v3.2] /// Define a two-dimensional evaluator @@ -92256,24 +53694,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMap2f")] - public static - void Map2(OpenTK.Graphics.OpenGL.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, ref Single points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = &points) - { - Delegates.glMap2f((OpenTK.Graphics.OpenGL.MapTarget)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Map2(OpenTK.Graphics.OpenGL.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, ref Single points); /// [requires: v1.0][deprecated: v3.2] /// Define a two-dimensional evaluator @@ -92320,18 +53741,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMap2f")] - public static - unsafe void Map2(OpenTK.Graphics.OpenGL.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMap2f((OpenTK.Graphics.OpenGL.MapTarget)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points); - #if DEBUG - } - #endif - } + public static extern unsafe void Map2(OpenTK.Graphics.OpenGL.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points); /// [requires: v1.5] /// Map a buffer object's data store @@ -92347,18 +53757,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glMapBuffer")] - public static - IntPtr MapBuffer(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferAccess access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glMapBuffer((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferAccess)access); - #if DEBUG - } - #endif - } + public static extern IntPtr MapBuffer(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferAccess access); /// [requires: v3.0 and ARB_map_buffer_range|VERSION_3_0] /// Map a section of a buffer object's data store @@ -92384,18 +53783,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_map_buffer_range|VERSION_3_0", Version = "3.0", EntryPoint = "glMapBufferRange")] - public static - IntPtr MapBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.OpenGL.BufferAccessMask access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glMapBufferRange((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (OpenTK.Graphics.OpenGL.BufferAccessMask)access); - #if DEBUG - } - #endif - } + public static extern IntPtr MapBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.OpenGL.BufferAccessMask access); /// [requires: v1.0][deprecated: v3.2] /// Define a one- or two-dimensional mesh @@ -92421,18 +53809,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMapGrid1d")] - public static - void MapGrid1(Int32 un, Double u1, Double u2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapGrid1d((Int32)un, (Double)u1, (Double)u2); - #if DEBUG - } - #endif - } + public static extern void MapGrid1(Int32 un, Double u1, Double u2); /// [requires: v1.0][deprecated: v3.2] /// Define a one- or two-dimensional mesh @@ -92458,18 +53835,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMapGrid1f")] - public static - void MapGrid1(Int32 un, Single u1, Single u2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapGrid1f((Int32)un, (Single)u1, (Single)u2); - #if DEBUG - } - #endif - } + public static extern void MapGrid1(Int32 un, Single u1, Single u2); /// [requires: v1.0][deprecated: v3.2] /// Define a one- or two-dimensional mesh @@ -92495,18 +53861,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMapGrid2d")] - public static - void MapGrid2(Int32 un, Double u1, Double u2, Int32 vn, Double v1, Double v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapGrid2d((Int32)un, (Double)u1, (Double)u2, (Int32)vn, (Double)v1, (Double)v2); - #if DEBUG - } - #endif - } + public static extern void MapGrid2(Int32 un, Double u1, Double u2, Int32 vn, Double v1, Double v2); /// [requires: v1.0][deprecated: v3.2] /// Define a one- or two-dimensional mesh @@ -92532,18 +53887,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMapGrid2f")] - public static - void MapGrid2(Int32 un, Single u1, Single u2, Int32 vn, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapGrid2f((Int32)un, (Single)u1, (Single)u2, (Int32)vn, (Single)v1, (Single)v2); - #if DEBUG - } - #endif - } + public static extern void MapGrid2(Int32 un, Single u1, Single u2, Int32 vn, Single v1, Single v2); /// [requires: v1.0][deprecated: v3.2] /// Specify material parameters for the lighting model @@ -92564,18 +53908,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMaterialf")] - public static - void Material(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMaterialf((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void Material(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single param); /// [requires: v1.0][deprecated: v3.2] /// Specify material parameters for the lighting model @@ -92596,24 +53929,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMaterialfv")] - public static - void Material(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glMaterialfv((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Material(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single[] @params); /// [requires: v1.0][deprecated: v3.2] /// Specify material parameters for the lighting model @@ -92635,18 +53951,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMaterialfv")] - public static - unsafe void Material(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMaterialfv((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void Material(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single* @params); /// [requires: v1.0][deprecated: v3.2] /// Specify material parameters for the lighting model @@ -92667,18 +53972,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMateriali")] - public static - void Material(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMateriali((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void Material(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32 param); /// [requires: v1.0][deprecated: v3.2] /// Specify material parameters for the lighting model @@ -92699,24 +53993,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMaterialiv")] - public static - void Material(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glMaterialiv((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Material(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32[] @params); /// [requires: v1.0][deprecated: v3.2] /// Specify material parameters for the lighting model @@ -92738,18 +54015,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMaterialiv")] - public static - unsafe void Material(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMaterialiv((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void Material(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32* @params); /// [requires: v1.0][deprecated: v3.2] /// Specify which matrix is the current matrix @@ -92760,18 +54026,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMatrixMode")] - public static - void MatrixMode(OpenTK.Graphics.OpenGL.MatrixMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixMode((OpenTK.Graphics.OpenGL.MatrixMode)mode); - #if DEBUG - } - #endif - } + public static extern void MatrixMode(OpenTK.Graphics.OpenGL.MatrixMode mode); /// [requires: v4.2 and ARB_shader_image_load_store|VERSION_4_2] /// Defines a barrier ordering memory transactions @@ -92782,18 +54037,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_image_load_store|VERSION_4_2", Version = "4.2", EntryPoint = "glMemoryBarrier")] - public static - void MemoryBarrier(OpenTK.Graphics.OpenGL.MemoryBarrierFlags barriers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMemoryBarrier((OpenTK.Graphics.OpenGL.MemoryBarrierFlags)barriers); - #if DEBUG - } - #endif - } + public static extern void MemoryBarrier(OpenTK.Graphics.OpenGL.MemoryBarrierFlags barriers); /// /// Define minmax table @@ -92814,18 +54058,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glMinmax")] - public static - void Minmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMinmax((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (bool)sink); - #if DEBUG - } - #endif - } + public static extern void Minmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); /// [requires: v4.0] /// Specifies minimum rate at which sample shaing takes place @@ -92836,18 +54069,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glMinSampleShading")] - public static - void MinSampleShading(Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMinSampleShading((Single)value); - #if DEBUG - } - #endif - } + public static extern void MinSampleShading(Single value); /// [requires: v1.4] /// Render multiple sets of primitives from array data @@ -92874,25 +54096,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawArrays")] - public static - void MultiDrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] first, Int32[] count, Int32 drawcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = first) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawArrays((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)drawcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] first, Int32[] count, Int32 drawcount); /// [requires: v1.4] /// Render multiple sets of primitives from array data @@ -92919,25 +54123,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawArrays")] - public static - void MultiDrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 first, ref Int32 count, Int32 drawcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = &first) - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawArrays((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)drawcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 first, ref Int32 count, Int32 drawcount); /// [requires: v1.4] /// Render multiple sets of primitives from array data @@ -92965,18 +54151,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawArrays")] - public static - unsafe void MultiDrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* first, Int32* count, Int32 drawcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawArrays((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)first, (Int32*)count, (Int32)drawcount); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiDrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* first, Int32* count, Int32 drawcount); /// [requires: v1.4] /// Render multiple sets of primitives from array data @@ -93002,25 +54177,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawArrays")] - public static - void MultiDrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] first, Int32[] count, Int32 drawcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = first) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawArrays((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)drawcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] first, Int32[] count, Int32 drawcount); /// [requires: v1.4] /// Render multiple sets of primitives from array data @@ -93046,25 +54203,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawArrays")] - public static - void MultiDrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 first, ref Int32 count, Int32 drawcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = &first) - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawArrays((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)drawcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 first, ref Int32 count, Int32 drawcount); /// [requires: v1.4] /// Render multiple sets of primitives from array data @@ -93091,18 +54230,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawArrays")] - public static - unsafe void MultiDrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* first, Int32* count, Int32 drawcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawArrays((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)first, (Int32*)count, (Int32)drawcount); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiDrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* first, Int32* count, Int32 drawcount); /// [requires: v4.3 and ARB_multi_draw_indirect|VERSION_4_3] /// Render multiple sets of primitives from array data, taking parameters from memory @@ -93128,18 +54256,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawArraysIndirect")] - public static - void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, IntPtr indirect, Int32 drawcount, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawArraysIndirect((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)indirect, (Int32)drawcount, (Int32)stride); - #if DEBUG - } - #endif - } + public static extern void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, IntPtr indirect, Int32 drawcount, Int32 stride); /// [requires: v4.3 and ARB_multi_draw_indirect|VERSION_4_3] /// Render multiple sets of primitives from array data, taking parameters from memory @@ -93165,27 +54282,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawArraysIndirect")] - public static - void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, [InAttribute, OutAttribute] T1[] indirect, Int32 drawcount, Int32 stride) + public static extern void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, [InAttribute, OutAttribute] T1[] indirect, Int32 drawcount, Int32 stride) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawArraysIndirect((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and ARB_multi_draw_indirect|VERSION_4_3] /// Render multiple sets of primitives from array data, taking parameters from memory @@ -93211,27 +54310,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawArraysIndirect")] - public static - void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, [InAttribute, OutAttribute] T1[,] indirect, Int32 drawcount, Int32 stride) + public static extern void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, [InAttribute, OutAttribute] T1[,] indirect, Int32 drawcount, Int32 stride) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawArraysIndirect((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and ARB_multi_draw_indirect|VERSION_4_3] /// Render multiple sets of primitives from array data, taking parameters from memory @@ -93257,27 +54338,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawArraysIndirect")] - public static - void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, [InAttribute, OutAttribute] T1[,,] indirect, Int32 drawcount, Int32 stride) + public static extern void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, [InAttribute, OutAttribute] T1[,,] indirect, Int32 drawcount, Int32 stride) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawArraysIndirect((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and ARB_multi_draw_indirect|VERSION_4_3] /// Render multiple sets of primitives from array data, taking parameters from memory @@ -93303,28 +54366,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawArraysIndirect")] - public static - void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, [InAttribute, OutAttribute] ref T1 indirect, Int32 drawcount, Int32 stride) + public static extern void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, [InAttribute, OutAttribute] ref T1 indirect, Int32 drawcount, Int32 stride) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawArraysIndirect((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride); - indirect = (T1)indirect_ptr.Target; - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -93356,24 +54400,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount); /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -93405,33 +54432,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -93463,33 +54466,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -93521,33 +54500,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -93579,34 +54534,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -93638,24 +54568,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount); /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -93687,33 +54600,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -93745,33 +54634,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -93803,33 +54668,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -93861,34 +54702,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -93921,18 +54737,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount); /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -93965,27 +54770,9 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -94018,27 +54805,9 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -94071,27 +54840,9 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -94124,28 +54875,9 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -94176,24 +54908,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount); /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -94224,33 +54939,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -94281,33 +54972,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -94338,33 +55005,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -94395,34 +55038,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -94453,24 +55071,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount); /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -94501,33 +55102,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -94558,33 +55135,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -94615,33 +55168,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -94672,34 +55201,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -94731,18 +55235,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount); /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -94774,27 +55267,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -94826,27 +55301,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -94878,27 +55335,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -94930,28 +55369,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -94988,25 +55408,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount, Int32[] basevertex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - fixed (Int32* basevertex_ptr = basevertex) - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, (Int32*)basevertex_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount, Int32[] basevertex); /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -95043,34 +55445,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount, Int32[] basevertex) + public static extern void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount, Int32[] basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - fixed (Int32* basevertex_ptr = basevertex) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -95107,34 +55484,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount, Int32[] basevertex) + public static extern void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount, Int32[] basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - fixed (Int32* basevertex_ptr = basevertex) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -95171,34 +55523,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount, Int32[] basevertex) + public static extern void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount, Int32[] basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - fixed (Int32* basevertex_ptr = basevertex) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -95235,35 +55562,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount, Int32[] basevertex) + public static extern void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount, Int32[] basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - fixed (Int32* basevertex_ptr = basevertex) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -95300,25 +55601,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount, ref Int32 basevertex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* basevertex_ptr = &basevertex) - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, (Int32*)basevertex_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount, ref Int32 basevertex); /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -95355,34 +55638,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount, ref Int32 basevertex) + public static extern void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount, ref Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* basevertex_ptr = &basevertex) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -95419,34 +55677,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount, ref Int32 basevertex) + public static extern void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount, ref Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* basevertex_ptr = &basevertex) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -95483,34 +55716,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount, ref Int32 basevertex) + public static extern void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount, ref Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* basevertex_ptr = &basevertex) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -95547,35 +55755,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount, ref Int32 basevertex) + public static extern void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount, ref Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* basevertex_ptr = &basevertex) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -95613,18 +55795,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount, Int32* basevertex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, (Int32*)basevertex); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount, Int32* basevertex); /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -95662,27 +55833,9 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount, Int32* basevertex) + public static extern unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount, Int32* basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -95720,27 +55873,9 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount, Int32* basevertex) + public static extern unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount, Int32* basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -95778,27 +55913,9 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount, Int32* basevertex) + public static extern unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount, Int32* basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -95836,28 +55953,9 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount, Int32* basevertex) + public static extern unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount, Int32* basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -95893,25 +55991,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount, Int32[] basevertex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - fixed (Int32* basevertex_ptr = basevertex) - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, (Int32*)basevertex_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount, Int32[] basevertex); /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -95947,34 +56027,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount, Int32[] basevertex) + public static extern void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount, Int32[] basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - fixed (Int32* basevertex_ptr = basevertex) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -96010,34 +56065,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount, Int32[] basevertex) + public static extern void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount, Int32[] basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - fixed (Int32* basevertex_ptr = basevertex) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -96073,34 +56103,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount, Int32[] basevertex) + public static extern void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount, Int32[] basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - fixed (Int32* basevertex_ptr = basevertex) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -96136,35 +56141,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount, Int32[] basevertex) + public static extern void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount, Int32[] basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - fixed (Int32* basevertex_ptr = basevertex) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -96200,25 +56179,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount, ref Int32 basevertex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* basevertex_ptr = &basevertex) - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, (Int32*)basevertex_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount, ref Int32 basevertex); /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -96254,34 +56215,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount, ref Int32 basevertex) + public static extern void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount, ref Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* basevertex_ptr = &basevertex) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -96317,34 +56253,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount, ref Int32 basevertex) + public static extern void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount, ref Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* basevertex_ptr = &basevertex) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -96380,34 +56291,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount, ref Int32 basevertex) + public static extern void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount, ref Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* basevertex_ptr = &basevertex) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -96443,35 +56329,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount, ref Int32 basevertex) + public static extern void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount, ref Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* basevertex_ptr = &basevertex) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -96508,18 +56368,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount, Int32* basevertex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, (Int32*)basevertex); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount, Int32* basevertex); /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -96556,27 +56405,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount, Int32* basevertex) + public static extern unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount, Int32* basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -96613,27 +56444,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount, Int32* basevertex) + public static extern unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount, Int32* basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -96670,27 +56483,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount, Int32* basevertex) + public static extern unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount, Int32* basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -96727,28 +56522,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount, Int32* basevertex) + public static extern unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount, Int32* basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and ARB_multi_draw_indirect|VERSION_4_3] /// Render indexed primitives from array data, taking parameters from memory @@ -96779,18 +56555,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawElementsIndirect")] - public static - void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL.All mode, OpenTK.Graphics.OpenGL.All type, IntPtr indirect, Int32 drawcount, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawElementsIndirect((OpenTK.Graphics.OpenGL.All)mode, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)indirect, (Int32)drawcount, (Int32)stride); - #if DEBUG - } - #endif - } + public static extern void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL.All mode, OpenTK.Graphics.OpenGL.All type, IntPtr indirect, Int32 drawcount, Int32 stride); /// [requires: v4.3 and ARB_multi_draw_indirect|VERSION_4_3] /// Render indexed primitives from array data, taking parameters from memory @@ -96821,27 +56586,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawElementsIndirect")] - public static - void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL.All mode, OpenTK.Graphics.OpenGL.All type, [InAttribute, OutAttribute] T2[] indirect, Int32 drawcount, Int32 stride) + public static extern void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL.All mode, OpenTK.Graphics.OpenGL.All type, [InAttribute, OutAttribute] T2[] indirect, Int32 drawcount, Int32 stride) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsIndirect((OpenTK.Graphics.OpenGL.All)mode, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and ARB_multi_draw_indirect|VERSION_4_3] /// Render indexed primitives from array data, taking parameters from memory @@ -96872,27 +56619,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawElementsIndirect")] - public static - void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL.All mode, OpenTK.Graphics.OpenGL.All type, [InAttribute, OutAttribute] T2[,] indirect, Int32 drawcount, Int32 stride) + public static extern void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL.All mode, OpenTK.Graphics.OpenGL.All type, [InAttribute, OutAttribute] T2[,] indirect, Int32 drawcount, Int32 stride) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsIndirect((OpenTK.Graphics.OpenGL.All)mode, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and ARB_multi_draw_indirect|VERSION_4_3] /// Render indexed primitives from array data, taking parameters from memory @@ -96923,27 +56652,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawElementsIndirect")] - public static - void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL.All mode, OpenTK.Graphics.OpenGL.All type, [InAttribute, OutAttribute] T2[,,] indirect, Int32 drawcount, Int32 stride) + public static extern void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL.All mode, OpenTK.Graphics.OpenGL.All type, [InAttribute, OutAttribute] T2[,,] indirect, Int32 drawcount, Int32 stride) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsIndirect((OpenTK.Graphics.OpenGL.All)mode, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and ARB_multi_draw_indirect|VERSION_4_3] /// Render indexed primitives from array data, taking parameters from memory @@ -96974,28 +56685,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawElementsIndirect")] - public static - void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL.All mode, OpenTK.Graphics.OpenGL.All type, [InAttribute, OutAttribute] ref T2 indirect, Int32 drawcount, Int32 stride) + public static extern void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL.All mode, OpenTK.Graphics.OpenGL.All type, [InAttribute, OutAttribute] ref T2 indirect, Int32 drawcount, Int32 stride) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsIndirect((OpenTK.Graphics.OpenGL.All)mode, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride); - indirect = (T2)indirect_ptr.Target; - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -97011,18 +56703,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord1d")] - public static - void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Double s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1d((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Double s); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -97039,18 +56720,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord1dv")] - public static - unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1dv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -97066,18 +56736,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord1f")] - public static - void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Single s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1f((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Single s); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -97094,18 +56753,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord1fv")] - public static - unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1fv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -97121,18 +56769,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord1i")] - public static - void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1i((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -97149,18 +56786,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord1iv")] - public static - unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1iv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -97176,18 +56802,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord1s")] - public static - void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1s((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -97204,18 +56819,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord1sv")] - public static - unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1sv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -97231,18 +56835,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord2d")] - public static - void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2d((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s, (Double)t); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -97258,24 +56851,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord2dv")] - public static - void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glMultiTexCoord2dv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Double[] v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -97291,24 +56867,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord2dv")] - public static - void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glMultiTexCoord2dv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Double v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -97325,18 +56884,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord2dv")] - public static - unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2dv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -97352,18 +56900,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord2f")] - public static - void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2f((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s, (Single)t); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -97379,24 +56916,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord2fv")] - public static - void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glMultiTexCoord2fv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Single[] v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -97412,24 +56932,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord2fv")] - public static - void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glMultiTexCoord2fv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Single v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -97446,18 +56949,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord2fv")] - public static - unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2fv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -97473,18 +56965,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord2i")] - public static - void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2i((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s, (Int32)t); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -97500,24 +56981,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord2iv")] - public static - void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glMultiTexCoord2iv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int32[] v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -97533,24 +56997,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord2iv")] - public static - void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glMultiTexCoord2iv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int32 v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -97567,18 +57014,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord2iv")] - public static - unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2iv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -97594,18 +57030,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord2s")] - public static - void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2s((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s, (Int16)t); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -97621,24 +57046,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord2sv")] - public static - void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glMultiTexCoord2sv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int16[] v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -97654,24 +57062,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord2sv")] - public static - void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glMultiTexCoord2sv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int16 v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -97688,18 +57079,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord2sv")] - public static - unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2sv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -97715,18 +57095,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord3d")] - public static - void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3d((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s, (Double)t, (Double)r); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -97742,24 +57111,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord3dv")] - public static - void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glMultiTexCoord3dv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Double[] v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -97775,24 +57127,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord3dv")] - public static - void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glMultiTexCoord3dv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, ref Double v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -97809,18 +57144,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord3dv")] - public static - unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3dv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -97836,18 +57160,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord3f")] - public static - void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3f((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s, (Single)t, (Single)r); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -97863,24 +57176,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord3fv")] - public static - void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glMultiTexCoord3fv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Single[] v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -97896,24 +57192,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord3fv")] - public static - void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glMultiTexCoord3fv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, ref Single v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -97930,18 +57209,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord3fv")] - public static - unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3fv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -97957,18 +57225,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord3i")] - public static - void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3i((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -97984,24 +57241,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord3iv")] - public static - void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glMultiTexCoord3iv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int32[] v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -98017,24 +57257,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord3iv")] - public static - void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glMultiTexCoord3iv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int32 v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -98051,18 +57274,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord3iv")] - public static - unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3iv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -98078,18 +57290,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord3s")] - public static - void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3s((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -98105,24 +57306,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord3sv")] - public static - void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glMultiTexCoord3sv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int16[] v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -98138,24 +57322,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord3sv")] - public static - void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glMultiTexCoord3sv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int16 v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -98172,18 +57339,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord3sv")] - public static - unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3sv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -98199,18 +57355,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord4d")] - public static - void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r, Double q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4d((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s, (Double)t, (Double)r, (Double)q); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r, Double q); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -98226,24 +57371,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord4dv")] - public static - void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glMultiTexCoord4dv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Double[] v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -98259,24 +57387,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord4dv")] - public static - void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glMultiTexCoord4dv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, ref Double v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -98293,18 +57404,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord4dv")] - public static - unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4dv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -98320,18 +57420,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord4f")] - public static - void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r, Single q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4f((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s, (Single)t, (Single)r, (Single)q); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r, Single q); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -98347,24 +57436,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord4fv")] - public static - void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glMultiTexCoord4fv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Single[] v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -98380,24 +57452,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord4fv")] - public static - void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glMultiTexCoord4fv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, ref Single v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -98414,18 +57469,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord4fv")] - public static - unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4fv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -98441,18 +57485,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord4i")] - public static - void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4i((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r, (Int32)q); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -98468,24 +57501,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord4iv")] - public static - void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glMultiTexCoord4iv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int32[] v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -98501,24 +57517,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord4iv")] - public static - void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glMultiTexCoord4iv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int32 v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -98535,18 +57534,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord4iv")] - public static - unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4iv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -98562,18 +57550,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord4s")] - public static - void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4s((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r, (Int16)q); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -98589,24 +57566,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord4sv")] - public static - void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glMultiTexCoord4sv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int16[] v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -98622,24 +57582,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord4sv")] - public static - void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glMultiTexCoord4sv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int16 v); /// [requires: v1.3][deprecated: v3.2] /// Set the current texture coordinates @@ -98656,270 +57599,83 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultiTexCoord4sv")] - public static - unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4sv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glMultiTexCoordP1ui")] - public static - void MultiTexCoordP1(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordP1ui((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoordP1(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glMultiTexCoordP1ui")] - public static - void MultiTexCoordP1(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordP1ui((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoordP1(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glMultiTexCoordP1uiv")] - public static - unsafe void MultiTexCoordP1(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordP1uiv((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoordP1(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glMultiTexCoordP1uiv")] - public static - unsafe void MultiTexCoordP1(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordP1uiv((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoordP1(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glMultiTexCoordP2ui")] - public static - void MultiTexCoordP2(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordP2ui((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoordP2(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glMultiTexCoordP2ui")] - public static - void MultiTexCoordP2(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordP2ui((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoordP2(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glMultiTexCoordP2uiv")] - public static - unsafe void MultiTexCoordP2(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordP2uiv((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoordP2(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glMultiTexCoordP2uiv")] - public static - unsafe void MultiTexCoordP2(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordP2uiv((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoordP2(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glMultiTexCoordP3ui")] - public static - void MultiTexCoordP3(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordP3ui((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoordP3(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glMultiTexCoordP3ui")] - public static - void MultiTexCoordP3(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordP3ui((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoordP3(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glMultiTexCoordP3uiv")] - public static - unsafe void MultiTexCoordP3(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordP3uiv((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoordP3(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glMultiTexCoordP3uiv")] - public static - unsafe void MultiTexCoordP3(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordP3uiv((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoordP3(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glMultiTexCoordP4ui")] - public static - void MultiTexCoordP4(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordP4ui((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoordP4(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glMultiTexCoordP4ui")] - public static - void MultiTexCoordP4(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordP4ui((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoordP4(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glMultiTexCoordP4uiv")] - public static - unsafe void MultiTexCoordP4(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordP4uiv((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoordP4(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glMultiTexCoordP4uiv")] - public static - unsafe void MultiTexCoordP4(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordP4uiv((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoordP4(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); /// [requires: v1.0][deprecated: v3.2] /// Multiply the current matrix with the specified matrix @@ -98930,24 +57686,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMultMatrixd")] - public static - void MultMatrix(Double[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = m) - { - Delegates.glMultMatrixd((Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultMatrix(Double[] m); /// [requires: v1.0][deprecated: v3.2] /// Multiply the current matrix with the specified matrix @@ -98958,24 +57697,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMultMatrixd")] - public static - void MultMatrix(ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - Delegates.glMultMatrixd((Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultMatrix(ref Double m); /// [requires: v1.0][deprecated: v3.2] /// Multiply the current matrix with the specified matrix @@ -98987,18 +57709,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMultMatrixd")] - public static - unsafe void MultMatrix(Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultMatrixd((Double*)m); - #if DEBUG - } - #endif - } + public static extern unsafe void MultMatrix(Double* m); /// [requires: v1.0][deprecated: v3.2] /// Multiply the current matrix with the specified matrix @@ -99009,24 +57720,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMultMatrixf")] - public static - void MultMatrix(Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - Delegates.glMultMatrixf((Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultMatrix(Single[] m); /// [requires: v1.0][deprecated: v3.2] /// Multiply the current matrix with the specified matrix @@ -99037,24 +57731,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMultMatrixf")] - public static - void MultMatrix(ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - Delegates.glMultMatrixf((Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultMatrix(ref Single m); /// [requires: v1.0][deprecated: v3.2] /// Multiply the current matrix with the specified matrix @@ -99066,18 +57743,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glMultMatrixf")] - public static - unsafe void MultMatrix(Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultMatrixf((Single*)m); - #if DEBUG - } - #endif - } + public static extern unsafe void MultMatrix(Single* m); /// [requires: v1.3][deprecated: v3.2] /// Multiply the current matrix with the specified row-major ordered matrix @@ -99088,24 +57754,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultTransposeMatrixd")] - public static - void MultTransposeMatrix(Double[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = m) - { - Delegates.glMultTransposeMatrixd((Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultTransposeMatrix(Double[] m); /// [requires: v1.3][deprecated: v3.2] /// Multiply the current matrix with the specified row-major ordered matrix @@ -99116,24 +57765,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultTransposeMatrixd")] - public static - void MultTransposeMatrix(ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - Delegates.glMultTransposeMatrixd((Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultTransposeMatrix(ref Double m); /// [requires: v1.3][deprecated: v3.2] /// Multiply the current matrix with the specified row-major ordered matrix @@ -99145,18 +57777,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultTransposeMatrixd")] - public static - unsafe void MultTransposeMatrix(Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultTransposeMatrixd((Double*)m); - #if DEBUG - } - #endif - } + public static extern unsafe void MultTransposeMatrix(Double* m); /// [requires: v1.3][deprecated: v3.2] /// Multiply the current matrix with the specified row-major ordered matrix @@ -99167,24 +57788,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultTransposeMatrixf")] - public static - void MultTransposeMatrix(Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - Delegates.glMultTransposeMatrixf((Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultTransposeMatrix(Single[] m); /// [requires: v1.3][deprecated: v3.2] /// Multiply the current matrix with the specified row-major ordered matrix @@ -99195,24 +57799,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultTransposeMatrixf")] - public static - void MultTransposeMatrix(ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - Delegates.glMultTransposeMatrixf((Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultTransposeMatrix(ref Single m); /// [requires: v1.3][deprecated: v3.2] /// Multiply the current matrix with the specified row-major ordered matrix @@ -99224,18 +57811,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glMultTransposeMatrixf")] - public static - unsafe void MultTransposeMatrix(Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultTransposeMatrixf((Single*)m); - #if DEBUG - } - #endif - } + public static extern unsafe void MultTransposeMatrix(Single* m); /// [requires: v1.0][deprecated: v3.2] /// Create or replace a display list @@ -99251,18 +57827,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNewList")] - public static - void NewList(Int32 list, OpenTK.Graphics.OpenGL.ListMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNewList((UInt32)list, (OpenTK.Graphics.OpenGL.ListMode)mode); - #if DEBUG - } - #endif - } + public static extern void NewList(Int32 list, OpenTK.Graphics.OpenGL.ListMode mode); /// [requires: v1.0][deprecated: v3.2] /// Create or replace a display list @@ -99279,18 +57844,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNewList")] - public static - void NewList(UInt32 list, OpenTK.Graphics.OpenGL.ListMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNewList((UInt32)list, (OpenTK.Graphics.OpenGL.ListMode)mode); - #if DEBUG - } - #endif - } + public static extern void NewList(UInt32 list, OpenTK.Graphics.OpenGL.ListMode mode); /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -99304,18 +57858,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3b")] - public static - void Normal3(Byte nx, Byte ny, Byte nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3b((SByte)nx, (SByte)ny, (SByte)nz); - #if DEBUG - } - #endif - } + public static extern void Normal3(Byte nx, Byte ny, Byte nz); /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -99330,18 +57873,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3b")] - public static - void Normal3(SByte nx, SByte ny, SByte nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3b((SByte)nx, (SByte)ny, (SByte)nz); - #if DEBUG - } - #endif - } + public static extern void Normal3(SByte nx, SByte ny, SByte nz); /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -99355,24 +57887,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3bv")] - public static - void Normal3(Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glNormal3bv((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Normal3(Byte[] v); /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -99386,24 +57901,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3bv")] - public static - void Normal3(ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glNormal3bv((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Normal3(ref Byte v); /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -99418,18 +57916,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3bv")] - public static - unsafe void Normal3(Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3bv((SByte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Normal3(Byte* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -99444,24 +57931,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3bv")] - public static - void Normal3(SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - Delegates.glNormal3bv((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Normal3(SByte[] v); /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -99476,24 +57946,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3bv")] - public static - void Normal3(ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - Delegates.glNormal3bv((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Normal3(ref SByte v); /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -99508,18 +57961,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3bv")] - public static - unsafe void Normal3(SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3bv((SByte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Normal3(SByte* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -99533,18 +57975,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3d")] - public static - void Normal3(Double nx, Double ny, Double nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3d((Double)nx, (Double)ny, (Double)nz); - #if DEBUG - } - #endif - } + public static extern void Normal3(Double nx, Double ny, Double nz); /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -99558,24 +57989,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3dv")] - public static - void Normal3(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glNormal3dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Normal3(Double[] v); /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -99589,24 +58003,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3dv")] - public static - void Normal3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glNormal3dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Normal3(ref Double v); /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -99621,18 +58018,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3dv")] - public static - unsafe void Normal3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3dv((Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Normal3(Double* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -99646,18 +58032,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3f")] - public static - void Normal3(Single nx, Single ny, Single nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3f((Single)nx, (Single)ny, (Single)nz); - #if DEBUG - } - #endif - } + public static extern void Normal3(Single nx, Single ny, Single nz); /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -99671,24 +58046,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3fv")] - public static - void Normal3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glNormal3fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Normal3(Single[] v); /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -99702,24 +58060,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3fv")] - public static - void Normal3(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glNormal3fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Normal3(ref Single v); /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -99734,18 +58075,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3fv")] - public static - unsafe void Normal3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3fv((Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Normal3(Single* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -99759,18 +58089,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3i")] - public static - void Normal3(Int32 nx, Int32 ny, Int32 nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3i((Int32)nx, (Int32)ny, (Int32)nz); - #if DEBUG - } - #endif - } + public static extern void Normal3(Int32 nx, Int32 ny, Int32 nz); /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -99784,24 +58103,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3iv")] - public static - void Normal3(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glNormal3iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Normal3(Int32[] v); /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -99815,24 +58117,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3iv")] - public static - void Normal3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glNormal3iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Normal3(ref Int32 v); /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -99847,18 +58132,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3iv")] - public static - unsafe void Normal3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3iv((Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Normal3(Int32* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -99872,18 +58146,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3s")] - public static - void Normal3(Int16 nx, Int16 ny, Int16 nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3s((Int16)nx, (Int16)ny, (Int16)nz); - #if DEBUG - } - #endif - } + public static extern void Normal3(Int16 nx, Int16 ny, Int16 nz); /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -99897,24 +58160,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3sv")] - public static - void Normal3(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glNormal3sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Normal3(Int16[] v); /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -99928,24 +58174,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3sv")] - public static - void Normal3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glNormal3sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Normal3(ref Int16 v); /// [requires: v1.0][deprecated: v3.2] /// Set the current normal vector @@ -99960,81 +58189,26 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glNormal3sv")] - public static - unsafe void Normal3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3sv((Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Normal3(Int16* v); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glNormalP3ui")] - public static - void NormalP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalP3ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void NormalP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glNormalP3ui")] - public static - void NormalP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalP3ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void NormalP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glNormalP3uiv")] - public static - unsafe void NormalP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalP3uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void NormalP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glNormalP3uiv")] - public static - unsafe void NormalP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalP3uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void NormalP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); /// [requires: v1.1][deprecated: v3.2] /// Define an array of normals @@ -100055,18 +58229,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glNormalPointer")] - public static - void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalPointer((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer); /// [requires: v1.1][deprecated: v3.2] /// Define an array of normals @@ -100087,27 +58250,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glNormalPointer")] - public static - void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) + public static extern void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointer((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1][deprecated: v3.2] /// Define an array of normals @@ -100128,27 +58273,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glNormalPointer")] - public static - void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) + public static extern void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointer((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1][deprecated: v3.2] /// Define an array of normals @@ -100169,27 +58296,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glNormalPointer")] - public static - void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) + public static extern void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointer((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1][deprecated: v3.2] /// Define an array of normals @@ -100210,28 +58319,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glNormalPointer")] - public static - void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) + public static extern void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointer((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Label a named object identified within a namespace @@ -100257,18 +58347,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glObjectLabel")] - public static - void ObjectLabel(OpenTK.Graphics.OpenGL.ObjectLabelIdentifier identifier, Int32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glObjectLabel((OpenTK.Graphics.OpenGL.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void ObjectLabel(OpenTK.Graphics.OpenGL.ObjectLabelIdentifier identifier, Int32 name, Int32 length, String label); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Label a named object identified within a namespace @@ -100295,18 +58374,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glObjectLabel")] - public static - void ObjectLabel(OpenTK.Graphics.OpenGL.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glObjectLabel((OpenTK.Graphics.OpenGL.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void ObjectLabel(OpenTK.Graphics.OpenGL.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Label a a sync object identified by a pointer @@ -100327,18 +58395,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glObjectPtrLabel")] - public static - void ObjectPtrLabel(IntPtr ptr, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glObjectPtrLabel((IntPtr)ptr, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void ObjectPtrLabel(IntPtr ptr, Int32 length, String label); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Label a a sync object identified by a pointer @@ -100359,27 +58416,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glObjectPtrLabel")] - public static - void ObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 length, String label) + public static extern void ObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 length, String label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Label a a sync object identified by a pointer @@ -100400,27 +58439,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glObjectPtrLabel")] - public static - void ObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 length, String label) + public static extern void ObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 length, String label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Label a a sync object identified by a pointer @@ -100441,27 +58462,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glObjectPtrLabel")] - public static - void ObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 length, String label) + public static extern void ObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 length, String label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Label a a sync object identified by a pointer @@ -100482,28 +58485,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glObjectPtrLabel")] - public static - void ObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 length, String label) + public static extern void ObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 length, String label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label); - ptr = (T0)ptr_ptr.Target; - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0][deprecated: v3.2] /// Multiply the current matrix with an orthographic matrix @@ -100524,18 +58508,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glOrtho")] - public static - void Ortho(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glOrtho((Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar); - #if DEBUG - } - #endif - } + public static extern void Ortho(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); /// [requires: v1.0][deprecated: v3.2] /// Place a marker in the feedback buffer @@ -100546,18 +58519,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPassThrough")] - public static - void PassThrough(Single token) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPassThrough((Single)token); - #if DEBUG - } - #endif - } + public static extern void PassThrough(Single token); /// [requires: v4.0 and ARB_tessellation_shader|VERSION_4_0] /// Specifies the parameters for patch primitives @@ -100578,24 +58540,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_tessellation_shader|VERSION_4_0", Version = "4.0", EntryPoint = "glPatchParameterfv")] - public static - void PatchParameter(OpenTK.Graphics.OpenGL.PatchParameterFloat pname, Single[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* values_ptr = values) - { - Delegates.glPatchParameterfv((OpenTK.Graphics.OpenGL.PatchParameterFloat)pname, (Single*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PatchParameter(OpenTK.Graphics.OpenGL.PatchParameterFloat pname, Single[] values); /// [requires: v4.0 and ARB_tessellation_shader|VERSION_4_0] /// Specifies the parameters for patch primitives @@ -100616,24 +58561,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_tessellation_shader|VERSION_4_0", Version = "4.0", EntryPoint = "glPatchParameterfv")] - public static - void PatchParameter(OpenTK.Graphics.OpenGL.PatchParameterFloat pname, ref Single values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* values_ptr = &values) - { - Delegates.glPatchParameterfv((OpenTK.Graphics.OpenGL.PatchParameterFloat)pname, (Single*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PatchParameter(OpenTK.Graphics.OpenGL.PatchParameterFloat pname, ref Single values); /// [requires: v4.0 and ARB_tessellation_shader|VERSION_4_0] /// Specifies the parameters for patch primitives @@ -100655,18 +58583,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_tessellation_shader|VERSION_4_0", Version = "4.0", EntryPoint = "glPatchParameterfv")] - public static - unsafe void PatchParameter(OpenTK.Graphics.OpenGL.PatchParameterFloat pname, Single* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPatchParameterfv((OpenTK.Graphics.OpenGL.PatchParameterFloat)pname, (Single*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void PatchParameter(OpenTK.Graphics.OpenGL.PatchParameterFloat pname, Single* values); /// [requires: v4.0 and ARB_tessellation_shader|VERSION_4_0] /// Specifies the parameters for patch primitives @@ -100687,35 +58604,13 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_tessellation_shader|VERSION_4_0", Version = "4.0", EntryPoint = "glPatchParameteri")] - public static - void PatchParameter(OpenTK.Graphics.OpenGL.PatchParameterInt pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPatchParameteri((OpenTK.Graphics.OpenGL.PatchParameterInt)pname, (Int32)value); - #if DEBUG - } - #endif - } + public static extern void PatchParameter(OpenTK.Graphics.OpenGL.PatchParameterInt pname, Int32 value); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Pause transform feedback operations /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glPauseTransformFeedback")] - public static - void PauseTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPauseTransformFeedback(); - #if DEBUG - } - #endif - } + public static extern void PauseTransformFeedback(); /// [requires: v1.0][deprecated: v3.2] /// Set up pixel transfer maps @@ -100736,24 +58631,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelMapfv")] - public static - void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, Single[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* values_ptr = values) - { - Delegates.glPixelMapfv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (Single*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, Single[] values); /// [requires: v1.0][deprecated: v3.2] /// Set up pixel transfer maps @@ -100774,24 +58652,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelMapfv")] - public static - void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, ref Single values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* values_ptr = &values) - { - Delegates.glPixelMapfv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (Single*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, ref Single values); /// [requires: v1.0][deprecated: v3.2] /// Set up pixel transfer maps @@ -100813,18 +58674,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelMapfv")] - public static - unsafe void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, Single* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelMapfv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (Single*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, Single* values); /// [requires: v1.0][deprecated: v3.2] /// Set up pixel transfer maps @@ -100845,24 +58695,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelMapuiv")] - public static - void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, Int32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* values_ptr = values) - { - Delegates.glPixelMapuiv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, Int32[] values); /// [requires: v1.0][deprecated: v3.2] /// Set up pixel transfer maps @@ -100883,24 +58716,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelMapuiv")] - public static - void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, ref Int32 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* values_ptr = &values) - { - Delegates.glPixelMapuiv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, ref Int32 values); /// [requires: v1.0][deprecated: v3.2] /// Set up pixel transfer maps @@ -100922,18 +58738,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelMapuiv")] - public static - unsafe void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, Int32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelMapuiv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (UInt32*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, Int32* values); /// [requires: v1.0][deprecated: v3.2] /// Set up pixel transfer maps @@ -100955,24 +58760,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelMapuiv")] - public static - void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, UInt32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* values_ptr = values) - { - Delegates.glPixelMapuiv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, UInt32[] values); /// [requires: v1.0][deprecated: v3.2] /// Set up pixel transfer maps @@ -100994,24 +58782,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelMapuiv")] - public static - void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, ref UInt32 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* values_ptr = &values) - { - Delegates.glPixelMapuiv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, ref UInt32 values); /// [requires: v1.0][deprecated: v3.2] /// Set up pixel transfer maps @@ -101033,18 +58804,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelMapuiv")] - public static - unsafe void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, UInt32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelMapuiv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (UInt32*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, UInt32* values); /// [requires: v1.0][deprecated: v3.2] /// Set up pixel transfer maps @@ -101065,24 +58825,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelMapusv")] - public static - void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, Int16[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* values_ptr = values) - { - Delegates.glPixelMapusv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, Int16[] values); /// [requires: v1.0][deprecated: v3.2] /// Set up pixel transfer maps @@ -101103,24 +58846,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelMapusv")] - public static - void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, ref Int16 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* values_ptr = &values) - { - Delegates.glPixelMapusv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, ref Int16 values); /// [requires: v1.0][deprecated: v3.2] /// Set up pixel transfer maps @@ -101142,18 +58868,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelMapusv")] - public static - unsafe void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, Int16* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelMapusv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (UInt16*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, Int16* values); /// [requires: v1.0][deprecated: v3.2] /// Set up pixel transfer maps @@ -101175,24 +58890,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelMapusv")] - public static - void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, UInt16[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* values_ptr = values) - { - Delegates.glPixelMapusv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, UInt16[] values); /// [requires: v1.0][deprecated: v3.2] /// Set up pixel transfer maps @@ -101214,24 +58912,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelMapusv")] - public static - void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, ref UInt16 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* values_ptr = &values) - { - Delegates.glPixelMapusv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, ref UInt16 values); /// [requires: v1.0][deprecated: v3.2] /// Set up pixel transfer maps @@ -101253,76 +58934,20 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelMapusv")] - public static - unsafe void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, UInt16* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelMapusv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (UInt16*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void PixelMap(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, UInt16* values); /// [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPixelMapx")] - public static - void PixelMapx(OpenTK.Graphics.OpenGL.OesFixedPoint map, Int32 size, int[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* values_ptr = values) - { - Delegates.glPixelMapx((OpenTK.Graphics.OpenGL.OesFixedPoint)map, (Int32)size, (int*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PixelMapx(OpenTK.Graphics.OpenGL.OesFixedPoint map, Int32 size, int[] values); /// [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPixelMapx")] - public static - void PixelMapx(OpenTK.Graphics.OpenGL.OesFixedPoint map, Int32 size, ref int values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* values_ptr = &values) - { - Delegates.glPixelMapx((OpenTK.Graphics.OpenGL.OesFixedPoint)map, (Int32)size, (int*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PixelMapx(OpenTK.Graphics.OpenGL.OesFixedPoint map, Int32 size, ref int values); /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPixelMapx")] - public static - unsafe void PixelMapx(OpenTK.Graphics.OpenGL.OesFixedPoint map, Int32 size, int* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelMapx((OpenTK.Graphics.OpenGL.OesFixedPoint)map, (Int32)size, (int*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void PixelMapx(OpenTK.Graphics.OpenGL.OesFixedPoint map, Int32 size, int* values); /// [requires: v1.0] /// Set pixel storage modes @@ -101338,18 +58963,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelStoref")] - public static - void PixelStore(OpenTK.Graphics.OpenGL.PixelStoreParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelStoref((OpenTK.Graphics.OpenGL.PixelStoreParameter)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void PixelStore(OpenTK.Graphics.OpenGL.PixelStoreParameter pname, Single param); /// [requires: v1.0] /// Set pixel storage modes @@ -101365,33 +58979,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelStorei")] - public static - void PixelStore(OpenTK.Graphics.OpenGL.PixelStoreParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelStorei((OpenTK.Graphics.OpenGL.PixelStoreParameter)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void PixelStore(OpenTK.Graphics.OpenGL.PixelStoreParameter pname, Int32 param); /// [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPixelStorex")] - public static - void PixelStorex(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelStorex((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); - #if DEBUG - } - #endif - } + public static extern void PixelStorex(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); /// [requires: v1.0][deprecated: v3.2] /// Set pixel transfer modes @@ -101410,18 +59002,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelTransferf")] - public static - void PixelTransfer(OpenTK.Graphics.OpenGL.PixelTransferParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelTransferf((OpenTK.Graphics.OpenGL.PixelTransferParameter)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void PixelTransfer(OpenTK.Graphics.OpenGL.PixelTransferParameter pname, Single param); /// [requires: v1.0][deprecated: v3.2] /// Set pixel transfer modes @@ -101440,18 +59021,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelTransferi")] - public static - void PixelTransfer(OpenTK.Graphics.OpenGL.PixelTransferParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelTransferi((OpenTK.Graphics.OpenGL.PixelTransferParameter)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void PixelTransfer(OpenTK.Graphics.OpenGL.PixelTransferParameter pname, Int32 param); /// [requires: v1.0][deprecated: v3.2] /// Specify the pixel zoom factors @@ -101462,18 +59032,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelZoom")] - public static - void PixelZoom(Single xfactor, Single yfactor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelZoom((Single)xfactor, (Single)yfactor); - #if DEBUG - } - #endif - } + public static extern void PixelZoom(Single xfactor, Single yfactor); /// [requires: v1.4] /// Specify point parameters @@ -101494,18 +59053,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glPointParameterf")] - public static - void PointParameter(OpenTK.Graphics.OpenGL.PointParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameterf((OpenTK.Graphics.OpenGL.PointParameterName)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void PointParameter(OpenTK.Graphics.OpenGL.PointParameterName pname, Single param); /// [requires: v1.4] /// Specify point parameters @@ -101526,24 +59074,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glPointParameterfv")] - public static - void PointParameter(OpenTK.Graphics.OpenGL.PointParameterName pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glPointParameterfv((OpenTK.Graphics.OpenGL.PointParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PointParameter(OpenTK.Graphics.OpenGL.PointParameterName pname, Single[] @params); /// [requires: v1.4] /// Specify point parameters @@ -101565,18 +59096,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glPointParameterfv")] - public static - unsafe void PointParameter(OpenTK.Graphics.OpenGL.PointParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameterfv((OpenTK.Graphics.OpenGL.PointParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void PointParameter(OpenTK.Graphics.OpenGL.PointParameterName pname, Single* @params); /// [requires: v1.4] /// Specify point parameters @@ -101597,18 +59117,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glPointParameteri")] - public static - void PointParameter(OpenTK.Graphics.OpenGL.PointParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameteri((OpenTK.Graphics.OpenGL.PointParameterName)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void PointParameter(OpenTK.Graphics.OpenGL.PointParameterName pname, Int32 param); /// [requires: v1.4] /// Specify point parameters @@ -101629,24 +59138,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glPointParameteriv")] - public static - void PointParameter(OpenTK.Graphics.OpenGL.PointParameterName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glPointParameteriv((OpenTK.Graphics.OpenGL.PointParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PointParameter(OpenTK.Graphics.OpenGL.PointParameterName pname, Int32[] @params); /// [requires: v1.4] /// Specify point parameters @@ -101668,18 +59160,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glPointParameteriv")] - public static - unsafe void PointParameter(OpenTK.Graphics.OpenGL.PointParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameteriv((OpenTK.Graphics.OpenGL.PointParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void PointParameter(OpenTK.Graphics.OpenGL.PointParameterName pname, Int32* @params); /// [requires: v1.0] /// Specify the diameter of rasterized points @@ -101690,18 +59171,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPointSize")] - public static - void PointSize(Single size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointSize((Single)size); - #if DEBUG - } - #endif - } + public static extern void PointSize(Single size); /// [requires: v1.0] /// Select a polygon rasterization mode @@ -101717,18 +59187,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPolygonMode")] - public static - void PolygonMode(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.PolygonMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPolygonMode((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.PolygonMode)mode); - #if DEBUG - } - #endif - } + public static extern void PolygonMode(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.PolygonMode mode); /// [requires: v1.1] /// Set the scale and units used to calculate depth values @@ -101744,18 +59203,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glPolygonOffset")] - public static - void PolygonOffset(Single factor, Single units) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPolygonOffset((Single)factor, (Single)units); - #if DEBUG - } - #endif - } + public static extern void PolygonOffset(Single factor, Single units); /// [requires: v1.0][deprecated: v3.2] /// Set the polygon stippling pattern @@ -101766,24 +59214,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPolygonStipple")] - public static - void PolygonStipple(Byte[] mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* mask_ptr = mask) - { - Delegates.glPolygonStipple((Byte*)mask_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PolygonStipple(Byte[] mask); /// [requires: v1.0][deprecated: v3.2] /// Set the polygon stippling pattern @@ -101794,24 +59225,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPolygonStipple")] - public static - void PolygonStipple(ref Byte mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* mask_ptr = &mask) - { - Delegates.glPolygonStipple((Byte*)mask_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PolygonStipple(ref Byte mask); /// [requires: v1.0][deprecated: v3.2] /// Set the polygon stippling pattern @@ -101823,95 +59237,29 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPolygonStipple")] - public static - unsafe void PolygonStipple(Byte* mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPolygonStipple((Byte*)mask); - #if DEBUG - } - #endif - } + public static extern unsafe void PolygonStipple(Byte* mask); /// [requires: v1.0][deprecated: v3.2] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPopAttrib")] - public static - void PopAttrib() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPopAttrib(); - #if DEBUG - } - #endif - } + public static extern void PopAttrib(); /// [requires: v1.1][deprecated: v3.2] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glPopClientAttrib")] - public static - void PopClientAttrib() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPopClientAttrib(); - #if DEBUG - } - #endif - } + public static extern void PopClientAttrib(); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Pop the active debug group /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glPopDebugGroup")] - public static - void PopDebugGroup() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPopDebugGroup(); - #if DEBUG - } - #endif - } + public static extern void PopDebugGroup(); /// [requires: v1.0][deprecated: v3.2] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPopMatrix")] - public static - void PopMatrix() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPopMatrix(); - #if DEBUG - } - #endif - } + public static extern void PopMatrix(); /// [requires: v1.0][deprecated: v3.2] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPopName")] - public static - void PopName() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPopName(); - #if DEBUG - } - #endif - } + public static extern void PopName(); /// [requires: v3.1] /// Specify the primitive restart index @@ -101922,18 +59270,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glPrimitiveRestartIndex")] - public static - void PrimitiveRestartIndex(Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPrimitiveRestartIndex((UInt32)index); - #if DEBUG - } - #endif - } + public static extern void PrimitiveRestartIndex(Int32 index); /// [requires: v3.1] /// Specify the primitive restart index @@ -101945,18 +59282,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glPrimitiveRestartIndex")] - public static - void PrimitiveRestartIndex(UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPrimitiveRestartIndex((UInt32)index); - #if DEBUG - } - #endif - } + public static extern void PrimitiveRestartIndex(UInt32 index); /// [requires: v1.1][deprecated: v3.2] /// Set texture residence priority @@ -101977,25 +59303,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glPrioritizeTextures")] - public static - void PrioritizeTextures(Int32 n, Int32[] textures, Single[] priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - fixed (Single* priorities_ptr = priorities) - { - Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PrioritizeTextures(Int32 n, Int32[] textures, Single[] priorities); /// [requires: v1.1][deprecated: v3.2] /// Set texture residence priority @@ -102016,25 +59324,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glPrioritizeTextures")] - public static - void PrioritizeTextures(Int32 n, ref Int32 textures, ref Single priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - fixed (Single* priorities_ptr = &priorities) - { - Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PrioritizeTextures(Int32 n, ref Int32 textures, ref Single priorities); /// [requires: v1.1][deprecated: v3.2] /// Set texture residence priority @@ -102056,18 +59346,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glPrioritizeTextures")] - public static - unsafe void PrioritizeTextures(Int32 n, Int32* textures, Single* priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures, (Single*)priorities); - #if DEBUG - } - #endif - } + public static extern unsafe void PrioritizeTextures(Int32 n, Int32* textures, Single* priorities); /// [requires: v1.1][deprecated: v3.2] /// Set texture residence priority @@ -102089,25 +59368,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glPrioritizeTextures")] - public static - void PrioritizeTextures(Int32 n, UInt32[] textures, Single[] priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - fixed (Single* priorities_ptr = priorities) - { - Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PrioritizeTextures(Int32 n, UInt32[] textures, Single[] priorities); /// [requires: v1.1][deprecated: v3.2] /// Set texture residence priority @@ -102129,25 +59390,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glPrioritizeTextures")] - public static - void PrioritizeTextures(Int32 n, ref UInt32 textures, ref Single priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - fixed (Single* priorities_ptr = &priorities) - { - Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PrioritizeTextures(Int32 n, ref UInt32 textures, ref Single priorities); /// [requires: v1.1][deprecated: v3.2] /// Set texture residence priority @@ -102169,18 +59412,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glPrioritizeTextures")] - public static - unsafe void PrioritizeTextures(Int32 n, UInt32* textures, Single* priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures, (Single*)priorities); - #if DEBUG - } - #endif - } + public static extern unsafe void PrioritizeTextures(Int32 n, UInt32* textures, Single* priorities); /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Load a program object with a program binary @@ -102206,18 +59438,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static - void ProgramBinary(Int32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryFormat, (IntPtr)binary, (Int32)length); - #if DEBUG - } - #endif - } + public static extern void ProgramBinary(Int32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, IntPtr binary, Int32 length); /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Load a program object with a program binary @@ -102243,27 +59464,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static - void ProgramBinary(Int32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T2[] binary, Int32 length) + public static extern void ProgramBinary(Int32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T2[] binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Load a program object with a program binary @@ -102289,27 +59492,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static - void ProgramBinary(Int32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T2[,] binary, Int32 length) + public static extern void ProgramBinary(Int32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T2[,] binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Load a program object with a program binary @@ -102335,27 +59520,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static - void ProgramBinary(Int32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T2[,,] binary, Int32 length) + public static extern void ProgramBinary(Int32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T2[,,] binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Load a program object with a program binary @@ -102381,28 +59548,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static - void ProgramBinary(Int32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] ref T2 binary, Int32 length) + public static extern void ProgramBinary(Int32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] ref T2 binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T2)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Load a program object with a program binary @@ -102429,18 +59577,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static - void ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryFormat, (IntPtr)binary, (Int32)length); - #if DEBUG - } - #endif - } + public static extern void ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, IntPtr binary, Int32 length); /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Load a program object with a program binary @@ -102467,27 +59604,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static - void ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T2[] binary, Int32 length) + public static extern void ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T2[] binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Load a program object with a program binary @@ -102514,27 +59633,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static - void ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T2[,] binary, Int32 length) + public static extern void ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T2[,] binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Load a program object with a program binary @@ -102561,27 +59662,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static - void ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T2[,,] binary, Int32 length) + public static extern void ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T2[,,] binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Load a program object with a program binary @@ -102608,28 +59691,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static - void ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] ref T2 binary, Int32 length) + public static extern void ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, [InAttribute, OutAttribute] ref T2 binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T2)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Specify a parameter for a program object @@ -102650,18 +59714,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramParameteri")] - public static - void ProgramParameter(Int32 program, OpenTK.Graphics.OpenGL.ProgramParameterName pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameteri((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramParameterName)pname, (Int32)value); - #if DEBUG - } - #endif - } + public static extern void ProgramParameter(Int32 program, OpenTK.Graphics.OpenGL.ProgramParameterName pname, Int32 value); /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Specify a parameter for a program object @@ -102683,18 +59736,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ProgramParameterName overload instead")] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramParameteri")] - public static - void ProgramParameter(Int32 program, OpenTK.Graphics.OpenGL.Version32 pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameteri((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramParameterName)pname, (Int32)value); - #if DEBUG - } - #endif - } + public static extern void ProgramParameter(Int32 program, OpenTK.Graphics.OpenGL.Version32 pname, Int32 value); /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Specify a parameter for a program object @@ -102716,18 +59758,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramParameteri")] - public static - void ProgramParameter(UInt32 program, OpenTK.Graphics.OpenGL.ProgramParameterName pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameteri((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramParameterName)pname, (Int32)value); - #if DEBUG - } - #endif - } + public static extern void ProgramParameter(UInt32 program, OpenTK.Graphics.OpenGL.ProgramParameterName pname, Int32 value); /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Specify a parameter for a program object @@ -102750,18 +59781,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use ProgramParameterName overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramParameteri")] - public static - void ProgramParameter(UInt32 program, OpenTK.Graphics.OpenGL.Version32 pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameteri((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramParameterName)pname, (Int32)value); - #if DEBUG - } - #endif - } + public static extern void ProgramParameter(UInt32 program, OpenTK.Graphics.OpenGL.Version32 pname, Int32 value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -102800,18 +59820,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1d")] - public static - void ProgramUniform1(Int32 program, Int32 location, Double v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1d((UInt32)program, (Int32)location, (Double)v0); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Double v0); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -102851,18 +59860,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1d")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Double v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1d((UInt32)program, (Int32)location, (Double)v0); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Double v0); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -102901,24 +59899,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1dv")] - public static - void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniform1dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -102958,18 +59939,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1dv")] - public static - unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -103009,24 +59979,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1dv")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniform1dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -103066,18 +60019,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1dv")] - public static - unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -103116,18 +60058,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1f")] - public static - void ProgramUniform1(Int32 program, Int32 location, Single v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1f((UInt32)program, (Int32)location, (Single)v0); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Single v0); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -103167,18 +60098,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1f")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Single v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1f((UInt32)program, (Int32)location, (Single)v0); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Single v0); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -103217,24 +60137,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1fv")] - public static - void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform1fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -103274,18 +60177,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1fv")] - public static - unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -103325,24 +60217,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1fv")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform1fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -103382,18 +60257,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1fv")] - public static - unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -103432,18 +60296,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1i")] - public static - void ProgramUniform1(Int32 program, Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1i((UInt32)program, (Int32)location, (Int32)v0); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 v0); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -103483,18 +60336,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1i")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1i((UInt32)program, (Int32)location, (Int32)v0); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 v0); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -103533,24 +60375,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1iv")] - public static - void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform1iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Int32 value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -103590,18 +60415,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1iv")] - public static - unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -103641,24 +60455,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1iv")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform1iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Int32 value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -103698,18 +60495,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1iv")] - public static - unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -103749,18 +60535,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1ui")] - public static - void ProgramUniform1(UInt32 program, Int32 location, UInt32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1ui((UInt32)program, (Int32)location, (UInt32)v0); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, UInt32 v0); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -103800,24 +60575,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1uiv")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glProgramUniform1uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref UInt32 value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -103857,18 +60615,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1uiv")] - public static - unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -103907,18 +60654,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2d")] - public static - void ProgramUniform2(Int32 program, Int32 location, Double v0, Double v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2d((UInt32)program, (Int32)location, (Double)v0, (Double)v1); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Double v0, Double v1); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -103958,18 +60694,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2d")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Double v0, Double v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2d((UInt32)program, (Int32)location, (Double)v0, (Double)v1); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Double v0, Double v1); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -104008,24 +60733,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2dv")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniform2dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -104064,24 +60772,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2dv")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniform2dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -104121,18 +60812,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2dv")] - public static - unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -104172,24 +60852,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2dv")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniform2dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -104229,24 +60892,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2dv")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniform2dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -104286,18 +60932,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2dv")] - public static - unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -104336,18 +60971,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2f")] - public static - void ProgramUniform2(Int32 program, Int32 location, Single v0, Single v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2f((UInt32)program, (Int32)location, (Single)v0, (Single)v1); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Single v0, Single v1); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -104387,18 +61011,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2f")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Single v0, Single v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2f((UInt32)program, (Int32)location, (Single)v0, (Single)v1); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Single v0, Single v1); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -104437,24 +61050,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2fv")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform2fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -104493,24 +61089,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2fv")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform2fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -104550,18 +61129,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2fv")] - public static - unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -104601,24 +61169,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2fv")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform2fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -104658,24 +61209,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2fv")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform2fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -104715,18 +61249,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2fv")] - public static - unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -104765,18 +61288,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2i")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 v0, Int32 v1); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -104816,18 +61328,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2i")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 v0, Int32 v1); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -104866,24 +61367,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2iv")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform2iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -104923,18 +61407,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2iv")] - public static - unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -104974,24 +61447,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2iv")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform2iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -105031,18 +61487,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2iv")] - public static - unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -105082,18 +61527,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2ui")] - public static - void ProgramUniform2(UInt32 program, Int32 location, UInt32 v0, UInt32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2ui((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, UInt32 v0, UInt32 v1); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -105133,24 +61567,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2uiv")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glProgramUniform2uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -105190,24 +61607,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2uiv")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glProgramUniform2uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref UInt32 value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -105247,18 +61647,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2uiv")] - public static - unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -105297,18 +61686,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3d")] - public static - void ProgramUniform3(Int32 program, Int32 location, Double v0, Double v1, Double v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3d((UInt32)program, (Int32)location, (Double)v0, (Double)v1, (Double)v2); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Double v0, Double v1, Double v2); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -105348,18 +61726,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3d")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Double v0, Double v1, Double v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3d((UInt32)program, (Int32)location, (Double)v0, (Double)v1, (Double)v2); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Double v0, Double v1, Double v2); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -105398,24 +61765,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3dv")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniform3dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -105454,24 +61804,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3dv")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniform3dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -105511,18 +61844,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3dv")] - public static - unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -105562,24 +61884,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3dv")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniform3dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -105619,24 +61924,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3dv")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniform3dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -105676,18 +61964,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3dv")] - public static - unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -105726,18 +62003,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3f")] - public static - void ProgramUniform3(Int32 program, Int32 location, Single v0, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3f((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Single v0, Single v1, Single v2); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -105777,18 +62043,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3f")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Single v0, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3f((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Single v0, Single v1, Single v2); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -105827,24 +62082,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3fv")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform3fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -105883,24 +62121,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3fv")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform3fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -105940,18 +62161,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3fv")] - public static - unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -105991,24 +62201,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3fv")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform3fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106048,24 +62241,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3fv")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform3fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106105,18 +62281,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3fv")] - public static - unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106155,18 +62320,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3i")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106206,18 +62360,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3i")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106256,24 +62399,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3iv")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform3iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106312,24 +62438,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3iv")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform3iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Int32 value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106369,18 +62478,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3iv")] - public static - unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106420,24 +62518,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3iv")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform3iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106477,24 +62558,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3iv")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform3iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Int32 value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106534,18 +62598,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3iv")] - public static - unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106585,18 +62638,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3ui")] - public static - void ProgramUniform3(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3ui((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106636,24 +62678,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3uiv")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glProgramUniform3uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106693,24 +62718,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3uiv")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glProgramUniform3uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref UInt32 value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106750,18 +62758,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3uiv")] - public static - unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106800,18 +62797,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4d")] - public static - void ProgramUniform4(Int32 program, Int32 location, Double v0, Double v1, Double v2, Double v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4d((UInt32)program, (Int32)location, (Double)v0, (Double)v1, (Double)v2, (Double)v3); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Double v0, Double v1, Double v2, Double v3); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106851,18 +62837,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4d")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Double v0, Double v1, Double v2, Double v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4d((UInt32)program, (Int32)location, (Double)v0, (Double)v1, (Double)v2, (Double)v3); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Double v0, Double v1, Double v2, Double v3); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106901,24 +62876,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4dv")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniform4dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -106957,24 +62915,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4dv")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniform4dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107014,18 +62955,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4dv")] - public static - unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107065,24 +62995,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4dv")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniform4dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107122,24 +63035,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4dv")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniform4dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107179,18 +63075,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4dv")] - public static - unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107229,18 +63114,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4f")] - public static - void ProgramUniform4(Int32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4f((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Single v0, Single v1, Single v2, Single v3); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107280,18 +63154,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4f")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4f((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107330,24 +63193,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4fv")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform4fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107386,24 +63232,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4fv")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform4fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107443,18 +63272,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4fv")] - public static - unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107494,24 +63312,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4fv")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform4fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107551,24 +63352,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4fv")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform4fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107608,18 +63392,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4fv")] - public static - unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107658,18 +63431,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4i")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107709,18 +63471,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4i")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107759,24 +63510,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4iv")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform4iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107815,24 +63549,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4iv")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform4iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Int32 value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107872,18 +63589,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4iv")] - public static - unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107923,24 +63629,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4iv")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform4iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -107980,24 +63669,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4iv")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform4iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Int32 value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -108037,18 +63709,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4iv")] - public static - unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -108088,18 +63749,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4ui")] - public static - void ProgramUniform4(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4ui((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -108139,24 +63789,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4uiv")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glProgramUniform4uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -108196,24 +63829,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4uiv")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glProgramUniform4uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref UInt32 value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -108253,2142 +63869,511 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4uiv")] - public static - unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2dv")] - public static - void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2dv")] - public static - void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2dv")] - public static - unsafe void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2dv")] - public static - void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2dv")] - public static - void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2dv")] - public static - unsafe void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2fv")] - public static - void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2fv")] - public static - void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2fv")] - public static - unsafe void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2fv")] - public static - void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2fv")] - public static - void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2fv")] - public static - unsafe void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3dv")] - public static - void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3dv")] - public static - void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3dv")] - public static - unsafe void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3dv")] - public static - void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3dv")] - public static - void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3dv")] - public static - unsafe void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3fv")] - public static - void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3fv")] - public static - void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3fv")] - public static - unsafe void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3fv")] - public static - void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3fv")] - public static - void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3fv")] - public static - unsafe void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4dv")] - public static - void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4dv")] - public static - void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4dv")] - public static - unsafe void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4dv")] - public static - void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4dv")] - public static - void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4dv")] - public static - unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4fv")] - public static - void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4fv")] - public static - void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4fv")] - public static - unsafe void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4fv")] - public static - void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4fv")] - public static - void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4fv")] - public static - unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3dv")] - public static - void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3dv")] - public static - void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3dv")] - public static - unsafe void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3dv")] - public static - void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3dv")] - public static - void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3dv")] - public static - unsafe void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3fv")] - public static - void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3fv")] - public static - void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3fv")] - public static - unsafe void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3fv")] - public static - void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3fv")] - public static - void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3fv")] - public static - unsafe void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2dv")] - public static - void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2dv")] - public static - void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2dv")] - public static - unsafe void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2dv")] - public static - void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2dv")] - public static - void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2dv")] - public static - unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2fv")] - public static - void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2fv")] - public static - void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2fv")] - public static - unsafe void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2fv")] - public static - void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2fv")] - public static - void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2fv")] - public static - unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4dv")] - public static - void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4dv")] - public static - void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4dv")] - public static - unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4dv")] - public static - void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4dv")] - public static - void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4dv")] - public static - unsafe void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4fv")] - public static - void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4fv")] - public static - void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4fv")] - public static - unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4fv")] - public static - void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4fv")] - public static - void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4fv")] - public static - unsafe void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4dv")] - public static - void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4dv")] - public static - void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4dv")] - public static - unsafe void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4dv")] - public static - void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4dv")] - public static - void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4dv")] - public static - unsafe void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4fv")] - public static - void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4fv")] - public static - void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4fv")] - public static - unsafe void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4fv")] - public static - void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4fv")] - public static - void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4fv")] - public static - unsafe void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2dv")] - public static - void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2dv")] - public static - void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2dv")] - public static - unsafe void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2dv")] - public static - void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2dv")] - public static - void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2dv")] - public static - unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2fv")] - public static - void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2fv")] - public static - void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2fv")] - public static - unsafe void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2fv")] - public static - void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2fv")] - public static - void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2fv")] - public static - unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3dv")] - public static - void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3dv")] - public static - void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3dv")] - public static - unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3dv")] - public static - void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3dv")] - public static - void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3dv")] - public static - unsafe void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3fv")] - public static - void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3fv")] - public static - void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3fv")] - public static - unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3fv")] - public static - void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3fv")] - public static - void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3fv")] - public static - unsafe void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v3.2 and ARB_provoking_vertex|VERSION_3_2] /// Specifiy the vertex to be used as the source of data for flat shaded varyings @@ -110399,18 +64384,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_provoking_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glProvokingVertex")] - public static - void ProvokingVertex(OpenTK.Graphics.OpenGL.ProvokingVertexMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProvokingVertex((OpenTK.Graphics.OpenGL.ProvokingVertexMode)mode); - #if DEBUG - } - #endif - } + public static extern void ProvokingVertex(OpenTK.Graphics.OpenGL.ProvokingVertexMode mode); /// [requires: v1.0][deprecated: v3.2] /// Push and pop the server attribute stack @@ -110421,18 +64395,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPushAttrib")] - public static - void PushAttrib(OpenTK.Graphics.OpenGL.AttribMask mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPushAttrib((OpenTK.Graphics.OpenGL.AttribMask)mask); - #if DEBUG - } - #endif - } + public static extern void PushAttrib(OpenTK.Graphics.OpenGL.AttribMask mask); /// [requires: v1.1][deprecated: v3.2] /// Push and pop the client attribute stack @@ -110443,18 +64406,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glPushClientAttrib")] - public static - void PushClientAttrib(OpenTK.Graphics.OpenGL.ClientAttribMask mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPushClientAttrib((OpenTK.Graphics.OpenGL.ClientAttribMask)mask); - #if DEBUG - } - #endif - } + public static extern void PushClientAttrib(OpenTK.Graphics.OpenGL.ClientAttribMask mask); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Push a named debug group into the command stream @@ -110480,18 +64432,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glPushDebugGroup")] - public static - void PushDebugGroup(OpenTK.Graphics.OpenGL.DebugSourceExternal source, Int32 id, Int32 length, String message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPushDebugGroup((OpenTK.Graphics.OpenGL.DebugSourceExternal)source, (UInt32)id, (Int32)length, (String)message); - #if DEBUG - } - #endif - } + public static extern void PushDebugGroup(OpenTK.Graphics.OpenGL.DebugSourceExternal source, Int32 id, Int32 length, String message); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Push a named debug group into the command stream @@ -110518,35 +64459,13 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glPushDebugGroup")] - public static - void PushDebugGroup(OpenTK.Graphics.OpenGL.DebugSourceExternal source, UInt32 id, Int32 length, String message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPushDebugGroup((OpenTK.Graphics.OpenGL.DebugSourceExternal)source, (UInt32)id, (Int32)length, (String)message); - #if DEBUG - } - #endif - } + public static extern void PushDebugGroup(OpenTK.Graphics.OpenGL.DebugSourceExternal source, UInt32 id, Int32 length, String message); /// [requires: v1.0][deprecated: v3.2] /// Push and pop the current matrix stack /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPushMatrix")] - public static - void PushMatrix() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPushMatrix(); - #if DEBUG - } - #endif - } + public static extern void PushMatrix(); /// [requires: v1.0][deprecated: v3.2] /// Push and pop the name stack @@ -110557,18 +64476,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPushName")] - public static - void PushName(Int32 name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPushName((UInt32)name); - #if DEBUG - } - #endif - } + public static extern void PushName(Int32 name); /// [requires: v1.0][deprecated: v3.2] /// Push and pop the name stack @@ -110580,18 +64488,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPushName")] - public static - void PushName(UInt32 name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPushName((UInt32)name); - #if DEBUG - } - #endif - } + public static extern void PushName(UInt32 name); /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Record the GL time into a query object after all previous commands have reached the GL server but have not yet necessarily executed. @@ -110607,18 +64504,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glQueryCounter")] - public static - void QueryCounter(Int32 id, OpenTK.Graphics.OpenGL.QueryCounterTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glQueryCounter((UInt32)id, (OpenTK.Graphics.OpenGL.QueryCounterTarget)target); - #if DEBUG - } - #endif - } + public static extern void QueryCounter(Int32 id, OpenTK.Graphics.OpenGL.QueryCounterTarget target); /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Record the GL time into a query object after all previous commands have reached the GL server but have not yet necessarily executed. @@ -110635,18 +64521,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glQueryCounter")] - public static - void QueryCounter(UInt32 id, OpenTK.Graphics.OpenGL.QueryCounterTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glQueryCounter((UInt32)id, (OpenTK.Graphics.OpenGL.QueryCounterTarget)target); - #if DEBUG - } - #endif - } + public static extern void QueryCounter(UInt32 id, OpenTK.Graphics.OpenGL.QueryCounterTarget target); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -110657,18 +64532,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos2d")] - public static - void RasterPos2(Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos2d((Double)x, (Double)y); - #if DEBUG - } - #endif - } + public static extern void RasterPos2(Double x, Double y); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -110679,24 +64543,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos2dv")] - public static - void RasterPos2(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glRasterPos2dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos2(Double[] v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -110707,24 +64554,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos2dv")] - public static - void RasterPos2(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glRasterPos2dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos2(ref Double v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -110736,18 +64566,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos2dv")] - public static - unsafe void RasterPos2(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos2dv((Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void RasterPos2(Double* v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -110758,18 +64577,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos2f")] - public static - void RasterPos2(Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos2f((Single)x, (Single)y); - #if DEBUG - } - #endif - } + public static extern void RasterPos2(Single x, Single y); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -110780,24 +64588,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos2fv")] - public static - void RasterPos2(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glRasterPos2fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos2(Single[] v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -110808,24 +64599,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos2fv")] - public static - void RasterPos2(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glRasterPos2fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos2(ref Single v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -110837,18 +64611,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos2fv")] - public static - unsafe void RasterPos2(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos2fv((Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void RasterPos2(Single* v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -110859,18 +64622,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos2i")] - public static - void RasterPos2(Int32 x, Int32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos2i((Int32)x, (Int32)y); - #if DEBUG - } - #endif - } + public static extern void RasterPos2(Int32 x, Int32 y); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -110881,24 +64633,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos2iv")] - public static - void RasterPos2(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glRasterPos2iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos2(Int32[] v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -110909,24 +64644,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos2iv")] - public static - void RasterPos2(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glRasterPos2iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos2(ref Int32 v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -110938,18 +64656,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos2iv")] - public static - unsafe void RasterPos2(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos2iv((Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void RasterPos2(Int32* v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -110960,18 +64667,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos2s")] - public static - void RasterPos2(Int16 x, Int16 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos2s((Int16)x, (Int16)y); - #if DEBUG - } - #endif - } + public static extern void RasterPos2(Int16 x, Int16 y); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -110982,24 +64678,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos2sv")] - public static - void RasterPos2(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glRasterPos2sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos2(Int16[] v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -111010,24 +64689,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos2sv")] - public static - void RasterPos2(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glRasterPos2sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos2(ref Int16 v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -111039,18 +64701,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos2sv")] - public static - unsafe void RasterPos2(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos2sv((Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void RasterPos2(Int16* v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -111061,18 +64712,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos3d")] - public static - void RasterPos3(Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos3d((Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } + public static extern void RasterPos3(Double x, Double y, Double z); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -111083,24 +64723,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos3dv")] - public static - void RasterPos3(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glRasterPos3dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos3(Double[] v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -111111,24 +64734,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos3dv")] - public static - void RasterPos3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glRasterPos3dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos3(ref Double v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -111140,18 +64746,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos3dv")] - public static - unsafe void RasterPos3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos3dv((Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void RasterPos3(Double* v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -111162,18 +64757,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos3f")] - public static - void RasterPos3(Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos3f((Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void RasterPos3(Single x, Single y, Single z); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -111184,24 +64768,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos3fv")] - public static - void RasterPos3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glRasterPos3fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos3(Single[] v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -111212,24 +64779,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos3fv")] - public static - void RasterPos3(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glRasterPos3fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos3(ref Single v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -111241,18 +64791,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos3fv")] - public static - unsafe void RasterPos3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos3fv((Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void RasterPos3(Single* v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -111263,18 +64802,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos3i")] - public static - void RasterPos3(Int32 x, Int32 y, Int32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos3i((Int32)x, (Int32)y, (Int32)z); - #if DEBUG - } - #endif - } + public static extern void RasterPos3(Int32 x, Int32 y, Int32 z); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -111285,24 +64813,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos3iv")] - public static - void RasterPos3(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glRasterPos3iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos3(Int32[] v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -111313,24 +64824,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos3iv")] - public static - void RasterPos3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glRasterPos3iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos3(ref Int32 v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -111342,18 +64836,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos3iv")] - public static - unsafe void RasterPos3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos3iv((Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void RasterPos3(Int32* v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -111364,18 +64847,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos3s")] - public static - void RasterPos3(Int16 x, Int16 y, Int16 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos3s((Int16)x, (Int16)y, (Int16)z); - #if DEBUG - } - #endif - } + public static extern void RasterPos3(Int16 x, Int16 y, Int16 z); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -111386,24 +64858,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos3sv")] - public static - void RasterPos3(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glRasterPos3sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos3(Int16[] v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -111414,24 +64869,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos3sv")] - public static - void RasterPos3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glRasterPos3sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos3(ref Int16 v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -111443,18 +64881,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos3sv")] - public static - unsafe void RasterPos3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos3sv((Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void RasterPos3(Int16* v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -111465,18 +64892,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos4d")] - public static - void RasterPos4(Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos4d((Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } + public static extern void RasterPos4(Double x, Double y, Double z, Double w); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -111487,24 +64903,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos4dv")] - public static - void RasterPos4(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glRasterPos4dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos4(Double[] v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -111515,24 +64914,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos4dv")] - public static - void RasterPos4(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glRasterPos4dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos4(ref Double v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -111544,18 +64926,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos4dv")] - public static - unsafe void RasterPos4(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos4dv((Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void RasterPos4(Double* v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -111566,18 +64937,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos4f")] - public static - void RasterPos4(Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos4f((Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } + public static extern void RasterPos4(Single x, Single y, Single z, Single w); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -111588,24 +64948,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos4fv")] - public static - void RasterPos4(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glRasterPos4fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos4(Single[] v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -111616,24 +64959,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos4fv")] - public static - void RasterPos4(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glRasterPos4fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos4(ref Single v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -111645,18 +64971,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos4fv")] - public static - unsafe void RasterPos4(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos4fv((Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void RasterPos4(Single* v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -111667,18 +64982,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos4i")] - public static - void RasterPos4(Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos4i((Int32)x, (Int32)y, (Int32)z, (Int32)w); - #if DEBUG - } - #endif - } + public static extern void RasterPos4(Int32 x, Int32 y, Int32 z, Int32 w); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -111689,24 +64993,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos4iv")] - public static - void RasterPos4(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glRasterPos4iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos4(Int32[] v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -111717,24 +65004,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos4iv")] - public static - void RasterPos4(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glRasterPos4iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos4(ref Int32 v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -111746,18 +65016,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos4iv")] - public static - unsafe void RasterPos4(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos4iv((Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void RasterPos4(Int32* v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -111768,18 +65027,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos4s")] - public static - void RasterPos4(Int16 x, Int16 y, Int16 z, Int16 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos4s((Int16)x, (Int16)y, (Int16)z, (Int16)w); - #if DEBUG - } - #endif - } + public static extern void RasterPos4(Int16 x, Int16 y, Int16 z, Int16 w); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -111790,24 +65038,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos4sv")] - public static - void RasterPos4(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glRasterPos4sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos4(Int16[] v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -111818,24 +65049,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos4sv")] - public static - void RasterPos4(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glRasterPos4sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos4(ref Int16 v); /// [requires: v1.0][deprecated: v3.2] /// Specify the raster position for pixel operations @@ -111847,18 +65061,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRasterPos4sv")] - public static - unsafe void RasterPos4(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos4sv((Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void RasterPos4(Int16* v); /// [requires: v1.0] /// Select a color buffer source for pixels @@ -111869,18 +65072,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glReadBuffer")] - public static - void ReadBuffer(OpenTK.Graphics.OpenGL.ReadBufferMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReadBuffer((OpenTK.Graphics.OpenGL.ReadBufferMode)mode); - #if DEBUG - } - #endif - } + public static extern void ReadBuffer(OpenTK.Graphics.OpenGL.ReadBufferMode mode); /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -111911,18 +65103,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels); /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -111953,27 +65134,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] pixels) + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -112004,27 +65167,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] pixels) + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -112055,27 +65200,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,,] pixels) + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,,] pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -112106,28 +65233,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 pixels) + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T6)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0][deprecated: v3.2] /// Draw a rectangle @@ -112143,18 +65251,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRectd")] - public static - void Rect(Double x1, Double y1, Double x2, Double y2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRectd((Double)x1, (Double)y1, (Double)x2, (Double)y2); - #if DEBUG - } - #endif - } + public static extern void Rect(Double x1, Double y1, Double x2, Double y2); /// [requires: v1.0][deprecated: v3.2] /// Draw a rectangle @@ -112170,25 +65267,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRectdv")] - public static - void Rect(Double[] v1, Double[] v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v1_ptr = v1) - fixed (Double* v2_ptr = v2) - { - Delegates.glRectdv((Double*)v1_ptr, (Double*)v2_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Rect(Double[] v1, Double[] v2); /// [requires: v1.0][deprecated: v3.2] /// Draw a rectangle @@ -112204,25 +65283,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRectdv")] - public static - void Rect(ref Double v1, ref Double v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v1_ptr = &v1) - fixed (Double* v2_ptr = &v2) - { - Delegates.glRectdv((Double*)v1_ptr, (Double*)v2_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Rect(ref Double v1, ref Double v2); /// [requires: v1.0][deprecated: v3.2] /// Draw a rectangle @@ -112239,18 +65300,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRectdv")] - public static - unsafe void Rect(Double* v1, Double* v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRectdv((Double*)v1, (Double*)v2); - #if DEBUG - } - #endif - } + public static extern unsafe void Rect(Double* v1, Double* v2); /// [requires: v1.0][deprecated: v3.2] /// Draw a rectangle @@ -112266,18 +65316,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRectf")] - public static - void Rect(Single x1, Single y1, Single x2, Single y2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRectf((Single)x1, (Single)y1, (Single)x2, (Single)y2); - #if DEBUG - } - #endif - } + public static extern void Rect(Single x1, Single y1, Single x2, Single y2); /// [requires: v1.0][deprecated: v3.2] /// Draw a rectangle @@ -112293,25 +65332,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRectfv")] - public static - void Rect(Single[] v1, Single[] v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v1_ptr = v1) - fixed (Single* v2_ptr = v2) - { - Delegates.glRectfv((Single*)v1_ptr, (Single*)v2_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Rect(Single[] v1, Single[] v2); /// [requires: v1.0][deprecated: v3.2] /// Draw a rectangle @@ -112327,25 +65348,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRectfv")] - public static - void Rect(ref Single v1, ref Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v1_ptr = &v1) - fixed (Single* v2_ptr = &v2) - { - Delegates.glRectfv((Single*)v1_ptr, (Single*)v2_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Rect(ref Single v1, ref Single v2); /// [requires: v1.0][deprecated: v3.2] /// Draw a rectangle @@ -112362,18 +65365,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRectfv")] - public static - unsafe void Rect(Single* v1, Single* v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRectfv((Single*)v1, (Single*)v2); - #if DEBUG - } - #endif - } + public static extern unsafe void Rect(Single* v1, Single* v2); /// [requires: v1.0][deprecated: v3.2] /// Draw a rectangle @@ -112389,18 +65381,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRecti")] - public static - void Rect(Int32 x1, Int32 y1, Int32 x2, Int32 y2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRecti((Int32)x1, (Int32)y1, (Int32)x2, (Int32)y2); - #if DEBUG - } - #endif - } + public static extern void Rect(Int32 x1, Int32 y1, Int32 x2, Int32 y2); /// [requires: v1.0][deprecated: v3.2] /// Draw a rectangle @@ -112416,25 +65397,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRectiv")] - public static - void Rect(Int32[] v1, Int32[] v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v1_ptr = v1) - fixed (Int32* v2_ptr = v2) - { - Delegates.glRectiv((Int32*)v1_ptr, (Int32*)v2_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Rect(Int32[] v1, Int32[] v2); /// [requires: v1.0][deprecated: v3.2] /// Draw a rectangle @@ -112450,25 +65413,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRectiv")] - public static - void Rect(ref Int32 v1, ref Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v1_ptr = &v1) - fixed (Int32* v2_ptr = &v2) - { - Delegates.glRectiv((Int32*)v1_ptr, (Int32*)v2_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Rect(ref Int32 v1, ref Int32 v2); /// [requires: v1.0][deprecated: v3.2] /// Draw a rectangle @@ -112485,33 +65430,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRectiv")] - public static - unsafe void Rect(Int32* v1, Int32* v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRectiv((Int32*)v1, (Int32*)v2); - #if DEBUG - } - #endif - } + public static extern unsafe void Rect(Int32* v1, Int32* v2); /// [requires: v1.0][deprecated: v3.2] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRects")] - public static - void Rects(Int16 x1, Int16 y1, Int16 x2, Int16 y2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRects((Int16)x1, (Int16)y1, (Int16)x2, (Int16)y2); - #if DEBUG - } - #endif - } + public static extern void Rects(Int16 x1, Int16 y1, Int16 x2, Int16 y2); /// [requires: v1.0][deprecated: v3.2] /// Draw a rectangle @@ -112527,25 +65450,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRectsv")] - public static - void Rect(Int16[] v1, Int16[] v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v1_ptr = v1) - fixed (Int16* v2_ptr = v2) - { - Delegates.glRectsv((Int16*)v1_ptr, (Int16*)v2_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Rect(Int16[] v1, Int16[] v2); /// [requires: v1.0][deprecated: v3.2] /// Draw a rectangle @@ -112561,25 +65466,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRectsv")] - public static - void Rect(ref Int16 v1, ref Int16 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v1_ptr = &v1) - fixed (Int16* v2_ptr = &v2) - { - Delegates.glRectsv((Int16*)v1_ptr, (Int16*)v2_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Rect(ref Int16 v1, ref Int16 v2); /// [requires: v1.0][deprecated: v3.2] /// Draw a rectangle @@ -112596,35 +65483,13 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRectsv")] - public static - unsafe void Rect(Int16* v1, Int16* v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRectsv((Int16*)v1, (Int16*)v2); - #if DEBUG - } - #endif - } + public static extern unsafe void Rect(Int16* v1, Int16* v2); /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Release resources consumed by the implementation's shader compiler /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glReleaseShaderCompiler")] - public static - void ReleaseShaderCompiler() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReleaseShaderCompiler(); - #if DEBUG - } - #endif - } + public static extern void ReleaseShaderCompiler(); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Establish data storage, format and dimensions of a renderbuffer object's image @@ -112650,18 +65515,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glRenderbufferStorage")] - public static - void RenderbufferStorage(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorage((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL.RenderbufferStorage)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorage(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -112692,18 +65546,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glRenderbufferStorageMultisample")] - public static - void RenderbufferStorageMultisample(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageMultisample((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.OpenGL.RenderbufferStorage)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorageMultisample(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height); /// [requires: v1.0][deprecated: v3.2] /// Set rasterization mode @@ -112714,18 +65557,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRenderMode")] - public static - Int32 RenderMode(OpenTK.Graphics.OpenGL.RenderingMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glRenderMode((OpenTK.Graphics.OpenGL.RenderingMode)mode); - #if DEBUG - } - #endif - } + public static extern Int32 RenderMode(OpenTK.Graphics.OpenGL.RenderingMode mode); /// /// Reset histogram table entries to zero @@ -112736,18 +65568,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glResetHistogram")] - public static - void ResetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glResetHistogram((OpenTK.Graphics.OpenGL.HistogramTarget)target); - #if DEBUG - } - #endif - } + public static extern void ResetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target); /// /// Reset minmax table entries to initial values @@ -112758,35 +65579,13 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glResetMinmax")] - public static - void ResetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glResetMinmax((OpenTK.Graphics.OpenGL.MinmaxTarget)target); - #if DEBUG - } - #endif - } + public static extern void ResetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Resume transform feedback operations /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glResumeTransformFeedback")] - public static - void ResumeTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glResumeTransformFeedback(); - #if DEBUG - } - #endif - } + public static extern void ResumeTransformFeedback(); /// [requires: v1.0][deprecated: v3.2] /// Multiply the current matrix by a rotation matrix @@ -112802,18 +65601,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRotated")] - public static - void Rotate(Double angle, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRotated((Double)angle, (Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } + public static extern void Rotate(Double angle, Double x, Double y, Double z); /// [requires: v1.0][deprecated: v3.2] /// Multiply the current matrix by a rotation matrix @@ -112829,18 +65617,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glRotatef")] - public static - void Rotate(Single angle, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRotatef((Single)angle, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void Rotate(Single angle, Single x, Single y, Single z); /// [requires: v1.3] /// Specify multisample coverage parameters @@ -112856,18 +65633,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glSampleCoverage")] - public static - void SampleCoverage(Single value, bool invert) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSampleCoverage((Single)value, (bool)invert); - #if DEBUG - } - #endif - } + public static extern void SampleCoverage(Single value, bool invert); /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Set the value of a sub-word of the sample mask @@ -112883,18 +65649,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glSampleMaski")] - public static - void SampleMask(Int32 index, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSampleMaski((UInt32)index, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void SampleMask(Int32 index, Int32 mask); /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Set the value of a sub-word of the sample mask @@ -112911,18 +65666,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glSampleMaski")] - public static - void SampleMask(UInt32 index, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSampleMaski((UInt32)index, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void SampleMask(UInt32 index, UInt32 mask); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -112948,18 +65692,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterf")] - public static - void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameterf((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Single param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -112986,18 +65719,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterf")] - public static - void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameterf((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Single param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -113023,24 +65745,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterfv")] - public static - void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Single[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* param_ptr = param) - { - Delegates.glSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Single*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Single[] param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -113067,18 +65772,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterfv")] - public static - unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Single* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Single*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Single* param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -113105,24 +65799,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterfv")] - public static - void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Single[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* param_ptr = param) - { - Delegates.glSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Single*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Single[] param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -113149,18 +65826,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterfv")] - public static - unsafe void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Single* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Single*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Single* param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -113186,18 +65852,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameteri")] - public static - void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameteri((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32 param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -113224,196 +65879,50 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameteri")] - public static - void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameteri((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32 param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterIiv")] - public static - void SamplerParameterI(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = param) - { - Delegates.glSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Int32*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SamplerParameterI(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32[] param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterIiv")] - public static - void SamplerParameterI(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, ref Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = ¶m) - { - Delegates.glSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Int32*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SamplerParameterI(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, ref Int32 param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterIiv")] - public static - unsafe void SamplerParameterI(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Int32*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void SamplerParameterI(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32* param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterIiv")] - public static - void SamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = param) - { - Delegates.glSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Int32*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32[] param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterIiv")] - public static - void SamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, ref Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = ¶m) - { - Delegates.glSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Int32*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, ref Int32 param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterIiv")] - public static - unsafe void SamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Int32*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void SamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32* param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterIuiv")] - public static - void SamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, UInt32[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* param_ptr = param) - { - Delegates.glSamplerParameterIuiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (UInt32*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, UInt32[] param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterIuiv")] - public static - void SamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, ref UInt32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* param_ptr = ¶m) - { - Delegates.glSamplerParameterIuiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (UInt32*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, ref UInt32 param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterIuiv")] - public static - unsafe void SamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, UInt32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameterIuiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (UInt32*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void SamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, UInt32* param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -113439,24 +65948,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameteriv")] - public static - void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = param) - { - Delegates.glSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Int32*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32[] param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -113483,18 +65975,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameteriv")] - public static - unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Int32*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32* param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -113521,24 +66002,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameteriv")] - public static - void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = param) - { - Delegates.glSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Int32*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32[] param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -113565,18 +66029,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameteriv")] - public static - unsafe void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Int32*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32* param); /// [requires: v1.0][deprecated: v3.2] /// Multiply the current matrix by a general scaling matrix @@ -113587,18 +66040,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glScaled")] - public static - void Scale(Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glScaled((Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } + public static extern void Scale(Double x, Double y, Double z); /// [requires: v1.0][deprecated: v3.2] /// Multiply the current matrix by a general scaling matrix @@ -113609,18 +66051,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glScalef")] - public static - void Scale(Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glScalef((Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void Scale(Single x, Single y, Single z); /// [requires: v1.0] /// Define the scissor box @@ -113636,18 +66067,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glScissor")] - public static - void Scissor(Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glScissor((Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void Scissor(Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for multiple viewports @@ -113668,24 +66088,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorArrayv")] - public static - void ScissorArray(Int32 first, Int32 count, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glScissorArrayv((UInt32)first, (Int32)count, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ScissorArray(Int32 first, Int32 count, Int32[] v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for multiple viewports @@ -113706,24 +66109,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorArrayv")] - public static - void ScissorArray(Int32 first, Int32 count, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glScissorArrayv((UInt32)first, (Int32)count, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ScissorArray(Int32 first, Int32 count, ref Int32 v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for multiple viewports @@ -113745,18 +66131,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorArrayv")] - public static - unsafe void ScissorArray(Int32 first, Int32 count, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glScissorArrayv((UInt32)first, (Int32)count, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ScissorArray(Int32 first, Int32 count, Int32* v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for multiple viewports @@ -113778,24 +66153,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorArrayv")] - public static - void ScissorArray(UInt32 first, Int32 count, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glScissorArrayv((UInt32)first, (Int32)count, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ScissorArray(UInt32 first, Int32 count, Int32[] v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for multiple viewports @@ -113817,24 +66175,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorArrayv")] - public static - void ScissorArray(UInt32 first, Int32 count, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glScissorArrayv((UInt32)first, (Int32)count, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ScissorArray(UInt32 first, Int32 count, ref Int32 v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for multiple viewports @@ -113856,18 +66197,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorArrayv")] - public static - unsafe void ScissorArray(UInt32 first, Int32 count, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glScissorArrayv((UInt32)first, (Int32)count, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ScissorArray(UInt32 first, Int32 count, Int32* v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for a specific viewport @@ -113893,18 +66223,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorIndexed")] - public static - void ScissorIndexed(Int32 index, Int32 left, Int32 bottom, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glScissorIndexed((UInt32)index, (Int32)left, (Int32)bottom, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void ScissorIndexed(Int32 index, Int32 left, Int32 bottom, Int32 width, Int32 height); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for a specific viewport @@ -113931,18 +66250,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorIndexed")] - public static - void ScissorIndexed(UInt32 index, Int32 left, Int32 bottom, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glScissorIndexed((UInt32)index, (Int32)left, (Int32)bottom, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void ScissorIndexed(UInt32 index, Int32 left, Int32 bottom, Int32 width, Int32 height); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for a specific viewport @@ -113968,24 +66276,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorIndexedv")] - public static - void ScissorIndexed(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glScissorIndexedv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ScissorIndexed(Int32 index, Int32[] v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for a specific viewport @@ -114011,24 +66302,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorIndexedv")] - public static - void ScissorIndexed(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glScissorIndexedv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ScissorIndexed(Int32 index, ref Int32 v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for a specific viewport @@ -114055,18 +66329,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorIndexedv")] - public static - unsafe void ScissorIndexed(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glScissorIndexedv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ScissorIndexed(Int32 index, Int32* v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for a specific viewport @@ -114093,24 +66356,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorIndexedv")] - public static - void ScissorIndexed(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glScissorIndexedv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ScissorIndexed(UInt32 index, Int32[] v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for a specific viewport @@ -114137,24 +66383,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorIndexedv")] - public static - void ScissorIndexed(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glScissorIndexedv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ScissorIndexed(UInt32 index, ref Int32 v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for a specific viewport @@ -114181,18 +66410,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorIndexedv")] - public static - unsafe void ScissorIndexed(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glScissorIndexedv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ScissorIndexed(UInt32 index, Int32* v); /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -114204,18 +66422,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3b")] - public static - void SecondaryColor3(SByte red, SByte green, SByte blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3b((SByte)red, (SByte)green, (SByte)blue); - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(SByte red, SByte green, SByte blue); /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -114227,24 +66434,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3bv")] - public static - void SecondaryColor3(SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - Delegates.glSecondaryColor3bv((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(SByte[] v); /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -114256,24 +66446,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3bv")] - public static - void SecondaryColor3(ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - Delegates.glSecondaryColor3bv((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(ref SByte v); /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -114285,18 +66458,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3bv")] - public static - unsafe void SecondaryColor3(SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3bv((SByte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void SecondaryColor3(SByte* v); /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -114307,18 +66469,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3d")] - public static - void SecondaryColor3(Double red, Double green, Double blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3d((Double)red, (Double)green, (Double)blue); - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(Double red, Double green, Double blue); /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -114329,24 +66480,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3dv")] - public static - void SecondaryColor3(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glSecondaryColor3dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(Double[] v); /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -114357,24 +66491,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3dv")] - public static - void SecondaryColor3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glSecondaryColor3dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(ref Double v); /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -114386,18 +66503,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3dv")] - public static - unsafe void SecondaryColor3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3dv((Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void SecondaryColor3(Double* v); /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -114408,18 +66514,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3f")] - public static - void SecondaryColor3(Single red, Single green, Single blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3f((Single)red, (Single)green, (Single)blue); - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(Single red, Single green, Single blue); /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -114430,24 +66525,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3fv")] - public static - void SecondaryColor3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glSecondaryColor3fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(Single[] v); /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -114458,24 +66536,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3fv")] - public static - void SecondaryColor3(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glSecondaryColor3fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(ref Single v); /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -114487,18 +66548,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3fv")] - public static - unsafe void SecondaryColor3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3fv((Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void SecondaryColor3(Single* v); /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -114509,18 +66559,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3i")] - public static - void SecondaryColor3(Int32 red, Int32 green, Int32 blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3i((Int32)red, (Int32)green, (Int32)blue); - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(Int32 red, Int32 green, Int32 blue); /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -114531,24 +66570,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3iv")] - public static - void SecondaryColor3(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glSecondaryColor3iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(Int32[] v); /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -114559,24 +66581,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3iv")] - public static - void SecondaryColor3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glSecondaryColor3iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(ref Int32 v); /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -114588,18 +66593,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3iv")] - public static - unsafe void SecondaryColor3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3iv((Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void SecondaryColor3(Int32* v); /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -114610,18 +66604,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3s")] - public static - void SecondaryColor3(Int16 red, Int16 green, Int16 blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3s((Int16)red, (Int16)green, (Int16)blue); - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(Int16 red, Int16 green, Int16 blue); /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -114632,24 +66615,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3sv")] - public static - void SecondaryColor3(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glSecondaryColor3sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(Int16[] v); /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -114660,24 +66626,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3sv")] - public static - void SecondaryColor3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glSecondaryColor3sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(ref Int16 v); /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -114689,18 +66638,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3sv")] - public static - unsafe void SecondaryColor3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3sv((Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void SecondaryColor3(Int16* v); /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -114711,18 +66649,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3ub")] - public static - void SecondaryColor3(Byte red, Byte green, Byte blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3ub((Byte)red, (Byte)green, (Byte)blue); - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(Byte red, Byte green, Byte blue); /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -114733,24 +66660,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3ubv")] - public static - void SecondaryColor3(Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glSecondaryColor3ubv((Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(Byte[] v); /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -114761,24 +66671,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3ubv")] - public static - void SecondaryColor3(ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glSecondaryColor3ubv((Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(ref Byte v); /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -114790,18 +66683,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3ubv")] - public static - unsafe void SecondaryColor3(Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3ubv((Byte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void SecondaryColor3(Byte* v); /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -114813,18 +66695,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3ui")] - public static - void SecondaryColor3(UInt32 red, UInt32 green, UInt32 blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3ui((UInt32)red, (UInt32)green, (UInt32)blue); - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(UInt32 red, UInt32 green, UInt32 blue); /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -114836,24 +66707,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3uiv")] - public static - void SecondaryColor3(UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glSecondaryColor3uiv((UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(UInt32[] v); /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -114865,24 +66719,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3uiv")] - public static - void SecondaryColor3(ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - Delegates.glSecondaryColor3uiv((UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(ref UInt32 v); /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -114894,18 +66731,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3uiv")] - public static - unsafe void SecondaryColor3(UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3uiv((UInt32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void SecondaryColor3(UInt32* v); /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -114917,18 +66743,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3us")] - public static - void SecondaryColor3(UInt16 red, UInt16 green, UInt16 blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3us((UInt16)red, (UInt16)green, (UInt16)blue); - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(UInt16 red, UInt16 green, UInt16 blue); /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -114940,24 +66755,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3usv")] - public static - void SecondaryColor3(UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - Delegates.glSecondaryColor3usv((UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(UInt16[] v); /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -114969,24 +66767,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3usv")] - public static - void SecondaryColor3(ref UInt16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = &v) - { - Delegates.glSecondaryColor3usv((UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(ref UInt16 v); /// [requires: v1.4][deprecated: v3.2] /// Set the current secondary color @@ -114998,81 +66779,26 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColor3usv")] - public static - unsafe void SecondaryColor3(UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3usv((UInt16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void SecondaryColor3(UInt16* v); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glSecondaryColorP3ui")] - public static - void SecondaryColorP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColorP3ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)color); - #if DEBUG - } - #endif - } + public static extern void SecondaryColorP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 color); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glSecondaryColorP3ui")] - public static - void SecondaryColorP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColorP3ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)color); - #if DEBUG - } - #endif - } + public static extern void SecondaryColorP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 color); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glSecondaryColorP3uiv")] - public static - unsafe void SecondaryColorP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColorP3uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)color); - #if DEBUG - } - #endif - } + public static extern unsafe void SecondaryColorP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* color); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glSecondaryColorP3uiv")] - public static - unsafe void SecondaryColorP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColorP3uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)color); - #if DEBUG - } - #endif - } + public static extern unsafe void SecondaryColorP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* color); /// [requires: v1.4][deprecated: v3.2] /// Define an array of secondary colors @@ -115098,18 +66824,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] - public static - void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer); /// [requires: v1.4][deprecated: v3.2] /// Define an array of secondary colors @@ -115135,27 +66850,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] - public static - void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) + public static extern void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4][deprecated: v3.2] /// Define an array of secondary colors @@ -115181,27 +66878,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] - public static - void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) + public static extern void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4][deprecated: v3.2] /// Define an array of secondary colors @@ -115227,27 +66906,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] - public static - void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) + public static extern void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4][deprecated: v3.2] /// Define an array of secondary colors @@ -115273,28 +66934,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] - public static - void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) + public static extern void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0][deprecated: v3.2] /// Establish a buffer for selection mode values @@ -115310,24 +66952,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glSelectBuffer")] - public static - void SelectBuffer(Int32 size, [OutAttribute] Int32[] buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffer_ptr = buffer) - { - Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SelectBuffer(Int32 size, [OutAttribute] Int32[] buffer); /// [requires: v1.0][deprecated: v3.2] /// Establish a buffer for selection mode values @@ -115343,25 +66968,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glSelectBuffer")] - public static - void SelectBuffer(Int32 size, [OutAttribute] out Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffer_ptr = &buffer) - { - Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer_ptr); - buffer = *buffer_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void SelectBuffer(Int32 size, [OutAttribute] out Int32 buffer); /// [requires: v1.0][deprecated: v3.2] /// Establish a buffer for selection mode values @@ -115378,18 +66985,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glSelectBuffer")] - public static - unsafe void SelectBuffer(Int32 size, [OutAttribute] Int32* buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer); - #if DEBUG - } - #endif - } + public static extern unsafe void SelectBuffer(Int32 size, [OutAttribute] Int32* buffer); /// [requires: v1.0][deprecated: v3.2] /// Establish a buffer for selection mode values @@ -115406,24 +67002,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glSelectBuffer")] - public static - void SelectBuffer(Int32 size, [OutAttribute] UInt32[] buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffer_ptr = buffer) - { - Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SelectBuffer(Int32 size, [OutAttribute] UInt32[] buffer); /// [requires: v1.0][deprecated: v3.2] /// Establish a buffer for selection mode values @@ -115440,25 +67019,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glSelectBuffer")] - public static - void SelectBuffer(Int32 size, [OutAttribute] out UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffer_ptr = &buffer) - { - Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer_ptr); - buffer = *buffer_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void SelectBuffer(Int32 size, [OutAttribute] out UInt32 buffer); /// [requires: v1.0][deprecated: v3.2] /// Establish a buffer for selection mode values @@ -115475,18 +67036,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glSelectBuffer")] - public static - unsafe void SelectBuffer(Int32 size, [OutAttribute] UInt32* buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer); - #if DEBUG - } - #endif - } + public static extern unsafe void SelectBuffer(Int32 size, [OutAttribute] UInt32* buffer); /// /// Define a separable two-dimensional convolution filter @@ -115532,18 +67082,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glSeparableFilter2D")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, IntPtr column) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSeparableFilter2D((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column); - #if DEBUG - } - #endif - } + public static extern void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, IntPtr column); /// /// Define a separable two-dimensional convolution filter @@ -115589,30 +67128,10 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glSeparableFilter2D")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] row, [InAttribute, OutAttribute] T7[] column) + public static extern void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] row, [InAttribute, OutAttribute] T7[] column) where T6 : struct where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2D((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Define a separable two-dimensional convolution filter @@ -115658,30 +67177,10 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glSeparableFilter2D")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] row, [InAttribute, OutAttribute] T7[,] column) + public static extern void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] row, [InAttribute, OutAttribute] T7[,] column) where T6 : struct where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2D((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Define a separable two-dimensional convolution filter @@ -115727,30 +67226,10 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glSeparableFilter2D")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,,] row, [InAttribute, OutAttribute] T7[,,] column) + public static extern void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,,] row, [InAttribute, OutAttribute] T7[,,] column) where T6 : struct where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2D((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Define a separable two-dimensional convolution filter @@ -115796,32 +67275,10 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glSeparableFilter2D")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 row, [InAttribute, OutAttribute] ref T7 column) + public static extern void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 row, [InAttribute, OutAttribute] ref T7 column) where T6 : struct where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2D((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); - row = (T6)row_ptr.Target; - column = (T7)column_ptr.Target; - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0][deprecated: v3.2] /// Select flat or smooth shading @@ -115832,18 +67289,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glShadeModel")] - public static - void ShadeModel(OpenTK.Graphics.OpenGL.ShadingModel mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShadeModel((OpenTK.Graphics.OpenGL.ShadingModel)mode); - #if DEBUG - } - #endif - } + public static extern void ShadeModel(OpenTK.Graphics.OpenGL.ShadingModel mode); /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -115874,24 +67320,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = shaders) - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, IntPtr binary, Int32 length); /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -115922,33 +67351,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -115979,33 +67384,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -116036,33 +67417,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -116093,34 +67450,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -116151,24 +67483,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = &shaders) - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, IntPtr binary, Int32 length); /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -116199,33 +67514,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -116256,33 +67547,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -116313,33 +67580,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -116370,34 +67613,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -116429,18 +67647,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - #if DEBUG - } - #endif - } + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, IntPtr binary, Int32 length); /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -116472,27 +67679,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -116524,27 +67713,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -116576,27 +67747,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -116628,28 +67781,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -116681,24 +67815,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = shaders) - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, IntPtr binary, Int32 length); /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -116730,33 +67847,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -116788,33 +67881,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -116846,33 +67915,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -116904,34 +67949,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -116963,24 +67983,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = &shaders) - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, IntPtr binary, Int32 length); /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -117012,33 +68015,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -117070,33 +68049,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -117128,33 +68083,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -117186,34 +68117,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -117245,18 +68151,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - #if DEBUG - } - #endif - } + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, IntPtr binary, Int32 length); /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -117288,27 +68183,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -117340,27 +68217,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -117392,27 +68251,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -117444,28 +68285,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0] /// Replaces the source code in a shader object @@ -117491,24 +68313,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static - void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32[] length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32[] length); /// [requires: v2.0] /// Replaces the source code in a shader object @@ -117534,24 +68339,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static - void ShaderSource(Int32 shader, Int32 count, String[] @string, ref Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderSource(Int32 shader, Int32 count, String[] @string, ref Int32 length); /// [requires: v2.0] /// Replaces the source code in a shader object @@ -117578,18 +68366,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static - unsafe void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length); - #if DEBUG - } - #endif - } + public static extern unsafe void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32* length); /// [requires: v2.0] /// Replaces the source code in a shader object @@ -117616,24 +68393,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static - void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32[] length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32[] length); /// [requires: v2.0] /// Replaces the source code in a shader object @@ -117660,24 +68420,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static - void ShaderSource(UInt32 shader, Int32 count, String[] @string, ref Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderSource(UInt32 shader, Int32 count, String[] @string, ref Int32 length); /// [requires: v2.0] /// Replaces the source code in a shader object @@ -117704,18 +68447,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static - unsafe void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length); - #if DEBUG - } - #endif - } + public static extern unsafe void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length); /// [requires: v4.3 and ARB_shader_storage_buffer_object|VERSION_4_3] /// Change an active shader storage block binding @@ -117736,18 +68468,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_storage_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glShaderStorageBlockBinding")] - public static - void ShaderStorageBlockBinding(Int32 program, Int32 storageBlockIndex, Int32 storageBlockBinding) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderStorageBlockBinding((UInt32)program, (UInt32)storageBlockIndex, (UInt32)storageBlockBinding); - #if DEBUG - } - #endif - } + public static extern void ShaderStorageBlockBinding(Int32 program, Int32 storageBlockIndex, Int32 storageBlockBinding); /// [requires: v4.3 and ARB_shader_storage_buffer_object|VERSION_4_3] /// Change an active shader storage block binding @@ -117769,18 +68490,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_storage_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glShaderStorageBlockBinding")] - public static - void ShaderStorageBlockBinding(UInt32 program, UInt32 storageBlockIndex, UInt32 storageBlockBinding) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderStorageBlockBinding((UInt32)program, (UInt32)storageBlockIndex, (UInt32)storageBlockBinding); - #if DEBUG - } - #endif - } + public static extern void ShaderStorageBlockBinding(UInt32 program, UInt32 storageBlockIndex, UInt32 storageBlockBinding); /// [requires: v1.0] /// Set front and back function and reference value for stencil testing @@ -117801,18 +68511,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glStencilFunc")] - public static - void StencilFunc(OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFunc((OpenTK.Graphics.OpenGL.StencilFunction)func, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilFunc(OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, Int32 mask); /// [requires: v1.0] /// Set front and back function and reference value for stencil testing @@ -117834,18 +68533,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glStencilFunc")] - public static - void StencilFunc(OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFunc((OpenTK.Graphics.OpenGL.StencilFunction)func, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilFunc(OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask); /// [requires: v2.0] /// Set front and/or back function and reference value for stencil testing @@ -117871,18 +68559,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] - public static - void StencilFuncSeparate(OpenTK.Graphics.OpenGL.StencilFace face, OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFuncSeparate((OpenTK.Graphics.OpenGL.StencilFace)face, (OpenTK.Graphics.OpenGL.StencilFunction)func, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilFuncSeparate(OpenTK.Graphics.OpenGL.StencilFace face, OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, Int32 mask); /// [requires: v2.0] /// Set front and/or back function and reference value for stencil testing @@ -117909,18 +68586,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] - public static - void StencilFuncSeparate(OpenTK.Graphics.OpenGL.StencilFace face, OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFuncSeparate((OpenTK.Graphics.OpenGL.StencilFace)face, (OpenTK.Graphics.OpenGL.StencilFunction)func, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilFuncSeparate(OpenTK.Graphics.OpenGL.StencilFace face, OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask); /// [requires: v1.0] /// Control the front and back writing of individual bits in the stencil planes @@ -117931,18 +68597,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glStencilMask")] - public static - void StencilMask(Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilMask((UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilMask(Int32 mask); /// [requires: v1.0] /// Control the front and back writing of individual bits in the stencil planes @@ -117954,18 +68609,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glStencilMask")] - public static - void StencilMask(UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilMask((UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilMask(UInt32 mask); /// [requires: v2.0] /// Control the front and/or back writing of individual bits in the stencil planes @@ -117981,18 +68625,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] - public static - void StencilMaskSeparate(OpenTK.Graphics.OpenGL.StencilFace face, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilMaskSeparate((OpenTK.Graphics.OpenGL.StencilFace)face, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilMaskSeparate(OpenTK.Graphics.OpenGL.StencilFace face, Int32 mask); /// [requires: v2.0] /// Control the front and/or back writing of individual bits in the stencil planes @@ -118009,18 +68642,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] - public static - void StencilMaskSeparate(OpenTK.Graphics.OpenGL.StencilFace face, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilMaskSeparate((OpenTK.Graphics.OpenGL.StencilFace)face, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilMaskSeparate(OpenTK.Graphics.OpenGL.StencilFace face, UInt32 mask); /// [requires: v1.0] /// Set front and back stencil test actions @@ -118041,18 +68663,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glStencilOp")] - public static - void StencilOp(OpenTK.Graphics.OpenGL.StencilOp fail, OpenTK.Graphics.OpenGL.StencilOp zfail, OpenTK.Graphics.OpenGL.StencilOp zpass) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilOp((OpenTK.Graphics.OpenGL.StencilOp)fail, (OpenTK.Graphics.OpenGL.StencilOp)zfail, (OpenTK.Graphics.OpenGL.StencilOp)zpass); - #if DEBUG - } - #endif - } + public static extern void StencilOp(OpenTK.Graphics.OpenGL.StencilOp fail, OpenTK.Graphics.OpenGL.StencilOp zfail, OpenTK.Graphics.OpenGL.StencilOp zpass); /// [requires: v2.0] /// Set front and/or back stencil test actions @@ -118078,18 +68689,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glStencilOpSeparate")] - public static - void StencilOpSeparate(OpenTK.Graphics.OpenGL.StencilFace face, OpenTK.Graphics.OpenGL.StencilOp sfail, OpenTK.Graphics.OpenGL.StencilOp dpfail, OpenTK.Graphics.OpenGL.StencilOp dppass) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilOpSeparate((OpenTK.Graphics.OpenGL.StencilFace)face, (OpenTK.Graphics.OpenGL.StencilOp)sfail, (OpenTK.Graphics.OpenGL.StencilOp)dpfail, (OpenTK.Graphics.OpenGL.StencilOp)dppass); - #if DEBUG - } - #endif - } + public static extern void StencilOpSeparate(OpenTK.Graphics.OpenGL.StencilFace face, OpenTK.Graphics.OpenGL.StencilOp sfail, OpenTK.Graphics.OpenGL.StencilOp dpfail, OpenTK.Graphics.OpenGL.StencilOp dppass); /// [requires: v3.1] /// Attach the storage for a buffer object to the active buffer texture @@ -118110,18 +68710,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glTexBuffer")] - public static - void TexBuffer(OpenTK.Graphics.OpenGL.TextureBufferTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexBuffer((OpenTK.Graphics.OpenGL.TextureBufferTarget)target, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void TexBuffer(OpenTK.Graphics.OpenGL.TextureBufferTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 buffer); /// [requires: v3.1] /// Attach the storage for a buffer object to the active buffer texture @@ -118143,18 +68732,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glTexBuffer")] - public static - void TexBuffer(OpenTK.Graphics.OpenGL.TextureBufferTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexBuffer((OpenTK.Graphics.OpenGL.TextureBufferTarget)target, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void TexBuffer(OpenTK.Graphics.OpenGL.TextureBufferTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, UInt32 buffer); /// [requires: v4.3 and ARB_texture_buffer_range|VERSION_4_3] /// Bind a range of a buffer's data store to a buffer texture @@ -118185,18 +68763,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_buffer_range|VERSION_4_3", Version = "4.3", EntryPoint = "glTexBufferRange")] - public static - void TexBufferRange(OpenTK.Graphics.OpenGL.TextureBufferTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexBufferRange((OpenTK.Graphics.OpenGL.TextureBufferTarget)target, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } + public static extern void TexBufferRange(OpenTK.Graphics.OpenGL.TextureBufferTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 buffer, IntPtr offset, IntPtr size); /// [requires: v4.3 and ARB_texture_buffer_range|VERSION_4_3] /// Bind a range of a buffer's data store to a buffer texture @@ -118228,18 +68795,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_texture_buffer_range|VERSION_4_3", Version = "4.3", EntryPoint = "glTexBufferRange")] - public static - void TexBufferRange(OpenTK.Graphics.OpenGL.TextureBufferTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, UInt32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexBufferRange((OpenTK.Graphics.OpenGL.TextureBufferTarget)target, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } + public static extern void TexBufferRange(OpenTK.Graphics.OpenGL.TextureBufferTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, UInt32 buffer, IntPtr offset, IntPtr size); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -118250,18 +68806,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord1d")] - public static - void TexCoord1(Double s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord1d((Double)s); - #if DEBUG - } - #endif - } + public static extern void TexCoord1(Double s); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -118273,18 +68818,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord1dv")] - public static - unsafe void TexCoord1(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord1dv((Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord1(Double* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -118295,18 +68829,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord1f")] - public static - void TexCoord1(Single s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord1f((Single)s); - #if DEBUG - } - #endif - } + public static extern void TexCoord1(Single s); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -118318,18 +68841,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord1fv")] - public static - unsafe void TexCoord1(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord1fv((Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord1(Single* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -118340,18 +68852,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord1i")] - public static - void TexCoord1(Int32 s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord1i((Int32)s); - #if DEBUG - } - #endif - } + public static extern void TexCoord1(Int32 s); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -118363,18 +68864,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord1iv")] - public static - unsafe void TexCoord1(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord1iv((Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord1(Int32* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -118385,18 +68875,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord1s")] - public static - void TexCoord1(Int16 s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord1s((Int16)s); - #if DEBUG - } - #endif - } + public static extern void TexCoord1(Int16 s); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -118408,18 +68887,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord1sv")] - public static - unsafe void TexCoord1(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord1sv((Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord1(Int16* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -118430,18 +68898,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord2d")] - public static - void TexCoord2(Double s, Double t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2d((Double)s, (Double)t); - #if DEBUG - } - #endif - } + public static extern void TexCoord2(Double s, Double t); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -118452,24 +68909,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord2dv")] - public static - void TexCoord2(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glTexCoord2dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord2(Double[] v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -118480,24 +68920,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord2dv")] - public static - void TexCoord2(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glTexCoord2dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord2(ref Double v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -118509,18 +68932,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord2dv")] - public static - unsafe void TexCoord2(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2dv((Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord2(Double* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -118531,18 +68943,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord2f")] - public static - void TexCoord2(Single s, Single t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2f((Single)s, (Single)t); - #if DEBUG - } - #endif - } + public static extern void TexCoord2(Single s, Single t); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -118553,24 +68954,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord2fv")] - public static - void TexCoord2(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glTexCoord2fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord2(Single[] v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -118581,24 +68965,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord2fv")] - public static - void TexCoord2(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glTexCoord2fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord2(ref Single v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -118610,18 +68977,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord2fv")] - public static - unsafe void TexCoord2(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2fv((Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord2(Single* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -118632,18 +68988,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord2i")] - public static - void TexCoord2(Int32 s, Int32 t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2i((Int32)s, (Int32)t); - #if DEBUG - } - #endif - } + public static extern void TexCoord2(Int32 s, Int32 t); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -118654,24 +68999,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord2iv")] - public static - void TexCoord2(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glTexCoord2iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord2(Int32[] v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -118682,24 +69010,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord2iv")] - public static - void TexCoord2(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glTexCoord2iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord2(ref Int32 v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -118711,18 +69022,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord2iv")] - public static - unsafe void TexCoord2(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2iv((Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord2(Int32* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -118733,18 +69033,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord2s")] - public static - void TexCoord2(Int16 s, Int16 t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2s((Int16)s, (Int16)t); - #if DEBUG - } - #endif - } + public static extern void TexCoord2(Int16 s, Int16 t); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -118755,24 +69044,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord2sv")] - public static - void TexCoord2(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glTexCoord2sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord2(Int16[] v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -118783,24 +69055,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord2sv")] - public static - void TexCoord2(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glTexCoord2sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord2(ref Int16 v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -118812,18 +69067,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord2sv")] - public static - unsafe void TexCoord2(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2sv((Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord2(Int16* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -118834,18 +69078,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord3d")] - public static - void TexCoord3(Double s, Double t, Double r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord3d((Double)s, (Double)t, (Double)r); - #if DEBUG - } - #endif - } + public static extern void TexCoord3(Double s, Double t, Double r); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -118856,24 +69089,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord3dv")] - public static - void TexCoord3(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glTexCoord3dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord3(Double[] v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -118884,24 +69100,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord3dv")] - public static - void TexCoord3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glTexCoord3dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord3(ref Double v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -118913,18 +69112,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord3dv")] - public static - unsafe void TexCoord3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord3dv((Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord3(Double* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -118935,18 +69123,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord3f")] - public static - void TexCoord3(Single s, Single t, Single r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord3f((Single)s, (Single)t, (Single)r); - #if DEBUG - } - #endif - } + public static extern void TexCoord3(Single s, Single t, Single r); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -118957,24 +69134,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord3fv")] - public static - void TexCoord3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glTexCoord3fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord3(Single[] v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -118985,24 +69145,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord3fv")] - public static - void TexCoord3(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glTexCoord3fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord3(ref Single v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -119014,18 +69157,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord3fv")] - public static - unsafe void TexCoord3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord3fv((Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord3(Single* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -119036,18 +69168,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord3i")] - public static - void TexCoord3(Int32 s, Int32 t, Int32 r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord3i((Int32)s, (Int32)t, (Int32)r); - #if DEBUG - } - #endif - } + public static extern void TexCoord3(Int32 s, Int32 t, Int32 r); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -119058,24 +69179,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord3iv")] - public static - void TexCoord3(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glTexCoord3iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord3(Int32[] v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -119086,24 +69190,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord3iv")] - public static - void TexCoord3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glTexCoord3iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord3(ref Int32 v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -119115,18 +69202,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord3iv")] - public static - unsafe void TexCoord3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord3iv((Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord3(Int32* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -119137,18 +69213,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord3s")] - public static - void TexCoord3(Int16 s, Int16 t, Int16 r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord3s((Int16)s, (Int16)t, (Int16)r); - #if DEBUG - } - #endif - } + public static extern void TexCoord3(Int16 s, Int16 t, Int16 r); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -119159,24 +69224,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord3sv")] - public static - void TexCoord3(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glTexCoord3sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord3(Int16[] v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -119187,24 +69235,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord3sv")] - public static - void TexCoord3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glTexCoord3sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord3(ref Int16 v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -119216,18 +69247,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord3sv")] - public static - unsafe void TexCoord3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord3sv((Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord3(Int16* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -119238,18 +69258,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord4d")] - public static - void TexCoord4(Double s, Double t, Double r, Double q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4d((Double)s, (Double)t, (Double)r, (Double)q); - #if DEBUG - } - #endif - } + public static extern void TexCoord4(Double s, Double t, Double r, Double q); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -119260,24 +69269,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord4dv")] - public static - void TexCoord4(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glTexCoord4dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord4(Double[] v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -119288,24 +69280,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord4dv")] - public static - void TexCoord4(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glTexCoord4dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord4(ref Double v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -119317,18 +69292,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord4dv")] - public static - unsafe void TexCoord4(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4dv((Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord4(Double* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -119339,18 +69303,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord4f")] - public static - void TexCoord4(Single s, Single t, Single r, Single q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4f((Single)s, (Single)t, (Single)r, (Single)q); - #if DEBUG - } - #endif - } + public static extern void TexCoord4(Single s, Single t, Single r, Single q); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -119361,24 +69314,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord4fv")] - public static - void TexCoord4(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glTexCoord4fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord4(Single[] v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -119389,24 +69325,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord4fv")] - public static - void TexCoord4(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glTexCoord4fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord4(ref Single v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -119418,18 +69337,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord4fv")] - public static - unsafe void TexCoord4(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4fv((Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord4(Single* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -119440,18 +69348,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord4i")] - public static - void TexCoord4(Int32 s, Int32 t, Int32 r, Int32 q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4i((Int32)s, (Int32)t, (Int32)r, (Int32)q); - #if DEBUG - } - #endif - } + public static extern void TexCoord4(Int32 s, Int32 t, Int32 r, Int32 q); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -119462,24 +69359,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord4iv")] - public static - void TexCoord4(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glTexCoord4iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord4(Int32[] v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -119490,24 +69370,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord4iv")] - public static - void TexCoord4(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glTexCoord4iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord4(ref Int32 v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -119519,18 +69382,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord4iv")] - public static - unsafe void TexCoord4(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4iv((Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord4(Int32* v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -119541,18 +69393,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord4s")] - public static - void TexCoord4(Int16 s, Int16 t, Int16 r, Int16 q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4s((Int16)s, (Int16)t, (Int16)r, (Int16)q); - #if DEBUG - } - #endif - } + public static extern void TexCoord4(Int16 s, Int16 t, Int16 r, Int16 q); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -119563,24 +69404,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord4sv")] - public static - void TexCoord4(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glTexCoord4sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord4(Int16[] v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -119591,24 +69415,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord4sv")] - public static - void TexCoord4(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glTexCoord4sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord4(ref Int16 v); /// [requires: v1.0][deprecated: v3.2] /// Set the current texture coordinates @@ -119620,270 +69427,83 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexCoord4sv")] - public static - unsafe void TexCoord4(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4sv((Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord4(Int16* v); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glTexCoordP1ui")] - public static - void TexCoordP1(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordP1ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void TexCoordP1(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glTexCoordP1ui")] - public static - void TexCoordP1(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordP1ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void TexCoordP1(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glTexCoordP1uiv")] - public static - unsafe void TexCoordP1(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordP1uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoordP1(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glTexCoordP1uiv")] - public static - unsafe void TexCoordP1(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordP1uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoordP1(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glTexCoordP2ui")] - public static - void TexCoordP2(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordP2ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void TexCoordP2(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glTexCoordP2ui")] - public static - void TexCoordP2(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordP2ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void TexCoordP2(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glTexCoordP2uiv")] - public static - unsafe void TexCoordP2(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordP2uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoordP2(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glTexCoordP2uiv")] - public static - unsafe void TexCoordP2(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordP2uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoordP2(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glTexCoordP3ui")] - public static - void TexCoordP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordP3ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void TexCoordP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glTexCoordP3ui")] - public static - void TexCoordP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordP3ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void TexCoordP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glTexCoordP3uiv")] - public static - unsafe void TexCoordP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordP3uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoordP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glTexCoordP3uiv")] - public static - unsafe void TexCoordP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordP3uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoordP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glTexCoordP4ui")] - public static - void TexCoordP4(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordP4ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void TexCoordP4(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glTexCoordP4ui")] - public static - void TexCoordP4(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordP4ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void TexCoordP4(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glTexCoordP4uiv")] - public static - unsafe void TexCoordP4(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordP4uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoordP4(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glTexCoordP4uiv")] - public static - unsafe void TexCoordP4(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordP4uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoordP4(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); /// [requires: v1.1][deprecated: v3.2] /// Define an array of texture coordinates @@ -119909,18 +69529,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexCoordPointer")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer); /// [requires: v1.1][deprecated: v3.2] /// Define an array of texture coordinates @@ -119946,27 +69555,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexCoordPointer")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) + public static extern void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1][deprecated: v3.2] /// Define an array of texture coordinates @@ -119992,27 +69583,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexCoordPointer")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) + public static extern void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1][deprecated: v3.2] /// Define an array of texture coordinates @@ -120038,27 +69611,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexCoordPointer")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) + public static extern void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1][deprecated: v3.2] /// Define an array of texture coordinates @@ -120084,28 +69639,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexCoordPointer")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) + public static extern void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0][deprecated: v3.2] /// Set texture environment parameters @@ -120126,18 +69662,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexEnvf")] - public static - void TexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexEnvf((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void TexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single param); /// [requires: v1.0][deprecated: v3.2] /// Set texture environment parameters @@ -120158,24 +69683,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexEnvfv")] - public static - void TexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glTexEnvfv((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single[] @params); /// [requires: v1.0][deprecated: v3.2] /// Set texture environment parameters @@ -120197,18 +69705,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexEnvfv")] - public static - unsafe void TexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexEnvfv((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single* @params); /// [requires: v1.0][deprecated: v3.2] /// Set texture environment parameters @@ -120229,18 +69726,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexEnvi")] - public static - void TexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexEnvi((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void TexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32 param); /// [requires: v1.0][deprecated: v3.2] /// Set texture environment parameters @@ -120261,24 +69747,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexEnviv")] - public static - void TexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glTexEnviv((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32[] @params); /// [requires: v1.0][deprecated: v3.2] /// Set texture environment parameters @@ -120300,33 +69769,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexEnviv")] - public static - unsafe void TexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexEnviv((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexEnv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32* @params); /// [requires: v1.0][deprecated: v3.2] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexGend")] - public static - void TexGend(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexGend((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double)param); - #if DEBUG - } - #endif - } + public static extern void TexGend(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double param); /// [requires: v1.0][deprecated: v3.2] /// Control the generation of texture coordinates @@ -120347,24 +69794,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexGendv")] - public static - void TexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glTexGendv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double[] @params); /// [requires: v1.0][deprecated: v3.2] /// Control the generation of texture coordinates @@ -120385,24 +69815,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexGendv")] - public static - void TexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, ref Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glTexGendv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, ref Double @params); /// [requires: v1.0][deprecated: v3.2] /// Control the generation of texture coordinates @@ -120424,18 +69837,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexGendv")] - public static - unsafe void TexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexGendv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double* @params); /// [requires: v1.0][deprecated: v3.2] /// Control the generation of texture coordinates @@ -120456,18 +69858,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexGenf")] - public static - void TexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexGenf((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void TexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single param); /// [requires: v1.0][deprecated: v3.2] /// Control the generation of texture coordinates @@ -120488,24 +69879,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexGenfv")] - public static - void TexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glTexGenfv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single[] @params); /// [requires: v1.0][deprecated: v3.2] /// Control the generation of texture coordinates @@ -120527,18 +69901,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexGenfv")] - public static - unsafe void TexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexGenfv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single* @params); /// [requires: v1.0][deprecated: v3.2] /// Control the generation of texture coordinates @@ -120559,18 +69922,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexGeni")] - public static - void TexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexGeni((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void TexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32 param); /// [requires: v1.0][deprecated: v3.2] /// Control the generation of texture coordinates @@ -120591,24 +69943,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexGeniv")] - public static - void TexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glTexGeniv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32[] @params); /// [requires: v1.0][deprecated: v3.2] /// Control the generation of texture coordinates @@ -120630,18 +69965,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexGeniv")] - public static - unsafe void TexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexGeniv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexGen(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32* @params); /// [requires: v1.0] /// Specify a one-dimensional texture image @@ -120687,18 +70011,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage1D")] - public static - void TexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: v1.0] /// Specify a one-dimensional texture image @@ -120744,27 +70057,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage1D")] - public static - void TexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[] pixels) + public static extern void TexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[] pixels) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a one-dimensional texture image @@ -120810,27 +70105,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage1D")] - public static - void TexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[,] pixels) + public static extern void TexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[,] pixels) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a one-dimensional texture image @@ -120876,27 +70153,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage1D")] - public static - void TexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[,,] pixels) + public static extern void TexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[,,] pixels) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a one-dimensional texture image @@ -120942,28 +70201,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage1D")] - public static - void TexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T7 pixels) + public static extern void TexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T7 pixels) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T7)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -121014,18 +70254,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -121076,27 +70305,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[] pixels) + public static extern void TexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -121147,27 +70358,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) + public static extern void TexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -121218,27 +70411,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) + public static extern void TexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -121289,28 +70464,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) + public static extern void TexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T8)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Establish the data storage, format, dimensions, and number of samples of a multisample texture's image @@ -121346,18 +70502,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glTexImage2DMultisample")] - public static - void TexImage2DMultisample(OpenTK.Graphics.OpenGL.TextureTargetMultisample target, Int32 samples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, bool fixedsamplelocations) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage2DMultisample((OpenTK.Graphics.OpenGL.TextureTargetMultisample)target, (Int32)samples, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (bool)fixedsamplelocations); - #if DEBUG - } - #endif - } + public static extern void TexImage2DMultisample(OpenTK.Graphics.OpenGL.TextureTargetMultisample target, Int32 samples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, bool fixedsamplelocations); /// [requires: v1.2] /// Specify a three-dimensional texture image @@ -121413,18 +70558,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexImage3D")] - public static - void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: v1.2] /// Specify a three-dimensional texture image @@ -121480,27 +70614,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexImage3D")] - public static - void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[] pixels) + public static extern void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Specify a three-dimensional texture image @@ -121556,27 +70672,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexImage3D")] - public static - void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) + public static extern void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Specify a three-dimensional texture image @@ -121632,27 +70730,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexImage3D")] - public static - void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) + public static extern void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Specify a three-dimensional texture image @@ -121708,28 +70788,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexImage3D")] - public static - void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) + public static extern void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T9)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Establish the data storage, format, dimensions, and number of samples of a multisample texture's image @@ -121765,18 +70826,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glTexImage3DMultisample")] - public static - void TexImage3DMultisample(OpenTK.Graphics.OpenGL.TextureTargetMultisample target, Int32 samples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage3DMultisample((OpenTK.Graphics.OpenGL.TextureTargetMultisample)target, (Int32)samples, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedsamplelocations); - #if DEBUG - } - #endif - } + public static extern void TexImage3DMultisample(OpenTK.Graphics.OpenGL.TextureTargetMultisample target, Int32 samples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations); /// [requires: v1.0] /// Set texture parameters @@ -121805,18 +70855,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexParameterf")] - public static - void TexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterf((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void TexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param); /// [requires: v1.0] /// Set texture parameters @@ -121845,24 +70884,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexParameterfv")] - public static - void TexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glTexParameterfv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single[] @params); /// [requires: v1.0] /// Set texture parameters @@ -121892,18 +70914,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexParameterfv")] - public static - unsafe void TexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterfv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params); /// [requires: v1.0] /// Set texture parameters @@ -121932,136 +70943,35 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexParameteri")] - public static - void TexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameteri((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void TexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTexParameterIiv")] - public static - void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glTexParameterIiv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32[] @params); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTexParameterIiv")] - public static - void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glTexParameterIiv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, ref Int32 @params); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTexParameterIiv")] - public static - unsafe void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterIiv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTexParameterIuiv")] - public static - void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glTexParameterIuiv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32[] @params); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTexParameterIuiv")] - public static - void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, ref UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glTexParameterIuiv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, ref UInt32 @params); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTexParameterIuiv")] - public static - unsafe void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterIuiv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params); /// [requires: v1.0] /// Set texture parameters @@ -122090,24 +71000,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexParameteriv")] - public static - void TexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glTexParameteriv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32[] @params); /// [requires: v1.0] /// Set texture parameters @@ -122137,18 +71030,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexParameteriv")] - public static - unsafe void TexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameteriv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexParameter(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); /// [requires: v4.2 and ARB_texture_storage|VERSION_4_2] /// Simultaneously specify storage for all levels of a one-dimensional texture @@ -122174,18 +71056,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_storage|VERSION_4_2", Version = "4.2", EntryPoint = "glTexStorage1D")] - public static - void TexStorage1D(OpenTK.Graphics.OpenGL.TextureTarget1d target, Int32 levels, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexStorage1D((OpenTK.Graphics.OpenGL.TextureTarget1d)target, (Int32)levels, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (Int32)width); - #if DEBUG - } - #endif - } + public static extern void TexStorage1D(OpenTK.Graphics.OpenGL.TextureTarget1d target, Int32 levels, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 width); /// [requires: v4.2 and ARB_texture_storage|VERSION_4_2] /// Simultaneously specify storage for all levels of a two-dimensional or one-dimensional array texture @@ -122216,18 +71087,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_storage|VERSION_4_2", Version = "4.2", EntryPoint = "glTexStorage2D")] - public static - void TexStorage2D(OpenTK.Graphics.OpenGL.TextureTarget2d target, Int32 levels, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexStorage2D((OpenTK.Graphics.OpenGL.TextureTarget2d)target, (Int32)levels, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void TexStorage2D(OpenTK.Graphics.OpenGL.TextureTarget2d target, Int32 levels, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 width, Int32 height); /// [requires: v4.3 and ARB_texture_storage_multisample|VERSION_4_3] /// Specify storage for a two-dimensional multisample texture @@ -122263,18 +71123,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_storage_multisample|VERSION_4_3", Version = "4.3", EntryPoint = "glTexStorage2DMultisample")] - public static - void TexStorage2DMultisample(OpenTK.Graphics.OpenGL.TextureTargetMultisample2d target, Int32 samples, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 width, Int32 height, bool fixedsamplelocations) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexStorage2DMultisample((OpenTK.Graphics.OpenGL.TextureTargetMultisample2d)target, (Int32)samples, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (bool)fixedsamplelocations); - #if DEBUG - } - #endif - } + public static extern void TexStorage2DMultisample(OpenTK.Graphics.OpenGL.TextureTargetMultisample2d target, Int32 samples, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 width, Int32 height, bool fixedsamplelocations); /// [requires: v4.2 and ARB_texture_storage|VERSION_4_2] /// Simultaneously specify storage for all levels of a three-dimensional, two-dimensional array or cube-map array texture @@ -122310,18 +71159,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_storage|VERSION_4_2", Version = "4.2", EntryPoint = "glTexStorage3D")] - public static - void TexStorage3D(OpenTK.Graphics.OpenGL.TextureTarget3d target, Int32 levels, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexStorage3D((OpenTK.Graphics.OpenGL.TextureTarget3d)target, (Int32)levels, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth); - #if DEBUG - } - #endif - } + public static extern void TexStorage3D(OpenTK.Graphics.OpenGL.TextureTarget3d target, Int32 levels, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth); /// [requires: v4.3 and ARB_texture_storage_multisample|VERSION_4_3] /// Specify storage for a two-dimensional multisample array texture @@ -122362,18 +71200,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_storage_multisample|VERSION_4_3", Version = "4.3", EntryPoint = "glTexStorage3DMultisample")] - public static - void TexStorage3DMultisample(OpenTK.Graphics.OpenGL.TextureTargetMultisample3d target, Int32 samples, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexStorage3DMultisample((OpenTK.Graphics.OpenGL.TextureTargetMultisample3d)target, (Int32)samples, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedsamplelocations); - #if DEBUG - } - #endif - } + public static extern void TexStorage3DMultisample(OpenTK.Graphics.OpenGL.TextureTargetMultisample3d target, Int32 samples, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations); /// [requires: v1.1] /// Specify a one-dimensional texture subimage @@ -122414,18 +71241,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage1D")] - public static - void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexSubImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: v1.1] /// Specify a one-dimensional texture subimage @@ -122466,27 +71282,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage1D")] - public static - void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] pixels) + public static extern void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1] /// Specify a one-dimensional texture subimage @@ -122527,27 +71325,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage1D")] - public static - void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] pixels) + public static extern void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1] /// Specify a one-dimensional texture subimage @@ -122588,27 +71368,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage1D")] - public static - void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,,] pixels) + public static extern void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,,] pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1] /// Specify a one-dimensional texture subimage @@ -122649,28 +71411,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage1D")] - public static - void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 pixels) + public static extern void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T6)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1] /// Specify a two-dimensional texture subimage @@ -122721,18 +71464,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexSubImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: v1.1] /// Specify a two-dimensional texture subimage @@ -122783,27 +71515,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[] pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1] /// Specify a two-dimensional texture subimage @@ -122854,27 +71568,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1] /// Specify a two-dimensional texture subimage @@ -122925,27 +71621,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1] /// Specify a two-dimensional texture subimage @@ -122996,28 +71674,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T8)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Specify a three-dimensional texture subimage @@ -123078,18 +71737,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexSubImage3D")] - public static - void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexSubImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: v1.2] /// Specify a three-dimensional texture subimage @@ -123150,27 +71798,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexSubImage3D")] - public static - void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[] pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Specify a three-dimensional texture subimage @@ -123231,27 +71861,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexSubImage3D")] - public static - void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,] pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Specify a three-dimensional texture subimage @@ -123312,27 +71924,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexSubImage3D")] - public static - void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,,] pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,,] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Specify a three-dimensional texture subimage @@ -123393,28 +71987,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexSubImage3D")] - public static - void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T10 pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T10 pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T10)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and ARB_texture_view|VERSION_4_3] /// Initialize a texture as a data alias of another texture's data store @@ -123460,18 +72035,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_texture_view|VERSION_4_3", Version = "4.3", EntryPoint = "glTextureView")] - public static - void TextureView(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 origtexture, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 minlevel, Int32 numlevels, Int32 minlayer, Int32 numlayers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureView((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)origtexture, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (UInt32)minlevel, (UInt32)numlevels, (UInt32)minlayer, (UInt32)numlayers); - #if DEBUG - } - #endif - } + public static extern void TextureView(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 origtexture, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 minlevel, Int32 numlevels, Int32 minlayer, Int32 numlayers); /// [requires: v4.3 and ARB_texture_view|VERSION_4_3] /// Initialize a texture as a data alias of another texture's data store @@ -123518,18 +72082,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_texture_view|VERSION_4_3", Version = "4.3", EntryPoint = "glTextureView")] - public static - void TextureView(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 origtexture, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, UInt32 minlevel, UInt32 numlevels, UInt32 minlayer, UInt32 numlayers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureView((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)origtexture, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (UInt32)minlevel, (UInt32)numlevels, (UInt32)minlayer, (UInt32)numlayers); - #if DEBUG - } - #endif - } + public static extern void TextureView(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 origtexture, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, UInt32 minlevel, UInt32 numlevels, UInt32 minlayer, UInt32 numlayers); /// [requires: v3.0] /// Specify values to record in transform feedback buffers @@ -123555,18 +72108,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTransformFeedbackVaryings")] - public static - void TransformFeedbackVaryings(Int32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL.TransformFeedbackMode bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTransformFeedbackVaryings((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.OpenGL.TransformFeedbackMode)bufferMode); - #if DEBUG - } - #endif - } + public static extern void TransformFeedbackVaryings(Int32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL.TransformFeedbackMode bufferMode); /// [requires: v3.0] /// Specify values to record in transform feedback buffers @@ -123593,18 +72135,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTransformFeedbackVaryings")] - public static - void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL.TransformFeedbackMode bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTransformFeedbackVaryings((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.OpenGL.TransformFeedbackMode)bufferMode); - #if DEBUG - } - #endif - } + public static extern void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL.TransformFeedbackMode bufferMode); /// [requires: v1.0][deprecated: v3.2] /// Multiply the current matrix by a translation matrix @@ -123615,18 +72146,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTranslated")] - public static - void Translate(Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTranslated((Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } + public static extern void Translate(Double x, Double y, Double z); /// [requires: v1.0][deprecated: v3.2] /// Multiply the current matrix by a translation matrix @@ -123637,18 +72157,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTranslatef")] - public static - void Translate(Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTranslatef((Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void Translate(Single x, Single y, Single z); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -123682,18 +72191,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform1d")] - public static - void Uniform1(Int32 location, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1d((Int32)location, (Double)x); - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Double x); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -123727,24 +72225,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform1dv")] - public static - void Uniform1(Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glUniform1dv((Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, Double[] value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -123778,24 +72259,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform1dv")] - public static - void Uniform1(Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glUniform1dv((Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, ref Double value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -123830,18 +72294,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform1dv")] - public static - unsafe void Uniform1(Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1dv((Int32)location, (Int32)count, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform1(Int32 location, Int32 count, Double* value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -123875,18 +72328,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1f")] - public static - void Uniform1(Int32 location, Single v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1f((Int32)location, (Single)v0); - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Single v0); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -123920,24 +72362,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1fv")] - public static - void Uniform1(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, Single[] value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -123971,24 +72396,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1fv")] - public static - void Uniform1(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, ref Single value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -124023,18 +72431,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1fv")] - public static - unsafe void Uniform1(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform1(Int32 location, Int32 count, Single* value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -124068,18 +72465,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1i")] - public static - void Uniform1(Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1i((Int32)location, (Int32)v0); - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 v0); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -124113,24 +72499,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1iv")] - public static - void Uniform1(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, Int32[] value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -124164,24 +72533,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1iv")] - public static - void Uniform1(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, ref Int32 value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -124216,18 +72568,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1iv")] - public static - unsafe void Uniform1(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform1(Int32 location, Int32 count, Int32* value); /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -124262,18 +72603,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform1ui")] - public static - void Uniform1(Int32 location, UInt32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1ui((Int32)location, (UInt32)v0); - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, UInt32 v0); /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -124308,24 +72638,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform1uiv")] - public static - void Uniform1(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glUniform1uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, UInt32[] value); /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -124360,24 +72673,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform1uiv")] - public static - void Uniform1(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glUniform1uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, ref UInt32 value); /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -124412,18 +72708,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform1uiv")] - public static - unsafe void Uniform1(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1uiv((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform1(Int32 location, Int32 count, UInt32* value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -124457,18 +72742,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform2d")] - public static - void Uniform2(Int32 location, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2d((Int32)location, (Double)x, (Double)y); - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Double x, Double y); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -124502,24 +72776,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform2dv")] - public static - void Uniform2(Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glUniform2dv((Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 count, Double[] value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -124553,24 +72810,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform2dv")] - public static - void Uniform2(Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glUniform2dv((Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 count, ref Double value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -124605,18 +72845,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform2dv")] - public static - unsafe void Uniform2(Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2dv((Int32)location, (Int32)count, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform2(Int32 location, Int32 count, Double* value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -124650,18 +72879,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2f")] - public static - void Uniform2(Int32 location, Single v0, Single v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2f((Int32)location, (Single)v0, (Single)v1); - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Single v0, Single v1); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -124695,24 +72913,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2fv")] - public static - void Uniform2(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 count, Single[] value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -124746,24 +72947,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2fv")] - public static - void Uniform2(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 count, ref Single value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -124798,18 +72982,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2fv")] - public static - unsafe void Uniform2(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform2(Int32 location, Int32 count, Single* value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -124843,18 +73016,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2i")] - public static - void Uniform2(Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2i((Int32)location, (Int32)v0, (Int32)v1); - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 v0, Int32 v1); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -124888,24 +73050,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2iv")] - public static - void Uniform2(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 count, Int32[] value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -124940,18 +73085,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2iv")] - public static - unsafe void Uniform2(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform2(Int32 location, Int32 count, Int32* value); /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -124986,18 +73120,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform2ui")] - public static - void Uniform2(Int32 location, UInt32 v0, UInt32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2ui((Int32)location, (UInt32)v0, (UInt32)v1); - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, UInt32 v0, UInt32 v1); /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -125032,24 +73155,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform2uiv")] - public static - void Uniform2(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glUniform2uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 count, UInt32[] value); /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -125084,24 +73190,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform2uiv")] - public static - void Uniform2(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glUniform2uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 count, ref UInt32 value); /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -125136,18 +73225,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform2uiv")] - public static - unsafe void Uniform2(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2uiv((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform2(Int32 location, Int32 count, UInt32* value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -125181,18 +73259,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform3d")] - public static - void Uniform3(Int32 location, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3d((Int32)location, (Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Double x, Double y, Double z); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -125226,24 +73293,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform3dv")] - public static - void Uniform3(Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glUniform3dv((Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, Double[] value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -125277,24 +73327,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform3dv")] - public static - void Uniform3(Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glUniform3dv((Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, ref Double value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -125329,18 +73362,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform3dv")] - public static - unsafe void Uniform3(Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3dv((Int32)location, (Int32)count, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform3(Int32 location, Int32 count, Double* value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -125374,18 +73396,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3f")] - public static - void Uniform3(Int32 location, Single v0, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3f((Int32)location, (Single)v0, (Single)v1, (Single)v2); - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Single v0, Single v1, Single v2); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -125419,24 +73430,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3fv")] - public static - void Uniform3(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, Single[] value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -125470,24 +73464,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3fv")] - public static - void Uniform3(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, ref Single value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -125522,18 +73499,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3fv")] - public static - unsafe void Uniform3(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform3(Int32 location, Int32 count, Single* value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -125567,18 +73533,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3i")] - public static - void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -125612,24 +73567,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3iv")] - public static - void Uniform3(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, Int32[] value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -125663,24 +73601,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3iv")] - public static - void Uniform3(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, ref Int32 value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -125715,18 +73636,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3iv")] - public static - unsafe void Uniform3(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform3(Int32 location, Int32 count, Int32* value); /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -125761,18 +73671,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform3ui")] - public static - void Uniform3(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3ui((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -125807,24 +73706,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform3uiv")] - public static - void Uniform3(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glUniform3uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, UInt32[] value); /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -125859,24 +73741,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform3uiv")] - public static - void Uniform3(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glUniform3uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, ref UInt32 value); /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -125911,18 +73776,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform3uiv")] - public static - unsafe void Uniform3(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3uiv((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform3(Int32 location, Int32 count, UInt32* value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -125956,18 +73810,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform4d")] - public static - void Uniform4(Int32 location, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4d((Int32)location, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Double x, Double y, Double z, Double w); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -126001,24 +73844,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform4dv")] - public static - void Uniform4(Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glUniform4dv((Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, Double[] value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -126052,24 +73878,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform4dv")] - public static - void Uniform4(Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glUniform4dv((Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, ref Double value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -126104,18 +73913,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform4dv")] - public static - unsafe void Uniform4(Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4dv((Int32)location, (Int32)count, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform4(Int32 location, Int32 count, Double* value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -126149,18 +73947,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4f")] - public static - void Uniform4(Int32 location, Single v0, Single v1, Single v2, Single v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4f((Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Single v0, Single v1, Single v2, Single v3); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -126194,24 +73981,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4fv")] - public static - void Uniform4(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, Single[] value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -126245,24 +74015,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4fv")] - public static - void Uniform4(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, ref Single value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -126297,18 +74050,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4fv")] - public static - unsafe void Uniform4(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform4(Int32 location, Int32 count, Single* value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -126342,18 +74084,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4i")] - public static - void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -126387,24 +74118,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4iv")] - public static - void Uniform4(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, Int32[] value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -126438,24 +74152,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4iv")] - public static - void Uniform4(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, ref Int32 value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -126490,18 +74187,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4iv")] - public static - unsafe void Uniform4(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform4(Int32 location, Int32 count, Int32* value); /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -126536,18 +74222,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform4ui")] - public static - void Uniform4(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4ui((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -126582,24 +74257,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform4uiv")] - public static - void Uniform4(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glUniform4uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, UInt32[] value); /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -126634,24 +74292,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform4uiv")] - public static - void Uniform4(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glUniform4uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, ref UInt32 value); /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -126686,18 +74327,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform4uiv")] - public static - unsafe void Uniform4(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4uiv((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform4(Int32 location, Int32 count, UInt32* value); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Assign a binding point to an active uniform block @@ -126718,18 +74348,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glUniformBlockBinding")] - public static - void UniformBlockBinding(Int32 program, Int32 uniformBlockIndex, Int32 uniformBlockBinding) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformBlockBinding((UInt32)program, (UInt32)uniformBlockIndex, (UInt32)uniformBlockBinding); - #if DEBUG - } - #endif - } + public static extern void UniformBlockBinding(Int32 program, Int32 uniformBlockIndex, Int32 uniformBlockBinding); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Assign a binding point to an active uniform block @@ -126751,1062 +74370,241 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glUniformBlockBinding")] - public static - void UniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformBlockBinding((UInt32)program, (UInt32)uniformBlockIndex, (UInt32)uniformBlockBinding); - #if DEBUG - } - #endif - } + public static extern void UniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix2dv")] - public static - void UniformMatrix2(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glUniformMatrix2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2(Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix2dv")] - public static - void UniformMatrix2(Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glUniformMatrix2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2(Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix2dv")] - public static - unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] - public static - void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] - public static - void UniformMatrix2(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] - public static - unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix2x3dv")] - public static - void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glUniformMatrix2x3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix2x3dv")] - public static - void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glUniformMatrix2x3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix2x3dv")] - public static - unsafe void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix2x3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix2x3fv")] - public static - void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix2x3fv")] - public static - void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v2.1] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix2x3fv")] - public static - unsafe void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix2x4dv")] - public static - void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glUniformMatrix2x4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix2x4dv")] - public static - void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glUniformMatrix2x4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix2x4dv")] - public static - unsafe void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix2x4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix2x4fv")] - public static - void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix2x4fv")] - public static - void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v2.1] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix2x4fv")] - public static - unsafe void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix3dv")] - public static - void UniformMatrix3(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glUniformMatrix3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3(Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix3dv")] - public static - void UniformMatrix3(Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glUniformMatrix3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3(Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix3dv")] - public static - unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] - public static - void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] - public static - void UniformMatrix3(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] - public static - unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix3x2dv")] - public static - void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glUniformMatrix3x2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix3x2dv")] - public static - void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glUniformMatrix3x2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix3x2dv")] - public static - unsafe void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix3x2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix3x2fv")] - public static - void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix3x2fv")] - public static - void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v2.1] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix3x2fv")] - public static - unsafe void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix3x4dv")] - public static - void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glUniformMatrix3x4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix3x4dv")] - public static - void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glUniformMatrix3x4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix3x4dv")] - public static - unsafe void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix3x4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix3x4fv")] - public static - void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix3x4fv")] - public static - void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v2.1] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix3x4fv")] - public static - unsafe void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix4dv")] - public static - void UniformMatrix4(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glUniformMatrix4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4(Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix4dv")] - public static - void UniformMatrix4(Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glUniformMatrix4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4(Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix4dv")] - public static - unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] - public static - void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] - public static - void UniformMatrix4(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] - public static - unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix4x2dv")] - public static - void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glUniformMatrix4x2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix4x2dv")] - public static - void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glUniformMatrix4x2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix4x2dv")] - public static - unsafe void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix4x2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix4x2fv")] - public static - void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix4x2fv")] - public static - void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v2.1] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix4x2fv")] - public static - unsafe void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix4x3dv")] - public static - void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glUniformMatrix4x3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix4x3dv")] - public static - void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glUniformMatrix4x3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix4x3dv")] - public static - unsafe void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix4x3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix4x3fv")] - public static - void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix4x3fv")] - public static - void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v2.1] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix4x3fv")] - public static - unsafe void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Load active subroutine uniforms @@ -127827,24 +74625,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformSubroutinesuiv")] - public static - void UniformSubroutines(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 count, Int32[] indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* indices_ptr = indices) - { - Delegates.glUniformSubroutinesuiv((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (Int32)count, (UInt32*)indices_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformSubroutines(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 count, Int32[] indices); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Load active subroutine uniforms @@ -127865,24 +74646,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformSubroutinesuiv")] - public static - void UniformSubroutines(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 count, ref Int32 indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* indices_ptr = &indices) - { - Delegates.glUniformSubroutinesuiv((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (Int32)count, (UInt32*)indices_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformSubroutines(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 count, ref Int32 indices); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Load active subroutine uniforms @@ -127904,18 +74668,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformSubroutinesuiv")] - public static - unsafe void UniformSubroutines(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 count, Int32* indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformSubroutinesuiv((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (Int32)count, (UInt32*)indices); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformSubroutines(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 count, Int32* indices); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Load active subroutine uniforms @@ -127937,24 +74690,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformSubroutinesuiv")] - public static - void UniformSubroutines(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 count, UInt32[] indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* indices_ptr = indices) - { - Delegates.glUniformSubroutinesuiv((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (Int32)count, (UInt32*)indices_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformSubroutines(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 count, UInt32[] indices); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Load active subroutine uniforms @@ -127976,24 +74712,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformSubroutinesuiv")] - public static - void UniformSubroutines(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 count, ref UInt32 indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* indices_ptr = &indices) - { - Delegates.glUniformSubroutinesuiv((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (Int32)count, (UInt32*)indices_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformSubroutines(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 count, ref UInt32 indices); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Load active subroutine uniforms @@ -128015,33 +74734,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformSubroutinesuiv")] - public static - unsafe void UniformSubroutines(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 count, UInt32* indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformSubroutinesuiv((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (Int32)count, (UInt32*)indices); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformSubroutines(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 count, UInt32* indices); /// [requires: v1.5] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glUnmapBuffer")] - public static - bool UnmapBuffer(OpenTK.Graphics.OpenGL.BufferTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glUnmapBuffer((OpenTK.Graphics.OpenGL.BufferTarget)target); - #if DEBUG - } - #endif - } + public static extern bool UnmapBuffer(OpenTK.Graphics.OpenGL.BufferTarget target); /// [requires: v2.0] /// Installs a program object as part of current rendering state @@ -128052,18 +74749,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUseProgram")] - public static - void UseProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUseProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void UseProgram(Int32 program); /// [requires: v2.0] /// Installs a program object as part of current rendering state @@ -128075,18 +74761,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUseProgram")] - public static - void UseProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUseProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void UseProgram(UInt32 program); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Bind stages of a program object to a program pipeline @@ -128107,18 +74782,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glUseProgramStages")] - public static - void UseProgramStages(Int32 pipeline, OpenTK.Graphics.OpenGL.ProgramStageMask stages, Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUseProgramStages((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ProgramStageMask)stages, (UInt32)program); - #if DEBUG - } - #endif - } + public static extern void UseProgramStages(Int32 pipeline, OpenTK.Graphics.OpenGL.ProgramStageMask stages, Int32 program); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Bind stages of a program object to a program pipeline @@ -128140,18 +74804,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glUseProgramStages")] - public static - void UseProgramStages(UInt32 pipeline, OpenTK.Graphics.OpenGL.ProgramStageMask stages, UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUseProgramStages((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ProgramStageMask)stages, (UInt32)program); - #if DEBUG - } - #endif - } + public static extern void UseProgramStages(UInt32 pipeline, OpenTK.Graphics.OpenGL.ProgramStageMask stages, UInt32 program); /// [requires: v2.0] /// Validates a program object @@ -128162,18 +74815,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glValidateProgram")] - public static - void ValidateProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glValidateProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void ValidateProgram(Int32 program); /// [requires: v2.0] /// Validates a program object @@ -128185,18 +74827,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glValidateProgram")] - public static - void ValidateProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glValidateProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void ValidateProgram(UInt32 program); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Validate a program pipeline object against current GL state @@ -128207,18 +74838,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glValidateProgramPipeline")] - public static - void ValidateProgramPipeline(Int32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glValidateProgramPipeline((UInt32)pipeline); - #if DEBUG - } - #endif - } + public static extern void ValidateProgramPipeline(Int32 pipeline); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Validate a program pipeline object against current GL state @@ -128230,18 +74850,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glValidateProgramPipeline")] - public static - void ValidateProgramPipeline(UInt32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glValidateProgramPipeline((UInt32)pipeline); - #if DEBUG - } - #endif - } + public static extern void ValidateProgramPipeline(UInt32 pipeline); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -128252,18 +74861,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex2d")] - public static - void Vertex2(Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2d((Double)x, (Double)y); - #if DEBUG - } - #endif - } + public static extern void Vertex2(Double x, Double y); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -128274,24 +74872,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex2dv")] - public static - void Vertex2(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertex2dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex2(Double[] v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -128302,24 +74883,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex2dv")] - public static - void Vertex2(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertex2dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex2(ref Double v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -128331,18 +74895,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex2dv")] - public static - unsafe void Vertex2(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2dv((Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Vertex2(Double* v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -128353,18 +74906,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex2f")] - public static - void Vertex2(Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2f((Single)x, (Single)y); - #if DEBUG - } - #endif - } + public static extern void Vertex2(Single x, Single y); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -128375,24 +74917,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex2fv")] - public static - void Vertex2(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertex2fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex2(Single[] v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -128403,24 +74928,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex2fv")] - public static - void Vertex2(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertex2fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex2(ref Single v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -128432,18 +74940,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex2fv")] - public static - unsafe void Vertex2(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2fv((Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Vertex2(Single* v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -128454,18 +74951,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex2i")] - public static - void Vertex2(Int32 x, Int32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2i((Int32)x, (Int32)y); - #if DEBUG - } - #endif - } + public static extern void Vertex2(Int32 x, Int32 y); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -128476,24 +74962,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex2iv")] - public static - void Vertex2(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertex2iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex2(Int32[] v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -128504,24 +74973,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex2iv")] - public static - void Vertex2(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertex2iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex2(ref Int32 v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -128533,18 +74985,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex2iv")] - public static - unsafe void Vertex2(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2iv((Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Vertex2(Int32* v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -128555,18 +74996,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex2s")] - public static - void Vertex2(Int16 x, Int16 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2s((Int16)x, (Int16)y); - #if DEBUG - } - #endif - } + public static extern void Vertex2(Int16 x, Int16 y); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -128577,24 +75007,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex2sv")] - public static - void Vertex2(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertex2sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex2(Int16[] v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -128605,24 +75018,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex2sv")] - public static - void Vertex2(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertex2sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex2(ref Int16 v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -128634,18 +75030,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex2sv")] - public static - unsafe void Vertex2(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2sv((Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Vertex2(Int16* v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -128656,18 +75041,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex3d")] - public static - void Vertex3(Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3d((Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } + public static extern void Vertex3(Double x, Double y, Double z); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -128678,24 +75052,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex3dv")] - public static - void Vertex3(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertex3dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex3(Double[] v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -128706,24 +75063,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex3dv")] - public static - void Vertex3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertex3dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex3(ref Double v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -128735,18 +75075,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex3dv")] - public static - unsafe void Vertex3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3dv((Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Vertex3(Double* v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -128757,18 +75086,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex3f")] - public static - void Vertex3(Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3f((Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void Vertex3(Single x, Single y, Single z); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -128779,24 +75097,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex3fv")] - public static - void Vertex3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertex3fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex3(Single[] v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -128807,24 +75108,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex3fv")] - public static - void Vertex3(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertex3fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex3(ref Single v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -128836,18 +75120,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex3fv")] - public static - unsafe void Vertex3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3fv((Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Vertex3(Single* v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -128858,18 +75131,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex3i")] - public static - void Vertex3(Int32 x, Int32 y, Int32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3i((Int32)x, (Int32)y, (Int32)z); - #if DEBUG - } - #endif - } + public static extern void Vertex3(Int32 x, Int32 y, Int32 z); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -128880,24 +75142,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex3iv")] - public static - void Vertex3(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertex3iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex3(Int32[] v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -128908,24 +75153,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex3iv")] - public static - void Vertex3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertex3iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex3(ref Int32 v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -128937,18 +75165,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex3iv")] - public static - unsafe void Vertex3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3iv((Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Vertex3(Int32* v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -128959,18 +75176,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex3s")] - public static - void Vertex3(Int16 x, Int16 y, Int16 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3s((Int16)x, (Int16)y, (Int16)z); - #if DEBUG - } - #endif - } + public static extern void Vertex3(Int16 x, Int16 y, Int16 z); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -128981,24 +75187,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex3sv")] - public static - void Vertex3(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertex3sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex3(Int16[] v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -129009,24 +75198,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex3sv")] - public static - void Vertex3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertex3sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex3(ref Int16 v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -129038,18 +75210,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex3sv")] - public static - unsafe void Vertex3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3sv((Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Vertex3(Int16* v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -129060,18 +75221,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex4d")] - public static - void Vertex4(Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4d((Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } + public static extern void Vertex4(Double x, Double y, Double z, Double w); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -129082,24 +75232,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex4dv")] - public static - void Vertex4(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertex4dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex4(Double[] v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -129110,24 +75243,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex4dv")] - public static - void Vertex4(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertex4dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex4(ref Double v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -129139,18 +75255,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex4dv")] - public static - unsafe void Vertex4(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4dv((Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Vertex4(Double* v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -129161,18 +75266,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex4f")] - public static - void Vertex4(Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4f((Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } + public static extern void Vertex4(Single x, Single y, Single z, Single w); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -129183,24 +75277,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex4fv")] - public static - void Vertex4(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertex4fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex4(Single[] v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -129211,24 +75288,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex4fv")] - public static - void Vertex4(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertex4fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex4(ref Single v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -129240,18 +75300,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex4fv")] - public static - unsafe void Vertex4(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4fv((Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Vertex4(Single* v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -129262,18 +75311,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex4i")] - public static - void Vertex4(Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4i((Int32)x, (Int32)y, (Int32)z, (Int32)w); - #if DEBUG - } - #endif - } + public static extern void Vertex4(Int32 x, Int32 y, Int32 z, Int32 w); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -129284,24 +75322,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex4iv")] - public static - void Vertex4(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertex4iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex4(Int32[] v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -129312,24 +75333,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex4iv")] - public static - void Vertex4(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertex4iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex4(ref Int32 v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -129341,18 +75345,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex4iv")] - public static - unsafe void Vertex4(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4iv((Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Vertex4(Int32* v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -129363,18 +75356,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex4s")] - public static - void Vertex4(Int16 x, Int16 y, Int16 z, Int16 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4s((Int16)x, (Int16)y, (Int16)z, (Int16)w); - #if DEBUG - } - #endif - } + public static extern void Vertex4(Int16 x, Int16 y, Int16 z, Int16 w); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -129385,24 +75367,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex4sv")] - public static - void Vertex4(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertex4sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex4(Int16[] v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -129413,24 +75378,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex4sv")] - public static - void Vertex4(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertex4sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex4(ref Int16 v); /// [requires: v1.0][deprecated: v3.2] /// Specify a vertex @@ -129442,18 +75390,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glVertex4sv")] - public static - unsafe void Vertex4(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4sv((Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Vertex4(Int16* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -129489,18 +75426,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1d")] - public static - void VertexAttrib1(Int32 index, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1d((UInt32)index, (Double)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib1(Int32 index, Double x); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -129537,18 +75463,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1d")] - public static - void VertexAttrib1(UInt32 index, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1d((UInt32)index, (Double)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib1(UInt32 index, Double x); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -129585,18 +75500,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1dv")] - public static - unsafe void VertexAttrib1(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib1(Int32 index, Double* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -129633,18 +75537,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1dv")] - public static - unsafe void VertexAttrib1(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib1(UInt32 index, Double* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -129680,18 +75573,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1f")] - public static - void VertexAttrib1(Int32 index, Single x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1f((UInt32)index, (Single)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib1(Int32 index, Single x); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -129728,18 +75610,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1f")] - public static - void VertexAttrib1(UInt32 index, Single x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1f((UInt32)index, (Single)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib1(UInt32 index, Single x); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -129776,18 +75647,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] - public static - unsafe void VertexAttrib1(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib1(Int32 index, Single* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -129824,18 +75684,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] - public static - unsafe void VertexAttrib1(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib1(UInt32 index, Single* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -129871,18 +75720,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1s")] - public static - void VertexAttrib1(Int32 index, Int16 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1s((UInt32)index, (Int16)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib1(Int32 index, Int16 x); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -129919,18 +75757,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1s")] - public static - void VertexAttrib1(UInt32 index, Int16 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1s((UInt32)index, (Int16)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib1(UInt32 index, Int16 x); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -129967,18 +75794,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1sv")] - public static - unsafe void VertexAttrib1(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib1(Int32 index, Int16* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -130015,18 +75831,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1sv")] - public static - unsafe void VertexAttrib1(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib1(UInt32 index, Int16* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -130062,18 +75867,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2d")] - public static - void VertexAttrib2(Int32 index, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2d((UInt32)index, (Double)x, (Double)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, Double x, Double y); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -130110,18 +75904,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2d")] - public static - void VertexAttrib2(UInt32 index, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2d((UInt32)index, (Double)x, (Double)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, Double x, Double y); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -130157,24 +75940,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] - public static - void VertexAttrib2(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, Double[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -130210,24 +75976,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] - public static - void VertexAttrib2(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, ref Double v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -130264,18 +76013,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] - public static - unsafe void VertexAttrib2(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib2(Int32 index, Double* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -130312,24 +76050,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] - public static - void VertexAttrib2(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, Double[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -130366,24 +76087,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] - public static - void VertexAttrib2(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, ref Double v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -130420,18 +76124,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] - public static - unsafe void VertexAttrib2(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib2(UInt32 index, Double* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -130467,18 +76160,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2f")] - public static - void VertexAttrib2(Int32 index, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2f((UInt32)index, (Single)x, (Single)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, Single x, Single y); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -130515,18 +76197,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2f")] - public static - void VertexAttrib2(UInt32 index, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2f((UInt32)index, (Single)x, (Single)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, Single x, Single y); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -130562,24 +76233,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static - void VertexAttrib2(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, Single[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -130615,24 +76269,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static - void VertexAttrib2(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, ref Single v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -130669,18 +76306,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static - unsafe void VertexAttrib2(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib2(Int32 index, Single* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -130717,24 +76343,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static - void VertexAttrib2(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, Single[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -130771,24 +76380,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static - void VertexAttrib2(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, ref Single v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -130825,18 +76417,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static - unsafe void VertexAttrib2(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib2(UInt32 index, Single* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -130872,18 +76453,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2s")] - public static - void VertexAttrib2(Int32 index, Int16 x, Int16 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2s((UInt32)index, (Int16)x, (Int16)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, Int16 x, Int16 y); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -130920,18 +76490,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2s")] - public static - void VertexAttrib2(UInt32 index, Int16 x, Int16 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2s((UInt32)index, (Int16)x, (Int16)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, Int16 x, Int16 y); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -130967,24 +76526,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] - public static - void VertexAttrib2(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, Int16[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -131020,24 +76562,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] - public static - void VertexAttrib2(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, ref Int16 v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -131074,18 +76599,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] - public static - unsafe void VertexAttrib2(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib2(Int32 index, Int16* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -131122,24 +76636,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] - public static - void VertexAttrib2(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, Int16[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -131176,24 +76673,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] - public static - void VertexAttrib2(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, ref Int16 v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -131230,18 +76710,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] - public static - unsafe void VertexAttrib2(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib2(UInt32 index, Int16* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -131277,18 +76746,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3d")] - public static - void VertexAttrib3(Int32 index, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3d((UInt32)index, (Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, Double x, Double y, Double z); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -131325,18 +76783,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3d")] - public static - void VertexAttrib3(UInt32 index, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3d((UInt32)index, (Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, Double x, Double y, Double z); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -131372,24 +76819,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] - public static - void VertexAttrib3(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, Double[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -131425,24 +76855,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] - public static - void VertexAttrib3(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, ref Double v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -131479,18 +76892,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] - public static - unsafe void VertexAttrib3(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib3(Int32 index, Double* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -131527,24 +76929,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] - public static - void VertexAttrib3(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, Double[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -131581,24 +76966,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] - public static - void VertexAttrib3(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, ref Double v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -131635,18 +77003,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] - public static - unsafe void VertexAttrib3(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib3(UInt32 index, Double* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -131682,18 +77039,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3f")] - public static - void VertexAttrib3(Int32 index, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3f((UInt32)index, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, Single x, Single y, Single z); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -131730,18 +77076,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3f")] - public static - void VertexAttrib3(UInt32 index, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3f((UInt32)index, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, Single x, Single y, Single z); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -131777,24 +77112,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static - void VertexAttrib3(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, Single[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -131830,24 +77148,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static - void VertexAttrib3(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, ref Single v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -131884,18 +77185,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static - unsafe void VertexAttrib3(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib3(Int32 index, Single* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -131932,24 +77222,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static - void VertexAttrib3(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, Single[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -131986,24 +77259,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static - void VertexAttrib3(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, ref Single v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132040,18 +77296,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static - unsafe void VertexAttrib3(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib3(UInt32 index, Single* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132087,18 +77332,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3s")] - public static - void VertexAttrib3(Int32 index, Int16 x, Int16 y, Int16 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3s((UInt32)index, (Int16)x, (Int16)y, (Int16)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, Int16 x, Int16 y, Int16 z); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132135,18 +77369,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3s")] - public static - void VertexAttrib3(UInt32 index, Int16 x, Int16 y, Int16 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3s((UInt32)index, (Int16)x, (Int16)y, (Int16)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, Int16 x, Int16 y, Int16 z); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132182,24 +77405,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] - public static - void VertexAttrib3(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, Int16[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132235,24 +77441,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] - public static - void VertexAttrib3(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, ref Int16 v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132289,18 +77478,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] - public static - unsafe void VertexAttrib3(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib3(Int32 index, Int16* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132337,24 +77515,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] - public static - void VertexAttrib3(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, Int16[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132391,24 +77552,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] - public static - void VertexAttrib3(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, ref Int16 v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132445,18 +77589,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] - public static - unsafe void VertexAttrib3(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib3(UInt32 index, Int16* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132493,24 +77626,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4bv")] - public static - void VertexAttrib4(UInt32 index, SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - Delegates.glVertexAttrib4bv((UInt32)index, (SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, SByte[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132547,24 +77663,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4bv")] - public static - void VertexAttrib4(UInt32 index, ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - Delegates.glVertexAttrib4bv((UInt32)index, (SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, ref SByte v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132601,18 +77700,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4bv")] - public static - unsafe void VertexAttrib4(UInt32 index, SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4bv((UInt32)index, (SByte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(UInt32 index, SByte* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132648,18 +77736,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4d")] - public static - void VertexAttrib4(Int32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4d((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Double x, Double y, Double z, Double w); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132696,18 +77773,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4d")] - public static - void VertexAttrib4(UInt32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4d((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Double x, Double y, Double z, Double w); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132743,24 +77809,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] - public static - void VertexAttrib4(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Double[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132796,24 +77845,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] - public static - void VertexAttrib4(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, ref Double v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132850,18 +77882,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] - public static - unsafe void VertexAttrib4(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(Int32 index, Double* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132898,24 +77919,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] - public static - void VertexAttrib4(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Double[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -132952,24 +77956,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] - public static - void VertexAttrib4(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, ref Double v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133006,18 +77993,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] - public static - unsafe void VertexAttrib4(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(UInt32 index, Double* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133053,18 +78029,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4f")] - public static - void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4f((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133101,18 +78066,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4f")] - public static - void VertexAttrib4(UInt32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4f((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Single x, Single y, Single z, Single w); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133148,24 +78102,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static - void VertexAttrib4(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Single[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133201,24 +78138,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static - void VertexAttrib4(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, ref Single v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133255,18 +78175,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static - unsafe void VertexAttrib4(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(Int32 index, Single* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133303,24 +78212,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static - void VertexAttrib4(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Single[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133357,24 +78249,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static - void VertexAttrib4(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, ref Single v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133411,18 +78286,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static - unsafe void VertexAttrib4(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(UInt32 index, Single* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133458,24 +78322,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] - public static - void VertexAttrib4(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Int32[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133511,24 +78358,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] - public static - void VertexAttrib4(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, ref Int32 v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133565,18 +78395,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] - public static - unsafe void VertexAttrib4(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(Int32 index, Int32* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133613,24 +78432,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] - public static - void VertexAttrib4(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Int32[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133667,24 +78469,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] - public static - void VertexAttrib4(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, ref Int32 v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -133721,583 +78506,145 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] - public static - unsafe void VertexAttrib4(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(UInt32 index, Int32* v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nbv")] - public static - void VertexAttrib4N(UInt32 index, SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, SByte[] v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nbv")] - public static - void VertexAttrib4N(UInt32 index, ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, ref SByte v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nbv")] - public static - unsafe void VertexAttrib4N(UInt32 index, SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4N(UInt32 index, SByte* v); /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] - public static - void VertexAttrib4N(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(Int32 index, Int32[] v); /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] - public static - void VertexAttrib4N(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(Int32 index, ref Int32 v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] - public static - unsafe void VertexAttrib4N(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4N(Int32 index, Int32* v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] - public static - void VertexAttrib4N(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, Int32[] v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] - public static - void VertexAttrib4N(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, ref Int32 v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] - public static - unsafe void VertexAttrib4N(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4N(UInt32 index, Int32* v); /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] - public static - void VertexAttrib4N(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(Int32 index, Int16[] v); /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] - public static - void VertexAttrib4N(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(Int32 index, ref Int16 v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] - public static - unsafe void VertexAttrib4N(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4N(Int32 index, Int16* v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] - public static - void VertexAttrib4N(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, Int16[] v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] - public static - void VertexAttrib4N(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, ref Int16 v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] - public static - unsafe void VertexAttrib4N(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4N(UInt32 index, Int16* v); /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nub")] - public static - void VertexAttrib4N(Int32 index, Byte x, Byte y, Byte z, Byte w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Nub((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(Int32 index, Byte x, Byte y, Byte z, Byte w); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nub")] - public static - void VertexAttrib4N(UInt32 index, Byte x, Byte y, Byte z, Byte w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Nub((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, Byte x, Byte y, Byte z, Byte w); /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] - public static - void VertexAttrib4N(Int32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(Int32 index, Byte[] v); /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] - public static - void VertexAttrib4N(Int32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(Int32 index, ref Byte v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] - public static - unsafe void VertexAttrib4N(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4N(Int32 index, Byte* v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] - public static - void VertexAttrib4N(UInt32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, Byte[] v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] - public static - void VertexAttrib4N(UInt32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, ref Byte v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] - public static - unsafe void VertexAttrib4N(UInt32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4N(UInt32 index, Byte* v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nuiv")] - public static - void VertexAttrib4N(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, UInt32[] v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nuiv")] - public static - void VertexAttrib4N(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, ref UInt32 v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nuiv")] - public static - unsafe void VertexAttrib4N(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4N(UInt32 index, UInt32* v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nusv")] - public static - void VertexAttrib4N(UInt32 index, UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, UInt16[] v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nusv")] - public static - void VertexAttrib4N(UInt32 index, ref UInt16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = &v) - { - Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, ref UInt16 v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nusv")] - public static - unsafe void VertexAttrib4N(UInt32 index, UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4N(UInt32 index, UInt16* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -134333,18 +78680,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4s")] - public static - void VertexAttrib4(Int32 index, Int16 x, Int16 y, Int16 z, Int16 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4s((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Int16 x, Int16 y, Int16 z, Int16 w); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -134381,18 +78717,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4s")] - public static - void VertexAttrib4(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4s((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -134428,24 +78753,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] - public static - void VertexAttrib4(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Int16[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -134481,24 +78789,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] - public static - void VertexAttrib4(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, ref Int16 v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -134535,18 +78826,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] - public static - unsafe void VertexAttrib4(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(Int32 index, Int16* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -134583,24 +78863,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] - public static - void VertexAttrib4(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Int16[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -134637,24 +78900,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] - public static - void VertexAttrib4(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, ref Int16 v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -134691,18 +78937,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] - public static - unsafe void VertexAttrib4(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(UInt32 index, Int16* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -134738,24 +78973,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] - public static - void VertexAttrib4(Int32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Byte[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -134791,24 +79009,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] - public static - void VertexAttrib4(Int32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, ref Byte v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -134845,18 +79046,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] - public static - unsafe void VertexAttrib4(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(Int32 index, Byte* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -134893,24 +79083,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] - public static - void VertexAttrib4(UInt32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Byte[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -134947,24 +79120,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] - public static - void VertexAttrib4(UInt32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, ref Byte v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -135001,18 +79157,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] - public static - unsafe void VertexAttrib4(UInt32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(UInt32 index, Byte* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -135049,24 +79194,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4uiv")] - public static - void VertexAttrib4(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, UInt32[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -135103,24 +79231,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4uiv")] - public static - void VertexAttrib4(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, ref UInt32 v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -135157,18 +79268,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4uiv")] - public static - unsafe void VertexAttrib4(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(UInt32 index, UInt32* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -135205,24 +79305,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4usv")] - public static - void VertexAttrib4(UInt32 index, UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, UInt16[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -135259,24 +79342,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4usv")] - public static - void VertexAttrib4(UInt32 index, ref UInt16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = &v) - { - Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, ref UInt16 v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -135313,18 +79379,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4usv")] - public static - unsafe void VertexAttrib4(UInt32 index, UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(UInt32 index, UInt16* v); /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] /// Associate a vertex attribute and a vertex buffer binding @@ -135340,18 +79395,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glVertexAttribBinding")] - public static - void VertexAttribBinding(Int32 attribindex, Int32 bindingindex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribBinding((UInt32)attribindex, (UInt32)bindingindex); - #if DEBUG - } - #endif - } + public static extern void VertexAttribBinding(Int32 attribindex, Int32 bindingindex); /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] /// Associate a vertex attribute and a vertex buffer binding @@ -135368,18 +79412,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glVertexAttribBinding")] - public static - void VertexAttribBinding(UInt32 attribindex, UInt32 bindingindex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribBinding((UInt32)attribindex, (UInt32)bindingindex); - #if DEBUG - } - #endif - } + public static extern void VertexAttribBinding(UInt32 attribindex, UInt32 bindingindex); /// [requires: v3.3] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -135395,18 +79428,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribDivisor")] - public static - void VertexAttribDivisor(Int32 index, Int32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribDivisor((UInt32)index, (UInt32)divisor); - #if DEBUG - } - #endif - } + public static extern void VertexAttribDivisor(Int32 index, Int32 divisor); /// [requires: v3.3] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -135423,18 +79445,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribDivisor")] - public static - void VertexAttribDivisor(UInt32 index, UInt32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribDivisor((UInt32)index, (UInt32)divisor); - #if DEBUG - } - #endif - } + public static extern void VertexAttribDivisor(UInt32 index, UInt32 divisor); /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] /// Specify the organization of vertex arrays @@ -135465,18 +79476,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glVertexAttribFormat")] - public static - void VertexAttribFormat(Int32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribType type, bool normalized, Int32 relativeoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribType)type, (bool)normalized, (UInt32)relativeoffset); - #if DEBUG - } - #endif - } + public static extern void VertexAttribFormat(Int32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribType type, bool normalized, Int32 relativeoffset); /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] /// Specify the organization of vertex arrays @@ -135508,2665 +79508,710 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glVertexAttribFormat")] - public static - void VertexAttribFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribType type, bool normalized, UInt32 relativeoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribType)type, (bool)normalized, (UInt32)relativeoffset); - #if DEBUG - } - #endif - } + public static extern void VertexAttribFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribType type, bool normalized, UInt32 relativeoffset); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI1i")] - public static - void VertexAttribI1(Int32 index, Int32 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI1i((UInt32)index, (Int32)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI1(Int32 index, Int32 x); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI1i")] - public static - void VertexAttribI1(UInt32 index, Int32 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI1i((UInt32)index, (Int32)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI1(UInt32 index, Int32 x); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI1iv")] - public static - unsafe void VertexAttribI1(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI1iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI1(Int32 index, Int32* v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI1iv")] - public static - unsafe void VertexAttribI1(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI1iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI1(UInt32 index, Int32* v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI1ui")] - public static - void VertexAttribI1(UInt32 index, UInt32 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI1ui((UInt32)index, (UInt32)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI1(UInt32 index, UInt32 x); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI1uiv")] - public static - unsafe void VertexAttribI1(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI1uiv((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI1(UInt32 index, UInt32* v); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2i")] - public static - void VertexAttribI2(Int32 index, Int32 x, Int32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2i((UInt32)index, (Int32)x, (Int32)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI2(Int32 index, Int32 x, Int32 y); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2i")] - public static - void VertexAttribI2(UInt32 index, Int32 x, Int32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2i((UInt32)index, (Int32)x, (Int32)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI2(UInt32 index, Int32 x, Int32 y); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] - public static - void VertexAttribI2(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI2(Int32 index, Int32[] v); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] - public static - void VertexAttribI2(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI2(Int32 index, ref Int32 v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] - public static - unsafe void VertexAttribI2(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI2(Int32 index, Int32* v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] - public static - void VertexAttribI2(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI2(UInt32 index, Int32[] v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] - public static - void VertexAttribI2(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI2(UInt32 index, ref Int32 v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] - public static - unsafe void VertexAttribI2(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI2(UInt32 index, Int32* v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2ui")] - public static - void VertexAttribI2(UInt32 index, UInt32 x, UInt32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2ui((UInt32)index, (UInt32)x, (UInt32)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI2(UInt32 index, UInt32 x, UInt32 y); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2uiv")] - public static - void VertexAttribI2(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glVertexAttribI2uiv((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI2(UInt32 index, UInt32[] v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2uiv")] - public static - void VertexAttribI2(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - Delegates.glVertexAttribI2uiv((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI2(UInt32 index, ref UInt32 v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2uiv")] - public static - unsafe void VertexAttribI2(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2uiv((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI2(UInt32 index, UInt32* v); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3i")] - public static - void VertexAttribI3(Int32 index, Int32 x, Int32 y, Int32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3i((UInt32)index, (Int32)x, (Int32)y, (Int32)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI3(Int32 index, Int32 x, Int32 y, Int32 z); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3i")] - public static - void VertexAttribI3(UInt32 index, Int32 x, Int32 y, Int32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3i((UInt32)index, (Int32)x, (Int32)y, (Int32)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI3(UInt32 index, Int32 x, Int32 y, Int32 z); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static - void VertexAttribI3(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI3(Int32 index, Int32[] v); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static - void VertexAttribI3(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI3(Int32 index, ref Int32 v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static - unsafe void VertexAttribI3(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI3(Int32 index, Int32* v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static - void VertexAttribI3(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI3(UInt32 index, Int32[] v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static - void VertexAttribI3(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI3(UInt32 index, ref Int32 v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static - unsafe void VertexAttribI3(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI3(UInt32 index, Int32* v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3ui")] - public static - void VertexAttribI3(UInt32 index, UInt32 x, UInt32 y, UInt32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3ui((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI3(UInt32 index, UInt32 x, UInt32 y, UInt32 z); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3uiv")] - public static - void VertexAttribI3(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glVertexAttribI3uiv((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI3(UInt32 index, UInt32[] v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3uiv")] - public static - void VertexAttribI3(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - Delegates.glVertexAttribI3uiv((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI3(UInt32 index, ref UInt32 v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3uiv")] - public static - unsafe void VertexAttribI3(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3uiv((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI3(UInt32 index, UInt32* v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4bv")] - public static - void VertexAttribI4(UInt32 index, SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - Delegates.glVertexAttribI4bv((UInt32)index, (SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, SByte[] v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4bv")] - public static - void VertexAttribI4(UInt32 index, ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - Delegates.glVertexAttribI4bv((UInt32)index, (SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, ref SByte v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4bv")] - public static - unsafe void VertexAttribI4(UInt32 index, SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4bv((UInt32)index, (SByte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI4(UInt32 index, SByte* v); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4i")] - public static - void VertexAttribI4(Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4i((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(Int32 index, Int32 x, Int32 y, Int32 z, Int32 w); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4i")] - public static - void VertexAttribI4(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4i((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static - void VertexAttribI4(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(Int32 index, Int32[] v); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static - void VertexAttribI4(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(Int32 index, ref Int32 v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static - unsafe void VertexAttribI4(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI4(Int32 index, Int32* v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static - void VertexAttribI4(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, Int32[] v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static - void VertexAttribI4(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, ref Int32 v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static - unsafe void VertexAttribI4(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI4(UInt32 index, Int32* v); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] - public static - void VertexAttribI4(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(Int32 index, Int16[] v); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] - public static - void VertexAttribI4(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(Int32 index, ref Int16 v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] - public static - unsafe void VertexAttribI4(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI4(Int32 index, Int16* v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] - public static - void VertexAttribI4(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, Int16[] v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] - public static - void VertexAttribI4(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, ref Int16 v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] - public static - unsafe void VertexAttribI4(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI4(UInt32 index, Int16* v); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] - public static - void VertexAttribI4(Int32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(Int32 index, Byte[] v); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] - public static - void VertexAttribI4(Int32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(Int32 index, ref Byte v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] - public static - unsafe void VertexAttribI4(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI4(Int32 index, Byte* v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] - public static - void VertexAttribI4(UInt32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, Byte[] v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] - public static - void VertexAttribI4(UInt32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, ref Byte v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] - public static - unsafe void VertexAttribI4(UInt32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI4(UInt32 index, Byte* v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ui")] - public static - void VertexAttribI4(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4ui((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] - public static - void VertexAttribI4(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glVertexAttribI4uiv((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, UInt32[] v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] - public static - void VertexAttribI4(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - Delegates.glVertexAttribI4uiv((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, ref UInt32 v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] - public static - unsafe void VertexAttribI4(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4uiv((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI4(UInt32 index, UInt32* v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4usv")] - public static - void VertexAttribI4(UInt32 index, UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - Delegates.glVertexAttribI4usv((UInt32)index, (UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, UInt16[] v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4usv")] - public static - void VertexAttribI4(UInt32 index, ref UInt16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = &v) - { - Delegates.glVertexAttribI4usv((UInt32)index, (UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, ref UInt16 v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4usv")] - public static - unsafe void VertexAttribI4(UInt32 index, UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4usv((UInt32)index, (UInt16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI4(UInt32 index, UInt16* v); /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glVertexAttribIFormat")] - public static - void VertexAttribIFormat(Int32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 relativeoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribIFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (UInt32)relativeoffset); - #if DEBUG - } - #endif - } + public static extern void VertexAttribIFormat(Int32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 relativeoffset); /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glVertexAttribIFormat")] - public static - void VertexAttribIFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, UInt32 relativeoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribIFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (UInt32)relativeoffset); - #if DEBUG - } - #endif - } + public static extern void VertexAttribIFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, UInt32 relativeoffset); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, IntPtr pointer); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T4)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0] [Obsolete("Use VertexAttribIntegerType overload instead")] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, IntPtr pointer); /// [requires: v3.0] [Obsolete("Use VertexAttribIntegerType overload instead")] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0] [Obsolete("Use VertexAttribIntegerType overload instead")] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0] [Obsolete("Use VertexAttribIntegerType overload instead")] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0] [Obsolete("Use VertexAttribIntegerType overload instead")] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T4)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, IntPtr pointer); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T4)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0] [Obsolete("Use VertexAttribIntegerType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, IntPtr pointer); /// [requires: v3.0] [Obsolete("Use VertexAttribIntegerType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0] [Obsolete("Use VertexAttribIntegerType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0] [Obsolete("Use VertexAttribIntegerType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0] [Obsolete("Use VertexAttribIntegerType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T4)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL1d")] - public static - void VertexAttribL1(Int32 index, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL1d((UInt32)index, (Double)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL1(Int32 index, Double x); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL1d")] - public static - void VertexAttribL1(UInt32 index, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL1d((UInt32)index, (Double)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL1(UInt32 index, Double x); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL1dv")] - public static - unsafe void VertexAttribL1(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL1dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL1(Int32 index, Double* v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL1dv")] - public static - unsafe void VertexAttribL1(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL1dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL1(UInt32 index, Double* v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL2d")] - public static - void VertexAttribL2(Int32 index, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL2d((UInt32)index, (Double)x, (Double)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL2(Int32 index, Double x, Double y); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL2d")] - public static - void VertexAttribL2(UInt32 index, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL2d((UInt32)index, (Double)x, (Double)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL2(UInt32 index, Double x, Double y); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL2dv")] - public static - void VertexAttribL2(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttribL2dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL2(Int32 index, Double[] v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL2dv")] - public static - void VertexAttribL2(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttribL2dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL2(Int32 index, ref Double v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL2dv")] - public static - unsafe void VertexAttribL2(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL2dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL2(Int32 index, Double* v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL2dv")] - public static - void VertexAttribL2(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttribL2dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL2(UInt32 index, Double[] v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL2dv")] - public static - void VertexAttribL2(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttribL2dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL2(UInt32 index, ref Double v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL2dv")] - public static - unsafe void VertexAttribL2(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL2dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL2(UInt32 index, Double* v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL3d")] - public static - void VertexAttribL3(Int32 index, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL3d((UInt32)index, (Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL3(Int32 index, Double x, Double y, Double z); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL3d")] - public static - void VertexAttribL3(UInt32 index, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL3d((UInt32)index, (Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL3(UInt32 index, Double x, Double y, Double z); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL3dv")] - public static - void VertexAttribL3(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttribL3dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL3(Int32 index, Double[] v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL3dv")] - public static - void VertexAttribL3(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttribL3dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL3(Int32 index, ref Double v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL3dv")] - public static - unsafe void VertexAttribL3(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL3dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL3(Int32 index, Double* v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL3dv")] - public static - void VertexAttribL3(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttribL3dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL3(UInt32 index, Double[] v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL3dv")] - public static - void VertexAttribL3(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttribL3dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL3(UInt32 index, ref Double v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL3dv")] - public static - unsafe void VertexAttribL3(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL3dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL3(UInt32 index, Double* v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL4d")] - public static - void VertexAttribL4(Int32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL4d((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL4(Int32 index, Double x, Double y, Double z, Double w); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL4d")] - public static - void VertexAttribL4(UInt32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL4d((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL4(UInt32 index, Double x, Double y, Double z, Double w); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL4dv")] - public static - void VertexAttribL4(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttribL4dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL4(Int32 index, Double[] v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL4dv")] - public static - void VertexAttribL4(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttribL4dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL4(Int32 index, ref Double v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL4dv")] - public static - unsafe void VertexAttribL4(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL4dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL4(Int32 index, Double* v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL4dv")] - public static - void VertexAttribL4(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttribL4dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL4(UInt32 index, Double[] v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL4dv")] - public static - void VertexAttribL4(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttribL4dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL4(UInt32 index, ref Double v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL4dv")] - public static - unsafe void VertexAttribL4(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL4dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL4(UInt32 index, Double* v); /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glVertexAttribLFormat")] - public static - void VertexAttribLFormat(Int32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 relativeoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribLFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (UInt32)relativeoffset); - #if DEBUG - } - #endif - } + public static extern void VertexAttribLFormat(Int32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 relativeoffset); /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glVertexAttribLFormat")] - public static - void VertexAttribLFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, UInt32 relativeoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribLFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (UInt32)relativeoffset); - #if DEBUG - } - #endif - } + public static extern void VertexAttribLFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, UInt32 relativeoffset); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] - public static - void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, IntPtr pointer); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] - public static - void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + public static extern void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] - public static - void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + public static extern void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] - public static - void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + public static extern void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] - public static - void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + public static extern void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T4)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] - public static - void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, IntPtr pointer); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] - public static - void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + public static extern void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] - public static - void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + public static extern void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] - public static - void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + public static extern void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] - public static - void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + public static extern void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T4)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribP1ui")] - public static - void VertexAttribP1(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribP1ui((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32)value); - #if DEBUG - } - #endif - } + public static extern void VertexAttribP1(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32 value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribP1ui")] - public static - void VertexAttribP1(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribP1ui((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32)value); - #if DEBUG - } - #endif - } + public static extern void VertexAttribP1(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribP1uiv")] - public static - unsafe void VertexAttribP1(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribP1uiv((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribP1(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32* value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribP1uiv")] - public static - unsafe void VertexAttribP1(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribP1uiv((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribP1(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribP2ui")] - public static - void VertexAttribP2(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribP2ui((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32)value); - #if DEBUG - } - #endif - } + public static extern void VertexAttribP2(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32 value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribP2ui")] - public static - void VertexAttribP2(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribP2ui((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32)value); - #if DEBUG - } - #endif - } + public static extern void VertexAttribP2(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribP2uiv")] - public static - unsafe void VertexAttribP2(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribP2uiv((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribP2(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32* value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribP2uiv")] - public static - unsafe void VertexAttribP2(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribP2uiv((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribP2(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribP3ui")] - public static - void VertexAttribP3(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribP3ui((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32)value); - #if DEBUG - } - #endif - } + public static extern void VertexAttribP3(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32 value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribP3ui")] - public static - void VertexAttribP3(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribP3ui((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32)value); - #if DEBUG - } - #endif - } + public static extern void VertexAttribP3(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribP3uiv")] - public static - unsafe void VertexAttribP3(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribP3uiv((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribP3(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32* value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribP3uiv")] - public static - unsafe void VertexAttribP3(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribP3uiv((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribP3(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribP4ui")] - public static - void VertexAttribP4(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribP4ui((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32)value); - #if DEBUG - } - #endif - } + public static extern void VertexAttribP4(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32 value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribP4ui")] - public static - void VertexAttribP4(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribP4ui((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32)value); - #if DEBUG - } - #endif - } + public static extern void VertexAttribP4(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribP4uiv")] - public static - unsafe void VertexAttribP4(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribP4uiv((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribP4(Int32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, Int32* value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribP4uiv")] - public static - unsafe void VertexAttribP4(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribP4uiv((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribP4(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value); /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -138202,18 +80247,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer); /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -138249,27 +80283,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] pointer) + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -138305,27 +80321,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] pointer) + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -138361,27 +80359,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] pointer) + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -138417,28 +80397,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 pointer) + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T5)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -138475,18 +80436,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer); /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -138523,27 +80473,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] pointer) + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -138580,27 +80512,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] pointer) + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -138637,27 +80551,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] pointer) + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -138694,28 +80590,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 pointer) + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T5)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] /// Modify the rate at which generic vertex attributes advance @@ -138731,18 +80608,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glVertexBindingDivisor")] - public static - void VertexBindingDivisor(Int32 bindingindex, Int32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexBindingDivisor((UInt32)bindingindex, (UInt32)divisor); - #if DEBUG - } - #endif - } + public static extern void VertexBindingDivisor(Int32 bindingindex, Int32 divisor); /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] /// Modify the rate at which generic vertex attributes advance @@ -138759,207 +80625,64 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glVertexBindingDivisor")] - public static - void VertexBindingDivisor(UInt32 bindingindex, UInt32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexBindingDivisor((UInt32)bindingindex, (UInt32)divisor); - #if DEBUG - } - #endif - } + public static extern void VertexBindingDivisor(UInt32 bindingindex, UInt32 divisor); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexP2ui")] - public static - void VertexP2(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexP2ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)value); - #if DEBUG - } - #endif - } + public static extern void VertexP2(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexP2ui")] - public static - void VertexP2(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexP2ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)value); - #if DEBUG - } - #endif - } + public static extern void VertexP2(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexP2uiv")] - public static - unsafe void VertexP2(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexP2uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexP2(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexP2uiv")] - public static - unsafe void VertexP2(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexP2uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexP2(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexP3ui")] - public static - void VertexP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexP3ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)value); - #if DEBUG - } - #endif - } + public static extern void VertexP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexP3ui")] - public static - void VertexP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexP3ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)value); - #if DEBUG - } - #endif - } + public static extern void VertexP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexP3uiv")] - public static - unsafe void VertexP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexP3uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexP3(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexP3uiv")] - public static - unsafe void VertexP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexP3uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexP3(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexP4ui")] - public static - void VertexP4(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexP4ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)value); - #if DEBUG - } - #endif - } + public static extern void VertexP4(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32 value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexP4ui")] - public static - void VertexP4(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexP4ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)value); - #if DEBUG - } - #endif - } + public static extern void VertexP4(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexP4uiv")] - public static - unsafe void VertexP4(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexP4uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexP4(OpenTK.Graphics.OpenGL.PackedPointerType type, Int32* value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexP4uiv")] - public static - unsafe void VertexP4(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexP4uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexP4(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* value); /// [requires: v1.1][deprecated: v3.2] /// Define an array of vertex data @@ -138985,18 +80708,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glVertexPointer")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, IntPtr pointer); /// [requires: v1.1][deprecated: v3.2] /// Define an array of vertex data @@ -139022,27 +80734,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glVertexPointer")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) + public static extern void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1][deprecated: v3.2] /// Define an array of vertex data @@ -139068,27 +80762,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glVertexPointer")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) + public static extern void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1][deprecated: v3.2] /// Define an array of vertex data @@ -139114,27 +80790,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glVertexPointer")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) + public static extern void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1][deprecated: v3.2] /// Define an array of vertex data @@ -139160,28 +80818,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glVertexPointer")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) + public static extern void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Set the viewport @@ -139197,18 +80836,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glViewport")] - public static - void Viewport(Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glViewport((Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void Viewport(Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set multiple viewports @@ -139229,24 +80857,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportArrayv")] - public static - void ViewportArray(Int32 first, Int32 count, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glViewportArrayv((UInt32)first, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ViewportArray(Int32 first, Int32 count, Single[] v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set multiple viewports @@ -139267,24 +80878,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportArrayv")] - public static - void ViewportArray(Int32 first, Int32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glViewportArrayv((UInt32)first, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ViewportArray(Int32 first, Int32 count, ref Single v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set multiple viewports @@ -139306,18 +80900,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportArrayv")] - public static - unsafe void ViewportArray(Int32 first, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glViewportArrayv((UInt32)first, (Int32)count, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ViewportArray(Int32 first, Int32 count, Single* v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set multiple viewports @@ -139339,24 +80922,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportArrayv")] - public static - void ViewportArray(UInt32 first, Int32 count, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glViewportArrayv((UInt32)first, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ViewportArray(UInt32 first, Int32 count, Single[] v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set multiple viewports @@ -139378,24 +80944,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportArrayv")] - public static - void ViewportArray(UInt32 first, Int32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glViewportArrayv((UInt32)first, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ViewportArray(UInt32 first, Int32 count, ref Single v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set multiple viewports @@ -139417,18 +80966,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportArrayv")] - public static - unsafe void ViewportArray(UInt32 first, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glViewportArrayv((UInt32)first, (Int32)count, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ViewportArray(UInt32 first, Int32 count, Single* v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set a specified viewport @@ -139454,18 +80992,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportIndexedf")] - public static - void ViewportIndexed(Int32 index, Single x, Single y, Single w, Single h) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glViewportIndexedf((UInt32)index, (Single)x, (Single)y, (Single)w, (Single)h); - #if DEBUG - } - #endif - } + public static extern void ViewportIndexed(Int32 index, Single x, Single y, Single w, Single h); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set a specified viewport @@ -139492,18 +81019,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportIndexedf")] - public static - void ViewportIndexed(UInt32 index, Single x, Single y, Single w, Single h) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glViewportIndexedf((UInt32)index, (Single)x, (Single)y, (Single)w, (Single)h); - #if DEBUG - } - #endif - } + public static extern void ViewportIndexed(UInt32 index, Single x, Single y, Single w, Single h); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set a specified viewport @@ -139529,24 +81045,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportIndexedfv")] - public static - void ViewportIndexed(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glViewportIndexedfv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ViewportIndexed(Int32 index, Single[] v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set a specified viewport @@ -139572,24 +81071,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportIndexedfv")] - public static - void ViewportIndexed(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glViewportIndexedfv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ViewportIndexed(Int32 index, ref Single v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set a specified viewport @@ -139616,18 +81098,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportIndexedfv")] - public static - unsafe void ViewportIndexed(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glViewportIndexedfv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ViewportIndexed(Int32 index, Single* v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set a specified viewport @@ -139654,24 +81125,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportIndexedfv")] - public static - void ViewportIndexed(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glViewportIndexedfv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ViewportIndexed(UInt32 index, Single[] v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set a specified viewport @@ -139698,24 +81152,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportIndexedfv")] - public static - void ViewportIndexed(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glViewportIndexedfv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ViewportIndexed(UInt32 index, ref Single v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set a specified viewport @@ -139742,18 +81179,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportIndexedfv")] - public static - unsafe void ViewportIndexed(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glViewportIndexedfv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ViewportIndexed(UInt32 index, Single* v); /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -139775,18 +81201,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use WaitSyncFlags overload instead")] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glWaitSync")] - public static - OpenTK.Graphics.OpenGL.WaitSyncStatus WaitSync(IntPtr sync, Int32 flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glWaitSync((IntPtr)sync, (OpenTK.Graphics.OpenGL.WaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.OpenGL.WaitSyncStatus WaitSync(IntPtr sync, Int32 flags, Int64 timeout); /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -139809,18 +81224,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use WaitSyncFlags overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glWaitSync")] - public static - OpenTK.Graphics.OpenGL.WaitSyncStatus WaitSync(IntPtr sync, Int32 flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glWaitSync((IntPtr)sync, (OpenTK.Graphics.OpenGL.WaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.OpenGL.WaitSyncStatus WaitSync(IntPtr sync, Int32 flags, UInt64 timeout); /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -139843,18 +81247,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use WaitSyncFlags overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glWaitSync")] - public static - OpenTK.Graphics.OpenGL.WaitSyncStatus WaitSync(IntPtr sync, UInt32 flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glWaitSync((IntPtr)sync, (OpenTK.Graphics.OpenGL.WaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.OpenGL.WaitSyncStatus WaitSync(IntPtr sync, UInt32 flags, UInt64 timeout); /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -139875,18 +81268,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glWaitSync")] - public static - OpenTK.Graphics.OpenGL.WaitSyncStatus WaitSync(IntPtr sync, OpenTK.Graphics.OpenGL.WaitSyncFlags flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glWaitSync((IntPtr)sync, (OpenTK.Graphics.OpenGL.WaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.OpenGL.WaitSyncStatus WaitSync(IntPtr sync, OpenTK.Graphics.OpenGL.WaitSyncFlags flags, Int64 timeout); /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -139908,18 +81290,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glWaitSync")] - public static - OpenTK.Graphics.OpenGL.WaitSyncStatus WaitSync(IntPtr sync, OpenTK.Graphics.OpenGL.WaitSyncFlags flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glWaitSync((IntPtr)sync, (OpenTK.Graphics.OpenGL.WaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.OpenGL.WaitSyncStatus WaitSync(IntPtr sync, OpenTK.Graphics.OpenGL.WaitSyncFlags flags, UInt64 timeout); /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -139930,18 +81301,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos2d")] - public static - void WindowPos2(Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2d((Double)x, (Double)y); - #if DEBUG - } - #endif - } + public static extern void WindowPos2(Double x, Double y); /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -139952,24 +81312,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos2dv")] - public static - void WindowPos2(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glWindowPos2dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos2(Double[] v); /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -139980,24 +81323,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos2dv")] - public static - void WindowPos2(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glWindowPos2dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos2(ref Double v); /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -140009,18 +81335,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos2dv")] - public static - unsafe void WindowPos2(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2dv((Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void WindowPos2(Double* v); /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -140031,18 +81346,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos2f")] - public static - void WindowPos2(Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2f((Single)x, (Single)y); - #if DEBUG - } - #endif - } + public static extern void WindowPos2(Single x, Single y); /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -140053,24 +81357,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos2fv")] - public static - void WindowPos2(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glWindowPos2fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos2(Single[] v); /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -140081,24 +81368,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos2fv")] - public static - void WindowPos2(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glWindowPos2fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos2(ref Single v); /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -140110,18 +81380,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos2fv")] - public static - unsafe void WindowPos2(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2fv((Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void WindowPos2(Single* v); /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -140132,18 +81391,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos2i")] - public static - void WindowPos2(Int32 x, Int32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2i((Int32)x, (Int32)y); - #if DEBUG - } - #endif - } + public static extern void WindowPos2(Int32 x, Int32 y); /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -140154,24 +81402,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos2iv")] - public static - void WindowPos2(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glWindowPos2iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos2(Int32[] v); /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -140182,24 +81413,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos2iv")] - public static - void WindowPos2(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glWindowPos2iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos2(ref Int32 v); /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -140211,18 +81425,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos2iv")] - public static - unsafe void WindowPos2(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2iv((Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void WindowPos2(Int32* v); /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -140233,18 +81436,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos2s")] - public static - void WindowPos2(Int16 x, Int16 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2s((Int16)x, (Int16)y); - #if DEBUG - } - #endif - } + public static extern void WindowPos2(Int16 x, Int16 y); /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -140255,24 +81447,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos2sv")] - public static - void WindowPos2(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glWindowPos2sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos2(Int16[] v); /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -140283,24 +81458,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos2sv")] - public static - void WindowPos2(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glWindowPos2sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos2(ref Int16 v); /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -140312,18 +81470,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos2sv")] - public static - unsafe void WindowPos2(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2sv((Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void WindowPos2(Int16* v); /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -140334,18 +81481,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos3d")] - public static - void WindowPos3(Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3d((Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } + public static extern void WindowPos3(Double x, Double y, Double z); /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -140356,24 +81492,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos3dv")] - public static - void WindowPos3(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glWindowPos3dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos3(Double[] v); /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -140384,24 +81503,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos3dv")] - public static - void WindowPos3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glWindowPos3dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos3(ref Double v); /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -140413,18 +81515,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos3dv")] - public static - unsafe void WindowPos3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3dv((Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void WindowPos3(Double* v); /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -140435,18 +81526,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos3f")] - public static - void WindowPos3(Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3f((Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void WindowPos3(Single x, Single y, Single z); /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -140457,24 +81537,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos3fv")] - public static - void WindowPos3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glWindowPos3fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos3(Single[] v); /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -140485,24 +81548,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos3fv")] - public static - void WindowPos3(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glWindowPos3fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos3(ref Single v); /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -140514,18 +81560,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos3fv")] - public static - unsafe void WindowPos3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3fv((Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void WindowPos3(Single* v); /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -140536,18 +81571,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos3i")] - public static - void WindowPos3(Int32 x, Int32 y, Int32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3i((Int32)x, (Int32)y, (Int32)z); - #if DEBUG - } - #endif - } + public static extern void WindowPos3(Int32 x, Int32 y, Int32 z); /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -140558,24 +81582,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos3iv")] - public static - void WindowPos3(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glWindowPos3iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos3(Int32[] v); /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -140586,24 +81593,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos3iv")] - public static - void WindowPos3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glWindowPos3iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos3(ref Int32 v); /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -140615,18 +81605,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos3iv")] - public static - unsafe void WindowPos3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3iv((Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void WindowPos3(Int32* v); /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -140637,18 +81616,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos3s")] - public static - void WindowPos3(Int16 x, Int16 y, Int16 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3s((Int16)x, (Int16)y, (Int16)z); - #if DEBUG - } - #endif - } + public static extern void WindowPos3(Int16 x, Int16 y, Int16 z); /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -140659,24 +81627,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos3sv")] - public static - void WindowPos3(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glWindowPos3sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos3(Int16[] v); /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -140687,24 +81638,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos3sv")] - public static - void WindowPos3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glWindowPos3sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos3(ref Int16 v); /// [requires: v1.4][deprecated: v3.2] /// Specify the raster position in window coordinates for pixel operations @@ -140716,51 +81650,18 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glWindowPos3sv")] - public static - unsafe void WindowPos3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3sv((Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void WindowPos3(Int16* v); public static partial class Ext { /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glActiveProgramEXT")] - public static - void ActiveProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glActiveProgramEXT((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void ActiveProgram(Int32 program); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glActiveProgramEXT")] - public static - void ActiveProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glActiveProgramEXT((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void ActiveProgram(UInt32 program); /// [requires: EXT_separate_shader_objects] /// Set the active program object for a program pipeline object @@ -140776,18 +81677,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glActiveShaderProgramEXT")] - public static - void ActiveShaderProgram(Int32 pipeline, Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glActiveShaderProgramEXT((UInt32)pipeline, (UInt32)program); - #if DEBUG - } - #endif - } + public static extern void ActiveShaderProgram(Int32 pipeline, Int32 program); /// [requires: EXT_separate_shader_objects] /// Set the active program object for a program pipeline object @@ -140804,48 +81694,15 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glActiveShaderProgramEXT")] - public static - void ActiveShaderProgram(UInt32 pipeline, UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glActiveShaderProgramEXT((UInt32)pipeline, (UInt32)program); - #if DEBUG - } - #endif - } + public static extern void ActiveShaderProgram(UInt32 pipeline, UInt32 program); /// [requires: EXT_stencil_two_side] [AutoGenerated(Category = "EXT_stencil_two_side", Version = "", EntryPoint = "glActiveStencilFaceEXT")] - public static - void ActiveStencilFace(OpenTK.Graphics.OpenGL.ExtStencilTwoSide face) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glActiveStencilFaceEXT((OpenTK.Graphics.OpenGL.ExtStencilTwoSide)face); - #if DEBUG - } - #endif - } + public static extern void ActiveStencilFace(OpenTK.Graphics.OpenGL.ExtStencilTwoSide face); /// [requires: EXT_light_texture] [AutoGenerated(Category = "EXT_light_texture", Version = "", EntryPoint = "glApplyTextureEXT")] - public static - void ApplyTexture(OpenTK.Graphics.OpenGL.ExtLightTexture mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glApplyTextureEXT((OpenTK.Graphics.OpenGL.ExtLightTexture)mode); - #if DEBUG - } - #endif - } + public static extern void ApplyTexture(OpenTK.Graphics.OpenGL.ExtLightTexture mode); /// [requires: EXT_texture_object] /// Determine if textures are loaded in texture memory @@ -140866,25 +81723,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glAreTexturesResidentEXT")] - public static - bool AreTexturesResident(Int32 n, Int32[] textures, [OutAttribute] bool[] residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - fixed (bool* residences_ptr = residences) - { - return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern bool AreTexturesResident(Int32 n, Int32[] textures, [OutAttribute] bool[] residences); /// [requires: EXT_texture_object] /// Determine if textures are loaded in texture memory @@ -140905,27 +81744,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glAreTexturesResidentEXT")] - public static - bool AreTexturesResident(Int32 n, ref Int32 textures, [OutAttribute] out bool residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - fixed (bool* residences_ptr = &residences) - { - bool retval = Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); - residences = *residences_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern bool AreTexturesResident(Int32 n, ref Int32 textures, [OutAttribute] out bool residences); /// [requires: EXT_texture_object] /// Determine if textures are loaded in texture memory @@ -140947,18 +81766,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glAreTexturesResidentEXT")] - public static - unsafe bool AreTexturesResident(Int32 n, Int32* textures, [OutAttribute] bool* residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures, (bool*)residences); - #if DEBUG - } - #endif - } + public static extern unsafe bool AreTexturesResident(Int32 n, Int32* textures, [OutAttribute] bool* residences); /// [requires: EXT_texture_object] /// Determine if textures are loaded in texture memory @@ -140980,25 +81788,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glAreTexturesResidentEXT")] - public static - bool AreTexturesResident(Int32 n, UInt32[] textures, [OutAttribute] bool[] residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - fixed (bool* residences_ptr = residences) - { - return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern bool AreTexturesResident(Int32 n, UInt32[] textures, [OutAttribute] bool[] residences); /// [requires: EXT_texture_object] /// Determine if textures are loaded in texture memory @@ -141020,27 +81810,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glAreTexturesResidentEXT")] - public static - bool AreTexturesResident(Int32 n, ref UInt32 textures, [OutAttribute] out bool residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - fixed (bool* residences_ptr = &residences) - { - bool retval = Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); - residences = *residences_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern bool AreTexturesResident(Int32 n, ref UInt32 textures, [OutAttribute] out bool residences); /// [requires: EXT_texture_object] /// Determine if textures are loaded in texture memory @@ -141062,18 +81832,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glAreTexturesResidentEXT")] - public static - unsafe bool AreTexturesResident(Int32 n, UInt32* textures, [OutAttribute] bool* residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures, (bool*)residences); - #if DEBUG - } - #endif - } + public static extern unsafe bool AreTexturesResident(Int32 n, UInt32* textures, [OutAttribute] bool* residences); /// [requires: EXT_vertex_array] /// Render a vertex using the specified vertex array element @@ -141084,18 +81843,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glArrayElementEXT")] - public static - void ArrayElement(Int32 i) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glArrayElementEXT((Int32)i); - #if DEBUG - } - #endif - } + public static extern void ArrayElement(Int32 i); /// [requires: EXT_transform_feedback] /// Start transform feedback operation @@ -141106,33 +81854,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glBeginTransformFeedbackEXT")] - public static - void BeginTransformFeedback(OpenTK.Graphics.OpenGL.ExtTransformFeedback primitiveMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginTransformFeedbackEXT((OpenTK.Graphics.OpenGL.ExtTransformFeedback)primitiveMode); - #if DEBUG - } - #endif - } + public static extern void BeginTransformFeedback(OpenTK.Graphics.OpenGL.ExtTransformFeedback primitiveMode); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glBeginVertexShaderEXT")] - public static - void BeginVertexShader() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginVertexShaderEXT(); - #if DEBUG - } - #endif - } + public static extern void BeginVertexShader(); /// [requires: EXT_transform_feedback] /// Bind a buffer object to an indexed buffer target @@ -141153,18 +81879,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glBindBufferBaseEXT")] - public static - void BindBufferBase(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, Int32 index, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferBaseEXT((OpenTK.Graphics.OpenGL.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void BindBufferBase(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, Int32 index, Int32 buffer); /// [requires: EXT_transform_feedback] /// Bind a buffer object to an indexed buffer target @@ -141186,49 +81901,16 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glBindBufferBaseEXT")] - public static - void BindBufferBase(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferBaseEXT((OpenTK.Graphics.OpenGL.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void BindBufferBase(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer); /// [requires: EXT_transform_feedback] [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glBindBufferOffsetEXT")] - public static - void BindBufferOffset(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, Int32 index, Int32 buffer, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferOffsetEXT((OpenTK.Graphics.OpenGL.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset); - #if DEBUG - } - #endif - } + public static extern void BindBufferOffset(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, Int32 index, Int32 buffer, IntPtr offset); /// [requires: EXT_transform_feedback] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glBindBufferOffsetEXT")] - public static - void BindBufferOffset(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferOffsetEXT((OpenTK.Graphics.OpenGL.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset); - #if DEBUG - } - #endif - } + public static extern void BindBufferOffset(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset); /// [requires: EXT_transform_feedback] /// Bind a range within a buffer object to an indexed buffer target @@ -141259,18 +81941,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glBindBufferRangeEXT")] - public static - void BindBufferRange(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferRangeEXT((OpenTK.Graphics.OpenGL.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } + public static extern void BindBufferRange(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size); /// [requires: EXT_transform_feedback] /// Bind a range within a buffer object to an indexed buffer target @@ -141302,18 +81973,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glBindBufferRangeEXT")] - public static - void BindBufferRange(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferRangeEXT((OpenTK.Graphics.OpenGL.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } + public static extern void BindBufferRange(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); /// [requires: EXT_gpu_shader4] /// Bind a user-defined varying out variable to a fragment shader color number @@ -141334,18 +81994,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glBindFragDataLocationEXT")] - public static - void BindFragDataLocation(Int32 program, Int32 color, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFragDataLocationEXT((UInt32)program, (UInt32)color, (String)name); - #if DEBUG - } - #endif - } + public static extern void BindFragDataLocation(Int32 program, Int32 color, String name); /// [requires: EXT_gpu_shader4] /// Bind a user-defined varying out variable to a fragment shader color number @@ -141367,18 +82016,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glBindFragDataLocationEXT")] - public static - void BindFragDataLocation(UInt32 program, UInt32 color, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFragDataLocationEXT((UInt32)program, (UInt32)color, (String)name); - #if DEBUG - } - #endif - } + public static extern void BindFragDataLocation(UInt32 program, UInt32 color, String name); /// [requires: EXT_framebuffer_object] /// Bind a framebuffer to a framebuffer target @@ -141394,18 +82032,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glBindFramebufferEXT")] - public static - void BindFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, Int32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFramebufferEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (UInt32)framebuffer); - #if DEBUG - } - #endif - } + public static extern void BindFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, Int32 framebuffer); /// [requires: EXT_framebuffer_object] /// Bind a framebuffer to a framebuffer target @@ -141422,18 +82049,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glBindFramebufferEXT")] - public static - void BindFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, UInt32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFramebufferEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (UInt32)framebuffer); - #if DEBUG - } - #endif - } + public static extern void BindFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, UInt32 framebuffer); /// [requires: EXT_shader_image_load_store] /// Bind a level of a texture to an image unit @@ -141474,18 +82090,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_shader_image_load_store", Version = "", EntryPoint = "glBindImageTextureEXT")] - public static - void BindImageTexture(Int32 index, Int32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.ExtShaderImageLoadStore access, Int32 format) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindImageTextureEXT((UInt32)index, (UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL.ExtShaderImageLoadStore)access, (Int32)format); - #if DEBUG - } - #endif - } + public static extern void BindImageTexture(Int32 index, Int32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.ExtShaderImageLoadStore access, Int32 format); /// [requires: EXT_shader_image_load_store] /// Bind a level of a texture to an image unit @@ -141527,94 +82132,28 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_shader_image_load_store", Version = "", EntryPoint = "glBindImageTextureEXT")] - public static - void BindImageTexture(UInt32 index, UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.ExtShaderImageLoadStore access, Int32 format) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindImageTextureEXT((UInt32)index, (UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL.ExtShaderImageLoadStore)access, (Int32)format); - #if DEBUG - } - #endif - } + public static extern void BindImageTexture(UInt32 index, UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.ExtShaderImageLoadStore access, Int32 format); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glBindLightParameterEXT")] - public static - Int32 BindLightParameter(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glBindLightParameterEXT((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)value); - #if DEBUG - } - #endif - } + public static extern Int32 BindLightParameter(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter value); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glBindMaterialParameterEXT")] - public static - Int32 BindMaterialParameter(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glBindMaterialParameterEXT((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)value); - #if DEBUG - } - #endif - } + public static extern Int32 BindMaterialParameter(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter value); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glBindMultiTextureEXT")] - public static - void BindMultiTexture(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindMultiTextureEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)texture); - #if DEBUG - } - #endif - } + public static extern void BindMultiTexture(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 texture); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glBindMultiTextureEXT")] - public static - void BindMultiTexture(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindMultiTextureEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)texture); - #if DEBUG - } - #endif - } + public static extern void BindMultiTexture(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glBindParameterEXT")] - public static - Int32 BindParameter(OpenTK.Graphics.OpenGL.ExtVertexShader value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glBindParameterEXT((OpenTK.Graphics.OpenGL.ExtVertexShader)value); - #if DEBUG - } - #endif - } + public static extern Int32 BindParameter(OpenTK.Graphics.OpenGL.ExtVertexShader value); /// [requires: EXT_separate_shader_objects] /// Bind a program pipeline to the current context @@ -141625,18 +82164,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glBindProgramPipelineEXT")] - public static - void BindProgramPipeline(Int32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindProgramPipelineEXT((UInt32)pipeline); - #if DEBUG - } - #endif - } + public static extern void BindProgramPipeline(Int32 pipeline); /// [requires: EXT_separate_shader_objects] /// Bind a program pipeline to the current context @@ -141648,18 +82176,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glBindProgramPipelineEXT")] - public static - void BindProgramPipeline(UInt32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindProgramPipelineEXT((UInt32)pipeline); - #if DEBUG - } - #endif - } + public static extern void BindProgramPipeline(UInt32 pipeline); /// [requires: EXT_framebuffer_object] /// Bind a renderbuffer to a renderbuffer target @@ -141675,18 +82192,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glBindRenderbufferEXT")] - public static - void BindRenderbuffer(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindRenderbufferEXT((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void BindRenderbuffer(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 renderbuffer); /// [requires: EXT_framebuffer_object] /// Bind a renderbuffer to a renderbuffer target @@ -141703,33 +82209,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glBindRenderbufferEXT")] - public static - void BindRenderbuffer(OpenTK.Graphics.OpenGL.RenderbufferTarget target, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindRenderbufferEXT((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void BindRenderbuffer(OpenTK.Graphics.OpenGL.RenderbufferTarget target, UInt32 renderbuffer); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glBindTexGenParameterEXT")] - public static - Int32 BindTexGenParameter(OpenTK.Graphics.OpenGL.TextureUnit unit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glBindTexGenParameterEXT((OpenTK.Graphics.OpenGL.TextureUnit)unit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)value); - #if DEBUG - } - #endif - } + public static extern Int32 BindTexGenParameter(OpenTK.Graphics.OpenGL.TextureUnit unit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter value); /// [requires: EXT_texture_object] /// Bind a named texture to a texturing target @@ -141745,18 +82229,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glBindTextureEXT")] - public static - void BindTexture(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTextureEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)texture); - #if DEBUG - } - #endif - } + public static extern void BindTexture(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 texture); /// [requires: EXT_texture_object] /// Bind a named texture to a texturing target @@ -141773,617 +82246,153 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glBindTextureEXT")] - public static - void BindTexture(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTextureEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)texture); - #if DEBUG - } - #endif - } + public static extern void BindTexture(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glBindTextureUnitParameterEXT")] - public static - Int32 BindTextureUnitParameter(OpenTK.Graphics.OpenGL.TextureUnit unit, OpenTK.Graphics.OpenGL.ExtVertexShader value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glBindTextureUnitParameterEXT((OpenTK.Graphics.OpenGL.TextureUnit)unit, (OpenTK.Graphics.OpenGL.ExtVertexShader)value); - #if DEBUG - } - #endif - } + public static extern Int32 BindTextureUnitParameter(OpenTK.Graphics.OpenGL.TextureUnit unit, OpenTK.Graphics.OpenGL.ExtVertexShader value); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glBindVertexShaderEXT")] - public static - void BindVertexShader(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindVertexShaderEXT((UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BindVertexShader(Int32 id); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glBindVertexShaderEXT")] - public static - void BindVertexShader(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindVertexShaderEXT((UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BindVertexShader(UInt32 id); /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3bEXT")] - public static - void Binormal3(Byte bx, Byte by, Byte bz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBinormal3bEXT((SByte)bx, (SByte)by, (SByte)bz); - #if DEBUG - } - #endif - } + public static extern void Binormal3(Byte bx, Byte by, Byte bz); /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3bEXT")] - public static - void Binormal3(SByte bx, SByte by, SByte bz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBinormal3bEXT((SByte)bx, (SByte)by, (SByte)bz); - #if DEBUG - } - #endif - } + public static extern void Binormal3(SByte bx, SByte by, SByte bz); /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3bvEXT")] - public static - void Binormal3(Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glBinormal3bvEXT((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Binormal3(Byte[] v); /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3bvEXT")] - public static - void Binormal3(ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glBinormal3bvEXT((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Binormal3(ref Byte v); /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3bvEXT")] - public static - unsafe void Binormal3(Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBinormal3bvEXT((SByte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Binormal3(Byte* v); /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3bvEXT")] - public static - void Binormal3(SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - Delegates.glBinormal3bvEXT((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Binormal3(SByte[] v); /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3bvEXT")] - public static - void Binormal3(ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - Delegates.glBinormal3bvEXT((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Binormal3(ref SByte v); /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3bvEXT")] - public static - unsafe void Binormal3(SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBinormal3bvEXT((SByte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Binormal3(SByte* v); /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3dEXT")] - public static - void Binormal3(Double bx, Double by, Double bz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBinormal3dEXT((Double)bx, (Double)by, (Double)bz); - #if DEBUG - } - #endif - } + public static extern void Binormal3(Double bx, Double by, Double bz); /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3dvEXT")] - public static - void Binormal3(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glBinormal3dvEXT((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Binormal3(Double[] v); /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3dvEXT")] - public static - void Binormal3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glBinormal3dvEXT((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Binormal3(ref Double v); /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3dvEXT")] - public static - unsafe void Binormal3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBinormal3dvEXT((Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Binormal3(Double* v); /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3fEXT")] - public static - void Binormal3(Single bx, Single by, Single bz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBinormal3fEXT((Single)bx, (Single)by, (Single)bz); - #if DEBUG - } - #endif - } + public static extern void Binormal3(Single bx, Single by, Single bz); /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3fvEXT")] - public static - void Binormal3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glBinormal3fvEXT((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Binormal3(Single[] v); /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3fvEXT")] - public static - void Binormal3(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glBinormal3fvEXT((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Binormal3(ref Single v); /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3fvEXT")] - public static - unsafe void Binormal3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBinormal3fvEXT((Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Binormal3(Single* v); /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3iEXT")] - public static - void Binormal3(Int32 bx, Int32 by, Int32 bz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBinormal3iEXT((Int32)bx, (Int32)by, (Int32)bz); - #if DEBUG - } - #endif - } + public static extern void Binormal3(Int32 bx, Int32 by, Int32 bz); /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3ivEXT")] - public static - void Binormal3(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glBinormal3ivEXT((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Binormal3(Int32[] v); /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3ivEXT")] - public static - void Binormal3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glBinormal3ivEXT((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Binormal3(ref Int32 v); /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3ivEXT")] - public static - unsafe void Binormal3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBinormal3ivEXT((Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Binormal3(Int32* v); /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3sEXT")] - public static - void Binormal3(Int16 bx, Int16 by, Int16 bz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBinormal3sEXT((Int16)bx, (Int16)by, (Int16)bz); - #if DEBUG - } - #endif - } + public static extern void Binormal3(Int16 bx, Int16 by, Int16 bz); /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3svEXT")] - public static - void Binormal3(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glBinormal3svEXT((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Binormal3(Int16[] v); /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3svEXT")] - public static - void Binormal3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glBinormal3svEXT((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Binormal3(ref Int16 v); /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormal3svEXT")] - public static - unsafe void Binormal3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBinormal3svEXT((Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Binormal3(Int16* v); /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormalPointerEXT")] - public static - void BinormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBinormalPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void BinormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer); /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormalPointerEXT")] - public static - void BinormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) + public static extern void BinormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glBinormalPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormalPointerEXT")] - public static - void BinormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) + public static extern void BinormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glBinormalPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormalPointerEXT")] - public static - void BinormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) + public static extern void BinormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glBinormalPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glBinormalPointerEXT")] - public static - void BinormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) + public static extern void BinormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glBinormalPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_blend_color] /// Set the blend color @@ -142394,18 +82403,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_blend_color", Version = "", EntryPoint = "glBlendColorEXT")] - public static - void BlendColor(Single red, Single green, Single blue, Single alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendColorEXT((Single)red, (Single)green, (Single)blue, (Single)alpha); - #if DEBUG - } - #endif - } + public static extern void BlendColor(Single red, Single green, Single blue, Single alpha); /// [requires: EXT_blend_minmax] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -142421,18 +82419,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_blend_minmax", Version = "", EntryPoint = "glBlendEquationEXT")] - public static - void BlendEquation(OpenTK.Graphics.OpenGL.BlendEquationMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationEXT((OpenTK.Graphics.OpenGL.BlendEquationMode)mode); - #if DEBUG - } - #endif - } + public static extern void BlendEquation(OpenTK.Graphics.OpenGL.BlendEquationMode mode); /// [requires: EXT_blend_minmax] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -142449,18 +82436,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use BlendEquationMode overload instead")] [AutoGenerated(Category = "EXT_blend_minmax", Version = "", EntryPoint = "glBlendEquationEXT")] - public static - void BlendEquation(OpenTK.Graphics.OpenGL.ExtBlendMinmax mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationEXT((OpenTK.Graphics.OpenGL.BlendEquationMode)mode); - #if DEBUG - } - #endif - } + public static extern void BlendEquation(OpenTK.Graphics.OpenGL.ExtBlendMinmax mode); /// [requires: EXT_blend_equation_separate] /// Set the RGB blend equation and the alpha blend equation separately @@ -142481,18 +82457,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_blend_equation_separate", Version = "", EntryPoint = "glBlendEquationSeparateEXT")] - public static - void BlendEquationSeparate(OpenTK.Graphics.OpenGL.BlendEquationModeExt modeRGB, OpenTK.Graphics.OpenGL.BlendEquationModeExt modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationSeparateEXT((OpenTK.Graphics.OpenGL.BlendEquationModeExt)modeRGB, (OpenTK.Graphics.OpenGL.BlendEquationModeExt)modeAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendEquationSeparate(OpenTK.Graphics.OpenGL.BlendEquationModeExt modeRGB, OpenTK.Graphics.OpenGL.BlendEquationModeExt modeAlpha); /// [requires: EXT_blend_equation_separate] /// Set the RGB blend equation and the alpha blend equation separately @@ -142514,18 +82479,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use BlendEquationModeExt overload instead")] [AutoGenerated(Category = "EXT_blend_equation_separate", Version = "", EntryPoint = "glBlendEquationSeparateEXT")] - public static - void BlendEquationSeparate(OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate modeRGB, OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationSeparateEXT((OpenTK.Graphics.OpenGL.BlendEquationModeExt)modeRGB, (OpenTK.Graphics.OpenGL.BlendEquationModeExt)modeAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendEquationSeparate(OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate modeRGB, OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate modeAlpha); /// [requires: EXT_blend_func_separate] /// Specify pixel arithmetic for RGB and alpha components separately @@ -142556,18 +82510,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_blend_func_separate", Version = "", EntryPoint = "glBlendFuncSeparateEXT")] - public static - void BlendFuncSeparate(OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate sfactorRGB, OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate dfactorRGB, OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate sfactorAlpha, OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate dfactorAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFuncSeparateEXT((OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate)sfactorRGB, (OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate)dfactorRGB, (OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate)sfactorAlpha, (OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate)dfactorAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendFuncSeparate(OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate sfactorRGB, OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate dfactorRGB, OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate sfactorAlpha, OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate dfactorAlpha); /// [requires: EXT_framebuffer_blit] /// Copy a block of pixels from the read framebuffer to the draw framebuffer @@ -142593,18 +82536,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_blit", Version = "", EntryPoint = "glBlitFramebufferEXT")] - public static - void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL.ClearBufferMask mask, OpenTK.Graphics.OpenGL.BlitFramebufferFilter filter) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlitFramebufferEXT((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.OpenGL.ClearBufferMask)mask, (OpenTK.Graphics.OpenGL.BlitFramebufferFilter)filter); - #if DEBUG - } - #endif - } + public static extern void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL.ClearBufferMask mask, OpenTK.Graphics.OpenGL.BlitFramebufferFilter filter); /// [requires: EXT_framebuffer_blit] /// Copy a block of pixels from the read framebuffer to the draw framebuffer @@ -142631,18 +82563,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use BlitFramebufferFilter overload instead")] [AutoGenerated(Category = "EXT_framebuffer_blit", Version = "", EntryPoint = "glBlitFramebufferEXT")] - public static - void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL.ClearBufferMask mask, OpenTK.Graphics.OpenGL.ExtFramebufferBlit filter) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlitFramebufferEXT((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.OpenGL.ClearBufferMask)mask, (OpenTK.Graphics.OpenGL.BlitFramebufferFilter)filter); - #if DEBUG - } - #endif - } + public static extern void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL.ClearBufferMask mask, OpenTK.Graphics.OpenGL.ExtFramebufferBlit filter); /// [requires: EXT_framebuffer_object] /// Check the completeness status of a framebuffer @@ -142653,584 +82574,160 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glCheckFramebufferStatusEXT")] - public static - OpenTK.Graphics.OpenGL.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.OpenGL.FramebufferTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCheckFramebufferStatusEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.OpenGL.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.OpenGL.FramebufferTarget target); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCheckNamedFramebufferStatusEXT")] - public static - OpenTK.Graphics.OpenGL.ExtDirectStateAccess CheckNamedFramebufferStatus(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCheckNamedFramebufferStatusEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferTarget)target); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.OpenGL.ExtDirectStateAccess CheckNamedFramebufferStatus(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferTarget target); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCheckNamedFramebufferStatusEXT")] - public static - OpenTK.Graphics.OpenGL.ExtDirectStateAccess CheckNamedFramebufferStatus(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCheckNamedFramebufferStatusEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferTarget)target); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.OpenGL.ExtDirectStateAccess CheckNamedFramebufferStatus(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferTarget target); /// [requires: EXT_texture_integer] [AutoGenerated(Category = "EXT_texture_integer", Version = "", EntryPoint = "glClearColorIiEXT")] - public static - void ClearColorI(Int32 red, Int32 green, Int32 blue, Int32 alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearColorIiEXT((Int32)red, (Int32)green, (Int32)blue, (Int32)alpha); - #if DEBUG - } - #endif - } + public static extern void ClearColorI(Int32 red, Int32 green, Int32 blue, Int32 alpha); /// [requires: EXT_texture_integer] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_integer", Version = "", EntryPoint = "glClearColorIuiEXT")] - public static - void ClearColorI(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearColorIuiEXT((UInt32)red, (UInt32)green, (UInt32)blue, (UInt32)alpha); - #if DEBUG - } - #endif - } + public static extern void ClearColorI(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glClearNamedBufferDataEXT")] - public static - void ClearNamedBufferData(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearNamedBufferDataEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void ClearNamedBufferData(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glClearNamedBufferDataEXT")] - public static - void ClearNamedBufferData(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[] data) + public static extern void ClearNamedBufferData(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[] data) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearNamedBufferDataEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glClearNamedBufferDataEXT")] - public static - void ClearNamedBufferData(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,] data) + public static extern void ClearNamedBufferData(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,] data) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearNamedBufferDataEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glClearNamedBufferDataEXT")] - public static - void ClearNamedBufferData(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,,] data) + public static extern void ClearNamedBufferData(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,,] data) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearNamedBufferDataEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glClearNamedBufferDataEXT")] - public static - void ClearNamedBufferData(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 data) + public static extern void ClearNamedBufferData(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 data) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearNamedBufferDataEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T4)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glClearNamedBufferDataEXT")] - public static - void ClearNamedBufferData(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearNamedBufferDataEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void ClearNamedBufferData(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glClearNamedBufferDataEXT")] - public static - void ClearNamedBufferData(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[] data) + public static extern void ClearNamedBufferData(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[] data) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearNamedBufferDataEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glClearNamedBufferDataEXT")] - public static - void ClearNamedBufferData(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,] data) + public static extern void ClearNamedBufferData(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,] data) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearNamedBufferDataEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glClearNamedBufferDataEXT")] - public static - void ClearNamedBufferData(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,,] data) + public static extern void ClearNamedBufferData(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,,] data) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearNamedBufferDataEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glClearNamedBufferDataEXT")] - public static - void ClearNamedBufferData(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 data) + public static extern void ClearNamedBufferData(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 data) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearNamedBufferDataEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T4)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glClearNamedBufferSubDataEXT")] - public static - void ClearNamedBufferSubData(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr offset, IntPtr size, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearNamedBufferSubDataEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void ClearNamedBufferSubData(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr offset, IntPtr size, IntPtr data); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glClearNamedBufferSubDataEXT")] - public static - void ClearNamedBufferSubData(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T6[] data) + public static extern void ClearNamedBufferSubData(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T6[] data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearNamedBufferSubDataEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glClearNamedBufferSubDataEXT")] - public static - void ClearNamedBufferSubData(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T6[,] data) + public static extern void ClearNamedBufferSubData(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T6[,] data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearNamedBufferSubDataEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glClearNamedBufferSubDataEXT")] - public static - void ClearNamedBufferSubData(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T6[,,] data) + public static extern void ClearNamedBufferSubData(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T6[,,] data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearNamedBufferSubDataEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glClearNamedBufferSubDataEXT")] - public static - void ClearNamedBufferSubData(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T6 data) + public static extern void ClearNamedBufferSubData(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T6 data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearNamedBufferSubDataEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T6)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glClearNamedBufferSubDataEXT")] - public static - void ClearNamedBufferSubData(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr offset, IntPtr size, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearNamedBufferSubDataEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void ClearNamedBufferSubData(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr offset, IntPtr size, IntPtr data); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glClearNamedBufferSubDataEXT")] - public static - void ClearNamedBufferSubData(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T6[] data) + public static extern void ClearNamedBufferSubData(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T6[] data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearNamedBufferSubDataEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glClearNamedBufferSubDataEXT")] - public static - void ClearNamedBufferSubData(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T6[,] data) + public static extern void ClearNamedBufferSubData(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T6[,] data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearNamedBufferSubDataEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glClearNamedBufferSubDataEXT")] - public static - void ClearNamedBufferSubData(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T6[,,] data) + public static extern void ClearNamedBufferSubData(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T6[,,] data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearNamedBufferSubDataEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glClearNamedBufferSubDataEXT")] - public static - void ClearNamedBufferSubData(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T6 data) + public static extern void ClearNamedBufferSubData(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T6 data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearNamedBufferSubDataEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T6)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glClientAttribDefaultEXT")] - public static - void ClientAttribDefault(OpenTK.Graphics.OpenGL.ClientAttribMask mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClientAttribDefaultEXT((OpenTK.Graphics.OpenGL.ClientAttribMask)mask); - #if DEBUG - } - #endif - } + public static extern void ClientAttribDefault(OpenTK.Graphics.OpenGL.ClientAttribMask mask); /// [requires: EXT_draw_buffers2] [AutoGenerated(Category = "EXT_draw_buffers2", Version = "", EntryPoint = "glColorMaskIndexedEXT")] - public static - void ColorMaskIndexed(Int32 index, bool r, bool g, bool b, bool a) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorMaskIndexedEXT((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a); - #if DEBUG - } - #endif - } + public static extern void ColorMaskIndexed(Int32 index, bool r, bool g, bool b, bool a); /// [requires: EXT_draw_buffers2] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_draw_buffers2", Version = "", EntryPoint = "glColorMaskIndexedEXT")] - public static - void ColorMaskIndexed(UInt32 index, bool r, bool g, bool b, bool a) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorMaskIndexedEXT((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a); - #if DEBUG - } - #endif - } + public static extern void ColorMaskIndexed(UInt32 index, bool r, bool g, bool b, bool a); /// [requires: EXT_vertex_array] /// Define an array of colors @@ -143256,18 +82753,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glColorPointerEXT")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, Int32 count, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, Int32 count, IntPtr pointer); /// [requires: EXT_vertex_array] /// Define an array of colors @@ -143293,27 +82779,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glColorPointerEXT")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T4[] pointer) + public static extern void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T4[] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_array] /// Define an array of colors @@ -143339,27 +82807,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glColorPointerEXT")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T4[,] pointer) + public static extern void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T4[,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_array] /// Define an array of colors @@ -143385,27 +82835,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glColorPointerEXT")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T4[,,] pointer) + public static extern void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T4[,,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_array] /// Define an array of colors @@ -143431,28 +82863,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glColorPointerEXT")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] ref T4 pointer) + public static extern void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] ref T4 pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T4)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_color_subtable] /// Respecify a portion of a color table @@ -143488,18 +82901,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_color_subtable", Version = "", EntryPoint = "glColorSubTableEXT")] - public static - void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorSubTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data); /// [requires: EXT_color_subtable] /// Respecify a portion of a color table @@ -143535,27 +82937,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_color_subtable", Version = "", EntryPoint = "glColorSubTableEXT")] - public static - void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] data) + public static extern void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] data) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glColorSubTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_color_subtable] /// Respecify a portion of a color table @@ -143591,27 +82975,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_color_subtable", Version = "", EntryPoint = "glColorSubTableEXT")] - public static - void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] data) + public static extern void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] data) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glColorSubTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_color_subtable] /// Respecify a portion of a color table @@ -143647,27 +83013,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_color_subtable", Version = "", EntryPoint = "glColorSubTableEXT")] - public static - void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] data) + public static extern void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] data) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glColorSubTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_color_subtable] /// Respecify a portion of a color table @@ -143703,28 +83051,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_color_subtable", Version = "", EntryPoint = "glColorSubTableEXT")] - public static - void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 data) + public static extern void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 data) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glColorSubTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T5)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_paletted_texture] /// Define a color lookup table @@ -143760,18 +83089,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_paletted_texture", Version = "", EntryPoint = "glColorTableEXT")] - public static - void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table); - #if DEBUG - } - #endif - } + public static extern void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table); /// [requires: EXT_paletted_texture] /// Define a color lookup table @@ -143807,27 +83125,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_paletted_texture", Version = "", EntryPoint = "glColorTableEXT")] - public static - void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] table) + public static extern void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] table) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_paletted_texture] /// Define a color lookup table @@ -143863,27 +83163,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_paletted_texture", Version = "", EntryPoint = "glColorTableEXT")] - public static - void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] table) + public static extern void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] table) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_paletted_texture] /// Define a color lookup table @@ -143919,27 +83201,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_paletted_texture", Version = "", EntryPoint = "glColorTableEXT")] - public static - void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] table) + public static extern void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] table) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_paletted_texture] /// Define a color lookup table @@ -143975,2074 +83239,543 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_paletted_texture", Version = "", EntryPoint = "glColorTableEXT")] - public static - void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 table) + public static extern void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 table) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - table = (T5)table_ptr.Target; - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] - public static - void CompressedMultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } + public static extern void CompressedMultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] - public static - void CompressedMultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] bits) + public static extern void CompressedMultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] bits) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] - public static - void CompressedMultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] bits) + public static extern void CompressedMultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] bits) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] - public static - void CompressedMultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] bits) + public static extern void CompressedMultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] bits) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] - public static - void CompressedMultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 bits) + public static extern void CompressedMultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 bits) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - bits = (T7)bits_ptr.Target; - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] - public static - void CompressedMultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } + public static extern void CompressedMultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] - public static - void CompressedMultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] bits) + public static extern void CompressedMultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] bits) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] - public static - void CompressedMultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] bits) + public static extern void CompressedMultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] bits) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] - public static - void CompressedMultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] bits) + public static extern void CompressedMultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] bits) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] - public static - void CompressedMultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 bits) + public static extern void CompressedMultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 bits) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - bits = (T8)bits_ptr.Target; - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] - public static - void CompressedMultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } + public static extern void CompressedMultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] - public static - void CompressedMultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T9[] bits) + public static extern void CompressedMultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T9[] bits) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] - public static - void CompressedMultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T9[,] bits) + public static extern void CompressedMultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T9[,] bits) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] - public static - void CompressedMultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T9[,,] bits) + public static extern void CompressedMultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T9[,,] bits) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] - public static - void CompressedMultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T9 bits) + public static extern void CompressedMultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T9 bits) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - bits = (T9)bits_ptr.Target; - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] - public static - void CompressedMultiTexSubImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedMultiTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } + public static extern void CompressedMultiTexSubImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] - public static - void CompressedMultiTexSubImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T7[] bits) + public static extern void CompressedMultiTexSubImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T7[] bits) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] - public static - void CompressedMultiTexSubImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T7[,] bits) + public static extern void CompressedMultiTexSubImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T7[,] bits) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] - public static - void CompressedMultiTexSubImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] bits) + public static extern void CompressedMultiTexSubImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] bits) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] - public static - void CompressedMultiTexSubImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T7 bits) + public static extern void CompressedMultiTexSubImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T7 bits) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - bits = (T7)bits_ptr.Target; - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] - public static - void CompressedMultiTexSubImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedMultiTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } + public static extern void CompressedMultiTexSubImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] - public static - void CompressedMultiTexSubImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T9[] bits) + public static extern void CompressedMultiTexSubImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T9[] bits) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] - public static - void CompressedMultiTexSubImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T9[,] bits) + public static extern void CompressedMultiTexSubImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T9[,] bits) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] - public static - void CompressedMultiTexSubImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T9[,,] bits) + public static extern void CompressedMultiTexSubImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T9[,,] bits) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] - public static - void CompressedMultiTexSubImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T9 bits) + public static extern void CompressedMultiTexSubImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T9 bits) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - bits = (T9)bits_ptr.Target; - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] - public static - void CompressedMultiTexSubImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedMultiTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } + public static extern void CompressedMultiTexSubImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] - public static - void CompressedMultiTexSubImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T11[] bits) + public static extern void CompressedMultiTexSubImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T11[] bits) where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] - public static - void CompressedMultiTexSubImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T11[,] bits) + public static extern void CompressedMultiTexSubImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T11[,] bits) where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] - public static - void CompressedMultiTexSubImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T11[,,] bits) + public static extern void CompressedMultiTexSubImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T11[,,] bits) where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] - public static - void CompressedMultiTexSubImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T11 bits) + public static extern void CompressedMultiTexSubImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T11 bits) where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - bits = (T11)bits_ptr.Target; - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] - public static - void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } + public static extern void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] - public static - void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] bits) + public static extern void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] bits) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] - public static - void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] bits) + public static extern void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] bits) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] - public static - void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] bits) + public static extern void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] bits) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] - public static - void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 bits) + public static extern void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 bits) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - bits = (T7)bits_ptr.Target; - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] - public static - void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } + public static extern void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] - public static - void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] bits) + public static extern void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] bits) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] - public static - void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] bits) + public static extern void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] bits) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] - public static - void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] bits) + public static extern void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] bits) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] - public static - void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 bits) + public static extern void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 bits) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - bits = (T7)bits_ptr.Target; - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] - public static - void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } + public static extern void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] - public static - void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] bits) + public static extern void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] bits) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] - public static - void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] bits) + public static extern void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] bits) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] - public static - void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] bits) + public static extern void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] bits) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] - public static - void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 bits) + public static extern void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 bits) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - bits = (T8)bits_ptr.Target; - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] - public static - void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } + public static extern void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] - public static - void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] bits) + public static extern void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] bits) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] - public static - void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] bits) + public static extern void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] bits) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] - public static - void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] bits) + public static extern void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] bits) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] - public static - void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 bits) + public static extern void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 bits) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - bits = (T8)bits_ptr.Target; - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static - void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } + public static extern void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static - void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T9[] bits) + public static extern void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T9[] bits) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static - void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T9[,] bits) + public static extern void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T9[,] bits) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static - void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T9[,,] bits) + public static extern void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T9[,,] bits) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static - void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T9 bits) + public static extern void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T9 bits) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - bits = (T9)bits_ptr.Target; - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static - void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } + public static extern void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static - void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T9[] bits) + public static extern void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T9[] bits) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static - void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T9[,] bits) + public static extern void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T9[,] bits) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static - void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T9[,,] bits) + public static extern void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T9[,,] bits) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static - void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T9 bits) + public static extern void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T9 bits) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - bits = (T9)bits_ptr.Target; - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] - public static - void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } + public static extern void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] - public static - void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T7[] bits) + public static extern void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T7[] bits) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] - public static - void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T7[,] bits) + public static extern void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T7[,] bits) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] - public static - void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] bits) + public static extern void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] bits) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] - public static - void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T7 bits) + public static extern void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T7 bits) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - bits = (T7)bits_ptr.Target; - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] - public static - void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } + public static extern void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] - public static - void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T7[] bits) + public static extern void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T7[] bits) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] - public static - void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T7[,] bits) + public static extern void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T7[,] bits) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] - public static - void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] bits) + public static extern void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] bits) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] - public static - void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T7 bits) + public static extern void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T7 bits) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - bits = (T7)bits_ptr.Target; - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] - public static - void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } + public static extern void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] - public static - void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T9[] bits) + public static extern void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T9[] bits) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] - public static - void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T9[,] bits) + public static extern void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T9[,] bits) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] - public static - void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T9[,,] bits) + public static extern void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T9[,,] bits) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] - public static - void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T9 bits) + public static extern void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T9 bits) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - bits = (T9)bits_ptr.Target; - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] - public static - void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } + public static extern void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] - public static - void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T9[] bits) + public static extern void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T9[] bits) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] - public static - void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T9[,] bits) + public static extern void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T9[,] bits) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] - public static - void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T9[,,] bits) + public static extern void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T9[,,] bits) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] - public static - void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T9 bits) + public static extern void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T9 bits) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - bits = (T9)bits_ptr.Target; - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] - public static - void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } + public static extern void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] - public static - void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T11[] bits) + public static extern void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T11[] bits) where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] - public static - void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T11[,] bits) + public static extern void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T11[,] bits) where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] - public static - void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T11[,,] bits) + public static extern void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T11[,,] bits) where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] - public static - void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T11 bits) + public static extern void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T11 bits) where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - bits = (T11)bits_ptr.Target; - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] - public static - void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } + public static extern void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] - public static - void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T11[] bits) + public static extern void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T11[] bits) where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] - public static - void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T11[,] bits) + public static extern void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T11[,] bits) where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] - public static - void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T11[,,] bits) + public static extern void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T11[,,] bits) where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] - public static - void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T11 bits) + public static extern void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T11 bits) where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - bits = (T11)bits_ptr.Target; - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_convolution] /// Define a one-dimensional convolution filter @@ -146078,18 +83811,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter1DEXT")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); - #if DEBUG - } - #endif - } + public static extern void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); /// [requires: EXT_convolution] /// Define a one-dimensional convolution filter @@ -146125,27 +83847,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter1DEXT")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] image) + public static extern void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] image) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_convolution] /// Define a one-dimensional convolution filter @@ -146181,27 +83885,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter1DEXT")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] image) + public static extern void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] image) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_convolution] /// Define a one-dimensional convolution filter @@ -146237,27 +83923,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter1DEXT")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] image) + public static extern void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] image) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_convolution] /// Define a one-dimensional convolution filter @@ -146293,28 +83961,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter1DEXT")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 image) + public static extern void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 image) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - image = (T5)image_ptr.Target; - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_convolution] /// Define a one-dimensional convolution filter @@ -146351,18 +84000,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter1DEXT")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); - #if DEBUG - } - #endif - } + public static extern void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); /// [requires: EXT_convolution] /// Define a one-dimensional convolution filter @@ -146399,27 +84037,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter1DEXT")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] image) + public static extern void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] image) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_convolution] /// Define a one-dimensional convolution filter @@ -146456,27 +84076,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter1DEXT")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] image) + public static extern void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] image) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_convolution] /// Define a one-dimensional convolution filter @@ -146513,27 +84115,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter1DEXT")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] image) + public static extern void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] image) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_convolution] /// Define a one-dimensional convolution filter @@ -146570,28 +84154,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter1DEXT")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 image) + public static extern void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 image) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - image = (T5)image_ptr.Target; - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_convolution] /// Define a two-dimensional convolution filter @@ -146632,18 +84197,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter2DEXT")] - public static - void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); - #if DEBUG - } - #endif - } + public static extern void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); /// [requires: EXT_convolution] /// Define a two-dimensional convolution filter @@ -146684,27 +84238,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter2DEXT")] - public static - void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] image) + public static extern void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] image) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_convolution] /// Define a two-dimensional convolution filter @@ -146745,27 +84281,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter2DEXT")] - public static - void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] image) + public static extern void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] image) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_convolution] /// Define a two-dimensional convolution filter @@ -146806,27 +84324,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter2DEXT")] - public static - void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,,] image) + public static extern void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,,] image) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_convolution] /// Define a two-dimensional convolution filter @@ -146867,28 +84367,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter2DEXT")] - public static - void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 image) + public static extern void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 image) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - image = (T6)image_ptr.Target; - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_convolution] /// Define a two-dimensional convolution filter @@ -146930,18 +84411,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter2DEXT")] - public static - void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); - #if DEBUG - } - #endif - } + public static extern void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); /// [requires: EXT_convolution] /// Define a two-dimensional convolution filter @@ -146983,27 +84453,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter2DEXT")] - public static - void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] image) + public static extern void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] image) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_convolution] /// Define a two-dimensional convolution filter @@ -147045,27 +84497,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter2DEXT")] - public static - void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] image) + public static extern void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] image) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_convolution] /// Define a two-dimensional convolution filter @@ -147107,27 +84541,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter2DEXT")] - public static - void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,,] image) + public static extern void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,,] image) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_convolution] /// Define a two-dimensional convolution filter @@ -147169,28 +84585,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter2DEXT")] - public static - void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 image) + public static extern void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 image) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - image = (T6)image_ptr.Target; - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_convolution] /// Set convolution parameters @@ -147214,18 +84611,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionParameterfEXT")] - public static - void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionParameterfEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Single)@params); - #if DEBUG - } - #endif - } + public static extern void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, Single @params); /// [requires: EXT_convolution] /// Set convolution parameters @@ -147250,18 +84636,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionParameterfEXT")] - public static - void ConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionParameterfEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Single)@params); - #if DEBUG - } - #endif - } + public static extern void ConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Single @params); /// [requires: EXT_convolution] /// Set convolution parameters @@ -147285,24 +84660,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionParameterfvEXT")] - public static - void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glConvolutionParameterfvEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, Single[] @params); /// [requires: EXT_convolution] /// Set convolution parameters @@ -147327,18 +84685,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionParameterfvEXT")] - public static - unsafe void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionParameterfvEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, Single* @params); /// [requires: EXT_convolution] /// Set convolution parameters @@ -147363,24 +84710,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionParameterfvEXT")] - public static - void ConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glConvolutionParameterfvEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Single[] @params); /// [requires: EXT_convolution] /// Set convolution parameters @@ -147406,18 +84736,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use ConvolutionTargetExt overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionParameterfvEXT")] - public static - unsafe void ConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionParameterfvEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Single* @params); /// [requires: EXT_convolution] /// Set convolution parameters @@ -147441,18 +84760,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionParameteriEXT")] - public static - void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionParameteriEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Int32)@params); - #if DEBUG - } - #endif - } + public static extern void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, Int32 @params); /// [requires: EXT_convolution] /// Set convolution parameters @@ -147477,18 +84785,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionParameteriEXT")] - public static - void ConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionParameteriEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Int32)@params); - #if DEBUG - } - #endif - } + public static extern void ConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Int32 @params); /// [requires: EXT_convolution] /// Set convolution parameters @@ -147512,24 +84809,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionParameterivEXT")] - public static - void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, Int32[] @params); /// [requires: EXT_convolution] /// Set convolution parameters @@ -147554,18 +84834,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionParameterivEXT")] - public static - unsafe void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, Int32* @params); /// [requires: EXT_convolution] /// Set convolution parameters @@ -147590,24 +84859,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionParameterivEXT")] - public static - void ConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Int32[] @params); /// [requires: EXT_convolution] /// Set convolution parameters @@ -147633,18 +84885,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use ConvolutionTargetExt overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionParameterivEXT")] - public static - unsafe void ConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Int32* @params); /// [requires: EXT_color_subtable] /// Respecify a portion of a color table @@ -147670,18 +84911,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_color_subtable", Version = "", EntryPoint = "glCopyColorSubTableEXT")] - public static - void CopyColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyColorSubTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)x, (Int32)y, (Int32)width); - #if DEBUG - } - #endif - } + public static extern void CopyColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width); /// [requires: EXT_convolution] /// Copy pixels into a one-dimensional convolution filter @@ -147707,18 +84937,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glCopyConvolutionFilter1DEXT")] - public static - void CopyConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); - #if DEBUG - } - #endif - } + public static extern void CopyConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); /// [requires: EXT_convolution] /// Copy pixels into a one-dimensional convolution filter @@ -147745,18 +84964,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glCopyConvolutionFilter1DEXT")] - public static - void CopyConvolutionFilter1D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); - #if DEBUG - } - #endif - } + public static extern void CopyConvolutionFilter1D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); /// [requires: EXT_convolution] /// Copy pixels into a two-dimensional convolution filter @@ -147787,18 +84995,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glCopyConvolutionFilter2DEXT")] - public static - void CopyConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void CopyConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: EXT_convolution] /// Copy pixels into a two-dimensional convolution filter @@ -147830,93 +85027,27 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glCopyConvolutionFilter2DEXT")] - public static - void CopyConvolutionFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void CopyConvolutionFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyMultiTexImage1DEXT")] - public static - void CopyMultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); - #if DEBUG - } - #endif - } + public static extern void CopyMultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyMultiTexImage2DEXT")] - public static - void CopyMultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); - #if DEBUG - } - #endif - } + public static extern void CopyMultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyMultiTexSubImage1DEXT")] - public static - void CopyMultiTexSubImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyMultiTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); - #if DEBUG - } - #endif - } + public static extern void CopyMultiTexSubImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyMultiTexSubImage2DEXT")] - public static - void CopyMultiTexSubImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyMultiTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void CopyMultiTexSubImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyMultiTexSubImage3DEXT")] - public static - void CopyMultiTexSubImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyMultiTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void CopyMultiTexSubImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: EXT_copy_texture] /// Copy pixels into a 1D texture image @@ -147952,18 +85083,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_copy_texture", Version = "", EntryPoint = "glCopyTexImage1DEXT")] - public static - void CopyTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); - #if DEBUG - } - #endif - } + public static extern void CopyTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border); /// [requires: EXT_copy_texture] /// Copy pixels into a 2D texture image @@ -148004,18 +85124,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_copy_texture", Version = "", EntryPoint = "glCopyTexImage2DEXT")] - public static - void CopyTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); - #if DEBUG - } - #endif - } + public static extern void CopyTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); /// [requires: EXT_copy_texture] /// Copy a one-dimensional texture subimage @@ -148046,18 +85155,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_copy_texture", Version = "", EntryPoint = "glCopyTexSubImage1DEXT")] - public static - void CopyTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); - #if DEBUG - } - #endif - } + public static extern void CopyTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); /// [requires: EXT_copy_texture] /// Copy a two-dimensional texture subimage @@ -148098,18 +85196,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_copy_texture", Version = "", EntryPoint = "glCopyTexSubImage2DEXT")] - public static - void CopyTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void CopyTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: EXT_copy_texture] /// Copy a three-dimensional texture subimage @@ -148155,173 +85242,52 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_copy_texture", Version = "", EntryPoint = "glCopyTexSubImage3DEXT")] - public static - void CopyTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void CopyTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyTextureImage1DEXT")] - public static - void CopyTextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); - #if DEBUG - } - #endif - } + public static extern void CopyTextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyTextureImage1DEXT")] - public static - void CopyTextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); - #if DEBUG - } - #endif - } + public static extern void CopyTextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyTextureImage2DEXT")] - public static - void CopyTextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); - #if DEBUG - } - #endif - } + public static extern void CopyTextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyTextureImage2DEXT")] - public static - void CopyTextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); - #if DEBUG - } - #endif - } + public static extern void CopyTextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyTextureSubImage1DEXT")] - public static - void CopyTextureSubImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); - #if DEBUG - } - #endif - } + public static extern void CopyTextureSubImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyTextureSubImage1DEXT")] - public static - void CopyTextureSubImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); - #if DEBUG - } - #endif - } + public static extern void CopyTextureSubImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyTextureSubImage2DEXT")] - public static - void CopyTextureSubImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void CopyTextureSubImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyTextureSubImage2DEXT")] - public static - void CopyTextureSubImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void CopyTextureSubImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyTextureSubImage3DEXT")] - public static - void CopyTextureSubImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void CopyTextureSubImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyTextureSubImage3DEXT")] - public static - void CopyTextureSubImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void CopyTextureSubImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: EXT_separate_shader_objects] /// Create a stand-alone program from an array of null-terminated source code strings @@ -148342,18 +85308,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glCreateShaderProgramEXT")] - public static - Int32 CreateShaderProgram(OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects type, String @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCreateShaderProgramEXT((OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects)type, (String)@string); - #if DEBUG - } - #endif - } + public static extern Int32 CreateShaderProgram(OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects type, String @string); /// [requires: EXT_separate_shader_objects] /// Create a stand-alone program from an array of null-terminated source code strings @@ -148374,177 +85329,42 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glCreateShaderProgramvEXT")] - public static - Int32 CreateShaderProgram(OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects type, Int32 count, String[] strings) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCreateShaderProgramvEXT((OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects)type, (Int32)count, (String[])strings); - #if DEBUG - } - #endif - } + public static extern Int32 CreateShaderProgram(OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects type, Int32 count, String[] strings); /// [requires: EXT_cull_vertex] [AutoGenerated(Category = "EXT_cull_vertex", Version = "", EntryPoint = "glCullParameterdvEXT")] - public static - void CullParameter(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glCullParameterdvEXT((OpenTK.Graphics.OpenGL.ExtCullVertex)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void CullParameter(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [OutAttribute] Double[] @params); /// [requires: EXT_cull_vertex] [AutoGenerated(Category = "EXT_cull_vertex", Version = "", EntryPoint = "glCullParameterdvEXT")] - public static - void CullParameter(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glCullParameterdvEXT((OpenTK.Graphics.OpenGL.ExtCullVertex)pname, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void CullParameter(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [OutAttribute] out Double @params); /// [requires: EXT_cull_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_cull_vertex", Version = "", EntryPoint = "glCullParameterdvEXT")] - public static - unsafe void CullParameter(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCullParameterdvEXT((OpenTK.Graphics.OpenGL.ExtCullVertex)pname, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void CullParameter(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [OutAttribute] Double* @params); /// [requires: EXT_cull_vertex] [AutoGenerated(Category = "EXT_cull_vertex", Version = "", EntryPoint = "glCullParameterfvEXT")] - public static - void CullParameter(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glCullParameterfvEXT((OpenTK.Graphics.OpenGL.ExtCullVertex)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void CullParameter(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [OutAttribute] Single[] @params); /// [requires: EXT_cull_vertex] [AutoGenerated(Category = "EXT_cull_vertex", Version = "", EntryPoint = "glCullParameterfvEXT")] - public static - void CullParameter(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glCullParameterfvEXT((OpenTK.Graphics.OpenGL.ExtCullVertex)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void CullParameter(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [OutAttribute] out Single @params); /// [requires: EXT_cull_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_cull_vertex", Version = "", EntryPoint = "glCullParameterfvEXT")] - public static - unsafe void CullParameter(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCullParameterfvEXT((OpenTK.Graphics.OpenGL.ExtCullVertex)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void CullParameter(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [OutAttribute] Single* @params); /// [requires: EXT_framebuffer_object] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersEXT")] - public static - void DeleteFramebuffer(Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* framebuffers_ptr = (UInt32*)&framebuffers; - Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffer(Int32 framebuffers); /// [requires: EXT_framebuffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersEXT")] - public static - void DeleteFramebuffer(UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* framebuffers_ptr = (UInt32*)&framebuffers; - Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffer(UInt32 framebuffers); /// [requires: EXT_framebuffer_object] /// Delete framebuffer objects @@ -148560,24 +85380,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersEXT")] - public static - void DeleteFramebuffers(Int32 n, Int32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffers(Int32 n, Int32[] framebuffers); /// [requires: EXT_framebuffer_object] /// Delete framebuffer objects @@ -148593,24 +85396,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersEXT")] - public static - void DeleteFramebuffers(Int32 n, ref Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - { - Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffers(Int32 n, ref Int32 framebuffers); /// [requires: EXT_framebuffer_object] /// Delete framebuffer objects @@ -148627,18 +85413,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersEXT")] - public static - unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers); /// [requires: EXT_framebuffer_object] /// Delete framebuffer objects @@ -148655,24 +85430,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersEXT")] - public static - void DeleteFramebuffers(Int32 n, UInt32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = framebuffers) - { - Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffers(Int32 n, UInt32[] framebuffers); /// [requires: EXT_framebuffer_object] /// Delete framebuffer objects @@ -148689,24 +85447,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersEXT")] - public static - void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = &framebuffers) - { - Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers); /// [requires: EXT_framebuffer_object] /// Delete framebuffer objects @@ -148723,59 +85464,16 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersEXT")] - public static - unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static - void DeleteProgramPipeline(Int32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* pipelines_ptr = (UInt32*)&pipelines; - Delegates.glDeleteProgramPipelinesEXT((Int32)n, (UInt32*)pipelines_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgramPipeline(Int32 pipelines); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static - void DeleteProgramPipeline(UInt32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* pipelines_ptr = (UInt32*)&pipelines; - Delegates.glDeleteProgramPipelinesEXT((Int32)n, (UInt32*)pipelines_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgramPipeline(UInt32 pipelines); /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -148791,24 +85489,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static - void DeleteProgramPipelines(Int32 n, Int32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = pipelines) - { - Delegates.glDeleteProgramPipelinesEXT((Int32)n, (UInt32*)pipelines_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgramPipelines(Int32 n, Int32[] pipelines); /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -148824,24 +85505,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static - void DeleteProgramPipelines(Int32 n, ref Int32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = &pipelines) - { - Delegates.glDeleteProgramPipelinesEXT((Int32)n, (UInt32*)pipelines_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgramPipelines(Int32 n, ref Int32 pipelines); /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -148858,18 +85522,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static - unsafe void DeleteProgramPipelines(Int32 n, Int32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteProgramPipelinesEXT((Int32)n, (UInt32*)pipelines); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteProgramPipelines(Int32 n, Int32* pipelines); /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -148886,24 +85539,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static - void DeleteProgramPipelines(Int32 n, UInt32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = pipelines) - { - Delegates.glDeleteProgramPipelinesEXT((Int32)n, (UInt32*)pipelines_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgramPipelines(Int32 n, UInt32[] pipelines); /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -148920,24 +85556,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static - void DeleteProgramPipelines(Int32 n, ref UInt32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = &pipelines) - { - Delegates.glDeleteProgramPipelinesEXT((Int32)n, (UInt32*)pipelines_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgramPipelines(Int32 n, ref UInt32 pipelines); /// [requires: EXT_separate_shader_objects] /// Delete program pipeline objects @@ -148954,59 +85573,16 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glDeleteProgramPipelinesEXT")] - public static - unsafe void DeleteProgramPipelines(Int32 n, UInt32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteProgramPipelinesEXT((Int32)n, (UInt32*)pipelines); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteProgramPipelines(Int32 n, UInt32* pipelines); /// [requires: EXT_framebuffer_object] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersEXT")] - public static - void DeleteRenderbuffer(Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* renderbuffers_ptr = (UInt32*)&renderbuffers; - Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffer(Int32 renderbuffers); /// [requires: EXT_framebuffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersEXT")] - public static - void DeleteRenderbuffer(UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* renderbuffers_ptr = (UInt32*)&renderbuffers; - Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffer(UInt32 renderbuffers); /// [requires: EXT_framebuffer_object] /// Delete renderbuffer objects @@ -149022,24 +85598,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersEXT")] - public static - void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = renderbuffers) - { - Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers); /// [requires: EXT_framebuffer_object] /// Delete renderbuffer objects @@ -149055,24 +85614,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersEXT")] - public static - void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers); /// [requires: EXT_framebuffer_object] /// Delete renderbuffer objects @@ -149089,18 +85631,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersEXT")] - public static - unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers); /// [requires: EXT_framebuffer_object] /// Delete renderbuffer objects @@ -149117,24 +85648,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersEXT")] - public static - void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = renderbuffers) - { - Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers); /// [requires: EXT_framebuffer_object] /// Delete renderbuffer objects @@ -149151,24 +85665,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersEXT")] - public static - void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers); /// [requires: EXT_framebuffer_object] /// Delete renderbuffer objects @@ -149185,59 +85682,16 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersEXT")] - public static - unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers); /// [requires: EXT_texture_object] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glDeleteTexturesEXT")] - public static - void DeleteTexture(Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* textures_ptr = (UInt32*)&textures; - Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteTexture(Int32 textures); /// [requires: EXT_texture_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glDeleteTexturesEXT")] - public static - void DeleteTexture(UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* textures_ptr = (UInt32*)&textures; - Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteTexture(UInt32 textures); /// [requires: EXT_texture_object] /// Delete named textures @@ -149253,24 +85707,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glDeleteTexturesEXT")] - public static - void DeleteTextures(Int32 n, Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTextures(Int32 n, Int32[] textures); /// [requires: EXT_texture_object] /// Delete named textures @@ -149286,24 +85723,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glDeleteTexturesEXT")] - public static - void DeleteTextures(Int32 n, ref Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTextures(Int32 n, ref Int32 textures); /// [requires: EXT_texture_object] /// Delete named textures @@ -149320,18 +85740,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glDeleteTexturesEXT")] - public static - unsafe void DeleteTextures(Int32 n, Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteTextures(Int32 n, Int32* textures); /// [requires: EXT_texture_object] /// Delete named textures @@ -149348,24 +85757,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glDeleteTexturesEXT")] - public static - void DeleteTextures(Int32 n, UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTextures(Int32 n, UInt32[] textures); /// [requires: EXT_texture_object] /// Delete named textures @@ -149382,24 +85774,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glDeleteTexturesEXT")] - public static - void DeleteTextures(Int32 n, ref UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTextures(Int32 n, ref UInt32 textures); /// [requires: EXT_texture_object] /// Delete named textures @@ -149416,316 +85791,96 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glDeleteTexturesEXT")] - public static - unsafe void DeleteTextures(Int32 n, UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteTextures(Int32 n, UInt32* textures); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glDeleteVertexShaderEXT")] - public static - void DeleteVertexShader(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteVertexShaderEXT((UInt32)id); - #if DEBUG - } - #endif - } + public static extern void DeleteVertexShader(Int32 id); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glDeleteVertexShaderEXT")] - public static - void DeleteVertexShader(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteVertexShaderEXT((UInt32)id); - #if DEBUG - } - #endif - } + public static extern void DeleteVertexShader(UInt32 id); /// [requires: EXT_depth_bounds_test] [AutoGenerated(Category = "EXT_depth_bounds_test", Version = "", EntryPoint = "glDepthBoundsEXT")] - public static - void DepthBounds(Double zmin, Double zmax) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthBoundsEXT((Double)zmin, (Double)zmax); - #if DEBUG - } - #endif - } + public static extern void DepthBounds(Double zmin, Double zmax); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glDisableClientStateiEXT")] - public static - void DisableClientState(OpenTK.Graphics.OpenGL.ArrayCap array, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableClientStateiEXT((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void DisableClientState(OpenTK.Graphics.OpenGL.ArrayCap array, Int32 index); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glDisableClientStateiEXT")] - public static - void DisableClientState(OpenTK.Graphics.OpenGL.ArrayCap array, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableClientStateiEXT((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void DisableClientState(OpenTK.Graphics.OpenGL.ArrayCap array, UInt32 index); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glDisableClientStateIndexedEXT")] - public static - void DisableClientStateIndexed(OpenTK.Graphics.OpenGL.ArrayCap array, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableClientStateIndexedEXT((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void DisableClientStateIndexed(OpenTK.Graphics.OpenGL.ArrayCap array, Int32 index); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glDisableClientStateIndexedEXT")] - public static - void DisableClientStateIndexed(OpenTK.Graphics.OpenGL.ArrayCap array, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableClientStateIndexedEXT((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void DisableClientStateIndexed(OpenTK.Graphics.OpenGL.ArrayCap array, UInt32 index); /// [requires: EXT_direct_state_access] [Obsolete("Use ArrayCap overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glDisableClientStateIndexedEXT")] - public static - void DisableClientStateIndexed(OpenTK.Graphics.OpenGL.EnableCap array, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableClientStateIndexedEXT((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void DisableClientStateIndexed(OpenTK.Graphics.OpenGL.EnableCap array, Int32 index); /// [requires: EXT_direct_state_access] [Obsolete("Use ArrayCap overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glDisableClientStateIndexedEXT")] - public static - void DisableClientStateIndexed(OpenTK.Graphics.OpenGL.EnableCap array, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableClientStateIndexedEXT((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void DisableClientStateIndexed(OpenTK.Graphics.OpenGL.EnableCap array, UInt32 index); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [Obsolete("Use IndexedEnableCap overload instead")] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glDisableIndexedEXT")] - public static - void DisableIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableIndexedEXT((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void DisableIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [Obsolete("Use IndexedEnableCap overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glDisableIndexedEXT")] - public static - void DisableIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableIndexedEXT((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void DisableIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glDisableIndexedEXT")] - public static - void DisableIndexed(OpenTK.Graphics.OpenGL.IndexedEnableCap target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableIndexedEXT((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void DisableIndexed(OpenTK.Graphics.OpenGL.IndexedEnableCap target, Int32 index); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glDisableIndexedEXT")] - public static - void DisableIndexed(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableIndexedEXT((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void DisableIndexed(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glDisableVariantClientStateEXT")] - public static - void DisableVariantClientState(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableVariantClientStateEXT((UInt32)id); - #if DEBUG - } - #endif - } + public static extern void DisableVariantClientState(Int32 id); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glDisableVariantClientStateEXT")] - public static - void DisableVariantClientState(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableVariantClientStateEXT((UInt32)id); - #if DEBUG - } - #endif - } + public static extern void DisableVariantClientState(UInt32 id); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glDisableVertexArrayAttribEXT")] - public static - void DisableVertexArrayAttrib(Int32 vaobj, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableVertexArrayAttribEXT((UInt32)vaobj, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void DisableVertexArrayAttrib(Int32 vaobj, Int32 index); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glDisableVertexArrayAttribEXT")] - public static - void DisableVertexArrayAttrib(UInt32 vaobj, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableVertexArrayAttribEXT((UInt32)vaobj, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void DisableVertexArrayAttrib(UInt32 vaobj, UInt32 index); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glDisableVertexArrayEXT")] - public static - void DisableVertexArray(Int32 vaobj, OpenTK.Graphics.OpenGL.EnableCap array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableVertexArrayEXT((UInt32)vaobj, (OpenTK.Graphics.OpenGL.EnableCap)array); - #if DEBUG - } - #endif - } + public static extern void DisableVertexArray(Int32 vaobj, OpenTK.Graphics.OpenGL.EnableCap array); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glDisableVertexArrayEXT")] - public static - void DisableVertexArray(UInt32 vaobj, OpenTK.Graphics.OpenGL.EnableCap array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableVertexArrayEXT((UInt32)vaobj, (OpenTK.Graphics.OpenGL.EnableCap)array); - #if DEBUG - } - #endif - } + public static extern void DisableVertexArray(UInt32 vaobj, OpenTK.Graphics.OpenGL.EnableCap array); /// [requires: EXT_vertex_array] /// Render primitives from array data @@ -149747,18 +85902,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glDrawArraysEXT")] - public static - void DrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArraysEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count); - #if DEBUG - } - #endif - } + public static extern void DrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count); /// [requires: EXT_vertex_array] /// Render primitives from array data @@ -149779,18 +85923,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glDrawArraysEXT")] - public static - void DrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArraysEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count); - #if DEBUG - } - #endif - } + public static extern void DrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count); /// [requires: EXT_draw_instanced] /// Draw multiple instances of a range of elements @@ -149817,18 +85950,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_draw_instanced", Version = "", EntryPoint = "glDrawArraysInstancedEXT")] - public static - void DrawArraysInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArraysInstancedEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)start, (Int32)count, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern void DrawArraysInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 count, Int32 primcount); /// [requires: EXT_draw_instanced] /// Draw multiple instances of a range of elements @@ -149854,18 +85976,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_draw_instanced", Version = "", EntryPoint = "glDrawArraysInstancedEXT")] - public static - void DrawArraysInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArraysInstancedEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)start, (Int32)count, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern void DrawArraysInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 count, Int32 primcount); /// [requires: EXT_draw_instanced] /// Draw multiple instances of a set of elements @@ -149897,18 +86008,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); /// [requires: EXT_draw_instanced] /// Draw multiple instances of a set of elements @@ -149940,27 +86040,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_instanced] /// Draw multiple instances of a set of elements @@ -149992,27 +86074,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_instanced] /// Draw multiple instances of a set of elements @@ -150044,27 +86108,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_instanced] /// Draw multiple instances of a set of elements @@ -150096,28 +86142,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_instanced] /// Draw multiple instances of a set of elements @@ -150148,18 +86175,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); /// [requires: EXT_draw_instanced] /// Draw multiple instances of a set of elements @@ -150190,27 +86206,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_instanced] /// Draw multiple instances of a set of elements @@ -150241,27 +86239,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_instanced] /// Draw multiple instances of a set of elements @@ -150292,27 +86272,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_instanced] /// Draw multiple instances of a set of elements @@ -150343,28 +86305,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_draw_instanced", Version = "", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -150401,18 +86344,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices); - #if DEBUG - } - #endif - } + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices); /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -150449,27 +86381,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -150506,27 +86420,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -150563,27 +86459,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -150620,28 +86498,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - indices = (T5)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -150679,18 +86538,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices); - #if DEBUG - } - #endif - } + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices); /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -150728,27 +86576,9 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -150786,27 +86616,9 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -150844,27 +86656,9 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -150902,28 +86696,9 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - indices = (T5)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -150959,18 +86734,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices); - #if DEBUG - } - #endif - } + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices); /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -151006,27 +86770,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -151062,27 +86808,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -151118,27 +86846,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -151174,28 +86884,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - indices = (T5)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -151232,18 +86923,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices); - #if DEBUG - } - #endif - } + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices); /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -151280,27 +86960,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -151337,27 +86999,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -151394,27 +87038,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_draw_range_elements] /// Render primitives from array data @@ -151451,28 +87077,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_draw_range_elements", Version = "", EntryPoint = "glDrawRangeElementsEXT")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - indices = (T5)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_array] /// Define an array of edge flags @@ -151488,24 +87095,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glEdgeFlagPointerEXT")] - public static - void EdgeFlagPointer(Int32 stride, Int32 count, bool[] pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* pointer_ptr = pointer) - { - Delegates.glEdgeFlagPointerEXT((Int32)stride, (Int32)count, (bool*)pointer_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void EdgeFlagPointer(Int32 stride, Int32 count, bool[] pointer); /// [requires: EXT_vertex_array] /// Define an array of edge flags @@ -151521,24 +87111,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glEdgeFlagPointerEXT")] - public static - void EdgeFlagPointer(Int32 stride, Int32 count, ref bool pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* pointer_ptr = &pointer) - { - Delegates.glEdgeFlagPointerEXT((Int32)stride, (Int32)count, (bool*)pointer_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void EdgeFlagPointer(Int32 stride, Int32 count, ref bool pointer); /// [requires: EXT_vertex_array] /// Define an array of edge flags @@ -151555,18 +87128,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glEdgeFlagPointerEXT")] - public static - unsafe void EdgeFlagPointer(Int32 stride, Int32 count, bool* pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEdgeFlagPointerEXT((Int32)stride, (Int32)count, (bool*)pointer); - #if DEBUG - } - #endif - } + public static extern unsafe void EdgeFlagPointer(Int32 stride, Int32 count, bool* pointer); /// [requires: EXT_direct_state_access] /// Enable or disable client-side capability @@ -151577,18 +87139,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glEnableClientStateiEXT")] - public static - void EnableClientState(OpenTK.Graphics.OpenGL.ArrayCap array, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableClientStateiEXT((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void EnableClientState(OpenTK.Graphics.OpenGL.ArrayCap array, Int32 index); /// [requires: EXT_direct_state_access] /// Enable or disable client-side capability @@ -151600,331 +87151,100 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glEnableClientStateiEXT")] - public static - void EnableClientState(OpenTK.Graphics.OpenGL.ArrayCap array, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableClientStateiEXT((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void EnableClientState(OpenTK.Graphics.OpenGL.ArrayCap array, UInt32 index); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glEnableClientStateIndexedEXT")] - public static - void EnableClientStateIndexed(OpenTK.Graphics.OpenGL.ArrayCap array, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableClientStateIndexedEXT((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void EnableClientStateIndexed(OpenTK.Graphics.OpenGL.ArrayCap array, Int32 index); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glEnableClientStateIndexedEXT")] - public static - void EnableClientStateIndexed(OpenTK.Graphics.OpenGL.ArrayCap array, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableClientStateIndexedEXT((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void EnableClientStateIndexed(OpenTK.Graphics.OpenGL.ArrayCap array, UInt32 index); /// [requires: EXT_direct_state_access] [Obsolete("Use ArrayCap overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glEnableClientStateIndexedEXT")] - public static - void EnableClientStateIndexed(OpenTK.Graphics.OpenGL.EnableCap array, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableClientStateIndexedEXT((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void EnableClientStateIndexed(OpenTK.Graphics.OpenGL.EnableCap array, Int32 index); /// [requires: EXT_direct_state_access] [Obsolete("Use ArrayCap overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glEnableClientStateIndexedEXT")] - public static - void EnableClientStateIndexed(OpenTK.Graphics.OpenGL.EnableCap array, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableClientStateIndexedEXT((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void EnableClientStateIndexed(OpenTK.Graphics.OpenGL.EnableCap array, UInt32 index); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [Obsolete("Use IndexedEnableCap overload instead")] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glEnableIndexedEXT")] - public static - void EnableIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableIndexedEXT((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void EnableIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [Obsolete("Use IndexedEnableCap overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glEnableIndexedEXT")] - public static - void EnableIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableIndexedEXT((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void EnableIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glEnableIndexedEXT")] - public static - void EnableIndexed(OpenTK.Graphics.OpenGL.IndexedEnableCap target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableIndexedEXT((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void EnableIndexed(OpenTK.Graphics.OpenGL.IndexedEnableCap target, Int32 index); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glEnableIndexedEXT")] - public static - void EnableIndexed(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableIndexedEXT((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void EnableIndexed(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glEnableVariantClientStateEXT")] - public static - void EnableVariantClientState(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableVariantClientStateEXT((UInt32)id); - #if DEBUG - } - #endif - } + public static extern void EnableVariantClientState(Int32 id); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glEnableVariantClientStateEXT")] - public static - void EnableVariantClientState(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableVariantClientStateEXT((UInt32)id); - #if DEBUG - } - #endif - } + public static extern void EnableVariantClientState(UInt32 id); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glEnableVertexArrayAttribEXT")] - public static - void EnableVertexArrayAttrib(Int32 vaobj, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableVertexArrayAttribEXT((UInt32)vaobj, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void EnableVertexArrayAttrib(Int32 vaobj, Int32 index); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glEnableVertexArrayAttribEXT")] - public static - void EnableVertexArrayAttrib(UInt32 vaobj, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableVertexArrayAttribEXT((UInt32)vaobj, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void EnableVertexArrayAttrib(UInt32 vaobj, UInt32 index); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glEnableVertexArrayEXT")] - public static - void EnableVertexArray(Int32 vaobj, OpenTK.Graphics.OpenGL.EnableCap array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableVertexArrayEXT((UInt32)vaobj, (OpenTK.Graphics.OpenGL.EnableCap)array); - #if DEBUG - } - #endif - } + public static extern void EnableVertexArray(Int32 vaobj, OpenTK.Graphics.OpenGL.EnableCap array); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glEnableVertexArrayEXT")] - public static - void EnableVertexArray(UInt32 vaobj, OpenTK.Graphics.OpenGL.EnableCap array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableVertexArrayEXT((UInt32)vaobj, (OpenTK.Graphics.OpenGL.EnableCap)array); - #if DEBUG - } - #endif - } + public static extern void EnableVertexArray(UInt32 vaobj, OpenTK.Graphics.OpenGL.EnableCap array); /// [requires: EXT_transform_feedback] [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glEndTransformFeedbackEXT")] - public static - void EndTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndTransformFeedbackEXT(); - #if DEBUG - } - #endif - } + public static extern void EndTransformFeedback(); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glEndVertexShaderEXT")] - public static - void EndVertexShader() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndVertexShaderEXT(); - #if DEBUG - } - #endif - } + public static extern void EndVertexShader(); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glExtractComponentEXT")] - public static - void ExtractComponent(Int32 res, Int32 src, Int32 num) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtractComponentEXT((UInt32)res, (UInt32)src, (UInt32)num); - #if DEBUG - } - #endif - } + public static extern void ExtractComponent(Int32 res, Int32 src, Int32 num); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glExtractComponentEXT")] - public static - void ExtractComponent(UInt32 res, UInt32 src, UInt32 num) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtractComponentEXT((UInt32)res, (UInt32)src, (UInt32)num); - #if DEBUG - } - #endif - } + public static extern void ExtractComponent(UInt32 res, UInt32 src, UInt32 num); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFlushMappedNamedBufferRangeEXT")] - public static - void FlushMappedNamedBufferRange(Int32 buffer, IntPtr offset, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFlushMappedNamedBufferRangeEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)length); - #if DEBUG - } - #endif - } + public static extern void FlushMappedNamedBufferRange(Int32 buffer, IntPtr offset, IntPtr length); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFlushMappedNamedBufferRangeEXT")] - public static - void FlushMappedNamedBufferRange(UInt32 buffer, IntPtr offset, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFlushMappedNamedBufferRangeEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)length); - #if DEBUG - } - #endif - } + public static extern void FlushMappedNamedBufferRange(UInt32 buffer, IntPtr offset, IntPtr length); /// [requires: EXT_fog_coord] /// Set the current fog coordinates @@ -151935,18 +87255,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_fog_coord", Version = "", EntryPoint = "glFogCoorddEXT")] - public static - void FogCoord(Double coord) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogCoorddEXT((Double)coord); - #if DEBUG - } - #endif - } + public static extern void FogCoord(Double coord); /// [requires: EXT_fog_coord] /// Set the current fog coordinates @@ -151958,18 +87267,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_fog_coord", Version = "", EntryPoint = "glFogCoorddvEXT")] - public static - unsafe void FogCoord(Double* coord) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogCoorddvEXT((Double*)coord); - #if DEBUG - } - #endif - } + public static extern unsafe void FogCoord(Double* coord); /// [requires: EXT_fog_coord] /// Set the current fog coordinates @@ -151980,18 +87278,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_fog_coord", Version = "", EntryPoint = "glFogCoordfEXT")] - public static - void FogCoord(Single coord) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogCoordfEXT((Single)coord); - #if DEBUG - } - #endif - } + public static extern void FogCoord(Single coord); /// [requires: EXT_fog_coord] /// Set the current fog coordinates @@ -152003,18 +87290,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_fog_coord", Version = "", EntryPoint = "glFogCoordfvEXT")] - public static - unsafe void FogCoord(Single* coord) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogCoordfvEXT((Single*)coord); - #if DEBUG - } - #endif - } + public static extern unsafe void FogCoord(Single* coord); /// [requires: EXT_fog_coord] /// Define an array of fog coordinates @@ -152036,18 +87312,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use FogPointerTypeExt overload instead")] [AutoGenerated(Category = "EXT_fog_coord", Version = "", EntryPoint = "glFogCoordPointerEXT")] - public static - void FogCoordPointer(OpenTK.Graphics.OpenGL.ExtFogCoord type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogCoordPointerEXT((OpenTK.Graphics.OpenGL.FogPointerTypeExt)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void FogCoordPointer(OpenTK.Graphics.OpenGL.ExtFogCoord type, Int32 stride, IntPtr pointer); /// [requires: EXT_fog_coord] /// Define an array of fog coordinates @@ -152069,27 +87334,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use FogPointerTypeExt overload instead")] [AutoGenerated(Category = "EXT_fog_coord", Version = "", EntryPoint = "glFogCoordPointerEXT")] - public static - void FogCoordPointer(OpenTK.Graphics.OpenGL.ExtFogCoord type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) + public static extern void FogCoordPointer(OpenTK.Graphics.OpenGL.ExtFogCoord type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFogCoordPointerEXT((OpenTK.Graphics.OpenGL.FogPointerTypeExt)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_fog_coord] /// Define an array of fog coordinates @@ -152111,27 +87358,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use FogPointerTypeExt overload instead")] [AutoGenerated(Category = "EXT_fog_coord", Version = "", EntryPoint = "glFogCoordPointerEXT")] - public static - void FogCoordPointer(OpenTK.Graphics.OpenGL.ExtFogCoord type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) + public static extern void FogCoordPointer(OpenTK.Graphics.OpenGL.ExtFogCoord type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFogCoordPointerEXT((OpenTK.Graphics.OpenGL.FogPointerTypeExt)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_fog_coord] /// Define an array of fog coordinates @@ -152153,27 +87382,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use FogPointerTypeExt overload instead")] [AutoGenerated(Category = "EXT_fog_coord", Version = "", EntryPoint = "glFogCoordPointerEXT")] - public static - void FogCoordPointer(OpenTK.Graphics.OpenGL.ExtFogCoord type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) + public static extern void FogCoordPointer(OpenTK.Graphics.OpenGL.ExtFogCoord type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFogCoordPointerEXT((OpenTK.Graphics.OpenGL.FogPointerTypeExt)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_fog_coord] /// Define an array of fog coordinates @@ -152195,28 +87406,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use FogPointerTypeExt overload instead")] [AutoGenerated(Category = "EXT_fog_coord", Version = "", EntryPoint = "glFogCoordPointerEXT")] - public static - void FogCoordPointer(OpenTK.Graphics.OpenGL.ExtFogCoord type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) + public static extern void FogCoordPointer(OpenTK.Graphics.OpenGL.ExtFogCoord type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFogCoordPointerEXT((OpenTK.Graphics.OpenGL.FogPointerTypeExt)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_fog_coord] /// Define an array of fog coordinates @@ -152237,18 +87429,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_fog_coord", Version = "", EntryPoint = "glFogCoordPointerEXT")] - public static - void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerTypeExt type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogCoordPointerEXT((OpenTK.Graphics.OpenGL.FogPointerTypeExt)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerTypeExt type, Int32 stride, IntPtr pointer); /// [requires: EXT_fog_coord] /// Define an array of fog coordinates @@ -152269,27 +87450,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_fog_coord", Version = "", EntryPoint = "glFogCoordPointerEXT")] - public static - void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerTypeExt type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) + public static extern void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerTypeExt type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFogCoordPointerEXT((OpenTK.Graphics.OpenGL.FogPointerTypeExt)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_fog_coord] /// Define an array of fog coordinates @@ -152310,27 +87473,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_fog_coord", Version = "", EntryPoint = "glFogCoordPointerEXT")] - public static - void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerTypeExt type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) + public static extern void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerTypeExt type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFogCoordPointerEXT((OpenTK.Graphics.OpenGL.FogPointerTypeExt)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_fog_coord] /// Define an array of fog coordinates @@ -152351,27 +87496,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_fog_coord", Version = "", EntryPoint = "glFogCoordPointerEXT")] - public static - void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerTypeExt type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) + public static extern void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerTypeExt type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFogCoordPointerEXT((OpenTK.Graphics.OpenGL.FogPointerTypeExt)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_fog_coord] /// Define an array of fog coordinates @@ -152392,208 +87519,55 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_fog_coord", Version = "", EntryPoint = "glFogCoordPointerEXT")] - public static - void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerTypeExt type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) + public static extern void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerTypeExt type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFogCoordPointerEXT((OpenTK.Graphics.OpenGL.FogPointerTypeExt)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFramebufferDrawBufferEXT")] - public static - void FramebufferDrawBuffer(Int32 framebuffer, OpenTK.Graphics.OpenGL.DrawBufferMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferDrawBufferEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.DrawBufferMode)mode); - #if DEBUG - } - #endif - } + public static extern void FramebufferDrawBuffer(Int32 framebuffer, OpenTK.Graphics.OpenGL.DrawBufferMode mode); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFramebufferDrawBufferEXT")] - public static - void FramebufferDrawBuffer(UInt32 framebuffer, OpenTK.Graphics.OpenGL.DrawBufferMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferDrawBufferEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.DrawBufferMode)mode); - #if DEBUG - } - #endif - } + public static extern void FramebufferDrawBuffer(UInt32 framebuffer, OpenTK.Graphics.OpenGL.DrawBufferMode mode); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] - public static - void FramebufferDrawBuffers(Int32 framebuffer, Int32 n, OpenTK.Graphics.OpenGL.DrawBufferMode[] bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.DrawBufferMode* bufs_ptr = bufs) - { - Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.OpenGL.DrawBufferMode*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void FramebufferDrawBuffers(Int32 framebuffer, Int32 n, OpenTK.Graphics.OpenGL.DrawBufferMode[] bufs); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] - public static - void FramebufferDrawBuffers(Int32 framebuffer, Int32 n, ref OpenTK.Graphics.OpenGL.DrawBufferMode bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.DrawBufferMode* bufs_ptr = &bufs) - { - Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.OpenGL.DrawBufferMode*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void FramebufferDrawBuffers(Int32 framebuffer, Int32 n, ref OpenTK.Graphics.OpenGL.DrawBufferMode bufs); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] - public static - unsafe void FramebufferDrawBuffers(Int32 framebuffer, Int32 n, OpenTK.Graphics.OpenGL.DrawBufferMode* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.OpenGL.DrawBufferMode*)bufs); - #if DEBUG - } - #endif - } + public static extern unsafe void FramebufferDrawBuffers(Int32 framebuffer, Int32 n, OpenTK.Graphics.OpenGL.DrawBufferMode* bufs); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] - public static - void FramebufferDrawBuffers(UInt32 framebuffer, Int32 n, OpenTK.Graphics.OpenGL.DrawBufferMode[] bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.DrawBufferMode* bufs_ptr = bufs) - { - Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.OpenGL.DrawBufferMode*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void FramebufferDrawBuffers(UInt32 framebuffer, Int32 n, OpenTK.Graphics.OpenGL.DrawBufferMode[] bufs); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] - public static - void FramebufferDrawBuffers(UInt32 framebuffer, Int32 n, ref OpenTK.Graphics.OpenGL.DrawBufferMode bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.DrawBufferMode* bufs_ptr = &bufs) - { - Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.OpenGL.DrawBufferMode*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void FramebufferDrawBuffers(UInt32 framebuffer, Int32 n, ref OpenTK.Graphics.OpenGL.DrawBufferMode bufs); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] - public static - unsafe void FramebufferDrawBuffers(UInt32 framebuffer, Int32 n, OpenTK.Graphics.OpenGL.DrawBufferMode* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.OpenGL.DrawBufferMode*)bufs); - #if DEBUG - } - #endif - } + public static extern unsafe void FramebufferDrawBuffers(UInt32 framebuffer, Int32 n, OpenTK.Graphics.OpenGL.DrawBufferMode* bufs); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFramebufferReadBufferEXT")] - public static - void FramebufferReadBuffer(Int32 framebuffer, OpenTK.Graphics.OpenGL.ReadBufferMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferReadBufferEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ReadBufferMode)mode); - #if DEBUG - } - #endif - } + public static extern void FramebufferReadBuffer(Int32 framebuffer, OpenTK.Graphics.OpenGL.ReadBufferMode mode); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glFramebufferReadBufferEXT")] - public static - void FramebufferReadBuffer(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ReadBufferMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferReadBufferEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ReadBufferMode)mode); - #if DEBUG - } - #endif - } + public static extern void FramebufferReadBuffer(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ReadBufferMode mode); /// [requires: EXT_framebuffer_object] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -152619,18 +87593,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glFramebufferRenderbufferEXT")] - public static - void FramebufferRenderbuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferRenderbufferEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void FramebufferRenderbuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, Int32 renderbuffer); /// [requires: EXT_framebuffer_object] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -152657,111 +87620,34 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glFramebufferRenderbufferEXT")] - public static - void FramebufferRenderbuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferRenderbufferEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void FramebufferRenderbuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); /// [requires: EXT_framebuffer_object] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glFramebufferTexture1DEXT")] - public static - void FramebufferTexture1D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture1DEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture1D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, Int32 texture, Int32 level); /// [requires: EXT_framebuffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glFramebufferTexture1DEXT")] - public static - void FramebufferTexture1D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture1DEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture1D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); /// [requires: EXT_framebuffer_object] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glFramebufferTexture2DEXT")] - public static - void FramebufferTexture2D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2DEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture2D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, Int32 texture, Int32 level); /// [requires: EXT_framebuffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glFramebufferTexture2DEXT")] - public static - void FramebufferTexture2D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2DEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture2D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); /// [requires: EXT_framebuffer_object] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glFramebufferTexture3DEXT")] - public static - void FramebufferTexture3D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, Int32 texture, Int32 level, Int32 zoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture3DEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture3D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, Int32 texture, Int32 level, Int32 zoffset); /// [requires: EXT_framebuffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glFramebufferTexture3DEXT")] - public static - void FramebufferTexture3D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture3DEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture3D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset); /// [requires: NV_geometry_program4] /// Attach a level of a texture object as a logical buffer to the currently bound framebuffer object @@ -152792,18 +87678,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_geometry_program4", Version = "", EntryPoint = "glFramebufferTextureEXT")] - public static - void FramebufferTexture(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTextureEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level); /// [requires: NV_geometry_program4] /// Attach a level of a texture object as a logical buffer to the currently bound framebuffer object @@ -152835,18 +87710,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_geometry_program4", Version = "", EntryPoint = "glFramebufferTextureEXT")] - public static - void FramebufferTexture(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTextureEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level); /// [requires: NV_geometry_program4] /// Attach a face of a cube map texture as a logical buffer to the currently bound framebuffer @@ -152877,18 +87741,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_geometry_program4", Version = "", EntryPoint = "glFramebufferTextureFaceEXT")] - public static - void FramebufferTextureFace(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTextureFaceEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.TextureTarget)face); - #if DEBUG - } - #endif - } + public static extern void FramebufferTextureFace(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face); /// [requires: NV_geometry_program4] /// Attach a face of a cube map texture as a logical buffer to the currently bound framebuffer @@ -152920,18 +87773,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_geometry_program4", Version = "", EntryPoint = "glFramebufferTextureFaceEXT")] - public static - void FramebufferTextureFace(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTextureFaceEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.TextureTarget)face); - #if DEBUG - } - #endif - } + public static extern void FramebufferTextureFace(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face); /// [requires: NV_geometry_program4] /// Attach a single layer of a texture to a framebuffer @@ -152962,18 +87804,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_geometry_program4", Version = "", EntryPoint = "glFramebufferTextureLayerEXT")] - public static - void FramebufferTextureLayer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTextureLayerEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); - #if DEBUG - } - #endif - } + public static extern void FramebufferTextureLayer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer); /// [requires: NV_geometry_program4] /// Attach a single layer of a texture to a framebuffer @@ -153005,18 +87836,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_geometry_program4", Version = "", EntryPoint = "glFramebufferTextureLayerEXT")] - public static - void FramebufferTextureLayer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTextureLayerEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); - #if DEBUG - } - #endif - } + public static extern void FramebufferTextureLayer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); /// [requires: EXT_framebuffer_object] /// Generate mipmaps for a specified texture target @@ -153027,86 +87847,24 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGenerateMipmapEXT")] - public static - void GenerateMipmap(OpenTK.Graphics.OpenGL.GenerateMipmapTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenerateMipmapEXT((OpenTK.Graphics.OpenGL.GenerateMipmapTarget)target); - #if DEBUG - } - #endif - } + public static extern void GenerateMipmap(OpenTK.Graphics.OpenGL.GenerateMipmapTarget target); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGenerateMultiTexMipmapEXT")] - public static - void GenerateMultiTexMipmap(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenerateMultiTexMipmapEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target); - #if DEBUG - } - #endif - } + public static extern void GenerateMultiTexMipmap(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGenerateTextureMipmapEXT")] - public static - void GenerateTextureMipmap(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenerateTextureMipmapEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target); - #if DEBUG - } - #endif - } + public static extern void GenerateTextureMipmap(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGenerateTextureMipmapEXT")] - public static - void GenerateTextureMipmap(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenerateTextureMipmapEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target); - #if DEBUG - } - #endif - } + public static extern void GenerateTextureMipmap(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target); /// [requires: EXT_framebuffer_object] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGenFramebuffersEXT")] - public static - Int32 GenFramebuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* framebuffers_ptr = &retval; - Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenFramebuffer(); /// [requires: EXT_framebuffer_object] /// Generate framebuffer object names @@ -153122,24 +87880,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGenFramebuffersEXT")] - public static - void GenFramebuffers(Int32 n, [OutAttribute] Int32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenFramebuffers(Int32 n, [OutAttribute] Int32[] framebuffers); /// [requires: EXT_framebuffer_object] /// Generate framebuffer object names @@ -153155,25 +87896,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGenFramebuffersEXT")] - public static - void GenFramebuffers(Int32 n, [OutAttribute] out Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - { - Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); - framebuffers = *framebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenFramebuffers(Int32 n, [OutAttribute] out Int32 framebuffers); /// [requires: EXT_framebuffer_object] /// Generate framebuffer object names @@ -153190,18 +87913,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGenFramebuffersEXT")] - public static - unsafe void GenFramebuffers(Int32 n, [OutAttribute] Int32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenFramebuffers(Int32 n, [OutAttribute] Int32* framebuffers); /// [requires: EXT_framebuffer_object] /// Generate framebuffer object names @@ -153218,24 +87930,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGenFramebuffersEXT")] - public static - void GenFramebuffers(Int32 n, [OutAttribute] UInt32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = framebuffers) - { - Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenFramebuffers(Int32 n, [OutAttribute] UInt32[] framebuffers); /// [requires: EXT_framebuffer_object] /// Generate framebuffer object names @@ -153252,25 +87947,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGenFramebuffersEXT")] - public static - void GenFramebuffers(Int32 n, [OutAttribute] out UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = &framebuffers) - { - Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); - framebuffers = *framebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenFramebuffers(Int32 n, [OutAttribute] out UInt32 framebuffers); /// [requires: EXT_framebuffer_object] /// Generate framebuffer object names @@ -153287,40 +87964,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGenFramebuffersEXT")] - public static - unsafe void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static - Int32 GenProgramPipeline() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* pipelines_ptr = &retval; - Delegates.glGenProgramPipelinesEXT((Int32)n, (UInt32*)pipelines_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenProgramPipeline(); /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -153336,24 +87984,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static - void GenProgramPipelines(Int32 n, [OutAttribute] Int32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = pipelines) - { - Delegates.glGenProgramPipelinesEXT((Int32)n, (UInt32*)pipelines_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] Int32[] pipelines); /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -153369,25 +88000,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static - void GenProgramPipelines(Int32 n, [OutAttribute] out Int32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = &pipelines) - { - Delegates.glGenProgramPipelinesEXT((Int32)n, (UInt32*)pipelines_ptr); - pipelines = *pipelines_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] out Int32 pipelines); /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -153404,18 +88017,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static - unsafe void GenProgramPipelines(Int32 n, [OutAttribute] Int32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenProgramPipelinesEXT((Int32)n, (UInt32*)pipelines); - #if DEBUG - } - #endif - } + public static extern unsafe void GenProgramPipelines(Int32 n, [OutAttribute] Int32* pipelines); /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -153432,24 +88034,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static - void GenProgramPipelines(Int32 n, [OutAttribute] UInt32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = pipelines) - { - Delegates.glGenProgramPipelinesEXT((Int32)n, (UInt32*)pipelines_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] UInt32[] pipelines); /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -153466,25 +88051,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static - void GenProgramPipelines(Int32 n, [OutAttribute] out UInt32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = &pipelines) - { - Delegates.glGenProgramPipelinesEXT((Int32)n, (UInt32*)pipelines_ptr); - pipelines = *pipelines_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] out UInt32 pipelines); /// [requires: EXT_separate_shader_objects] /// Reserve program pipeline object names @@ -153501,40 +88068,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGenProgramPipelinesEXT")] - public static - unsafe void GenProgramPipelines(Int32 n, [OutAttribute] UInt32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenProgramPipelinesEXT((Int32)n, (UInt32*)pipelines); - #if DEBUG - } - #endif - } + public static extern unsafe void GenProgramPipelines(Int32 n, [OutAttribute] UInt32* pipelines); /// [requires: EXT_framebuffer_object] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGenRenderbuffersEXT")] - public static - Int32 GenRenderbuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* renderbuffers_ptr = &retval; - Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenRenderbuffer(); /// [requires: EXT_framebuffer_object] /// Generate renderbuffer object names @@ -153550,24 +88088,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGenRenderbuffersEXT")] - public static - void GenRenderbuffers(Int32 n, [OutAttribute] Int32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = renderbuffers) - { - Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] Int32[] renderbuffers); /// [requires: EXT_framebuffer_object] /// Generate renderbuffer object names @@ -153583,25 +88104,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGenRenderbuffersEXT")] - public static - void GenRenderbuffers(Int32 n, [OutAttribute] out Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); - renderbuffers = *renderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] out Int32 renderbuffers); /// [requires: EXT_framebuffer_object] /// Generate renderbuffer object names @@ -153618,18 +88121,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGenRenderbuffersEXT")] - public static - unsafe void GenRenderbuffers(Int32 n, [OutAttribute] Int32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenRenderbuffers(Int32 n, [OutAttribute] Int32* renderbuffers); /// [requires: EXT_framebuffer_object] /// Generate renderbuffer object names @@ -153646,24 +88138,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGenRenderbuffersEXT")] - public static - void GenRenderbuffers(Int32 n, [OutAttribute] UInt32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = renderbuffers) - { - Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] UInt32[] renderbuffers); /// [requires: EXT_framebuffer_object] /// Generate renderbuffer object names @@ -153680,25 +88155,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGenRenderbuffersEXT")] - public static - void GenRenderbuffers(Int32 n, [OutAttribute] out UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); - renderbuffers = *renderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] out UInt32 renderbuffers); /// [requires: EXT_framebuffer_object] /// Generate renderbuffer object names @@ -153715,71 +88172,20 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGenRenderbuffersEXT")] - public static - unsafe void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGenSymbolsEXT")] - public static - Int32 GenSymbol(OpenTK.Graphics.OpenGL.ExtVertexShader datatype, OpenTK.Graphics.OpenGL.ExtVertexShader storagetype, OpenTK.Graphics.OpenGL.ExtVertexShader range, Int32 components) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGenSymbolsEXT((OpenTK.Graphics.OpenGL.ExtVertexShader)datatype, (OpenTK.Graphics.OpenGL.ExtVertexShader)storagetype, (OpenTK.Graphics.OpenGL.ExtVertexShader)range, (UInt32)components); - #if DEBUG - } - #endif - } + public static extern Int32 GenSymbol(OpenTK.Graphics.OpenGL.ExtVertexShader datatype, OpenTK.Graphics.OpenGL.ExtVertexShader storagetype, OpenTK.Graphics.OpenGL.ExtVertexShader range, Int32 components); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGenSymbolsEXT")] - public static - Int32 GenSymbol(OpenTK.Graphics.OpenGL.ExtVertexShader datatype, OpenTK.Graphics.OpenGL.ExtVertexShader storagetype, OpenTK.Graphics.OpenGL.ExtVertexShader range, UInt32 components) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGenSymbolsEXT((OpenTK.Graphics.OpenGL.ExtVertexShader)datatype, (OpenTK.Graphics.OpenGL.ExtVertexShader)storagetype, (OpenTK.Graphics.OpenGL.ExtVertexShader)range, (UInt32)components); - #if DEBUG - } - #endif - } + public static extern Int32 GenSymbol(OpenTK.Graphics.OpenGL.ExtVertexShader datatype, OpenTK.Graphics.OpenGL.ExtVertexShader storagetype, OpenTK.Graphics.OpenGL.ExtVertexShader range, UInt32 components); /// [requires: EXT_texture_object] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glGenTexturesEXT")] - public static - Int32 GenTexture() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* textures_ptr = &retval; - Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenTexture(); /// [requires: EXT_texture_object] /// Generate texture names @@ -153795,24 +88201,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glGenTexturesEXT")] - public static - void GenTextures(Int32 n, [OutAttribute] Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenTextures(Int32 n, [OutAttribute] Int32[] textures); /// [requires: EXT_texture_object] /// Generate texture names @@ -153828,25 +88217,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glGenTexturesEXT")] - public static - void GenTextures(Int32 n, [OutAttribute] out Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures_ptr); - textures = *textures_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenTextures(Int32 n, [OutAttribute] out Int32 textures); /// [requires: EXT_texture_object] /// Generate texture names @@ -153863,18 +88234,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glGenTexturesEXT")] - public static - unsafe void GenTextures(Int32 n, [OutAttribute] Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures); - #if DEBUG - } - #endif - } + public static extern unsafe void GenTextures(Int32 n, [OutAttribute] Int32* textures); /// [requires: EXT_texture_object] /// Generate texture names @@ -153891,24 +88251,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glGenTexturesEXT")] - public static - void GenTextures(Int32 n, [OutAttribute] UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenTextures(Int32 n, [OutAttribute] UInt32[] textures); /// [requires: EXT_texture_object] /// Generate texture names @@ -153925,25 +88268,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glGenTexturesEXT")] - public static - void GenTextures(Int32 n, [OutAttribute] out UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures_ptr); - textures = *textures_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenTextures(Int32 n, [OutAttribute] out UInt32 textures); /// [requires: EXT_texture_object] /// Generate texture names @@ -153960,295 +88285,78 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glGenTexturesEXT")] - public static - unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures); - #if DEBUG - } - #endif - } + public static extern unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGenVertexShadersEXT")] - public static - Int32 GenVertexShaders(Int32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGenVertexShadersEXT((UInt32)range); - #if DEBUG - } - #endif - } + public static extern Int32 GenVertexShaders(Int32 range); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGenVertexShadersEXT")] - public static - Int32 GenVertexShaders(UInt32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGenVertexShadersEXT((UInt32)range); - #if DEBUG - } - #endif - } + public static extern Int32 GenVertexShaders(UInt32 range); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetBooleanIndexedvEXT")] - public static - void GetBooleanIndexed(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetBooleanIndexed(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] bool[] data); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetBooleanIndexedvEXT")] - public static - void GetBooleanIndexed(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] out bool data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (bool*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetBooleanIndexed(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] out bool data); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetBooleanIndexedvEXT")] - public static - unsafe void GetBooleanIndexed(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (bool*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetBooleanIndexed(OpenTK.Graphics.OpenGL.All target, Int32 index, [OutAttribute] bool* data); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetBooleanIndexedvEXT")] - public static - void GetBooleanIndexed(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetBooleanIndexed(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] bool[] data); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetBooleanIndexedvEXT")] - public static - void GetBooleanIndexed(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] out bool data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (bool*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetBooleanIndexed(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] out bool data); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetBooleanIndexedvEXT")] - public static - unsafe void GetBooleanIndexed(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (bool*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetBooleanIndexed(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] bool* data); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [Obsolete("Use All overload instead")] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetBooleanIndexedvEXT")] - public static - void GetBooleanIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index, [OutAttribute] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetBooleanIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index, [OutAttribute] bool[] data); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [Obsolete("Use All overload instead")] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetBooleanIndexedvEXT")] - public static - void GetBooleanIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index, [OutAttribute] out bool data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (bool*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetBooleanIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index, [OutAttribute] out bool data); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [Obsolete("Use All overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetBooleanIndexedvEXT")] - public static - unsafe void GetBooleanIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (bool*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetBooleanIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index, [OutAttribute] bool* data); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [Obsolete("Use All overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetBooleanIndexedvEXT")] - public static - void GetBooleanIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index, [OutAttribute] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetBooleanIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index, [OutAttribute] bool[] data); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [Obsolete("Use All overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetBooleanIndexedvEXT")] - public static - void GetBooleanIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index, [OutAttribute] out bool data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (bool*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetBooleanIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index, [OutAttribute] out bool data); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [Obsolete("Use All overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetBooleanIndexedvEXT")] - public static - unsafe void GetBooleanIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (bool*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetBooleanIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index, [OutAttribute] bool* data); /// [requires: EXT_paletted_texture] /// Retrieve contents of a color lookup table @@ -154274,18 +88382,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_paletted_texture", Version = "", EntryPoint = "glGetColorTableEXT")] - public static - void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetColorTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr data); /// [requires: EXT_paletted_texture] /// Retrieve contents of a color lookup table @@ -154311,27 +88408,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_paletted_texture", Version = "", EntryPoint = "glGetColorTableEXT")] - public static - void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] data) + public static extern void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetColorTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_paletted_texture] /// Retrieve contents of a color lookup table @@ -154357,27 +88436,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_paletted_texture", Version = "", EntryPoint = "glGetColorTableEXT")] - public static - void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] data) + public static extern void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetColorTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_paletted_texture] /// Retrieve contents of a color lookup table @@ -154403,27 +88464,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_paletted_texture", Version = "", EntryPoint = "glGetColorTableEXT")] - public static - void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,,] data) + public static extern void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetColorTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_paletted_texture] /// Retrieve contents of a color lookup table @@ -154449,28 +88492,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_paletted_texture", Version = "", EntryPoint = "glGetColorTableEXT")] - public static - void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 data) + public static extern void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetColorTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T3)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_paletted_texture] /// Get color lookup table parameters @@ -154491,24 +88515,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_paletted_texture", Version = "", EntryPoint = "glGetColorTableParameterfvEXT")] - public static - void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetColorTableParameterfvEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Single[] @params); /// [requires: EXT_paletted_texture] /// Get color lookup table parameters @@ -154529,25 +88536,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_paletted_texture", Version = "", EntryPoint = "glGetColorTableParameterfvEXT")] - public static - void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetColorTableParameterfvEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] out Single @params); /// [requires: EXT_paletted_texture] /// Get color lookup table parameters @@ -154569,18 +88558,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_paletted_texture", Version = "", EntryPoint = "glGetColorTableParameterfvEXT")] - public static - unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetColorTableParameterfvEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Single* @params); /// [requires: EXT_paletted_texture] /// Get color lookup table parameters @@ -154601,24 +88579,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_paletted_texture", Version = "", EntryPoint = "glGetColorTableParameterivEXT")] - public static - void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetColorTableParameterivEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Int32[] @params); /// [requires: EXT_paletted_texture] /// Get color lookup table parameters @@ -154639,25 +88600,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_paletted_texture", Version = "", EntryPoint = "glGetColorTableParameterivEXT")] - public static - void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetColorTableParameterivEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] out Int32 @params); /// [requires: EXT_paletted_texture] /// Get color lookup table parameters @@ -154679,359 +88622,96 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_paletted_texture", Version = "", EntryPoint = "glGetColorTableParameterivEXT")] - public static - unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetColorTableParameterivEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Int32* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] - public static - void GetCompressedMultiTexImage(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [OutAttribute] IntPtr img) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetCompressedMultiTexImageEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img); - #if DEBUG - } - #endif - } + public static extern void GetCompressedMultiTexImage(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [OutAttribute] IntPtr img); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] - public static - void GetCompressedMultiTexImage(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] T3[] img) + public static extern void GetCompressedMultiTexImage(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] T3[] img) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedMultiTexImageEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] - public static - void GetCompressedMultiTexImage(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] T3[,] img) + public static extern void GetCompressedMultiTexImage(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] T3[,] img) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedMultiTexImageEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] - public static - void GetCompressedMultiTexImage(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] T3[,,] img) + public static extern void GetCompressedMultiTexImage(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] T3[,,] img) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedMultiTexImageEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] - public static - void GetCompressedMultiTexImage(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] ref T3 img) + public static extern void GetCompressedMultiTexImage(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] ref T3 img) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedMultiTexImageEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - img = (T3)img_ptr.Target; - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static - void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [OutAttribute] IntPtr img) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img); - #if DEBUG - } - #endif - } + public static extern void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [OutAttribute] IntPtr img); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static - void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] T3[] img) + public static extern void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] T3[] img) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static - void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] T3[,] img) + public static extern void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] T3[,] img) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static - void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] T3[,,] img) + public static extern void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] T3[,,] img) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static - void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] ref T3 img) + public static extern void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] ref T3 img) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - img = (T3)img_ptr.Target; - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static - void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [OutAttribute] IntPtr img) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img); - #if DEBUG - } - #endif - } + public static extern void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [OutAttribute] IntPtr img); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static - void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] T3[] img) + public static extern void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] T3[] img) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static - void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] T3[,] img) + public static extern void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] T3[,] img) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static - void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] T3[,,] img) + public static extern void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] T3[,,] img) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static - void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] ref T3 img) + public static extern void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [InAttribute, OutAttribute] ref T3 img) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - img = (T3)img_ptr.Target; - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_convolution] /// Get current 1D or 2D convolution filter kernel @@ -155057,18 +88737,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionFilterEXT")] - public static - void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); - #if DEBUG - } - #endif - } + public static extern void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr image); /// [requires: EXT_convolution] /// Get current 1D or 2D convolution filter kernel @@ -155094,27 +88763,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionFilterEXT")] - public static - void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] image) + public static extern void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] image) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_convolution] /// Get current 1D or 2D convolution filter kernel @@ -155140,27 +88791,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionFilterEXT")] - public static - void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] image) + public static extern void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] image) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_convolution] /// Get current 1D or 2D convolution filter kernel @@ -155186,27 +88819,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionFilterEXT")] - public static - void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,,] image) + public static extern void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,,] image) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_convolution] /// Get current 1D or 2D convolution filter kernel @@ -155232,28 +88847,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionFilterEXT")] - public static - void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 image) + public static extern void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 image) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - image = (T3)image_ptr.Target; - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_convolution] /// Get current 1D or 2D convolution filter kernel @@ -155280,18 +88876,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionFilterEXT")] - public static - void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); - #if DEBUG - } - #endif - } + public static extern void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr image); /// [requires: EXT_convolution] /// Get current 1D or 2D convolution filter kernel @@ -155318,27 +88903,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionFilterEXT")] - public static - void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] image) + public static extern void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] image) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_convolution] /// Get current 1D or 2D convolution filter kernel @@ -155365,27 +88932,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionFilterEXT")] - public static - void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] image) + public static extern void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] image) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_convolution] /// Get current 1D or 2D convolution filter kernel @@ -155412,27 +88961,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionFilterEXT")] - public static - void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,,] image) + public static extern void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,,] image) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_convolution] /// Get current 1D or 2D convolution filter kernel @@ -155459,28 +88990,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionFilterEXT")] - public static - void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 image) + public static extern void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 image) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - image = (T3)image_ptr.Target; - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_convolution] /// Get convolution parameters @@ -155501,24 +89013,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionParameterfvEXT")] - public static - void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetConvolutionParameterfvEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, [OutAttribute] Single[] @params); /// [requires: EXT_convolution] /// Get convolution parameters @@ -155539,25 +89034,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionParameterfvEXT")] - public static - void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetConvolutionParameterfvEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, [OutAttribute] out Single @params); /// [requires: EXT_convolution] /// Get convolution parameters @@ -155579,18 +89056,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionParameterfvEXT")] - public static - unsafe void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetConvolutionParameterfvEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, [OutAttribute] Single* @params); /// [requires: EXT_convolution] /// Get convolution parameters @@ -155612,24 +89078,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionParameterfvEXT")] - public static - void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetConvolutionParameterfvEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] Single[] @params); /// [requires: EXT_convolution] /// Get convolution parameters @@ -155651,25 +89100,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionParameterfvEXT")] - public static - void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetConvolutionParameterfvEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] out Single @params); /// [requires: EXT_convolution] /// Get convolution parameters @@ -155692,18 +89123,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use ConvolutionTargetExt overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionParameterfvEXT")] - public static - unsafe void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetConvolutionParameterfvEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] Single* @params); /// [requires: EXT_convolution] /// Get convolution parameters @@ -155724,24 +89144,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionParameterivEXT")] - public static - void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, [OutAttribute] Int32[] @params); /// [requires: EXT_convolution] /// Get convolution parameters @@ -155762,25 +89165,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionParameterivEXT")] - public static - void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, [OutAttribute] out Int32 @params); /// [requires: EXT_convolution] /// Get convolution parameters @@ -155802,18 +89187,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionParameterivEXT")] - public static - unsafe void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, [OutAttribute] Int32* @params); /// [requires: EXT_convolution] /// Get convolution parameters @@ -155835,24 +89209,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionParameterivEXT")] - public static - void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] Int32[] @params); /// [requires: EXT_convolution] /// Get convolution parameters @@ -155874,25 +89231,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionParameterivEXT")] - public static - void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] out Int32 @params); /// [requires: EXT_convolution] /// Get convolution parameters @@ -155915,498 +89254,119 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use ConvolutionTargetExt overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionParameterivEXT")] - public static - unsafe void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] Int32* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetDoublei_vEXT")] - public static - void GetDouble(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, Int32 index, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetDoublei_vEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetDouble(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, Int32 index, [OutAttribute] Double[] @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetDoublei_vEXT")] - public static - void GetDouble(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, Int32 index, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetDoublei_vEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetDouble(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, Int32 index, [OutAttribute] out Double @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetDoublei_vEXT")] - public static - unsafe void GetDouble(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, Int32 index, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetDoublei_vEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetDouble(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, Int32 index, [OutAttribute] Double* @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetDoublei_vEXT")] - public static - void GetDouble(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetDoublei_vEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetDouble(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [OutAttribute] Double[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetDoublei_vEXT")] - public static - void GetDouble(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetDoublei_vEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetDouble(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [OutAttribute] out Double @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetDoublei_vEXT")] - public static - unsafe void GetDouble(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetDoublei_vEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetDouble(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [OutAttribute] Double* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] - public static - void GetDoubleIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Double[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* data_ptr = data) - { - Delegates.glGetDoubleIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetDoubleIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Double[] data); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] - public static - void GetDoubleIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] out Double data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* data_ptr = &data) - { - Delegates.glGetDoubleIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetDoubleIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] out Double data); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] - public static - unsafe void GetDoubleIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Double* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetDoubleIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetDoubleIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Double* data); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] - public static - void GetDoubleIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Double[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* data_ptr = data) - { - Delegates.glGetDoubleIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetDoubleIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Double[] data); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] - public static - void GetDoubleIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] out Double data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* data_ptr = &data) - { - Delegates.glGetDoubleIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetDoubleIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] out Double data); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] - public static - unsafe void GetDoubleIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Double* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetDoubleIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetDoubleIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Double* data); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFloati_vEXT")] - public static - void GetFloat(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, Int32 index, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetFloati_vEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFloat(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, Int32 index, [OutAttribute] Single[] @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFloati_vEXT")] - public static - void GetFloat(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, Int32 index, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetFloati_vEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFloat(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, Int32 index, [OutAttribute] out Single @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFloati_vEXT")] - public static - unsafe void GetFloat(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, Int32 index, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFloati_vEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFloat(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, Int32 index, [OutAttribute] Single* @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFloati_vEXT")] - public static - void GetFloat(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetFloati_vEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFloat(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [OutAttribute] Single[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFloati_vEXT")] - public static - void GetFloat(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetFloati_vEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFloat(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [OutAttribute] out Single @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFloati_vEXT")] - public static - unsafe void GetFloat(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFloati_vEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFloat(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [OutAttribute] Single* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] - public static - void GetFloatIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - Delegates.glGetFloatIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFloatIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Single[] data); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] - public static - void GetFloatIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] out Single data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = &data) - { - Delegates.glGetFloatIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFloatIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] out Single data); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] - public static - unsafe void GetFloatIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFloatIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFloatIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Single* data); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] - public static - void GetFloatIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - Delegates.glGetFloatIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFloatIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Single[] data); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] - public static - void GetFloatIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] out Single data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = &data) - { - Delegates.glGetFloatIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFloatIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] out Single data); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] - public static - unsafe void GetFloatIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFloatIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFloatIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Single* data); /// [requires: EXT_gpu_shader4] /// Query the bindings of color numbers to user-defined varying out variables @@ -156422,18 +89382,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glGetFragDataLocationEXT")] - public static - Int32 GetFragDataLocation(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetFragDataLocationEXT((UInt32)program, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetFragDataLocation(Int32 program, String name); /// [requires: EXT_gpu_shader4] /// Query the bindings of color numbers to user-defined varying out variables @@ -156450,18 +89399,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glGetFragDataLocationEXT")] - public static - Int32 GetFragDataLocation(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetFragDataLocationEXT((UInt32)program, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetFragDataLocation(UInt32 program, String name); /// [requires: EXT_framebuffer_object] /// Retrieve information about attachments of a bound framebuffer object @@ -156487,24 +89425,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGetFramebufferAttachmentParameterivEXT")] - public static - void GetFramebufferAttachmentParameter(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFramebufferAttachmentParameterivEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.FramebufferParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFramebufferAttachmentParameter(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, [OutAttribute] Int32[] @params); /// [requires: EXT_framebuffer_object] /// Retrieve information about attachments of a bound framebuffer object @@ -156530,25 +89451,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGetFramebufferAttachmentParameterivEXT")] - public static - void GetFramebufferAttachmentParameter(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFramebufferAttachmentParameterivEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.FramebufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFramebufferAttachmentParameter(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, [OutAttribute] out Int32 @params); /// [requires: EXT_framebuffer_object] /// Retrieve information about attachments of a bound framebuffer object @@ -156575,18 +89478,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGetFramebufferAttachmentParameterivEXT")] - public static - unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFramebufferAttachmentParameterivEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.FramebufferParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, [OutAttribute] Int32* @params); /// [requires: EXT_direct_state_access] /// Retrieve a named parameter from a framebuffer @@ -156607,24 +89499,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] - public static - void GetFramebufferParameter(Int32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFramebufferParameter(Int32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32[] @params); /// [requires: EXT_direct_state_access] /// Retrieve a named parameter from a framebuffer @@ -156645,25 +89520,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] - public static - void GetFramebufferParameter(Int32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFramebufferParameter(Int32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 @params); /// [requires: EXT_direct_state_access] /// Retrieve a named parameter from a framebuffer @@ -156685,18 +89542,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] - public static - unsafe void GetFramebufferParameter(Int32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFramebufferParameter(Int32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params); /// [requires: EXT_direct_state_access] /// Retrieve a named parameter from a framebuffer @@ -156718,24 +89564,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] - public static - void GetFramebufferParameter(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFramebufferParameter(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32[] @params); /// [requires: EXT_direct_state_access] /// Retrieve a named parameter from a framebuffer @@ -156757,25 +89586,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] - public static - void GetFramebufferParameter(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFramebufferParameter(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 @params); /// [requires: EXT_direct_state_access] /// Retrieve a named parameter from a framebuffer @@ -156797,18 +89608,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] - public static - unsafe void GetFramebufferParameter(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFramebufferParameter(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params); /// [requires: EXT_histogram] /// Get histogram table @@ -156840,18 +89640,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use HistogramTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramEXT")] - public static - void GetHistogram(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetHistogramEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values); - #if DEBUG - } - #endif - } + public static extern void GetHistogram(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values); /// [requires: EXT_histogram] /// Get histogram table @@ -156883,27 +89672,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use HistogramTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramEXT")] - public static - void GetHistogram(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[] values) + public static extern void GetHistogram(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[] values) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetHistogramEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_histogram] /// Get histogram table @@ -156935,27 +89706,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use HistogramTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramEXT")] - public static - void GetHistogram(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,] values) + public static extern void GetHistogram(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,] values) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetHistogramEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_histogram] /// Get histogram table @@ -156987,27 +89740,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use HistogramTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramEXT")] - public static - void GetHistogram(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,,] values) + public static extern void GetHistogram(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,,] values) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetHistogramEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_histogram] /// Get histogram table @@ -157039,28 +89774,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use HistogramTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramEXT")] - public static - void GetHistogram(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 values) + public static extern void GetHistogram(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 values) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetHistogramEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - values = (T4)values_ptr.Target; - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_histogram] /// Get histogram table @@ -157091,18 +89807,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramEXT")] - public static - void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetHistogramEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values); - #if DEBUG - } - #endif - } + public static extern void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values); /// [requires: EXT_histogram] /// Get histogram table @@ -157133,27 +89838,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramEXT")] - public static - void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[] values) + public static extern void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[] values) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetHistogramEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_histogram] /// Get histogram table @@ -157184,27 +89871,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramEXT")] - public static - void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,] values) + public static extern void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,] values) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetHistogramEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_histogram] /// Get histogram table @@ -157235,27 +89904,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramEXT")] - public static - void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,,] values) + public static extern void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,,] values) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetHistogramEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_histogram] /// Get histogram table @@ -157286,28 +89937,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramEXT")] - public static - void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 values) + public static extern void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 values) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetHistogramEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - values = (T4)values_ptr.Target; - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_histogram] /// Get histogram parameters @@ -157329,24 +89961,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use HistogramTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramParameterfvEXT")] - public static - void GetHistogramParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetHistogramParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Single[] @params); /// [requires: EXT_histogram] /// Get histogram parameters @@ -157368,25 +89983,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use HistogramTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramParameterfvEXT")] - public static - void GetHistogramParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetHistogramParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] out Single @params); /// [requires: EXT_histogram] /// Get histogram parameters @@ -157409,18 +90006,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use HistogramTargetExt overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramParameterfvEXT")] - public static - unsafe void GetHistogramParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetHistogramParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Single* @params); /// [requires: EXT_histogram] /// Get histogram parameters @@ -157441,24 +90027,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramParameterfvEXT")] - public static - void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTargetExt target, OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTargetExt target, OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt pname, [OutAttribute] Single[] @params); /// [requires: EXT_histogram] /// Get histogram parameters @@ -157479,25 +90048,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramParameterfvEXT")] - public static - void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTargetExt target, OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTargetExt target, OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt pname, [OutAttribute] out Single @params); /// [requires: EXT_histogram] /// Get histogram parameters @@ -157519,18 +90070,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramParameterfvEXT")] - public static - unsafe void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTargetExt target, OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTargetExt target, OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt pname, [OutAttribute] Single* @params); /// [requires: EXT_histogram] /// Get histogram parameters @@ -157552,24 +90092,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use HistogramTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramParameterivEXT")] - public static - void GetHistogramParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetHistogramParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Int32[] @params); /// [requires: EXT_histogram] /// Get histogram parameters @@ -157591,25 +90114,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use HistogramTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramParameterivEXT")] - public static - void GetHistogramParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetHistogramParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] out Int32 @params); /// [requires: EXT_histogram] /// Get histogram parameters @@ -157632,18 +90137,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use HistogramTargetExt overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramParameterivEXT")] - public static - unsafe void GetHistogramParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetHistogramParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Int32* @params); /// [requires: EXT_histogram] /// Get histogram parameters @@ -157664,24 +90158,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramParameterivEXT")] - public static - void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTargetExt target, OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTargetExt target, OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt pname, [OutAttribute] Int32[] @params); /// [requires: EXT_histogram] /// Get histogram parameters @@ -157702,25 +90179,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramParameterivEXT")] - public static - void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTargetExt target, OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTargetExt target, OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt pname, [OutAttribute] out Int32 @params); /// [requires: EXT_histogram] /// Get histogram parameters @@ -157742,984 +90201,237 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramParameterivEXT")] - public static - unsafe void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTargetExt target, OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTargetExt target, OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt pname, [OutAttribute] Int32* @params); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [Obsolete("Use GetIndexedPName overload instead")] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetIntegerIndexedvEXT")] - public static - void GetIntegerIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetIntegerIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index, [OutAttribute] Int32[] data); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [Obsolete("Use GetIndexedPName overload instead")] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetIntegerIndexedvEXT")] - public static - void GetIntegerIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index, [OutAttribute] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetIntegerIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index, [OutAttribute] out Int32 data); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [Obsolete("Use GetIndexedPName overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetIntegerIndexedvEXT")] - public static - unsafe void GetIntegerIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetIntegerIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index, [OutAttribute] Int32* data); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [Obsolete("Use GetIndexedPName overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetIntegerIndexedvEXT")] - public static - void GetIntegerIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetIntegerIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index, [OutAttribute] Int32[] data); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [Obsolete("Use GetIndexedPName overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetIntegerIndexedvEXT")] - public static - void GetIntegerIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index, [OutAttribute] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetIntegerIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index, [OutAttribute] out Int32 data); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [Obsolete("Use GetIndexedPName overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetIntegerIndexedvEXT")] - public static - unsafe void GetIntegerIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetIntegerIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index, [OutAttribute] Int32* data); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetIntegerIndexedvEXT")] - public static - void GetIntegerIndexed(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetIntegerIndexed(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Int32[] data); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetIntegerIndexedvEXT")] - public static - void GetIntegerIndexed(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetIntegerIndexed(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] out Int32 data); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetIntegerIndexedvEXT")] - public static - unsafe void GetIntegerIndexed(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetIntegerIndexed(OpenTK.Graphics.OpenGL.GetIndexedPName target, Int32 index, [OutAttribute] Int32* data); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetIntegerIndexedvEXT")] - public static - void GetIntegerIndexed(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetIntegerIndexed(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int32[] data); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetIntegerIndexedvEXT")] - public static - void GetIntegerIndexed(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetIntegerIndexed(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] out Int32 data); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetIntegerIndexedvEXT")] - public static - unsafe void GetIntegerIndexed(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetIntegerIndexed(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantBooleanvEXT")] - public static - void GetInvariantBoolean(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInvariantBoolean(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool[] data); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantBooleanvEXT")] - public static - void GetInvariantBoolean(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out bool data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInvariantBoolean(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out bool data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantBooleanvEXT")] - public static - unsafe void GetInvariantBoolean(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInvariantBoolean(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantBooleanvEXT")] - public static - void GetInvariantBoolean(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInvariantBoolean(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool[] data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantBooleanvEXT")] - public static - void GetInvariantBoolean(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out bool data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInvariantBoolean(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out bool data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantBooleanvEXT")] - public static - unsafe void GetInvariantBoolean(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInvariantBoolean(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantFloatvEXT")] - public static - void GetInvariantFloat(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInvariantFloat(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single[] data); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantFloatvEXT")] - public static - void GetInvariantFloat(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Single data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = &data) - { - Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInvariantFloat(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Single data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantFloatvEXT")] - public static - unsafe void GetInvariantFloat(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInvariantFloat(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantFloatvEXT")] - public static - void GetInvariantFloat(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInvariantFloat(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single[] data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantFloatvEXT")] - public static - void GetInvariantFloat(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Single data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = &data) - { - Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInvariantFloat(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Single data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantFloatvEXT")] - public static - unsafe void GetInvariantFloat(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInvariantFloat(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantIntegervEXT")] - public static - void GetInvariantInteger(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInvariantInteger(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32[] data); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantIntegervEXT")] - public static - void GetInvariantInteger(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInvariantInteger(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Int32 data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantIntegervEXT")] - public static - unsafe void GetInvariantInteger(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInvariantInteger(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantIntegervEXT")] - public static - void GetInvariantInteger(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInvariantInteger(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32[] data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantIntegervEXT")] - public static - void GetInvariantInteger(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInvariantInteger(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Int32 data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetInvariantIntegervEXT")] - public static - unsafe void GetInvariantInteger(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInvariantInteger(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantBooleanvEXT")] - public static - void GetLocalConstantBoolean(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetLocalConstantBoolean(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool[] data); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantBooleanvEXT")] - public static - void GetLocalConstantBoolean(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out bool data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetLocalConstantBoolean(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out bool data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantBooleanvEXT")] - public static - unsafe void GetLocalConstantBoolean(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetLocalConstantBoolean(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantBooleanvEXT")] - public static - void GetLocalConstantBoolean(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetLocalConstantBoolean(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool[] data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantBooleanvEXT")] - public static - void GetLocalConstantBoolean(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out bool data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetLocalConstantBoolean(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out bool data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantBooleanvEXT")] - public static - unsafe void GetLocalConstantBoolean(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetLocalConstantBoolean(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantFloatvEXT")] - public static - void GetLocalConstantFloat(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetLocalConstantFloat(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single[] data); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantFloatvEXT")] - public static - void GetLocalConstantFloat(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Single data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = &data) - { - Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetLocalConstantFloat(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Single data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantFloatvEXT")] - public static - unsafe void GetLocalConstantFloat(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetLocalConstantFloat(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantFloatvEXT")] - public static - void GetLocalConstantFloat(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetLocalConstantFloat(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single[] data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantFloatvEXT")] - public static - void GetLocalConstantFloat(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Single data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = &data) - { - Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetLocalConstantFloat(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Single data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantFloatvEXT")] - public static - unsafe void GetLocalConstantFloat(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetLocalConstantFloat(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantIntegervEXT")] - public static - void GetLocalConstantInteger(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetLocalConstantInteger(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32[] data); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantIntegervEXT")] - public static - void GetLocalConstantInteger(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetLocalConstantInteger(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Int32 data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantIntegervEXT")] - public static - unsafe void GetLocalConstantInteger(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetLocalConstantInteger(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantIntegervEXT")] - public static - void GetLocalConstantInteger(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetLocalConstantInteger(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32[] data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantIntegervEXT")] - public static - void GetLocalConstantInteger(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetLocalConstantInteger(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Int32 data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetLocalConstantIntegervEXT")] - public static - unsafe void GetLocalConstantInteger(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetLocalConstantInteger(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data); /// [requires: EXT_histogram] /// Get minimum and maximum pixel values @@ -158751,18 +90463,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use MinmaxTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxEXT")] - public static - void GetMinmax(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMinmaxEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values); - #if DEBUG - } - #endif - } + public static extern void GetMinmax(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values); /// [requires: EXT_histogram] /// Get minimum and maximum pixel values @@ -158794,27 +90495,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use MinmaxTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxEXT")] - public static - void GetMinmax(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[] values) + public static extern void GetMinmax(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[] values) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetMinmaxEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_histogram] /// Get minimum and maximum pixel values @@ -158846,27 +90529,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use MinmaxTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxEXT")] - public static - void GetMinmax(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,] values) + public static extern void GetMinmax(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,] values) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetMinmaxEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_histogram] /// Get minimum and maximum pixel values @@ -158898,27 +90563,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use MinmaxTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxEXT")] - public static - void GetMinmax(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,,] values) + public static extern void GetMinmax(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,,] values) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetMinmaxEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_histogram] /// Get minimum and maximum pixel values @@ -158950,28 +90597,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use MinmaxTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxEXT")] - public static - void GetMinmax(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 values) + public static extern void GetMinmax(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 values) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetMinmaxEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - values = (T4)values_ptr.Target; - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_histogram] /// Get minimum and maximum pixel values @@ -159002,18 +90630,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxEXT")] - public static - void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMinmaxEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values); - #if DEBUG - } - #endif - } + public static extern void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values); /// [requires: EXT_histogram] /// Get minimum and maximum pixel values @@ -159044,27 +90661,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxEXT")] - public static - void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[] values) + public static extern void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[] values) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetMinmaxEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_histogram] /// Get minimum and maximum pixel values @@ -159095,27 +90694,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxEXT")] - public static - void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,] values) + public static extern void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,] values) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetMinmaxEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_histogram] /// Get minimum and maximum pixel values @@ -159146,27 +90727,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxEXT")] - public static - void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,,] values) + public static extern void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,,] values) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetMinmaxEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_histogram] /// Get minimum and maximum pixel values @@ -159197,28 +90760,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxEXT")] - public static - void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 values) + public static extern void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 values) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetMinmaxEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - values = (T4)values_ptr.Target; - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_histogram] /// Get minmax parameters @@ -159240,24 +90784,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use MinmaxTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxParameterfvEXT")] - public static - void GetMinmaxParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMinmaxParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Single[] @params); /// [requires: EXT_histogram] /// Get minmax parameters @@ -159279,25 +90806,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use MinmaxTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxParameterfvEXT")] - public static - void GetMinmaxParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMinmaxParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] out Single @params); /// [requires: EXT_histogram] /// Get minmax parameters @@ -159320,18 +90829,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use MinmaxTargetExt overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxParameterfvEXT")] - public static - unsafe void GetMinmaxParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMinmaxParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Single* @params); /// [requires: EXT_histogram] /// Get minmax parameters @@ -159352,24 +90850,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxParameterfvEXT")] - public static - void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt pname, [OutAttribute] Single[] @params); /// [requires: EXT_histogram] /// Get minmax parameters @@ -159390,25 +90871,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxParameterfvEXT")] - public static - void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt pname, [OutAttribute] out Single @params); /// [requires: EXT_histogram] /// Get minmax parameters @@ -159430,18 +90893,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxParameterfvEXT")] - public static - unsafe void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt pname, [OutAttribute] Single* @params); /// [requires: EXT_histogram] /// Get minmax parameters @@ -159463,24 +90915,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use MinmaxTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxParameterivEXT")] - public static - void GetMinmaxParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMinmaxParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Int32[] @params); /// [requires: EXT_histogram] /// Get minmax parameters @@ -159502,25 +90937,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use MinmaxTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxParameterivEXT")] - public static - void GetMinmaxParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMinmaxParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] out Int32 @params); /// [requires: EXT_histogram] /// Get minmax parameters @@ -159543,18 +90960,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use MinmaxTargetExt overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxParameterivEXT")] - public static - unsafe void GetMinmaxParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMinmaxParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Int32* @params); /// [requires: EXT_histogram] /// Get minmax parameters @@ -159575,24 +90981,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxParameterivEXT")] - public static - void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt pname, [OutAttribute] Int32[] @params); /// [requires: EXT_histogram] /// Get minmax parameters @@ -159613,25 +91002,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxParameterivEXT")] - public static - void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt pname, [OutAttribute] out Int32 @params); /// [requires: EXT_histogram] /// Get minmax parameters @@ -159653,2527 +91024,616 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxParameterivEXT")] - public static - unsafe void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt pname, [OutAttribute] Int32* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexEnvfvEXT")] - public static - void GetMultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetMultiTexEnvfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Single[] @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexEnvfvEXT")] - public static - void GetMultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetMultiTexEnvfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] out Single @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexEnvfvEXT")] - public static - unsafe void GetMultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultiTexEnvfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Single* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexEnvivEXT")] - public static - void GetMultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetMultiTexEnvivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Int32[] @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexEnvivEXT")] - public static - void GetMultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetMultiTexEnvivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] out Int32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexEnvivEXT")] - public static - unsafe void GetMultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultiTexEnvivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Int32* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexGendvEXT")] - public static - void GetMultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetMultiTexGendvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Double[] @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexGendvEXT")] - public static - void GetMultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetMultiTexGendvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] out Double @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexGendvEXT")] - public static - unsafe void GetMultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultiTexGendvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Double* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexGenfvEXT")] - public static - void GetMultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetMultiTexGenfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Single[] @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexGenfvEXT")] - public static - void GetMultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetMultiTexGenfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] out Single @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexGenfvEXT")] - public static - unsafe void GetMultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultiTexGenfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Single* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexGenivEXT")] - public static - void GetMultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetMultiTexGenivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Int32[] @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexGenivEXT")] - public static - void GetMultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetMultiTexGenivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] out Int32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexGenivEXT")] - public static - unsafe void GetMultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultiTexGenivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Int32* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexImageEXT")] - public static - void GetMultiTexImage(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void GetMultiTexImage(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexImageEXT")] - public static - void GetMultiTexImage(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] pixels) + public static extern void GetMultiTexImage(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] pixels) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexImageEXT")] - public static - void GetMultiTexImage(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] pixels) + public static extern void GetMultiTexImage(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] pixels) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexImageEXT")] - public static - void GetMultiTexImage(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] pixels) + public static extern void GetMultiTexImage(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] pixels) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexImageEXT")] - public static - void GetMultiTexImage(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 pixels) + public static extern void GetMultiTexImage(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 pixels) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T5)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexLevelParameterfvEXT")] - public static - void GetMultiTexLevelParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetMultiTexLevelParameterfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMultiTexLevelParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single[] @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexLevelParameterfvEXT")] - public static - void GetMultiTexLevelParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetMultiTexLevelParameterfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMultiTexLevelParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Single @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexLevelParameterfvEXT")] - public static - unsafe void GetMultiTexLevelParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultiTexLevelParameterfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMultiTexLevelParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexLevelParameterivEXT")] - public static - void GetMultiTexLevelParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetMultiTexLevelParameterivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMultiTexLevelParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexLevelParameterivEXT")] - public static - void GetMultiTexLevelParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetMultiTexLevelParameterivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMultiTexLevelParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexLevelParameterivEXT")] - public static - unsafe void GetMultiTexLevelParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultiTexLevelParameterivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMultiTexLevelParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterfvEXT")] - public static - void GetMultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetMultiTexParameterfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single[] @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterfvEXT")] - public static - void GetMultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetMultiTexParameterfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Single @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterfvEXT")] - public static - unsafe void GetMultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultiTexParameterfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterIivEXT")] - public static - void GetMultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetMultiTexParameterIivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterIivEXT")] - public static - void GetMultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetMultiTexParameterIivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterIivEXT")] - public static - unsafe void GetMultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultiTexParameterIivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterIuivEXT")] - public static - void GetMultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetMultiTexParameterIuivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterIuivEXT")] - public static - void GetMultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetMultiTexParameterIuivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out UInt32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterIuivEXT")] - public static - unsafe void GetMultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultiTexParameterIuivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterivEXT")] - public static - void GetMultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetMultiTexParameterivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterivEXT")] - public static - void GetMultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetMultiTexParameterivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetMultiTexParameterivEXT")] - public static - unsafe void GetMultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultiTexParameterivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] - public static - void GetNamedBufferParameter(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedBufferParameter(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32[] @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] - public static - void GetNamedBufferParameter(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedBufferParameter(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] - public static - unsafe void GetNamedBufferParameter(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetNamedBufferParameter(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] - public static - void GetNamedBufferParameter(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedBufferParameter(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] - public static - void GetNamedBufferParameter(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedBufferParameter(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] - public static - unsafe void GetNamedBufferParameter(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetNamedBufferParameter(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] - public static - void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } + public static extern void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] - public static - void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T2[] @params) + public static extern void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T2[] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] - public static - void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T2[,] @params) + public static extern void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T2[,] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] - public static - void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T2[,,] @params) + public static extern void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T2[,,] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] - public static - void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] ref T2 @params) + public static extern void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] ref T2 @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - @params = (T2)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] - public static - void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } + public static extern void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] - public static - void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T2[] @params) + public static extern void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T2[] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] - public static - void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T2[,] @params) + public static extern void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T2[,] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] - public static - void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T2[,,] @params) + public static extern void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T2[,,] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] - public static - void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] ref T2 @params) + public static extern void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] ref T2 @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - @params = (T2)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] - public static - void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] - public static - void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) + public static extern void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] - public static - void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) + public static extern void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] - public static - void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) + public static extern void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] - public static - void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) + public static extern void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T3)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] - public static - void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] - public static - void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) + public static extern void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] - public static - void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) + public static extern void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] - public static - void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) + public static extern void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] - public static - void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) + public static extern void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T3)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] - public static - void GetNamedFramebufferAttachmentParameter(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedFramebufferAttachmentParameter(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32[] @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] - public static - void GetNamedFramebufferAttachmentParameter(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedFramebufferAttachmentParameter(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] - public static - unsafe void GetNamedFramebufferAttachmentParameter(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetNamedFramebufferAttachmentParameter(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] - public static - void GetNamedFramebufferAttachmentParameter(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedFramebufferAttachmentParameter(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] - public static - void GetNamedFramebufferAttachmentParameter(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedFramebufferAttachmentParameter(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] - public static - unsafe void GetNamedFramebufferAttachmentParameter(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetNamedFramebufferAttachmentParameter(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedFramebufferParameterivEXT")] - public static - void GetNamedFramebufferParameter(Int32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetNamedFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedFramebufferParameter(Int32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32[] @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedFramebufferParameterivEXT")] - public static - void GetNamedFramebufferParameter(Int32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetNamedFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedFramebufferParameter(Int32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedFramebufferParameterivEXT")] - public static - unsafe void GetNamedFramebufferParameter(Int32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetNamedFramebufferParameter(Int32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedFramebufferParameterivEXT")] - public static - void GetNamedFramebufferParameter(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetNamedFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedFramebufferParameter(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedFramebufferParameterivEXT")] - public static - void GetNamedFramebufferParameter(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetNamedFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedFramebufferParameter(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedFramebufferParameterivEXT")] - public static - unsafe void GetNamedFramebufferParameter(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetNamedFramebufferParameter(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params); /// [requires: EXT_direct_state_access] [Obsolete("Use ProgramProperty overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramivEXT")] - public static - void GetNamedProgram(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ProgramProperty)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedProgram(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 @params); /// [requires: EXT_direct_state_access] [Obsolete("Use ProgramProperty overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramivEXT")] - public static - unsafe void GetNamedProgram(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ProgramProperty)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetNamedProgram(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramivEXT")] - public static - void GetNamedProgram(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ProgramProperty pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ProgramProperty)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedProgram(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ProgramProperty pname, [OutAttribute] out Int32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramivEXT")] - public static - unsafe void GetNamedProgram(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ProgramProperty pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ProgramProperty)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetNamedProgram(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ProgramProperty pname, [OutAttribute] Int32* @params); /// [requires: EXT_direct_state_access] [Obsolete("Use ProgramProperty overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramivEXT")] - public static - void GetNamedProgram(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ProgramProperty)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedProgram(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 @params); /// [requires: EXT_direct_state_access] [Obsolete("Use ProgramProperty overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramivEXT")] - public static - unsafe void GetNamedProgram(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ProgramProperty)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetNamedProgram(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramivEXT")] - public static - void GetNamedProgram(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ProgramProperty pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ProgramProperty)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedProgram(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ProgramProperty pname, [OutAttribute] out Int32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramivEXT")] - public static - unsafe void GetNamedProgram(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ProgramProperty pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ProgramProperty)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetNamedProgram(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ProgramProperty pname, [OutAttribute] Int32* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] - public static - void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Double[] @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] - public static - void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] out Double @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] - public static - unsafe void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Double* @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] - public static - void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Double[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] - public static - void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] out Double @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] - public static - unsafe void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Double* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] - public static - void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Single[] @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] - public static - void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] out Single @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] - public static - unsafe void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Single* @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] - public static - void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Single[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] - public static - void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] out Single @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] - public static - unsafe void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Single* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] - public static - void GetNamedProgramLocalParameterI(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedProgramLocalParameterI(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Int32[] @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] - public static - void GetNamedProgramLocalParameterI(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedProgramLocalParameterI(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] out Int32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] - public static - unsafe void GetNamedProgramLocalParameterI(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetNamedProgramLocalParameterI(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] Int32* @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] - public static - void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Int32[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] - public static - void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] out Int32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] - public static - unsafe void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Int32* @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIuivEXT")] - public static - void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetNamedProgramLocalParameterIuivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] UInt32[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIuivEXT")] - public static - void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetNamedProgramLocalParameterIuivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] out UInt32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIuivEXT")] - public static - unsafe void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramLocalParameterIuivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] UInt32* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] - public static - void GetNamedProgramString(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@string); - #if DEBUG - } - #endif - } + public static extern void GetNamedProgramString(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr @string); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] - public static - void GetNamedProgramString(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T3[] @string) + public static extern void GetNamedProgramString(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T3[] @string) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] - public static - void GetNamedProgramString(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T3[,] @string) + public static extern void GetNamedProgramString(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T3[,] @string) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] - public static - void GetNamedProgramString(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T3[,,] @string) + public static extern void GetNamedProgramString(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T3[,,] @string) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] - public static - void GetNamedProgramString(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] ref T3 @string) + public static extern void GetNamedProgramString(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] ref T3 @string) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); - @string = (T3)@string_ptr.Target; - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] - public static - void GetNamedProgramString(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@string); - #if DEBUG - } - #endif - } + public static extern void GetNamedProgramString(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr @string); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] - public static - void GetNamedProgramString(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T3[] @string) + public static extern void GetNamedProgramString(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T3[] @string) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] - public static - void GetNamedProgramString(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T3[,] @string) + public static extern void GetNamedProgramString(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T3[,] @string) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] - public static - void GetNamedProgramString(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T3[,,] @string) + public static extern void GetNamedProgramString(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T3[,,] @string) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] - public static - void GetNamedProgramString(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] ref T3 @string) + public static extern void GetNamedProgramString(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] ref T3 @string) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); - @string = (T3)@string_ptr.Target; - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] - public static - void GetNamedRenderbufferParameter(Int32 renderbuffer, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedRenderbufferParameter(Int32 renderbuffer, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32[] @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] - public static - void GetNamedRenderbufferParameter(Int32 renderbuffer, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedRenderbufferParameter(Int32 renderbuffer, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] out Int32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] - public static - unsafe void GetNamedRenderbufferParameter(Int32 renderbuffer, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetNamedRenderbufferParameter(Int32 renderbuffer, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32* @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] - public static - void GetNamedRenderbufferParameter(UInt32 renderbuffer, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedRenderbufferParameter(UInt32 renderbuffer, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] - public static - void GetNamedRenderbufferParameter(UInt32 renderbuffer, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedRenderbufferParameter(UInt32 renderbuffer, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] out Int32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] - public static - unsafe void GetNamedRenderbufferParameter(UInt32 renderbuffer, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetNamedRenderbufferParameter(UInt32 renderbuffer, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32* @params); /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -162204,24 +91664,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static - void GetObjectLabel(OpenTK.Graphics.OpenGL.ExtDebugLabel type, Int32 @object, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectLabelEXT((OpenTK.Graphics.OpenGL.ExtDebugLabel)type, (UInt32)@object, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.OpenGL.ExtDebugLabel type, Int32 @object, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -162252,25 +91695,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static - void GetObjectLabel(OpenTK.Graphics.OpenGL.ExtDebugLabel type, Int32 @object, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectLabelEXT((OpenTK.Graphics.OpenGL.ExtDebugLabel)type, (UInt32)@object, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.OpenGL.ExtDebugLabel type, Int32 @object, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -162302,18 +91727,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static - unsafe void GetObjectLabel(OpenTK.Graphics.OpenGL.ExtDebugLabel type, Int32 @object, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectLabelEXT((OpenTK.Graphics.OpenGL.ExtDebugLabel)type, (UInt32)@object, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectLabel(OpenTK.Graphics.OpenGL.ExtDebugLabel type, Int32 @object, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -162345,24 +91759,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static - void GetObjectLabel(OpenTK.Graphics.OpenGL.ExtDebugLabel type, UInt32 @object, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectLabelEXT((OpenTK.Graphics.OpenGL.ExtDebugLabel)type, (UInt32)@object, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.OpenGL.ExtDebugLabel type, UInt32 @object, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -162394,25 +91791,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static - void GetObjectLabel(OpenTK.Graphics.OpenGL.ExtDebugLabel type, UInt32 @object, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectLabelEXT((OpenTK.Graphics.OpenGL.ExtDebugLabel)type, (UInt32)@object, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.OpenGL.ExtDebugLabel type, UInt32 @object, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// [requires: EXT_debug_label] /// Retrieve the label of a named object identified within a namespace @@ -162444,706 +91823,183 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")] - public static - unsafe void GetObjectLabel(OpenTK.Graphics.OpenGL.ExtDebugLabel type, UInt32 @object, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectLabelEXT((OpenTK.Graphics.OpenGL.ExtDebugLabel)type, (UInt32)@object, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectLabel(OpenTK.Graphics.OpenGL.ExtDebugLabel type, UInt32 @object, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// [requires: EXT_pixel_transform] [AutoGenerated(Category = "EXT_pixel_transform", Version = "", EntryPoint = "glGetPixelTransformParameterfvEXT")] - public static - void GetPixelTransformParameter(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetPixelTransformParameterfvEXT((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetPixelTransformParameter(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, [OutAttribute] Single[] @params); /// [requires: EXT_pixel_transform] [AutoGenerated(Category = "EXT_pixel_transform", Version = "", EntryPoint = "glGetPixelTransformParameterfvEXT")] - public static - void GetPixelTransformParameter(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetPixelTransformParameterfvEXT((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPixelTransformParameter(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, [OutAttribute] out Single @params); /// [requires: EXT_pixel_transform] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_pixel_transform", Version = "", EntryPoint = "glGetPixelTransformParameterfvEXT")] - public static - unsafe void GetPixelTransformParameter(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPixelTransformParameterfvEXT((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPixelTransformParameter(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, [OutAttribute] Single* @params); /// [requires: EXT_pixel_transform] [AutoGenerated(Category = "EXT_pixel_transform", Version = "", EntryPoint = "glGetPixelTransformParameterivEXT")] - public static - void GetPixelTransformParameter(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetPixelTransformParameterivEXT((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetPixelTransformParameter(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, [OutAttribute] Int32[] @params); /// [requires: EXT_pixel_transform] [AutoGenerated(Category = "EXT_pixel_transform", Version = "", EntryPoint = "glGetPixelTransformParameterivEXT")] - public static - void GetPixelTransformParameter(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetPixelTransformParameterivEXT((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPixelTransformParameter(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, [OutAttribute] out Int32 @params); /// [requires: EXT_pixel_transform] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_pixel_transform", Version = "", EntryPoint = "glGetPixelTransformParameterivEXT")] - public static - unsafe void GetPixelTransformParameter(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPixelTransformParameterivEXT((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPixelTransformParameter(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, [OutAttribute] Int32* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointeri_vEXT")] - public static - void GetPointer(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, Int32 index, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPointeri_vEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (IntPtr)@params); - #if DEBUG - } - #endif - } + public static extern void GetPointer(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, Int32 index, [OutAttribute] IntPtr @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointeri_vEXT")] - public static - void GetPointer(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, Int32 index, [InAttribute, OutAttribute] T2[] @params) + public static extern void GetPointer(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, Int32 index, [InAttribute, OutAttribute] T2[] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointeri_vEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointeri_vEXT")] - public static - void GetPointer(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, Int32 index, [InAttribute, OutAttribute] T2[,] @params) + public static extern void GetPointer(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, Int32 index, [InAttribute, OutAttribute] T2[,] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointeri_vEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointeri_vEXT")] - public static - void GetPointer(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, Int32 index, [InAttribute, OutAttribute] T2[,,] @params) + public static extern void GetPointer(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, Int32 index, [InAttribute, OutAttribute] T2[,,] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointeri_vEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointeri_vEXT")] - public static - void GetPointer(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, Int32 index, [InAttribute, OutAttribute] ref T2 @params) + public static extern void GetPointer(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, Int32 index, [InAttribute, OutAttribute] ref T2 @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointeri_vEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (IntPtr)@params_ptr.AddrOfPinnedObject()); - @params = (T2)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointeri_vEXT")] - public static - void GetPointer(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPointeri_vEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (IntPtr)@params); - #if DEBUG - } - #endif - } + public static extern void GetPointer(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [OutAttribute] IntPtr @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointeri_vEXT")] - public static - void GetPointer(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [InAttribute, OutAttribute] T2[] @params) + public static extern void GetPointer(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [InAttribute, OutAttribute] T2[] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointeri_vEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointeri_vEXT")] - public static - void GetPointer(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [InAttribute, OutAttribute] T2[,] @params) + public static extern void GetPointer(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [InAttribute, OutAttribute] T2[,] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointeri_vEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointeri_vEXT")] - public static - void GetPointer(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [InAttribute, OutAttribute] T2[,,] @params) + public static extern void GetPointer(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [InAttribute, OutAttribute] T2[,,] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointeri_vEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointeri_vEXT")] - public static - void GetPointer(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [InAttribute, OutAttribute] ref T2 @params) + public static extern void GetPointer(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [InAttribute, OutAttribute] ref T2 @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointeri_vEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (IntPtr)@params_ptr.AddrOfPinnedObject()); - @params = (T2)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] - public static - void GetPointerIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void GetPointerIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [OutAttribute] IntPtr data); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] - public static - void GetPointerIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [InAttribute, OutAttribute] T2[] data) + public static extern void GetPointerIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [InAttribute, OutAttribute] T2[] data) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] - public static - void GetPointerIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [InAttribute, OutAttribute] T2[,] data) + public static extern void GetPointerIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [InAttribute, OutAttribute] T2[,] data) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] - public static - void GetPointerIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [InAttribute, OutAttribute] T2[,,] data) + public static extern void GetPointerIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [InAttribute, OutAttribute] T2[,,] data) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] - public static - void GetPointerIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [InAttribute, OutAttribute] ref T2 data) + public static extern void GetPointerIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, [InAttribute, OutAttribute] ref T2 data) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T2)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] - public static - void GetPointerIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void GetPointerIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] IntPtr data); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] - public static - void GetPointerIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [InAttribute, OutAttribute] T2[] data) + public static extern void GetPointerIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [InAttribute, OutAttribute] T2[] data) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] - public static - void GetPointerIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [InAttribute, OutAttribute] T2[,] data) + public static extern void GetPointerIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [InAttribute, OutAttribute] T2[,] data) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] - public static - void GetPointerIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [InAttribute, OutAttribute] T2[,,] data) + public static extern void GetPointerIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [InAttribute, OutAttribute] T2[,,] data) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] - public static - void GetPointerIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [InAttribute, OutAttribute] ref T2 data) + public static extern void GetPointerIndexed(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [InAttribute, OutAttribute] ref T2 data) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T2)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_array] [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glGetPointervEXT")] - public static - void GetPointer(OpenTK.Graphics.OpenGL.GetPointervPName pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPointervEXT((OpenTK.Graphics.OpenGL.GetPointervPName)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } + public static extern void GetPointer(OpenTK.Graphics.OpenGL.GetPointervPName pname, [OutAttribute] IntPtr @params); /// [requires: EXT_vertex_array] [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glGetPointervEXT")] - public static - void GetPointer(OpenTK.Graphics.OpenGL.GetPointervPName pname, [InAttribute, OutAttribute] T1[] @params) + public static extern void GetPointer(OpenTK.Graphics.OpenGL.GetPointervPName pname, [InAttribute, OutAttribute] T1[] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointervEXT((OpenTK.Graphics.OpenGL.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_array] [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glGetPointervEXT")] - public static - void GetPointer(OpenTK.Graphics.OpenGL.GetPointervPName pname, [InAttribute, OutAttribute] T1[,] @params) + public static extern void GetPointer(OpenTK.Graphics.OpenGL.GetPointervPName pname, [InAttribute, OutAttribute] T1[,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointervEXT((OpenTK.Graphics.OpenGL.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_array] [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glGetPointervEXT")] - public static - void GetPointer(OpenTK.Graphics.OpenGL.GetPointervPName pname, [InAttribute, OutAttribute] T1[,,] @params) + public static extern void GetPointer(OpenTK.Graphics.OpenGL.GetPointervPName pname, [InAttribute, OutAttribute] T1[,,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointervEXT((OpenTK.Graphics.OpenGL.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_array] [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glGetPointervEXT")] - public static - void GetPointer(OpenTK.Graphics.OpenGL.GetPointervPName pname, [InAttribute, OutAttribute] ref T1 @params) + public static extern void GetPointer(OpenTK.Graphics.OpenGL.GetPointervPName pname, [InAttribute, OutAttribute] ref T1 @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointervEXT((OpenTK.Graphics.OpenGL.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - @params = (T1)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -163169,24 +92025,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static - void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetProgramPipelineInfoLogEXT((UInt32)pipeline, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder infoLog); /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -163212,25 +92051,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static - void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetProgramPipelineInfoLogEXT((UInt32)pipeline, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog); /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -163257,18 +92078,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static - unsafe void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramPipelineInfoLogEXT((UInt32)pipeline, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -163295,24 +92105,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static - void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetProgramPipelineInfoLogEXT((UInt32)pipeline, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder infoLog); /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -163339,25 +92132,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static - void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetProgramPipelineInfoLogEXT((UInt32)pipeline, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog); /// [requires: EXT_separate_shader_objects] /// Retrieve the info log string from a program pipeline object @@ -163384,18 +92159,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] - public static - unsafe void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramPipelineInfoLogEXT((UInt32)pipeline, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -163416,24 +92180,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static - void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramPipelineivEXT((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects pname, [OutAttribute] Int32[] @params); /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -163454,25 +92201,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static - void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramPipelineivEXT((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects pname, [OutAttribute] out Int32 @params); /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -163494,18 +92223,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static - unsafe void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramPipelineivEXT((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects pname, [OutAttribute] Int32* @params); /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -163527,24 +92245,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static - void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramPipelineivEXT((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects pname, [OutAttribute] Int32[] @params); /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -163566,25 +92267,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static - void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramPipelineivEXT((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects pname, [OutAttribute] out Int32 @params); /// [requires: EXT_separate_shader_objects] /// Retrieve properties of a program pipeline object @@ -163606,18 +92289,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineivEXT")] - public static - unsafe void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramPipelineivEXT((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects pname, [OutAttribute] Int32* @params); /// [requires: EXT_timer_query] /// Return parameters of a query object @@ -163638,24 +92310,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] Int64[] @params); /// [requires: EXT_timer_query] /// Return parameters of a query object @@ -163676,25 +92331,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] out Int64 @params); /// [requires: EXT_timer_query] /// Return parameters of a query object @@ -163716,18 +92353,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (Int64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] Int64* @params); /// [requires: EXT_timer_query] /// Return parameters of a query object @@ -163749,24 +92375,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] Int64[] @params); /// [requires: EXT_timer_query] /// Return parameters of a query object @@ -163788,25 +92397,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] out Int64 @params); /// [requires: EXT_timer_query] /// Return parameters of a query object @@ -163828,18 +92419,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (Int64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] Int64* @params); /// [requires: EXT_timer_query] /// Return parameters of a query object @@ -163861,24 +92441,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] UInt64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = @params) - { - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (UInt64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] UInt64[] @params); /// [requires: EXT_timer_query] /// Return parameters of a query object @@ -163900,25 +92463,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] out UInt64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = &@params) - { - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (UInt64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] out UInt64 @params); /// [requires: EXT_timer_query] /// Return parameters of a query object @@ -163940,18 +92485,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_timer_query", Version = "", EntryPoint = "glGetQueryObjectui64vEXT")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] UInt64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (UInt64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] UInt64* @params); /// [requires: EXT_framebuffer_object] /// Retrieve information about a bound renderbuffer object @@ -163972,24 +92506,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGetRenderbufferParameterivEXT")] - public static - void GetRenderbufferParameter(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetRenderbufferParameterivEXT((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetRenderbufferParameter(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32[] @params); /// [requires: EXT_framebuffer_object] /// Retrieve information about a bound renderbuffer object @@ -164010,25 +92527,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGetRenderbufferParameterivEXT")] - public static - void GetRenderbufferParameter(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetRenderbufferParameterivEXT((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetRenderbufferParameter(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] out Int32 @params); /// [requires: EXT_framebuffer_object] /// Retrieve information about a bound renderbuffer object @@ -164050,18 +92549,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glGetRenderbufferParameterivEXT")] - public static - unsafe void GetRenderbufferParameter(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetRenderbufferParameterivEXT((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetRenderbufferParameter(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32* @params); /// [requires: EXT_convolution] /// Get separable convolution filter kernel images @@ -164097,18 +92585,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetSeparableFilterEXT")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span); - #if DEBUG - } - #endif - } + public static extern void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span); /// [requires: EXT_convolution] /// Get separable convolution filter kernel images @@ -164144,33 +92621,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetSeparableFilterEXT")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] row, [InAttribute, OutAttribute] T4[] column, [InAttribute, OutAttribute] T5[] span) + public static extern void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] row, [InAttribute, OutAttribute] T4[] column, [InAttribute, OutAttribute] T5[] span) where T3 : struct where T4 : struct where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_convolution] /// Get separable convolution filter kernel images @@ -164206,33 +92661,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetSeparableFilterEXT")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] row, [InAttribute, OutAttribute] T4[,] column, [InAttribute, OutAttribute] T5[,] span) + public static extern void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] row, [InAttribute, OutAttribute] T4[,] column, [InAttribute, OutAttribute] T5[,] span) where T3 : struct where T4 : struct where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_convolution] /// Get separable convolution filter kernel images @@ -164268,33 +92701,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetSeparableFilterEXT")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,,] row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) + public static extern void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,,] row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) where T3 : struct where T4 : struct where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_convolution] /// Get separable convolution filter kernel images @@ -164330,1046 +92741,255 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetSeparableFilterEXT")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 row, [InAttribute, OutAttribute] ref T4 column, [InAttribute, OutAttribute] ref T5 span) + public static extern void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 row, [InAttribute, OutAttribute] ref T4 column, [InAttribute, OutAttribute] ref T5 span) where T3 : struct where T4 : struct where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - row = (T3)row_ptr.Target; - column = (T4)column_ptr.Target; - span = (T5)span_ptr.Target; - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_texture_integer] [AutoGenerated(Category = "EXT_texture_integer", Version = "", EntryPoint = "glGetTexParameterIivEXT")] - public static - void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTexParameterIivEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params); /// [requires: EXT_texture_integer] [AutoGenerated(Category = "EXT_texture_integer", Version = "", EntryPoint = "glGetTexParameterIivEXT")] - public static - void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTexParameterIivEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params); /// [requires: EXT_texture_integer] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_integer", Version = "", EntryPoint = "glGetTexParameterIivEXT")] - public static - unsafe void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameterIivEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); /// [requires: EXT_texture_integer] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_integer", Version = "", EntryPoint = "glGetTexParameterIuivEXT")] - public static - void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetTexParameterIuivEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32[] @params); /// [requires: EXT_texture_integer] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_integer", Version = "", EntryPoint = "glGetTexParameterIuivEXT")] - public static - void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetTexParameterIuivEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out UInt32 @params); /// [requires: EXT_texture_integer] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_integer", Version = "", EntryPoint = "glGetTexParameterIuivEXT")] - public static - unsafe void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameterIuivEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static - void GetTextureImage(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void GetTextureImage(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static - void GetTextureImage(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] pixels) + public static extern void GetTextureImage(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] pixels) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static - void GetTextureImage(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] pixels) + public static extern void GetTextureImage(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] pixels) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static - void GetTextureImage(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] pixels) + public static extern void GetTextureImage(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] pixels) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static - void GetTextureImage(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 pixels) + public static extern void GetTextureImage(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 pixels) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T5)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static - void GetTextureImage(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void GetTextureImage(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static - void GetTextureImage(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] pixels) + public static extern void GetTextureImage(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] pixels) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static - void GetTextureImage(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] pixels) + public static extern void GetTextureImage(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] pixels) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static - void GetTextureImage(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] pixels) + public static extern void GetTextureImage(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] pixels) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static - void GetTextureImage(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 pixels) + public static extern void GetTextureImage(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 pixels) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T5)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] - public static - void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single[] @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] - public static - void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Single @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] - public static - unsafe void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] - public static - void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] - public static - void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Single @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] - public static - unsafe void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] - public static - void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] - public static - void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] - public static - unsafe void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] - public static - void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] - public static - void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] - public static - unsafe void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] - public static - void GetTextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single[] @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] - public static - void GetTextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Single @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] - public static - unsafe void GetTextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] - public static - void GetTextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] - public static - void GetTextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Single @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] - public static - unsafe void GetTextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] - public static - void GetTextureParameterI(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTextureParameterI(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] - public static - void GetTextureParameterI(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTextureParameterI(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] - public static - unsafe void GetTextureParameterI(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTextureParameterI(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] - public static - void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] - public static - void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] - public static - unsafe void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterIuivEXT")] - public static - void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterIuivEXT")] - public static - void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out UInt32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterIuivEXT")] - public static - unsafe void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterivEXT")] - public static - void GetTextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterivEXT")] - public static - void GetTextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterivEXT")] - public static - unsafe void GetTextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterivEXT")] - public static - void GetTextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterivEXT")] - public static - void GetTextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] out Int32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetTextureParameterivEXT")] - public static - unsafe void GetTextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); /// [requires: EXT_transform_feedback] /// Retrieve information about varying variables selected for transform feedback @@ -165410,29 +93030,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glGetTransformFeedbackVaryingEXT")] - public static - void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ActiveAttribType type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.OpenGL.ActiveAttribType* type_ptr = &type) - { - Delegates.glGetTransformFeedbackVaryingEXT((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.ExtTransformFeedback*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ActiveAttribType type, [OutAttribute] StringBuilder name); /// [requires: EXT_transform_feedback] /// Retrieve information about varying variables selected for transform feedback @@ -165473,29 +93071,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glGetTransformFeedbackVaryingEXT")] - public static - void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ExtTransformFeedback type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.OpenGL.ExtTransformFeedback* type_ptr = &type) - { - Delegates.glGetTransformFeedbackVaryingEXT((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.ExtTransformFeedback*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ExtTransformFeedback type, [OutAttribute] StringBuilder name); /// [requires: EXT_transform_feedback] /// Retrieve information about varying variables selected for transform feedback @@ -165537,18 +93113,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glGetTransformFeedbackVaryingEXT")] - public static - unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveAttribType* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTransformFeedbackVaryingEXT((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ExtTransformFeedback*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveAttribType* type, [OutAttribute] StringBuilder name); /// [requires: EXT_transform_feedback] /// Retrieve information about varying variables selected for transform feedback @@ -165590,18 +93155,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glGetTransformFeedbackVaryingEXT")] - public static - unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ExtTransformFeedback* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTransformFeedbackVaryingEXT((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ExtTransformFeedback*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ExtTransformFeedback* type, [OutAttribute] StringBuilder name); /// [requires: EXT_transform_feedback] /// Retrieve information about varying variables selected for transform feedback @@ -165643,29 +93197,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glGetTransformFeedbackVaryingEXT")] - public static - void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ActiveAttribType type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.OpenGL.ActiveAttribType* type_ptr = &type) - { - Delegates.glGetTransformFeedbackVaryingEXT((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.ExtTransformFeedback*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ActiveAttribType type, [OutAttribute] StringBuilder name); /// [requires: EXT_transform_feedback] /// Retrieve information about varying variables selected for transform feedback @@ -165707,29 +93239,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glGetTransformFeedbackVaryingEXT")] - public static - void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ExtTransformFeedback type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.OpenGL.ExtTransformFeedback* type_ptr = &type) - { - Delegates.glGetTransformFeedbackVaryingEXT((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.ExtTransformFeedback*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ExtTransformFeedback type, [OutAttribute] StringBuilder name); /// [requires: EXT_transform_feedback] /// Retrieve information about varying variables selected for transform feedback @@ -165771,18 +93281,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glGetTransformFeedbackVaryingEXT")] - public static - unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveAttribType* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTransformFeedbackVaryingEXT((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ExtTransformFeedback*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveAttribType* type, [OutAttribute] StringBuilder name); /// [requires: EXT_transform_feedback] /// Retrieve information about varying variables selected for transform feedback @@ -165824,80 +93323,25 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glGetTransformFeedbackVaryingEXT")] - public static - unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ExtTransformFeedback* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTransformFeedbackVaryingEXT((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ExtTransformFeedback*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ExtTransformFeedback* type, [OutAttribute] StringBuilder name); /// [requires: EXT_bindable_uniform] [AutoGenerated(Category = "EXT_bindable_uniform", Version = "", EntryPoint = "glGetUniformBufferSizeEXT")] - public static - Int32 GetUniformBufferSize(Int32 program, Int32 location) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetUniformBufferSizeEXT((UInt32)program, (Int32)location); - #if DEBUG - } - #endif - } + public static extern Int32 GetUniformBufferSize(Int32 program, Int32 location); /// [requires: EXT_bindable_uniform] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_bindable_uniform", Version = "", EntryPoint = "glGetUniformBufferSizeEXT")] - public static - Int32 GetUniformBufferSize(UInt32 program, Int32 location) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetUniformBufferSizeEXT((UInt32)program, (Int32)location); - #if DEBUG - } - #endif - } + public static extern Int32 GetUniformBufferSize(UInt32 program, Int32 location); /// [requires: EXT_bindable_uniform] [AutoGenerated(Category = "EXT_bindable_uniform", Version = "", EntryPoint = "glGetUniformOffsetEXT")] - public static - IntPtr GetUniformOffset(Int32 program, Int32 location) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetUniformOffsetEXT((UInt32)program, (Int32)location); - #if DEBUG - } - #endif - } + public static extern IntPtr GetUniformOffset(Int32 program, Int32 location); /// [requires: EXT_bindable_uniform] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_bindable_uniform", Version = "", EntryPoint = "glGetUniformOffsetEXT")] - public static - IntPtr GetUniformOffset(UInt32 program, Int32 location) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetUniformOffsetEXT((UInt32)program, (Int32)location); - #if DEBUG - } - #endif - } + public static extern IntPtr GetUniformOffset(UInt32 program, Int32 location); /// [requires: EXT_gpu_shader4] /// Returns the value of a uniform variable @@ -165918,24 +93362,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glGetUniformuivEXT")] - public static - void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32[] @params); /// [requires: EXT_gpu_shader4] /// Returns the value of a uniform variable @@ -165956,25 +93383,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glGetUniformuivEXT")] - public static - void GetUniform(Int32 program, Int32 location, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] out Int32 @params); /// [requires: EXT_gpu_shader4] /// Returns the value of a uniform variable @@ -165996,18 +93405,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glGetUniformuivEXT")] - public static - unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32* @params); /// [requires: EXT_gpu_shader4] /// Returns the value of a uniform variable @@ -166029,24 +93427,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glGetUniformuivEXT")] - public static - void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt32[] @params); /// [requires: EXT_gpu_shader4] /// Returns the value of a uniform variable @@ -166068,25 +93449,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glGetUniformuivEXT")] - public static - void GetUniform(UInt32 program, Int32 location, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] out UInt32 @params); /// [requires: EXT_gpu_shader4] /// Returns the value of a uniform variable @@ -166108,1541 +93471,387 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glGetUniformuivEXT")] - public static - unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt32* @params); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantBooleanvEXT")] - public static - void GetVariantBoolean(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVariantBoolean(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool[] data); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantBooleanvEXT")] - public static - void GetVariantBoolean(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out bool data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVariantBoolean(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out bool data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantBooleanvEXT")] - public static - unsafe void GetVariantBoolean(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVariantBoolean(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantBooleanvEXT")] - public static - void GetVariantBoolean(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVariantBoolean(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool[] data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantBooleanvEXT")] - public static - void GetVariantBoolean(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out bool data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVariantBoolean(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out bool data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantBooleanvEXT")] - public static - unsafe void GetVariantBoolean(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVariantBoolean(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantFloatvEXT")] - public static - void GetVariantFloat(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVariantFloat(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single[] data); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantFloatvEXT")] - public static - void GetVariantFloat(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Single data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = &data) - { - Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVariantFloat(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Single data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantFloatvEXT")] - public static - unsafe void GetVariantFloat(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVariantFloat(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantFloatvEXT")] - public static - void GetVariantFloat(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVariantFloat(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single[] data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantFloatvEXT")] - public static - void GetVariantFloat(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Single data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = &data) - { - Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVariantFloat(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Single data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantFloatvEXT")] - public static - unsafe void GetVariantFloat(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVariantFloat(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantIntegervEXT")] - public static - void GetVariantInteger(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVariantInteger(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32[] data); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantIntegervEXT")] - public static - void GetVariantInteger(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVariantInteger(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Int32 data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantIntegervEXT")] - public static - unsafe void GetVariantInteger(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVariantInteger(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantIntegervEXT")] - public static - void GetVariantInteger(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVariantInteger(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32[] data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantIntegervEXT")] - public static - void GetVariantInteger(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVariantInteger(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] out Int32 data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantIntegervEXT")] - public static - unsafe void GetVariantInteger(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVariantInteger(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void GetVariantPointer(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] IntPtr data); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [InAttribute, OutAttribute] T2[] data) + public static extern void GetVariantPointer(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [InAttribute, OutAttribute] T2[] data) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [InAttribute, OutAttribute] T2[,] data) + public static extern void GetVariantPointer(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [InAttribute, OutAttribute] T2[,] data) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [InAttribute, OutAttribute] T2[,,] data) + public static extern void GetVariantPointer(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [InAttribute, OutAttribute] T2[,,] data) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [InAttribute, OutAttribute] ref T2 data) + public static extern void GetVariantPointer(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [InAttribute, OutAttribute] ref T2 data) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T2)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void GetVariantPointer(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] IntPtr data); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [InAttribute, OutAttribute] T2[] data) + public static extern void GetVariantPointer(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [InAttribute, OutAttribute] T2[] data) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [InAttribute, OutAttribute] T2[,] data) + public static extern void GetVariantPointer(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [InAttribute, OutAttribute] T2[,] data) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [InAttribute, OutAttribute] T2[,,] data) + public static extern void GetVariantPointer(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [InAttribute, OutAttribute] T2[,,] data) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [InAttribute, OutAttribute] ref T2 data) + public static extern void GetVariantPointer(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [InAttribute, OutAttribute] ref T2 data) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T2)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayIntegeri_vEXT")] - public static - void GetVertexArrayInteger(Int32 vaobj, Int32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = param) - { - Delegates.glGetVertexArrayIntegeri_vEXT((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexArrayInteger(Int32 vaobj, Int32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32[] param); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayIntegeri_vEXT")] - public static - void GetVertexArrayInteger(Int32 vaobj, Int32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = ¶m) - { - Delegates.glGetVertexArrayIntegeri_vEXT((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)param_ptr); - param = *param_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexArrayInteger(Int32 vaobj, Int32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 param); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayIntegeri_vEXT")] - public static - unsafe void GetVertexArrayInteger(Int32 vaobj, Int32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexArrayIntegeri_vEXT((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexArrayInteger(Int32 vaobj, Int32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* param); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayIntegeri_vEXT")] - public static - void GetVertexArrayInteger(UInt32 vaobj, UInt32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = param) - { - Delegates.glGetVertexArrayIntegeri_vEXT((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexArrayInteger(UInt32 vaobj, UInt32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32[] param); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayIntegeri_vEXT")] - public static - void GetVertexArrayInteger(UInt32 vaobj, UInt32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = ¶m) - { - Delegates.glGetVertexArrayIntegeri_vEXT((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)param_ptr); - param = *param_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexArrayInteger(UInt32 vaobj, UInt32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 param); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayIntegeri_vEXT")] - public static - unsafe void GetVertexArrayInteger(UInt32 vaobj, UInt32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexArrayIntegeri_vEXT((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexArrayInteger(UInt32 vaobj, UInt32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* param); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayIntegervEXT")] - public static - void GetVertexArrayInteger(Int32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = param) - { - Delegates.glGetVertexArrayIntegervEXT((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexArrayInteger(Int32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32[] param); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayIntegervEXT")] - public static - void GetVertexArrayInteger(Int32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = ¶m) - { - Delegates.glGetVertexArrayIntegervEXT((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)param_ptr); - param = *param_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexArrayInteger(Int32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 param); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayIntegervEXT")] - public static - unsafe void GetVertexArrayInteger(Int32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexArrayIntegervEXT((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexArrayInteger(Int32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* param); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayIntegervEXT")] - public static - void GetVertexArrayInteger(UInt32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = param) - { - Delegates.glGetVertexArrayIntegervEXT((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexArrayInteger(UInt32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32[] param); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayIntegervEXT")] - public static - void GetVertexArrayInteger(UInt32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = ¶m) - { - Delegates.glGetVertexArrayIntegervEXT((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)param_ptr); - param = *param_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexArrayInteger(UInt32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 param); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayIntegervEXT")] - public static - unsafe void GetVertexArrayInteger(UInt32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexArrayIntegervEXT((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexArrayInteger(UInt32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* param); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayPointeri_vEXT")] - public static - void GetVertexArrayPointer(Int32 vaobj, Int32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexArrayPointeri_vEXT((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param); - #if DEBUG - } - #endif - } + public static extern void GetVertexArrayPointer(Int32 vaobj, Int32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr param); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayPointeri_vEXT")] - public static - void GetVertexArrayPointer(Int32 vaobj, Int32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T3[] param) + public static extern void GetVertexArrayPointer(Int32 vaobj, Int32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T3[] param) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle param_ptr = GCHandle.Alloc(param, GCHandleType.Pinned); - try - { - Delegates.glGetVertexArrayPointeri_vEXT((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr.AddrOfPinnedObject()); - } - finally - { - param_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayPointeri_vEXT")] - public static - void GetVertexArrayPointer(Int32 vaobj, Int32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T3[,] param) + public static extern void GetVertexArrayPointer(Int32 vaobj, Int32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T3[,] param) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle param_ptr = GCHandle.Alloc(param, GCHandleType.Pinned); - try - { - Delegates.glGetVertexArrayPointeri_vEXT((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr.AddrOfPinnedObject()); - } - finally - { - param_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayPointeri_vEXT")] - public static - void GetVertexArrayPointer(Int32 vaobj, Int32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T3[,,] param) + public static extern void GetVertexArrayPointer(Int32 vaobj, Int32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T3[,,] param) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle param_ptr = GCHandle.Alloc(param, GCHandleType.Pinned); - try - { - Delegates.glGetVertexArrayPointeri_vEXT((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr.AddrOfPinnedObject()); - } - finally - { - param_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayPointeri_vEXT")] - public static - void GetVertexArrayPointer(Int32 vaobj, Int32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] ref T3 param) + public static extern void GetVertexArrayPointer(Int32 vaobj, Int32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] ref T3 param) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle param_ptr = GCHandle.Alloc(param, GCHandleType.Pinned); - try - { - Delegates.glGetVertexArrayPointeri_vEXT((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr.AddrOfPinnedObject()); - param = (T3)param_ptr.Target; - } - finally - { - param_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayPointeri_vEXT")] - public static - void GetVertexArrayPointer(UInt32 vaobj, UInt32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexArrayPointeri_vEXT((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param); - #if DEBUG - } - #endif - } + public static extern void GetVertexArrayPointer(UInt32 vaobj, UInt32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr param); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayPointeri_vEXT")] - public static - void GetVertexArrayPointer(UInt32 vaobj, UInt32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T3[] param) + public static extern void GetVertexArrayPointer(UInt32 vaobj, UInt32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T3[] param) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle param_ptr = GCHandle.Alloc(param, GCHandleType.Pinned); - try - { - Delegates.glGetVertexArrayPointeri_vEXT((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr.AddrOfPinnedObject()); - } - finally - { - param_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayPointeri_vEXT")] - public static - void GetVertexArrayPointer(UInt32 vaobj, UInt32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T3[,] param) + public static extern void GetVertexArrayPointer(UInt32 vaobj, UInt32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T3[,] param) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle param_ptr = GCHandle.Alloc(param, GCHandleType.Pinned); - try - { - Delegates.glGetVertexArrayPointeri_vEXT((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr.AddrOfPinnedObject()); - } - finally - { - param_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayPointeri_vEXT")] - public static - void GetVertexArrayPointer(UInt32 vaobj, UInt32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T3[,,] param) + public static extern void GetVertexArrayPointer(UInt32 vaobj, UInt32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T3[,,] param) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle param_ptr = GCHandle.Alloc(param, GCHandleType.Pinned); - try - { - Delegates.glGetVertexArrayPointeri_vEXT((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr.AddrOfPinnedObject()); - } - finally - { - param_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayPointeri_vEXT")] - public static - void GetVertexArrayPointer(UInt32 vaobj, UInt32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] ref T3 param) + public static extern void GetVertexArrayPointer(UInt32 vaobj, UInt32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] ref T3 param) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle param_ptr = GCHandle.Alloc(param, GCHandleType.Pinned); - try - { - Delegates.glGetVertexArrayPointeri_vEXT((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr.AddrOfPinnedObject()); - param = (T3)param_ptr.Target; - } - finally - { - param_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayPointervEXT")] - public static - void GetVertexArrayPointer(Int32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexArrayPointervEXT((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param); - #if DEBUG - } - #endif - } + public static extern void GetVertexArrayPointer(Int32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr param); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayPointervEXT")] - public static - void GetVertexArrayPointer(Int32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T2[] param) + public static extern void GetVertexArrayPointer(Int32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T2[] param) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle param_ptr = GCHandle.Alloc(param, GCHandleType.Pinned); - try - { - Delegates.glGetVertexArrayPointervEXT((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr.AddrOfPinnedObject()); - } - finally - { - param_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayPointervEXT")] - public static - void GetVertexArrayPointer(Int32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T2[,] param) + public static extern void GetVertexArrayPointer(Int32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T2[,] param) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle param_ptr = GCHandle.Alloc(param, GCHandleType.Pinned); - try - { - Delegates.glGetVertexArrayPointervEXT((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr.AddrOfPinnedObject()); - } - finally - { - param_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayPointervEXT")] - public static - void GetVertexArrayPointer(Int32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T2[,,] param) + public static extern void GetVertexArrayPointer(Int32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T2[,,] param) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle param_ptr = GCHandle.Alloc(param, GCHandleType.Pinned); - try - { - Delegates.glGetVertexArrayPointervEXT((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr.AddrOfPinnedObject()); - } - finally - { - param_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayPointervEXT")] - public static - void GetVertexArrayPointer(Int32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] ref T2 param) + public static extern void GetVertexArrayPointer(Int32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] ref T2 param) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle param_ptr = GCHandle.Alloc(param, GCHandleType.Pinned); - try - { - Delegates.glGetVertexArrayPointervEXT((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr.AddrOfPinnedObject()); - param = (T2)param_ptr.Target; - } - finally - { - param_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayPointervEXT")] - public static - void GetVertexArrayPointer(UInt32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexArrayPointervEXT((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param); - #if DEBUG - } - #endif - } + public static extern void GetVertexArrayPointer(UInt32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr param); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayPointervEXT")] - public static - void GetVertexArrayPointer(UInt32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T2[] param) + public static extern void GetVertexArrayPointer(UInt32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T2[] param) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle param_ptr = GCHandle.Alloc(param, GCHandleType.Pinned); - try - { - Delegates.glGetVertexArrayPointervEXT((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr.AddrOfPinnedObject()); - } - finally - { - param_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayPointervEXT")] - public static - void GetVertexArrayPointer(UInt32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T2[,] param) + public static extern void GetVertexArrayPointer(UInt32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T2[,] param) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle param_ptr = GCHandle.Alloc(param, GCHandleType.Pinned); - try - { - Delegates.glGetVertexArrayPointervEXT((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr.AddrOfPinnedObject()); - } - finally - { - param_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayPointervEXT")] - public static - void GetVertexArrayPointer(UInt32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T2[,,] param) + public static extern void GetVertexArrayPointer(UInt32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] T2[,,] param) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle param_ptr = GCHandle.Alloc(param, GCHandleType.Pinned); - try - { - Delegates.glGetVertexArrayPointervEXT((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr.AddrOfPinnedObject()); - } - finally - { - param_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetVertexArrayPointervEXT")] - public static - void GetVertexArrayPointer(UInt32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] ref T2 param) + public static extern void GetVertexArrayPointer(UInt32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [InAttribute, OutAttribute] ref T2 param) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle param_ptr = GCHandle.Alloc(param, GCHandleType.Pinned); - try - { - Delegates.glGetVertexArrayPointervEXT((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param_ptr.AddrOfPinnedObject()); - param = (T2)param_ptr.Target; - } - finally - { - param_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glGetVertexAttribIivEXT")] - public static - void GetVertexAttribI(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribIivEXT((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram4)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribI(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [OutAttribute] out Int32 @params); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glGetVertexAttribIivEXT")] - public static - unsafe void GetVertexAttribI(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribIivEXT((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram4)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttribI(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [OutAttribute] Int32* @params); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glGetVertexAttribIivEXT")] - public static - void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribIivEXT((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram4)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [OutAttribute] out Int32 @params); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glGetVertexAttribIivEXT")] - public static - unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribIivEXT((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram4)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [OutAttribute] Int32* @params); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glGetVertexAttribIuivEXT")] - public static - void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribIuivEXT((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram4)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [OutAttribute] out UInt32 @params); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glGetVertexAttribIuivEXT")] - public static - unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribIuivEXT((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram4)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [OutAttribute] UInt32* @params); /// [requires: EXT_vertex_attrib_64bit] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glGetVertexAttribLdvEXT")] - public static - void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit pname, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetVertexAttribLdvEXT((UInt32)index, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit pname, [OutAttribute] Double[] @params); /// [requires: EXT_vertex_attrib_64bit] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glGetVertexAttribLdvEXT")] - public static - void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit pname, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetVertexAttribLdvEXT((UInt32)index, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)pname, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit pname, [OutAttribute] out Double @params); /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glGetVertexAttribLdvEXT")] - public static - unsafe void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribLdvEXT((UInt32)index, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)pname, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit pname, [OutAttribute] Double* @params); /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glGetVertexAttribLdvEXT")] - public static - void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit pname, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetVertexAttribLdvEXT((UInt32)index, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit pname, [OutAttribute] Double[] @params); /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glGetVertexAttribLdvEXT")] - public static - void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit pname, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetVertexAttribLdvEXT((UInt32)index, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)pname, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit pname, [OutAttribute] out Double @params); /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glGetVertexAttribLdvEXT")] - public static - unsafe void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribLdvEXT((UInt32)index, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)pname, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit pname, [OutAttribute] Double* @params); /// [requires: EXT_histogram] /// Define histogram table @@ -167669,18 +93878,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use HistogramTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glHistogramEXT")] - public static - void Histogram(OpenTK.Graphics.OpenGL.ExtHistogram target, Int32 width, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glHistogramEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (Int32)width, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (bool)sink); - #if DEBUG - } - #endif - } + public static extern void Histogram(OpenTK.Graphics.OpenGL.ExtHistogram target, Int32 width, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); /// [requires: EXT_histogram] /// Define histogram table @@ -167706,79 +93904,24 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glHistogramEXT")] - public static - void Histogram(OpenTK.Graphics.OpenGL.HistogramTargetExt target, Int32 width, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glHistogramEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (Int32)width, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (bool)sink); - #if DEBUG - } - #endif - } + public static extern void Histogram(OpenTK.Graphics.OpenGL.HistogramTargetExt target, Int32 width, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); /// [requires: EXT_x11_sync_object] [AutoGenerated(Category = "EXT_x11_sync_object", Version = "", EntryPoint = "glImportSyncEXT")] - public static - IntPtr ImportSync(OpenTK.Graphics.OpenGL.ExtX11SyncObject external_sync_type, IntPtr external_sync, Int32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glImportSyncEXT((OpenTK.Graphics.OpenGL.ExtX11SyncObject)external_sync_type, (IntPtr)external_sync, (UInt32)flags); - #if DEBUG - } - #endif - } + public static extern IntPtr ImportSync(OpenTK.Graphics.OpenGL.ExtX11SyncObject external_sync_type, IntPtr external_sync, Int32 flags); /// [requires: EXT_x11_sync_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_x11_sync_object", Version = "", EntryPoint = "glImportSyncEXT")] - public static - IntPtr ImportSync(OpenTK.Graphics.OpenGL.ExtX11SyncObject external_sync_type, IntPtr external_sync, UInt32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glImportSyncEXT((OpenTK.Graphics.OpenGL.ExtX11SyncObject)external_sync_type, (IntPtr)external_sync, (UInt32)flags); - #if DEBUG - } - #endif - } + public static extern IntPtr ImportSync(OpenTK.Graphics.OpenGL.ExtX11SyncObject external_sync_type, IntPtr external_sync, UInt32 flags); /// [requires: EXT_index_func] [AutoGenerated(Category = "EXT_index_func", Version = "", EntryPoint = "glIndexFuncEXT")] - public static - void IndexFunc(OpenTK.Graphics.OpenGL.ExtIndexFunc func, Single @ref) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glIndexFuncEXT((OpenTK.Graphics.OpenGL.ExtIndexFunc)func, (Single)@ref); - #if DEBUG - } - #endif - } + public static extern void IndexFunc(OpenTK.Graphics.OpenGL.ExtIndexFunc func, Single @ref); /// [requires: EXT_index_material] [AutoGenerated(Category = "EXT_index_material", Version = "", EntryPoint = "glIndexMaterialEXT")] - public static - void IndexMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.ExtIndexMaterial mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glIndexMaterialEXT((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.ExtIndexMaterial)mode); - #if DEBUG - } - #endif - } + public static extern void IndexMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.ExtIndexMaterial mode); /// [requires: EXT_vertex_array] /// Define an array of color indexes @@ -167799,18 +93942,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glIndexPointerEXT")] - public static - void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, Int32 count, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glIndexPointerEXT((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, Int32 count, IntPtr pointer); /// [requires: EXT_vertex_array] /// Define an array of color indexes @@ -167831,27 +93963,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glIndexPointerEXT")] - public static - void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T3[] pointer) + public static extern void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T3[] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glIndexPointerEXT((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_array] /// Define an array of color indexes @@ -167872,27 +93986,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glIndexPointerEXT")] - public static - void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T3[,] pointer) + public static extern void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T3[,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glIndexPointerEXT((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_array] /// Define an array of color indexes @@ -167913,27 +94009,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glIndexPointerEXT")] - public static - void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T3[,,] pointer) + public static extern void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T3[,,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glIndexPointerEXT((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_array] /// Define an array of color indexes @@ -167954,138 +94032,42 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glIndexPointerEXT")] - public static - void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] ref T3 pointer) + public static extern void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] ref T3 pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glIndexPointerEXT((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glInsertComponentEXT")] - public static - void InsertComponent(Int32 res, Int32 src, Int32 num) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInsertComponentEXT((UInt32)res, (UInt32)src, (UInt32)num); - #if DEBUG - } - #endif - } + public static extern void InsertComponent(Int32 res, Int32 src, Int32 num); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glInsertComponentEXT")] - public static - void InsertComponent(UInt32 res, UInt32 src, UInt32 num) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInsertComponentEXT((UInt32)res, (UInt32)src, (UInt32)num); - #if DEBUG - } - #endif - } + public static extern void InsertComponent(UInt32 res, UInt32 src, UInt32 num); /// [requires: EXT_debug_marker] [AutoGenerated(Category = "EXT_debug_marker", Version = "", EntryPoint = "glInsertEventMarkerEXT")] - public static - void InsertEventMarker(Int32 length, String marker) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInsertEventMarkerEXT((Int32)length, (String)marker); - #if DEBUG - } - #endif - } + public static extern void InsertEventMarker(Int32 length, String marker); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [Obsolete("Use IndexedEnableCap overload instead")] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glIsEnabledIndexedEXT")] - public static - bool IsEnabledIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsEnabledIndexedEXT((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern bool IsEnabledIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [Obsolete("Use IndexedEnableCap overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glIsEnabledIndexedEXT")] - public static - bool IsEnabledIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsEnabledIndexedEXT((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern bool IsEnabledIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glIsEnabledIndexedEXT")] - public static - bool IsEnabledIndexed(OpenTK.Graphics.OpenGL.IndexedEnableCap target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsEnabledIndexedEXT((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern bool IsEnabledIndexed(OpenTK.Graphics.OpenGL.IndexedEnableCap target, Int32 index); /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glIsEnabledIndexedEXT")] - public static - bool IsEnabledIndexed(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsEnabledIndexedEXT((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern bool IsEnabledIndexed(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); /// [requires: EXT_framebuffer_object] /// Determine if a name corresponds to a framebuffer object @@ -168096,18 +94078,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glIsFramebufferEXT")] - public static - bool IsFramebuffer(Int32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsFramebufferEXT((UInt32)framebuffer); - #if DEBUG - } - #endif - } + public static extern bool IsFramebuffer(Int32 framebuffer); /// [requires: EXT_framebuffer_object] /// Determine if a name corresponds to a framebuffer object @@ -168119,18 +94090,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glIsFramebufferEXT")] - public static - bool IsFramebuffer(UInt32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsFramebufferEXT((UInt32)framebuffer); - #if DEBUG - } - #endif - } + public static extern bool IsFramebuffer(UInt32 framebuffer); /// [requires: EXT_separate_shader_objects] /// Determine if a name corresponds to a program pipeline object @@ -168141,18 +94101,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glIsProgramPipelineEXT")] - public static - bool IsProgramPipeline(Int32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsProgramPipelineEXT((UInt32)pipeline); - #if DEBUG - } - #endif - } + public static extern bool IsProgramPipeline(Int32 pipeline); /// [requires: EXT_separate_shader_objects] /// Determine if a name corresponds to a program pipeline object @@ -168164,18 +94113,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glIsProgramPipelineEXT")] - public static - bool IsProgramPipeline(UInt32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsProgramPipelineEXT((UInt32)pipeline); - #if DEBUG - } - #endif - } + public static extern bool IsProgramPipeline(UInt32 pipeline); /// [requires: EXT_framebuffer_object] /// Determine if a name corresponds to a renderbuffer object @@ -168186,18 +94124,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glIsRenderbufferEXT")] - public static - bool IsRenderbuffer(Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsRenderbufferEXT((UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern bool IsRenderbuffer(Int32 renderbuffer); /// [requires: EXT_framebuffer_object] /// Determine if a name corresponds to a renderbuffer object @@ -168209,18 +94136,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glIsRenderbufferEXT")] - public static - bool IsRenderbuffer(UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsRenderbufferEXT((UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern bool IsRenderbuffer(UInt32 renderbuffer); /// [requires: EXT_texture_object] /// Determine if a name corresponds to a texture @@ -168231,18 +94147,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glIsTextureEXT")] - public static - bool IsTexture(Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsTextureEXT((UInt32)texture); - #if DEBUG - } - #endif - } + public static extern bool IsTexture(Int32 texture); /// [requires: EXT_texture_object] /// Determine if a name corresponds to a texture @@ -168254,786 +94159,195 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glIsTextureEXT")] - public static - bool IsTexture(UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsTextureEXT((UInt32)texture); - #if DEBUG - } - #endif - } + public static extern bool IsTexture(UInt32 texture); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glIsVariantEnabledEXT")] - public static - bool IsVariantEnabled(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsVariantEnabledEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)cap); - #if DEBUG - } - #endif - } + public static extern bool IsVariantEnabled(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader cap); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glIsVariantEnabledEXT")] - public static - bool IsVariantEnabled(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsVariantEnabledEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)cap); - #if DEBUG - } - #endif - } + public static extern bool IsVariantEnabled(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader cap); /// [requires: EXT_debug_label] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glLabelObjectEXT")] - public static - void LabelObject(OpenTK.Graphics.OpenGL.ExtDebugLabel type, Int32 @object, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLabelObjectEXT((OpenTK.Graphics.OpenGL.ExtDebugLabel)type, (UInt32)@object, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void LabelObject(OpenTK.Graphics.OpenGL.ExtDebugLabel type, Int32 @object, Int32 length, String label); /// [requires: EXT_debug_label] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glLabelObjectEXT")] - public static - void LabelObject(OpenTK.Graphics.OpenGL.ExtDebugLabel type, UInt32 @object, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLabelObjectEXT((OpenTK.Graphics.OpenGL.ExtDebugLabel)type, (UInt32)@object, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void LabelObject(OpenTK.Graphics.OpenGL.ExtDebugLabel type, UInt32 @object, Int32 length, String label); /// [requires: EXT_compiled_vertex_array] [AutoGenerated(Category = "EXT_compiled_vertex_array", Version = "", EntryPoint = "glLockArraysEXT")] - public static - void LockArrays(Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLockArraysEXT((Int32)first, (Int32)count); - #if DEBUG - } - #endif - } + public static extern void LockArrays(Int32 first, Int32 count); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMapNamedBufferEXT")] - public static - IntPtr MapNamedBuffer(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glMapNamedBufferEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)access); - #if DEBUG - } - #endif - } + public static extern IntPtr MapNamedBuffer(Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess access); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMapNamedBufferEXT")] - public static - IntPtr MapNamedBuffer(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glMapNamedBufferEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)access); - #if DEBUG - } - #endif - } + public static extern IntPtr MapNamedBuffer(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess access); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMapNamedBufferRangeEXT")] - public static - IntPtr MapNamedBufferRange(Int32 buffer, IntPtr offset, IntPtr length, OpenTK.Graphics.OpenGL.BufferAccessMask access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glMapNamedBufferRangeEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)length, (OpenTK.Graphics.OpenGL.BufferAccessMask)access); - #if DEBUG - } - #endif - } + public static extern IntPtr MapNamedBufferRange(Int32 buffer, IntPtr offset, IntPtr length, OpenTK.Graphics.OpenGL.BufferAccessMask access); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMapNamedBufferRangeEXT")] - public static - IntPtr MapNamedBufferRange(UInt32 buffer, IntPtr offset, IntPtr length, OpenTK.Graphics.OpenGL.BufferAccessMask access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glMapNamedBufferRangeEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)length, (OpenTK.Graphics.OpenGL.BufferAccessMask)access); - #if DEBUG - } - #endif - } + public static extern IntPtr MapNamedBufferRange(UInt32 buffer, IntPtr offset, IntPtr length, OpenTK.Graphics.OpenGL.BufferAccessMask access); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixFrustumEXT")] - public static - void MatrixFrustum(OpenTK.Graphics.OpenGL.MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixFrustumEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar); - #if DEBUG - } - #endif - } + public static extern void MatrixFrustum(OpenTK.Graphics.OpenGL.MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoaddEXT")] - public static - void MatrixLoad(OpenTK.Graphics.OpenGL.MatrixMode mode, Double[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = m) - { - Delegates.glMatrixLoaddEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MatrixLoad(OpenTK.Graphics.OpenGL.MatrixMode mode, Double[] m); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoaddEXT")] - public static - void MatrixLoad(OpenTK.Graphics.OpenGL.MatrixMode mode, ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - Delegates.glMatrixLoaddEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MatrixLoad(OpenTK.Graphics.OpenGL.MatrixMode mode, ref Double m); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoaddEXT")] - public static - unsafe void MatrixLoad(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixLoaddEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double*)m); - #if DEBUG - } - #endif - } + public static extern unsafe void MatrixLoad(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoadfEXT")] - public static - void MatrixLoad(OpenTK.Graphics.OpenGL.MatrixMode mode, Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - Delegates.glMatrixLoadfEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MatrixLoad(OpenTK.Graphics.OpenGL.MatrixMode mode, Single[] m); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoadfEXT")] - public static - void MatrixLoad(OpenTK.Graphics.OpenGL.MatrixMode mode, ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - Delegates.glMatrixLoadfEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MatrixLoad(OpenTK.Graphics.OpenGL.MatrixMode mode, ref Single m); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoadfEXT")] - public static - unsafe void MatrixLoad(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixLoadfEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single*)m); - #if DEBUG - } - #endif - } + public static extern unsafe void MatrixLoad(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoadIdentityEXT")] - public static - void MatrixLoadIdentity(OpenTK.Graphics.OpenGL.MatrixMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixLoadIdentityEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode); - #if DEBUG - } - #endif - } + public static extern void MatrixLoadIdentity(OpenTK.Graphics.OpenGL.MatrixMode mode); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoadTransposedEXT")] - public static - void MatrixLoadTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, Double[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = m) - { - Delegates.glMatrixLoadTransposedEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MatrixLoadTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, Double[] m); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoadTransposedEXT")] - public static - void MatrixLoadTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - Delegates.glMatrixLoadTransposedEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MatrixLoadTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, ref Double m); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoadTransposedEXT")] - public static - unsafe void MatrixLoadTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixLoadTransposedEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double*)m); - #if DEBUG - } - #endif - } + public static extern unsafe void MatrixLoadTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoadTransposefEXT")] - public static - void MatrixLoadTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - Delegates.glMatrixLoadTransposefEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MatrixLoadTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, Single[] m); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoadTransposefEXT")] - public static - void MatrixLoadTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - Delegates.glMatrixLoadTransposefEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MatrixLoadTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, ref Single m); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixLoadTransposefEXT")] - public static - unsafe void MatrixLoadTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixLoadTransposefEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single*)m); - #if DEBUG - } - #endif - } + public static extern unsafe void MatrixLoadTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultdEXT")] - public static - void MatrixMult(OpenTK.Graphics.OpenGL.MatrixMode mode, Double[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = m) - { - Delegates.glMatrixMultdEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MatrixMult(OpenTK.Graphics.OpenGL.MatrixMode mode, Double[] m); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultdEXT")] - public static - void MatrixMult(OpenTK.Graphics.OpenGL.MatrixMode mode, ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - Delegates.glMatrixMultdEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MatrixMult(OpenTK.Graphics.OpenGL.MatrixMode mode, ref Double m); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultdEXT")] - public static - unsafe void MatrixMult(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixMultdEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double*)m); - #if DEBUG - } - #endif - } + public static extern unsafe void MatrixMult(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultfEXT")] - public static - void MatrixMult(OpenTK.Graphics.OpenGL.MatrixMode mode, Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - Delegates.glMatrixMultfEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MatrixMult(OpenTK.Graphics.OpenGL.MatrixMode mode, Single[] m); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultfEXT")] - public static - void MatrixMult(OpenTK.Graphics.OpenGL.MatrixMode mode, ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - Delegates.glMatrixMultfEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MatrixMult(OpenTK.Graphics.OpenGL.MatrixMode mode, ref Single m); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultfEXT")] - public static - unsafe void MatrixMult(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixMultfEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single*)m); - #if DEBUG - } - #endif - } + public static extern unsafe void MatrixMult(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultTransposedEXT")] - public static - void MatrixMultTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, Double[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = m) - { - Delegates.glMatrixMultTransposedEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MatrixMultTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, Double[] m); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultTransposedEXT")] - public static - void MatrixMultTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - Delegates.glMatrixMultTransposedEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MatrixMultTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, ref Double m); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultTransposedEXT")] - public static - unsafe void MatrixMultTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixMultTransposedEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double*)m); - #if DEBUG - } - #endif - } + public static extern unsafe void MatrixMultTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultTransposefEXT")] - public static - void MatrixMultTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - Delegates.glMatrixMultTransposefEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MatrixMultTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, Single[] m); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultTransposefEXT")] - public static - void MatrixMultTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - Delegates.glMatrixMultTransposefEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MatrixMultTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, ref Single m); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixMultTransposefEXT")] - public static - unsafe void MatrixMultTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixMultTransposefEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single*)m); - #if DEBUG - } - #endif - } + public static extern unsafe void MatrixMultTranspose(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixOrthoEXT")] - public static - void MatrixOrtho(OpenTK.Graphics.OpenGL.MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixOrthoEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar); - #if DEBUG - } - #endif - } + public static extern void MatrixOrtho(OpenTK.Graphics.OpenGL.MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixPopEXT")] - public static - void MatrixPop(OpenTK.Graphics.OpenGL.MatrixMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixPopEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode); - #if DEBUG - } - #endif - } + public static extern void MatrixPop(OpenTK.Graphics.OpenGL.MatrixMode mode); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixPushEXT")] - public static - void MatrixPush(OpenTK.Graphics.OpenGL.MatrixMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixPushEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode); - #if DEBUG - } - #endif - } + public static extern void MatrixPush(OpenTK.Graphics.OpenGL.MatrixMode mode); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixRotatedEXT")] - public static - void MatrixRotate(OpenTK.Graphics.OpenGL.MatrixMode mode, Double angle, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixRotatedEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double)angle, (Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } + public static extern void MatrixRotate(OpenTK.Graphics.OpenGL.MatrixMode mode, Double angle, Double x, Double y, Double z); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixRotatefEXT")] - public static - void MatrixRotate(OpenTK.Graphics.OpenGL.MatrixMode mode, Single angle, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixRotatefEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single)angle, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void MatrixRotate(OpenTK.Graphics.OpenGL.MatrixMode mode, Single angle, Single x, Single y, Single z); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixScaledEXT")] - public static - void MatrixScale(OpenTK.Graphics.OpenGL.MatrixMode mode, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixScaledEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } + public static extern void MatrixScale(OpenTK.Graphics.OpenGL.MatrixMode mode, Double x, Double y, Double z); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixScalefEXT")] - public static - void MatrixScale(OpenTK.Graphics.OpenGL.MatrixMode mode, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixScalefEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void MatrixScale(OpenTK.Graphics.OpenGL.MatrixMode mode, Single x, Single y, Single z); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixTranslatedEXT")] - public static - void MatrixTranslate(OpenTK.Graphics.OpenGL.MatrixMode mode, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixTranslatedEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } + public static extern void MatrixTranslate(OpenTK.Graphics.OpenGL.MatrixMode mode, Double x, Double y, Double z); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMatrixTranslatefEXT")] - public static - void MatrixTranslate(OpenTK.Graphics.OpenGL.MatrixMode mode, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixTranslatefEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void MatrixTranslate(OpenTK.Graphics.OpenGL.MatrixMode mode, Single x, Single y, Single z); /// [requires: EXT_shader_image_load_store] /// Defines a barrier ordering memory transactions @@ -169044,18 +94358,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_shader_image_load_store", Version = "", EntryPoint = "glMemoryBarrierEXT")] - public static - void MemoryBarrier(Int32 barriers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMemoryBarrierEXT((UInt32)barriers); - #if DEBUG - } - #endif - } + public static extern void MemoryBarrier(Int32 barriers); /// [requires: EXT_shader_image_load_store] /// Defines a barrier ordering memory transactions @@ -169067,18 +94370,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_shader_image_load_store", Version = "", EntryPoint = "glMemoryBarrierEXT")] - public static - void MemoryBarrier(UInt32 barriers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMemoryBarrierEXT((UInt32)barriers); - #if DEBUG - } - #endif - } + public static extern void MemoryBarrier(UInt32 barriers); /// [requires: EXT_histogram] /// Define minmax table @@ -169100,18 +94392,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use MinmaxTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glMinmaxEXT")] - public static - void Minmax(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMinmaxEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (bool)sink); - #if DEBUG - } - #endif - } + public static extern void Minmax(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); /// [requires: EXT_histogram] /// Define minmax table @@ -169132,18 +94413,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glMinmaxEXT")] - public static - void Minmax(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMinmaxEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (bool)sink); - #if DEBUG - } - #endif - } + public static extern void Minmax(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -169170,25 +94440,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static - void MultiDrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] first, Int32[] count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = first) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] first, Int32[] count, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -169215,25 +94467,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static - void MultiDrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 first, ref Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = &first) - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 first, ref Int32 count, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -169261,18 +94495,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static - unsafe void MultiDrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* first, Int32* count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)first, (Int32*)count, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiDrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* first, Int32* count, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -169298,25 +94521,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static - void MultiDrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] first, Int32[] count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = first) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] first, Int32[] count, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -169342,25 +94547,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static - void MultiDrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 first, ref Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = &first) - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 first, ref Int32 count, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives from array data @@ -169387,18 +94574,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")] - public static - unsafe void MultiDrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)first, (Int32*)count, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiDrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -169430,24 +94606,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -169479,33 +94638,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -169537,33 +94672,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -169595,33 +94706,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -169653,34 +94740,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -169712,24 +94774,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -169761,33 +94806,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -169819,33 +94840,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -169877,33 +94874,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -169935,34 +94908,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -169995,18 +94943,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -170039,27 +94976,9 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -170092,27 +95011,9 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -170145,27 +95046,9 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -170198,28 +95081,9 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -170250,24 +95114,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -170298,33 +95145,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -170355,33 +95178,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -170412,33 +95211,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -170469,34 +95244,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -170527,24 +95277,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -170575,33 +95308,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -170632,33 +95341,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -170689,33 +95374,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -170746,34 +95407,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -170805,18 +95441,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -170848,27 +95473,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -170900,27 +95507,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -170952,27 +95541,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_multi_draw_arrays] /// Render multiple sets of primitives by specifying indices of array data elements @@ -171004,3835 +95575,999 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexBufferEXT")] - public static - void MultiTexBuffer(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexBufferEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void MultiTexBuffer(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 buffer); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexBufferEXT")] - public static - void MultiTexBuffer(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexBufferEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void MultiTexBuffer(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, UInt32 buffer); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] - public static - void MultiTexCoordPointer(OpenTK.Graphics.OpenGL.TextureUnit texunit, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoordPointer(OpenTK.Graphics.OpenGL.TextureUnit texunit, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] - public static - void MultiTexCoordPointer(OpenTK.Graphics.OpenGL.TextureUnit texunit, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + public static extern void MultiTexCoordPointer(OpenTK.Graphics.OpenGL.TextureUnit texunit, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] - public static - void MultiTexCoordPointer(OpenTK.Graphics.OpenGL.TextureUnit texunit, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + public static extern void MultiTexCoordPointer(OpenTK.Graphics.OpenGL.TextureUnit texunit, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] - public static - void MultiTexCoordPointer(OpenTK.Graphics.OpenGL.TextureUnit texunit, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + public static extern void MultiTexCoordPointer(OpenTK.Graphics.OpenGL.TextureUnit texunit, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] - public static - void MultiTexCoordPointer(OpenTK.Graphics.OpenGL.TextureUnit texunit, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + public static extern void MultiTexCoordPointer(OpenTK.Graphics.OpenGL.TextureUnit texunit, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T4)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexEnvfEXT")] - public static - void MultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexEnvfEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void MultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single param); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexEnvfvEXT")] - public static - void MultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glMultiTexEnvfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexEnvfvEXT")] - public static - unsafe void MultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexEnvfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexEnviEXT")] - public static - void MultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexEnviEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void MultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32 param); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexEnvivEXT")] - public static - void MultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glMultiTexEnvivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexEnvivEXT")] - public static - unsafe void MultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexEnvivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexEnv(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexGendEXT")] - public static - void MultiTexGend(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexGendEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double)param); - #if DEBUG - } - #endif - } + public static extern void MultiTexGend(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double param); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexGendvEXT")] - public static - void MultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glMultiTexGendvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double[] @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexGendvEXT")] - public static - void MultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, ref Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glMultiTexGendvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, ref Double @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexGendvEXT")] - public static - unsafe void MultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexGendvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexGenfEXT")] - public static - void MultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexGenfEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void MultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single param); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexGenfvEXT")] - public static - void MultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glMultiTexGenfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexGenfvEXT")] - public static - unsafe void MultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexGenfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexGeniEXT")] - public static - void MultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexGeniEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void MultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32 param); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexGenivEXT")] - public static - void MultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glMultiTexGenivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexGenivEXT")] - public static - unsafe void MultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexGenivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexGen(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32* @params); /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage1DEXT")] - public static - void MultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void MultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage1DEXT")] - public static - void MultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[] pixels) + public static extern void MultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage1DEXT")] - public static - void MultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) + public static extern void MultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage1DEXT")] - public static - void MultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) + public static extern void MultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage1DEXT")] - public static - void MultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) + public static extern void MultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T8)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage1DEXT")] - public static - void MultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void MultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage1DEXT")] - public static - void MultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[] pixels) + public static extern void MultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage1DEXT")] - public static - void MultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) + public static extern void MultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage1DEXT")] - public static - void MultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) + public static extern void MultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage1DEXT")] - public static - void MultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) + public static extern void MultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T8)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage2DEXT")] - public static - void MultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void MultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage2DEXT")] - public static - void MultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[] pixels) + public static extern void MultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage2DEXT")] - public static - void MultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) + public static extern void MultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage2DEXT")] - public static - void MultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) + public static extern void MultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage2DEXT")] - public static - void MultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) + public static extern void MultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T9)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage2DEXT")] - public static - void MultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void MultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage2DEXT")] - public static - void MultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[] pixels) + public static extern void MultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage2DEXT")] - public static - void MultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) + public static extern void MultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage2DEXT")] - public static - void MultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) + public static extern void MultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage2DEXT")] - public static - void MultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) + public static extern void MultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T9)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage3DEXT")] - public static - void MultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void MultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage3DEXT")] - public static - void MultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[] pixels) + public static extern void MultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage3DEXT")] - public static - void MultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,] pixels) + public static extern void MultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage3DEXT")] - public static - void MultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,,] pixels) + public static extern void MultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,,] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage3DEXT")] - public static - void MultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T10 pixels) + public static extern void MultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T10 pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T10)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage3DEXT")] - public static - void MultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void MultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage3DEXT")] - public static - void MultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[] pixels) + public static extern void MultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage3DEXT")] - public static - void MultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,] pixels) + public static extern void MultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage3DEXT")] - public static - void MultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,,] pixels) + public static extern void MultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,,] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage3DEXT")] - public static - void MultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T10 pixels) + public static extern void MultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T10 pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T10)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameterfEXT")] - public static - void MultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexParameterfEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void MultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameterfvEXT")] - public static - void MultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glMultiTexParameterfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameterfvEXT")] - public static - unsafe void MultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexParameterfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameteriEXT")] - public static - void MultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexParameteriEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void MultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameterIivEXT")] - public static - void MultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glMultiTexParameterIivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32[] @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameterIivEXT")] - public static - void MultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glMultiTexParameterIivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, ref Int32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameterIivEXT")] - public static - unsafe void MultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexParameterIivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameterIuivEXT")] - public static - void MultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glMultiTexParameterIuivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameterIuivEXT")] - public static - void MultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, ref UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glMultiTexParameterIuivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, ref UInt32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameterIuivEXT")] - public static - unsafe void MultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexParameterIuivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexParameterI(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameterivEXT")] - public static - void MultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glMultiTexParameterivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexParameterivEXT")] - public static - unsafe void MultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexParameterivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexParameter(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexRenderbufferEXT")] - public static - void MultiTexRenderbuffer(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexRenderbufferEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void MultiTexRenderbuffer(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 renderbuffer); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexRenderbufferEXT")] - public static - void MultiTexRenderbuffer(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexRenderbufferEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void MultiTexRenderbuffer(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] - public static - void MultiTexSubImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void MultiTexSubImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] - public static - void MultiTexSubImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[] pixels) + public static extern void MultiTexSubImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[] pixels) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] - public static - void MultiTexSubImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[,] pixels) + public static extern void MultiTexSubImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[,] pixels) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] - public static - void MultiTexSubImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[,,] pixels) + public static extern void MultiTexSubImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[,,] pixels) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] - public static - void MultiTexSubImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T7 pixels) + public static extern void MultiTexSubImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T7 pixels) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T7)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] - public static - void MultiTexSubImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void MultiTexSubImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] - public static - void MultiTexSubImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[] pixels) + public static extern void MultiTexSubImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] - public static - void MultiTexSubImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) + public static extern void MultiTexSubImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] - public static - void MultiTexSubImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) + public static extern void MultiTexSubImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] - public static - void MultiTexSubImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) + public static extern void MultiTexSubImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T9)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] - public static - void MultiTexSubImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void MultiTexSubImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] - public static - void MultiTexSubImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T11[] pixels) + public static extern void MultiTexSubImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T11[] pixels) where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] - public static - void MultiTexSubImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T11[,] pixels) + public static extern void MultiTexSubImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T11[,] pixels) where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] - public static - void MultiTexSubImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T11[,,] pixels) + public static extern void MultiTexSubImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T11[,,] pixels) where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] - public static - void MultiTexSubImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T11 pixels) + public static extern void MultiTexSubImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T11 pixels) where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T11)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferDataEXT")] - public static - void NamedBufferData(Int32 buffer, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)usage); - #if DEBUG - } - #endif - } + public static extern void NamedBufferData(Int32 buffer, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferDataEXT")] - public static - void NamedBufferData(Int32 buffer, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage) + public static extern void NamedBufferData(Int32 buffer, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferDataEXT")] - public static - void NamedBufferData(Int32 buffer, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage) + public static extern void NamedBufferData(Int32 buffer, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferDataEXT")] - public static - void NamedBufferData(Int32 buffer, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage) + public static extern void NamedBufferData(Int32 buffer, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferDataEXT")] - public static - void NamedBufferData(Int32 buffer, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage) + public static extern void NamedBufferData(Int32 buffer, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)usage); - data = (T2)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferDataEXT")] - public static - void NamedBufferData(UInt32 buffer, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)usage); - #if DEBUG - } - #endif - } + public static extern void NamedBufferData(UInt32 buffer, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferDataEXT")] - public static - void NamedBufferData(UInt32 buffer, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage) + public static extern void NamedBufferData(UInt32 buffer, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferDataEXT")] - public static - void NamedBufferData(UInt32 buffer, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage) + public static extern void NamedBufferData(UInt32 buffer, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferDataEXT")] - public static - void NamedBufferData(UInt32 buffer, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage) + public static extern void NamedBufferData(UInt32 buffer, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferDataEXT")] - public static - void NamedBufferData(UInt32 buffer, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage) + public static extern void NamedBufferData(UInt32 buffer, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)usage); - data = (T2)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferStorageEXT")] - public static - void NamedBufferStorage(Int32 buffer, IntPtr size, IntPtr data, Int32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedBufferStorageEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data, (UInt32)flags); - #if DEBUG - } - #endif - } + public static extern void NamedBufferStorage(Int32 buffer, IntPtr size, IntPtr data, Int32 flags); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferStorageEXT")] - public static - void NamedBufferStorage(Int32 buffer, IntPtr size, [InAttribute, OutAttribute] T2[] data, Int32 flags) + public static extern void NamedBufferStorage(Int32 buffer, IntPtr size, [InAttribute, OutAttribute] T2[] data, Int32 flags) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferStorageEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (UInt32)flags); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferStorageEXT")] - public static - void NamedBufferStorage(Int32 buffer, IntPtr size, [InAttribute, OutAttribute] T2[,] data, Int32 flags) + public static extern void NamedBufferStorage(Int32 buffer, IntPtr size, [InAttribute, OutAttribute] T2[,] data, Int32 flags) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferStorageEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (UInt32)flags); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferStorageEXT")] - public static - void NamedBufferStorage(Int32 buffer, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, Int32 flags) + public static extern void NamedBufferStorage(Int32 buffer, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, Int32 flags) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferStorageEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (UInt32)flags); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferStorageEXT")] - public static - void NamedBufferStorage(Int32 buffer, IntPtr size, [InAttribute, OutAttribute] ref T2 data, Int32 flags) + public static extern void NamedBufferStorage(Int32 buffer, IntPtr size, [InAttribute, OutAttribute] ref T2 data, Int32 flags) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferStorageEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (UInt32)flags); - data = (T2)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferStorageEXT")] - public static - void NamedBufferStorage(UInt32 buffer, IntPtr size, IntPtr data, UInt32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedBufferStorageEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data, (UInt32)flags); - #if DEBUG - } - #endif - } + public static extern void NamedBufferStorage(UInt32 buffer, IntPtr size, IntPtr data, UInt32 flags); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferStorageEXT")] - public static - void NamedBufferStorage(UInt32 buffer, IntPtr size, [InAttribute, OutAttribute] T2[] data, UInt32 flags) + public static extern void NamedBufferStorage(UInt32 buffer, IntPtr size, [InAttribute, OutAttribute] T2[] data, UInt32 flags) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferStorageEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (UInt32)flags); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferStorageEXT")] - public static - void NamedBufferStorage(UInt32 buffer, IntPtr size, [InAttribute, OutAttribute] T2[,] data, UInt32 flags) + public static extern void NamedBufferStorage(UInt32 buffer, IntPtr size, [InAttribute, OutAttribute] T2[,] data, UInt32 flags) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferStorageEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (UInt32)flags); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferStorageEXT")] - public static - void NamedBufferStorage(UInt32 buffer, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, UInt32 flags) + public static extern void NamedBufferStorage(UInt32 buffer, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, UInt32 flags) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferStorageEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (UInt32)flags); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferStorageEXT")] - public static - void NamedBufferStorage(UInt32 buffer, IntPtr size, [InAttribute, OutAttribute] ref T2 data, UInt32 flags) + public static extern void NamedBufferStorage(UInt32 buffer, IntPtr size, [InAttribute, OutAttribute] ref T2 data, UInt32 flags) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferStorageEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (UInt32)flags); - data = (T2)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] - public static - void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, IntPtr data); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] - public static - void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) + public static extern void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] - public static - void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) + public static extern void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] - public static - void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) + public static extern void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] - public static - void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) + public static extern void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T3)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] - public static - void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, IntPtr data); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] - public static - void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) + public static extern void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] - public static - void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) + public static extern void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] - public static - void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) + public static extern void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] - public static - void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) + public static extern void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T3)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedCopyBufferSubDataEXT")] - public static - void NamedCopyBufferSubData(Int32 readBuffer, Int32 writeBuffer, IntPtr readOffset, IntPtr writeOffset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedCopyBufferSubDataEXT((UInt32)readBuffer, (UInt32)writeBuffer, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size); - #if DEBUG - } - #endif - } + public static extern void NamedCopyBufferSubData(Int32 readBuffer, Int32 writeBuffer, IntPtr readOffset, IntPtr writeOffset, IntPtr size); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedCopyBufferSubDataEXT")] - public static - void NamedCopyBufferSubData(UInt32 readBuffer, UInt32 writeBuffer, IntPtr readOffset, IntPtr writeOffset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedCopyBufferSubDataEXT((UInt32)readBuffer, (UInt32)writeBuffer, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size); - #if DEBUG - } - #endif - } + public static extern void NamedCopyBufferSubData(UInt32 readBuffer, UInt32 writeBuffer, IntPtr readOffset, IntPtr writeOffset, IntPtr size); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferParameteriEXT")] - public static - void NamedFramebufferParameter(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedFramebufferParameteriEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferParameterName)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void NamedFramebufferParameter(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, Int32 param); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferParameteriEXT")] - public static - void NamedFramebufferParameter(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedFramebufferParameteriEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferParameterName)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void NamedFramebufferParameter(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, Int32 param); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferRenderbufferEXT")] - public static - void NamedFramebufferRenderbuffer(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedFramebufferRenderbufferEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void NamedFramebufferRenderbuffer(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, Int32 renderbuffer); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferRenderbufferEXT")] - public static - void NamedFramebufferRenderbuffer(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedFramebufferRenderbufferEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void NamedFramebufferRenderbuffer(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTexture1DEXT")] - public static - void NamedFramebufferTexture1D(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedFramebufferTexture1DEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void NamedFramebufferTexture1D(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, Int32 texture, Int32 level); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTexture1DEXT")] - public static - void NamedFramebufferTexture1D(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedFramebufferTexture1DEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void NamedFramebufferTexture1D(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTexture2DEXT")] - public static - void NamedFramebufferTexture2D(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedFramebufferTexture2DEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void NamedFramebufferTexture2D(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, Int32 texture, Int32 level); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTexture2DEXT")] - public static - void NamedFramebufferTexture2D(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedFramebufferTexture2DEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void NamedFramebufferTexture2D(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTexture3DEXT")] - public static - void NamedFramebufferTexture3D(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, Int32 texture, Int32 level, Int32 zoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedFramebufferTexture3DEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); - #if DEBUG - } - #endif - } + public static extern void NamedFramebufferTexture3D(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, Int32 texture, Int32 level, Int32 zoffset); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTexture3DEXT")] - public static - void NamedFramebufferTexture3D(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedFramebufferTexture3DEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); - #if DEBUG - } - #endif - } + public static extern void NamedFramebufferTexture3D(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTextureEXT")] - public static - void NamedFramebufferTexture(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedFramebufferTextureEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void NamedFramebufferTexture(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTextureEXT")] - public static - void NamedFramebufferTexture(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedFramebufferTextureEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void NamedFramebufferTexture(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTextureFaceEXT")] - public static - void NamedFramebufferTextureFace(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedFramebufferTextureFaceEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.TextureTarget)face); - #if DEBUG - } - #endif - } + public static extern void NamedFramebufferTextureFace(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTextureFaceEXT")] - public static - void NamedFramebufferTextureFace(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedFramebufferTextureFaceEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.TextureTarget)face); - #if DEBUG - } - #endif - } + public static extern void NamedFramebufferTextureFace(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTextureLayerEXT")] - public static - void NamedFramebufferTextureLayer(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedFramebufferTextureLayerEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); - #if DEBUG - } - #endif - } + public static extern void NamedFramebufferTextureLayer(Int32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedFramebufferTextureLayerEXT")] - public static - void NamedFramebufferTextureLayer(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedFramebufferTextureLayerEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); - #if DEBUG - } - #endif - } + public static extern void NamedFramebufferTextureLayer(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4dEXT")] - public static - void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameter4dEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } + public static extern void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Double x, Double y, Double z, Double w); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4dEXT")] - public static - void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameter4dEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } + public static extern void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Double x, Double y, Double z, Double w); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] - public static - void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Double[] @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] - public static - void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, ref Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, ref Double @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] - public static - unsafe void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Double* @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] - public static - void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Double[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] - public static - void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, ref Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, ref Double @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] - public static - unsafe void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Double* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4fEXT")] - public static - void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameter4fEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } + public static extern void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Single x, Single y, Single z, Single w); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4fEXT")] - public static - void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameter4fEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } + public static extern void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Single x, Single y, Single z, Single w); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] - public static - void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Single[] @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] - public static - void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, ref Single @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] - public static - unsafe void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Single* @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] - public static - void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Single[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] - public static - void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, ref Single @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] - public static - unsafe void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Single* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4iEXT")] - public static - void NamedProgramLocalParameterI4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameterI4iEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - #if DEBUG - } - #endif - } + public static extern void NamedProgramLocalParameterI4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4iEXT")] - public static - void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameterI4iEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - #if DEBUG - } - #endif - } + public static extern void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] - public static - void NamedProgramLocalParameterI4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NamedProgramLocalParameterI4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Int32[] @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] - public static - void NamedProgramLocalParameterI4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NamedProgramLocalParameterI4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, ref Int32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] - public static - unsafe void NamedProgramLocalParameterI4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void NamedProgramLocalParameterI4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Int32* @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] - public static - void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] - public static - void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, ref Int32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] - public static - unsafe void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32* @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4uiEXT")] - public static - void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameterI4uiEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); - #if DEBUG - } - #endif - } + public static extern void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4uivEXT")] - public static - void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glNamedProgramLocalParameterI4uivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, UInt32[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4uivEXT")] - public static - void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, ref UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParameterI4uivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, ref UInt32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameterI4uivEXT")] - public static - unsafe void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameterI4uivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, UInt32* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] - public static - void NamedProgramLocalParameters4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Int32 count, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NamedProgramLocalParameters4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Int32 count, Single[] @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] - public static - void NamedProgramLocalParameters4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Int32 count, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NamedProgramLocalParameters4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Int32 count, ref Single @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] - public static - unsafe void NamedProgramLocalParameters4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Int32 count, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void NamedProgramLocalParameters4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Int32 count, Single* @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] - public static - void NamedProgramLocalParameters4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NamedProgramLocalParameters4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, Single[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] - public static - void NamedProgramLocalParameters4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NamedProgramLocalParameters4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, ref Single @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] - public static - unsafe void NamedProgramLocalParameters4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void NamedProgramLocalParameters4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, Single* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] - public static - void NamedProgramLocalParametersI4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Int32 count, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NamedProgramLocalParametersI4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Int32 count, Int32[] @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] - public static - void NamedProgramLocalParametersI4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Int32 count, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NamedProgramLocalParametersI4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Int32 count, ref Int32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] - public static - unsafe void NamedProgramLocalParametersI4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Int32 count, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void NamedProgramLocalParametersI4(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 index, Int32 count, Int32* @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] - public static - void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, Int32[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] - public static - void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, ref Int32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] - public static - unsafe void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, Int32* @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParametersI4uivEXT")] - public static - void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glNamedProgramLocalParametersI4uivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, UInt32[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParametersI4uivEXT")] - public static - void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, ref UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParametersI4uivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, ref UInt32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramLocalParametersI4uivEXT")] - public static - unsafe void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParametersI4uivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, UInt32* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramStringEXT")] - public static - void NamedProgramString(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, IntPtr @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string); - #if DEBUG - } - #endif - } + public static extern void NamedProgramString(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, IntPtr @string); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramStringEXT")] - public static - void NamedProgramString(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, [InAttribute, OutAttribute] T4[] @string) + public static extern void NamedProgramString(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, [InAttribute, OutAttribute] T4[] @string) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramStringEXT")] - public static - void NamedProgramString(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, [InAttribute, OutAttribute] T4[,] @string) + public static extern void NamedProgramString(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, [InAttribute, OutAttribute] T4[,] @string) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramStringEXT")] - public static - void NamedProgramString(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, [InAttribute, OutAttribute] T4[,,] @string) + public static extern void NamedProgramString(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, [InAttribute, OutAttribute] T4[,,] @string) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramStringEXT")] - public static - void NamedProgramString(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, [InAttribute, OutAttribute] ref T4 @string) + public static extern void NamedProgramString(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, [InAttribute, OutAttribute] ref T4 @string) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - @string = (T4)@string_ptr.Target; - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramStringEXT")] - public static - void NamedProgramString(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, IntPtr @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string); - #if DEBUG - } - #endif - } + public static extern void NamedProgramString(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, IntPtr @string); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramStringEXT")] - public static - void NamedProgramString(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, [InAttribute, OutAttribute] T4[] @string) + public static extern void NamedProgramString(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, [InAttribute, OutAttribute] T4[] @string) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramStringEXT")] - public static - void NamedProgramString(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, [InAttribute, OutAttribute] T4[,] @string) + public static extern void NamedProgramString(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, [InAttribute, OutAttribute] T4[,] @string) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramStringEXT")] - public static - void NamedProgramString(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, [InAttribute, OutAttribute] T4[,,] @string) + public static extern void NamedProgramString(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, [InAttribute, OutAttribute] T4[,,] @string) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedProgramStringEXT")] - public static - void NamedProgramString(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, [InAttribute, OutAttribute] ref T4 @string) + public static extern void NamedProgramString(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, [InAttribute, OutAttribute] ref T4 @string) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - @string = (T4)@string_ptr.Target; - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedRenderbufferStorageEXT")] - public static - void NamedRenderbufferStorage(Int32 renderbuffer, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedRenderbufferStorageEXT((UInt32)renderbuffer, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void NamedRenderbufferStorage(Int32 renderbuffer, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedRenderbufferStorageEXT")] - public static - void NamedRenderbufferStorage(UInt32 renderbuffer, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedRenderbufferStorageEXT((UInt32)renderbuffer, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void NamedRenderbufferStorage(UInt32 renderbuffer, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedRenderbufferStorageMultisampleCoverageEXT")] - public static - void NamedRenderbufferStorageMultisampleCoverage(Int32 renderbuffer, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedRenderbufferStorageMultisampleCoverageEXT((UInt32)renderbuffer, (Int32)coverageSamples, (Int32)colorSamples, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void NamedRenderbufferStorageMultisampleCoverage(Int32 renderbuffer, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedRenderbufferStorageMultisampleCoverageEXT")] - public static - void NamedRenderbufferStorageMultisampleCoverage(UInt32 renderbuffer, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedRenderbufferStorageMultisampleCoverageEXT((UInt32)renderbuffer, (Int32)coverageSamples, (Int32)colorSamples, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void NamedRenderbufferStorageMultisampleCoverage(UInt32 renderbuffer, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedRenderbufferStorageMultisampleEXT")] - public static - void NamedRenderbufferStorageMultisample(Int32 renderbuffer, Int32 samples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedRenderbufferStorageMultisampleEXT((UInt32)renderbuffer, (Int32)samples, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void NamedRenderbufferStorageMultisample(Int32 renderbuffer, Int32 samples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glNamedRenderbufferStorageMultisampleEXT")] - public static - void NamedRenderbufferStorageMultisample(UInt32 renderbuffer, Int32 samples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedRenderbufferStorageMultisampleEXT((UInt32)renderbuffer, (Int32)samples, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void NamedRenderbufferStorageMultisample(UInt32 renderbuffer, Int32 samples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height); /// [requires: EXT_vertex_array] /// Define an array of normals @@ -174853,18 +96588,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glNormalPointerEXT")] - public static - void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, Int32 count, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, Int32 count, IntPtr pointer); /// [requires: EXT_vertex_array] /// Define an array of normals @@ -174885,27 +96609,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glNormalPointerEXT")] - public static - void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T3[] pointer) + public static extern void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T3[] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_array] /// Define an array of normals @@ -174926,27 +96632,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glNormalPointerEXT")] - public static - void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T3[,] pointer) + public static extern void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T3[,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_array] /// Define an array of normals @@ -174967,27 +96655,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glNormalPointerEXT")] - public static - void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T3[,,] pointer) + public static extern void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T3[,,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_array] /// Define an array of normals @@ -175008,90 +96678,27 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glNormalPointerEXT")] - public static - void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] ref T3 pointer) + public static extern void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] ref T3 pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_pixel_transform] [AutoGenerated(Category = "EXT_pixel_transform", Version = "", EntryPoint = "glPixelTransformParameterfEXT")] - public static - void PixelTransformParameter(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelTransformParameterfEXT((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void PixelTransformParameter(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Single param); /// [requires: EXT_pixel_transform] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_pixel_transform", Version = "", EntryPoint = "glPixelTransformParameterfvEXT")] - public static - unsafe void PixelTransformParameter(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelTransformParameterfvEXT((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void PixelTransformParameter(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Single* @params); /// [requires: EXT_pixel_transform] [AutoGenerated(Category = "EXT_pixel_transform", Version = "", EntryPoint = "glPixelTransformParameteriEXT")] - public static - void PixelTransformParameter(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelTransformParameteriEXT((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void PixelTransformParameter(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Int32 param); /// [requires: EXT_pixel_transform] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_pixel_transform", Version = "", EntryPoint = "glPixelTransformParameterivEXT")] - public static - unsafe void PixelTransformParameter(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelTransformParameterivEXT((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void PixelTransformParameter(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Int32* @params); /// [requires: EXT_point_parameters] /// Specify point parameters @@ -175112,18 +96719,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_point_parameters", Version = "", EntryPoint = "glPointParameterfEXT")] - public static - void PointParameter(OpenTK.Graphics.OpenGL.ExtPointParameters pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameterfEXT((OpenTK.Graphics.OpenGL.ExtPointParameters)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void PointParameter(OpenTK.Graphics.OpenGL.ExtPointParameters pname, Single param); /// [requires: EXT_point_parameters] /// Specify point parameters @@ -175144,24 +96740,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_point_parameters", Version = "", EntryPoint = "glPointParameterfvEXT")] - public static - void PointParameter(OpenTK.Graphics.OpenGL.ExtPointParameters pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glPointParameterfvEXT((OpenTK.Graphics.OpenGL.ExtPointParameters)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PointParameter(OpenTK.Graphics.OpenGL.ExtPointParameters pname, Single[] @params); /// [requires: EXT_point_parameters] /// Specify point parameters @@ -175183,18 +96762,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_point_parameters", Version = "", EntryPoint = "glPointParameterfvEXT")] - public static - unsafe void PointParameter(OpenTK.Graphics.OpenGL.ExtPointParameters pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameterfvEXT((OpenTK.Graphics.OpenGL.ExtPointParameters)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void PointParameter(OpenTK.Graphics.OpenGL.ExtPointParameters pname, Single* @params); /// [requires: EXT_polygon_offset] /// Set the scale and units used to calculate depth values @@ -175210,33 +96778,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_polygon_offset", Version = "", EntryPoint = "glPolygonOffsetEXT")] - public static - void PolygonOffset(Single factor, Single bias) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPolygonOffsetEXT((Single)factor, (Single)bias); - #if DEBUG - } - #endif - } + public static extern void PolygonOffset(Single factor, Single bias); /// [requires: EXT_debug_marker] [AutoGenerated(Category = "EXT_debug_marker", Version = "", EntryPoint = "glPopGroupMarkerEXT")] - public static - void PopGroupMarker() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPopGroupMarkerEXT(); - #if DEBUG - } - #endif - } + public static extern void PopGroupMarker(); /// [requires: EXT_texture_object] /// Set texture residence priority @@ -175257,25 +96803,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glPrioritizeTexturesEXT")] - public static - void PrioritizeTextures(Int32 n, Int32[] textures, Single[] priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - fixed (Single* priorities_ptr = priorities) - { - Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PrioritizeTextures(Int32 n, Int32[] textures, Single[] priorities); /// [requires: EXT_texture_object] /// Set texture residence priority @@ -175296,25 +96824,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glPrioritizeTexturesEXT")] - public static - void PrioritizeTextures(Int32 n, ref Int32 textures, ref Single priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - fixed (Single* priorities_ptr = &priorities) - { - Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PrioritizeTextures(Int32 n, ref Int32 textures, ref Single priorities); /// [requires: EXT_texture_object] /// Set texture residence priority @@ -175336,18 +96846,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glPrioritizeTexturesEXT")] - public static - unsafe void PrioritizeTextures(Int32 n, Int32* textures, Single* priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures, (Single*)priorities); - #if DEBUG - } - #endif - } + public static extern unsafe void PrioritizeTextures(Int32 n, Int32* textures, Single* priorities); /// [requires: EXT_texture_object] /// Set texture residence priority @@ -175369,25 +96868,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glPrioritizeTexturesEXT")] - public static - void PrioritizeTextures(Int32 n, UInt32[] textures, Single[] priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - fixed (Single* priorities_ptr = priorities) - { - Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PrioritizeTextures(Int32 n, UInt32[] textures, Single[] priorities); /// [requires: EXT_texture_object] /// Set texture residence priority @@ -175409,25 +96890,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glPrioritizeTexturesEXT")] - public static - void PrioritizeTextures(Int32 n, ref UInt32 textures, ref Single priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - fixed (Single* priorities_ptr = &priorities) - { - Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PrioritizeTextures(Int32 n, ref UInt32 textures, ref Single priorities); /// [requires: EXT_texture_object] /// Set texture residence priority @@ -175449,254 +96912,63 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_object", Version = "", EntryPoint = "glPrioritizeTexturesEXT")] - public static - unsafe void PrioritizeTextures(Int32 n, UInt32* textures, Single* priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures, (Single*)priorities); - #if DEBUG - } - #endif - } + public static extern unsafe void PrioritizeTextures(Int32 n, UInt32* textures, Single* priorities); /// [requires: EXT_gpu_program_parameters] [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "", EntryPoint = "glProgramEnvParameters4fvEXT")] - public static - void ProgramEnvParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, Int32 index, Int32 count, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramEnvParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, Int32 index, Int32 count, Single[] @params); /// [requires: EXT_gpu_program_parameters] [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "", EntryPoint = "glProgramEnvParameters4fvEXT")] - public static - void ProgramEnvParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, Int32 index, Int32 count, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramEnvParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, Int32 index, Int32 count, ref Single @params); /// [requires: EXT_gpu_program_parameters] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "", EntryPoint = "glProgramEnvParameters4fvEXT")] - public static - unsafe void ProgramEnvParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, Int32 index, Int32 count, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramEnvParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, Int32 index, Int32 count, Single* @params); /// [requires: EXT_gpu_program_parameters] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "", EntryPoint = "glProgramEnvParameters4fvEXT")] - public static - void ProgramEnvParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramEnvParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single[] @params); /// [requires: EXT_gpu_program_parameters] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "", EntryPoint = "glProgramEnvParameters4fvEXT")] - public static - void ProgramEnvParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramEnvParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, ref Single @params); /// [requires: EXT_gpu_program_parameters] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "", EntryPoint = "glProgramEnvParameters4fvEXT")] - public static - unsafe void ProgramEnvParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramEnvParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params); /// [requires: EXT_gpu_program_parameters] [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "", EntryPoint = "glProgramLocalParameters4fvEXT")] - public static - void ProgramLocalParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, Int32 index, Int32 count, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramLocalParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, Int32 index, Int32 count, Single[] @params); /// [requires: EXT_gpu_program_parameters] [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "", EntryPoint = "glProgramLocalParameters4fvEXT")] - public static - void ProgramLocalParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, Int32 index, Int32 count, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramLocalParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, Int32 index, Int32 count, ref Single @params); /// [requires: EXT_gpu_program_parameters] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "", EntryPoint = "glProgramLocalParameters4fvEXT")] - public static - unsafe void ProgramLocalParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, Int32 index, Int32 count, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramLocalParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, Int32 index, Int32 count, Single* @params); /// [requires: EXT_gpu_program_parameters] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "", EntryPoint = "glProgramLocalParameters4fvEXT")] - public static - void ProgramLocalParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramLocalParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single[] @params); /// [requires: EXT_gpu_program_parameters] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "", EntryPoint = "glProgramLocalParameters4fvEXT")] - public static - void ProgramLocalParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramLocalParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, ref Single @params); /// [requires: EXT_gpu_program_parameters] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_program_parameters", Version = "", EntryPoint = "glProgramLocalParameters4fvEXT")] - public static - unsafe void ProgramLocalParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramLocalParameters4(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params); /// [requires: EXT_geometry_shader4|EXT_separate_shader_objects] /// Specify a parameter for a program object @@ -175717,18 +96989,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_geometry_shader4|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramParameteriEXT")] - public static - void ProgramParameter(Int32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameteriEXT((UInt32)program, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32)value); - #if DEBUG - } - #endif - } + public static extern void ProgramParameter(Int32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value); /// [requires: EXT_geometry_shader4|EXT_separate_shader_objects] /// Specify a parameter for a program object @@ -175750,18 +97011,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_geometry_shader4|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramParameteriEXT")] - public static - void ProgramParameter(UInt32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameteriEXT((UInt32)program, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32)value); - #if DEBUG - } - #endif - } + public static extern void ProgramParameter(UInt32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value); /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -175800,18 +97050,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1dEXT")] - public static - void ProgramUniform1(Int32 program, Int32 location, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1dEXT((UInt32)program, (Int32)location, (Double)x); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Double x); /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -175851,18 +97090,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1dEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1dEXT((UInt32)program, (Int32)location, (Double)x); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Double x); /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -175901,24 +97129,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1dvEXT")] - public static - void ProgramUniform1(Int32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniform1dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 count, Double[] value); /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -175957,24 +97168,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1dvEXT")] - public static - void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniform1dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Double value); /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -176014,18 +97208,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1dvEXT")] - public static - unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Double* value); /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -176065,24 +97248,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1dvEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniform1dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Double[] value); /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -176122,24 +97288,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1dvEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniform1dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Double value); /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -176179,18 +97328,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform1dvEXT")] - public static - unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Double* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -176229,18 +97367,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fEXT")] - public static - void ProgramUniform1(Int32 program, Int32 location, Single v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1fEXT((UInt32)program, (Int32)location, (Single)v0); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Single v0); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -176280,18 +97407,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Single v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1fEXT((UInt32)program, (Int32)location, (Single)v0); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Single v0); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -176330,24 +97446,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static - void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -176386,24 +97485,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static - void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Single value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -176443,18 +97525,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static - unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -176494,24 +97565,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -176551,24 +97605,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Single value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -176608,18 +97645,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static - unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -176658,18 +97684,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1iEXT")] - public static - void ProgramUniform1(Int32 program, Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1iEXT((UInt32)program, (Int32)location, (Int32)v0); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 v0); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -176709,18 +97724,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1iEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1iEXT((UInt32)program, (Int32)location, (Int32)v0); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 v0); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -176759,24 +97763,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static - void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -176815,24 +97802,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static - void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Int32 value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -176872,18 +97842,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static - unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -176923,24 +97882,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -176980,24 +97922,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Int32 value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -177037,18 +97962,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static - unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -177088,18 +98002,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1uiEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, UInt32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1uiEXT((UInt32)program, (Int32)location, (UInt32)v0); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, UInt32 v0); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -177139,24 +98042,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1uivEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glProgramUniform1uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -177196,24 +98082,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1uivEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glProgramUniform1uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref UInt32 value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -177253,18 +98122,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform1uivEXT")] - public static - unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32* value); /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -177303,18 +98161,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform2dEXT")] - public static - void ProgramUniform2(Int32 program, Int32 location, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2dEXT((UInt32)program, (Int32)location, (Double)x, (Double)y); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Double x, Double y); /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -177354,18 +98201,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform2dEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2dEXT((UInt32)program, (Int32)location, (Double)x, (Double)y); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Double x, Double y); /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -177404,24 +98240,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform2dvEXT")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniform2dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, Double[] value); /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -177460,24 +98279,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform2dvEXT")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniform2dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, ref Double value); /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -177517,18 +98319,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform2dvEXT")] - public static - unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Double* value); /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -177568,24 +98359,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform2dvEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniform2dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Double[] value); /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -177625,24 +98399,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform2dvEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniform2dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref Double value); /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -177682,18 +98439,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform2dvEXT")] - public static - unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Double* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -177732,18 +98478,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fEXT")] - public static - void ProgramUniform2(Int32 program, Int32 location, Single v0, Single v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Single v0, Single v1); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -177783,18 +98518,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Single v0, Single v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Single v0, Single v1); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -177833,24 +98557,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -177889,24 +98596,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, ref Single value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -177946,18 +98636,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static - unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -177997,24 +98676,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -178054,24 +98716,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref Single value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -178111,18 +98756,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static - unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -178161,18 +98795,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2iEXT")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 v0, Int32 v1); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -178212,18 +98835,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2iEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 v0, Int32 v1); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -178262,24 +98874,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2ivEXT")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -178319,18 +98914,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2ivEXT")] - public static - unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -178370,24 +98954,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2ivEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -178427,18 +98994,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2ivEXT")] - public static - unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -178478,18 +99034,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2uiEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, UInt32 v0, UInt32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, UInt32 v0, UInt32 v1); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -178529,24 +99074,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2uivEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glProgramUniform2uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -178586,24 +99114,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2uivEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glProgramUniform2uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref UInt32 value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -178643,18 +99154,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform2uivEXT")] - public static - unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32* value); /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -178693,18 +99193,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3dEXT")] - public static - void ProgramUniform3(Int32 program, Int32 location, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3dEXT((UInt32)program, (Int32)location, (Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Double x, Double y, Double z); /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -178744,18 +99233,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3dEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3dEXT((UInt32)program, (Int32)location, (Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Double x, Double y, Double z); /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -178794,24 +99272,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3dvEXT")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniform3dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, Double[] value); /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -178850,24 +99311,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3dvEXT")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniform3dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Double value); /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -178907,18 +99351,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3dvEXT")] - public static - unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Double* value); /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -178958,24 +99391,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3dvEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniform3dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Double[] value); /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -179015,24 +99431,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3dvEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniform3dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Double value); /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -179072,18 +99471,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform3dvEXT")] - public static - unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Double* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -179122,18 +99510,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fEXT")] - public static - void ProgramUniform3(Int32 program, Int32 location, Single v0, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Single v0, Single v1, Single v2); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -179173,18 +99550,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Single v0, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Single v0, Single v1, Single v2); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -179223,24 +99589,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -179279,24 +99628,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Single value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -179336,18 +99668,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static - unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -179387,24 +99708,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -179444,24 +99748,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Single value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -179501,18 +99788,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static - unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -179551,18 +99827,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3iEXT")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -179602,18 +99867,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3iEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -179652,24 +99906,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -179708,24 +99945,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Int32 value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -179765,18 +99985,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static - unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -179816,24 +100025,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -179873,24 +100065,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Int32 value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -179930,18 +100105,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static - unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -179981,18 +100145,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3uiEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -180032,24 +100185,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3uivEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glProgramUniform3uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -180089,24 +100225,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3uivEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glProgramUniform3uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref UInt32 value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -180146,18 +100265,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform3uivEXT")] - public static - unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32* value); /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -180196,18 +100304,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4dEXT")] - public static - void ProgramUniform4(Int32 program, Int32 location, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4dEXT((UInt32)program, (Int32)location, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Double x, Double y, Double z, Double w); /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -180247,18 +100344,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4dEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4dEXT((UInt32)program, (Int32)location, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Double x, Double y, Double z, Double w); /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -180297,24 +100383,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4dvEXT")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniform4dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, Double[] value); /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -180353,24 +100422,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4dvEXT")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniform4dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Double value); /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -180410,18 +100462,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4dvEXT")] - public static - unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Double* value); /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -180461,24 +100502,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4dvEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniform4dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Double[] value); /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -180518,24 +100542,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4dvEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniform4dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Double value); /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object @@ -180575,18 +100582,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniform4dvEXT")] - public static - unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Double* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -180625,18 +100621,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fEXT")] - public static - void ProgramUniform4(Int32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Single v0, Single v1, Single v2, Single v3); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -180676,18 +100661,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -180726,24 +100700,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -180782,24 +100739,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Single value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -180839,18 +100779,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static - unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -180890,24 +100819,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -180947,24 +100859,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Single value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -181004,18 +100899,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static - unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -181054,18 +100938,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4iEXT")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -181105,18 +100978,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4iEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -181155,24 +101017,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -181211,24 +101056,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Int32 value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -181268,18 +101096,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static - unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -181319,24 +101136,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -181376,24 +101176,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Int32 value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -181433,18 +101216,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static - unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -181484,18 +101256,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4uiEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -181535,24 +101296,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4uivEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glProgramUniform4uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -181592,24 +101336,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4uivEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glProgramUniform4uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref UInt32 value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] /// Specify the value of a uniform variable for a specified program object @@ -181649,2142 +101376,511 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniform4uivEXT")] - public static - unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32* value); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2dvEXT")] - public static - void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2dvEXT")] - public static - void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2dvEXT")] - public static - unsafe void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2dvEXT")] - public static - void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2dvEXT")] - public static - void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2dvEXT")] - public static - unsafe void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static - void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static - void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static - unsafe void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static - void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static - void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static - unsafe void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x3dvEXT")] - public static - void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x3dvEXT")] - public static - void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x3dvEXT")] - public static - unsafe void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x3dvEXT")] - public static - void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x3dvEXT")] - public static - void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x3dvEXT")] - public static - unsafe void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static - void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static - void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static - unsafe void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static - void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static - void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static - unsafe void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x4dvEXT")] - public static - void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x4dvEXT")] - public static - void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x4dvEXT")] - public static - unsafe void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x4dvEXT")] - public static - void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x4dvEXT")] - public static - void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix2x4dvEXT")] - public static - unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static - void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static - void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static - unsafe void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static - void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static - void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static - unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3dvEXT")] - public static - void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3dvEXT")] - public static - void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3dvEXT")] - public static - unsafe void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3dvEXT")] - public static - void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3dvEXT")] - public static - void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3dvEXT")] - public static - unsafe void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static - void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static - void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static - unsafe void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static - void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static - void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static - unsafe void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x2dvEXT")] - public static - void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x2dvEXT")] - public static - void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x2dvEXT")] - public static - unsafe void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x2dvEXT")] - public static - void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x2dvEXT")] - public static - void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x2dvEXT")] - public static - unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static - void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static - void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static - unsafe void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static - void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static - void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static - unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x4dvEXT")] - public static - void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x4dvEXT")] - public static - void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x4dvEXT")] - public static - unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x4dvEXT")] - public static - void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x4dvEXT")] - public static - void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix3x4dvEXT")] - public static - unsafe void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static - void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static - void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static - unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static - void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static - void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static - unsafe void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4dvEXT")] - public static - void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4dvEXT")] - public static - void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4dvEXT")] - public static - unsafe void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4dvEXT")] - public static - void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4dvEXT")] - public static - void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4dvEXT")] - public static - unsafe void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] - public static - void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] - public static - void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] - public static - unsafe void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] - public static - void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] - public static - void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] - public static - unsafe void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x2dvEXT")] - public static - void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x2dvEXT")] - public static - void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x2dvEXT")] - public static - unsafe void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x2dvEXT")] - public static - void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x2dvEXT")] - public static - void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x2dvEXT")] - public static - unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static - void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static - void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static - unsafe void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static - void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static - void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static - unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x3dvEXT")] - public static - void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x3dvEXT")] - public static - void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x3dvEXT")] - public static - unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x3dvEXT")] - public static - void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x3dvEXT")] - public static - void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glProgramUniformMatrix4x3dvEXT")] - public static - unsafe void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static - void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static - void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static - unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static - void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static - void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: EXT_direct_state_access|EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static - unsafe void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: EXT_provoking_vertex] /// Specifiy the vertex to be used as the source of data for flat shaded varyings @@ -183795,48 +101891,15 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_provoking_vertex", Version = "", EntryPoint = "glProvokingVertexEXT")] - public static - void ProvokingVertex(OpenTK.Graphics.OpenGL.ExtProvokingVertex mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProvokingVertexEXT((OpenTK.Graphics.OpenGL.ExtProvokingVertex)mode); - #if DEBUG - } - #endif - } + public static extern void ProvokingVertex(OpenTK.Graphics.OpenGL.ExtProvokingVertex mode); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glPushClientAttribDefaultEXT")] - public static - void PushClientAttribDefault(OpenTK.Graphics.OpenGL.ClientAttribMask mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPushClientAttribDefaultEXT((OpenTK.Graphics.OpenGL.ClientAttribMask)mask); - #if DEBUG - } - #endif - } + public static extern void PushClientAttribDefault(OpenTK.Graphics.OpenGL.ClientAttribMask mask); /// [requires: EXT_debug_marker] [AutoGenerated(Category = "EXT_debug_marker", Version = "", EntryPoint = "glPushGroupMarkerEXT")] - public static - void PushGroupMarker(Int32 length, String marker) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPushGroupMarkerEXT((Int32)length, (String)marker); - #if DEBUG - } - #endif - } + public static extern void PushGroupMarker(Int32 length, String marker); /// [requires: EXT_framebuffer_object] /// Establish data storage, format and dimensions of a renderbuffer object's image @@ -183862,18 +101925,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_object", Version = "", EntryPoint = "glRenderbufferStorageEXT")] - public static - void RenderbufferStorage(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageEXT((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL.RenderbufferStorage)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorage(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height); /// [requires: EXT_framebuffer_multisample] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -183905,18 +101957,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use RenderbufferTarget overload instead")] [AutoGenerated(Category = "EXT_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleEXT")] - public static - void RenderbufferStorageMultisample(OpenTK.Graphics.OpenGL.ExtFramebufferMultisample target, Int32 samples, OpenTK.Graphics.OpenGL.ExtFramebufferMultisample internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageMultisampleEXT((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.OpenGL.RenderbufferStorage)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorageMultisample(OpenTK.Graphics.OpenGL.ExtFramebufferMultisample target, Int32 samples, OpenTK.Graphics.OpenGL.ExtFramebufferMultisample internalformat, Int32 width, Int32 height); /// [requires: EXT_framebuffer_multisample] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -183947,18 +101988,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleEXT")] - public static - void RenderbufferStorageMultisample(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageMultisampleEXT((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.OpenGL.RenderbufferStorage)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorageMultisample(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height); /// [requires: EXT_histogram] /// Reset histogram table entries to zero @@ -183970,18 +102000,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use HistogramTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glResetHistogramEXT")] - public static - void ResetHistogram(OpenTK.Graphics.OpenGL.ExtHistogram target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glResetHistogramEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target); - #if DEBUG - } - #endif - } + public static extern void ResetHistogram(OpenTK.Graphics.OpenGL.ExtHistogram target); /// [requires: EXT_histogram] /// Reset histogram table entries to zero @@ -183992,18 +102011,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glResetHistogramEXT")] - public static - void ResetHistogram(OpenTK.Graphics.OpenGL.HistogramTargetExt target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glResetHistogramEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target); - #if DEBUG - } - #endif - } + public static extern void ResetHistogram(OpenTK.Graphics.OpenGL.HistogramTargetExt target); /// [requires: EXT_histogram] /// Reset minmax table entries to initial values @@ -184015,18 +102023,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use MinmaxTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glResetMinmaxEXT")] - public static - void ResetMinmax(OpenTK.Graphics.OpenGL.ExtHistogram target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glResetMinmaxEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target); - #if DEBUG - } - #endif - } + public static extern void ResetMinmax(OpenTK.Graphics.OpenGL.ExtHistogram target); /// [requires: EXT_histogram] /// Reset minmax table entries to initial values @@ -184037,48 +102034,15 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glResetMinmaxEXT")] - public static - void ResetMinmax(OpenTK.Graphics.OpenGL.MinmaxTargetExt target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glResetMinmaxEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target); - #if DEBUG - } - #endif - } + public static extern void ResetMinmax(OpenTK.Graphics.OpenGL.MinmaxTargetExt target); /// [requires: EXT_multisample] [AutoGenerated(Category = "EXT_multisample", Version = "", EntryPoint = "glSampleMaskEXT")] - public static - void SampleMask(Single value, bool invert) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSampleMaskEXT((Single)value, (bool)invert); - #if DEBUG - } - #endif - } + public static extern void SampleMask(Single value, bool invert); /// [requires: EXT_multisample] [AutoGenerated(Category = "EXT_multisample", Version = "", EntryPoint = "glSamplePatternEXT")] - public static - void SamplePattern(OpenTK.Graphics.OpenGL.ExtMultisample pattern) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplePatternEXT((OpenTK.Graphics.OpenGL.ExtMultisample)pattern); - #if DEBUG - } - #endif - } + public static extern void SamplePattern(OpenTK.Graphics.OpenGL.ExtMultisample pattern); /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184090,18 +102054,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3bEXT")] - public static - void SecondaryColor3(SByte red, SByte green, SByte blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3bEXT((SByte)red, (SByte)green, (SByte)blue); - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(SByte red, SByte green, SByte blue); /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184113,24 +102066,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3bvEXT")] - public static - void SecondaryColor3(SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - Delegates.glSecondaryColor3bvEXT((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(SByte[] v); /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184142,24 +102078,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3bvEXT")] - public static - void SecondaryColor3(ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - Delegates.glSecondaryColor3bvEXT((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(ref SByte v); /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184171,18 +102090,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3bvEXT")] - public static - unsafe void SecondaryColor3(SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3bvEXT((SByte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void SecondaryColor3(SByte* v); /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184193,18 +102101,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3dEXT")] - public static - void SecondaryColor3(Double red, Double green, Double blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3dEXT((Double)red, (Double)green, (Double)blue); - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(Double red, Double green, Double blue); /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184215,24 +102112,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3dvEXT")] - public static - void SecondaryColor3(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glSecondaryColor3dvEXT((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(Double[] v); /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184243,24 +102123,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3dvEXT")] - public static - void SecondaryColor3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glSecondaryColor3dvEXT((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(ref Double v); /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184272,18 +102135,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3dvEXT")] - public static - unsafe void SecondaryColor3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3dvEXT((Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void SecondaryColor3(Double* v); /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184294,18 +102146,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3fEXT")] - public static - void SecondaryColor3(Single red, Single green, Single blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3fEXT((Single)red, (Single)green, (Single)blue); - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(Single red, Single green, Single blue); /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184316,24 +102157,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3fvEXT")] - public static - void SecondaryColor3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glSecondaryColor3fvEXT((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(Single[] v); /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184344,24 +102168,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3fvEXT")] - public static - void SecondaryColor3(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glSecondaryColor3fvEXT((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(ref Single v); /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184373,18 +102180,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3fvEXT")] - public static - unsafe void SecondaryColor3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3fvEXT((Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void SecondaryColor3(Single* v); /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184395,18 +102191,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3iEXT")] - public static - void SecondaryColor3(Int32 red, Int32 green, Int32 blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3iEXT((Int32)red, (Int32)green, (Int32)blue); - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(Int32 red, Int32 green, Int32 blue); /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184417,24 +102202,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3ivEXT")] - public static - void SecondaryColor3(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glSecondaryColor3ivEXT((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(Int32[] v); /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184445,24 +102213,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3ivEXT")] - public static - void SecondaryColor3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glSecondaryColor3ivEXT((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(ref Int32 v); /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184474,18 +102225,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3ivEXT")] - public static - unsafe void SecondaryColor3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3ivEXT((Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void SecondaryColor3(Int32* v); /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184496,18 +102236,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3sEXT")] - public static - void SecondaryColor3(Int16 red, Int16 green, Int16 blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3sEXT((Int16)red, (Int16)green, (Int16)blue); - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(Int16 red, Int16 green, Int16 blue); /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184518,24 +102247,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3svEXT")] - public static - void SecondaryColor3(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glSecondaryColor3svEXT((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(Int16[] v); /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184546,24 +102258,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3svEXT")] - public static - void SecondaryColor3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glSecondaryColor3svEXT((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(ref Int16 v); /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184575,18 +102270,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3svEXT")] - public static - unsafe void SecondaryColor3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3svEXT((Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void SecondaryColor3(Int16* v); /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184597,18 +102281,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3ubEXT")] - public static - void SecondaryColor3(Byte red, Byte green, Byte blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3ubEXT((Byte)red, (Byte)green, (Byte)blue); - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(Byte red, Byte green, Byte blue); /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184619,24 +102292,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3ubvEXT")] - public static - void SecondaryColor3(Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glSecondaryColor3ubvEXT((Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(Byte[] v); /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184647,24 +102303,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3ubvEXT")] - public static - void SecondaryColor3(ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glSecondaryColor3ubvEXT((Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(ref Byte v); /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184676,18 +102315,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3ubvEXT")] - public static - unsafe void SecondaryColor3(Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3ubvEXT((Byte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void SecondaryColor3(Byte* v); /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184699,18 +102327,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3uiEXT")] - public static - void SecondaryColor3(UInt32 red, UInt32 green, UInt32 blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3uiEXT((UInt32)red, (UInt32)green, (UInt32)blue); - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(UInt32 red, UInt32 green, UInt32 blue); /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184722,24 +102339,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3uivEXT")] - public static - void SecondaryColor3(UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glSecondaryColor3uivEXT((UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(UInt32[] v); /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184751,24 +102351,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3uivEXT")] - public static - void SecondaryColor3(ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - Delegates.glSecondaryColor3uivEXT((UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(ref UInt32 v); /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184780,18 +102363,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3uivEXT")] - public static - unsafe void SecondaryColor3(UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3uivEXT((UInt32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void SecondaryColor3(UInt32* v); /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184803,18 +102375,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3usEXT")] - public static - void SecondaryColor3(UInt16 red, UInt16 green, UInt16 blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3usEXT((UInt16)red, (UInt16)green, (UInt16)blue); - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(UInt16 red, UInt16 green, UInt16 blue); /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184826,24 +102387,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3usvEXT")] - public static - void SecondaryColor3(UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - Delegates.glSecondaryColor3usvEXT((UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(UInt16[] v); /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184855,24 +102399,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3usvEXT")] - public static - void SecondaryColor3(ref UInt16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = &v) - { - Delegates.glSecondaryColor3usvEXT((UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3(ref UInt16 v); /// [requires: EXT_secondary_color] /// Set the current secondary color @@ -184884,18 +102411,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColor3usvEXT")] - public static - unsafe void SecondaryColor3(UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3usvEXT((UInt16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void SecondaryColor3(UInt16* v); /// [requires: EXT_secondary_color] /// Define an array of secondary colors @@ -184921,18 +102437,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColorPointerEXT")] - public static - void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColorPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer); /// [requires: EXT_secondary_color] /// Define an array of secondary colors @@ -184958,27 +102463,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColorPointerEXT")] - public static - void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) + public static extern void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glSecondaryColorPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_secondary_color] /// Define an array of secondary colors @@ -185004,27 +102491,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColorPointerEXT")] - public static - void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) + public static extern void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glSecondaryColorPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_secondary_color] /// Define an array of secondary colors @@ -185050,27 +102519,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColorPointerEXT")] - public static - void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) + public static extern void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glSecondaryColorPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_secondary_color] /// Define an array of secondary colors @@ -185096,28 +102547,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_secondary_color", Version = "", EntryPoint = "glSecondaryColorPointerEXT")] - public static - void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) + public static extern void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glSecondaryColorPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_convolution] /// Define a separable two-dimensional convolution filter @@ -185163,18 +102595,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glSeparableFilter2DEXT")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, IntPtr column) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column); - #if DEBUG - } - #endif - } + public static extern void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, IntPtr column); /// [requires: EXT_convolution] /// Define a separable two-dimensional convolution filter @@ -185220,30 +102641,10 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glSeparableFilter2DEXT")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] row, [InAttribute, OutAttribute] T7[] column) + public static extern void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] row, [InAttribute, OutAttribute] T7[] column) where T6 : struct where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_convolution] /// Define a separable two-dimensional convolution filter @@ -185289,30 +102690,10 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glSeparableFilter2DEXT")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] row, [InAttribute, OutAttribute] T7[,] column) + public static extern void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] row, [InAttribute, OutAttribute] T7[,] column) where T6 : struct where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_convolution] /// Define a separable two-dimensional convolution filter @@ -185358,30 +102739,10 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glSeparableFilter2DEXT")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,,] row, [InAttribute, OutAttribute] T7[,,] column) + public static extern void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,,] row, [InAttribute, OutAttribute] T7[,,] column) where T6 : struct where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_convolution] /// Define a separable two-dimensional convolution filter @@ -185427,1198 +102788,310 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glSeparableFilter2DEXT")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 row, [InAttribute, OutAttribute] ref T7 column) + public static extern void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 row, [InAttribute, OutAttribute] ref T7 column) where T6 : struct where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); - row = (T6)row_ptr.Target; - column = (T7)column_ptr.Target; - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetInvariantEXT")] - public static - void SetInvariant(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, IntPtr addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr); - #if DEBUG - } - #endif - } + public static extern void SetInvariant(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, IntPtr addr); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetInvariantEXT")] - public static - void SetInvariant(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[] addr) + public static extern void SetInvariant(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[] addr) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetInvariantEXT")] - public static - void SetInvariant(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[,] addr) + public static extern void SetInvariant(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[,] addr) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetInvariantEXT")] - public static - void SetInvariant(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[,,] addr) + public static extern void SetInvariant(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[,,] addr) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetInvariantEXT")] - public static - void SetInvariant(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] ref T2 addr) + public static extern void SetInvariant(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] ref T2 addr) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - addr = (T2)addr_ptr.Target; - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetInvariantEXT")] - public static - void SetInvariant(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, IntPtr addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr); - #if DEBUG - } - #endif - } + public static extern void SetInvariant(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, IntPtr addr); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetInvariantEXT")] - public static - void SetInvariant(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[] addr) + public static extern void SetInvariant(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[] addr) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetInvariantEXT")] - public static - void SetInvariant(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[,] addr) + public static extern void SetInvariant(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[,] addr) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetInvariantEXT")] - public static - void SetInvariant(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[,,] addr) + public static extern void SetInvariant(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[,,] addr) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetInvariantEXT")] - public static - void SetInvariant(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] ref T2 addr) + public static extern void SetInvariant(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] ref T2 addr) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - addr = (T2)addr_ptr.Target; - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetLocalConstantEXT")] - public static - void SetLocalConstant(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, IntPtr addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr); - #if DEBUG - } - #endif - } + public static extern void SetLocalConstant(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, IntPtr addr); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetLocalConstantEXT")] - public static - void SetLocalConstant(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[] addr) + public static extern void SetLocalConstant(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[] addr) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetLocalConstantEXT")] - public static - void SetLocalConstant(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[,] addr) + public static extern void SetLocalConstant(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[,] addr) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetLocalConstantEXT")] - public static - void SetLocalConstant(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[,,] addr) + public static extern void SetLocalConstant(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[,,] addr) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetLocalConstantEXT")] - public static - void SetLocalConstant(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] ref T2 addr) + public static extern void SetLocalConstant(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] ref T2 addr) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - addr = (T2)addr_ptr.Target; - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetLocalConstantEXT")] - public static - void SetLocalConstant(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, IntPtr addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr); - #if DEBUG - } - #endif - } + public static extern void SetLocalConstant(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, IntPtr addr); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetLocalConstantEXT")] - public static - void SetLocalConstant(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[] addr) + public static extern void SetLocalConstant(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[] addr) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetLocalConstantEXT")] - public static - void SetLocalConstant(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[,] addr) + public static extern void SetLocalConstant(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[,] addr) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetLocalConstantEXT")] - public static - void SetLocalConstant(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[,,] addr) + public static extern void SetLocalConstant(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] T2[,,] addr) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSetLocalConstantEXT")] - public static - void SetLocalConstant(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] ref T2 addr) + public static extern void SetLocalConstant(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, [InAttribute, OutAttribute] ref T2 addr) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - addr = (T2)addr_ptr.Target; - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glShaderOp1EXT")] - public static - void ShaderOp1(OpenTK.Graphics.OpenGL.ExtVertexShader op, Int32 res, Int32 arg1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderOp1EXT((OpenTK.Graphics.OpenGL.ExtVertexShader)op, (UInt32)res, (UInt32)arg1); - #if DEBUG - } - #endif - } + public static extern void ShaderOp1(OpenTK.Graphics.OpenGL.ExtVertexShader op, Int32 res, Int32 arg1); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glShaderOp1EXT")] - public static - void ShaderOp1(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderOp1EXT((OpenTK.Graphics.OpenGL.ExtVertexShader)op, (UInt32)res, (UInt32)arg1); - #if DEBUG - } - #endif - } + public static extern void ShaderOp1(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glShaderOp2EXT")] - public static - void ShaderOp2(OpenTK.Graphics.OpenGL.ExtVertexShader op, Int32 res, Int32 arg1, Int32 arg2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderOp2EXT((OpenTK.Graphics.OpenGL.ExtVertexShader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2); - #if DEBUG - } - #endif - } + public static extern void ShaderOp2(OpenTK.Graphics.OpenGL.ExtVertexShader op, Int32 res, Int32 arg1, Int32 arg2); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glShaderOp2EXT")] - public static - void ShaderOp2(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderOp2EXT((OpenTK.Graphics.OpenGL.ExtVertexShader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2); - #if DEBUG - } - #endif - } + public static extern void ShaderOp2(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glShaderOp3EXT")] - public static - void ShaderOp3(OpenTK.Graphics.OpenGL.ExtVertexShader op, Int32 res, Int32 arg1, Int32 arg2, Int32 arg3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderOp3EXT((OpenTK.Graphics.OpenGL.ExtVertexShader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2, (UInt32)arg3); - #if DEBUG - } - #endif - } + public static extern void ShaderOp3(OpenTK.Graphics.OpenGL.ExtVertexShader op, Int32 res, Int32 arg1, Int32 arg2, Int32 arg3); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glShaderOp3EXT")] - public static - void ShaderOp3(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2, UInt32 arg3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderOp3EXT((OpenTK.Graphics.OpenGL.ExtVertexShader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2, (UInt32)arg3); - #if DEBUG - } - #endif - } + public static extern void ShaderOp3(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2, UInt32 arg3); /// [requires: EXT_stencil_clear_tag] [AutoGenerated(Category = "EXT_stencil_clear_tag", Version = "", EntryPoint = "glStencilClearTagEXT")] - public static - void StencilClearTag(Int32 stencilTagBits, Int32 stencilClearTag) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilClearTagEXT((Int32)stencilTagBits, (UInt32)stencilClearTag); - #if DEBUG - } - #endif - } + public static extern void StencilClearTag(Int32 stencilTagBits, Int32 stencilClearTag); /// [requires: EXT_stencil_clear_tag] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_stencil_clear_tag", Version = "", EntryPoint = "glStencilClearTagEXT")] - public static - void StencilClearTag(Int32 stencilTagBits, UInt32 stencilClearTag) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilClearTagEXT((Int32)stencilTagBits, (UInt32)stencilClearTag); - #if DEBUG - } - #endif - } + public static extern void StencilClearTag(Int32 stencilTagBits, UInt32 stencilClearTag); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSwizzleEXT")] - public static - void Swizzle(Int32 res, Int32 @in, OpenTK.Graphics.OpenGL.ExtVertexShader outX, OpenTK.Graphics.OpenGL.ExtVertexShader outY, OpenTK.Graphics.OpenGL.ExtVertexShader outZ, OpenTK.Graphics.OpenGL.ExtVertexShader outW) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSwizzleEXT((UInt32)res, (UInt32)@in, (OpenTK.Graphics.OpenGL.ExtVertexShader)outX, (OpenTK.Graphics.OpenGL.ExtVertexShader)outY, (OpenTK.Graphics.OpenGL.ExtVertexShader)outZ, (OpenTK.Graphics.OpenGL.ExtVertexShader)outW); - #if DEBUG - } - #endif - } + public static extern void Swizzle(Int32 res, Int32 @in, OpenTK.Graphics.OpenGL.ExtVertexShader outX, OpenTK.Graphics.OpenGL.ExtVertexShader outY, OpenTK.Graphics.OpenGL.ExtVertexShader outZ, OpenTK.Graphics.OpenGL.ExtVertexShader outW); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glSwizzleEXT")] - public static - void Swizzle(UInt32 res, UInt32 @in, OpenTK.Graphics.OpenGL.ExtVertexShader outX, OpenTK.Graphics.OpenGL.ExtVertexShader outY, OpenTK.Graphics.OpenGL.ExtVertexShader outZ, OpenTK.Graphics.OpenGL.ExtVertexShader outW) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSwizzleEXT((UInt32)res, (UInt32)@in, (OpenTK.Graphics.OpenGL.ExtVertexShader)outX, (OpenTK.Graphics.OpenGL.ExtVertexShader)outY, (OpenTK.Graphics.OpenGL.ExtVertexShader)outZ, (OpenTK.Graphics.OpenGL.ExtVertexShader)outW); - #if DEBUG - } - #endif - } + public static extern void Swizzle(UInt32 res, UInt32 @in, OpenTK.Graphics.OpenGL.ExtVertexShader outX, OpenTK.Graphics.OpenGL.ExtVertexShader outY, OpenTK.Graphics.OpenGL.ExtVertexShader outZ, OpenTK.Graphics.OpenGL.ExtVertexShader outW); /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3bEXT")] - public static - void Tangent3(Byte tx, Byte ty, Byte tz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTangent3bEXT((SByte)tx, (SByte)ty, (SByte)tz); - #if DEBUG - } - #endif - } + public static extern void Tangent3(Byte tx, Byte ty, Byte tz); /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3bEXT")] - public static - void Tangent3(SByte tx, SByte ty, SByte tz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTangent3bEXT((SByte)tx, (SByte)ty, (SByte)tz); - #if DEBUG - } - #endif - } + public static extern void Tangent3(SByte tx, SByte ty, SByte tz); /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3bvEXT")] - public static - void Tangent3(Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glTangent3bvEXT((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Tangent3(Byte[] v); /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3bvEXT")] - public static - void Tangent3(ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glTangent3bvEXT((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Tangent3(ref Byte v); /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3bvEXT")] - public static - unsafe void Tangent3(Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTangent3bvEXT((SByte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Tangent3(Byte* v); /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3bvEXT")] - public static - void Tangent3(SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - Delegates.glTangent3bvEXT((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Tangent3(SByte[] v); /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3bvEXT")] - public static - void Tangent3(ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - Delegates.glTangent3bvEXT((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Tangent3(ref SByte v); /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3bvEXT")] - public static - unsafe void Tangent3(SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTangent3bvEXT((SByte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Tangent3(SByte* v); /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3dEXT")] - public static - void Tangent3(Double tx, Double ty, Double tz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTangent3dEXT((Double)tx, (Double)ty, (Double)tz); - #if DEBUG - } - #endif - } + public static extern void Tangent3(Double tx, Double ty, Double tz); /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3dvEXT")] - public static - void Tangent3(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glTangent3dvEXT((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Tangent3(Double[] v); /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3dvEXT")] - public static - void Tangent3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glTangent3dvEXT((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Tangent3(ref Double v); /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3dvEXT")] - public static - unsafe void Tangent3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTangent3dvEXT((Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Tangent3(Double* v); /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3fEXT")] - public static - void Tangent3(Single tx, Single ty, Single tz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTangent3fEXT((Single)tx, (Single)ty, (Single)tz); - #if DEBUG - } - #endif - } + public static extern void Tangent3(Single tx, Single ty, Single tz); /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3fvEXT")] - public static - void Tangent3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glTangent3fvEXT((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Tangent3(Single[] v); /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3fvEXT")] - public static - void Tangent3(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glTangent3fvEXT((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Tangent3(ref Single v); /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3fvEXT")] - public static - unsafe void Tangent3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTangent3fvEXT((Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Tangent3(Single* v); /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3iEXT")] - public static - void Tangent3(Int32 tx, Int32 ty, Int32 tz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTangent3iEXT((Int32)tx, (Int32)ty, (Int32)tz); - #if DEBUG - } - #endif - } + public static extern void Tangent3(Int32 tx, Int32 ty, Int32 tz); /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3ivEXT")] - public static - void Tangent3(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glTangent3ivEXT((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Tangent3(Int32[] v); /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3ivEXT")] - public static - void Tangent3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glTangent3ivEXT((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Tangent3(ref Int32 v); /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3ivEXT")] - public static - unsafe void Tangent3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTangent3ivEXT((Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Tangent3(Int32* v); /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3sEXT")] - public static - void Tangent3(Int16 tx, Int16 ty, Int16 tz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTangent3sEXT((Int16)tx, (Int16)ty, (Int16)tz); - #if DEBUG - } - #endif - } + public static extern void Tangent3(Int16 tx, Int16 ty, Int16 tz); /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3svEXT")] - public static - void Tangent3(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glTangent3svEXT((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Tangent3(Int16[] v); /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3svEXT")] - public static - void Tangent3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glTangent3svEXT((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Tangent3(ref Int16 v); /// [requires: EXT_coordinate_frame] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangent3svEXT")] - public static - unsafe void Tangent3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTangent3svEXT((Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Tangent3(Int16* v); /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangentPointerEXT")] - public static - void TangentPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTangentPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void TangentPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer); /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangentPointerEXT")] - public static - void TangentPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) + public static extern void TangentPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTangentPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangentPointerEXT")] - public static - void TangentPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) + public static extern void TangentPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTangentPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangentPointerEXT")] - public static - void TangentPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) + public static extern void TangentPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTangentPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_coordinate_frame] [AutoGenerated(Category = "EXT_coordinate_frame", Version = "", EntryPoint = "glTangentPointerEXT")] - public static - void TangentPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) + public static extern void TangentPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTangentPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_texture_buffer_object] /// Attach the storage for a buffer object to the active buffer texture @@ -186639,18 +103112,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture_buffer_object", Version = "", EntryPoint = "glTexBufferEXT")] - public static - void TexBuffer(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtTextureBufferObject internalformat, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexBufferEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ExtTextureBufferObject)internalformat, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void TexBuffer(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtTextureBufferObject internalformat, Int32 buffer); /// [requires: EXT_texture_buffer_object] /// Attach the storage for a buffer object to the active buffer texture @@ -186672,18 +103134,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_buffer_object", Version = "", EntryPoint = "glTexBufferEXT")] - public static - void TexBuffer(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtTextureBufferObject internalformat, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexBufferEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ExtTextureBufferObject)internalformat, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void TexBuffer(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtTextureBufferObject internalformat, UInt32 buffer); /// [requires: EXT_vertex_array] /// Define an array of texture coordinates @@ -186709,18 +103160,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glTexCoordPointerEXT")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, Int32 count, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, Int32 count, IntPtr pointer); /// [requires: EXT_vertex_array] /// Define an array of texture coordinates @@ -186746,27 +103186,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glTexCoordPointerEXT")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T4[] pointer) + public static extern void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T4[] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_array] /// Define an array of texture coordinates @@ -186792,27 +103214,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glTexCoordPointerEXT")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T4[,] pointer) + public static extern void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T4[,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_array] /// Define an array of texture coordinates @@ -186838,27 +103242,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glTexCoordPointerEXT")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T4[,,] pointer) + public static extern void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T4[,,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_array] /// Define an array of texture coordinates @@ -186884,28 +103270,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glTexCoordPointerEXT")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] ref T4 pointer) + public static extern void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] ref T4 pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T4)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_texture3D] /// Specify a three-dimensional texture image @@ -186961,18 +103328,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture3D", Version = "", EntryPoint = "glTexImage3DEXT")] - public static - void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: EXT_texture3D] /// Specify a three-dimensional texture image @@ -187028,27 +103384,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture3D", Version = "", EntryPoint = "glTexImage3DEXT")] - public static - void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[] pixels) + public static extern void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_texture3D] /// Specify a three-dimensional texture image @@ -187104,27 +103442,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture3D", Version = "", EntryPoint = "glTexImage3DEXT")] - public static - void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) + public static extern void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_texture3D] /// Specify a three-dimensional texture image @@ -187180,27 +103500,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture3D", Version = "", EntryPoint = "glTexImage3DEXT")] - public static - void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) + public static extern void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_texture3D] /// Specify a three-dimensional texture image @@ -187256,146 +103558,37 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture3D", Version = "", EntryPoint = "glTexImage3DEXT")] - public static - void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) + public static extern void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T9)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_texture_integer] [AutoGenerated(Category = "EXT_texture_integer", Version = "", EntryPoint = "glTexParameterIivEXT")] - public static - void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glTexParameterIivEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32[] @params); /// [requires: EXT_texture_integer] [AutoGenerated(Category = "EXT_texture_integer", Version = "", EntryPoint = "glTexParameterIivEXT")] - public static - void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glTexParameterIivEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, ref Int32 @params); /// [requires: EXT_texture_integer] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_integer", Version = "", EntryPoint = "glTexParameterIivEXT")] - public static - unsafe void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterIivEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); /// [requires: EXT_texture_integer] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_integer", Version = "", EntryPoint = "glTexParameterIuivEXT")] - public static - void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glTexParameterIuivEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32[] @params); /// [requires: EXT_texture_integer] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_integer", Version = "", EntryPoint = "glTexParameterIuivEXT")] - public static - void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, ref UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glTexParameterIuivEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, ref UInt32 @params); /// [requires: EXT_texture_integer] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_texture_integer", Version = "", EntryPoint = "glTexParameterIuivEXT")] - public static - unsafe void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterIuivEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexParameterI(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params); /// [requires: EXT_subtexture] /// Specify a one-dimensional texture subimage @@ -187436,18 +103629,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_subtexture", Version = "", EntryPoint = "glTexSubImage1DEXT")] - public static - void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: EXT_subtexture] /// Specify a one-dimensional texture subimage @@ -187488,27 +103670,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_subtexture", Version = "", EntryPoint = "glTexSubImage1DEXT")] - public static - void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] pixels) + public static extern void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_subtexture] /// Specify a one-dimensional texture subimage @@ -187549,27 +103713,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_subtexture", Version = "", EntryPoint = "glTexSubImage1DEXT")] - public static - void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] pixels) + public static extern void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_subtexture] /// Specify a one-dimensional texture subimage @@ -187610,27 +103756,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_subtexture", Version = "", EntryPoint = "glTexSubImage1DEXT")] - public static - void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,,] pixels) + public static extern void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,,] pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_subtexture] /// Specify a one-dimensional texture subimage @@ -187671,28 +103799,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_subtexture", Version = "", EntryPoint = "glTexSubImage1DEXT")] - public static - void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 pixels) + public static extern void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T6)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_subtexture] /// Specify a two-dimensional texture subimage @@ -187743,18 +103852,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_subtexture", Version = "", EntryPoint = "glTexSubImage2DEXT")] - public static - void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: EXT_subtexture] /// Specify a two-dimensional texture subimage @@ -187805,27 +103903,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_subtexture", Version = "", EntryPoint = "glTexSubImage2DEXT")] - public static - void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[] pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_subtexture] /// Specify a two-dimensional texture subimage @@ -187876,27 +103956,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_subtexture", Version = "", EntryPoint = "glTexSubImage2DEXT")] - public static - void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_subtexture] /// Specify a two-dimensional texture subimage @@ -187947,27 +104009,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_subtexture", Version = "", EntryPoint = "glTexSubImage2DEXT")] - public static - void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_subtexture] /// Specify a two-dimensional texture subimage @@ -188018,28 +104062,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_subtexture", Version = "", EntryPoint = "glTexSubImage2DEXT")] - public static - void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T8)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_texture3D] /// Specify a three-dimensional texture subimage @@ -188100,18 +104125,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture3D", Version = "", EntryPoint = "glTexSubImage3DEXT")] - public static - void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: EXT_texture3D] /// Specify a three-dimensional texture subimage @@ -188172,27 +104186,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture3D", Version = "", EntryPoint = "glTexSubImage3DEXT")] - public static - void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[] pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_texture3D] /// Specify a three-dimensional texture subimage @@ -188253,27 +104249,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture3D", Version = "", EntryPoint = "glTexSubImage3DEXT")] - public static - void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,] pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_texture3D] /// Specify a three-dimensional texture subimage @@ -188334,27 +104312,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture3D", Version = "", EntryPoint = "glTexSubImage3DEXT")] - public static - void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,,] pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,,] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_texture3D] /// Specify a three-dimensional texture subimage @@ -188415,2833 +104375,780 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_texture3D", Version = "", EntryPoint = "glTexSubImage3DEXT")] - public static - void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T10 pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T10 pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T10)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureBufferEXT")] - public static - void TextureBuffer(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureBufferEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void TextureBuffer(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 buffer); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureBufferEXT")] - public static - void TextureBuffer(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureBufferEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void TextureBuffer(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, UInt32 buffer); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureBufferRangeEXT")] - public static - void TextureBufferRange(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureBufferRangeEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } + public static extern void TextureBufferRange(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 buffer, IntPtr offset, IntPtr size); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureBufferRangeEXT")] - public static - void TextureBufferRange(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, UInt32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureBufferRangeEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } + public static extern void TextureBufferRange(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, UInt32 buffer, IntPtr offset, IntPtr size); /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static - void TextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static - void TextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[] pixels) + public static extern void TextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static - void TextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) + public static extern void TextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static - void TextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) + public static extern void TextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static - void TextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) + public static extern void TextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T8)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static - void TextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static - void TextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[] pixels) + public static extern void TextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static - void TextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) + public static extern void TextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static - void TextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) + public static extern void TextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static - void TextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) + public static extern void TextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T8)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static - void TextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static - void TextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[] pixels) + public static extern void TextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static - void TextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) + public static extern void TextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static - void TextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) + public static extern void TextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static - void TextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) + public static extern void TextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T8)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static - void TextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static - void TextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[] pixels) + public static extern void TextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static - void TextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) + public static extern void TextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static - void TextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) + public static extern void TextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static - void TextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) + public static extern void TextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T8)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[] pixels) + public static extern void TextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) + public static extern void TextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) + public static extern void TextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) + public static extern void TextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T9)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[] pixels) + public static extern void TextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) + public static extern void TextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) + public static extern void TextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) + public static extern void TextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T9)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[] pixels) + public static extern void TextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) + public static extern void TextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) + public static extern void TextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) + public static extern void TextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T9)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[] pixels) + public static extern void TextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) + public static extern void TextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) + public static extern void TextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) + public static extern void TextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T9)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[] pixels) + public static extern void TextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,] pixels) + public static extern void TextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,,] pixels) + public static extern void TextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,,] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T10 pixels) + public static extern void TextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T10 pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T10)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[] pixels) + public static extern void TextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,] pixels) + public static extern void TextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,,] pixels) + public static extern void TextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,,] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T10 pixels) + public static extern void TextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T10 pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T10)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[] pixels) + public static extern void TextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,] pixels) + public static extern void TextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,,] pixels) + public static extern void TextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,,] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [Obsolete("Use int overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T10 pixels) + public static extern void TextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T10 pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T10)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[] pixels) + public static extern void TextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,] pixels) + public static extern void TextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,,] pixels) + public static extern void TextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,,] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T10 pixels) + public static extern void TextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T10 pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T10)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_light_texture] [AutoGenerated(Category = "EXT_light_texture", Version = "", EntryPoint = "glTextureLightEXT")] - public static - void TextureLight(OpenTK.Graphics.OpenGL.ExtLightTexture pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureLightEXT((OpenTK.Graphics.OpenGL.ExtLightTexture)pname); - #if DEBUG - } - #endif - } + public static extern void TextureLight(OpenTK.Graphics.OpenGL.ExtLightTexture pname); /// [requires: EXT_light_texture] [AutoGenerated(Category = "EXT_light_texture", Version = "", EntryPoint = "glTextureMaterialEXT")] - public static - void TextureMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureMaterialEXT((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)mode); - #if DEBUG - } - #endif - } + public static extern void TextureMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter mode); /// [requires: EXT_texture_perturb_normal] [AutoGenerated(Category = "EXT_texture_perturb_normal", Version = "", EntryPoint = "glTextureNormalEXT")] - public static - void TextureNormal(OpenTK.Graphics.OpenGL.ExtTexturePerturbNormal mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureNormalEXT((OpenTK.Graphics.OpenGL.ExtTexturePerturbNormal)mode); - #if DEBUG - } - #endif - } + public static extern void TextureNormal(OpenTK.Graphics.OpenGL.ExtTexturePerturbNormal mode); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTexturePageCommitmentEXT")] - public static - void TexturePageCommitment(Int32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, bool resident) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexturePageCommitmentEXT((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (bool)resident); - #if DEBUG - } - #endif - } + public static extern void TexturePageCommitment(Int32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, bool resident); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTexturePageCommitmentEXT")] - public static - void TexturePageCommitment(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, bool resident) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexturePageCommitmentEXT((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (bool)resident); - #if DEBUG - } - #endif - } + public static extern void TexturePageCommitment(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, bool resident); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterfEXT")] - public static - void TextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureParameterfEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void TextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterfEXT")] - public static - void TextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureParameterfEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void TextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterfvEXT")] - public static - void TextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterfvEXT")] - public static - unsafe void TextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterfvEXT")] - public static - void TextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterfvEXT")] - public static - unsafe void TextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameteriEXT")] - public static - void TextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureParameteriEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void TextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameteriEXT")] - public static - void TextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureParameteriEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void TextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterIivEXT")] - public static - void TextureParameterI(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TextureParameterI(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32[] @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterIivEXT")] - public static - void TextureParameterI(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TextureParameterI(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, ref Int32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterIivEXT")] - public static - unsafe void TextureParameterI(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TextureParameterI(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterIivEXT")] - public static - void TextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterIivEXT")] - public static - void TextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, ref Int32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterIivEXT")] - public static - unsafe void TextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterIuivEXT")] - public static - void TextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterIuivEXT")] - public static - void TextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, ref UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, ref UInt32 @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterIuivEXT")] - public static - unsafe void TextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TextureParameterI(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterivEXT")] - public static - void TextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterivEXT")] - public static - unsafe void TextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TextureParameter(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterivEXT")] - public static - void TextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32[] @params); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureParameterivEXT")] - public static - unsafe void TextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TextureParameter(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureRenderbufferEXT")] - public static - void TextureRenderbuffer(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureRenderbufferEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void TextureRenderbuffer(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 renderbuffer); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureRenderbufferEXT")] - public static - void TextureRenderbuffer(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureRenderbufferEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void TextureRenderbuffer(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureStorage1DEXT")] - public static - void TextureStorage1D(Int32 texture, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 levels, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureStorage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (Int32)levels, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width); - #if DEBUG - } - #endif - } + public static extern void TextureStorage1D(Int32 texture, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 levels, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureStorage1DEXT")] - public static - void TextureStorage1D(UInt32 texture, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 levels, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureStorage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (Int32)levels, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width); - #if DEBUG - } - #endif - } + public static extern void TextureStorage1D(UInt32 texture, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 levels, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureStorage2DEXT")] - public static - void TextureStorage2D(Int32 texture, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 levels, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureStorage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (Int32)levels, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void TextureStorage2D(Int32 texture, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 levels, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureStorage2DEXT")] - public static - void TextureStorage2D(UInt32 texture, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 levels, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureStorage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (Int32)levels, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void TextureStorage2D(UInt32 texture, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 levels, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureStorage2DMultisampleEXT")] - public static - void TextureStorage2DMultisample(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 samples, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, bool fixedsamplelocations) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureStorage2DMultisampleEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)samples, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (bool)fixedsamplelocations); - #if DEBUG - } - #endif - } + public static extern void TextureStorage2DMultisample(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 samples, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, bool fixedsamplelocations); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureStorage2DMultisampleEXT")] - public static - void TextureStorage2DMultisample(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 samples, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, bool fixedsamplelocations) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureStorage2DMultisampleEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)samples, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (bool)fixedsamplelocations); - #if DEBUG - } - #endif - } + public static extern void TextureStorage2DMultisample(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 samples, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, bool fixedsamplelocations); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureStorage3DEXT")] - public static - void TextureStorage3D(Int32 texture, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 levels, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureStorage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (Int32)levels, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth); - #if DEBUG - } - #endif - } + public static extern void TextureStorage3D(Int32 texture, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 levels, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureStorage3DEXT")] - public static - void TextureStorage3D(UInt32 texture, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 levels, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureStorage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (Int32)levels, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth); - #if DEBUG - } - #endif - } + public static extern void TextureStorage3D(UInt32 texture, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 levels, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureStorage3DMultisampleEXT")] - public static - void TextureStorage3DMultisample(Int32 texture, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 samples, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureStorage3DMultisampleEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (Int32)samples, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedsamplelocations); - #if DEBUG - } - #endif - } + public static extern void TextureStorage3DMultisample(Int32 texture, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 samples, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureStorage3DMultisampleEXT")] - public static - void TextureStorage3DMultisample(UInt32 texture, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 samples, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureStorage3DMultisampleEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (Int32)samples, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedsamplelocations); - #if DEBUG - } - #endif - } + public static extern void TextureStorage3DMultisample(UInt32 texture, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 samples, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage1DEXT")] - public static - void TextureSubImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TextureSubImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage1DEXT")] - public static - void TextureSubImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[] pixels) + public static extern void TextureSubImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[] pixels) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage1DEXT")] - public static - void TextureSubImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[,] pixels) + public static extern void TextureSubImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[,] pixels) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage1DEXT")] - public static - void TextureSubImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[,,] pixels) + public static extern void TextureSubImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[,,] pixels) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage1DEXT")] - public static - void TextureSubImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T7 pixels) + public static extern void TextureSubImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T7 pixels) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T7)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage1DEXT")] - public static - void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage1DEXT")] - public static - void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[] pixels) + public static extern void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[] pixels) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage1DEXT")] - public static - void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[,] pixels) + public static extern void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[,] pixels) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage1DEXT")] - public static - void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[,,] pixels) + public static extern void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T7[,,] pixels) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage1DEXT")] - public static - void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T7 pixels) + public static extern void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T7 pixels) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T7)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage2DEXT")] - public static - void TextureSubImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TextureSubImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage2DEXT")] - public static - void TextureSubImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[] pixels) + public static extern void TextureSubImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage2DEXT")] - public static - void TextureSubImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) + public static extern void TextureSubImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage2DEXT")] - public static - void TextureSubImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) + public static extern void TextureSubImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage2DEXT")] - public static - void TextureSubImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) + public static extern void TextureSubImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T9)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage2DEXT")] - public static - void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage2DEXT")] - public static - void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[] pixels) + public static extern void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage2DEXT")] - public static - void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) + public static extern void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage2DEXT")] - public static - void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) + public static extern void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage2DEXT")] - public static - void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) + public static extern void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T9)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage3DEXT")] - public static - void TextureSubImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TextureSubImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage3DEXT")] - public static - void TextureSubImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T11[] pixels) + public static extern void TextureSubImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T11[] pixels) where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage3DEXT")] - public static - void TextureSubImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T11[,] pixels) + public static extern void TextureSubImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T11[,] pixels) where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage3DEXT")] - public static - void TextureSubImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T11[,,] pixels) + public static extern void TextureSubImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T11[,,] pixels) where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage3DEXT")] - public static - void TextureSubImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T11 pixels) + public static extern void TextureSubImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T11 pixels) where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T11)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage3DEXT")] - public static - void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage3DEXT")] - public static - void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T11[] pixels) + public static extern void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T11[] pixels) where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage3DEXT")] - public static - void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T11[,] pixels) + public static extern void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T11[,] pixels) where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage3DEXT")] - public static - void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T11[,,] pixels) + public static extern void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T11[,,] pixels) where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureSubImage3DEXT")] - public static - void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T11 pixels) + public static extern void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T11 pixels) where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T11)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_transform_feedback] /// Specify values to record in transform feedback buffers @@ -191267,18 +105174,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glTransformFeedbackVaryingsEXT")] - public static - void TransformFeedbackVaryings(Int32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL.ExtTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTransformFeedbackVaryingsEXT((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.OpenGL.ExtTransformFeedback)bufferMode); - #if DEBUG - } - #endif - } + public static extern void TransformFeedbackVaryings(Int32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL.ExtTransformFeedback bufferMode); /// [requires: EXT_transform_feedback] /// Specify values to record in transform feedback buffers @@ -191305,18 +105201,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glTransformFeedbackVaryingsEXT")] - public static - void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL.ExtTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTransformFeedbackVaryingsEXT((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.OpenGL.ExtTransformFeedback)bufferMode); - #if DEBUG - } - #endif - } + public static extern void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL.ExtTransformFeedback bufferMode); /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -191350,18 +105235,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform1uiEXT")] - public static - void Uniform1(Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1uiEXT((Int32)location, (UInt32)v0); - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 v0); /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -191396,18 +105270,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform1uiEXT")] - public static - void Uniform1(Int32 location, UInt32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1uiEXT((Int32)location, (UInt32)v0); - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, UInt32 v0); /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -191441,24 +105304,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform1uivEXT")] - public static - void Uniform1(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, Int32[] value); /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -191492,24 +105338,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform1uivEXT")] - public static - void Uniform1(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, ref Int32 value); /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -191544,18 +105373,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform1uivEXT")] - public static - unsafe void Uniform1(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform1(Int32 location, Int32 count, Int32* value); /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -191590,24 +105408,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform1uivEXT")] - public static - void Uniform1(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, UInt32[] value); /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -191642,24 +105443,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform1uivEXT")] - public static - void Uniform1(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, ref UInt32 value); /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -191694,18 +105478,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform1uivEXT")] - public static - unsafe void Uniform1(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform1(Int32 location, Int32 count, UInt32* value); /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -191739,18 +105512,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform2uiEXT")] - public static - void Uniform2(Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2uiEXT((Int32)location, (UInt32)v0, (UInt32)v1); - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 v0, Int32 v1); /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -191785,18 +105547,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform2uiEXT")] - public static - void Uniform2(Int32 location, UInt32 v0, UInt32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2uiEXT((Int32)location, (UInt32)v0, (UInt32)v1); - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, UInt32 v0, UInt32 v1); /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -191830,24 +105581,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform2uivEXT")] - public static - void Uniform2(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 count, Int32[] value); /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -191882,18 +105616,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform2uivEXT")] - public static - unsafe void Uniform2(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform2(Int32 location, Int32 count, Int32* value); /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -191928,24 +105651,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform2uivEXT")] - public static - void Uniform2(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 count, UInt32[] value); /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -191980,24 +105686,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform2uivEXT")] - public static - void Uniform2(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 count, ref UInt32 value); /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -192032,18 +105721,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform2uivEXT")] - public static - unsafe void Uniform2(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform2(Int32 location, Int32 count, UInt32* value); /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -192077,18 +105755,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform3uiEXT")] - public static - void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2); /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -192123,18 +105790,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform3uiEXT")] - public static - void Uniform3(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -192168,24 +105824,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform3uivEXT")] - public static - void Uniform3(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, Int32[] value); /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -192219,24 +105858,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform3uivEXT")] - public static - void Uniform3(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, ref Int32 value); /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -192271,18 +105893,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform3uivEXT")] - public static - unsafe void Uniform3(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform3(Int32 location, Int32 count, Int32* value); /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -192317,24 +105928,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform3uivEXT")] - public static - void Uniform3(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, UInt32[] value); /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -192369,24 +105963,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform3uivEXT")] - public static - void Uniform3(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, ref UInt32 value); /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -192421,18 +105998,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform3uivEXT")] - public static - unsafe void Uniform3(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform3(Int32 location, Int32 count, UInt32* value); /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -192466,18 +106032,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform4uiEXT")] - public static - void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -192512,18 +106067,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform4uiEXT")] - public static - void Uniform4(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -192557,24 +106101,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform4uivEXT")] - public static - void Uniform4(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, Int32[] value); /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -192608,24 +106135,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform4uivEXT")] - public static - void Uniform4(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, ref Int32 value); /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -192660,18 +106170,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform4uivEXT")] - public static - unsafe void Uniform4(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform4(Int32 location, Int32 count, Int32* value); /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -192706,24 +106205,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform4uivEXT")] - public static - void Uniform4(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, UInt32[] value); /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -192758,24 +106240,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform4uivEXT")] - public static - void Uniform4(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, ref UInt32 value); /// [requires: EXT_gpu_shader4] /// Specify the value of a uniform variable for the current program object @@ -192810,95 +106275,29 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_gpu_shader4", Version = "", EntryPoint = "glUniform4uivEXT")] - public static - unsafe void Uniform4(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform4(Int32 location, Int32 count, UInt32* value); /// [requires: EXT_bindable_uniform] [AutoGenerated(Category = "EXT_bindable_uniform", Version = "", EntryPoint = "glUniformBufferEXT")] - public static - void UniformBuffer(Int32 program, Int32 location, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformBufferEXT((UInt32)program, (Int32)location, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void UniformBuffer(Int32 program, Int32 location, Int32 buffer); /// [requires: EXT_bindable_uniform] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_bindable_uniform", Version = "", EntryPoint = "glUniformBufferEXT")] - public static - void UniformBuffer(UInt32 program, Int32 location, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformBufferEXT((UInt32)program, (Int32)location, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void UniformBuffer(UInt32 program, Int32 location, UInt32 buffer); /// [requires: EXT_compiled_vertex_array] [AutoGenerated(Category = "EXT_compiled_vertex_array", Version = "", EntryPoint = "glUnlockArraysEXT")] - public static - void UnlockArrays() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUnlockArraysEXT(); - #if DEBUG - } - #endif - } + public static extern void UnlockArrays(); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glUnmapNamedBufferEXT")] - public static - bool UnmapNamedBuffer(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glUnmapNamedBufferEXT((UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern bool UnmapNamedBuffer(Int32 buffer); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glUnmapNamedBufferEXT")] - public static - bool UnmapNamedBuffer(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glUnmapNamedBufferEXT((UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern bool UnmapNamedBuffer(UInt32 buffer); /// [requires: EXT_separate_shader_objects] /// Bind stages of a program object to a program pipeline @@ -192919,18 +106318,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glUseProgramStagesEXT")] - public static - void UseProgramStages(Int32 pipeline, Int32 stages, Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUseProgramStagesEXT((UInt32)pipeline, (UInt32)stages, (UInt32)program); - #if DEBUG - } - #endif - } + public static extern void UseProgramStages(Int32 pipeline, Int32 stages, Int32 program); /// [requires: EXT_separate_shader_objects] /// Bind stages of a program object to a program pipeline @@ -192952,49 +106340,16 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glUseProgramStagesEXT")] - public static - void UseProgramStages(UInt32 pipeline, UInt32 stages, UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUseProgramStagesEXT((UInt32)pipeline, (UInt32)stages, (UInt32)program); - #if DEBUG - } - #endif - } + public static extern void UseProgramStages(UInt32 pipeline, UInt32 stages, UInt32 program); /// [requires: EXT_separate_shader_objects] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glUseShaderProgramEXT")] - public static - void UseShaderProgram(OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects type, Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUseShaderProgramEXT((OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects)type, (UInt32)program); - #if DEBUG - } - #endif - } + public static extern void UseShaderProgram(OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects type, Int32 program); /// [requires: EXT_separate_shader_objects] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glUseShaderProgramEXT")] - public static - void UseShaderProgram(OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects type, UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUseShaderProgramEXT((OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects)type, (UInt32)program); - #if DEBUG - } - #endif - } + public static extern void UseShaderProgram(OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects type, UInt32 program); /// [requires: EXT_separate_shader_objects] /// Validate a program pipeline object against current GL state @@ -193005,18 +106360,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glValidateProgramPipelineEXT")] - public static - void ValidateProgramPipeline(Int32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glValidateProgramPipelineEXT((UInt32)pipeline); - #if DEBUG - } - #endif - } + public static extern void ValidateProgramPipeline(Int32 pipeline); /// [requires: EXT_separate_shader_objects] /// Validate a program pipeline object against current GL state @@ -193028,3700 +106372,962 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glValidateProgramPipelineEXT")] - public static - void ValidateProgramPipeline(UInt32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glValidateProgramPipelineEXT((UInt32)pipeline); - #if DEBUG - } - #endif - } + public static extern void ValidateProgramPipeline(UInt32 pipeline); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantbvEXT")] - public static - void Variant(UInt32 id, SByte[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* addr_ptr = addr) - { - Delegates.glVariantbvEXT((UInt32)id, (SByte*)addr_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Variant(UInt32 id, SByte[] addr); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantbvEXT")] - public static - void Variant(UInt32 id, ref SByte addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* addr_ptr = &addr) - { - Delegates.glVariantbvEXT((UInt32)id, (SByte*)addr_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Variant(UInt32 id, ref SByte addr); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantbvEXT")] - public static - unsafe void Variant(UInt32 id, SByte* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantbvEXT((UInt32)id, (SByte*)addr); - #if DEBUG - } - #endif - } + public static extern unsafe void Variant(UInt32 id, SByte* addr); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantdvEXT")] - public static - void Variant(Int32 id, Double[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* addr_ptr = addr) - { - Delegates.glVariantdvEXT((UInt32)id, (Double*)addr_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Variant(Int32 id, Double[] addr); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantdvEXT")] - public static - void Variant(Int32 id, ref Double addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* addr_ptr = &addr) - { - Delegates.glVariantdvEXT((UInt32)id, (Double*)addr_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Variant(Int32 id, ref Double addr); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantdvEXT")] - public static - unsafe void Variant(Int32 id, Double* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantdvEXT((UInt32)id, (Double*)addr); - #if DEBUG - } - #endif - } + public static extern unsafe void Variant(Int32 id, Double* addr); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantdvEXT")] - public static - void Variant(UInt32 id, Double[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* addr_ptr = addr) - { - Delegates.glVariantdvEXT((UInt32)id, (Double*)addr_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Variant(UInt32 id, Double[] addr); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantdvEXT")] - public static - void Variant(UInt32 id, ref Double addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* addr_ptr = &addr) - { - Delegates.glVariantdvEXT((UInt32)id, (Double*)addr_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Variant(UInt32 id, ref Double addr); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantdvEXT")] - public static - unsafe void Variant(UInt32 id, Double* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantdvEXT((UInt32)id, (Double*)addr); - #if DEBUG - } - #endif - } + public static extern unsafe void Variant(UInt32 id, Double* addr); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantfvEXT")] - public static - void Variant(Int32 id, Single[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* addr_ptr = addr) - { - Delegates.glVariantfvEXT((UInt32)id, (Single*)addr_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Variant(Int32 id, Single[] addr); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantfvEXT")] - public static - void Variant(Int32 id, ref Single addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* addr_ptr = &addr) - { - Delegates.glVariantfvEXT((UInt32)id, (Single*)addr_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Variant(Int32 id, ref Single addr); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantfvEXT")] - public static - unsafe void Variant(Int32 id, Single* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantfvEXT((UInt32)id, (Single*)addr); - #if DEBUG - } - #endif - } + public static extern unsafe void Variant(Int32 id, Single* addr); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantfvEXT")] - public static - void Variant(UInt32 id, Single[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* addr_ptr = addr) - { - Delegates.glVariantfvEXT((UInt32)id, (Single*)addr_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Variant(UInt32 id, Single[] addr); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantfvEXT")] - public static - void Variant(UInt32 id, ref Single addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* addr_ptr = &addr) - { - Delegates.glVariantfvEXT((UInt32)id, (Single*)addr_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Variant(UInt32 id, ref Single addr); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantfvEXT")] - public static - unsafe void Variant(UInt32 id, Single* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantfvEXT((UInt32)id, (Single*)addr); - #if DEBUG - } - #endif - } + public static extern unsafe void Variant(UInt32 id, Single* addr); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantivEXT")] - public static - void Variant(Int32 id, Int32[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* addr_ptr = addr) - { - Delegates.glVariantivEXT((UInt32)id, (Int32*)addr_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Variant(Int32 id, Int32[] addr); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantivEXT")] - public static - void Variant(Int32 id, ref Int32 addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* addr_ptr = &addr) - { - Delegates.glVariantivEXT((UInt32)id, (Int32*)addr_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Variant(Int32 id, ref Int32 addr); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantivEXT")] - public static - unsafe void Variant(Int32 id, Int32* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantivEXT((UInt32)id, (Int32*)addr); - #if DEBUG - } - #endif - } + public static extern unsafe void Variant(Int32 id, Int32* addr); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantivEXT")] - public static - void Variant(UInt32 id, Int32[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* addr_ptr = addr) - { - Delegates.glVariantivEXT((UInt32)id, (Int32*)addr_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Variant(UInt32 id, Int32[] addr); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantivEXT")] - public static - void Variant(UInt32 id, ref Int32 addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* addr_ptr = &addr) - { - Delegates.glVariantivEXT((UInt32)id, (Int32*)addr_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Variant(UInt32 id, ref Int32 addr); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantivEXT")] - public static - unsafe void Variant(UInt32 id, Int32* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantivEXT((UInt32)id, (Int32*)addr); - #if DEBUG - } - #endif - } + public static extern unsafe void Variant(UInt32 id, Int32* addr); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantPointerEXT")] - public static - void VariantPointer(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, Int32 stride, IntPtr addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr); - #if DEBUG - } - #endif - } + public static extern void VariantPointer(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, Int32 stride, IntPtr addr); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantPointerEXT")] - public static - void VariantPointer(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, Int32 stride, [InAttribute, OutAttribute] T3[] addr) + public static extern void VariantPointer(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, Int32 stride, [InAttribute, OutAttribute] T3[] addr) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantPointerEXT")] - public static - void VariantPointer(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, Int32 stride, [InAttribute, OutAttribute] T3[,] addr) + public static extern void VariantPointer(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, Int32 stride, [InAttribute, OutAttribute] T3[,] addr) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantPointerEXT")] - public static - void VariantPointer(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, Int32 stride, [InAttribute, OutAttribute] T3[,,] addr) + public static extern void VariantPointer(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, Int32 stride, [InAttribute, OutAttribute] T3[,,] addr) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantPointerEXT")] - public static - void VariantPointer(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, Int32 stride, [InAttribute, OutAttribute] ref T3 addr) + public static extern void VariantPointer(Int32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, Int32 stride, [InAttribute, OutAttribute] ref T3 addr) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); - addr = (T3)addr_ptr.Target; - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantPointerEXT")] - public static - void VariantPointer(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, UInt32 stride, IntPtr addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr); - #if DEBUG - } - #endif - } + public static extern void VariantPointer(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, UInt32 stride, IntPtr addr); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantPointerEXT")] - public static - void VariantPointer(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, UInt32 stride, [InAttribute, OutAttribute] T3[] addr) + public static extern void VariantPointer(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, UInt32 stride, [InAttribute, OutAttribute] T3[] addr) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantPointerEXT")] - public static - void VariantPointer(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, UInt32 stride, [InAttribute, OutAttribute] T3[,] addr) + public static extern void VariantPointer(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, UInt32 stride, [InAttribute, OutAttribute] T3[,] addr) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantPointerEXT")] - public static - void VariantPointer(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, UInt32 stride, [InAttribute, OutAttribute] T3[,,] addr) + public static extern void VariantPointer(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, UInt32 stride, [InAttribute, OutAttribute] T3[,,] addr) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantPointerEXT")] - public static - void VariantPointer(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, UInt32 stride, [InAttribute, OutAttribute] ref T3 addr) + public static extern void VariantPointer(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, UInt32 stride, [InAttribute, OutAttribute] ref T3 addr) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); - addr = (T3)addr_ptr.Target; - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantsvEXT")] - public static - void Variant(Int32 id, Int16[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* addr_ptr = addr) - { - Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Variant(Int32 id, Int16[] addr); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantsvEXT")] - public static - void Variant(Int32 id, ref Int16 addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* addr_ptr = &addr) - { - Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Variant(Int32 id, ref Int16 addr); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantsvEXT")] - public static - unsafe void Variant(Int32 id, Int16* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr); - #if DEBUG - } - #endif - } + public static extern unsafe void Variant(Int32 id, Int16* addr); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantsvEXT")] - public static - void Variant(UInt32 id, Int16[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* addr_ptr = addr) - { - Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Variant(UInt32 id, Int16[] addr); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantsvEXT")] - public static - void Variant(UInt32 id, ref Int16 addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* addr_ptr = &addr) - { - Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Variant(UInt32 id, ref Int16 addr); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantsvEXT")] - public static - unsafe void Variant(UInt32 id, Int16* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr); - #if DEBUG - } - #endif - } + public static extern unsafe void Variant(UInt32 id, Int16* addr); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantubvEXT")] - public static - void Variant(Int32 id, Byte[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* addr_ptr = addr) - { - Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Variant(Int32 id, Byte[] addr); /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantubvEXT")] - public static - void Variant(Int32 id, ref Byte addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* addr_ptr = &addr) - { - Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Variant(Int32 id, ref Byte addr); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantubvEXT")] - public static - unsafe void Variant(Int32 id, Byte* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr); - #if DEBUG - } - #endif - } + public static extern unsafe void Variant(Int32 id, Byte* addr); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantubvEXT")] - public static - void Variant(UInt32 id, Byte[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* addr_ptr = addr) - { - Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Variant(UInt32 id, Byte[] addr); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantubvEXT")] - public static - void Variant(UInt32 id, ref Byte addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* addr_ptr = &addr) - { - Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Variant(UInt32 id, ref Byte addr); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantubvEXT")] - public static - unsafe void Variant(UInt32 id, Byte* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr); - #if DEBUG - } - #endif - } + public static extern unsafe void Variant(UInt32 id, Byte* addr); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantuivEXT")] - public static - void Variant(UInt32 id, UInt32[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* addr_ptr = addr) - { - Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Variant(UInt32 id, UInt32[] addr); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantuivEXT")] - public static - void Variant(UInt32 id, ref UInt32 addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* addr_ptr = &addr) - { - Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Variant(UInt32 id, ref UInt32 addr); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantuivEXT")] - public static - unsafe void Variant(UInt32 id, UInt32* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr); - #if DEBUG - } - #endif - } + public static extern unsafe void Variant(UInt32 id, UInt32* addr); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantusvEXT")] - public static - void Variant(UInt32 id, UInt16[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* addr_ptr = addr) - { - Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Variant(UInt32 id, UInt16[] addr); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantusvEXT")] - public static - void Variant(UInt32 id, ref UInt16 addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* addr_ptr = &addr) - { - Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Variant(UInt32 id, ref UInt16 addr); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glVariantusvEXT")] - public static - unsafe void Variant(UInt32 id, UInt16* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr); - #if DEBUG - } - #endif - } + public static extern unsafe void Variant(UInt32 id, UInt16* addr); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayBindVertexBufferEXT")] - public static - void VertexArrayBindVertexBuffer(Int32 vaobj, Int32 bindingindex, Int32 buffer, IntPtr offset, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayBindVertexBufferEXT((UInt32)vaobj, (UInt32)bindingindex, (UInt32)buffer, (IntPtr)offset, (Int32)stride); - #if DEBUG - } - #endif - } + public static extern void VertexArrayBindVertexBuffer(Int32 vaobj, Int32 bindingindex, Int32 buffer, IntPtr offset, Int32 stride); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayBindVertexBufferEXT")] - public static - void VertexArrayBindVertexBuffer(UInt32 vaobj, UInt32 bindingindex, UInt32 buffer, IntPtr offset, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayBindVertexBufferEXT((UInt32)vaobj, (UInt32)bindingindex, (UInt32)buffer, (IntPtr)offset, (Int32)stride); - #if DEBUG - } - #endif - } + public static extern void VertexArrayBindVertexBuffer(UInt32 vaobj, UInt32 bindingindex, UInt32 buffer, IntPtr offset, Int32 stride); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayColorOffsetEXT")] - public static - void VertexArrayColorOffset(Int32 vaobj, Int32 buffer, Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayColorOffsetEXT((UInt32)vaobj, (UInt32)buffer, (Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)offset); - #if DEBUG - } - #endif - } + public static extern void VertexArrayColorOffset(Int32 vaobj, Int32 buffer, Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr offset); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayColorOffsetEXT")] - public static - void VertexArrayColorOffset(UInt32 vaobj, UInt32 buffer, Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayColorOffsetEXT((UInt32)vaobj, (UInt32)buffer, (Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)offset); - #if DEBUG - } - #endif - } + public static extern void VertexArrayColorOffset(UInt32 vaobj, UInt32 buffer, Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr offset); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayEdgeFlagOffsetEXT")] - public static - void VertexArrayEdgeFlagOffset(Int32 vaobj, Int32 buffer, Int32 stride, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayEdgeFlagOffsetEXT((UInt32)vaobj, (UInt32)buffer, (Int32)stride, (IntPtr)offset); - #if DEBUG - } - #endif - } + public static extern void VertexArrayEdgeFlagOffset(Int32 vaobj, Int32 buffer, Int32 stride, IntPtr offset); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayEdgeFlagOffsetEXT")] - public static - void VertexArrayEdgeFlagOffset(UInt32 vaobj, UInt32 buffer, Int32 stride, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayEdgeFlagOffsetEXT((UInt32)vaobj, (UInt32)buffer, (Int32)stride, (IntPtr)offset); - #if DEBUG - } - #endif - } + public static extern void VertexArrayEdgeFlagOffset(UInt32 vaobj, UInt32 buffer, Int32 stride, IntPtr offset); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayFogCoordOffsetEXT")] - public static - void VertexArrayFogCoordOffset(Int32 vaobj, Int32 buffer, OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayFogCoordOffsetEXT((UInt32)vaobj, (UInt32)buffer, (OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)offset); - #if DEBUG - } - #endif - } + public static extern void VertexArrayFogCoordOffset(Int32 vaobj, Int32 buffer, OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, IntPtr offset); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayFogCoordOffsetEXT")] - public static - void VertexArrayFogCoordOffset(UInt32 vaobj, UInt32 buffer, OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayFogCoordOffsetEXT((UInt32)vaobj, (UInt32)buffer, (OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)offset); - #if DEBUG - } - #endif - } + public static extern void VertexArrayFogCoordOffset(UInt32 vaobj, UInt32 buffer, OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, IntPtr offset); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayIndexOffsetEXT")] - public static - void VertexArrayIndexOffset(Int32 vaobj, Int32 buffer, OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayIndexOffsetEXT((UInt32)vaobj, (UInt32)buffer, (OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)offset); - #if DEBUG - } - #endif - } + public static extern void VertexArrayIndexOffset(Int32 vaobj, Int32 buffer, OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, IntPtr offset); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayIndexOffsetEXT")] - public static - void VertexArrayIndexOffset(UInt32 vaobj, UInt32 buffer, OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayIndexOffsetEXT((UInt32)vaobj, (UInt32)buffer, (OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)offset); - #if DEBUG - } - #endif - } + public static extern void VertexArrayIndexOffset(UInt32 vaobj, UInt32 buffer, OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, IntPtr offset); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayMultiTexCoordOffsetEXT")] - public static - void VertexArrayMultiTexCoordOffset(Int32 vaobj, Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess texunit, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayMultiTexCoordOffsetEXT((UInt32)vaobj, (UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)texunit, (Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)offset); - #if DEBUG - } - #endif - } + public static extern void VertexArrayMultiTexCoordOffset(Int32 vaobj, Int32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess texunit, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr offset); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayMultiTexCoordOffsetEXT")] - public static - void VertexArrayMultiTexCoordOffset(UInt32 vaobj, UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess texunit, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayMultiTexCoordOffsetEXT((UInt32)vaobj, (UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)texunit, (Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)offset); - #if DEBUG - } - #endif - } + public static extern void VertexArrayMultiTexCoordOffset(UInt32 vaobj, UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess texunit, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr offset); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayNormalOffsetEXT")] - public static - void VertexArrayNormalOffset(Int32 vaobj, Int32 buffer, OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayNormalOffsetEXT((UInt32)vaobj, (UInt32)buffer, (OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)offset); - #if DEBUG - } - #endif - } + public static extern void VertexArrayNormalOffset(Int32 vaobj, Int32 buffer, OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr offset); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayNormalOffsetEXT")] - public static - void VertexArrayNormalOffset(UInt32 vaobj, UInt32 buffer, OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayNormalOffsetEXT((UInt32)vaobj, (UInt32)buffer, (OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)offset); - #if DEBUG - } - #endif - } + public static extern void VertexArrayNormalOffset(UInt32 vaobj, UInt32 buffer, OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr offset); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArraySecondaryColorOffsetEXT")] - public static - void VertexArraySecondaryColorOffset(Int32 vaobj, Int32 buffer, Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArraySecondaryColorOffsetEXT((UInt32)vaobj, (UInt32)buffer, (Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)offset); - #if DEBUG - } - #endif - } + public static extern void VertexArraySecondaryColorOffset(Int32 vaobj, Int32 buffer, Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr offset); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArraySecondaryColorOffsetEXT")] - public static - void VertexArraySecondaryColorOffset(UInt32 vaobj, UInt32 buffer, Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArraySecondaryColorOffsetEXT((UInt32)vaobj, (UInt32)buffer, (Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)offset); - #if DEBUG - } - #endif - } + public static extern void VertexArraySecondaryColorOffset(UInt32 vaobj, UInt32 buffer, Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr offset); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayTexCoordOffsetEXT")] - public static - void VertexArrayTexCoordOffset(Int32 vaobj, Int32 buffer, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayTexCoordOffsetEXT((UInt32)vaobj, (UInt32)buffer, (Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)offset); - #if DEBUG - } - #endif - } + public static extern void VertexArrayTexCoordOffset(Int32 vaobj, Int32 buffer, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr offset); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayTexCoordOffsetEXT")] - public static - void VertexArrayTexCoordOffset(UInt32 vaobj, UInt32 buffer, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayTexCoordOffsetEXT((UInt32)vaobj, (UInt32)buffer, (Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)offset); - #if DEBUG - } - #endif - } + public static extern void VertexArrayTexCoordOffset(UInt32 vaobj, UInt32 buffer, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr offset); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexAttribBindingEXT")] - public static - void VertexArrayVertexAttribBinding(Int32 vaobj, Int32 attribindex, Int32 bindingindex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayVertexAttribBindingEXT((UInt32)vaobj, (UInt32)attribindex, (UInt32)bindingindex); - #if DEBUG - } - #endif - } + public static extern void VertexArrayVertexAttribBinding(Int32 vaobj, Int32 attribindex, Int32 bindingindex); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexAttribBindingEXT")] - public static - void VertexArrayVertexAttribBinding(UInt32 vaobj, UInt32 attribindex, UInt32 bindingindex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayVertexAttribBindingEXT((UInt32)vaobj, (UInt32)attribindex, (UInt32)bindingindex); - #if DEBUG - } - #endif - } + public static extern void VertexArrayVertexAttribBinding(UInt32 vaobj, UInt32 attribindex, UInt32 bindingindex); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexAttribDivisorEXT")] - public static - void VertexArrayVertexAttribDivisor(Int32 vaobj, Int32 index, Int32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayVertexAttribDivisorEXT((UInt32)vaobj, (UInt32)index, (UInt32)divisor); - #if DEBUG - } - #endif - } + public static extern void VertexArrayVertexAttribDivisor(Int32 vaobj, Int32 index, Int32 divisor); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexAttribDivisorEXT")] - public static - void VertexArrayVertexAttribDivisor(UInt32 vaobj, UInt32 index, UInt32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayVertexAttribDivisorEXT((UInt32)vaobj, (UInt32)index, (UInt32)divisor); - #if DEBUG - } - #endif - } + public static extern void VertexArrayVertexAttribDivisor(UInt32 vaobj, UInt32 index, UInt32 divisor); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexAttribFormatEXT")] - public static - void VertexArrayVertexAttribFormat(Int32 vaobj, Int32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, bool normalized, Int32 relativeoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayVertexAttribFormatEXT((UInt32)vaobj, (UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)type, (bool)normalized, (UInt32)relativeoffset); - #if DEBUG - } - #endif - } + public static extern void VertexArrayVertexAttribFormat(Int32 vaobj, Int32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, bool normalized, Int32 relativeoffset); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexAttribFormatEXT")] - public static - void VertexArrayVertexAttribFormat(UInt32 vaobj, UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, bool normalized, UInt32 relativeoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayVertexAttribFormatEXT((UInt32)vaobj, (UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)type, (bool)normalized, (UInt32)relativeoffset); - #if DEBUG - } - #endif - } + public static extern void VertexArrayVertexAttribFormat(UInt32 vaobj, UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, bool normalized, UInt32 relativeoffset); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexAttribIFormatEXT")] - public static - void VertexArrayVertexAttribIFormat(Int32 vaobj, Int32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, Int32 relativeoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayVertexAttribIFormatEXT((UInt32)vaobj, (UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)type, (UInt32)relativeoffset); - #if DEBUG - } - #endif - } + public static extern void VertexArrayVertexAttribIFormat(Int32 vaobj, Int32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, Int32 relativeoffset); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexAttribIFormatEXT")] - public static - void VertexArrayVertexAttribIFormat(UInt32 vaobj, UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, UInt32 relativeoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayVertexAttribIFormatEXT((UInt32)vaobj, (UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)type, (UInt32)relativeoffset); - #if DEBUG - } - #endif - } + public static extern void VertexArrayVertexAttribIFormat(UInt32 vaobj, UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, UInt32 relativeoffset); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexAttribIOffsetEXT")] - public static - void VertexArrayVertexAttribIOffset(Int32 vaobj, Int32 buffer, Int32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, Int32 stride, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayVertexAttribIOffsetEXT((UInt32)vaobj, (UInt32)buffer, (UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)type, (Int32)stride, (IntPtr)offset); - #if DEBUG - } - #endif - } + public static extern void VertexArrayVertexAttribIOffset(Int32 vaobj, Int32 buffer, Int32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, Int32 stride, IntPtr offset); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexAttribIOffsetEXT")] - public static - void VertexArrayVertexAttribIOffset(UInt32 vaobj, UInt32 buffer, UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, Int32 stride, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayVertexAttribIOffsetEXT((UInt32)vaobj, (UInt32)buffer, (UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)type, (Int32)stride, (IntPtr)offset); - #if DEBUG - } - #endif - } + public static extern void VertexArrayVertexAttribIOffset(UInt32 vaobj, UInt32 buffer, UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, Int32 stride, IntPtr offset); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexAttribLFormatEXT")] - public static - void VertexArrayVertexAttribLFormat(Int32 vaobj, Int32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, Int32 relativeoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayVertexAttribLFormatEXT((UInt32)vaobj, (UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)type, (UInt32)relativeoffset); - #if DEBUG - } - #endif - } + public static extern void VertexArrayVertexAttribLFormat(Int32 vaobj, Int32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, Int32 relativeoffset); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexAttribLFormatEXT")] - public static - void VertexArrayVertexAttribLFormat(UInt32 vaobj, UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, UInt32 relativeoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayVertexAttribLFormatEXT((UInt32)vaobj, (UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)type, (UInt32)relativeoffset); - #if DEBUG - } - #endif - } + public static extern void VertexArrayVertexAttribLFormat(UInt32 vaobj, UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, UInt32 relativeoffset); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexAttribLOffsetEXT")] - public static - void VertexArrayVertexAttribLOffset(Int32 vaobj, Int32 buffer, Int32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, Int32 stride, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayVertexAttribLOffsetEXT((UInt32)vaobj, (UInt32)buffer, (UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)type, (Int32)stride, (IntPtr)offset); - #if DEBUG - } - #endif - } + public static extern void VertexArrayVertexAttribLOffset(Int32 vaobj, Int32 buffer, Int32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, Int32 stride, IntPtr offset); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexAttribLOffsetEXT")] - public static - void VertexArrayVertexAttribLOffset(UInt32 vaobj, UInt32 buffer, UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, Int32 stride, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayVertexAttribLOffsetEXT((UInt32)vaobj, (UInt32)buffer, (UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)type, (Int32)stride, (IntPtr)offset); - #if DEBUG - } - #endif - } + public static extern void VertexArrayVertexAttribLOffset(UInt32 vaobj, UInt32 buffer, UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, Int32 stride, IntPtr offset); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexAttribOffsetEXT")] - public static - void VertexArrayVertexAttribOffset(Int32 vaobj, Int32 buffer, Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayVertexAttribOffsetEXT((UInt32)vaobj, (UInt32)buffer, (UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)offset); - #if DEBUG - } - #endif - } + public static extern void VertexArrayVertexAttribOffset(Int32 vaobj, Int32 buffer, Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr offset); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexAttribOffsetEXT")] - public static - void VertexArrayVertexAttribOffset(UInt32 vaobj, UInt32 buffer, UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayVertexAttribOffsetEXT((UInt32)vaobj, (UInt32)buffer, (UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)offset); - #if DEBUG - } - #endif - } + public static extern void VertexArrayVertexAttribOffset(UInt32 vaobj, UInt32 buffer, UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr offset); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexBindingDivisorEXT")] - public static - void VertexArrayVertexBindingDivisor(Int32 vaobj, Int32 bindingindex, Int32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayVertexBindingDivisorEXT((UInt32)vaobj, (UInt32)bindingindex, (UInt32)divisor); - #if DEBUG - } - #endif - } + public static extern void VertexArrayVertexBindingDivisor(Int32 vaobj, Int32 bindingindex, Int32 divisor); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexBindingDivisorEXT")] - public static - void VertexArrayVertexBindingDivisor(UInt32 vaobj, UInt32 bindingindex, UInt32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayVertexBindingDivisorEXT((UInt32)vaobj, (UInt32)bindingindex, (UInt32)divisor); - #if DEBUG - } - #endif - } + public static extern void VertexArrayVertexBindingDivisor(UInt32 vaobj, UInt32 bindingindex, UInt32 divisor); /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexOffsetEXT")] - public static - void VertexArrayVertexOffset(Int32 vaobj, Int32 buffer, Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayVertexOffsetEXT((UInt32)vaobj, (UInt32)buffer, (Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)offset); - #if DEBUG - } - #endif - } + public static extern void VertexArrayVertexOffset(Int32 vaobj, Int32 buffer, Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, IntPtr offset); /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glVertexArrayVertexOffsetEXT")] - public static - void VertexArrayVertexOffset(UInt32 vaobj, UInt32 buffer, Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayVertexOffsetEXT((UInt32)vaobj, (UInt32)buffer, (Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)offset); - #if DEBUG - } - #endif - } + public static extern void VertexArrayVertexOffset(UInt32 vaobj, UInt32 buffer, Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, IntPtr offset); /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI1iEXT")] - public static - void VertexAttribI1(Int32 index, Int32 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI1iEXT((UInt32)index, (Int32)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI1(Int32 index, Int32 x); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI1iEXT")] - public static - void VertexAttribI1(UInt32 index, Int32 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI1iEXT((UInt32)index, (Int32)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI1(UInt32 index, Int32 x); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI1ivEXT")] - public static - unsafe void VertexAttribI1(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI1ivEXT((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI1(Int32 index, Int32* v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI1ivEXT")] - public static - unsafe void VertexAttribI1(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI1ivEXT((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI1(UInt32 index, Int32* v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI1uiEXT")] - public static - void VertexAttribI1(UInt32 index, UInt32 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI1uiEXT((UInt32)index, (UInt32)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI1(UInt32 index, UInt32 x); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI1uivEXT")] - public static - unsafe void VertexAttribI1(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI1uivEXT((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI1(UInt32 index, UInt32* v); /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2iEXT")] - public static - void VertexAttribI2(Int32 index, Int32 x, Int32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2iEXT((UInt32)index, (Int32)x, (Int32)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI2(Int32 index, Int32 x, Int32 y); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2iEXT")] - public static - void VertexAttribI2(UInt32 index, Int32 x, Int32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2iEXT((UInt32)index, (Int32)x, (Int32)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI2(UInt32 index, Int32 x, Int32 y); /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] - public static - void VertexAttribI2(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI2(Int32 index, Int32[] v); /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] - public static - void VertexAttribI2(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI2(Int32 index, ref Int32 v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] - public static - unsafe void VertexAttribI2(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI2(Int32 index, Int32* v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] - public static - void VertexAttribI2(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI2(UInt32 index, Int32[] v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] - public static - void VertexAttribI2(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI2(UInt32 index, ref Int32 v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] - public static - unsafe void VertexAttribI2(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI2(UInt32 index, Int32* v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2uiEXT")] - public static - void VertexAttribI2(UInt32 index, UInt32 x, UInt32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2uiEXT((UInt32)index, (UInt32)x, (UInt32)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI2(UInt32 index, UInt32 x, UInt32 y); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2uivEXT")] - public static - void VertexAttribI2(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI2(UInt32 index, UInt32[] v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2uivEXT")] - public static - void VertexAttribI2(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI2(UInt32 index, ref UInt32 v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI2uivEXT")] - public static - unsafe void VertexAttribI2(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI2(UInt32 index, UInt32* v); /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3iEXT")] - public static - void VertexAttribI3(Int32 index, Int32 x, Int32 y, Int32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3iEXT((UInt32)index, (Int32)x, (Int32)y, (Int32)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI3(Int32 index, Int32 x, Int32 y, Int32 z); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3iEXT")] - public static - void VertexAttribI3(UInt32 index, Int32 x, Int32 y, Int32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3iEXT((UInt32)index, (Int32)x, (Int32)y, (Int32)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI3(UInt32 index, Int32 x, Int32 y, Int32 z); /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] - public static - void VertexAttribI3(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI3(Int32 index, Int32[] v); /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] - public static - void VertexAttribI3(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI3(Int32 index, ref Int32 v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] - public static - unsafe void VertexAttribI3(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI3(Int32 index, Int32* v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] - public static - void VertexAttribI3(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI3(UInt32 index, Int32[] v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] - public static - void VertexAttribI3(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI3(UInt32 index, ref Int32 v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] - public static - unsafe void VertexAttribI3(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI3(UInt32 index, Int32* v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3uiEXT")] - public static - void VertexAttribI3(UInt32 index, UInt32 x, UInt32 y, UInt32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3uiEXT((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI3(UInt32 index, UInt32 x, UInt32 y, UInt32 z); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3uivEXT")] - public static - void VertexAttribI3(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI3(UInt32 index, UInt32[] v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3uivEXT")] - public static - void VertexAttribI3(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI3(UInt32 index, ref UInt32 v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI3uivEXT")] - public static - unsafe void VertexAttribI3(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI3(UInt32 index, UInt32* v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4bvEXT")] - public static - void VertexAttribI4(UInt32 index, SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - Delegates.glVertexAttribI4bvEXT((UInt32)index, (SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, SByte[] v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4bvEXT")] - public static - void VertexAttribI4(UInt32 index, ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - Delegates.glVertexAttribI4bvEXT((UInt32)index, (SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, ref SByte v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4bvEXT")] - public static - unsafe void VertexAttribI4(UInt32 index, SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4bvEXT((UInt32)index, (SByte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI4(UInt32 index, SByte* v); /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4iEXT")] - public static - void VertexAttribI4(Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4iEXT((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(Int32 index, Int32 x, Int32 y, Int32 z, Int32 w); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4iEXT")] - public static - void VertexAttribI4(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4iEXT((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] - public static - void VertexAttribI4(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(Int32 index, Int32[] v); /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] - public static - void VertexAttribI4(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(Int32 index, ref Int32 v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] - public static - unsafe void VertexAttribI4(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI4(Int32 index, Int32* v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] - public static - void VertexAttribI4(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, Int32[] v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] - public static - void VertexAttribI4(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, ref Int32 v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] - public static - unsafe void VertexAttribI4(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI4(UInt32 index, Int32* v); /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] - public static - void VertexAttribI4(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(Int32 index, Int16[] v); /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] - public static - void VertexAttribI4(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(Int32 index, ref Int16 v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] - public static - unsafe void VertexAttribI4(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI4(Int32 index, Int16* v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] - public static - void VertexAttribI4(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, Int16[] v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] - public static - void VertexAttribI4(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, ref Int16 v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] - public static - unsafe void VertexAttribI4(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI4(UInt32 index, Int16* v); /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] - public static - void VertexAttribI4(Int32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(Int32 index, Byte[] v); /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] - public static - void VertexAttribI4(Int32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(Int32 index, ref Byte v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] - public static - unsafe void VertexAttribI4(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI4(Int32 index, Byte* v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] - public static - void VertexAttribI4(UInt32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, Byte[] v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] - public static - void VertexAttribI4(UInt32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, ref Byte v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] - public static - unsafe void VertexAttribI4(UInt32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI4(UInt32 index, Byte* v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4uiEXT")] - public static - void VertexAttribI4(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4uiEXT((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4uivEXT")] - public static - void VertexAttribI4(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glVertexAttribI4uivEXT((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, UInt32[] v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4uivEXT")] - public static - void VertexAttribI4(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - Delegates.glVertexAttribI4uivEXT((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, ref UInt32 v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4uivEXT")] - public static - unsafe void VertexAttribI4(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4uivEXT((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI4(UInt32 index, UInt32* v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4usvEXT")] - public static - void VertexAttribI4(UInt32 index, UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, UInt16[] v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4usvEXT")] - public static - void VertexAttribI4(UInt32 index, ref UInt16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = &v) - { - Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, ref UInt16 v); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribI4usvEXT")] - public static - unsafe void VertexAttribI4(UInt32 index, UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI4(UInt32 index, UInt16* v); /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, IntPtr pointer); /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vertex_program4] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T4)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, IntPtr pointer); /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T4)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_attrib_64bit] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL1dEXT")] - public static - void VertexAttribL1(Int32 index, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL1dEXT((UInt32)index, (Double)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL1(Int32 index, Double x); /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL1dEXT")] - public static - void VertexAttribL1(UInt32 index, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL1dEXT((UInt32)index, (Double)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL1(UInt32 index, Double x); /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL1dvEXT")] - public static - unsafe void VertexAttribL1(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL1dvEXT((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL1(Int32 index, Double* v); /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL1dvEXT")] - public static - unsafe void VertexAttribL1(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL1dvEXT((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL1(UInt32 index, Double* v); /// [requires: EXT_vertex_attrib_64bit] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL2dEXT")] - public static - void VertexAttribL2(Int32 index, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL2dEXT((UInt32)index, (Double)x, (Double)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL2(Int32 index, Double x, Double y); /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL2dEXT")] - public static - void VertexAttribL2(UInt32 index, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL2dEXT((UInt32)index, (Double)x, (Double)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL2(UInt32 index, Double x, Double y); /// [requires: EXT_vertex_attrib_64bit] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL2dvEXT")] - public static - void VertexAttribL2(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttribL2dvEXT((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL2(Int32 index, Double[] v); /// [requires: EXT_vertex_attrib_64bit] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL2dvEXT")] - public static - void VertexAttribL2(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttribL2dvEXT((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL2(Int32 index, ref Double v); /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL2dvEXT")] - public static - unsafe void VertexAttribL2(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL2dvEXT((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL2(Int32 index, Double* v); /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL2dvEXT")] - public static - void VertexAttribL2(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttribL2dvEXT((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL2(UInt32 index, Double[] v); /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL2dvEXT")] - public static - void VertexAttribL2(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttribL2dvEXT((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL2(UInt32 index, ref Double v); /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL2dvEXT")] - public static - unsafe void VertexAttribL2(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL2dvEXT((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL2(UInt32 index, Double* v); /// [requires: EXT_vertex_attrib_64bit] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL3dEXT")] - public static - void VertexAttribL3(Int32 index, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL3dEXT((UInt32)index, (Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL3(Int32 index, Double x, Double y, Double z); /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL3dEXT")] - public static - void VertexAttribL3(UInt32 index, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL3dEXT((UInt32)index, (Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL3(UInt32 index, Double x, Double y, Double z); /// [requires: EXT_vertex_attrib_64bit] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL3dvEXT")] - public static - void VertexAttribL3(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttribL3dvEXT((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL3(Int32 index, Double[] v); /// [requires: EXT_vertex_attrib_64bit] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL3dvEXT")] - public static - void VertexAttribL3(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttribL3dvEXT((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL3(Int32 index, ref Double v); /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL3dvEXT")] - public static - unsafe void VertexAttribL3(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL3dvEXT((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL3(Int32 index, Double* v); /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL3dvEXT")] - public static - void VertexAttribL3(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttribL3dvEXT((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL3(UInt32 index, Double[] v); /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL3dvEXT")] - public static - void VertexAttribL3(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttribL3dvEXT((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL3(UInt32 index, ref Double v); /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL3dvEXT")] - public static - unsafe void VertexAttribL3(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL3dvEXT((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL3(UInt32 index, Double* v); /// [requires: EXT_vertex_attrib_64bit] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL4dEXT")] - public static - void VertexAttribL4(Int32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL4dEXT((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL4(Int32 index, Double x, Double y, Double z, Double w); /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL4dEXT")] - public static - void VertexAttribL4(UInt32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL4dEXT((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL4(UInt32 index, Double x, Double y, Double z, Double w); /// [requires: EXT_vertex_attrib_64bit] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL4dvEXT")] - public static - void VertexAttribL4(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttribL4dvEXT((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL4(Int32 index, Double[] v); /// [requires: EXT_vertex_attrib_64bit] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL4dvEXT")] - public static - void VertexAttribL4(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttribL4dvEXT((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL4(Int32 index, ref Double v); /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL4dvEXT")] - public static - unsafe void VertexAttribL4(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL4dvEXT((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL4(Int32 index, Double* v); /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL4dvEXT")] - public static - void VertexAttribL4(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttribL4dvEXT((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL4(UInt32 index, Double[] v); /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL4dvEXT")] - public static - void VertexAttribL4(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttribL4dvEXT((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL4(UInt32 index, ref Double v); /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL4dvEXT")] - public static - unsafe void VertexAttribL4(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL4dvEXT((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL4(UInt32 index, Double* v); /// [requires: EXT_vertex_attrib_64bit] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribLPointerEXT")] - public static - void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribLPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, IntPtr pointer); /// [requires: EXT_vertex_attrib_64bit] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribLPointerEXT")] - public static - void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + public static extern void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribLPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_attrib_64bit] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribLPointerEXT")] - public static - void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + public static extern void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribLPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_attrib_64bit] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribLPointerEXT")] - public static - void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + public static extern void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribLPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_attrib_64bit] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribLPointerEXT")] - public static - void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + public static extern void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribLPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T4)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribLPointerEXT")] - public static - void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribLPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, IntPtr pointer); /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribLPointerEXT")] - public static - void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + public static extern void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribLPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribLPointerEXT")] - public static - void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + public static extern void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribLPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribLPointerEXT")] - public static - void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + public static extern void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribLPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_attrib_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribLPointerEXT")] - public static - void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + public static extern void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribLPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T4)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_array] /// Define an array of vertex data @@ -196747,18 +107353,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glVertexPointerEXT")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, Int32 count, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, Int32 count, IntPtr pointer); /// [requires: EXT_vertex_array] /// Define an array of vertex data @@ -196784,27 +107379,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glVertexPointerEXT")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T4[] pointer) + public static extern void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T4[] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_array] /// Define an array of vertex data @@ -196830,27 +107407,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glVertexPointerEXT")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T4[,] pointer) + public static extern void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T4[,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_array] /// Define an array of vertex data @@ -196876,27 +107435,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glVertexPointerEXT")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T4[,,] pointer) + public static extern void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] T4[,,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_array] /// Define an array of vertex data @@ -196922,202 +107463,55 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "EXT_vertex_array", Version = "", EntryPoint = "glVertexPointerEXT")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] ref T4 pointer) + public static extern void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, Int32 count, [InAttribute, OutAttribute] ref T4 pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T4)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_weighting] [AutoGenerated(Category = "EXT_vertex_weighting", Version = "", EntryPoint = "glVertexWeightfEXT")] - public static - void VertexWeight(Single weight) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexWeightfEXT((Single)weight); - #if DEBUG - } - #endif - } + public static extern void VertexWeight(Single weight); /// [requires: EXT_vertex_weighting] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_weighting", Version = "", EntryPoint = "glVertexWeightfvEXT")] - public static - unsafe void VertexWeight(Single* weight) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexWeightfvEXT((Single*)weight); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexWeight(Single* weight); /// [requires: EXT_vertex_weighting] [AutoGenerated(Category = "EXT_vertex_weighting", Version = "", EntryPoint = "glVertexWeightPointerEXT")] - public static - void VertexWeightPointer(Int32 size, OpenTK.Graphics.OpenGL.ExtVertexWeighting type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexWeightPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexWeightPointer(Int32 size, OpenTK.Graphics.OpenGL.ExtVertexWeighting type, Int32 stride, IntPtr pointer); /// [requires: EXT_vertex_weighting] [AutoGenerated(Category = "EXT_vertex_weighting", Version = "", EntryPoint = "glVertexWeightPointerEXT")] - public static - void VertexWeightPointer(Int32 size, OpenTK.Graphics.OpenGL.ExtVertexWeighting type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) + public static extern void VertexWeightPointer(Int32 size, OpenTK.Graphics.OpenGL.ExtVertexWeighting type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexWeightPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_weighting] [AutoGenerated(Category = "EXT_vertex_weighting", Version = "", EntryPoint = "glVertexWeightPointerEXT")] - public static - void VertexWeightPointer(Int32 size, OpenTK.Graphics.OpenGL.ExtVertexWeighting type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) + public static extern void VertexWeightPointer(Int32 size, OpenTK.Graphics.OpenGL.ExtVertexWeighting type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexWeightPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_weighting] [AutoGenerated(Category = "EXT_vertex_weighting", Version = "", EntryPoint = "glVertexWeightPointerEXT")] - public static - void VertexWeightPointer(Int32 size, OpenTK.Graphics.OpenGL.ExtVertexWeighting type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) + public static extern void VertexWeightPointer(Int32 size, OpenTK.Graphics.OpenGL.ExtVertexWeighting type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexWeightPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_weighting] [AutoGenerated(Category = "EXT_vertex_weighting", Version = "", EntryPoint = "glVertexWeightPointerEXT")] - public static - void VertexWeightPointer(Int32 size, OpenTK.Graphics.OpenGL.ExtVertexWeighting type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) + public static extern void VertexWeightPointer(Int32 size, OpenTK.Graphics.OpenGL.ExtVertexWeighting type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexWeightPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: EXT_vertex_shader] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glWriteMaskEXT")] - public static - void WriteMask(Int32 res, Int32 @in, OpenTK.Graphics.OpenGL.ExtVertexShader outX, OpenTK.Graphics.OpenGL.ExtVertexShader outY, OpenTK.Graphics.OpenGL.ExtVertexShader outZ, OpenTK.Graphics.OpenGL.ExtVertexShader outW) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWriteMaskEXT((UInt32)res, (UInt32)@in, (OpenTK.Graphics.OpenGL.ExtVertexShader)outX, (OpenTK.Graphics.OpenGL.ExtVertexShader)outY, (OpenTK.Graphics.OpenGL.ExtVertexShader)outZ, (OpenTK.Graphics.OpenGL.ExtVertexShader)outW); - #if DEBUG - } - #endif - } + public static extern void WriteMask(Int32 res, Int32 @in, OpenTK.Graphics.OpenGL.ExtVertexShader outX, OpenTK.Graphics.OpenGL.ExtVertexShader outY, OpenTK.Graphics.OpenGL.ExtVertexShader outZ, OpenTK.Graphics.OpenGL.ExtVertexShader outW); /// [requires: EXT_vertex_shader] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_vertex_shader", Version = "", EntryPoint = "glWriteMaskEXT")] - public static - void WriteMask(UInt32 res, UInt32 @in, OpenTK.Graphics.OpenGL.ExtVertexShader outX, OpenTK.Graphics.OpenGL.ExtVertexShader outY, OpenTK.Graphics.OpenGL.ExtVertexShader outZ, OpenTK.Graphics.OpenGL.ExtVertexShader outW) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWriteMaskEXT((UInt32)res, (UInt32)@in, (OpenTK.Graphics.OpenGL.ExtVertexShader)outX, (OpenTK.Graphics.OpenGL.ExtVertexShader)outY, (OpenTK.Graphics.OpenGL.ExtVertexShader)outZ, (OpenTK.Graphics.OpenGL.ExtVertexShader)outW); - #if DEBUG - } - #endif - } + public static extern void WriteMask(UInt32 res, UInt32 @in, OpenTK.Graphics.OpenGL.ExtVertexShader outX, OpenTK.Graphics.OpenGL.ExtVertexShader outY, OpenTK.Graphics.OpenGL.ExtVertexShader outZ, OpenTK.Graphics.OpenGL.ExtVertexShader outW); } @@ -197125,130 +107519,35 @@ namespace OpenTK.Graphics.OpenGL { /// [requires: GREMEDY_frame_terminator] [AutoGenerated(Category = "GREMEDY_frame_terminator", Version = "", EntryPoint = "glFrameTerminatorGREMEDY")] - public static - void FrameTerminator() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFrameTerminatorGREMEDY(); - #if DEBUG - } - #endif - } + public static extern void FrameTerminator(); /// [requires: GREMEDY_string_marker] [AutoGenerated(Category = "GREMEDY_string_marker", Version = "", EntryPoint = "glStringMarkerGREMEDY")] - public static - void StringMarker(Int32 len, IntPtr @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStringMarkerGREMEDY((Int32)len, (IntPtr)@string); - #if DEBUG - } - #endif - } + public static extern void StringMarker(Int32 len, IntPtr @string); /// [requires: GREMEDY_string_marker] [AutoGenerated(Category = "GREMEDY_string_marker", Version = "", EntryPoint = "glStringMarkerGREMEDY")] - public static - void StringMarker(Int32 len, [InAttribute, OutAttribute] T1[] @string) + public static extern void StringMarker(Int32 len, [InAttribute, OutAttribute] T1[] @string) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glStringMarkerGREMEDY((Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: GREMEDY_string_marker] [AutoGenerated(Category = "GREMEDY_string_marker", Version = "", EntryPoint = "glStringMarkerGREMEDY")] - public static - void StringMarker(Int32 len, [InAttribute, OutAttribute] T1[,] @string) + public static extern void StringMarker(Int32 len, [InAttribute, OutAttribute] T1[,] @string) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glStringMarkerGREMEDY((Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: GREMEDY_string_marker] [AutoGenerated(Category = "GREMEDY_string_marker", Version = "", EntryPoint = "glStringMarkerGREMEDY")] - public static - void StringMarker(Int32 len, [InAttribute, OutAttribute] T1[,,] @string) + public static extern void StringMarker(Int32 len, [InAttribute, OutAttribute] T1[,,] @string) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glStringMarkerGREMEDY((Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: GREMEDY_string_marker] [AutoGenerated(Category = "GREMEDY_string_marker", Version = "", EntryPoint = "glStringMarkerGREMEDY")] - public static - void StringMarker(Int32 len, [InAttribute, OutAttribute] ref T1 @string) + public static extern void StringMarker(Int32 len, [InAttribute, OutAttribute] ref T1 @string) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glStringMarkerGREMEDY((Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - @string = (T1)@string_ptr.Target; - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; } @@ -197256,225 +107555,55 @@ namespace OpenTK.Graphics.OpenGL { /// [requires: HP_image_transform] [AutoGenerated(Category = "HP_image_transform", Version = "", EntryPoint = "glGetImageTransformParameterfvHP")] - public static - void GetImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetImageTransformParameterfvHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [OutAttribute] Single[] @params); /// [requires: HP_image_transform] [AutoGenerated(Category = "HP_image_transform", Version = "", EntryPoint = "glGetImageTransformParameterfvHP")] - public static - void GetImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetImageTransformParameterfvHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [OutAttribute] out Single @params); /// [requires: HP_image_transform] [System.CLSCompliant(false)] [AutoGenerated(Category = "HP_image_transform", Version = "", EntryPoint = "glGetImageTransformParameterfvHP")] - public static - unsafe void GetImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetImageTransformParameterfvHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [OutAttribute] Single* @params); /// [requires: HP_image_transform] [AutoGenerated(Category = "HP_image_transform", Version = "", EntryPoint = "glGetImageTransformParameterivHP")] - public static - void GetImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetImageTransformParameterivHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [OutAttribute] Int32[] @params); /// [requires: HP_image_transform] [AutoGenerated(Category = "HP_image_transform", Version = "", EntryPoint = "glGetImageTransformParameterivHP")] - public static - void GetImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetImageTransformParameterivHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [OutAttribute] out Int32 @params); /// [requires: HP_image_transform] [System.CLSCompliant(false)] [AutoGenerated(Category = "HP_image_transform", Version = "", EntryPoint = "glGetImageTransformParameterivHP")] - public static - unsafe void GetImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetImageTransformParameterivHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [OutAttribute] Int32* @params); /// [requires: HP_image_transform] [AutoGenerated(Category = "HP_image_transform", Version = "", EntryPoint = "glImageTransformParameterfHP")] - public static - void ImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glImageTransformParameterfHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void ImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Single param); /// [requires: HP_image_transform] [AutoGenerated(Category = "HP_image_transform", Version = "", EntryPoint = "glImageTransformParameterfvHP")] - public static - void ImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glImageTransformParameterfvHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Single[] @params); /// [requires: HP_image_transform] [System.CLSCompliant(false)] [AutoGenerated(Category = "HP_image_transform", Version = "", EntryPoint = "glImageTransformParameterfvHP")] - public static - unsafe void ImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glImageTransformParameterfvHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Single* @params); /// [requires: HP_image_transform] [AutoGenerated(Category = "HP_image_transform", Version = "", EntryPoint = "glImageTransformParameteriHP")] - public static - void ImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glImageTransformParameteriHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void ImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Int32 param); /// [requires: HP_image_transform] [AutoGenerated(Category = "HP_image_transform", Version = "", EntryPoint = "glImageTransformParameterivHP")] - public static - void ImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glImageTransformParameterivHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Int32[] @params); /// [requires: HP_image_transform] [System.CLSCompliant(false)] [AutoGenerated(Category = "HP_image_transform", Version = "", EntryPoint = "glImageTransformParameterivHP")] - public static - unsafe void ImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glImageTransformParameterivHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ImageTransformParameter(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Int32* @params); } @@ -197482,1446 +107611,353 @@ namespace OpenTK.Graphics.OpenGL { /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glColorPointerListIBM")] - public static - void ColorPointerList(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); - #if DEBUG - } - #endif - } + public static extern void ColorPointerList(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glColorPointerListIBM")] - public static - void ColorPointerList(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer, Int32 ptrstride) + public static extern void ColorPointerList(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer, Int32 ptrstride) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glColorPointerListIBM")] - public static - void ColorPointerList(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer, Int32 ptrstride) + public static extern void ColorPointerList(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer, Int32 ptrstride) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glColorPointerListIBM")] - public static - void ColorPointerList(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer, Int32 ptrstride) + public static extern void ColorPointerList(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer, Int32 ptrstride) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glColorPointerListIBM")] - public static - void ColorPointerList(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer, Int32 ptrstride) + public static extern void ColorPointerList(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer, Int32 ptrstride) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_vertex_array_lists] [System.CLSCompliant(false)] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glEdgeFlagPointerListIBM")] - public static - unsafe void EdgeFlagPointerList(Int32 stride, bool*[] pointer, Int32 ptrstride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (bool** pointer_ptr = pointer) - { - Delegates.glEdgeFlagPointerListIBM((Int32)stride, (bool**)pointer_ptr, (Int32)ptrstride); - } - #if DEBUG - } - #endif - } + public static extern unsafe void EdgeFlagPointerList(Int32 stride, bool*[] pointer, Int32 ptrstride); /// [requires: IBM_vertex_array_lists] [System.CLSCompliant(false)] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glEdgeFlagPointerListIBM")] - public static - unsafe void EdgeFlagPointerList(Int32 stride, ref bool* pointer, Int32 ptrstride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (bool** pointer_ptr = &pointer) - { - Delegates.glEdgeFlagPointerListIBM((Int32)stride, (bool**)pointer_ptr, (Int32)ptrstride); - } - #if DEBUG - } - #endif - } + public static extern unsafe void EdgeFlagPointerList(Int32 stride, ref bool* pointer, Int32 ptrstride); /// [requires: IBM_vertex_array_lists] [System.CLSCompliant(false)] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glEdgeFlagPointerListIBM")] - public static - unsafe void EdgeFlagPointerList(Int32 stride, bool** pointer, Int32 ptrstride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEdgeFlagPointerListIBM((Int32)stride, (bool**)pointer, (Int32)ptrstride); - #if DEBUG - } - #endif - } + public static extern unsafe void EdgeFlagPointerList(Int32 stride, bool** pointer, Int32 ptrstride); /// [requires: IBM_static_data] [AutoGenerated(Category = "IBM_static_data", Version = "", EntryPoint = "glFlushStaticDataIBM")] - public static - void FlushStaticData(OpenTK.Graphics.OpenGL.IbmStaticData target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFlushStaticDataIBM((OpenTK.Graphics.OpenGL.IbmStaticData)target); - #if DEBUG - } - #endif - } + public static extern void FlushStaticData(OpenTK.Graphics.OpenGL.IbmStaticData target); /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glFogCoordPointerListIBM")] - public static - void FogCoordPointerList(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); - #if DEBUG - } - #endif - } + public static extern void FogCoordPointerList(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glFogCoordPointerListIBM")] - public static - void FogCoordPointerList(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer, Int32 ptrstride) + public static extern void FogCoordPointerList(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer, Int32 ptrstride) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glFogCoordPointerListIBM")] - public static - void FogCoordPointerList(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer, Int32 ptrstride) + public static extern void FogCoordPointerList(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer, Int32 ptrstride) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glFogCoordPointerListIBM")] - public static - void FogCoordPointerList(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer, Int32 ptrstride) + public static extern void FogCoordPointerList(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer, Int32 ptrstride) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glFogCoordPointerListIBM")] - public static - void FogCoordPointerList(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer, Int32 ptrstride) + public static extern void FogCoordPointerList(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer, Int32 ptrstride) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_vertex_array_lists] [Obsolete("Use FogPointerType overload instead")] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glFogCoordPointerListIBM")] - public static - void FogCoordPointerList(OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, IntPtr pointer, Int32 ptrstride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); - #if DEBUG - } - #endif - } + public static extern void FogCoordPointerList(OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, IntPtr pointer, Int32 ptrstride); /// [requires: IBM_vertex_array_lists] [Obsolete("Use FogPointerType overload instead")] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glFogCoordPointerListIBM")] - public static - void FogCoordPointerList(OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer, Int32 ptrstride) + public static extern void FogCoordPointerList(OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer, Int32 ptrstride) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_vertex_array_lists] [Obsolete("Use FogPointerType overload instead")] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glFogCoordPointerListIBM")] - public static - void FogCoordPointerList(OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer, Int32 ptrstride) + public static extern void FogCoordPointerList(OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer, Int32 ptrstride) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_vertex_array_lists] [Obsolete("Use FogPointerType overload instead")] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glFogCoordPointerListIBM")] - public static - void FogCoordPointerList(OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer, Int32 ptrstride) + public static extern void FogCoordPointerList(OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer, Int32 ptrstride) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_vertex_array_lists] [Obsolete("Use FogPointerType overload instead")] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glFogCoordPointerListIBM")] - public static - void FogCoordPointerList(OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer, Int32 ptrstride) + public static extern void FogCoordPointerList(OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer, Int32 ptrstride) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glIndexPointerListIBM")] - public static - void IndexPointerList(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glIndexPointerListIBM((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); - #if DEBUG - } - #endif - } + public static extern void IndexPointerList(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glIndexPointerListIBM")] - public static - void IndexPointerList(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer, Int32 ptrstride) + public static extern void IndexPointerList(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer, Int32 ptrstride) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glIndexPointerListIBM((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glIndexPointerListIBM")] - public static - void IndexPointerList(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer, Int32 ptrstride) + public static extern void IndexPointerList(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer, Int32 ptrstride) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glIndexPointerListIBM((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glIndexPointerListIBM")] - public static - void IndexPointerList(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer, Int32 ptrstride) + public static extern void IndexPointerList(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer, Int32 ptrstride) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glIndexPointerListIBM((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glIndexPointerListIBM")] - public static - void IndexPointerList(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer, Int32 ptrstride) + public static extern void IndexPointerList(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer, Int32 ptrstride) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glIndexPointerListIBM((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_multimode_draw_arrays] [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "", EntryPoint = "glMultiModeDrawArraysIBM")] - public static - void MultiModeDrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType[] mode, Int32[] first, Int32[] count, Int32 primcount, Int32 modestride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.PrimitiveType* mode_ptr = mode) - fixed (Int32* first_ptr = first) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiModeDrawArraysIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode_ptr, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiModeDrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType[] mode, Int32[] first, Int32[] count, Int32 primcount, Int32 modestride); /// [requires: IBM_multimode_draw_arrays] [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "", EntryPoint = "glMultiModeDrawArraysIBM")] - public static - void MultiModeDrawArrays(ref OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 first, ref Int32 count, Int32 primcount, Int32 modestride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.PrimitiveType* mode_ptr = &mode) - fixed (Int32* first_ptr = &first) - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiModeDrawArraysIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode_ptr, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiModeDrawArrays(ref OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 first, ref Int32 count, Int32 primcount, Int32 modestride); /// [requires: IBM_multimode_draw_arrays] [System.CLSCompliant(false)] [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "", EntryPoint = "glMultiModeDrawArraysIBM")] - public static - unsafe void MultiModeDrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType* mode, Int32* first, Int32* count, Int32 primcount, Int32 modestride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiModeDrawArraysIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode, (Int32*)first, (Int32*)count, (Int32)primcount, (Int32)modestride); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiModeDrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType* mode, Int32* first, Int32* count, Int32 primcount, Int32 modestride); /// [requires: IBM_multimode_draw_arrays] [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - void MultiModeDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType[] mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.PrimitiveType* mode_ptr = mode) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiModeDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType[] mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride); /// [requires: IBM_multimode_draw_arrays] [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - void MultiModeDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType[] mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount, Int32 modestride) + public static extern void MultiModeDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType[] mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount, Int32 modestride) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.PrimitiveType* mode_ptr = mode) - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_multimode_draw_arrays] [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - void MultiModeDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType[] mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount, Int32 modestride) + public static extern void MultiModeDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType[] mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount, Int32 modestride) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.PrimitiveType* mode_ptr = mode) - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_multimode_draw_arrays] [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - void MultiModeDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType[] mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount, Int32 modestride) + public static extern void MultiModeDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType[] mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount, Int32 modestride) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.PrimitiveType* mode_ptr = mode) - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_multimode_draw_arrays] [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - void MultiModeDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType[] mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount, Int32 modestride) + public static extern void MultiModeDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType[] mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount, Int32 modestride) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.PrimitiveType* mode_ptr = mode) - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_multimode_draw_arrays] [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - void MultiModeDrawElements(ref OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.PrimitiveType* mode_ptr = &mode) - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiModeDrawElements(ref OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride); /// [requires: IBM_multimode_draw_arrays] [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - void MultiModeDrawElements(ref OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount, Int32 modestride) + public static extern void MultiModeDrawElements(ref OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount, Int32 modestride) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.PrimitiveType* mode_ptr = &mode) - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_multimode_draw_arrays] [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - void MultiModeDrawElements(ref OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount, Int32 modestride) + public static extern void MultiModeDrawElements(ref OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount, Int32 modestride) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.PrimitiveType* mode_ptr = &mode) - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_multimode_draw_arrays] [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - void MultiModeDrawElements(ref OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount, Int32 modestride) + public static extern void MultiModeDrawElements(ref OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount, Int32 modestride) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.PrimitiveType* mode_ptr = &mode) - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_multimode_draw_arrays] [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - void MultiModeDrawElements(ref OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount, Int32 modestride) + public static extern void MultiModeDrawElements(ref OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount, Int32 modestride) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.PrimitiveType* mode_ptr = &mode) - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_multimode_draw_arrays] [System.CLSCompliant(false)] [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - unsafe void MultiModeDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType* mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiModeDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType* mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride); /// [requires: IBM_multimode_draw_arrays] [System.CLSCompliant(false)] [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - unsafe void MultiModeDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType* mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount, Int32 modestride) + public static extern unsafe void MultiModeDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType* mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount, Int32 modestride) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_multimode_draw_arrays] [System.CLSCompliant(false)] [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - unsafe void MultiModeDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType* mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount, Int32 modestride) + public static extern unsafe void MultiModeDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType* mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount, Int32 modestride) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_multimode_draw_arrays] [System.CLSCompliant(false)] [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - unsafe void MultiModeDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType* mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount, Int32 modestride) + public static extern unsafe void MultiModeDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType* mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount, Int32 modestride) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_multimode_draw_arrays] [System.CLSCompliant(false)] [AutoGenerated(Category = "IBM_multimode_draw_arrays", Version = "", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - unsafe void MultiModeDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType* mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount, Int32 modestride) + public static extern unsafe void MultiModeDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType* mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount, Int32 modestride) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glNormalPointerListIBM")] - public static - void NormalPointerList(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalPointerListIBM((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); - #if DEBUG - } - #endif - } + public static extern void NormalPointerList(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glNormalPointerListIBM")] - public static - void NormalPointerList(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer, Int32 ptrstride) + public static extern void NormalPointerList(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer, Int32 ptrstride) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointerListIBM((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glNormalPointerListIBM")] - public static - void NormalPointerList(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer, Int32 ptrstride) + public static extern void NormalPointerList(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer, Int32 ptrstride) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointerListIBM((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glNormalPointerListIBM")] - public static - void NormalPointerList(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer, Int32 ptrstride) + public static extern void NormalPointerList(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer, Int32 ptrstride) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointerListIBM((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glNormalPointerListIBM")] - public static - void NormalPointerList(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer, Int32 ptrstride) + public static extern void NormalPointerList(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer, Int32 ptrstride) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointerListIBM((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glSecondaryColorPointerListIBM")] - public static - void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, IntPtr pointer, Int32 ptrstride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColorPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); - #if DEBUG - } - #endif - } + public static extern void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, IntPtr pointer, Int32 ptrstride); /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glSecondaryColorPointerListIBM")] - public static - void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer, Int32 ptrstride) + public static extern void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer, Int32 ptrstride) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glSecondaryColorPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glSecondaryColorPointerListIBM")] - public static - void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer, Int32 ptrstride) + public static extern void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer, Int32 ptrstride) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glSecondaryColorPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glSecondaryColorPointerListIBM")] - public static - void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer, Int32 ptrstride) + public static extern void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer, Int32 ptrstride) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glSecondaryColorPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glSecondaryColorPointerListIBM")] - public static - void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer, Int32 ptrstride) + public static extern void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer, Int32 ptrstride) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glSecondaryColorPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glTexCoordPointerListIBM")] - public static - void TexCoordPointerList(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); - #if DEBUG - } - #endif - } + public static extern void TexCoordPointerList(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glTexCoordPointerListIBM")] - public static - void TexCoordPointerList(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer, Int32 ptrstride) + public static extern void TexCoordPointerList(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer, Int32 ptrstride) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glTexCoordPointerListIBM")] - public static - void TexCoordPointerList(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer, Int32 ptrstride) + public static extern void TexCoordPointerList(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer, Int32 ptrstride) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glTexCoordPointerListIBM")] - public static - void TexCoordPointerList(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer, Int32 ptrstride) + public static extern void TexCoordPointerList(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer, Int32 ptrstride) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glTexCoordPointerListIBM")] - public static - void TexCoordPointerList(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer, Int32 ptrstride) + public static extern void TexCoordPointerList(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer, Int32 ptrstride) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glVertexPointerListIBM")] - public static - void VertexPointerList(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); - #if DEBUG - } - #endif - } + public static extern void VertexPointerList(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glVertexPointerListIBM")] - public static - void VertexPointerList(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer, Int32 ptrstride) + public static extern void VertexPointerList(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer, Int32 ptrstride) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glVertexPointerListIBM")] - public static - void VertexPointerList(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer, Int32 ptrstride) + public static extern void VertexPointerList(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer, Int32 ptrstride) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glVertexPointerListIBM")] - public static - void VertexPointerList(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer, Int32 ptrstride) + public static extern void VertexPointerList(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer, Int32 ptrstride) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glVertexPointerListIBM")] - public static - void VertexPointerList(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer, Int32 ptrstride) + public static extern void VertexPointerList(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer, Int32 ptrstride) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - pointer = (T3)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; } @@ -198957,18 +107993,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use IngrBlendFuncSeparate overload instead")] [AutoGenerated(Category = "INGR_blend_func_separate", Version = "", EntryPoint = "glBlendFuncSeparateINGR")] - public static - void BlendFuncSeparate(OpenTK.Graphics.OpenGL.All sfactorRGB, OpenTK.Graphics.OpenGL.All dfactorRGB, OpenTK.Graphics.OpenGL.All sfactorAlpha, OpenTK.Graphics.OpenGL.All dfactorAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFuncSeparateINGR((OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate)sfactorRGB, (OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate)dfactorRGB, (OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate)sfactorAlpha, (OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate)dfactorAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendFuncSeparate(OpenTK.Graphics.OpenGL.All sfactorRGB, OpenTK.Graphics.OpenGL.All dfactorRGB, OpenTK.Graphics.OpenGL.All sfactorAlpha, OpenTK.Graphics.OpenGL.All dfactorAlpha); /// [requires: INGR_blend_func_separate] /// Specify pixel arithmetic for RGB and alpha components separately @@ -198999,18 +108024,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INGR_blend_func_separate", Version = "", EntryPoint = "glBlendFuncSeparateINGR")] - public static - void BlendFuncSeparate(OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate sfactorRGB, OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate dfactorRGB, OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate sfactorAlpha, OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate dfactorAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFuncSeparateINGR((OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate)sfactorRGB, (OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate)dfactorRGB, (OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate)sfactorAlpha, (OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate)dfactorAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendFuncSeparate(OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate sfactorRGB, OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate dfactorRGB, OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate sfactorAlpha, OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate dfactorAlpha); } @@ -199040,18 +108054,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glColorPointervINTEL")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer); /// [requires: INTEL_parallel_arrays] /// Define an array of colors @@ -199077,27 +108080,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glColorPointervINTEL")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] T2[] pointer) + public static extern void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] T2[] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: INTEL_parallel_arrays] /// Define an array of colors @@ -199123,27 +108108,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glColorPointervINTEL")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] T2[,] pointer) + public static extern void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] T2[,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: INTEL_parallel_arrays] /// Define an array of colors @@ -199169,27 +108136,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glColorPointervINTEL")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] T2[,,] pointer) + public static extern void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] T2[,,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: INTEL_parallel_arrays] /// Define an array of colors @@ -199215,111 +108164,28 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glColorPointervINTEL")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] ref T2 pointer) + public static extern void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] ref T2 pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: INTEL_map_texture] [AutoGenerated(Category = "INTEL_map_texture", Version = "", EntryPoint = "glMapTexture2DINTEL")] - public static - IntPtr MapTexture2D(Int32 texture, Int32 level, Int32 access, [OutAttribute] out Int32 stride, [OutAttribute] out OpenTK.Graphics.OpenGL.IntelMapTexture layout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* stride_ptr = &stride) - fixed (OpenTK.Graphics.OpenGL.IntelMapTexture* layout_ptr = &layout) - { - IntPtr retval = Delegates.glMapTexture2DINTEL((UInt32)texture, (Int32)level, (UInt32)access, (Int32*)stride_ptr, (OpenTK.Graphics.OpenGL.IntelMapTexture*)layout_ptr); - stride = *stride_ptr; - layout = *layout_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern IntPtr MapTexture2D(Int32 texture, Int32 level, Int32 access, [OutAttribute] out Int32 stride, [OutAttribute] out OpenTK.Graphics.OpenGL.IntelMapTexture layout); /// [requires: INTEL_map_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "INTEL_map_texture", Version = "", EntryPoint = "glMapTexture2DINTEL")] - public static - unsafe IntPtr MapTexture2D(Int32 texture, Int32 level, Int32 access, [OutAttribute] Int32* stride, [OutAttribute] OpenTK.Graphics.OpenGL.IntelMapTexture* layout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glMapTexture2DINTEL((UInt32)texture, (Int32)level, (UInt32)access, (Int32*)stride, (OpenTK.Graphics.OpenGL.IntelMapTexture*)layout); - #if DEBUG - } - #endif - } + public static extern unsafe IntPtr MapTexture2D(Int32 texture, Int32 level, Int32 access, [OutAttribute] Int32* stride, [OutAttribute] OpenTK.Graphics.OpenGL.IntelMapTexture* layout); /// [requires: INTEL_map_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "INTEL_map_texture", Version = "", EntryPoint = "glMapTexture2DINTEL")] - public static - IntPtr MapTexture2D(UInt32 texture, Int32 level, UInt32 access, [OutAttribute] out Int32 stride, [OutAttribute] out OpenTK.Graphics.OpenGL.IntelMapTexture layout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* stride_ptr = &stride) - fixed (OpenTK.Graphics.OpenGL.IntelMapTexture* layout_ptr = &layout) - { - IntPtr retval = Delegates.glMapTexture2DINTEL((UInt32)texture, (Int32)level, (UInt32)access, (Int32*)stride_ptr, (OpenTK.Graphics.OpenGL.IntelMapTexture*)layout_ptr); - stride = *stride_ptr; - layout = *layout_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern IntPtr MapTexture2D(UInt32 texture, Int32 level, UInt32 access, [OutAttribute] out Int32 stride, [OutAttribute] out OpenTK.Graphics.OpenGL.IntelMapTexture layout); /// [requires: INTEL_map_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "INTEL_map_texture", Version = "", EntryPoint = "glMapTexture2DINTEL")] - public static - unsafe IntPtr MapTexture2D(UInt32 texture, Int32 level, UInt32 access, [OutAttribute] Int32* stride, [OutAttribute] OpenTK.Graphics.OpenGL.IntelMapTexture* layout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glMapTexture2DINTEL((UInt32)texture, (Int32)level, (UInt32)access, (Int32*)stride, (OpenTK.Graphics.OpenGL.IntelMapTexture*)layout); - #if DEBUG - } - #endif - } + public static extern unsafe IntPtr MapTexture2D(UInt32 texture, Int32 level, UInt32 access, [OutAttribute] Int32* stride, [OutAttribute] OpenTK.Graphics.OpenGL.IntelMapTexture* layout); /// [requires: INTEL_parallel_arrays] /// Define an array of normals @@ -199340,18 +108206,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glNormalPointervINTEL")] - public static - void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalPointervINTEL((OpenTK.Graphics.OpenGL.NormalPointerType)type, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, IntPtr pointer); /// [requires: INTEL_parallel_arrays] /// Define an array of normals @@ -199372,27 +108227,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glNormalPointervINTEL")] - public static - void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, [InAttribute, OutAttribute] T1[] pointer) + public static extern void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, [InAttribute, OutAttribute] T1[] pointer) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointervINTEL((OpenTK.Graphics.OpenGL.NormalPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: INTEL_parallel_arrays] /// Define an array of normals @@ -199413,27 +108250,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glNormalPointervINTEL")] - public static - void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, [InAttribute, OutAttribute] T1[,] pointer) + public static extern void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, [InAttribute, OutAttribute] T1[,] pointer) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointervINTEL((OpenTK.Graphics.OpenGL.NormalPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: INTEL_parallel_arrays] /// Define an array of normals @@ -199454,27 +108273,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glNormalPointervINTEL")] - public static - void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, [InAttribute, OutAttribute] T1[,,] pointer) + public static extern void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, [InAttribute, OutAttribute] T1[,,] pointer) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointervINTEL((OpenTK.Graphics.OpenGL.NormalPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: INTEL_parallel_arrays] /// Define an array of normals @@ -199495,59 +108296,18 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glNormalPointervINTEL")] - public static - void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, [InAttribute, OutAttribute] ref T1 pointer) + public static extern void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, [InAttribute, OutAttribute] ref T1 pointer) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointervINTEL((OpenTK.Graphics.OpenGL.NormalPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T1)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: INTEL_map_texture] [AutoGenerated(Category = "INTEL_map_texture", Version = "", EntryPoint = "glSyncTextureINTEL")] - public static - void SyncTexture(Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSyncTextureINTEL((UInt32)texture); - #if DEBUG - } - #endif - } + public static extern void SyncTexture(Int32 texture); /// [requires: INTEL_map_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "INTEL_map_texture", Version = "", EntryPoint = "glSyncTextureINTEL")] - public static - void SyncTexture(UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSyncTextureINTEL((UInt32)texture); - #if DEBUG - } - #endif - } + public static extern void SyncTexture(UInt32 texture); /// [requires: INTEL_parallel_arrays] /// Define an array of texture coordinates @@ -199573,18 +108333,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glTexCoordPointervINTEL")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer); /// [requires: INTEL_parallel_arrays] /// Define an array of texture coordinates @@ -199610,27 +108359,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glTexCoordPointervINTEL")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] T2[] pointer) + public static extern void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] T2[] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: INTEL_parallel_arrays] /// Define an array of texture coordinates @@ -199656,27 +108387,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glTexCoordPointervINTEL")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] T2[,] pointer) + public static extern void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] T2[,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: INTEL_parallel_arrays] /// Define an array of texture coordinates @@ -199702,27 +108415,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glTexCoordPointervINTEL")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] T2[,,] pointer) + public static extern void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] T2[,,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: INTEL_parallel_arrays] /// Define an array of texture coordinates @@ -199748,59 +108443,18 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glTexCoordPointervINTEL")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] ref T2 pointer) + public static extern void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] ref T2 pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: INTEL_map_texture] [AutoGenerated(Category = "INTEL_map_texture", Version = "", EntryPoint = "glUnmapTexture2DINTEL")] - public static - void UnmapTexture2D(Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUnmapTexture2DINTEL((UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void UnmapTexture2D(Int32 texture, Int32 level); /// [requires: INTEL_map_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "INTEL_map_texture", Version = "", EntryPoint = "glUnmapTexture2DINTEL")] - public static - void UnmapTexture2D(UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUnmapTexture2DINTEL((UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void UnmapTexture2D(UInt32 texture, Int32 level); /// [requires: INTEL_parallel_arrays] /// Define an array of vertex data @@ -199826,18 +108480,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glVertexPointervINTEL")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer); /// [requires: INTEL_parallel_arrays] /// Define an array of vertex data @@ -199863,27 +108506,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glVertexPointervINTEL")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] T2[] pointer) + public static extern void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] T2[] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: INTEL_parallel_arrays] /// Define an array of vertex data @@ -199909,27 +108534,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glVertexPointervINTEL")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] T2[,] pointer) + public static extern void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] T2[,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: INTEL_parallel_arrays] /// Define an array of vertex data @@ -199955,27 +108562,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glVertexPointervINTEL")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] T2[,,] pointer) + public static extern void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] T2[,,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: INTEL_parallel_arrays] /// Define an array of vertex data @@ -200001,28 +108590,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "INTEL_parallel_arrays", Version = "", EntryPoint = "glVertexPointervINTEL")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] ref T2 pointer) + public static extern void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, [InAttribute, OutAttribute] ref T2 pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; } @@ -200042,18 +108612,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static - void DebugMessageCallback(DebugProcKhr callback, IntPtr userParam) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageCallbackKHR((DebugProcKhr)callback, (IntPtr)userParam); - #if DEBUG - } - #endif - } + public static extern void DebugMessageCallback(DebugProcKhr callback, IntPtr userParam); /// [requires: KHR_debug] /// Specify a callback to receive debugging messages from the GL @@ -200069,27 +108628,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static - void DebugMessageCallback(DebugProcKhr callback, [InAttribute, OutAttribute] T1[] userParam) + public static extern void DebugMessageCallback(DebugProcKhr callback, [InAttribute, OutAttribute] T1[] userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallbackKHR((DebugProcKhr)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Specify a callback to receive debugging messages from the GL @@ -200105,27 +108646,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static - void DebugMessageCallback(DebugProcKhr callback, [InAttribute, OutAttribute] T1[,] userParam) + public static extern void DebugMessageCallback(DebugProcKhr callback, [InAttribute, OutAttribute] T1[,] userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallbackKHR((DebugProcKhr)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Specify a callback to receive debugging messages from the GL @@ -200141,27 +108664,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static - void DebugMessageCallback(DebugProcKhr callback, [InAttribute, OutAttribute] T1[,,] userParam) + public static extern void DebugMessageCallback(DebugProcKhr callback, [InAttribute, OutAttribute] T1[,,] userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallbackKHR((DebugProcKhr)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Specify a callback to receive debugging messages from the GL @@ -200177,28 +108682,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static - void DebugMessageCallback(DebugProcKhr callback, [InAttribute, OutAttribute] ref T1 userParam) + public static extern void DebugMessageCallback(DebugProcKhr callback, [InAttribute, OutAttribute] ref T1 userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallbackKHR((DebugProcKhr)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - userParam = (T1)userParam_ptr.Target; - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -200234,24 +108720,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - void DebugMessageControl(OpenTK.Graphics.OpenGL.KhrDebug source, OpenTK.Graphics.OpenGL.KhrDebug type, OpenTK.Graphics.OpenGL.KhrDebug severity, Int32 count, Int32[] ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.OpenGL.KhrDebug)source, (OpenTK.Graphics.OpenGL.KhrDebug)type, (OpenTK.Graphics.OpenGL.KhrDebug)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.OpenGL.KhrDebug source, OpenTK.Graphics.OpenGL.KhrDebug type, OpenTK.Graphics.OpenGL.KhrDebug severity, Int32 count, Int32[] ids, bool enabled); /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -200287,24 +108756,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - void DebugMessageControl(OpenTK.Graphics.OpenGL.KhrDebug source, OpenTK.Graphics.OpenGL.KhrDebug type, OpenTK.Graphics.OpenGL.KhrDebug severity, Int32 count, ref Int32 ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.OpenGL.KhrDebug)source, (OpenTK.Graphics.OpenGL.KhrDebug)type, (OpenTK.Graphics.OpenGL.KhrDebug)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.OpenGL.KhrDebug source, OpenTK.Graphics.OpenGL.KhrDebug type, OpenTK.Graphics.OpenGL.KhrDebug severity, Int32 count, ref Int32 ids, bool enabled); /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -200341,18 +108793,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - unsafe void DebugMessageControl(OpenTK.Graphics.OpenGL.KhrDebug source, OpenTK.Graphics.OpenGL.KhrDebug type, OpenTK.Graphics.OpenGL.KhrDebug severity, Int32 count, Int32* ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.OpenGL.KhrDebug)source, (OpenTK.Graphics.OpenGL.KhrDebug)type, (OpenTK.Graphics.OpenGL.KhrDebug)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - #if DEBUG - } - #endif - } + public static extern unsafe void DebugMessageControl(OpenTK.Graphics.OpenGL.KhrDebug source, OpenTK.Graphics.OpenGL.KhrDebug type, OpenTK.Graphics.OpenGL.KhrDebug severity, Int32 count, Int32* ids, bool enabled); /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -200389,24 +108830,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - void DebugMessageControl(OpenTK.Graphics.OpenGL.KhrDebug source, OpenTK.Graphics.OpenGL.KhrDebug type, OpenTK.Graphics.OpenGL.KhrDebug severity, Int32 count, UInt32[] ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.OpenGL.KhrDebug)source, (OpenTK.Graphics.OpenGL.KhrDebug)type, (OpenTK.Graphics.OpenGL.KhrDebug)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.OpenGL.KhrDebug source, OpenTK.Graphics.OpenGL.KhrDebug type, OpenTK.Graphics.OpenGL.KhrDebug severity, Int32 count, UInt32[] ids, bool enabled); /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -200443,24 +108867,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - void DebugMessageControl(OpenTK.Graphics.OpenGL.KhrDebug source, OpenTK.Graphics.OpenGL.KhrDebug type, OpenTK.Graphics.OpenGL.KhrDebug severity, Int32 count, ref UInt32 ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.OpenGL.KhrDebug)source, (OpenTK.Graphics.OpenGL.KhrDebug)type, (OpenTK.Graphics.OpenGL.KhrDebug)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.OpenGL.KhrDebug source, OpenTK.Graphics.OpenGL.KhrDebug type, OpenTK.Graphics.OpenGL.KhrDebug severity, Int32 count, ref UInt32 ids, bool enabled); /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -200497,18 +108904,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - unsafe void DebugMessageControl(OpenTK.Graphics.OpenGL.KhrDebug source, OpenTK.Graphics.OpenGL.KhrDebug type, OpenTK.Graphics.OpenGL.KhrDebug severity, Int32 count, UInt32* ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.OpenGL.KhrDebug)source, (OpenTK.Graphics.OpenGL.KhrDebug)type, (OpenTK.Graphics.OpenGL.KhrDebug)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - #if DEBUG - } - #endif - } + public static extern unsafe void DebugMessageControl(OpenTK.Graphics.OpenGL.KhrDebug source, OpenTK.Graphics.OpenGL.KhrDebug type, OpenTK.Graphics.OpenGL.KhrDebug severity, Int32 count, UInt32* ids, bool enabled); /// [requires: KHR_debug] /// Inject an application-supplied message into the debug message queue @@ -200544,18 +108940,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsertKHR")] - public static - void DebugMessageInsert(OpenTK.Graphics.OpenGL.KhrDebug source, OpenTK.Graphics.OpenGL.KhrDebug type, Int32 id, OpenTK.Graphics.OpenGL.KhrDebug severity, Int32 length, String buf) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageInsertKHR((OpenTK.Graphics.OpenGL.KhrDebug)source, (OpenTK.Graphics.OpenGL.KhrDebug)type, (UInt32)id, (OpenTK.Graphics.OpenGL.KhrDebug)severity, (Int32)length, (String)buf); - #if DEBUG - } - #endif - } + public static extern void DebugMessageInsert(OpenTK.Graphics.OpenGL.KhrDebug source, OpenTK.Graphics.OpenGL.KhrDebug type, Int32 id, OpenTK.Graphics.OpenGL.KhrDebug severity, Int32 length, String buf); /// [requires: KHR_debug] /// Inject an application-supplied message into the debug message queue @@ -200592,18 +108977,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsertKHR")] - public static - void DebugMessageInsert(OpenTK.Graphics.OpenGL.KhrDebug source, OpenTK.Graphics.OpenGL.KhrDebug type, UInt32 id, OpenTK.Graphics.OpenGL.KhrDebug severity, Int32 length, String buf) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageInsertKHR((OpenTK.Graphics.OpenGL.KhrDebug)source, (OpenTK.Graphics.OpenGL.KhrDebug)type, (UInt32)id, (OpenTK.Graphics.OpenGL.KhrDebug)severity, (Int32)length, (String)buf); - #if DEBUG - } - #endif - } + public static extern void DebugMessageInsert(OpenTK.Graphics.OpenGL.KhrDebug source, OpenTK.Graphics.OpenGL.KhrDebug type, UInt32 id, OpenTK.Graphics.OpenGL.KhrDebug severity, Int32 length, String buf); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -200649,28 +109023,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug[] sources, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.KhrDebug* sources_ptr = sources) - fixed (OpenTK.Graphics.OpenGL.KhrDebug* types_ptr = types) - fixed (Int32* ids_ptr = ids) - fixed (OpenTK.Graphics.OpenGL.KhrDebug* severities_ptr = severities) - fixed (Int32* lengths_ptr = lengths) - { - return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.KhrDebug*)sources_ptr, (OpenTK.Graphics.OpenGL.KhrDebug*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL.KhrDebug*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug[] sources, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -200716,34 +109069,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL.KhrDebug sources, [OutAttribute] out OpenTK.Graphics.OpenGL.KhrDebug types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL.KhrDebug severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.KhrDebug* sources_ptr = &sources) - fixed (OpenTK.Graphics.OpenGL.KhrDebug* types_ptr = &types) - fixed (Int32* ids_ptr = &ids) - fixed (OpenTK.Graphics.OpenGL.KhrDebug* severities_ptr = &severities) - fixed (Int32* lengths_ptr = &lengths) - { - Int32 retval = Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.KhrDebug*)sources_ptr, (OpenTK.Graphics.OpenGL.KhrDebug*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL.KhrDebug*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL.KhrDebug sources, [OutAttribute] out OpenTK.Graphics.OpenGL.KhrDebug types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL.KhrDebug severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -200790,18 +109116,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug* sources, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.KhrDebug*)sources, (OpenTK.Graphics.OpenGL.KhrDebug*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL.KhrDebug*)severities, (Int32*)lengths, (StringBuilder)messageLog); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug* sources, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -200848,28 +109163,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug[] sources, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.KhrDebug* sources_ptr = sources) - fixed (OpenTK.Graphics.OpenGL.KhrDebug* types_ptr = types) - fixed (UInt32* ids_ptr = ids) - fixed (OpenTK.Graphics.OpenGL.KhrDebug* severities_ptr = severities) - fixed (Int32* lengths_ptr = lengths) - { - return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.KhrDebug*)sources_ptr, (OpenTK.Graphics.OpenGL.KhrDebug*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL.KhrDebug*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug[] sources, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -200916,34 +109210,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL.KhrDebug sources, [OutAttribute] out OpenTK.Graphics.OpenGL.KhrDebug types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL.KhrDebug severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.KhrDebug* sources_ptr = &sources) - fixed (OpenTK.Graphics.OpenGL.KhrDebug* types_ptr = &types) - fixed (UInt32* ids_ptr = &ids) - fixed (OpenTK.Graphics.OpenGL.KhrDebug* severities_ptr = &severities) - fixed (Int32* lengths_ptr = &lengths) - { - Int32 retval = Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.KhrDebug*)sources_ptr, (OpenTK.Graphics.OpenGL.KhrDebug*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL.KhrDebug*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL.KhrDebug sources, [OutAttribute] out OpenTK.Graphics.OpenGL.KhrDebug types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL.KhrDebug severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -200990,18 +109257,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug* sources, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.KhrDebug*)sources, (OpenTK.Graphics.OpenGL.KhrDebug*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL.KhrDebug*)severities, (Int32*)lengths, (StringBuilder)messageLog); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug* sources, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -201032,24 +109288,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - void GetObjectLabel(OpenTK.Graphics.OpenGL.KhrDebug identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.OpenGL.KhrDebug)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.OpenGL.KhrDebug identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -201080,25 +109319,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - void GetObjectLabel(OpenTK.Graphics.OpenGL.KhrDebug identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.OpenGL.KhrDebug)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.OpenGL.KhrDebug identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -201130,18 +109351,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - unsafe void GetObjectLabel(OpenTK.Graphics.OpenGL.KhrDebug identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.OpenGL.KhrDebug)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectLabel(OpenTK.Graphics.OpenGL.KhrDebug identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -201173,24 +109383,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - void GetObjectLabel(OpenTK.Graphics.OpenGL.KhrDebug identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.OpenGL.KhrDebug)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.OpenGL.KhrDebug identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -201222,25 +109415,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - void GetObjectLabel(OpenTK.Graphics.OpenGL.KhrDebug identifier, UInt32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.OpenGL.KhrDebug)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.OpenGL.KhrDebug identifier, UInt32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -201272,18 +109447,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - unsafe void GetObjectLabel(OpenTK.Graphics.OpenGL.KhrDebug identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.OpenGL.KhrDebug)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectLabel(OpenTK.Graphics.OpenGL.KhrDebug identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -201309,24 +109473,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -201352,25 +109499,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -201397,18 +109526,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -201434,33 +109552,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -201486,34 +109580,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -201540,27 +109609,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + public static extern unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -201586,33 +109637,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -201638,34 +109665,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -201692,27 +109694,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + public static extern unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -201738,33 +109722,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -201790,34 +109750,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -201844,27 +109779,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + public static extern unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -201890,34 +109807,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - ptr = (T0)ptr_ptr.Target; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -201943,35 +109835,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - ptr = (T0)ptr_ptr.Target; - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -201998,140 +109864,37 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + public static extern unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label); - ptr = (T0)ptr_ptr.Target; - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static - void GetPointer(OpenTK.Graphics.OpenGL.KhrDebug pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPointervKHR((OpenTK.Graphics.OpenGL.KhrDebug)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } + public static extern void GetPointer(OpenTK.Graphics.OpenGL.KhrDebug pname, [OutAttribute] IntPtr @params); /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static - void GetPointer(OpenTK.Graphics.OpenGL.KhrDebug pname, [InAttribute, OutAttribute] T1[] @params) + public static extern void GetPointer(OpenTK.Graphics.OpenGL.KhrDebug pname, [InAttribute, OutAttribute] T1[] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointervKHR((OpenTK.Graphics.OpenGL.KhrDebug)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static - void GetPointer(OpenTK.Graphics.OpenGL.KhrDebug pname, [InAttribute, OutAttribute] T1[,] @params) + public static extern void GetPointer(OpenTK.Graphics.OpenGL.KhrDebug pname, [InAttribute, OutAttribute] T1[,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointervKHR((OpenTK.Graphics.OpenGL.KhrDebug)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static - void GetPointer(OpenTK.Graphics.OpenGL.KhrDebug pname, [InAttribute, OutAttribute] T1[,,] @params) + public static extern void GetPointer(OpenTK.Graphics.OpenGL.KhrDebug pname, [InAttribute, OutAttribute] T1[,,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointervKHR((OpenTK.Graphics.OpenGL.KhrDebug)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static - void GetPointer(OpenTK.Graphics.OpenGL.KhrDebug pname, [InAttribute, OutAttribute] ref T1 @params) + public static extern void GetPointer(OpenTK.Graphics.OpenGL.KhrDebug pname, [InAttribute, OutAttribute] ref T1 @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointervKHR((OpenTK.Graphics.OpenGL.KhrDebug)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - @params = (T1)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Label a named object identified within a namespace @@ -202157,18 +109920,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabelKHR")] - public static - void ObjectLabel(OpenTK.Graphics.OpenGL.KhrDebug identifier, Int32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glObjectLabelKHR((OpenTK.Graphics.OpenGL.KhrDebug)identifier, (UInt32)name, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void ObjectLabel(OpenTK.Graphics.OpenGL.KhrDebug identifier, Int32 name, Int32 length, String label); /// [requires: KHR_debug] /// Label a named object identified within a namespace @@ -202195,18 +109947,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabelKHR")] - public static - void ObjectLabel(OpenTK.Graphics.OpenGL.KhrDebug identifier, UInt32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glObjectLabelKHR((OpenTK.Graphics.OpenGL.KhrDebug)identifier, (UInt32)name, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void ObjectLabel(OpenTK.Graphics.OpenGL.KhrDebug identifier, UInt32 name, Int32 length, String label); /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -202227,18 +109968,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static - void ObjectPtrLabel(IntPtr ptr, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glObjectPtrLabelKHR((IntPtr)ptr, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void ObjectPtrLabel(IntPtr ptr, Int32 length, String label); /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -202259,27 +109989,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static - void ObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 length, String label) + public static extern void ObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 length, String label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -202300,27 +110012,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static - void ObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 length, String label) + public static extern void ObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 length, String label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -202341,27 +110035,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static - void ObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 length, String label) + public static extern void ObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 length, String label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -202382,45 +110058,15 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static - void ObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 length, String label) + public static extern void ObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 length, String label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label); - ptr = (T0)ptr_ptr.Target; - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Pop the active debug group /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPopDebugGroupKHR")] - public static - void PopDebugGroup() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPopDebugGroupKHR(); - #if DEBUG - } - #endif - } + public static extern void PopDebugGroup(); /// [requires: KHR_debug] /// Push a named debug group into the command stream @@ -202446,18 +110092,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPushDebugGroupKHR")] - public static - void PushDebugGroup(OpenTK.Graphics.OpenGL.KhrDebug source, Int32 id, Int32 length, String message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPushDebugGroupKHR((OpenTK.Graphics.OpenGL.KhrDebug)source, (UInt32)id, (Int32)length, (String)message); - #if DEBUG - } - #endif - } + public static extern void PushDebugGroup(OpenTK.Graphics.OpenGL.KhrDebug source, Int32 id, Int32 length, String message); /// [requires: KHR_debug] /// Push a named debug group into the command stream @@ -202484,18 +110119,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPushDebugGroupKHR")] - public static - void PushDebugGroup(OpenTK.Graphics.OpenGL.KhrDebug source, UInt32 id, Int32 length, String message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPushDebugGroupKHR((OpenTK.Graphics.OpenGL.KhrDebug)source, (UInt32)id, (Int32)length, (String)message); - #if DEBUG - } - #endif - } + public static extern void PushDebugGroup(OpenTK.Graphics.OpenGL.KhrDebug source, UInt32 id, Int32 length, String message); } @@ -202503,18 +110127,7 @@ namespace OpenTK.Graphics.OpenGL { /// [requires: MESA_resize_buffers] [AutoGenerated(Category = "MESA_resize_buffers", Version = "", EntryPoint = "glResizeBuffersMESA")] - public static - void ResizeBuffers() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glResizeBuffersMESA(); - #if DEBUG - } - #endif - } + public static extern void ResizeBuffers(); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202525,18 +110138,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos2dMESA")] - public static - void WindowPos2(Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2dMESA((Double)x, (Double)y); - #if DEBUG - } - #endif - } + public static extern void WindowPos2(Double x, Double y); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202547,24 +110149,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos2dvMESA")] - public static - void WindowPos2(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glWindowPos2dvMESA((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos2(Double[] v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202575,24 +110160,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos2dvMESA")] - public static - void WindowPos2(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glWindowPos2dvMESA((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos2(ref Double v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202604,18 +110172,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos2dvMESA")] - public static - unsafe void WindowPos2(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2dvMESA((Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void WindowPos2(Double* v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202626,18 +110183,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos2fMESA")] - public static - void WindowPos2(Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2fMESA((Single)x, (Single)y); - #if DEBUG - } - #endif - } + public static extern void WindowPos2(Single x, Single y); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202648,24 +110194,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos2fvMESA")] - public static - void WindowPos2(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glWindowPos2fvMESA((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos2(Single[] v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202676,24 +110205,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos2fvMESA")] - public static - void WindowPos2(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glWindowPos2fvMESA((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos2(ref Single v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202705,18 +110217,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos2fvMESA")] - public static - unsafe void WindowPos2(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2fvMESA((Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void WindowPos2(Single* v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202727,18 +110228,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos2iMESA")] - public static - void WindowPos2(Int32 x, Int32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2iMESA((Int32)x, (Int32)y); - #if DEBUG - } - #endif - } + public static extern void WindowPos2(Int32 x, Int32 y); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202749,24 +110239,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos2ivMESA")] - public static - void WindowPos2(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glWindowPos2ivMESA((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos2(Int32[] v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202777,24 +110250,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos2ivMESA")] - public static - void WindowPos2(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glWindowPos2ivMESA((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos2(ref Int32 v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202806,18 +110262,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos2ivMESA")] - public static - unsafe void WindowPos2(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2ivMESA((Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void WindowPos2(Int32* v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202828,18 +110273,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos2sMESA")] - public static - void WindowPos2(Int16 x, Int16 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2sMESA((Int16)x, (Int16)y); - #if DEBUG - } - #endif - } + public static extern void WindowPos2(Int16 x, Int16 y); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202850,24 +110284,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos2svMESA")] - public static - void WindowPos2(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glWindowPos2svMESA((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos2(Int16[] v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202878,24 +110295,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos2svMESA")] - public static - void WindowPos2(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glWindowPos2svMESA((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos2(ref Int16 v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202907,18 +110307,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos2svMESA")] - public static - unsafe void WindowPos2(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2svMESA((Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void WindowPos2(Int16* v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202929,18 +110318,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos3dMESA")] - public static - void WindowPos3(Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3dMESA((Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } + public static extern void WindowPos3(Double x, Double y, Double z); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202951,24 +110329,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos3dvMESA")] - public static - void WindowPos3(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glWindowPos3dvMESA((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos3(Double[] v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -202979,24 +110340,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos3dvMESA")] - public static - void WindowPos3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glWindowPos3dvMESA((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos3(ref Double v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203008,18 +110352,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos3dvMESA")] - public static - unsafe void WindowPos3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3dvMESA((Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void WindowPos3(Double* v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203030,18 +110363,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos3fMESA")] - public static - void WindowPos3(Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3fMESA((Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void WindowPos3(Single x, Single y, Single z); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203052,24 +110374,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos3fvMESA")] - public static - void WindowPos3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glWindowPos3fvMESA((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos3(Single[] v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203080,24 +110385,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos3fvMESA")] - public static - void WindowPos3(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glWindowPos3fvMESA((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos3(ref Single v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203109,18 +110397,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos3fvMESA")] - public static - unsafe void WindowPos3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3fvMESA((Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void WindowPos3(Single* v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203131,18 +110408,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos3iMESA")] - public static - void WindowPos3(Int32 x, Int32 y, Int32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3iMESA((Int32)x, (Int32)y, (Int32)z); - #if DEBUG - } - #endif - } + public static extern void WindowPos3(Int32 x, Int32 y, Int32 z); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203153,24 +110419,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos3ivMESA")] - public static - void WindowPos3(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glWindowPos3ivMESA((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos3(Int32[] v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203181,24 +110430,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos3ivMESA")] - public static - void WindowPos3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glWindowPos3ivMESA((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos3(ref Int32 v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203210,18 +110442,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos3ivMESA")] - public static - unsafe void WindowPos3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3ivMESA((Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void WindowPos3(Int32* v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203232,18 +110453,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos3sMESA")] - public static - void WindowPos3(Int16 x, Int16 y, Int16 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3sMESA((Int16)x, (Int16)y, (Int16)z); - #if DEBUG - } - #endif - } + public static extern void WindowPos3(Int16 x, Int16 y, Int16 z); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203254,24 +110464,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos3svMESA")] - public static - void WindowPos3(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glWindowPos3svMESA((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos3(Int16[] v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203282,24 +110475,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos3svMESA")] - public static - void WindowPos3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glWindowPos3svMESA((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos3(ref Int16 v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203311,18 +110487,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos3svMESA")] - public static - unsafe void WindowPos3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3svMESA((Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void WindowPos3(Int16* v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203333,18 +110498,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos4dMESA")] - public static - void WindowPos4(Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos4dMESA((Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } + public static extern void WindowPos4(Double x, Double y, Double z, Double w); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203355,24 +110509,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos4dvMESA")] - public static - void WindowPos4(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glWindowPos4dvMESA((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos4(Double[] v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203383,24 +110520,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos4dvMESA")] - public static - void WindowPos4(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glWindowPos4dvMESA((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos4(ref Double v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203412,18 +110532,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos4dvMESA")] - public static - unsafe void WindowPos4(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos4dvMESA((Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void WindowPos4(Double* v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203434,18 +110543,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos4fMESA")] - public static - void WindowPos4(Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos4fMESA((Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } + public static extern void WindowPos4(Single x, Single y, Single z, Single w); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203456,24 +110554,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos4fvMESA")] - public static - void WindowPos4(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glWindowPos4fvMESA((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos4(Single[] v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203484,24 +110565,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos4fvMESA")] - public static - void WindowPos4(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glWindowPos4fvMESA((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos4(ref Single v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203513,18 +110577,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos4fvMESA")] - public static - unsafe void WindowPos4(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos4fvMESA((Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void WindowPos4(Single* v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203535,18 +110588,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos4iMESA")] - public static - void WindowPos4(Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos4iMESA((Int32)x, (Int32)y, (Int32)z, (Int32)w); - #if DEBUG - } - #endif - } + public static extern void WindowPos4(Int32 x, Int32 y, Int32 z, Int32 w); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203557,24 +110599,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos4ivMESA")] - public static - void WindowPos4(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glWindowPos4ivMESA((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos4(Int32[] v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203585,24 +110610,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos4ivMESA")] - public static - void WindowPos4(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glWindowPos4ivMESA((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos4(ref Int32 v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203614,18 +110622,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos4ivMESA")] - public static - unsafe void WindowPos4(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos4ivMESA((Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void WindowPos4(Int32* v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203636,18 +110633,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos4sMESA")] - public static - void WindowPos4(Int16 x, Int16 y, Int16 z, Int16 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos4sMESA((Int16)x, (Int16)y, (Int16)z, (Int16)w); - #if DEBUG - } - #endif - } + public static extern void WindowPos4(Int16 x, Int16 y, Int16 z, Int16 w); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203658,24 +110644,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos4svMESA")] - public static - void WindowPos4(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glWindowPos4svMESA((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos4(Int16[] v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203686,24 +110655,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos4svMESA")] - public static - void WindowPos4(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glWindowPos4svMESA((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WindowPos4(ref Int16 v); /// [requires: MESA_window_pos] /// Specify the raster position in window coordinates for pixel operations @@ -203715,18 +110667,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MESA_window_pos", Version = "", EntryPoint = "glWindowPos4svMESA")] - public static - unsafe void WindowPos4(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos4svMESA((Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void WindowPos4(Int16* v); } @@ -203734,160 +110675,40 @@ namespace OpenTK.Graphics.OpenGL { /// [requires: NV_transform_feedback] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glActiveVaryingNV")] - public static - void ActiveVarying(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glActiveVaryingNV((UInt32)program, (String)name); - #if DEBUG - } - #endif - } + public static extern void ActiveVarying(Int32 program, String name); /// [requires: NV_transform_feedback] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glActiveVaryingNV")] - public static - void ActiveVarying(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glActiveVaryingNV((UInt32)program, (String)name); - #if DEBUG - } - #endif - } + public static extern void ActiveVarying(UInt32 program, String name); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glAreProgramsResidentNV")] - public static - bool AreProgramsResident(Int32 n, Int32[] programs, [OutAttribute] bool[] residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = programs) - fixed (bool* residences_ptr = residences) - { - return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (bool*)residences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern bool AreProgramsResident(Int32 n, Int32[] programs, [OutAttribute] bool[] residences); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glAreProgramsResidentNV")] - public static - bool AreProgramsResident(Int32 n, ref Int32 programs, [OutAttribute] out bool residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = &programs) - fixed (bool* residences_ptr = &residences) - { - bool retval = Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (bool*)residences_ptr); - residences = *residences_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern bool AreProgramsResident(Int32 n, ref Int32 programs, [OutAttribute] out bool residences); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glAreProgramsResidentNV")] - public static - unsafe bool AreProgramsResident(Int32 n, Int32* programs, [OutAttribute] bool* residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs, (bool*)residences); - #if DEBUG - } - #endif - } + public static extern unsafe bool AreProgramsResident(Int32 n, Int32* programs, [OutAttribute] bool* residences); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glAreProgramsResidentNV")] - public static - bool AreProgramsResident(Int32 n, UInt32[] programs, [OutAttribute] bool[] residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = programs) - fixed (bool* residences_ptr = residences) - { - return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (bool*)residences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern bool AreProgramsResident(Int32 n, UInt32[] programs, [OutAttribute] bool[] residences); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glAreProgramsResidentNV")] - public static - bool AreProgramsResident(Int32 n, ref UInt32 programs, [OutAttribute] out bool residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = &programs) - fixed (bool* residences_ptr = &residences) - { - bool retval = Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (bool*)residences_ptr); - residences = *residences_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern bool AreProgramsResident(Int32 n, ref UInt32 programs, [OutAttribute] out bool residences); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glAreProgramsResidentNV")] - public static - unsafe bool AreProgramsResident(Int32 n, UInt32* programs, [OutAttribute] bool* residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs, (bool*)residences); - #if DEBUG - } - #endif - } + public static extern unsafe bool AreProgramsResident(Int32 n, UInt32* programs, [OutAttribute] bool* residences); /// [requires: NV_conditional_render] /// Start conditional rendering @@ -203903,18 +110724,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_conditional_render", Version = "", EntryPoint = "glBeginConditionalRenderNV")] - public static - void BeginConditionalRender(Int32 id, OpenTK.Graphics.OpenGL.NvConditionalRender mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginConditionalRenderNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvConditionalRender)mode); - #if DEBUG - } - #endif - } + public static extern void BeginConditionalRender(Int32 id, OpenTK.Graphics.OpenGL.NvConditionalRender mode); /// [requires: NV_conditional_render] /// Start conditional rendering @@ -203931,49 +110741,16 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_conditional_render", Version = "", EntryPoint = "glBeginConditionalRenderNV")] - public static - void BeginConditionalRender(UInt32 id, OpenTK.Graphics.OpenGL.NvConditionalRender mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginConditionalRenderNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvConditionalRender)mode); - #if DEBUG - } - #endif - } + public static extern void BeginConditionalRender(UInt32 id, OpenTK.Graphics.OpenGL.NvConditionalRender mode); /// [requires: NV_occlusion_query] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glBeginOcclusionQueryNV")] - public static - void BeginOcclusionQuery(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginOcclusionQueryNV((UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BeginOcclusionQuery(Int32 id); /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glBeginOcclusionQueryNV")] - public static - void BeginOcclusionQuery(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginOcclusionQueryNV((UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BeginOcclusionQuery(UInt32 id); /// [requires: NV_transform_feedback] /// Start transform feedback operation @@ -203984,49 +110761,16 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glBeginTransformFeedbackNV")] - public static - void BeginTransformFeedback(OpenTK.Graphics.OpenGL.NvTransformFeedback primitiveMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginTransformFeedbackNV((OpenTK.Graphics.OpenGL.NvTransformFeedback)primitiveMode); - #if DEBUG - } - #endif - } + public static extern void BeginTransformFeedback(OpenTK.Graphics.OpenGL.NvTransformFeedback primitiveMode); /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glBeginVideoCaptureNV")] - public static - void BeginVideoCapture(Int32 video_capture_slot) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginVideoCaptureNV((UInt32)video_capture_slot); - #if DEBUG - } - #endif - } + public static extern void BeginVideoCapture(Int32 video_capture_slot); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glBeginVideoCaptureNV")] - public static - void BeginVideoCapture(UInt32 video_capture_slot) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginVideoCaptureNV((UInt32)video_capture_slot); - #if DEBUG - } - #endif - } + public static extern void BeginVideoCapture(UInt32 video_capture_slot); /// [requires: NV_transform_feedback] /// Bind a buffer object to an indexed buffer target @@ -204047,18 +110791,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glBindBufferBaseNV")] - public static - void BindBufferBase(OpenTK.Graphics.OpenGL.NvTransformFeedback target, Int32 index, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferBaseNV((OpenTK.Graphics.OpenGL.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void BindBufferBase(OpenTK.Graphics.OpenGL.NvTransformFeedback target, Int32 index, Int32 buffer); /// [requires: NV_transform_feedback] /// Bind a buffer object to an indexed buffer target @@ -204080,49 +110813,16 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glBindBufferBaseNV")] - public static - void BindBufferBase(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferBaseNV((OpenTK.Graphics.OpenGL.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void BindBufferBase(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer); /// [requires: NV_transform_feedback] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glBindBufferOffsetNV")] - public static - void BindBufferOffset(OpenTK.Graphics.OpenGL.NvTransformFeedback target, Int32 index, Int32 buffer, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferOffsetNV((OpenTK.Graphics.OpenGL.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset); - #if DEBUG - } - #endif - } + public static extern void BindBufferOffset(OpenTK.Graphics.OpenGL.NvTransformFeedback target, Int32 index, Int32 buffer, IntPtr offset); /// [requires: NV_transform_feedback] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glBindBufferOffsetNV")] - public static - void BindBufferOffset(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferOffsetNV((OpenTK.Graphics.OpenGL.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset); - #if DEBUG - } - #endif - } + public static extern void BindBufferOffset(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset); /// [requires: NV_transform_feedback] /// Bind a range within a buffer object to an indexed buffer target @@ -204153,18 +110853,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glBindBufferRangeNV")] - public static - void BindBufferRange(OpenTK.Graphics.OpenGL.NvTransformFeedback target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferRangeNV((OpenTK.Graphics.OpenGL.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } + public static extern void BindBufferRange(OpenTK.Graphics.OpenGL.NvTransformFeedback target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size); /// [requires: NV_transform_feedback] /// Bind a range within a buffer object to an indexed buffer target @@ -204196,49 +110885,16 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glBindBufferRangeNV")] - public static - void BindBufferRange(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferRangeNV((OpenTK.Graphics.OpenGL.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } + public static extern void BindBufferRange(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glBindProgramNV")] - public static - void BindProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindProgramNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BindProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 id); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glBindProgramNV")] - public static - void BindProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindProgramNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BindProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id); /// [requires: NV_transform_feedback2] /// Bind a transform feedback object @@ -204254,18 +110910,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glBindTransformFeedbackNV")] - public static - void BindTransformFeedback(OpenTK.Graphics.OpenGL.BufferTargetArb target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTransformFeedbackNV((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BindTransformFeedback(OpenTK.Graphics.OpenGL.BufferTargetArb target, Int32 id); /// [requires: NV_transform_feedback2] /// Bind a transform feedback object @@ -204282,18 +110927,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glBindTransformFeedbackNV")] - public static - void BindTransformFeedback(OpenTK.Graphics.OpenGL.BufferTargetArb target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTransformFeedbackNV((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BindTransformFeedback(OpenTK.Graphics.OpenGL.BufferTargetArb target, UInt32 id); /// [requires: NV_transform_feedback2] /// Bind a transform feedback object @@ -204310,18 +110944,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use BufferTargetArb overload instead")] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glBindTransformFeedbackNV")] - public static - void BindTransformFeedback(OpenTK.Graphics.OpenGL.NvTransformFeedback2 target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTransformFeedbackNV((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BindTransformFeedback(OpenTK.Graphics.OpenGL.NvTransformFeedback2 target, Int32 id); /// [requires: NV_transform_feedback2] /// Bind a transform feedback object @@ -204339,141 +110962,42 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use BufferTargetArb overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glBindTransformFeedbackNV")] - public static - void BindTransformFeedback(OpenTK.Graphics.OpenGL.NvTransformFeedback2 target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTransformFeedbackNV((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BindTransformFeedback(OpenTK.Graphics.OpenGL.NvTransformFeedback2 target, UInt32 id); /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glBindVideoCaptureStreamBufferNV")] - public static - void BindVideoCaptureStreamBuffer(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture frame_region, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindVideoCaptureStreamBufferNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)frame_region, (IntPtr)offset); - #if DEBUG - } - #endif - } + public static extern void BindVideoCaptureStreamBuffer(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture frame_region, IntPtr offset); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glBindVideoCaptureStreamBufferNV")] - public static - void BindVideoCaptureStreamBuffer(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture frame_region, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindVideoCaptureStreamBufferNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)frame_region, (IntPtr)offset); - #if DEBUG - } - #endif - } + public static extern void BindVideoCaptureStreamBuffer(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture frame_region, IntPtr offset); /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glBindVideoCaptureStreamTextureNV")] - public static - void BindVideoCaptureStreamTexture(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture frame_region, OpenTK.Graphics.OpenGL.NvVideoCapture target, Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindVideoCaptureStreamTextureNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)frame_region, (OpenTK.Graphics.OpenGL.NvVideoCapture)target, (UInt32)texture); - #if DEBUG - } - #endif - } + public static extern void BindVideoCaptureStreamTexture(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture frame_region, OpenTK.Graphics.OpenGL.NvVideoCapture target, Int32 texture); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glBindVideoCaptureStreamTextureNV")] - public static - void BindVideoCaptureStreamTexture(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture frame_region, OpenTK.Graphics.OpenGL.NvVideoCapture target, UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindVideoCaptureStreamTextureNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)frame_region, (OpenTK.Graphics.OpenGL.NvVideoCapture)target, (UInt32)texture); - #if DEBUG - } - #endif - } + public static extern void BindVideoCaptureStreamTexture(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture frame_region, OpenTK.Graphics.OpenGL.NvVideoCapture target, UInt32 texture); /// [requires: NV_blend_equation_advanced] [AutoGenerated(Category = "NV_blend_equation_advanced", Version = "", EntryPoint = "glBlendBarrierNV")] - public static - void BlendBarrier() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendBarrierNV(); - #if DEBUG - } - #endif - } + public static extern void BlendBarrier(); /// [requires: NV_blend_equation_advanced] [AutoGenerated(Category = "NV_blend_equation_advanced", Version = "", EntryPoint = "glBlendParameteriNV")] - public static - void BlendParameter(OpenTK.Graphics.OpenGL.NvBlendEquationAdvanced pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendParameteriNV((OpenTK.Graphics.OpenGL.NvBlendEquationAdvanced)pname, (Int32)value); - #if DEBUG - } - #endif - } + public static extern void BlendParameter(OpenTK.Graphics.OpenGL.NvBlendEquationAdvanced pname, Int32 value); /// [requires: NV_vertex_buffer_unified_memory] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glBufferAddressRangeNV")] - public static - void BufferAddressRange(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory pname, Int32 index, Int64 address, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBufferAddressRangeNV((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)pname, (UInt32)index, (UInt64)address, (IntPtr)length); - #if DEBUG - } - #endif - } + public static extern void BufferAddressRange(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory pname, Int32 index, Int64 address, IntPtr length); /// [requires: NV_vertex_buffer_unified_memory] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glBufferAddressRangeNV")] - public static - void BufferAddressRange(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory pname, UInt32 index, UInt64 address, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBufferAddressRangeNV((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)pname, (UInt32)index, (UInt64)address, (IntPtr)length); - #if DEBUG - } - #endif - } + public static extern void BufferAddressRange(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory pname, UInt32 index, UInt64 address, IntPtr length); /// [requires: NV_depth_buffer_float] /// Specify the clear value for the depth buffer @@ -204484,371 +111008,92 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_depth_buffer_float", Version = "", EntryPoint = "glClearDepthdNV")] - public static - void ClearDepth(Double depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearDepthdNV((Double)depth); - #if DEBUG - } - #endif - } + public static extern void ClearDepth(Double depth); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glColor3hNV")] - public static - void Color3h(Half red, Half green, Half blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3hNV((Half)red, (Half)green, (Half)blue); - #if DEBUG - } - #endif - } + public static extern void Color3h(Half red, Half green, Half blue); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glColor3hvNV")] - public static - void Color3h(Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - Delegates.glColor3hvNV((Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color3h(Half[] v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glColor3hvNV")] - public static - void Color3h(ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - Delegates.glColor3hvNV((Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color3h(ref Half v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glColor3hvNV")] - public static - unsafe void Color3h(Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3hvNV((Half*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Color3h(Half* v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glColor4hNV")] - public static - void Color4h(Half red, Half green, Half blue, Half alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4hNV((Half)red, (Half)green, (Half)blue, (Half)alpha); - #if DEBUG - } - #endif - } + public static extern void Color4h(Half red, Half green, Half blue, Half alpha); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glColor4hvNV")] - public static - void Color4h(Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - Delegates.glColor4hvNV((Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color4h(Half[] v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glColor4hvNV")] - public static - void Color4h(ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - Delegates.glColor4hvNV((Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color4h(ref Half v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glColor4hvNV")] - public static - unsafe void Color4h(Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4hvNV((Half*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Color4h(Half* v); /// [requires: NV_vertex_buffer_unified_memory] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glColorFormatNV")] - public static - void ColorFormat(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorFormatNV((Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride); - #if DEBUG - } - #endif - } + public static extern void ColorFormat(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glCombinerInputNV")] - public static - void CombinerInput(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners input, OpenTK.Graphics.OpenGL.NvRegisterCombiners mapping, OpenTK.Graphics.OpenGL.NvRegisterCombiners componentUsage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCombinerInputNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)input, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)mapping, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)componentUsage); - #if DEBUG - } - #endif - } + public static extern void CombinerInput(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners input, OpenTK.Graphics.OpenGL.NvRegisterCombiners mapping, OpenTK.Graphics.OpenGL.NvRegisterCombiners componentUsage); /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glCombinerOutputNV")] - public static - void CombinerOutput(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners abOutput, OpenTK.Graphics.OpenGL.NvRegisterCombiners cdOutput, OpenTK.Graphics.OpenGL.NvRegisterCombiners sumOutput, OpenTK.Graphics.OpenGL.NvRegisterCombiners scale, OpenTK.Graphics.OpenGL.NvRegisterCombiners bias, bool abDotProduct, bool cdDotProduct, bool muxSum) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCombinerOutputNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)abOutput, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)cdOutput, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)sumOutput, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)scale, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)bias, (bool)abDotProduct, (bool)cdDotProduct, (bool)muxSum); - #if DEBUG - } - #endif - } + public static extern void CombinerOutput(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners abOutput, OpenTK.Graphics.OpenGL.NvRegisterCombiners cdOutput, OpenTK.Graphics.OpenGL.NvRegisterCombiners sumOutput, OpenTK.Graphics.OpenGL.NvRegisterCombiners scale, OpenTK.Graphics.OpenGL.NvRegisterCombiners bias, bool abDotProduct, bool cdDotProduct, bool muxSum); /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glCombinerParameterfNV")] - public static - void CombinerParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCombinerParameterfNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void CombinerParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Single param); /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glCombinerParameterfvNV")] - public static - void CombinerParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glCombinerParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void CombinerParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Single[] @params); /// [requires: NV_register_combiners] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glCombinerParameterfvNV")] - public static - unsafe void CombinerParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCombinerParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void CombinerParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Single* @params); /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glCombinerParameteriNV")] - public static - void CombinerParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCombinerParameteriNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void CombinerParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Int32 param); /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glCombinerParameterivNV")] - public static - void CombinerParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glCombinerParameterivNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void CombinerParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Int32[] @params); /// [requires: NV_register_combiners] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glCombinerParameterivNV")] - public static - unsafe void CombinerParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCombinerParameterivNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void CombinerParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Int32* @params); /// [requires: NV_register_combiners2] [AutoGenerated(Category = "NV_register_combiners2", Version = "", EntryPoint = "glCombinerStageParameterfvNV")] - public static - void CombinerStageParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glCombinerStageParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners2)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners2)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void CombinerStageParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, Single[] @params); /// [requires: NV_register_combiners2] [AutoGenerated(Category = "NV_register_combiners2", Version = "", EntryPoint = "glCombinerStageParameterfvNV")] - public static - void CombinerStageParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glCombinerStageParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners2)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners2)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void CombinerStageParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, ref Single @params); /// [requires: NV_register_combiners2] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_register_combiners2", Version = "", EntryPoint = "glCombinerStageParameterfvNV")] - public static - unsafe void CombinerStageParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCombinerStageParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners2)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners2)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void CombinerStageParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, Single* @params); /// [requires: NV_copy_image] /// Perform a raw data copy between two images @@ -204924,18 +111169,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_copy_image", Version = "", EntryPoint = "glCopyImageSubDataNV")] - public static - void CopyImageSubData(Int32 srcName, OpenTK.Graphics.OpenGL.NvCopyImage srcTarget, Int32 srcLevel, Int32 srcX, Int32 srcY, Int32 srcZ, Int32 dstName, OpenTK.Graphics.OpenGL.NvCopyImage dstTarget, Int32 dstLevel, Int32 dstX, Int32 dstY, Int32 dstZ, Int32 width, Int32 height, Int32 depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyImageSubDataNV((UInt32)srcName, (OpenTK.Graphics.OpenGL.NvCopyImage)srcTarget, (Int32)srcLevel, (Int32)srcX, (Int32)srcY, (Int32)srcZ, (UInt32)dstName, (OpenTK.Graphics.OpenGL.NvCopyImage)dstTarget, (Int32)dstLevel, (Int32)dstX, (Int32)dstY, (Int32)dstZ, (Int32)width, (Int32)height, (Int32)depth); - #if DEBUG - } - #endif - } + public static extern void CopyImageSubData(Int32 srcName, OpenTK.Graphics.OpenGL.NvCopyImage srcTarget, Int32 srcLevel, Int32 srcX, Int32 srcY, Int32 srcZ, Int32 dstName, OpenTK.Graphics.OpenGL.NvCopyImage dstTarget, Int32 dstLevel, Int32 dstX, Int32 dstY, Int32 dstZ, Int32 width, Int32 height, Int32 depth); /// [requires: NV_copy_image] /// Perform a raw data copy between two images @@ -205012,2084 +111246,493 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_copy_image", Version = "", EntryPoint = "glCopyImageSubDataNV")] - public static - void CopyImageSubData(UInt32 srcName, OpenTK.Graphics.OpenGL.NvCopyImage srcTarget, Int32 srcLevel, Int32 srcX, Int32 srcY, Int32 srcZ, UInt32 dstName, OpenTK.Graphics.OpenGL.NvCopyImage dstTarget, Int32 dstLevel, Int32 dstX, Int32 dstY, Int32 dstZ, Int32 width, Int32 height, Int32 depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyImageSubDataNV((UInt32)srcName, (OpenTK.Graphics.OpenGL.NvCopyImage)srcTarget, (Int32)srcLevel, (Int32)srcX, (Int32)srcY, (Int32)srcZ, (UInt32)dstName, (OpenTK.Graphics.OpenGL.NvCopyImage)dstTarget, (Int32)dstLevel, (Int32)dstX, (Int32)dstY, (Int32)dstZ, (Int32)width, (Int32)height, (Int32)depth); - #if DEBUG - } - #endif - } + public static extern void CopyImageSubData(UInt32 srcName, OpenTK.Graphics.OpenGL.NvCopyImage srcTarget, Int32 srcLevel, Int32 srcX, Int32 srcY, Int32 srcZ, UInt32 dstName, OpenTK.Graphics.OpenGL.NvCopyImage dstTarget, Int32 dstLevel, Int32 dstX, Int32 dstY, Int32 dstZ, Int32 width, Int32 height, Int32 depth); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCopyPathNV")] - public static - void CopyPath(Int32 resultPath, Int32 srcPath) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyPathNV((UInt32)resultPath, (UInt32)srcPath); - #if DEBUG - } - #endif - } + public static extern void CopyPath(Int32 resultPath, Int32 srcPath); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCopyPathNV")] - public static - void CopyPath(UInt32 resultPath, UInt32 srcPath) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyPathNV((UInt32)resultPath, (UInt32)srcPath); - #if DEBUG - } - #endif - } + public static extern void CopyPath(UInt32 resultPath, UInt32 srcPath); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static - void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - Delegates.glCoverFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static - void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - Delegates.glCoverFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static - unsafe void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCoverFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - #if DEBUG - } - #endif - } + public static extern unsafe void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static - void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - Delegates.glCoverFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static - void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - Delegates.glCoverFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static - unsafe void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCoverFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - #if DEBUG - } - #endif - } + public static extern unsafe void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static - void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) + public static extern void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static - void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) + public static extern void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static - unsafe void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + public static extern unsafe void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static - void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) + public static extern void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static - void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) + public static extern void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static - unsafe void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + public static extern unsafe void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static - void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) + public static extern void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static - void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) + public static extern void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static - unsafe void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + public static extern unsafe void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static - void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) + public static extern void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static - void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) + public static extern void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static - unsafe void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + public static extern unsafe void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static - void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) + public static extern void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static - void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) + public static extern void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static - unsafe void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + public static extern unsafe void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static - void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) + public static extern void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static - void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) + public static extern void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static - unsafe void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + public static extern unsafe void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static - void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) + public static extern void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - paths = (T2)paths_ptr.Target; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static - void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) + public static extern void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - paths = (T2)paths_ptr.Target; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static - unsafe void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + public static extern unsafe void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - paths = (T2)paths_ptr.Target; - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static - void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) + public static extern void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - paths = (T2)paths_ptr.Target; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static - void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) + public static extern void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - paths = (T2)paths_ptr.Target; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathInstancedNV")] - public static - unsafe void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + public static extern unsafe void CoverFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - paths = (T2)paths_ptr.Target; - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathNV")] - public static - void CoverFillPath(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering coverMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCoverFillPathNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode); - #if DEBUG - } - #endif - } + public static extern void CoverFillPath(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering coverMode); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverFillPathNV")] - public static - void CoverFillPath(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering coverMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCoverFillPathNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode); - #if DEBUG - } - #endif - } + public static extern void CoverFillPath(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering coverMode); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static - void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - Delegates.glCoverStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static - void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - Delegates.glCoverStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static - unsafe void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCoverStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - #if DEBUG - } - #endif - } + public static extern unsafe void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static - void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - Delegates.glCoverStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static - void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - Delegates.glCoverStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static - unsafe void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCoverStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - #if DEBUG - } - #endif - } + public static extern unsafe void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static - void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) + public static extern void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static - void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) + public static extern void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static - unsafe void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + public static extern unsafe void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static - void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) + public static extern void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static - void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) + public static extern void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static - unsafe void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + public static extern unsafe void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static - void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) + public static extern void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static - void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) + public static extern void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static - unsafe void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + public static extern unsafe void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static - void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) + public static extern void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static - void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) + public static extern void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static - unsafe void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + public static extern unsafe void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static - void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) + public static extern void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static - void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) + public static extern void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static - unsafe void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + public static extern unsafe void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static - void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) + public static extern void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static - void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) + public static extern void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static - unsafe void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + public static extern unsafe void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static - void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) + public static extern void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - paths = (T2)paths_ptr.Target; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static - void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) + public static extern void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - paths = (T2)paths_ptr.Target; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static - unsafe void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + public static extern unsafe void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - paths = (T2)paths_ptr.Target; - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static - void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) + public static extern void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - paths = (T2)paths_ptr.Target; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static - void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) + public static extern void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - paths = (T2)paths_ptr.Target; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathInstancedNV")] - public static - unsafe void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + public static extern unsafe void CoverStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glCoverStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - paths = (T2)paths_ptr.Target; - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathNV")] - public static - void CoverStrokePath(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering coverMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCoverStrokePathNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode); - #if DEBUG - } - #endif - } + public static extern void CoverStrokePath(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering coverMode); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glCoverStrokePathNV")] - public static - void CoverStrokePath(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering coverMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCoverStrokePathNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode); - #if DEBUG - } - #endif - } + public static extern void CoverStrokePath(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering coverMode); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static - void DeleteFence(Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* fences_ptr = (UInt32*)&fences; - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteFence(Int32 fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static - void DeleteFence(UInt32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* fences_ptr = (UInt32*)&fences; - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteFence(UInt32 fences); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static - void DeleteFences(Int32 n, Int32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = fences) - { - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFences(Int32 n, Int32[] fences); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static - void DeleteFences(Int32 n, ref Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = &fences) - { - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFences(Int32 n, ref Int32 fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static - unsafe void DeleteFences(Int32 n, Int32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteFences(Int32 n, Int32* fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static - void DeleteFences(Int32 n, UInt32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = fences) - { - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFences(Int32 n, UInt32[] fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static - void DeleteFences(Int32 n, ref UInt32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = &fences) - { - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFences(Int32 n, ref UInt32 fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")] - public static - unsafe void DeleteFences(Int32 n, UInt32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteFences(Int32 n, UInt32* fences); /// [requires: NV_occlusion_query] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glDeleteOcclusionQueriesNV")] - public static - void DeleteOcclusionQuery(Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteOcclusionQuery(Int32 ids); /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glDeleteOcclusionQueriesNV")] - public static - void DeleteOcclusionQuery(UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteOcclusionQuery(UInt32 ids); /// [requires: NV_occlusion_query] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glDeleteOcclusionQueriesNV")] - public static - void DeleteOcclusionQueries(Int32 n, Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteOcclusionQueries(Int32 n, Int32[] ids); /// [requires: NV_occlusion_query] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glDeleteOcclusionQueriesNV")] - public static - void DeleteOcclusionQueries(Int32 n, ref Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteOcclusionQueries(Int32 n, ref Int32 ids); /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glDeleteOcclusionQueriesNV")] - public static - unsafe void DeleteOcclusionQueries(Int32 n, Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteOcclusionQueries(Int32 n, Int32* ids); /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glDeleteOcclusionQueriesNV")] - public static - void DeleteOcclusionQueries(Int32 n, UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteOcclusionQueries(Int32 n, UInt32[] ids); /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glDeleteOcclusionQueriesNV")] - public static - void DeleteOcclusionQueries(Int32 n, ref UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteOcclusionQueries(Int32 n, ref UInt32 ids); /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glDeleteOcclusionQueriesNV")] - public static - unsafe void DeleteOcclusionQueries(Int32 n, UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteOcclusionQueries(Int32 n, UInt32* ids); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glDeletePathsNV")] - public static - void DeletePath(Int32 path, Int32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeletePathsNV((UInt32)path, (Int32)range); - #if DEBUG - } - #endif - } + public static extern void DeletePath(Int32 path, Int32 range); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glDeletePathsNV")] - public static - void DeletePath(UInt32 path, Int32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeletePathsNV((UInt32)path, (Int32)range); - #if DEBUG - } - #endif - } + public static extern void DeletePath(UInt32 path, Int32 range); /// [requires: NV_vertex_program] /// Deletes a program object @@ -207100,23 +111743,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glDeleteProgramsNV")] - public static - void DeleteProgram(Int32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* programs_ptr = (UInt32*)&programs; - Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgram(Int32 programs); /// [requires: NV_vertex_program] /// Deletes a program object @@ -207128,23 +111755,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glDeleteProgramsNV")] - public static - void DeleteProgram(UInt32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* programs_ptr = (UInt32*)&programs; - Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgram(UInt32 programs); /// [requires: NV_vertex_program] /// Deletes a program object @@ -207155,24 +111766,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glDeleteProgramsNV")] - public static - void DeleteProgram(Int32 n, Int32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = programs) - { - Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgram(Int32 n, Int32[] programs); /// [requires: NV_vertex_program] /// Deletes a program object @@ -207183,24 +111777,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glDeleteProgramsNV")] - public static - void DeleteProgram(Int32 n, ref Int32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = &programs) - { - Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgram(Int32 n, ref Int32 programs); /// [requires: NV_vertex_program] /// Deletes a program object @@ -207212,18 +111789,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glDeleteProgramsNV")] - public static - unsafe void DeleteProgram(Int32 n, Int32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteProgram(Int32 n, Int32* programs); /// [requires: NV_vertex_program] /// Deletes a program object @@ -207235,24 +111801,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glDeleteProgramsNV")] - public static - void DeleteProgram(Int32 n, UInt32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = programs) - { - Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgram(Int32 n, UInt32[] programs); /// [requires: NV_vertex_program] /// Deletes a program object @@ -207264,24 +111813,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glDeleteProgramsNV")] - public static - void DeleteProgram(Int32 n, ref UInt32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = &programs) - { - Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgram(Int32 n, ref UInt32 programs); /// [requires: NV_vertex_program] /// Deletes a program object @@ -207293,59 +111825,16 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glDeleteProgramsNV")] - public static - unsafe void DeleteProgram(Int32 n, UInt32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteProgram(Int32 n, UInt32* programs); /// [requires: NV_transform_feedback2] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] - public static - void DeleteTransformFeedback(Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteTransformFeedback(Int32 ids); /// [requires: NV_transform_feedback2] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] - public static - void DeleteTransformFeedback(UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteTransformFeedback(UInt32 ids); /// [requires: NV_transform_feedback2] /// Delete transform feedback objects @@ -207361,24 +111850,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] - public static - void DeleteTransformFeedbacks(Int32 n, Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTransformFeedbacks(Int32 n, Int32[] ids); /// [requires: NV_transform_feedback2] /// Delete transform feedback objects @@ -207394,24 +111866,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] - public static - void DeleteTransformFeedbacks(Int32 n, ref Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTransformFeedbacks(Int32 n, ref Int32 ids); /// [requires: NV_transform_feedback2] /// Delete transform feedback objects @@ -207428,18 +111883,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] - public static - unsafe void DeleteTransformFeedbacks(Int32 n, Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteTransformFeedbacks(Int32 n, Int32* ids); /// [requires: NV_transform_feedback2] /// Delete transform feedback objects @@ -207456,24 +111900,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] - public static - void DeleteTransformFeedbacks(Int32 n, UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTransformFeedbacks(Int32 n, UInt32[] ids); /// [requires: NV_transform_feedback2] /// Delete transform feedback objects @@ -207490,24 +111917,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] - public static - void DeleteTransformFeedbacks(Int32 n, ref UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTransformFeedbacks(Int32 n, ref UInt32 ids); /// [requires: NV_transform_feedback2] /// Delete transform feedback objects @@ -207524,33 +111934,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] - public static - unsafe void DeleteTransformFeedbacks(Int32 n, UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteTransformFeedbacks(Int32 n, UInt32* ids); /// [requires: NV_depth_buffer_float] [AutoGenerated(Category = "NV_depth_buffer_float", Version = "", EntryPoint = "glDepthBoundsdNV")] - public static - void DepthBounds(Double zmin, Double zmax) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthBoundsdNV((Double)zmin, (Double)zmax); - #if DEBUG - } - #endif - } + public static extern void DepthBounds(Double zmin, Double zmax); /// [requires: NV_depth_buffer_float] /// Specify mapping of depth values from normalized device coordinates to window coordinates @@ -207566,49 +111954,16 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_depth_buffer_float", Version = "", EntryPoint = "glDepthRangedNV")] - public static - void DepthRange(Double zNear, Double zFar) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthRangedNV((Double)zNear, (Double)zFar); - #if DEBUG - } - #endif - } + public static extern void DepthRange(Double zNear, Double zFar); /// [requires: NV_draw_texture] [AutoGenerated(Category = "NV_draw_texture", Version = "", EntryPoint = "glDrawTextureNV")] - public static - void DrawTexture(Int32 texture, Int32 sampler, Single x0, Single y0, Single x1, Single y1, Single z, Single s0, Single t0, Single s1, Single t1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawTextureNV((UInt32)texture, (UInt32)sampler, (Single)x0, (Single)y0, (Single)x1, (Single)y1, (Single)z, (Single)s0, (Single)t0, (Single)s1, (Single)t1); - #if DEBUG - } - #endif - } + public static extern void DrawTexture(Int32 texture, Int32 sampler, Single x0, Single y0, Single x1, Single y1, Single z, Single s0, Single t0, Single s1, Single t1); /// [requires: NV_draw_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_draw_texture", Version = "", EntryPoint = "glDrawTextureNV")] - public static - void DrawTexture(UInt32 texture, UInt32 sampler, Single x0, Single y0, Single x1, Single y1, Single z, Single s0, Single t0, Single s1, Single t1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawTextureNV((UInt32)texture, (UInt32)sampler, (Single)x0, (Single)y0, (Single)x1, (Single)y1, (Single)z, (Single)s0, (Single)t0, (Single)s1, (Single)t1); - #if DEBUG - } - #endif - } + public static extern void DrawTexture(UInt32 texture, UInt32 sampler, Single x0, Single y0, Single x1, Single y1, Single z, Single s0, Single t0, Single s1, Single t1); /// [requires: NV_transform_feedback2] /// Render primitives using a count derived from a transform feedback object @@ -207625,18 +111980,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glDrawTransformFeedbackNV")] - public static - void DrawTransformFeedback(OpenTK.Graphics.OpenGL.NvTransformFeedback2 mode, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawTransformFeedbackNV((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void DrawTransformFeedback(OpenTK.Graphics.OpenGL.NvTransformFeedback2 mode, Int32 id); /// [requires: NV_transform_feedback2] /// Render primitives using a count derived from a transform feedback object @@ -207654,18 +111998,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use PrimitiveType overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glDrawTransformFeedbackNV")] - public static - void DrawTransformFeedback(OpenTK.Graphics.OpenGL.NvTransformFeedback2 mode, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawTransformFeedbackNV((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void DrawTransformFeedback(OpenTK.Graphics.OpenGL.NvTransformFeedback2 mode, UInt32 id); /// [requires: NV_transform_feedback2] /// Render primitives using a count derived from a transform feedback object @@ -207681,18 +112014,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glDrawTransformFeedbackNV")] - public static - void DrawTransformFeedback(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawTransformFeedbackNV((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void DrawTransformFeedback(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 id); /// [requires: NV_transform_feedback2] /// Render primitives using a count derived from a transform feedback object @@ -207709,827 +112031,202 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glDrawTransformFeedbackNV")] - public static - void DrawTransformFeedback(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawTransformFeedbackNV((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void DrawTransformFeedback(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id); /// [requires: NV_vertex_buffer_unified_memory] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glEdgeFlagFormatNV")] - public static - void EdgeFlagFormat(Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEdgeFlagFormatNV((Int32)stride); - #if DEBUG - } - #endif - } + public static extern void EdgeFlagFormat(Int32 stride); /// [requires: NV_conditional_render] [AutoGenerated(Category = "NV_conditional_render", Version = "", EntryPoint = "glEndConditionalRenderNV")] - public static - void EndConditionalRender() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndConditionalRenderNV(); - #if DEBUG - } - #endif - } + public static extern void EndConditionalRender(); /// [requires: NV_occlusion_query] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glEndOcclusionQueryNV")] - public static - void EndOcclusionQuery() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndOcclusionQueryNV(); - #if DEBUG - } - #endif - } + public static extern void EndOcclusionQuery(); /// [requires: NV_transform_feedback] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glEndTransformFeedbackNV")] - public static - void EndTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndTransformFeedbackNV(); - #if DEBUG - } - #endif - } + public static extern void EndTransformFeedback(); /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glEndVideoCaptureNV")] - public static - void EndVideoCapture(Int32 video_capture_slot) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndVideoCaptureNV((UInt32)video_capture_slot); - #if DEBUG - } - #endif - } + public static extern void EndVideoCapture(Int32 video_capture_slot); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glEndVideoCaptureNV")] - public static - void EndVideoCapture(UInt32 video_capture_slot) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndVideoCaptureNV((UInt32)video_capture_slot); - #if DEBUG - } - #endif - } + public static extern void EndVideoCapture(UInt32 video_capture_slot); /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glEvalMapsNV")] - public static - void EvalMap(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalMapsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)mode); - #if DEBUG - } - #endif - } + public static extern void EvalMap(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators mode); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glExecuteProgramNV")] - public static - void ExecuteProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 id, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glExecuteProgramNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExecuteProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 id, Single[] @params); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glExecuteProgramNV")] - public static - void ExecuteProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 id, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glExecuteProgramNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExecuteProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 id, ref Single @params); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glExecuteProgramNV")] - public static - unsafe void ExecuteProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 id, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExecuteProgramNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ExecuteProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 id, Single* @params); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glExecuteProgramNV")] - public static - void ExecuteProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glExecuteProgramNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExecuteProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, Single[] @params); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glExecuteProgramNV")] - public static - void ExecuteProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glExecuteProgramNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ExecuteProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, ref Single @params); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glExecuteProgramNV")] - public static - unsafe void ExecuteProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExecuteProgramNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ExecuteProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, Single* @params); /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glFinalCombinerInputNV")] - public static - void FinalCombinerInput(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners input, OpenTK.Graphics.OpenGL.NvRegisterCombiners mapping, OpenTK.Graphics.OpenGL.NvRegisterCombiners componentUsage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFinalCombinerInputNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)input, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)mapping, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)componentUsage); - #if DEBUG - } - #endif - } + public static extern void FinalCombinerInput(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners input, OpenTK.Graphics.OpenGL.NvRegisterCombiners mapping, OpenTK.Graphics.OpenGL.NvRegisterCombiners componentUsage); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glFinishFenceNV")] - public static - void FinishFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFinishFenceNV((UInt32)fence); - #if DEBUG - } - #endif - } + public static extern void FinishFence(Int32 fence); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glFinishFenceNV")] - public static - void FinishFence(UInt32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFinishFenceNV((UInt32)fence); - #if DEBUG - } - #endif - } + public static extern void FinishFence(UInt32 fence); /// [requires: NV_pixel_data_range] [AutoGenerated(Category = "NV_pixel_data_range", Version = "", EntryPoint = "glFlushPixelDataRangeNV")] - public static - void FlushPixelDataRange(OpenTK.Graphics.OpenGL.NvPixelDataRange target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFlushPixelDataRangeNV((OpenTK.Graphics.OpenGL.NvPixelDataRange)target); - #if DEBUG - } - #endif - } + public static extern void FlushPixelDataRange(OpenTK.Graphics.OpenGL.NvPixelDataRange target); /// [requires: NV_vertex_array_range] [AutoGenerated(Category = "NV_vertex_array_range", Version = "", EntryPoint = "glFlushVertexArrayRangeNV")] - public static - void FlushVertexArrayRange() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFlushVertexArrayRangeNV(); - #if DEBUG - } - #endif - } + public static extern void FlushVertexArrayRange(); /// [requires: NV_vertex_buffer_unified_memory] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glFogCoordFormatNV")] - public static - void FogCoordFormat(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogCoordFormatNV((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride); - #if DEBUG - } - #endif - } + public static extern void FogCoordFormat(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glFogCoordhNV")] - public static - void FogCoordh(Half fog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogCoordhNV((Half)fog); - #if DEBUG - } - #endif - } + public static extern void FogCoordh(Half fog); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glFogCoordhvNV")] - public static - unsafe void FogCoordh(Half* fog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogCoordhvNV((Half*)fog); - #if DEBUG - } - #endif - } + public static extern unsafe void FogCoordh(Half* fog); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static - Int32 GenFence() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* fences_ptr = &retval; - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenFence(); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static - void GenFences(Int32 n, [OutAttribute] Int32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = fences) - { - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenFences(Int32 n, [OutAttribute] Int32[] fences); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static - void GenFences(Int32 n, [OutAttribute] out Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = &fences) - { - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); - fences = *fences_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenFences(Int32 n, [OutAttribute] out Int32 fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static - unsafe void GenFences(Int32 n, [OutAttribute] Int32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences); - #if DEBUG - } - #endif - } + public static extern unsafe void GenFences(Int32 n, [OutAttribute] Int32* fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static - void GenFences(Int32 n, [OutAttribute] UInt32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = fences) - { - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenFences(Int32 n, [OutAttribute] UInt32[] fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static - void GenFences(Int32 n, [OutAttribute] out UInt32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = &fences) - { - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); - fences = *fences_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenFences(Int32 n, [OutAttribute] out UInt32 fences); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")] - public static - unsafe void GenFences(Int32 n, [OutAttribute] UInt32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences); - #if DEBUG - } - #endif - } + public static extern unsafe void GenFences(Int32 n, [OutAttribute] UInt32* fences); /// [requires: NV_occlusion_query] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glGenOcclusionQueriesNV")] - public static - Int32 GenOcclusionQuery() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* ids_ptr = &retval; - Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenOcclusionQuery(); /// [requires: NV_occlusion_query] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glGenOcclusionQueriesNV")] - public static - void GenOcclusionQueries(Int32 n, [OutAttribute] Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenOcclusionQueries(Int32 n, [OutAttribute] Int32[] ids); /// [requires: NV_occlusion_query] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glGenOcclusionQueriesNV")] - public static - void GenOcclusionQueries(Int32 n, [OutAttribute] out Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenOcclusionQueries(Int32 n, [OutAttribute] out Int32 ids); /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glGenOcclusionQueriesNV")] - public static - unsafe void GenOcclusionQueries(Int32 n, [OutAttribute] Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void GenOcclusionQueries(Int32 n, [OutAttribute] Int32* ids); /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glGenOcclusionQueriesNV")] - public static - void GenOcclusionQueries(Int32 n, [OutAttribute] UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenOcclusionQueries(Int32 n, [OutAttribute] UInt32[] ids); /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glGenOcclusionQueriesNV")] - public static - void GenOcclusionQueries(Int32 n, [OutAttribute] out UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenOcclusionQueries(Int32 n, [OutAttribute] out UInt32 ids); /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glGenOcclusionQueriesNV")] - public static - unsafe void GenOcclusionQueries(Int32 n, [OutAttribute] UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void GenOcclusionQueries(Int32 n, [OutAttribute] UInt32* ids); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGenPathsNV")] - public static - Int32 GenPath(Int32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGenPathsNV((Int32)range); - #if DEBUG - } - #endif - } + public static extern Int32 GenPath(Int32 range); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGenProgramsNV")] - public static - Int32 GenProgram() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* programs_ptr = &retval; - Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenProgram(); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGenProgramsNV")] - public static - void GenProgram(Int32 n, [OutAttribute] Int32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = programs) - { - Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenProgram(Int32 n, [OutAttribute] Int32[] programs); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGenProgramsNV")] - public static - void GenProgram(Int32 n, [OutAttribute] out Int32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = &programs) - { - Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr); - programs = *programs_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenProgram(Int32 n, [OutAttribute] out Int32 programs); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGenProgramsNV")] - public static - unsafe void GenProgram(Int32 n, [OutAttribute] Int32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs); - #if DEBUG - } - #endif - } + public static extern unsafe void GenProgram(Int32 n, [OutAttribute] Int32* programs); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGenProgramsNV")] - public static - void GenProgram(Int32 n, [OutAttribute] UInt32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = programs) - { - Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenProgram(Int32 n, [OutAttribute] UInt32[] programs); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGenProgramsNV")] - public static - void GenProgram(Int32 n, [OutAttribute] out UInt32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = &programs) - { - Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr); - programs = *programs_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenProgram(Int32 n, [OutAttribute] out UInt32 programs); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGenProgramsNV")] - public static - unsafe void GenProgram(Int32 n, [OutAttribute] UInt32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs); - #if DEBUG - } - #endif - } + public static extern unsafe void GenProgram(Int32 n, [OutAttribute] UInt32* programs); /// [requires: NV_transform_feedback2] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] - public static - Int32 GenTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* ids_ptr = &retval; - Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenTransformFeedback(); /// [requires: NV_transform_feedback2] /// Reserve transform feedback object names @@ -208545,24 +112242,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] - public static - void GenTransformFeedbacks(Int32 n, [OutAttribute] Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenTransformFeedbacks(Int32 n, [OutAttribute] Int32[] ids); /// [requires: NV_transform_feedback2] /// Reserve transform feedback object names @@ -208578,25 +112258,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] - public static - void GenTransformFeedbacks(Int32 n, [OutAttribute] out Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenTransformFeedbacks(Int32 n, [OutAttribute] out Int32 ids); /// [requires: NV_transform_feedback2] /// Reserve transform feedback object names @@ -208613,18 +112275,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] - public static - unsafe void GenTransformFeedbacks(Int32 n, [OutAttribute] Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void GenTransformFeedbacks(Int32 n, [OutAttribute] Int32* ids); /// [requires: NV_transform_feedback2] /// Reserve transform feedback object names @@ -208641,24 +112292,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] - public static - void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32[] ids); /// [requires: NV_transform_feedback2] /// Reserve transform feedback object names @@ -208675,25 +112309,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] - public static - void GenTransformFeedbacks(Int32 n, [OutAttribute] out UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenTransformFeedbacks(Int32 n, [OutAttribute] out UInt32 ids); /// [requires: NV_transform_feedback2] /// Reserve transform feedback object names @@ -208710,103 +112326,26 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] - public static - unsafe void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32* ids); /// [requires: NV_transform_feedback] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glGetActiveVaryingNV")] - public static - void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.NvTransformFeedback type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.OpenGL.NvTransformFeedback* type_ptr = &type) - { - Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.NvTransformFeedback*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.NvTransformFeedback type, [OutAttribute] StringBuilder name); /// [requires: NV_transform_feedback] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glGetActiveVaryingNV")] - public static - unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.NvTransformFeedback* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.NvTransformFeedback*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.NvTransformFeedback* type, [OutAttribute] StringBuilder name); /// [requires: NV_transform_feedback] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glGetActiveVaryingNV")] - public static - void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.NvTransformFeedback type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.OpenGL.NvTransformFeedback* type_ptr = &type) - { - Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.NvTransformFeedback*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.NvTransformFeedback type, [OutAttribute] StringBuilder name); /// [requires: NV_transform_feedback] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glGetActiveVaryingNV")] - public static - unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.NvTransformFeedback* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.NvTransformFeedback*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.NvTransformFeedback* type, [OutAttribute] StringBuilder name); /// [requires: NV_shader_buffer_load] /// Return parameters of a buffer object @@ -208827,24 +112366,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetBufferParameterui64vNV")] - public static - void GetBufferParameter(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetBufferParameterui64vNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (UInt64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetBufferParameter(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] Int64[] @params); /// [requires: NV_shader_buffer_load] /// Return parameters of a buffer object @@ -208865,25 +112387,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetBufferParameterui64vNV")] - public static - void GetBufferParameter(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetBufferParameterui64vNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (UInt64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetBufferParameter(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] out Int64 @params); /// [requires: NV_shader_buffer_load] /// Return parameters of a buffer object @@ -208905,18 +112409,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetBufferParameterui64vNV")] - public static - unsafe void GetBufferParameter(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferParameterui64vNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (UInt64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetBufferParameter(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] Int64* @params); /// [requires: NV_shader_buffer_load] /// Return parameters of a buffer object @@ -208938,24 +112431,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetBufferParameterui64vNV")] - public static - void GetBufferParameter(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] UInt64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = @params) - { - Delegates.glGetBufferParameterui64vNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (UInt64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetBufferParameter(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] UInt64[] @params); /// [requires: NV_shader_buffer_load] /// Return parameters of a buffer object @@ -208977,25 +112453,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetBufferParameterui64vNV")] - public static - void GetBufferParameter(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] out UInt64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = &@params) - { - Delegates.glGetBufferParameterui64vNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (UInt64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetBufferParameter(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] out UInt64 @params); /// [requires: NV_shader_buffer_load] /// Return parameters of a buffer object @@ -209017,1430 +112475,338 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetBufferParameterui64vNV")] - public static - unsafe void GetBufferParameter(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] UInt64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferParameterui64vNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (UInt64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetBufferParameter(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] UInt64* @params); /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetCombinerInputParameterfvNV")] - public static - void GetCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetCombinerInputParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single[] @params); /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetCombinerInputParameterfvNV")] - public static - void GetCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetCombinerInputParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] out Single @params); /// [requires: NV_register_combiners] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetCombinerInputParameterfvNV")] - public static - unsafe void GetCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetCombinerInputParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single* @params); /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetCombinerInputParameterivNV")] - public static - void GetCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetCombinerInputParameterivNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32[] @params); /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetCombinerInputParameterivNV")] - public static - void GetCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetCombinerInputParameterivNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] out Int32 @params); /// [requires: NV_register_combiners] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetCombinerInputParameterivNV")] - public static - unsafe void GetCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetCombinerInputParameterivNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32* @params); /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetCombinerOutputParameterfvNV")] - public static - void GetCombinerOutputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetCombinerOutputParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetCombinerOutputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single[] @params); /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetCombinerOutputParameterfvNV")] - public static - void GetCombinerOutputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetCombinerOutputParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetCombinerOutputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] out Single @params); /// [requires: NV_register_combiners] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetCombinerOutputParameterfvNV")] - public static - unsafe void GetCombinerOutputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetCombinerOutputParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetCombinerOutputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single* @params); /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetCombinerOutputParameterivNV")] - public static - void GetCombinerOutputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetCombinerOutputParameterivNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetCombinerOutputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32[] @params); /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetCombinerOutputParameterivNV")] - public static - void GetCombinerOutputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetCombinerOutputParameterivNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetCombinerOutputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] out Int32 @params); /// [requires: NV_register_combiners] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetCombinerOutputParameterivNV")] - public static - unsafe void GetCombinerOutputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetCombinerOutputParameterivNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetCombinerOutputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32* @params); /// [requires: NV_register_combiners2] [AutoGenerated(Category = "NV_register_combiners2", Version = "", EntryPoint = "glGetCombinerStageParameterfvNV")] - public static - void GetCombinerStageParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetCombinerStageParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners2)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners2)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetCombinerStageParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, [OutAttribute] Single[] @params); /// [requires: NV_register_combiners2] [AutoGenerated(Category = "NV_register_combiners2", Version = "", EntryPoint = "glGetCombinerStageParameterfvNV")] - public static - void GetCombinerStageParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetCombinerStageParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners2)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners2)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetCombinerStageParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, [OutAttribute] out Single @params); /// [requires: NV_register_combiners2] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_register_combiners2", Version = "", EntryPoint = "glGetCombinerStageParameterfvNV")] - public static - unsafe void GetCombinerStageParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetCombinerStageParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners2)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners2)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetCombinerStageParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, [OutAttribute] Single* @params); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static - void GetFence(Int32 fence, OpenTK.Graphics.OpenGL.NvFence pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.OpenGL.NvFence)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFence(Int32 fence, OpenTK.Graphics.OpenGL.NvFence pname, [OutAttribute] Int32[] @params); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static - void GetFence(Int32 fence, OpenTK.Graphics.OpenGL.NvFence pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.OpenGL.NvFence)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFence(Int32 fence, OpenTK.Graphics.OpenGL.NvFence pname, [OutAttribute] out Int32 @params); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static - unsafe void GetFence(Int32 fence, OpenTK.Graphics.OpenGL.NvFence pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.OpenGL.NvFence)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFence(Int32 fence, OpenTK.Graphics.OpenGL.NvFence pname, [OutAttribute] Int32* @params); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static - void GetFence(UInt32 fence, OpenTK.Graphics.OpenGL.NvFence pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.OpenGL.NvFence)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFence(UInt32 fence, OpenTK.Graphics.OpenGL.NvFence pname, [OutAttribute] Int32[] @params); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static - void GetFence(UInt32 fence, OpenTK.Graphics.OpenGL.NvFence pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.OpenGL.NvFence)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFence(UInt32 fence, OpenTK.Graphics.OpenGL.NvFence pname, [OutAttribute] out Int32 @params); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")] - public static - unsafe void GetFence(UInt32 fence, OpenTK.Graphics.OpenGL.NvFence pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.OpenGL.NvFence)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFence(UInt32 fence, OpenTK.Graphics.OpenGL.NvFence pname, [OutAttribute] Int32* @params); /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetFinalCombinerInputParameterfvNV")] - public static - void GetFinalCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetFinalCombinerInputParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFinalCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single[] @params); /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetFinalCombinerInputParameterfvNV")] - public static - void GetFinalCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetFinalCombinerInputParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFinalCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] out Single @params); /// [requires: NV_register_combiners] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetFinalCombinerInputParameterfvNV")] - public static - unsafe void GetFinalCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFinalCombinerInputParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFinalCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single* @params); /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetFinalCombinerInputParameterivNV")] - public static - void GetFinalCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFinalCombinerInputParameterivNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFinalCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32[] @params); /// [requires: NV_register_combiners] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetFinalCombinerInputParameterivNV")] - public static - void GetFinalCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFinalCombinerInputParameterivNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFinalCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] out Int32 @params); /// [requires: NV_register_combiners] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_register_combiners", Version = "", EntryPoint = "glGetFinalCombinerInputParameterivNV")] - public static - unsafe void GetFinalCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFinalCombinerInputParameterivNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFinalCombinerInputParameter(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32* @params); /// [requires: NV_bindless_texture] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glGetImageHandleNV")] - public static - Int64 GetImageHandle(Int32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.NvBindlessTexture format) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetImageHandleNV((UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL.NvBindlessTexture)format); - #if DEBUG - } - #endif - } + public static extern Int64 GetImageHandle(Int32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.NvBindlessTexture format); /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glGetImageHandleNV")] - public static - Int64 GetImageHandle(UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.NvBindlessTexture format) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetImageHandleNV((UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL.NvBindlessTexture)format); - #if DEBUG - } - #endif - } + public static extern Int64 GetImageHandle(UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.NvBindlessTexture format); /// [requires: NV_vertex_buffer_unified_memory] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glGetIntegerui64i_vNV")] - public static - void GetIntegerui64(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory value, Int32 index, [OutAttribute] Int64[] result) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* result_ptr = result) - { - Delegates.glGetIntegerui64i_vNV((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)value, (UInt32)index, (UInt64*)result_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetIntegerui64(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory value, Int32 index, [OutAttribute] Int64[] result); /// [requires: NV_vertex_buffer_unified_memory] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glGetIntegerui64i_vNV")] - public static - void GetIntegerui64(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory value, Int32 index, [OutAttribute] out Int64 result) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* result_ptr = &result) - { - Delegates.glGetIntegerui64i_vNV((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)value, (UInt32)index, (UInt64*)result_ptr); - result = *result_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetIntegerui64(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory value, Int32 index, [OutAttribute] out Int64 result); /// [requires: NV_vertex_buffer_unified_memory] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glGetIntegerui64i_vNV")] - public static - unsafe void GetIntegerui64(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory value, Int32 index, [OutAttribute] Int64* result) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegerui64i_vNV((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)value, (UInt32)index, (UInt64*)result); - #if DEBUG - } - #endif - } + public static extern unsafe void GetIntegerui64(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory value, Int32 index, [OutAttribute] Int64* result); /// [requires: NV_vertex_buffer_unified_memory] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glGetIntegerui64i_vNV")] - public static - void GetIntegerui64(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory value, UInt32 index, [OutAttribute] UInt64[] result) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* result_ptr = result) - { - Delegates.glGetIntegerui64i_vNV((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)value, (UInt32)index, (UInt64*)result_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetIntegerui64(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory value, UInt32 index, [OutAttribute] UInt64[] result); /// [requires: NV_vertex_buffer_unified_memory] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glGetIntegerui64i_vNV")] - public static - void GetIntegerui64(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory value, UInt32 index, [OutAttribute] out UInt64 result) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* result_ptr = &result) - { - Delegates.glGetIntegerui64i_vNV((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)value, (UInt32)index, (UInt64*)result_ptr); - result = *result_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetIntegerui64(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory value, UInt32 index, [OutAttribute] out UInt64 result); /// [requires: NV_vertex_buffer_unified_memory] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glGetIntegerui64i_vNV")] - public static - unsafe void GetIntegerui64(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory value, UInt32 index, [OutAttribute] UInt64* result) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegerui64i_vNV((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)value, (UInt32)index, (UInt64*)result); - #if DEBUG - } - #endif - } + public static extern unsafe void GetIntegerui64(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory value, UInt32 index, [OutAttribute] UInt64* result); /// [requires: NV_shader_buffer_load] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetIntegerui64vNV")] - public static - Int64 GetInteger(OpenTK.Graphics.OpenGL.NvShaderBufferLoad value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int64 retval; - Int64* result_ptr = &retval; - Delegates.glGetIntegerui64vNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)value, (UInt64*)result_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int64 GetInteger(OpenTK.Graphics.OpenGL.NvShaderBufferLoad value); /// [requires: NV_shader_buffer_load] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetIntegerui64vNV")] - public static - void GetInteger(OpenTK.Graphics.OpenGL.NvShaderBufferLoad value, [OutAttribute] Int64[] result) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* result_ptr = result) - { - Delegates.glGetIntegerui64vNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)value, (UInt64*)result_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.OpenGL.NvShaderBufferLoad value, [OutAttribute] Int64[] result); /// [requires: NV_shader_buffer_load] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetIntegerui64vNV")] - public static - void GetInteger(OpenTK.Graphics.OpenGL.NvShaderBufferLoad value, [OutAttribute] out Int64 result) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* result_ptr = &result) - { - Delegates.glGetIntegerui64vNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)value, (UInt64*)result_ptr); - result = *result_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.OpenGL.NvShaderBufferLoad value, [OutAttribute] out Int64 result); /// [requires: NV_shader_buffer_load] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetIntegerui64vNV")] - public static - unsafe void GetInteger(OpenTK.Graphics.OpenGL.NvShaderBufferLoad value, [OutAttribute] Int64* result) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegerui64vNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)value, (UInt64*)result); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger(OpenTK.Graphics.OpenGL.NvShaderBufferLoad value, [OutAttribute] Int64* result); /// [requires: NV_shader_buffer_load] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetIntegerui64vNV")] - public static - void GetInteger(OpenTK.Graphics.OpenGL.NvShaderBufferLoad value, [OutAttribute] UInt64[] result) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* result_ptr = result) - { - Delegates.glGetIntegerui64vNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)value, (UInt64*)result_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.OpenGL.NvShaderBufferLoad value, [OutAttribute] UInt64[] result); /// [requires: NV_shader_buffer_load] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetIntegerui64vNV")] - public static - void GetInteger(OpenTK.Graphics.OpenGL.NvShaderBufferLoad value, [OutAttribute] out UInt64 result) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* result_ptr = &result) - { - Delegates.glGetIntegerui64vNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)value, (UInt64*)result_ptr); - result = *result_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.OpenGL.NvShaderBufferLoad value, [OutAttribute] out UInt64 result); /// [requires: NV_shader_buffer_load] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetIntegerui64vNV")] - public static - unsafe void GetInteger(OpenTK.Graphics.OpenGL.NvShaderBufferLoad value, [OutAttribute] UInt64* result) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegerui64vNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)value, (UInt64*)result); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger(OpenTK.Graphics.OpenGL.NvShaderBufferLoad value, [OutAttribute] UInt64* result); /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapAttribParameterfvNV")] - public static - void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Single[] @params); /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapAttribParameterfvNV")] - public static - void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] out Single @params); /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapAttribParameterfvNV")] - public static - unsafe void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Single* @params); /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapAttribParameterfvNV")] - public static - void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Single[] @params); /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapAttribParameterfvNV")] - public static - void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] out Single @params); /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapAttribParameterfvNV")] - public static - unsafe void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Single* @params); /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapAttribParameterivNV")] - public static - void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Int32[] @params); /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapAttribParameterivNV")] - public static - void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] out Int32 @params); /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapAttribParameterivNV")] - public static - unsafe void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Int32* @params); /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapAttribParameterivNV")] - public static - void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Int32[] @params); /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapAttribParameterivNV")] - public static - void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] out Int32 @params); /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapAttribParameterivNV")] - public static - unsafe void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMapAttribParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Int32* @params); /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapControlPointsNV")] - public static - void GetMapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [OutAttribute] IntPtr points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points); - #if DEBUG - } - #endif - } + public static extern void GetMapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [OutAttribute] IntPtr points); /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapControlPointsNV")] - public static - void GetMapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [InAttribute, OutAttribute] T6[] points) + public static extern void GetMapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [InAttribute, OutAttribute] T6[] points) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glGetMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapControlPointsNV")] - public static - void GetMapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [InAttribute, OutAttribute] T6[,] points) + public static extern void GetMapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [InAttribute, OutAttribute] T6[,] points) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glGetMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapControlPointsNV")] - public static - void GetMapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [InAttribute, OutAttribute] T6[,,] points) + public static extern void GetMapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [InAttribute, OutAttribute] T6[,,] points) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glGetMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapControlPointsNV")] - public static - void GetMapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [InAttribute, OutAttribute] ref T6 points) + public static extern void GetMapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [InAttribute, OutAttribute] ref T6 points) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glGetMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - points = (T6)points_ptr.Target; - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapControlPointsNV")] - public static - void GetMapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [OutAttribute] IntPtr points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points); - #if DEBUG - } - #endif - } + public static extern void GetMapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [OutAttribute] IntPtr points); /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapControlPointsNV")] - public static - void GetMapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [InAttribute, OutAttribute] T6[] points) + public static extern void GetMapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [InAttribute, OutAttribute] T6[] points) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glGetMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapControlPointsNV")] - public static - void GetMapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [InAttribute, OutAttribute] T6[,] points) + public static extern void GetMapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [InAttribute, OutAttribute] T6[,] points) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glGetMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapControlPointsNV")] - public static - void GetMapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [InAttribute, OutAttribute] T6[,,] points) + public static extern void GetMapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [InAttribute, OutAttribute] T6[,,] points) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glGetMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapControlPointsNV")] - public static - void GetMapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [InAttribute, OutAttribute] ref T6 points) + public static extern void GetMapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [InAttribute, OutAttribute] ref T6 points) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glGetMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - points = (T6)points_ptr.Target; - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapParameterfvNV")] - public static - void GetMapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetMapParameterfvNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Single[] @params); /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapParameterfvNV")] - public static - void GetMapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetMapParameterfvNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] out Single @params); /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapParameterfvNV")] - public static - unsafe void GetMapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMapParameterfvNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Single* @params); /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapParameterivNV")] - public static - void GetMapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetMapParameterivNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Int32[] @params); /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapParameterivNV")] - public static - void GetMapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetMapParameterivNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] out Int32 @params); /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glGetMapParameterivNV")] - public static - unsafe void GetMapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMapParameterivNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Int32* @params); /// [requires: NV_explicit_multisample] /// Retrieve the location of a sample @@ -210461,24 +112827,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_explicit_multisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] - public static - void GetMultisample(OpenTK.Graphics.OpenGL.NvExplicitMultisample pname, Int32 index, [OutAttribute] Single[] val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* val_ptr = val) - { - Delegates.glGetMultisamplefvNV((OpenTK.Graphics.OpenGL.NvExplicitMultisample)pname, (UInt32)index, (Single*)val_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMultisample(OpenTK.Graphics.OpenGL.NvExplicitMultisample pname, Int32 index, [OutAttribute] Single[] val); /// [requires: NV_explicit_multisample] /// Retrieve the location of a sample @@ -210499,25 +112848,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_explicit_multisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] - public static - void GetMultisample(OpenTK.Graphics.OpenGL.NvExplicitMultisample pname, Int32 index, [OutAttribute] out Single val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* val_ptr = &val) - { - Delegates.glGetMultisamplefvNV((OpenTK.Graphics.OpenGL.NvExplicitMultisample)pname, (UInt32)index, (Single*)val_ptr); - val = *val_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMultisample(OpenTK.Graphics.OpenGL.NvExplicitMultisample pname, Int32 index, [OutAttribute] out Single val); /// [requires: NV_explicit_multisample] /// Retrieve the location of a sample @@ -210539,18 +112870,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_explicit_multisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] - public static - unsafe void GetMultisample(OpenTK.Graphics.OpenGL.NvExplicitMultisample pname, Int32 index, [OutAttribute] Single* val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultisamplefvNV((OpenTK.Graphics.OpenGL.NvExplicitMultisample)pname, (UInt32)index, (Single*)val); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMultisample(OpenTK.Graphics.OpenGL.NvExplicitMultisample pname, Int32 index, [OutAttribute] Single* val); /// [requires: NV_explicit_multisample] /// Retrieve the location of a sample @@ -210572,24 +112892,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_explicit_multisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] - public static - void GetMultisample(OpenTK.Graphics.OpenGL.NvExplicitMultisample pname, UInt32 index, [OutAttribute] Single[] val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* val_ptr = val) - { - Delegates.glGetMultisamplefvNV((OpenTK.Graphics.OpenGL.NvExplicitMultisample)pname, (UInt32)index, (Single*)val_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMultisample(OpenTK.Graphics.OpenGL.NvExplicitMultisample pname, UInt32 index, [OutAttribute] Single[] val); /// [requires: NV_explicit_multisample] /// Retrieve the location of a sample @@ -210611,25 +112914,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_explicit_multisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] - public static - void GetMultisample(OpenTK.Graphics.OpenGL.NvExplicitMultisample pname, UInt32 index, [OutAttribute] out Single val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* val_ptr = &val) - { - Delegates.glGetMultisamplefvNV((OpenTK.Graphics.OpenGL.NvExplicitMultisample)pname, (UInt32)index, (Single*)val_ptr); - val = *val_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMultisample(OpenTK.Graphics.OpenGL.NvExplicitMultisample pname, UInt32 index, [OutAttribute] out Single val); /// [requires: NV_explicit_multisample] /// Retrieve the location of a sample @@ -210651,3260 +112936,753 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_explicit_multisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] - public static - unsafe void GetMultisample(OpenTK.Graphics.OpenGL.NvExplicitMultisample pname, UInt32 index, [OutAttribute] Single* val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultisamplefvNV((OpenTK.Graphics.OpenGL.NvExplicitMultisample)pname, (UInt32)index, (Single*)val); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMultisample(OpenTK.Graphics.OpenGL.NvExplicitMultisample pname, UInt32 index, [OutAttribute] Single* val); /// [requires: NV_shader_buffer_load] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetNamedBufferParameterui64vNV")] - public static - void GetNamedBufferParameter(Int32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetNamedBufferParameterui64vNV((UInt32)buffer, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (UInt64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedBufferParameter(Int32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] Int64[] @params); /// [requires: NV_shader_buffer_load] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetNamedBufferParameterui64vNV")] - public static - void GetNamedBufferParameter(Int32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetNamedBufferParameterui64vNV((UInt32)buffer, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (UInt64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedBufferParameter(Int32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] out Int64 @params); /// [requires: NV_shader_buffer_load] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetNamedBufferParameterui64vNV")] - public static - unsafe void GetNamedBufferParameter(Int32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedBufferParameterui64vNV((UInt32)buffer, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (UInt64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetNamedBufferParameter(Int32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] Int64* @params); /// [requires: NV_shader_buffer_load] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetNamedBufferParameterui64vNV")] - public static - void GetNamedBufferParameter(UInt32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] UInt64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = @params) - { - Delegates.glGetNamedBufferParameterui64vNV((UInt32)buffer, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (UInt64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedBufferParameter(UInt32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] UInt64[] @params); /// [requires: NV_shader_buffer_load] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetNamedBufferParameterui64vNV")] - public static - void GetNamedBufferParameter(UInt32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] out UInt64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = &@params) - { - Delegates.glGetNamedBufferParameterui64vNV((UInt32)buffer, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (UInt64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedBufferParameter(UInt32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] out UInt64 @params); /// [requires: NV_shader_buffer_load] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetNamedBufferParameterui64vNV")] - public static - unsafe void GetNamedBufferParameter(UInt32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] UInt64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedBufferParameterui64vNV((UInt32)buffer, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (UInt64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetNamedBufferParameter(UInt32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] UInt64* @params); /// [requires: NV_occlusion_query] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glGetOcclusionQueryivNV")] - public static - void GetOcclusionQuery(Int32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvOcclusionQuery)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetOcclusionQuery(Int32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] Int32[] @params); /// [requires: NV_occlusion_query] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glGetOcclusionQueryivNV")] - public static - void GetOcclusionQuery(Int32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvOcclusionQuery)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetOcclusionQuery(Int32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] out Int32 @params); /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glGetOcclusionQueryivNV")] - public static - unsafe void GetOcclusionQuery(Int32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvOcclusionQuery)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetOcclusionQuery(Int32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] Int32* @params); /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glGetOcclusionQueryivNV")] - public static - void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvOcclusionQuery)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] Int32[] @params); /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glGetOcclusionQueryivNV")] - public static - void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvOcclusionQuery)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] out Int32 @params); /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glGetOcclusionQueryivNV")] - public static - unsafe void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvOcclusionQuery)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] Int32* @params); /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glGetOcclusionQueryuivNV")] - public static - void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetOcclusionQueryuivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvOcclusionQuery)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] UInt32[] @params); /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glGetOcclusionQueryuivNV")] - public static - void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetOcclusionQueryuivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvOcclusionQuery)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] out UInt32 @params); /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glGetOcclusionQueryuivNV")] - public static - unsafe void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetOcclusionQueryuivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvOcclusionQuery)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] UInt32* @params); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathColorGenfvNV")] - public static - void GetPathColorGen(OpenTK.Graphics.OpenGL.NvPathRendering color, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glGetPathColorGenfvNV((OpenTK.Graphics.OpenGL.NvPathRendering)color, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathColorGen(OpenTK.Graphics.OpenGL.NvPathRendering color, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Single[] value); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathColorGenfvNV")] - public static - void GetPathColorGen(OpenTK.Graphics.OpenGL.NvPathRendering color, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] out Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glGetPathColorGenfvNV((OpenTK.Graphics.OpenGL.NvPathRendering)color, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Single*)value_ptr); - value = *value_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathColorGen(OpenTK.Graphics.OpenGL.NvPathRendering color, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] out Single value); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathColorGenfvNV")] - public static - unsafe void GetPathColorGen(OpenTK.Graphics.OpenGL.NvPathRendering color, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPathColorGenfvNV((OpenTK.Graphics.OpenGL.NvPathRendering)color, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPathColorGen(OpenTK.Graphics.OpenGL.NvPathRendering color, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Single* value); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathColorGenivNV")] - public static - void GetPathColorGen(OpenTK.Graphics.OpenGL.NvPathRendering color, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glGetPathColorGenivNV((OpenTK.Graphics.OpenGL.NvPathRendering)color, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathColorGen(OpenTK.Graphics.OpenGL.NvPathRendering color, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Int32[] value); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathColorGenivNV")] - public static - void GetPathColorGen(OpenTK.Graphics.OpenGL.NvPathRendering color, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] out Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glGetPathColorGenivNV((OpenTK.Graphics.OpenGL.NvPathRendering)color, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Int32*)value_ptr); - value = *value_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathColorGen(OpenTK.Graphics.OpenGL.NvPathRendering color, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] out Int32 value); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathColorGenivNV")] - public static - unsafe void GetPathColorGen(OpenTK.Graphics.OpenGL.NvPathRendering color, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPathColorGenivNV((OpenTK.Graphics.OpenGL.NvPathRendering)color, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPathColorGen(OpenTK.Graphics.OpenGL.NvPathRendering color, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Int32* value); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathCommandsNV")] - public static - Byte GetPathCommand(Int32 path) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Byte retval; - Byte* commands_ptr = &retval; - Delegates.glGetPathCommandsNV((UInt32)path, (Byte*)commands_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Byte GetPathCommand(Int32 path); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathCommandsNV")] - public static - Byte GetPathCommand(UInt32 path) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Byte retval; - Byte* commands_ptr = &retval; - Delegates.glGetPathCommandsNV((UInt32)path, (Byte*)commands_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Byte GetPathCommand(UInt32 path); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathCommandsNV")] - public static - void GetPathCommands(Int32 path, [OutAttribute] Byte[] commands) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = commands) - { - Delegates.glGetPathCommandsNV((UInt32)path, (Byte*)commands_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathCommands(Int32 path, [OutAttribute] Byte[] commands); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathCommandsNV")] - public static - void GetPathCommands(Int32 path, [OutAttribute] out Byte commands) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = &commands) - { - Delegates.glGetPathCommandsNV((UInt32)path, (Byte*)commands_ptr); - commands = *commands_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathCommands(Int32 path, [OutAttribute] out Byte commands); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathCommandsNV")] - public static - unsafe void GetPathCommands(Int32 path, [OutAttribute] Byte* commands) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPathCommandsNV((UInt32)path, (Byte*)commands); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPathCommands(Int32 path, [OutAttribute] Byte* commands); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathCommandsNV")] - public static - void GetPathCommands(UInt32 path, [OutAttribute] Byte[] commands) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = commands) - { - Delegates.glGetPathCommandsNV((UInt32)path, (Byte*)commands_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathCommands(UInt32 path, [OutAttribute] Byte[] commands); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathCommandsNV")] - public static - void GetPathCommands(UInt32 path, [OutAttribute] out Byte commands) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = &commands) - { - Delegates.glGetPathCommandsNV((UInt32)path, (Byte*)commands_ptr); - commands = *commands_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathCommands(UInt32 path, [OutAttribute] out Byte commands); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathCommandsNV")] - public static - unsafe void GetPathCommands(UInt32 path, [OutAttribute] Byte* commands) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPathCommandsNV((UInt32)path, (Byte*)commands); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPathCommands(UInt32 path, [OutAttribute] Byte* commands); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathCoordsNV")] - public static - Single GetPathCoord(Int32 path) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* coords_ptr = &retval; - Delegates.glGetPathCoordsNV((UInt32)path, (Single*)coords_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Single GetPathCoord(Int32 path); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathCoordsNV")] - public static - Single GetPathCoord(UInt32 path) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* coords_ptr = &retval; - Delegates.glGetPathCoordsNV((UInt32)path, (Single*)coords_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Single GetPathCoord(UInt32 path); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathCoordsNV")] - public static - void GetPathCoords(Int32 path, [OutAttribute] Single[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = coords) - { - Delegates.glGetPathCoordsNV((UInt32)path, (Single*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathCoords(Int32 path, [OutAttribute] Single[] coords); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathCoordsNV")] - public static - void GetPathCoords(Int32 path, [OutAttribute] out Single coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = &coords) - { - Delegates.glGetPathCoordsNV((UInt32)path, (Single*)coords_ptr); - coords = *coords_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathCoords(Int32 path, [OutAttribute] out Single coords); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathCoordsNV")] - public static - unsafe void GetPathCoords(Int32 path, [OutAttribute] Single* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPathCoordsNV((UInt32)path, (Single*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPathCoords(Int32 path, [OutAttribute] Single* coords); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathCoordsNV")] - public static - void GetPathCoords(UInt32 path, [OutAttribute] Single[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = coords) - { - Delegates.glGetPathCoordsNV((UInt32)path, (Single*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathCoords(UInt32 path, [OutAttribute] Single[] coords); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathCoordsNV")] - public static - void GetPathCoords(UInt32 path, [OutAttribute] out Single coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = &coords) - { - Delegates.glGetPathCoordsNV((UInt32)path, (Single*)coords_ptr); - coords = *coords_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathCoords(UInt32 path, [OutAttribute] out Single coords); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathCoordsNV")] - public static - unsafe void GetPathCoords(UInt32 path, [OutAttribute] Single* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPathCoordsNV((UInt32)path, (Single*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPathCoords(UInt32 path, [OutAttribute] Single* coords); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathDashArrayNV")] - public static - Single GetPathDashArray(Int32 path) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* dashArray_ptr = &retval; - Delegates.glGetPathDashArrayNV((UInt32)path, (Single*)dashArray_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Single GetPathDashArray(Int32 path); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathDashArrayNV")] - public static - Single GetPathDashArray(UInt32 path) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* dashArray_ptr = &retval; - Delegates.glGetPathDashArrayNV((UInt32)path, (Single*)dashArray_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Single GetPathDashArray(UInt32 path); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathDashArrayNV")] - public static - void GetPathDashArray(Int32 path, [OutAttribute] Single[] dashArray) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* dashArray_ptr = dashArray) - { - Delegates.glGetPathDashArrayNV((UInt32)path, (Single*)dashArray_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathDashArray(Int32 path, [OutAttribute] Single[] dashArray); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathDashArrayNV")] - public static - void GetPathDashArray(Int32 path, [OutAttribute] out Single dashArray) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* dashArray_ptr = &dashArray) - { - Delegates.glGetPathDashArrayNV((UInt32)path, (Single*)dashArray_ptr); - dashArray = *dashArray_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathDashArray(Int32 path, [OutAttribute] out Single dashArray); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathDashArrayNV")] - public static - unsafe void GetPathDashArray(Int32 path, [OutAttribute] Single* dashArray) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPathDashArrayNV((UInt32)path, (Single*)dashArray); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPathDashArray(Int32 path, [OutAttribute] Single* dashArray); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathDashArrayNV")] - public static - void GetPathDashArray(UInt32 path, [OutAttribute] Single[] dashArray) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* dashArray_ptr = dashArray) - { - Delegates.glGetPathDashArrayNV((UInt32)path, (Single*)dashArray_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathDashArray(UInt32 path, [OutAttribute] Single[] dashArray); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathDashArrayNV")] - public static - void GetPathDashArray(UInt32 path, [OutAttribute] out Single dashArray) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* dashArray_ptr = &dashArray) - { - Delegates.glGetPathDashArrayNV((UInt32)path, (Single*)dashArray_ptr); - dashArray = *dashArray_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathDashArray(UInt32 path, [OutAttribute] out Single dashArray); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathDashArrayNV")] - public static - unsafe void GetPathDashArray(UInt32 path, [OutAttribute] Single* dashArray) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPathDashArrayNV((UInt32)path, (Single*)dashArray); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPathDashArray(UInt32 path, [OutAttribute] Single* dashArray); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathLengthNV")] - public static - Single GetPathLength(Int32 path, Int32 startSegment, Int32 numSegments) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetPathLengthNV((UInt32)path, (Int32)startSegment, (Int32)numSegments); - #if DEBUG - } - #endif - } + public static extern Single GetPathLength(Int32 path, Int32 startSegment, Int32 numSegments); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathLengthNV")] - public static - Single GetPathLength(UInt32 path, Int32 startSegment, Int32 numSegments) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetPathLengthNV((UInt32)path, (Int32)startSegment, (Int32)numSegments); - #if DEBUG - } - #endif - } + public static extern Single GetPathLength(UInt32 path, Int32 startSegment, Int32 numSegments); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricRangeNV")] - public static - void GetPathMetricRange(Int32 metricQueryMask, Int32 firstPathName, Int32 numPaths, Int32 stride, [OutAttribute] Single[] metrics) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* metrics_ptr = metrics) - { - Delegates.glGetPathMetricRangeNV((UInt32)metricQueryMask, (UInt32)firstPathName, (Int32)numPaths, (Int32)stride, (Single*)metrics_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathMetricRange(Int32 metricQueryMask, Int32 firstPathName, Int32 numPaths, Int32 stride, [OutAttribute] Single[] metrics); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricRangeNV")] - public static - void GetPathMetricRange(Int32 metricQueryMask, Int32 firstPathName, Int32 numPaths, Int32 stride, [OutAttribute] out Single metrics) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* metrics_ptr = &metrics) - { - Delegates.glGetPathMetricRangeNV((UInt32)metricQueryMask, (UInt32)firstPathName, (Int32)numPaths, (Int32)stride, (Single*)metrics_ptr); - metrics = *metrics_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathMetricRange(Int32 metricQueryMask, Int32 firstPathName, Int32 numPaths, Int32 stride, [OutAttribute] out Single metrics); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricRangeNV")] - public static - unsafe void GetPathMetricRange(Int32 metricQueryMask, Int32 firstPathName, Int32 numPaths, Int32 stride, [OutAttribute] Single* metrics) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPathMetricRangeNV((UInt32)metricQueryMask, (UInt32)firstPathName, (Int32)numPaths, (Int32)stride, (Single*)metrics); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPathMetricRange(Int32 metricQueryMask, Int32 firstPathName, Int32 numPaths, Int32 stride, [OutAttribute] Single* metrics); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricRangeNV")] - public static - void GetPathMetricRange(UInt32 metricQueryMask, UInt32 firstPathName, Int32 numPaths, Int32 stride, [OutAttribute] Single[] metrics) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* metrics_ptr = metrics) - { - Delegates.glGetPathMetricRangeNV((UInt32)metricQueryMask, (UInt32)firstPathName, (Int32)numPaths, (Int32)stride, (Single*)metrics_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathMetricRange(UInt32 metricQueryMask, UInt32 firstPathName, Int32 numPaths, Int32 stride, [OutAttribute] Single[] metrics); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricRangeNV")] - public static - void GetPathMetricRange(UInt32 metricQueryMask, UInt32 firstPathName, Int32 numPaths, Int32 stride, [OutAttribute] out Single metrics) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* metrics_ptr = &metrics) - { - Delegates.glGetPathMetricRangeNV((UInt32)metricQueryMask, (UInt32)firstPathName, (Int32)numPaths, (Int32)stride, (Single*)metrics_ptr); - metrics = *metrics_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathMetricRange(UInt32 metricQueryMask, UInt32 firstPathName, Int32 numPaths, Int32 stride, [OutAttribute] out Single metrics); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricRangeNV")] - public static - unsafe void GetPathMetricRange(UInt32 metricQueryMask, UInt32 firstPathName, Int32 numPaths, Int32 stride, [OutAttribute] Single* metrics) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPathMetricRangeNV((UInt32)metricQueryMask, (UInt32)firstPathName, (Int32)numPaths, (Int32)stride, (Single*)metrics); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPathMetricRange(UInt32 metricQueryMask, UInt32 firstPathName, Int32 numPaths, Int32 stride, [OutAttribute] Single* metrics); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static - void GetPathMetric(Int32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, Int32 stride, [OutAttribute] Single[] metrics) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* metrics_ptr = metrics) - { - Delegates.glGetPathMetricsNV((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Int32)stride, (Single*)metrics_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathMetric(Int32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, Int32 stride, [OutAttribute] Single[] metrics); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static - void GetPathMetric(Int32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, Int32 stride, [OutAttribute] out Single metrics) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* metrics_ptr = &metrics) - { - Delegates.glGetPathMetricsNV((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Int32)stride, (Single*)metrics_ptr); - metrics = *metrics_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathMetric(Int32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, Int32 stride, [OutAttribute] out Single metrics); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static - unsafe void GetPathMetric(Int32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, Int32 stride, [OutAttribute] Single* metrics) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPathMetricsNV((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Int32)stride, (Single*)metrics); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPathMetric(Int32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, Int32 stride, [OutAttribute] Single* metrics); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static - void GetPathMetric(Int32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[] paths, Int32 pathBase, Int32 stride, [OutAttribute] Single[] metrics) + public static extern void GetPathMetric(Int32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[] paths, Int32 pathBase, Int32 stride, [OutAttribute] Single[] metrics) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* metrics_ptr = metrics) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathMetricsNV((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (Single*)metrics_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static - void GetPathMetric(Int32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[] paths, Int32 pathBase, Int32 stride, [OutAttribute] out Single metrics) + public static extern void GetPathMetric(Int32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[] paths, Int32 pathBase, Int32 stride, [OutAttribute] out Single metrics) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* metrics_ptr = &metrics) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathMetricsNV((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (Single*)metrics_ptr); - metrics = *metrics_ptr; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static - unsafe void GetPathMetric(Int32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[] paths, Int32 pathBase, Int32 stride, [OutAttribute] Single* metrics) + public static extern unsafe void GetPathMetric(Int32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[] paths, Int32 pathBase, Int32 stride, [OutAttribute] Single* metrics) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathMetricsNV((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (Single*)metrics); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static - void GetPathMetric(Int32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,] paths, Int32 pathBase, Int32 stride, [OutAttribute] Single[] metrics) + public static extern void GetPathMetric(Int32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,] paths, Int32 pathBase, Int32 stride, [OutAttribute] Single[] metrics) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* metrics_ptr = metrics) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathMetricsNV((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (Single*)metrics_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static - void GetPathMetric(Int32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,] paths, Int32 pathBase, Int32 stride, [OutAttribute] out Single metrics) + public static extern void GetPathMetric(Int32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,] paths, Int32 pathBase, Int32 stride, [OutAttribute] out Single metrics) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* metrics_ptr = &metrics) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathMetricsNV((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (Single*)metrics_ptr); - metrics = *metrics_ptr; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static - unsafe void GetPathMetric(Int32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,] paths, Int32 pathBase, Int32 stride, [OutAttribute] Single* metrics) + public static extern unsafe void GetPathMetric(Int32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,] paths, Int32 pathBase, Int32 stride, [OutAttribute] Single* metrics) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathMetricsNV((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (Single*)metrics); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static - void GetPathMetric(Int32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,,] paths, Int32 pathBase, Int32 stride, [OutAttribute] Single[] metrics) + public static extern void GetPathMetric(Int32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,,] paths, Int32 pathBase, Int32 stride, [OutAttribute] Single[] metrics) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* metrics_ptr = metrics) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathMetricsNV((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (Single*)metrics_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static - void GetPathMetric(Int32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,,] paths, Int32 pathBase, Int32 stride, [OutAttribute] out Single metrics) + public static extern void GetPathMetric(Int32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,,] paths, Int32 pathBase, Int32 stride, [OutAttribute] out Single metrics) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* metrics_ptr = &metrics) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathMetricsNV((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (Single*)metrics_ptr); - metrics = *metrics_ptr; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static - unsafe void GetPathMetric(Int32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,,] paths, Int32 pathBase, Int32 stride, [OutAttribute] Single* metrics) + public static extern unsafe void GetPathMetric(Int32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,,] paths, Int32 pathBase, Int32 stride, [OutAttribute] Single* metrics) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathMetricsNV((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (Single*)metrics); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static - void GetPathMetric(Int32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T3 paths, Int32 pathBase, Int32 stride, [OutAttribute] Single[] metrics) + public static extern void GetPathMetric(Int32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T3 paths, Int32 pathBase, Int32 stride, [OutAttribute] Single[] metrics) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* metrics_ptr = metrics) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathMetricsNV((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (Single*)metrics_ptr); - paths = (T3)paths_ptr.Target; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static - void GetPathMetric(Int32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T3 paths, Int32 pathBase, Int32 stride, [OutAttribute] out Single metrics) + public static extern void GetPathMetric(Int32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T3 paths, Int32 pathBase, Int32 stride, [OutAttribute] out Single metrics) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* metrics_ptr = &metrics) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathMetricsNV((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (Single*)metrics_ptr); - paths = (T3)paths_ptr.Target; - metrics = *metrics_ptr; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static - unsafe void GetPathMetric(Int32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T3 paths, Int32 pathBase, Int32 stride, [OutAttribute] Single* metrics) + public static extern unsafe void GetPathMetric(Int32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T3 paths, Int32 pathBase, Int32 stride, [OutAttribute] Single* metrics) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathMetricsNV((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (Single*)metrics); - paths = (T3)paths_ptr.Target; - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static - void GetPathMetric(UInt32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, Int32 stride, [OutAttribute] Single[] metrics) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* metrics_ptr = metrics) - { - Delegates.glGetPathMetricsNV((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Int32)stride, (Single*)metrics_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathMetric(UInt32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, Int32 stride, [OutAttribute] Single[] metrics); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static - void GetPathMetric(UInt32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, Int32 stride, [OutAttribute] out Single metrics) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* metrics_ptr = &metrics) - { - Delegates.glGetPathMetricsNV((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Int32)stride, (Single*)metrics_ptr); - metrics = *metrics_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathMetric(UInt32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, Int32 stride, [OutAttribute] out Single metrics); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static - unsafe void GetPathMetric(UInt32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, Int32 stride, [OutAttribute] Single* metrics) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPathMetricsNV((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Int32)stride, (Single*)metrics); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPathMetric(UInt32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, Int32 stride, [OutAttribute] Single* metrics); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static - void GetPathMetric(UInt32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[] paths, UInt32 pathBase, Int32 stride, [OutAttribute] Single[] metrics) + public static extern void GetPathMetric(UInt32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[] paths, UInt32 pathBase, Int32 stride, [OutAttribute] Single[] metrics) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* metrics_ptr = metrics) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathMetricsNV((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (Single*)metrics_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static - void GetPathMetric(UInt32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[] paths, UInt32 pathBase, Int32 stride, [OutAttribute] out Single metrics) + public static extern void GetPathMetric(UInt32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[] paths, UInt32 pathBase, Int32 stride, [OutAttribute] out Single metrics) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* metrics_ptr = &metrics) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathMetricsNV((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (Single*)metrics_ptr); - metrics = *metrics_ptr; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static - unsafe void GetPathMetric(UInt32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[] paths, UInt32 pathBase, Int32 stride, [OutAttribute] Single* metrics) + public static extern unsafe void GetPathMetric(UInt32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[] paths, UInt32 pathBase, Int32 stride, [OutAttribute] Single* metrics) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathMetricsNV((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (Single*)metrics); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static - void GetPathMetric(UInt32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,] paths, UInt32 pathBase, Int32 stride, [OutAttribute] Single[] metrics) + public static extern void GetPathMetric(UInt32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,] paths, UInt32 pathBase, Int32 stride, [OutAttribute] Single[] metrics) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* metrics_ptr = metrics) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathMetricsNV((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (Single*)metrics_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static - void GetPathMetric(UInt32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,] paths, UInt32 pathBase, Int32 stride, [OutAttribute] out Single metrics) + public static extern void GetPathMetric(UInt32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,] paths, UInt32 pathBase, Int32 stride, [OutAttribute] out Single metrics) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* metrics_ptr = &metrics) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathMetricsNV((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (Single*)metrics_ptr); - metrics = *metrics_ptr; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static - unsafe void GetPathMetric(UInt32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,] paths, UInt32 pathBase, Int32 stride, [OutAttribute] Single* metrics) + public static extern unsafe void GetPathMetric(UInt32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,] paths, UInt32 pathBase, Int32 stride, [OutAttribute] Single* metrics) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathMetricsNV((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (Single*)metrics); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static - void GetPathMetric(UInt32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,,] paths, UInt32 pathBase, Int32 stride, [OutAttribute] Single[] metrics) + public static extern void GetPathMetric(UInt32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,,] paths, UInt32 pathBase, Int32 stride, [OutAttribute] Single[] metrics) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* metrics_ptr = metrics) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathMetricsNV((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (Single*)metrics_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static - void GetPathMetric(UInt32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,,] paths, UInt32 pathBase, Int32 stride, [OutAttribute] out Single metrics) + public static extern void GetPathMetric(UInt32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,,] paths, UInt32 pathBase, Int32 stride, [OutAttribute] out Single metrics) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* metrics_ptr = &metrics) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathMetricsNV((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (Single*)metrics_ptr); - metrics = *metrics_ptr; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static - unsafe void GetPathMetric(UInt32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,,] paths, UInt32 pathBase, Int32 stride, [OutAttribute] Single* metrics) + public static extern unsafe void GetPathMetric(UInt32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,,] paths, UInt32 pathBase, Int32 stride, [OutAttribute] Single* metrics) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathMetricsNV((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (Single*)metrics); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static - void GetPathMetric(UInt32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T3 paths, UInt32 pathBase, Int32 stride, [OutAttribute] Single[] metrics) + public static extern void GetPathMetric(UInt32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T3 paths, UInt32 pathBase, Int32 stride, [OutAttribute] Single[] metrics) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* metrics_ptr = metrics) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathMetricsNV((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (Single*)metrics_ptr); - paths = (T3)paths_ptr.Target; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static - void GetPathMetric(UInt32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T3 paths, UInt32 pathBase, Int32 stride, [OutAttribute] out Single metrics) + public static extern void GetPathMetric(UInt32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T3 paths, UInt32 pathBase, Int32 stride, [OutAttribute] out Single metrics) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* metrics_ptr = &metrics) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathMetricsNV((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (Single*)metrics_ptr); - paths = (T3)paths_ptr.Target; - metrics = *metrics_ptr; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathMetricsNV")] - public static - unsafe void GetPathMetric(UInt32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T3 paths, UInt32 pathBase, Int32 stride, [OutAttribute] Single* metrics) + public static extern unsafe void GetPathMetric(UInt32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T3 paths, UInt32 pathBase, Int32 stride, [OutAttribute] Single* metrics) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathMetricsNV((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)stride, (Single*)metrics); - paths = (T3)paths_ptr.Target; - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathParameterfvNV")] - public static - void GetPathParameter(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glGetPathParameterfvNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathParameter(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Single[] value); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathParameterfvNV")] - public static - void GetPathParameter(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] out Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glGetPathParameterfvNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Single*)value_ptr); - value = *value_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathParameter(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] out Single value); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathParameterfvNV")] - public static - unsafe void GetPathParameter(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPathParameterfvNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPathParameter(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Single* value); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathParameterfvNV")] - public static - void GetPathParameter(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glGetPathParameterfvNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathParameter(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Single[] value); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathParameterfvNV")] - public static - void GetPathParameter(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] out Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glGetPathParameterfvNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Single*)value_ptr); - value = *value_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathParameter(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] out Single value); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathParameterfvNV")] - public static - unsafe void GetPathParameter(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPathParameterfvNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPathParameter(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Single* value); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathParameterivNV")] - public static - void GetPathParameter(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glGetPathParameterivNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathParameter(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Int32[] value); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathParameterivNV")] - public static - void GetPathParameter(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] out Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glGetPathParameterivNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Int32*)value_ptr); - value = *value_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathParameter(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] out Int32 value); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathParameterivNV")] - public static - unsafe void GetPathParameter(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPathParameterivNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPathParameter(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Int32* value); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathParameterivNV")] - public static - void GetPathParameter(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glGetPathParameterivNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathParameter(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Int32[] value); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathParameterivNV")] - public static - void GetPathParameter(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] out Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glGetPathParameterivNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Int32*)value_ptr); - value = *value_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathParameter(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] out Int32 value); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathParameterivNV")] - public static - unsafe void GetPathParameter(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPathParameterivNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPathParameter(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Int32* value); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static - void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single[] returnedSpacing) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* returnedSpacing_ptr = returnedSpacing) - { - Delegates.glGetPathSpacingNV((OpenTK.Graphics.OpenGL.NvPathRendering)pathListMode, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Single)advanceScale, (Single)kerningScale, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)returnedSpacing_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single[] returnedSpacing); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static - void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] out Single returnedSpacing) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* returnedSpacing_ptr = &returnedSpacing) - { - Delegates.glGetPathSpacingNV((OpenTK.Graphics.OpenGL.NvPathRendering)pathListMode, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Single)advanceScale, (Single)kerningScale, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)returnedSpacing_ptr); - returnedSpacing = *returnedSpacing_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] out Single returnedSpacing); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static - unsafe void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single* returnedSpacing) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPathSpacingNV((OpenTK.Graphics.OpenGL.NvPathRendering)pathListMode, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Single)advanceScale, (Single)kerningScale, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)returnedSpacing); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single* returnedSpacing); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static - void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single[] returnedSpacing) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* returnedSpacing_ptr = returnedSpacing) - { - Delegates.glGetPathSpacingNV((OpenTK.Graphics.OpenGL.NvPathRendering)pathListMode, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Single)advanceScale, (Single)kerningScale, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)returnedSpacing_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single[] returnedSpacing); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static - void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] out Single returnedSpacing) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* returnedSpacing_ptr = &returnedSpacing) - { - Delegates.glGetPathSpacingNV((OpenTK.Graphics.OpenGL.NvPathRendering)pathListMode, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Single)advanceScale, (Single)kerningScale, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)returnedSpacing_ptr); - returnedSpacing = *returnedSpacing_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] out Single returnedSpacing); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static - unsafe void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single* returnedSpacing) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPathSpacingNV((OpenTK.Graphics.OpenGL.NvPathRendering)pathListMode, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Single)advanceScale, (Single)kerningScale, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)returnedSpacing); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single* returnedSpacing); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static - void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[] paths, Int32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single[] returnedSpacing) + public static extern void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[] paths, Int32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single[] returnedSpacing) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* returnedSpacing_ptr = returnedSpacing) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathSpacingNV((OpenTK.Graphics.OpenGL.NvPathRendering)pathListMode, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Single)advanceScale, (Single)kerningScale, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)returnedSpacing_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static - void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[] paths, Int32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] out Single returnedSpacing) + public static extern void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[] paths, Int32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] out Single returnedSpacing) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* returnedSpacing_ptr = &returnedSpacing) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathSpacingNV((OpenTK.Graphics.OpenGL.NvPathRendering)pathListMode, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Single)advanceScale, (Single)kerningScale, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)returnedSpacing_ptr); - returnedSpacing = *returnedSpacing_ptr; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static - unsafe void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[] paths, Int32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single* returnedSpacing) + public static extern unsafe void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[] paths, Int32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single* returnedSpacing) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathSpacingNV((OpenTK.Graphics.OpenGL.NvPathRendering)pathListMode, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Single)advanceScale, (Single)kerningScale, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)returnedSpacing); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static - void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[] paths, UInt32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single[] returnedSpacing) + public static extern void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[] paths, UInt32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single[] returnedSpacing) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* returnedSpacing_ptr = returnedSpacing) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathSpacingNV((OpenTK.Graphics.OpenGL.NvPathRendering)pathListMode, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Single)advanceScale, (Single)kerningScale, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)returnedSpacing_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static - void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[] paths, UInt32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] out Single returnedSpacing) + public static extern void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[] paths, UInt32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] out Single returnedSpacing) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* returnedSpacing_ptr = &returnedSpacing) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathSpacingNV((OpenTK.Graphics.OpenGL.NvPathRendering)pathListMode, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Single)advanceScale, (Single)kerningScale, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)returnedSpacing_ptr); - returnedSpacing = *returnedSpacing_ptr; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static - unsafe void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[] paths, UInt32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single* returnedSpacing) + public static extern unsafe void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[] paths, UInt32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single* returnedSpacing) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathSpacingNV((OpenTK.Graphics.OpenGL.NvPathRendering)pathListMode, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Single)advanceScale, (Single)kerningScale, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)returnedSpacing); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static - void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,] paths, Int32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single[] returnedSpacing) + public static extern void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,] paths, Int32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single[] returnedSpacing) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* returnedSpacing_ptr = returnedSpacing) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathSpacingNV((OpenTK.Graphics.OpenGL.NvPathRendering)pathListMode, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Single)advanceScale, (Single)kerningScale, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)returnedSpacing_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static - void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,] paths, Int32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] out Single returnedSpacing) + public static extern void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,] paths, Int32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] out Single returnedSpacing) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* returnedSpacing_ptr = &returnedSpacing) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathSpacingNV((OpenTK.Graphics.OpenGL.NvPathRendering)pathListMode, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Single)advanceScale, (Single)kerningScale, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)returnedSpacing_ptr); - returnedSpacing = *returnedSpacing_ptr; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static - unsafe void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,] paths, Int32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single* returnedSpacing) + public static extern unsafe void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,] paths, Int32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single* returnedSpacing) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathSpacingNV((OpenTK.Graphics.OpenGL.NvPathRendering)pathListMode, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Single)advanceScale, (Single)kerningScale, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)returnedSpacing); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static - void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,] paths, UInt32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single[] returnedSpacing) + public static extern void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,] paths, UInt32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single[] returnedSpacing) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* returnedSpacing_ptr = returnedSpacing) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathSpacingNV((OpenTK.Graphics.OpenGL.NvPathRendering)pathListMode, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Single)advanceScale, (Single)kerningScale, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)returnedSpacing_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static - void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,] paths, UInt32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] out Single returnedSpacing) + public static extern void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,] paths, UInt32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] out Single returnedSpacing) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* returnedSpacing_ptr = &returnedSpacing) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathSpacingNV((OpenTK.Graphics.OpenGL.NvPathRendering)pathListMode, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Single)advanceScale, (Single)kerningScale, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)returnedSpacing_ptr); - returnedSpacing = *returnedSpacing_ptr; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static - unsafe void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,] paths, UInt32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single* returnedSpacing) + public static extern unsafe void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,] paths, UInt32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single* returnedSpacing) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathSpacingNV((OpenTK.Graphics.OpenGL.NvPathRendering)pathListMode, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Single)advanceScale, (Single)kerningScale, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)returnedSpacing); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static - void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,,] paths, Int32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single[] returnedSpacing) + public static extern void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,,] paths, Int32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single[] returnedSpacing) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* returnedSpacing_ptr = returnedSpacing) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathSpacingNV((OpenTK.Graphics.OpenGL.NvPathRendering)pathListMode, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Single)advanceScale, (Single)kerningScale, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)returnedSpacing_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static - void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,,] paths, Int32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] out Single returnedSpacing) + public static extern void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,,] paths, Int32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] out Single returnedSpacing) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* returnedSpacing_ptr = &returnedSpacing) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathSpacingNV((OpenTK.Graphics.OpenGL.NvPathRendering)pathListMode, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Single)advanceScale, (Single)kerningScale, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)returnedSpacing_ptr); - returnedSpacing = *returnedSpacing_ptr; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static - unsafe void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,,] paths, Int32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single* returnedSpacing) + public static extern unsafe void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,,] paths, Int32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single* returnedSpacing) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathSpacingNV((OpenTK.Graphics.OpenGL.NvPathRendering)pathListMode, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Single)advanceScale, (Single)kerningScale, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)returnedSpacing); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static - void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,,] paths, UInt32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single[] returnedSpacing) + public static extern void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,,] paths, UInt32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single[] returnedSpacing) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* returnedSpacing_ptr = returnedSpacing) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathSpacingNV((OpenTK.Graphics.OpenGL.NvPathRendering)pathListMode, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Single)advanceScale, (Single)kerningScale, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)returnedSpacing_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static - void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,,] paths, UInt32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] out Single returnedSpacing) + public static extern void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,,] paths, UInt32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] out Single returnedSpacing) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* returnedSpacing_ptr = &returnedSpacing) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathSpacingNV((OpenTK.Graphics.OpenGL.NvPathRendering)pathListMode, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Single)advanceScale, (Single)kerningScale, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)returnedSpacing_ptr); - returnedSpacing = *returnedSpacing_ptr; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static - unsafe void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,,] paths, UInt32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single* returnedSpacing) + public static extern unsafe void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T3[,,] paths, UInt32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single* returnedSpacing) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathSpacingNV((OpenTK.Graphics.OpenGL.NvPathRendering)pathListMode, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Single)advanceScale, (Single)kerningScale, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)returnedSpacing); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static - void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T3 paths, Int32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single[] returnedSpacing) + public static extern void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T3 paths, Int32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single[] returnedSpacing) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* returnedSpacing_ptr = returnedSpacing) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathSpacingNV((OpenTK.Graphics.OpenGL.NvPathRendering)pathListMode, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Single)advanceScale, (Single)kerningScale, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)returnedSpacing_ptr); - paths = (T3)paths_ptr.Target; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static - void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T3 paths, Int32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] out Single returnedSpacing) + public static extern void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T3 paths, Int32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] out Single returnedSpacing) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* returnedSpacing_ptr = &returnedSpacing) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathSpacingNV((OpenTK.Graphics.OpenGL.NvPathRendering)pathListMode, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Single)advanceScale, (Single)kerningScale, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)returnedSpacing_ptr); - paths = (T3)paths_ptr.Target; - returnedSpacing = *returnedSpacing_ptr; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static - unsafe void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T3 paths, Int32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single* returnedSpacing) + public static extern unsafe void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T3 paths, Int32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single* returnedSpacing) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathSpacingNV((OpenTK.Graphics.OpenGL.NvPathRendering)pathListMode, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Single)advanceScale, (Single)kerningScale, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)returnedSpacing); - paths = (T3)paths_ptr.Target; - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static - void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T3 paths, UInt32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single[] returnedSpacing) + public static extern void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T3 paths, UInt32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single[] returnedSpacing) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* returnedSpacing_ptr = returnedSpacing) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathSpacingNV((OpenTK.Graphics.OpenGL.NvPathRendering)pathListMode, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Single)advanceScale, (Single)kerningScale, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)returnedSpacing_ptr); - paths = (T3)paths_ptr.Target; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static - void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T3 paths, UInt32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] out Single returnedSpacing) + public static extern void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T3 paths, UInt32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] out Single returnedSpacing) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* returnedSpacing_ptr = &returnedSpacing) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathSpacingNV((OpenTK.Graphics.OpenGL.NvPathRendering)pathListMode, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Single)advanceScale, (Single)kerningScale, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)returnedSpacing_ptr); - paths = (T3)paths_ptr.Target; - returnedSpacing = *returnedSpacing_ptr; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathSpacingNV")] - public static - unsafe void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T3 paths, UInt32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single* returnedSpacing) + public static extern unsafe void GetPathSpacing(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T3 paths, UInt32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single* returnedSpacing) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glGetPathSpacingNV((OpenTK.Graphics.OpenGL.NvPathRendering)pathListMode, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Single)advanceScale, (Single)kerningScale, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)returnedSpacing); - paths = (T3)paths_ptr.Target; - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathTexGenfvNV")] - public static - void GetPathTexGen(OpenTK.Graphics.OpenGL.TextureUnit texCoordSet, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glGetPathTexGenfvNV((OpenTK.Graphics.OpenGL.TextureUnit)texCoordSet, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathTexGen(OpenTK.Graphics.OpenGL.TextureUnit texCoordSet, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Single[] value); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathTexGenfvNV")] - public static - void GetPathTexGen(OpenTK.Graphics.OpenGL.TextureUnit texCoordSet, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] out Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glGetPathTexGenfvNV((OpenTK.Graphics.OpenGL.TextureUnit)texCoordSet, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Single*)value_ptr); - value = *value_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathTexGen(OpenTK.Graphics.OpenGL.TextureUnit texCoordSet, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] out Single value); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathTexGenfvNV")] - public static - unsafe void GetPathTexGen(OpenTK.Graphics.OpenGL.TextureUnit texCoordSet, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPathTexGenfvNV((OpenTK.Graphics.OpenGL.TextureUnit)texCoordSet, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPathTexGen(OpenTK.Graphics.OpenGL.TextureUnit texCoordSet, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Single* value); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathTexGenivNV")] - public static - void GetPathTexGen(OpenTK.Graphics.OpenGL.TextureUnit texCoordSet, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glGetPathTexGenivNV((OpenTK.Graphics.OpenGL.TextureUnit)texCoordSet, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathTexGen(OpenTK.Graphics.OpenGL.TextureUnit texCoordSet, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Int32[] value); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathTexGenivNV")] - public static - void GetPathTexGen(OpenTK.Graphics.OpenGL.TextureUnit texCoordSet, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] out Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glGetPathTexGenivNV((OpenTK.Graphics.OpenGL.TextureUnit)texCoordSet, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Int32*)value_ptr); - value = *value_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPathTexGen(OpenTK.Graphics.OpenGL.TextureUnit texCoordSet, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] out Int32 value); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glGetPathTexGenivNV")] - public static - unsafe void GetPathTexGen(OpenTK.Graphics.OpenGL.TextureUnit texCoordSet, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPathTexGenivNV((OpenTK.Graphics.OpenGL.TextureUnit)texCoordSet, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPathTexGen(OpenTK.Graphics.OpenGL.TextureUnit texCoordSet, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Int32* value); /// [requires: NV_gpu_program4] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramEnvParameterIivNV")] - public static - void GetProgramEnvParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramEnvParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, [OutAttribute] Int32[] @params); /// [requires: NV_gpu_program4] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramEnvParameterIivNV")] - public static - void GetProgramEnvParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramEnvParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, [OutAttribute] out Int32 @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramEnvParameterIivNV")] - public static - unsafe void GetProgramEnvParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramEnvParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, [OutAttribute] Int32* @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramEnvParameterIivNV")] - public static - void GetProgramEnvParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramEnvParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] Int32[] @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramEnvParameterIivNV")] - public static - void GetProgramEnvParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramEnvParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] out Int32 @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramEnvParameterIivNV")] - public static - unsafe void GetProgramEnvParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramEnvParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] Int32* @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramEnvParameterIuivNV")] - public static - void GetProgramEnvParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetProgramEnvParameterIuivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramEnvParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] UInt32[] @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramEnvParameterIuivNV")] - public static - void GetProgramEnvParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetProgramEnvParameterIuivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramEnvParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] out UInt32 @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramEnvParameterIuivNV")] - public static - unsafe void GetProgramEnvParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramEnvParameterIuivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramEnvParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] UInt32* @params); /// [requires: NV_vertex_program] /// Returns a parameter from a program object @@ -213925,24 +113703,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramivNV")] - public static - void GetProgram(Int32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(Int32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Int32[] @params); /// [requires: NV_vertex_program] /// Returns a parameter from a program object @@ -213963,25 +113724,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramivNV")] - public static - void GetProgram(Int32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(Int32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] out Int32 @params); /// [requires: NV_vertex_program] /// Returns a parameter from a program object @@ -214003,18 +113746,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramivNV")] - public static - unsafe void GetProgram(Int32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgram(Int32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Int32* @params); /// [requires: NV_vertex_program] /// Returns a parameter from a program object @@ -214036,24 +113768,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramivNV")] - public static - void GetProgram(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Int32[] @params); /// [requires: NV_vertex_program] /// Returns a parameter from a program object @@ -214075,25 +113790,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramivNV")] - public static - void GetProgram(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] out Int32 @params); /// [requires: NV_vertex_program] /// Returns a parameter from a program object @@ -214115,1066 +113812,255 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramivNV")] - public static - unsafe void GetProgram(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgram(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Int32* @params); /// [requires: NV_gpu_program4] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramLocalParameterIivNV")] - public static - void GetProgramLocalParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramLocalParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, [OutAttribute] Int32[] @params); /// [requires: NV_gpu_program4] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramLocalParameterIivNV")] - public static - void GetProgramLocalParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramLocalParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, [OutAttribute] out Int32 @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramLocalParameterIivNV")] - public static - unsafe void GetProgramLocalParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramLocalParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, [OutAttribute] Int32* @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramLocalParameterIivNV")] - public static - void GetProgramLocalParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramLocalParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] Int32[] @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramLocalParameterIivNV")] - public static - void GetProgramLocalParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramLocalParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] out Int32 @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramLocalParameterIivNV")] - public static - unsafe void GetProgramLocalParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramLocalParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] Int32* @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramLocalParameterIuivNV")] - public static - void GetProgramLocalParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetProgramLocalParameterIuivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramLocalParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] UInt32[] @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramLocalParameterIuivNV")] - public static - void GetProgramLocalParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetProgramLocalParameterIuivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramLocalParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] out UInt32 @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramLocalParameterIuivNV")] - public static - unsafe void GetProgramLocalParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramLocalParameterIuivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramLocalParameterI(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] UInt32* @params); /// [requires: NV_fragment_program] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glGetProgramNamedParameterdvNV")] - public static - void GetProgramNamedParameter(Int32 id, Int32 len, ref Byte name, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - fixed (Double* @params_ptr = @params) - { - Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramNamedParameter(Int32 id, Int32 len, ref Byte name, [OutAttribute] Double[] @params); /// [requires: NV_fragment_program] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glGetProgramNamedParameterdvNV")] - public static - void GetProgramNamedParameter(Int32 id, Int32 len, ref Byte name, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramNamedParameter(Int32 id, Int32 len, ref Byte name, [OutAttribute] out Double @params); /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glGetProgramNamedParameterdvNV")] - public static - unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [OutAttribute] Double* @params); /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glGetProgramNamedParameterdvNV")] - public static - void GetProgramNamedParameter(UInt32 id, Int32 len, ref Byte name, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - fixed (Double* @params_ptr = @params) - { - Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramNamedParameter(UInt32 id, Int32 len, ref Byte name, [OutAttribute] Double[] @params); /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glGetProgramNamedParameterdvNV")] - public static - void GetProgramNamedParameter(UInt32 id, Int32 len, ref Byte name, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramNamedParameter(UInt32 id, Int32 len, ref Byte name, [OutAttribute] out Double @params); /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glGetProgramNamedParameterdvNV")] - public static - unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [OutAttribute] Double* @params); /// [requires: NV_fragment_program] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glGetProgramNamedParameterfvNV")] - public static - void GetProgramNamedParameter(Int32 id, Int32 len, ref Byte name, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - fixed (Single* @params_ptr = @params) - { - Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramNamedParameter(Int32 id, Int32 len, ref Byte name, [OutAttribute] Single[] @params); /// [requires: NV_fragment_program] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glGetProgramNamedParameterfvNV")] - public static - void GetProgramNamedParameter(Int32 id, Int32 len, ref Byte name, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramNamedParameter(Int32 id, Int32 len, ref Byte name, [OutAttribute] out Single @params); /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glGetProgramNamedParameterfvNV")] - public static - unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [OutAttribute] Single* @params); /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glGetProgramNamedParameterfvNV")] - public static - void GetProgramNamedParameter(UInt32 id, Int32 len, ref Byte name, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - fixed (Single* @params_ptr = @params) - { - Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramNamedParameter(UInt32 id, Int32 len, ref Byte name, [OutAttribute] Single[] @params); /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glGetProgramNamedParameterfvNV")] - public static - void GetProgramNamedParameter(UInt32 id, Int32 len, ref Byte name, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramNamedParameter(UInt32 id, Int32 len, ref Byte name, [OutAttribute] out Single @params); /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glGetProgramNamedParameterfvNV")] - public static - unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [OutAttribute] Single* @params); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramParameterdvNV")] - public static - void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Double[] @params); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramParameterdvNV")] - public static - void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] out Double @params); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramParameterdvNV")] - public static - unsafe void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Double* @params); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramParameterdvNV")] - public static - void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Double[] @params); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramParameterdvNV")] - public static - void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] out Double @params); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramParameterdvNV")] - public static - unsafe void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Double* @params); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramParameterfvNV")] - public static - void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Single[] @params); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramParameterfvNV")] - public static - void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] out Single @params); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramParameterfvNV")] - public static - unsafe void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Single* @params); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramParameterfvNV")] - public static - void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Single[] @params); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramParameterfvNV")] - public static - void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] out Single @params); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramParameterfvNV")] - public static - unsafe void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramParameter(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Single* @params); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramStringNV")] - public static - void GetProgramString(Int32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Byte[] program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* program_ptr = program) - { - Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Byte*)program_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramString(Int32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Byte[] program); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramStringNV")] - public static - void GetProgramString(Int32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] out Byte program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* program_ptr = &program) - { - Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Byte*)program_ptr); - program = *program_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramString(Int32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] out Byte program); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramStringNV")] - public static - unsafe void GetProgramString(Int32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Byte* program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Byte*)program); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramString(Int32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Byte* program); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramStringNV")] - public static - void GetProgramString(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Byte[] program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* program_ptr = program) - { - Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Byte*)program_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramString(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Byte[] program); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramStringNV")] - public static - void GetProgramString(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] out Byte program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* program_ptr = &program) - { - Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Byte*)program_ptr); - program = *program_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramString(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] out Byte program); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramStringNV")] - public static - unsafe void GetProgramString(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Byte* program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Byte*)program); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramString(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Byte* program); /// [requires: NV_gpu_program5] [AutoGenerated(Category = "NV_gpu_program5", Version = "", EntryPoint = "glGetProgramSubroutineParameteruivNV")] - public static - void GetProgramSubroutineParameter(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 index, [OutAttribute] Int32[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = param) - { - Delegates.glGetProgramSubroutineParameteruivNV((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (UInt32)index, (UInt32*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramSubroutineParameter(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 index, [OutAttribute] Int32[] param); /// [requires: NV_gpu_program5] [AutoGenerated(Category = "NV_gpu_program5", Version = "", EntryPoint = "glGetProgramSubroutineParameteruivNV")] - public static - void GetProgramSubroutineParameter(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 index, [OutAttribute] out Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = ¶m) - { - Delegates.glGetProgramSubroutineParameteruivNV((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (UInt32)index, (UInt32*)param_ptr); - param = *param_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramSubroutineParameter(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 index, [OutAttribute] out Int32 param); /// [requires: NV_gpu_program5] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program5", Version = "", EntryPoint = "glGetProgramSubroutineParameteruivNV")] - public static - unsafe void GetProgramSubroutineParameter(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 index, [OutAttribute] Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramSubroutineParameteruivNV((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (UInt32)index, (UInt32*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramSubroutineParameter(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 index, [OutAttribute] Int32* param); /// [requires: NV_gpu_program5] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program5", Version = "", EntryPoint = "glGetProgramSubroutineParameteruivNV")] - public static - void GetProgramSubroutineParameter(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, UInt32 index, [OutAttribute] UInt32[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* param_ptr = param) - { - Delegates.glGetProgramSubroutineParameteruivNV((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (UInt32)index, (UInt32*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramSubroutineParameter(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, UInt32 index, [OutAttribute] UInt32[] param); /// [requires: NV_gpu_program5] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program5", Version = "", EntryPoint = "glGetProgramSubroutineParameteruivNV")] - public static - void GetProgramSubroutineParameter(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, UInt32 index, [OutAttribute] out UInt32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* param_ptr = ¶m) - { - Delegates.glGetProgramSubroutineParameteruivNV((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (UInt32)index, (UInt32*)param_ptr); - param = *param_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramSubroutineParameter(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, UInt32 index, [OutAttribute] out UInt32 param); /// [requires: NV_gpu_program5] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program5", Version = "", EntryPoint = "glGetProgramSubroutineParameteruivNV")] - public static - unsafe void GetProgramSubroutineParameter(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, UInt32 index, [OutAttribute] UInt32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramSubroutineParameteruivNV((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (UInt32)index, (UInt32*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramSubroutineParameter(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, UInt32 index, [OutAttribute] UInt32* param); /// [requires: NV_bindless_texture] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glGetTextureHandleNV")] - public static - Int64 GetTextureHandle(Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetTextureHandleNV((UInt32)texture); - #if DEBUG - } - #endif - } + public static extern Int64 GetTextureHandle(Int32 texture); /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glGetTextureHandleNV")] - public static - Int64 GetTextureHandle(UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetTextureHandleNV((UInt32)texture); - #if DEBUG - } - #endif - } + public static extern Int64 GetTextureHandle(UInt32 texture); /// [requires: NV_bindless_texture] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glGetTextureSamplerHandleNV")] - public static - Int64 GetTextureSamplerHandle(Int32 texture, Int32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetTextureSamplerHandleNV((UInt32)texture, (UInt32)sampler); - #if DEBUG - } - #endif - } + public static extern Int64 GetTextureSamplerHandle(Int32 texture, Int32 sampler); /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glGetTextureSamplerHandleNV")] - public static - Int64 GetTextureSamplerHandle(UInt32 texture, UInt32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetTextureSamplerHandleNV((UInt32)texture, (UInt32)sampler); - #if DEBUG - } - #endif - } + public static extern Int64 GetTextureSamplerHandle(UInt32 texture, UInt32 sampler); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetTrackMatrixivNV")] - public static - void GetTrackMatrix(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 address, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTrackMatrixivNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTrackMatrix(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 address, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] out Int32 @params); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetTrackMatrixivNV")] - public static - unsafe void GetTrackMatrix(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 address, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTrackMatrixivNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTrackMatrix(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 address, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Int32* @params); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetTrackMatrixivNV")] - public static - void GetTrackMatrix(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTrackMatrixivNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTrackMatrix(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] out Int32 @params); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetTrackMatrixivNV")] - public static - unsafe void GetTrackMatrix(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTrackMatrixivNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTrackMatrix(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Int32* @params); /// [requires: NV_transform_feedback] /// Retrieve information about varying variables selected for transform feedback @@ -215215,25 +114101,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glGetTransformFeedbackVaryingNV")] - public static - void GetTransformFeedbackVarying(Int32 program, Int32 index, [OutAttribute] out Int32 location) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* location_ptr = &location) - { - Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location_ptr); - location = *location_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTransformFeedbackVarying(Int32 program, Int32 index, [OutAttribute] out Int32 location); /// [requires: NV_transform_feedback] /// Retrieve information about varying variables selected for transform feedback @@ -215275,18 +114143,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glGetTransformFeedbackVaryingNV")] - public static - unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, [OutAttribute] Int32* location) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, [OutAttribute] Int32* location); /// [requires: NV_transform_feedback] /// Retrieve information about varying variables selected for transform feedback @@ -215328,25 +114185,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glGetTransformFeedbackVaryingNV")] - public static - void GetTransformFeedbackVarying(UInt32 program, UInt32 index, [OutAttribute] out Int32 location) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* location_ptr = &location) - { - Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location_ptr); - location = *location_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTransformFeedbackVarying(UInt32 program, UInt32 index, [OutAttribute] out Int32 location); /// [requires: NV_transform_feedback] /// Retrieve information about varying variables selected for transform feedback @@ -215388,18 +114227,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glGetTransformFeedbackVaryingNV")] - public static - unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, [OutAttribute] Int32* location) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, [OutAttribute] Int32* location); /// [requires: NV_gpu_shader5] /// Returns the value of a uniform variable @@ -215420,24 +114248,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glGetUniformi64vNV")] - public static - void GetUniform(Int32 program, Int32 location, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetUniformi64vNV((UInt32)program, (Int32)location, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] Int64[] @params); /// [requires: NV_gpu_shader5] /// Returns the value of a uniform variable @@ -215458,25 +114269,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glGetUniformi64vNV")] - public static - void GetUniform(Int32 program, Int32 location, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetUniformi64vNV((UInt32)program, (Int32)location, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] out Int64 @params); /// [requires: NV_gpu_shader5] /// Returns the value of a uniform variable @@ -215498,18 +114291,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glGetUniformi64vNV")] - public static - unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformi64vNV((UInt32)program, (Int32)location, (Int64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Int64* @params); /// [requires: NV_gpu_shader5] /// Returns the value of a uniform variable @@ -215531,24 +114313,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glGetUniformi64vNV")] - public static - void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetUniformi64vNV((UInt32)program, (Int32)location, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int64[] @params); /// [requires: NV_gpu_shader5] /// Returns the value of a uniform variable @@ -215570,25 +114335,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glGetUniformi64vNV")] - public static - void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetUniformi64vNV((UInt32)program, (Int32)location, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Int64 @params); /// [requires: NV_gpu_shader5] /// Returns the value of a uniform variable @@ -215610,18 +114357,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glGetUniformi64vNV")] - public static - unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformi64vNV((UInt32)program, (Int32)location, (Int64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int64* @params); /// [requires: NV_shader_buffer_load] /// Returns the value of a uniform variable @@ -215643,24 +114379,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetUniformui64vNV")] - public static - void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = @params) - { - Delegates.glGetUniformui64vNV((UInt32)program, (Int32)location, (UInt64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt64[] @params); /// [requires: NV_shader_buffer_load] /// Returns the value of a uniform variable @@ -215682,25 +114401,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetUniformui64vNV")] - public static - void GetUniform(UInt32 program, Int32 location, [OutAttribute] out UInt64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = &@params) - { - Delegates.glGetUniformui64vNV((UInt32)program, (Int32)location, (UInt64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] out UInt64 @params); /// [requires: NV_shader_buffer_load] /// Returns the value of a uniform variable @@ -215722,49 +114423,16 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glGetUniformui64vNV")] - public static - unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformui64vNV((UInt32)program, (Int32)location, (UInt64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt64* @params); /// [requires: NV_transform_feedback] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glGetVaryingLocationNV")] - public static - Int32 GetVaryingLocation(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetVaryingLocationNV((UInt32)program, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetVaryingLocation(Int32 program, String name); /// [requires: NV_transform_feedback] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glGetVaryingLocationNV")] - public static - Int32 GetVaryingLocation(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetVaryingLocationNV((UInt32)program, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetVaryingLocation(UInt32 program, String name); /// [requires: NV_vertex_program] /// Return a generic vertex attribute parameter @@ -215785,25 +114453,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribdvNV")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetVertexAttribdvNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] out Double @params); /// [requires: NV_vertex_program] /// Return a generic vertex attribute parameter @@ -215825,18 +114475,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribdvNV")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribdvNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Double* @params); /// [requires: NV_vertex_program] /// Return a generic vertex attribute parameter @@ -215858,25 +114497,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribdvNV")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetVertexAttribdvNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] out Double @params); /// [requires: NV_vertex_program] /// Return a generic vertex attribute parameter @@ -215898,18 +114519,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribdvNV")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribdvNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Double* @params); /// [requires: NV_vertex_program] /// Return a generic vertex attribute parameter @@ -215930,25 +114540,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribfvNV")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetVertexAttribfvNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] out Single @params); /// [requires: NV_vertex_program] /// Return a generic vertex attribute parameter @@ -215970,18 +114562,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribfvNV")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribfvNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Single* @params); /// [requires: NV_vertex_program] /// Return a generic vertex attribute parameter @@ -216003,25 +114584,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribfvNV")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetVertexAttribfvNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] out Single @params); /// [requires: NV_vertex_program] /// Return a generic vertex attribute parameter @@ -216043,18 +114606,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribfvNV")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribfvNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Single* @params); /// [requires: NV_vertex_program] /// Return a generic vertex attribute parameter @@ -216075,25 +114627,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribivNV")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribivNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] out Int32 @params); /// [requires: NV_vertex_program] /// Return a generic vertex attribute parameter @@ -216115,18 +114649,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribivNV")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribivNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Int32* @params); /// [requires: NV_vertex_program] /// Return a generic vertex attribute parameter @@ -216148,25 +114671,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribivNV")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribivNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] out Int32 @params); /// [requires: NV_vertex_program] /// Return a generic vertex attribute parameter @@ -216188,1548 +114693,389 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribivNV")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribivNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Int32* @params); /// [requires: NV_vertex_attrib_integer_64bit] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glGetVertexAttribLi64vNV")] - public static - void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetVertexAttribLi64vNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] Int64[] @params); /// [requires: NV_vertex_attrib_integer_64bit] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glGetVertexAttribLi64vNV")] - public static - void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetVertexAttribLi64vNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] out Int64 @params); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glGetVertexAttribLi64vNV")] - public static - unsafe void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribLi64vNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)pname, (Int64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] Int64* @params); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glGetVertexAttribLi64vNV")] - public static - void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetVertexAttribLi64vNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] Int64[] @params); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glGetVertexAttribLi64vNV")] - public static - void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetVertexAttribLi64vNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] out Int64 @params); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glGetVertexAttribLi64vNV")] - public static - unsafe void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribLi64vNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)pname, (Int64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] Int64* @params); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glGetVertexAttribLui64vNV")] - public static - void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] UInt64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = @params) - { - Delegates.glGetVertexAttribLui64vNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)pname, (UInt64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] UInt64[] @params); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glGetVertexAttribLui64vNV")] - public static - void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] out UInt64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = &@params) - { - Delegates.glGetVertexAttribLui64vNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)pname, (UInt64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] out UInt64 @params); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glGetVertexAttribLui64vNV")] - public static - unsafe void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] UInt64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribLui64vNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)pname, (UInt64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] UInt64* @params); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribPointervNV")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] IntPtr pointer); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribPointervNV")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [InAttribute, OutAttribute] T2[] pointer) + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [InAttribute, OutAttribute] T2[] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribPointervNV")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [InAttribute, OutAttribute] T2[,] pointer) + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [InAttribute, OutAttribute] T2[,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribPointervNV")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [InAttribute, OutAttribute] T2[,,] pointer) + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [InAttribute, OutAttribute] T2[,,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribPointervNV")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [InAttribute, OutAttribute] ref T2 pointer) + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [InAttribute, OutAttribute] ref T2 pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribPointervNV")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] IntPtr pointer); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribPointervNV")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [InAttribute, OutAttribute] T2[] pointer) + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [InAttribute, OutAttribute] T2[] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribPointervNV")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [InAttribute, OutAttribute] T2[,] pointer) + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [InAttribute, OutAttribute] T2[,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribPointervNV")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [InAttribute, OutAttribute] T2[,,] pointer) + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [InAttribute, OutAttribute] T2[,,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetVertexAttribPointervNV")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [InAttribute, OutAttribute] ref T2 pointer) + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [InAttribute, OutAttribute] ref T2 pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureivNV")] - public static - void GetVideoCapture(Int32 video_capture_slot, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetVideoCaptureivNV((UInt32)video_capture_slot, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVideoCapture(Int32 video_capture_slot, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32[] @params); /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureivNV")] - public static - void GetVideoCapture(Int32 video_capture_slot, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVideoCaptureivNV((UInt32)video_capture_slot, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVideoCapture(Int32 video_capture_slot, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] out Int32 @params); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureivNV")] - public static - unsafe void GetVideoCapture(Int32 video_capture_slot, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVideoCaptureivNV((UInt32)video_capture_slot, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVideoCapture(Int32 video_capture_slot, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32* @params); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureivNV")] - public static - void GetVideoCapture(UInt32 video_capture_slot, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetVideoCaptureivNV((UInt32)video_capture_slot, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVideoCapture(UInt32 video_capture_slot, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32[] @params); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureivNV")] - public static - void GetVideoCapture(UInt32 video_capture_slot, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVideoCaptureivNV((UInt32)video_capture_slot, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVideoCapture(UInt32 video_capture_slot, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] out Int32 @params); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureivNV")] - public static - unsafe void GetVideoCapture(UInt32 video_capture_slot, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVideoCaptureivNV((UInt32)video_capture_slot, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVideoCapture(UInt32 video_capture_slot, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32* @params); /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamdvNV")] - public static - void GetVideoCaptureStream(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetVideoCaptureStreamdvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVideoCaptureStream(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Double[] @params); /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamdvNV")] - public static - void GetVideoCaptureStream(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetVideoCaptureStreamdvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVideoCaptureStream(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] out Double @params); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamdvNV")] - public static - unsafe void GetVideoCaptureStream(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVideoCaptureStreamdvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVideoCaptureStream(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Double* @params); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamdvNV")] - public static - void GetVideoCaptureStream(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetVideoCaptureStreamdvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVideoCaptureStream(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Double[] @params); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamdvNV")] - public static - void GetVideoCaptureStream(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetVideoCaptureStreamdvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVideoCaptureStream(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] out Double @params); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamdvNV")] - public static - unsafe void GetVideoCaptureStream(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVideoCaptureStreamdvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVideoCaptureStream(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Double* @params); /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamfvNV")] - public static - void GetVideoCaptureStream(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetVideoCaptureStreamfvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVideoCaptureStream(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Single[] @params); /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamfvNV")] - public static - void GetVideoCaptureStream(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetVideoCaptureStreamfvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVideoCaptureStream(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] out Single @params); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamfvNV")] - public static - unsafe void GetVideoCaptureStream(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVideoCaptureStreamfvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVideoCaptureStream(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Single* @params); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamfvNV")] - public static - void GetVideoCaptureStream(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetVideoCaptureStreamfvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVideoCaptureStream(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Single[] @params); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamfvNV")] - public static - void GetVideoCaptureStream(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetVideoCaptureStreamfvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVideoCaptureStream(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] out Single @params); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamfvNV")] - public static - unsafe void GetVideoCaptureStream(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVideoCaptureStreamfvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVideoCaptureStream(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Single* @params); /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamivNV")] - public static - void GetVideoCaptureStream(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetVideoCaptureStreamivNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVideoCaptureStream(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32[] @params); /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamivNV")] - public static - void GetVideoCaptureStream(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVideoCaptureStreamivNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVideoCaptureStream(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] out Int32 @params); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamivNV")] - public static - unsafe void GetVideoCaptureStream(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVideoCaptureStreamivNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVideoCaptureStream(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32* @params); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamivNV")] - public static - void GetVideoCaptureStream(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetVideoCaptureStreamivNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVideoCaptureStream(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32[] @params); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamivNV")] - public static - void GetVideoCaptureStream(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVideoCaptureStreamivNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVideoCaptureStream(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] out Int32 @params); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glGetVideoCaptureStreamivNV")] - public static - unsafe void GetVideoCaptureStream(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVideoCaptureStreamivNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVideoCaptureStream(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32* @params); /// [requires: NV_present_video] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideoi64vNV")] - public static - void GetVideo(Int32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVideo(Int32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int64[] @params); /// [requires: NV_present_video] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideoi64vNV")] - public static - void GetVideo(Int32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVideo(Int32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] out Int64 @params); /// [requires: NV_present_video] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideoi64vNV")] - public static - unsafe void GetVideo(Int32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (Int64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVideo(Int32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int64* @params); /// [requires: NV_present_video] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideoi64vNV")] - public static - void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int64[] @params); /// [requires: NV_present_video] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideoi64vNV")] - public static - void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] out Int64 @params); /// [requires: NV_present_video] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideoi64vNV")] - public static - unsafe void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (Int64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int64* @params); /// [requires: NV_present_video] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideoivNV")] - public static - void GetVideo(Int32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVideo(Int32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int32[] @params); /// [requires: NV_present_video] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideoivNV")] - public static - void GetVideo(Int32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVideo(Int32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] out Int32 @params); /// [requires: NV_present_video] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideoivNV")] - public static - unsafe void GetVideo(Int32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVideo(Int32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int32* @params); /// [requires: NV_present_video] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideoivNV")] - public static - void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int32[] @params); /// [requires: NV_present_video] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideoivNV")] - public static - void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] out Int32 @params); /// [requires: NV_present_video] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideoivNV")] - public static - unsafe void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int32* @params); /// [requires: NV_present_video] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideoui64vNV")] - public static - void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] UInt64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = @params) - { - Delegates.glGetVideoui64vNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (UInt64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] UInt64[] @params); /// [requires: NV_present_video] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideoui64vNV")] - public static - void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] out UInt64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = &@params) - { - Delegates.glGetVideoui64vNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (UInt64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] out UInt64 @params); /// [requires: NV_present_video] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideoui64vNV")] - public static - unsafe void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] UInt64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVideoui64vNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (UInt64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] UInt64* @params); /// [requires: NV_present_video] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideouivNV")] - public static - void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetVideouivNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] UInt32[] @params); /// [requires: NV_present_video] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideouivNV")] - public static - void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetVideouivNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] out UInt32 @params); /// [requires: NV_present_video] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glGetVideouivNV")] - public static - unsafe void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVideouivNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVideo(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] UInt32* @params); /// [requires: NV_vertex_buffer_unified_memory] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glIndexFormatNV")] - public static - void IndexFormat(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glIndexFormatNV((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride); - #if DEBUG - } - #endif - } + public static extern void IndexFormat(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glInterpolatePathsNV")] - public static - void InterpolatePath(Int32 resultPath, Int32 pathA, Int32 pathB, Single weight) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInterpolatePathsNV((UInt32)resultPath, (UInt32)pathA, (UInt32)pathB, (Single)weight); - #if DEBUG - } - #endif - } + public static extern void InterpolatePath(Int32 resultPath, Int32 pathA, Int32 pathB, Single weight); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glInterpolatePathsNV")] - public static - void InterpolatePath(UInt32 resultPath, UInt32 pathA, UInt32 pathB, Single weight) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInterpolatePathsNV((UInt32)resultPath, (UInt32)pathA, (UInt32)pathB, (Single)weight); - #if DEBUG - } - #endif - } + public static extern void InterpolatePath(UInt32 resultPath, UInt32 pathA, UInt32 pathB, Single weight); /// [requires: NV_shader_buffer_load] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glIsBufferResidentNV")] - public static - bool IsBufferResident(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsBufferResidentNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target); - #if DEBUG - } - #endif - } + public static extern bool IsBufferResident(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glIsFenceNV")] - public static - bool IsFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsFenceNV((UInt32)fence); - #if DEBUG - } - #endif - } + public static extern bool IsFence(Int32 fence); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glIsFenceNV")] - public static - bool IsFence(UInt32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsFenceNV((UInt32)fence); - #if DEBUG - } - #endif - } + public static extern bool IsFence(UInt32 fence); /// [requires: NV_bindless_texture] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glIsImageHandleResidentNV")] - public static - bool IsImageHandleResident(Int64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsImageHandleResidentNV((UInt64)handle); - #if DEBUG - } - #endif - } + public static extern bool IsImageHandleResident(Int64 handle); /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glIsImageHandleResidentNV")] - public static - bool IsImageHandleResident(UInt64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsImageHandleResidentNV((UInt64)handle); - #if DEBUG - } - #endif - } + public static extern bool IsImageHandleResident(UInt64 handle); /// [requires: NV_shader_buffer_load] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glIsNamedBufferResidentNV")] - public static - bool IsNamedBufferResident(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsNamedBufferResidentNV((UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern bool IsNamedBufferResident(Int32 buffer); /// [requires: NV_shader_buffer_load] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glIsNamedBufferResidentNV")] - public static - bool IsNamedBufferResident(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsNamedBufferResidentNV((UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern bool IsNamedBufferResident(UInt32 buffer); /// [requires: NV_occlusion_query] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glIsOcclusionQueryNV")] - public static - bool IsOcclusionQuery(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsOcclusionQueryNV((UInt32)id); - #if DEBUG - } - #endif - } + public static extern bool IsOcclusionQuery(Int32 id); /// [requires: NV_occlusion_query] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_occlusion_query", Version = "", EntryPoint = "glIsOcclusionQueryNV")] - public static - bool IsOcclusionQuery(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsOcclusionQueryNV((UInt32)id); - #if DEBUG - } - #endif - } + public static extern bool IsOcclusionQuery(UInt32 id); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glIsPathNV")] - public static - bool IsPath(Int32 path) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsPathNV((UInt32)path); - #if DEBUG - } - #endif - } + public static extern bool IsPath(Int32 path); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glIsPathNV")] - public static - bool IsPath(UInt32 path) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsPathNV((UInt32)path); - #if DEBUG - } - #endif - } + public static extern bool IsPath(UInt32 path); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glIsPointInFillPathNV")] - public static - bool IsPointInFillPath(Int32 path, Int32 mask, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsPointInFillPathNV((UInt32)path, (UInt32)mask, (Single)x, (Single)y); - #if DEBUG - } - #endif - } + public static extern bool IsPointInFillPath(Int32 path, Int32 mask, Single x, Single y); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glIsPointInFillPathNV")] - public static - bool IsPointInFillPath(UInt32 path, UInt32 mask, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsPointInFillPathNV((UInt32)path, (UInt32)mask, (Single)x, (Single)y); - #if DEBUG - } - #endif - } + public static extern bool IsPointInFillPath(UInt32 path, UInt32 mask, Single x, Single y); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glIsPointInStrokePathNV")] - public static - bool IsPointInStrokePath(Int32 path, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsPointInStrokePathNV((UInt32)path, (Single)x, (Single)y); - #if DEBUG - } - #endif - } + public static extern bool IsPointInStrokePath(Int32 path, Single x, Single y); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glIsPointInStrokePathNV")] - public static - bool IsPointInStrokePath(UInt32 path, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsPointInStrokePathNV((UInt32)path, (Single)x, (Single)y); - #if DEBUG - } - #endif - } + public static extern bool IsPointInStrokePath(UInt32 path, Single x, Single y); /// [requires: NV_vertex_program] /// Determines if a name corresponds to a program object @@ -217740,18 +115086,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glIsProgramNV")] - public static - bool IsProgram(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsProgramNV((UInt32)id); - #if DEBUG - } - #endif - } + public static extern bool IsProgram(Int32 id); /// [requires: NV_vertex_program] /// Determines if a name corresponds to a program object @@ -217763,49 +115098,16 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glIsProgramNV")] - public static - bool IsProgram(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsProgramNV((UInt32)id); - #if DEBUG - } - #endif - } + public static extern bool IsProgram(UInt32 id); /// [requires: NV_bindless_texture] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glIsTextureHandleResidentNV")] - public static - bool IsTextureHandleResident(Int64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsTextureHandleResidentNV((UInt64)handle); - #if DEBUG - } - #endif - } + public static extern bool IsTextureHandleResident(Int64 handle); /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glIsTextureHandleResidentNV")] - public static - bool IsTextureHandleResident(UInt64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsTextureHandleResidentNV((UInt64)handle); - #if DEBUG - } - #endif - } + public static extern bool IsTextureHandleResident(UInt64 handle); /// [requires: NV_transform_feedback2] /// Determine if a name corresponds to a transform feedback object @@ -217816,18 +115118,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glIsTransformFeedbackNV")] - public static - bool IsTransformFeedback(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsTransformFeedbackNV((UInt32)id); - #if DEBUG - } - #endif - } + public static extern bool IsTransformFeedback(Int32 id); /// [requires: NV_transform_feedback2] /// Determine if a name corresponds to a transform feedback object @@ -217839,4796 +115130,1194 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glIsTransformFeedbackNV")] - public static - bool IsTransformFeedback(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsTransformFeedbackNV((UInt32)id); - #if DEBUG - } - #endif - } + public static extern bool IsTransformFeedback(UInt32 id); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glLoadProgramNV")] - public static - void LoadProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 id, Int32 len, Byte[] program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* program_ptr = program) - { - Delegates.glLoadProgramNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LoadProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 id, Int32 len, Byte[] program); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glLoadProgramNV")] - public static - void LoadProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 id, Int32 len, ref Byte program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* program_ptr = &program) - { - Delegates.glLoadProgramNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LoadProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 id, Int32 len, ref Byte program); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glLoadProgramNV")] - public static - unsafe void LoadProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 id, Int32 len, Byte* program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadProgramNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program); - #if DEBUG - } - #endif - } + public static extern unsafe void LoadProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 id, Int32 len, Byte* program); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glLoadProgramNV")] - public static - void LoadProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, Int32 len, Byte[] program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* program_ptr = program) - { - Delegates.glLoadProgramNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LoadProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, Int32 len, Byte[] program); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glLoadProgramNV")] - public static - void LoadProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, Int32 len, ref Byte program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* program_ptr = &program) - { - Delegates.glLoadProgramNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LoadProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, Int32 len, ref Byte program); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glLoadProgramNV")] - public static - unsafe void LoadProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, Int32 len, Byte* program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadProgramNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program); - #if DEBUG - } - #endif - } + public static extern unsafe void LoadProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, Int32 len, Byte* program); /// [requires: NV_shader_buffer_load] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glMakeBufferNonResidentNV")] - public static - void MakeBufferNonResident(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMakeBufferNonResidentNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target); - #if DEBUG - } - #endif - } + public static extern void MakeBufferNonResident(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target); /// [requires: NV_shader_buffer_load] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glMakeBufferResidentNV")] - public static - void MakeBufferResident(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMakeBufferResidentNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)access); - #if DEBUG - } - #endif - } + public static extern void MakeBufferResident(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad access); /// [requires: NV_bindless_texture] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glMakeImageHandleNonResidentNV")] - public static - void MakeImageHandleNonResident(Int64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMakeImageHandleNonResidentNV((UInt64)handle); - #if DEBUG - } - #endif - } + public static extern void MakeImageHandleNonResident(Int64 handle); /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glMakeImageHandleNonResidentNV")] - public static - void MakeImageHandleNonResident(UInt64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMakeImageHandleNonResidentNV((UInt64)handle); - #if DEBUG - } - #endif - } + public static extern void MakeImageHandleNonResident(UInt64 handle); /// [requires: NV_bindless_texture] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glMakeImageHandleResidentNV")] - public static - void MakeImageHandleResident(Int64 handle, OpenTK.Graphics.OpenGL.NvBindlessTexture access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMakeImageHandleResidentNV((UInt64)handle, (OpenTK.Graphics.OpenGL.NvBindlessTexture)access); - #if DEBUG - } - #endif - } + public static extern void MakeImageHandleResident(Int64 handle, OpenTK.Graphics.OpenGL.NvBindlessTexture access); /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glMakeImageHandleResidentNV")] - public static - void MakeImageHandleResident(UInt64 handle, OpenTK.Graphics.OpenGL.NvBindlessTexture access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMakeImageHandleResidentNV((UInt64)handle, (OpenTK.Graphics.OpenGL.NvBindlessTexture)access); - #if DEBUG - } - #endif - } + public static extern void MakeImageHandleResident(UInt64 handle, OpenTK.Graphics.OpenGL.NvBindlessTexture access); /// [requires: NV_shader_buffer_load] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glMakeNamedBufferNonResidentNV")] - public static - void MakeNamedBufferNonResident(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMakeNamedBufferNonResidentNV((UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void MakeNamedBufferNonResident(Int32 buffer); /// [requires: NV_shader_buffer_load] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glMakeNamedBufferNonResidentNV")] - public static - void MakeNamedBufferNonResident(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMakeNamedBufferNonResidentNV((UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void MakeNamedBufferNonResident(UInt32 buffer); /// [requires: NV_shader_buffer_load] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glMakeNamedBufferResidentNV")] - public static - void MakeNamedBufferResident(Int32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMakeNamedBufferResidentNV((UInt32)buffer, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)access); - #if DEBUG - } - #endif - } + public static extern void MakeNamedBufferResident(Int32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad access); /// [requires: NV_shader_buffer_load] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glMakeNamedBufferResidentNV")] - public static - void MakeNamedBufferResident(UInt32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMakeNamedBufferResidentNV((UInt32)buffer, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)access); - #if DEBUG - } - #endif - } + public static extern void MakeNamedBufferResident(UInt32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad access); /// [requires: NV_bindless_texture] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glMakeTextureHandleNonResidentNV")] - public static - void MakeTextureHandleNonResident(Int64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMakeTextureHandleNonResidentNV((UInt64)handle); - #if DEBUG - } - #endif - } + public static extern void MakeTextureHandleNonResident(Int64 handle); /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glMakeTextureHandleNonResidentNV")] - public static - void MakeTextureHandleNonResident(UInt64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMakeTextureHandleNonResidentNV((UInt64)handle); - #if DEBUG - } - #endif - } + public static extern void MakeTextureHandleNonResident(UInt64 handle); /// [requires: NV_bindless_texture] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glMakeTextureHandleResidentNV")] - public static - void MakeTextureHandleResident(Int64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMakeTextureHandleResidentNV((UInt64)handle); - #if DEBUG - } - #endif - } + public static extern void MakeTextureHandleResident(Int64 handle); /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glMakeTextureHandleResidentNV")] - public static - void MakeTextureHandleResident(UInt64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMakeTextureHandleResidentNV((UInt64)handle); - #if DEBUG - } - #endif - } + public static extern void MakeTextureHandleResident(UInt64 handle); /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, IntPtr points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points); - #if DEBUG - } - #endif - } + public static extern void MapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, IntPtr points); /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [InAttribute, OutAttribute] T8[] points) + public static extern void MapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [InAttribute, OutAttribute] T8[] points) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [InAttribute, OutAttribute] T8[,] points) + public static extern void MapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [InAttribute, OutAttribute] T8[,] points) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [InAttribute, OutAttribute] T8[,,] points) + public static extern void MapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [InAttribute, OutAttribute] T8[,,] points) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [InAttribute, OutAttribute] ref T8 points) + public static extern void MapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, Int32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [InAttribute, OutAttribute] ref T8 points) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - points = (T8)points_ptr.Target; - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, IntPtr points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points); - #if DEBUG - } - #endif - } + public static extern void MapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, IntPtr points); /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [InAttribute, OutAttribute] T8[] points) + public static extern void MapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [InAttribute, OutAttribute] T8[] points) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [InAttribute, OutAttribute] T8[,] points) + public static extern void MapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [InAttribute, OutAttribute] T8[,] points) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [InAttribute, OutAttribute] T8[,,] points) + public static extern void MapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [InAttribute, OutAttribute] T8[,,] points) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [InAttribute, OutAttribute] ref T8 points) + public static extern void MapControlPoints(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [InAttribute, OutAttribute] ref T8 points) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - points = (T8)points_ptr.Target; - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glMapParameterfvNV")] - public static - void MapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glMapParameterfvNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, Single[] @params); /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glMapParameterfvNV")] - public static - void MapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glMapParameterfvNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, ref Single @params); /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glMapParameterfvNV")] - public static - unsafe void MapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapParameterfvNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void MapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, Single* @params); /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glMapParameterivNV")] - public static - void MapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glMapParameterivNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, Int32[] @params); /// [requires: NV_evaluators] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glMapParameterivNV")] - public static - void MapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glMapParameterivNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, ref Int32 @params); /// [requires: NV_evaluators] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_evaluators", Version = "", EntryPoint = "glMapParameterivNV")] - public static - unsafe void MapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapParameterivNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void MapParameter(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, Int32* @params); /// [requires: NV_bindless_multi_draw_indirect] [AutoGenerated(Category = "NV_bindless_multi_draw_indirect", Version = "", EntryPoint = "glMultiDrawArraysIndirectBindlessNV")] - public static - void MultiDrawArraysIndirectBindles(OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect mode, IntPtr indirect, Int32 drawCount, Int32 stride, Int32 vertexBufferCount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawArraysIndirectBindlessNV((OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)mode, (IntPtr)indirect, (Int32)drawCount, (Int32)stride, (Int32)vertexBufferCount); - #if DEBUG - } - #endif - } + public static extern void MultiDrawArraysIndirectBindles(OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect mode, IntPtr indirect, Int32 drawCount, Int32 stride, Int32 vertexBufferCount); /// [requires: NV_bindless_multi_draw_indirect] [AutoGenerated(Category = "NV_bindless_multi_draw_indirect", Version = "", EntryPoint = "glMultiDrawArraysIndirectBindlessNV")] - public static - void MultiDrawArraysIndirectBindles(OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect mode, [InAttribute, OutAttribute] T1[] indirect, Int32 drawCount, Int32 stride, Int32 vertexBufferCount) + public static extern void MultiDrawArraysIndirectBindles(OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect mode, [InAttribute, OutAttribute] T1[] indirect, Int32 drawCount, Int32 stride, Int32 vertexBufferCount) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawArraysIndirectBindlessNV((OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawCount, (Int32)stride, (Int32)vertexBufferCount); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_bindless_multi_draw_indirect] [AutoGenerated(Category = "NV_bindless_multi_draw_indirect", Version = "", EntryPoint = "glMultiDrawArraysIndirectBindlessNV")] - public static - void MultiDrawArraysIndirectBindles(OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect mode, [InAttribute, OutAttribute] T1[,] indirect, Int32 drawCount, Int32 stride, Int32 vertexBufferCount) + public static extern void MultiDrawArraysIndirectBindles(OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect mode, [InAttribute, OutAttribute] T1[,] indirect, Int32 drawCount, Int32 stride, Int32 vertexBufferCount) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawArraysIndirectBindlessNV((OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawCount, (Int32)stride, (Int32)vertexBufferCount); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_bindless_multi_draw_indirect] [AutoGenerated(Category = "NV_bindless_multi_draw_indirect", Version = "", EntryPoint = "glMultiDrawArraysIndirectBindlessNV")] - public static - void MultiDrawArraysIndirectBindles(OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect mode, [InAttribute, OutAttribute] T1[,,] indirect, Int32 drawCount, Int32 stride, Int32 vertexBufferCount) + public static extern void MultiDrawArraysIndirectBindles(OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect mode, [InAttribute, OutAttribute] T1[,,] indirect, Int32 drawCount, Int32 stride, Int32 vertexBufferCount) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawArraysIndirectBindlessNV((OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawCount, (Int32)stride, (Int32)vertexBufferCount); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_bindless_multi_draw_indirect] [AutoGenerated(Category = "NV_bindless_multi_draw_indirect", Version = "", EntryPoint = "glMultiDrawArraysIndirectBindlessNV")] - public static - void MultiDrawArraysIndirectBindles(OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect mode, [InAttribute, OutAttribute] ref T1 indirect, Int32 drawCount, Int32 stride, Int32 vertexBufferCount) + public static extern void MultiDrawArraysIndirectBindles(OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect mode, [InAttribute, OutAttribute] ref T1 indirect, Int32 drawCount, Int32 stride, Int32 vertexBufferCount) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawArraysIndirectBindlessNV((OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawCount, (Int32)stride, (Int32)vertexBufferCount); - indirect = (T1)indirect_ptr.Target; - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_bindless_multi_draw_indirect] [AutoGenerated(Category = "NV_bindless_multi_draw_indirect", Version = "", EntryPoint = "glMultiDrawElementsIndirectBindlessNV")] - public static - void MultiDrawElementsIndirectBindles(OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect type, IntPtr indirect, Int32 drawCount, Int32 stride, Int32 vertexBufferCount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawElementsIndirectBindlessNV((OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)mode, (OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)type, (IntPtr)indirect, (Int32)drawCount, (Int32)stride, (Int32)vertexBufferCount); - #if DEBUG - } - #endif - } + public static extern void MultiDrawElementsIndirectBindles(OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect type, IntPtr indirect, Int32 drawCount, Int32 stride, Int32 vertexBufferCount); /// [requires: NV_bindless_multi_draw_indirect] [AutoGenerated(Category = "NV_bindless_multi_draw_indirect", Version = "", EntryPoint = "glMultiDrawElementsIndirectBindlessNV")] - public static - void MultiDrawElementsIndirectBindles(OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect type, [InAttribute, OutAttribute] T2[] indirect, Int32 drawCount, Int32 stride, Int32 vertexBufferCount) + public static extern void MultiDrawElementsIndirectBindles(OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect type, [InAttribute, OutAttribute] T2[] indirect, Int32 drawCount, Int32 stride, Int32 vertexBufferCount) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsIndirectBindlessNV((OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)mode, (OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawCount, (Int32)stride, (Int32)vertexBufferCount); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_bindless_multi_draw_indirect] [AutoGenerated(Category = "NV_bindless_multi_draw_indirect", Version = "", EntryPoint = "glMultiDrawElementsIndirectBindlessNV")] - public static - void MultiDrawElementsIndirectBindles(OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect type, [InAttribute, OutAttribute] T2[,] indirect, Int32 drawCount, Int32 stride, Int32 vertexBufferCount) + public static extern void MultiDrawElementsIndirectBindles(OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect type, [InAttribute, OutAttribute] T2[,] indirect, Int32 drawCount, Int32 stride, Int32 vertexBufferCount) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsIndirectBindlessNV((OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)mode, (OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawCount, (Int32)stride, (Int32)vertexBufferCount); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_bindless_multi_draw_indirect] [AutoGenerated(Category = "NV_bindless_multi_draw_indirect", Version = "", EntryPoint = "glMultiDrawElementsIndirectBindlessNV")] - public static - void MultiDrawElementsIndirectBindles(OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect type, [InAttribute, OutAttribute] T2[,,] indirect, Int32 drawCount, Int32 stride, Int32 vertexBufferCount) + public static extern void MultiDrawElementsIndirectBindles(OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect type, [InAttribute, OutAttribute] T2[,,] indirect, Int32 drawCount, Int32 stride, Int32 vertexBufferCount) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsIndirectBindlessNV((OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)mode, (OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawCount, (Int32)stride, (Int32)vertexBufferCount); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_bindless_multi_draw_indirect] [AutoGenerated(Category = "NV_bindless_multi_draw_indirect", Version = "", EntryPoint = "glMultiDrawElementsIndirectBindlessNV")] - public static - void MultiDrawElementsIndirectBindles(OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect type, [InAttribute, OutAttribute] ref T2 indirect, Int32 drawCount, Int32 stride, Int32 vertexBufferCount) + public static extern void MultiDrawElementsIndirectBindles(OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect type, [InAttribute, OutAttribute] ref T2 indirect, Int32 drawCount, Int32 stride, Int32 vertexBufferCount) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsIndirectBindlessNV((OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)mode, (OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawCount, (Int32)stride, (Int32)vertexBufferCount); - indirect = (T2)indirect_ptr.Target; - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glMultiTexCoord1hNV")] - public static - void MultiTexCoord1h(OpenTK.Graphics.OpenGL.TextureUnit target, Half s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1hNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half)s); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord1h(OpenTK.Graphics.OpenGL.TextureUnit target, Half s); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glMultiTexCoord1hvNV")] - public static - unsafe void MultiTexCoord1h(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1hvNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord1h(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glMultiTexCoord2hNV")] - public static - void MultiTexCoord2h(OpenTK.Graphics.OpenGL.TextureUnit target, Half s, Half t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2hNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half)s, (Half)t); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2h(OpenTK.Graphics.OpenGL.TextureUnit target, Half s, Half t); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glMultiTexCoord2hvNV")] - public static - void MultiTexCoord2h(OpenTK.Graphics.OpenGL.TextureUnit target, Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - Delegates.glMultiTexCoord2hvNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2h(OpenTK.Graphics.OpenGL.TextureUnit target, Half[] v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glMultiTexCoord2hvNV")] - public static - void MultiTexCoord2h(OpenTK.Graphics.OpenGL.TextureUnit target, ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - Delegates.glMultiTexCoord2hvNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2h(OpenTK.Graphics.OpenGL.TextureUnit target, ref Half v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glMultiTexCoord2hvNV")] - public static - unsafe void MultiTexCoord2h(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2hvNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord2h(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glMultiTexCoord3hNV")] - public static - void MultiTexCoord3h(OpenTK.Graphics.OpenGL.TextureUnit target, Half s, Half t, Half r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3hNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half)s, (Half)t, (Half)r); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3h(OpenTK.Graphics.OpenGL.TextureUnit target, Half s, Half t, Half r); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glMultiTexCoord3hvNV")] - public static - void MultiTexCoord3h(OpenTK.Graphics.OpenGL.TextureUnit target, Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - Delegates.glMultiTexCoord3hvNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3h(OpenTK.Graphics.OpenGL.TextureUnit target, Half[] v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glMultiTexCoord3hvNV")] - public static - void MultiTexCoord3h(OpenTK.Graphics.OpenGL.TextureUnit target, ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - Delegates.glMultiTexCoord3hvNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3h(OpenTK.Graphics.OpenGL.TextureUnit target, ref Half v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glMultiTexCoord3hvNV")] - public static - unsafe void MultiTexCoord3h(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3hvNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord3h(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glMultiTexCoord4hNV")] - public static - void MultiTexCoord4h(OpenTK.Graphics.OpenGL.TextureUnit target, Half s, Half t, Half r, Half q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4hNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half)s, (Half)t, (Half)r, (Half)q); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4h(OpenTK.Graphics.OpenGL.TextureUnit target, Half s, Half t, Half r, Half q); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glMultiTexCoord4hvNV")] - public static - void MultiTexCoord4h(OpenTK.Graphics.OpenGL.TextureUnit target, Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - Delegates.glMultiTexCoord4hvNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4h(OpenTK.Graphics.OpenGL.TextureUnit target, Half[] v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glMultiTexCoord4hvNV")] - public static - void MultiTexCoord4h(OpenTK.Graphics.OpenGL.TextureUnit target, ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - Delegates.glMultiTexCoord4hvNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4h(OpenTK.Graphics.OpenGL.TextureUnit target, ref Half v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glMultiTexCoord4hvNV")] - public static - unsafe void MultiTexCoord4h(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4hvNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord4h(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glNormal3hNV")] - public static - void Normal3h(Half nx, Half ny, Half nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3hNV((Half)nx, (Half)ny, (Half)nz); - #if DEBUG - } - #endif - } + public static extern void Normal3h(Half nx, Half ny, Half nz); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glNormal3hvNV")] - public static - void Normal3h(Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - Delegates.glNormal3hvNV((Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Normal3h(Half[] v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glNormal3hvNV")] - public static - void Normal3h(ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - Delegates.glNormal3hvNV((Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Normal3h(ref Half v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glNormal3hvNV")] - public static - unsafe void Normal3h(Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3hvNV((Half*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Normal3h(Half* v); /// [requires: NV_vertex_buffer_unified_memory] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glNormalFormatNV")] - public static - void NormalFormat(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalFormatNV((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride); - #if DEBUG - } - #endif - } + public static extern void NormalFormat(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathColorGenNV")] - public static - void PathColorGen(OpenTK.Graphics.OpenGL.NvPathRendering color, OpenTK.Graphics.OpenGL.NvPathRendering genMode, OpenTK.Graphics.OpenGL.NvPathRendering colorFormat, Single[] coeffs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coeffs_ptr = coeffs) - { - Delegates.glPathColorGenNV((OpenTK.Graphics.OpenGL.NvPathRendering)color, (OpenTK.Graphics.OpenGL.NvPathRendering)genMode, (OpenTK.Graphics.OpenGL.NvPathRendering)colorFormat, (Single*)coeffs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PathColorGen(OpenTK.Graphics.OpenGL.NvPathRendering color, OpenTK.Graphics.OpenGL.NvPathRendering genMode, OpenTK.Graphics.OpenGL.NvPathRendering colorFormat, Single[] coeffs); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathColorGenNV")] - public static - void PathColorGen(OpenTK.Graphics.OpenGL.NvPathRendering color, OpenTK.Graphics.OpenGL.NvPathRendering genMode, OpenTK.Graphics.OpenGL.NvPathRendering colorFormat, ref Single coeffs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coeffs_ptr = &coeffs) - { - Delegates.glPathColorGenNV((OpenTK.Graphics.OpenGL.NvPathRendering)color, (OpenTK.Graphics.OpenGL.NvPathRendering)genMode, (OpenTK.Graphics.OpenGL.NvPathRendering)colorFormat, (Single*)coeffs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PathColorGen(OpenTK.Graphics.OpenGL.NvPathRendering color, OpenTK.Graphics.OpenGL.NvPathRendering genMode, OpenTK.Graphics.OpenGL.NvPathRendering colorFormat, ref Single coeffs); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathColorGenNV")] - public static - unsafe void PathColorGen(OpenTK.Graphics.OpenGL.NvPathRendering color, OpenTK.Graphics.OpenGL.NvPathRendering genMode, OpenTK.Graphics.OpenGL.NvPathRendering colorFormat, Single* coeffs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPathColorGenNV((OpenTK.Graphics.OpenGL.NvPathRendering)color, (OpenTK.Graphics.OpenGL.NvPathRendering)genMode, (OpenTK.Graphics.OpenGL.NvPathRendering)colorFormat, (Single*)coeffs); - #if DEBUG - } - #endif - } + public static extern unsafe void PathColorGen(OpenTK.Graphics.OpenGL.NvPathRendering color, OpenTK.Graphics.OpenGL.NvPathRendering genMode, OpenTK.Graphics.OpenGL.NvPathRendering colorFormat, Single* coeffs); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static - void PathCommands(Int32 path, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = commands) - { - Delegates.glPathCommandsNV((UInt32)path, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords); - } - } - #if DEBUG - } - #endif - } + public static extern void PathCommands(Int32 path, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static - void PathCommands(Int32 path, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[] coords) + public static extern void PathCommands(Int32 path, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[] coords) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = commands) - { - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathCommandsNV((UInt32)path, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static - void PathCommands(Int32 path, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[,] coords) + public static extern void PathCommands(Int32 path, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[,] coords) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = commands) - { - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathCommandsNV((UInt32)path, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static - void PathCommands(Int32 path, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[,,] coords) + public static extern void PathCommands(Int32 path, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[,,] coords) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = commands) - { - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathCommandsNV((UInt32)path, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static - void PathCommands(Int32 path, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] ref T5 coords) + public static extern void PathCommands(Int32 path, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] ref T5 coords) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = commands) - { - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathCommandsNV((UInt32)path, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - coords = (T5)coords_ptr.Target; - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static - void PathCommands(Int32 path, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = &commands) - { - Delegates.glPathCommandsNV((UInt32)path, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords); - } - } - #if DEBUG - } - #endif - } + public static extern void PathCommands(Int32 path, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static - void PathCommands(Int32 path, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[] coords) + public static extern void PathCommands(Int32 path, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[] coords) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = &commands) - { - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathCommandsNV((UInt32)path, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static - void PathCommands(Int32 path, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[,] coords) + public static extern void PathCommands(Int32 path, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[,] coords) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = &commands) - { - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathCommandsNV((UInt32)path, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static - void PathCommands(Int32 path, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[,,] coords) + public static extern void PathCommands(Int32 path, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[,,] coords) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = &commands) - { - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathCommandsNV((UInt32)path, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static - void PathCommands(Int32 path, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] ref T5 coords) + public static extern void PathCommands(Int32 path, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] ref T5 coords) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = &commands) - { - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathCommandsNV((UInt32)path, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - coords = (T5)coords_ptr.Target; - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static - unsafe void PathCommands(Int32 path, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPathCommandsNV((UInt32)path, (Int32)numCommands, (Byte*)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void PathCommands(Int32 path, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static - unsafe void PathCommands(Int32 path, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[] coords) + public static extern unsafe void PathCommands(Int32 path, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[] coords) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathCommandsNV((UInt32)path, (Int32)numCommands, (Byte*)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static - unsafe void PathCommands(Int32 path, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[,] coords) + public static extern unsafe void PathCommands(Int32 path, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[,] coords) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathCommandsNV((UInt32)path, (Int32)numCommands, (Byte*)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static - unsafe void PathCommands(Int32 path, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[,,] coords) + public static extern unsafe void PathCommands(Int32 path, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[,,] coords) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathCommandsNV((UInt32)path, (Int32)numCommands, (Byte*)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static - unsafe void PathCommands(Int32 path, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] ref T5 coords) + public static extern unsafe void PathCommands(Int32 path, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] ref T5 coords) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathCommandsNV((UInt32)path, (Int32)numCommands, (Byte*)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - coords = (T5)coords_ptr.Target; - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static - void PathCommands(UInt32 path, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = commands) - { - Delegates.glPathCommandsNV((UInt32)path, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords); - } - } - #if DEBUG - } - #endif - } + public static extern void PathCommands(UInt32 path, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static - void PathCommands(UInt32 path, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[] coords) + public static extern void PathCommands(UInt32 path, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[] coords) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = commands) - { - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathCommandsNV((UInt32)path, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static - void PathCommands(UInt32 path, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[,] coords) + public static extern void PathCommands(UInt32 path, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[,] coords) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = commands) - { - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathCommandsNV((UInt32)path, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static - void PathCommands(UInt32 path, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[,,] coords) + public static extern void PathCommands(UInt32 path, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[,,] coords) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = commands) - { - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathCommandsNV((UInt32)path, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static - void PathCommands(UInt32 path, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] ref T5 coords) + public static extern void PathCommands(UInt32 path, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] ref T5 coords) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = commands) - { - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathCommandsNV((UInt32)path, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - coords = (T5)coords_ptr.Target; - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static - void PathCommands(UInt32 path, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = &commands) - { - Delegates.glPathCommandsNV((UInt32)path, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords); - } - } - #if DEBUG - } - #endif - } + public static extern void PathCommands(UInt32 path, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static - void PathCommands(UInt32 path, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[] coords) + public static extern void PathCommands(UInt32 path, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[] coords) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = &commands) - { - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathCommandsNV((UInt32)path, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static - void PathCommands(UInt32 path, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[,] coords) + public static extern void PathCommands(UInt32 path, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[,] coords) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = &commands) - { - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathCommandsNV((UInt32)path, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static - void PathCommands(UInt32 path, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[,,] coords) + public static extern void PathCommands(UInt32 path, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[,,] coords) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = &commands) - { - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathCommandsNV((UInt32)path, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static - void PathCommands(UInt32 path, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] ref T5 coords) + public static extern void PathCommands(UInt32 path, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] ref T5 coords) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = &commands) - { - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathCommandsNV((UInt32)path, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - coords = (T5)coords_ptr.Target; - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static - unsafe void PathCommands(UInt32 path, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPathCommandsNV((UInt32)path, (Int32)numCommands, (Byte*)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void PathCommands(UInt32 path, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static - unsafe void PathCommands(UInt32 path, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[] coords) + public static extern unsafe void PathCommands(UInt32 path, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[] coords) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathCommandsNV((UInt32)path, (Int32)numCommands, (Byte*)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static - unsafe void PathCommands(UInt32 path, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[,] coords) + public static extern unsafe void PathCommands(UInt32 path, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[,] coords) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathCommandsNV((UInt32)path, (Int32)numCommands, (Byte*)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static - unsafe void PathCommands(UInt32 path, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[,,] coords) + public static extern unsafe void PathCommands(UInt32 path, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T5[,,] coords) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathCommandsNV((UInt32)path, (Int32)numCommands, (Byte*)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCommandsNV")] - public static - unsafe void PathCommands(UInt32 path, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] ref T5 coords) + public static extern unsafe void PathCommands(UInt32 path, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] ref T5 coords) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathCommandsNV((UInt32)path, (Int32)numCommands, (Byte*)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - coords = (T5)coords_ptr.Target; - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCoordsNV")] - public static - void PathCoords(Int32 path, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPathCoordsNV((UInt32)path, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords); - #if DEBUG - } - #endif - } + public static extern void PathCoords(Int32 path, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCoordsNV")] - public static - void PathCoords(Int32 path, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T3[] coords) + public static extern void PathCoords(Int32 path, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T3[] coords) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathCoordsNV((UInt32)path, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCoordsNV")] - public static - void PathCoords(Int32 path, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T3[,] coords) + public static extern void PathCoords(Int32 path, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T3[,] coords) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathCoordsNV((UInt32)path, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCoordsNV")] - public static - void PathCoords(Int32 path, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T3[,,] coords) + public static extern void PathCoords(Int32 path, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T3[,,] coords) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathCoordsNV((UInt32)path, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCoordsNV")] - public static - void PathCoords(Int32 path, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] ref T3 coords) + public static extern void PathCoords(Int32 path, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] ref T3 coords) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathCoordsNV((UInt32)path, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - coords = (T3)coords_ptr.Target; - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCoordsNV")] - public static - void PathCoords(UInt32 path, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPathCoordsNV((UInt32)path, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords); - #if DEBUG - } - #endif - } + public static extern void PathCoords(UInt32 path, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCoordsNV")] - public static - void PathCoords(UInt32 path, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T3[] coords) + public static extern void PathCoords(UInt32 path, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T3[] coords) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathCoordsNV((UInt32)path, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCoordsNV")] - public static - void PathCoords(UInt32 path, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T3[,] coords) + public static extern void PathCoords(UInt32 path, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T3[,] coords) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathCoordsNV((UInt32)path, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCoordsNV")] - public static - void PathCoords(UInt32 path, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T3[,,] coords) + public static extern void PathCoords(UInt32 path, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T3[,,] coords) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathCoordsNV((UInt32)path, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCoordsNV")] - public static - void PathCoords(UInt32 path, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] ref T3 coords) + public static extern void PathCoords(UInt32 path, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] ref T3 coords) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathCoordsNV((UInt32)path, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - coords = (T3)coords_ptr.Target; - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathCoverDepthFuncNV")] - public static - void PathCoverDepthFunc(OpenTK.Graphics.OpenGL.DepthFunction func) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPathCoverDepthFuncNV((OpenTK.Graphics.OpenGL.DepthFunction)func); - #if DEBUG - } - #endif - } + public static extern void PathCoverDepthFunc(OpenTK.Graphics.OpenGL.DepthFunction func); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathDashArrayNV")] - public static - void PathDashArray(Int32 path, Int32 dashCount, Single[] dashArray) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* dashArray_ptr = dashArray) - { - Delegates.glPathDashArrayNV((UInt32)path, (Int32)dashCount, (Single*)dashArray_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PathDashArray(Int32 path, Int32 dashCount, Single[] dashArray); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathDashArrayNV")] - public static - void PathDashArray(Int32 path, Int32 dashCount, ref Single dashArray) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* dashArray_ptr = &dashArray) - { - Delegates.glPathDashArrayNV((UInt32)path, (Int32)dashCount, (Single*)dashArray_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PathDashArray(Int32 path, Int32 dashCount, ref Single dashArray); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathDashArrayNV")] - public static - unsafe void PathDashArray(Int32 path, Int32 dashCount, Single* dashArray) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPathDashArrayNV((UInt32)path, (Int32)dashCount, (Single*)dashArray); - #if DEBUG - } - #endif - } + public static extern unsafe void PathDashArray(Int32 path, Int32 dashCount, Single* dashArray); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathDashArrayNV")] - public static - void PathDashArray(UInt32 path, Int32 dashCount, Single[] dashArray) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* dashArray_ptr = dashArray) - { - Delegates.glPathDashArrayNV((UInt32)path, (Int32)dashCount, (Single*)dashArray_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PathDashArray(UInt32 path, Int32 dashCount, Single[] dashArray); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathDashArrayNV")] - public static - void PathDashArray(UInt32 path, Int32 dashCount, ref Single dashArray) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* dashArray_ptr = &dashArray) - { - Delegates.glPathDashArrayNV((UInt32)path, (Int32)dashCount, (Single*)dashArray_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PathDashArray(UInt32 path, Int32 dashCount, ref Single dashArray); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathDashArrayNV")] - public static - unsafe void PathDashArray(UInt32 path, Int32 dashCount, Single* dashArray) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPathDashArrayNV((UInt32)path, (Int32)dashCount, (Single*)dashArray); - #if DEBUG - } - #endif - } + public static extern unsafe void PathDashArray(UInt32 path, Int32 dashCount, Single* dashArray); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathFogGenNV")] - public static - void PathFogGen(OpenTK.Graphics.OpenGL.NvPathRendering genMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPathFogGenNV((OpenTK.Graphics.OpenGL.NvPathRendering)genMode); - #if DEBUG - } - #endif - } + public static extern void PathFogGen(OpenTK.Graphics.OpenGL.NvPathRendering genMode); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathGlyphRangeNV")] - public static - void PathGlyphRange(Int32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, IntPtr fontName, Int32 fontStyle, Int32 firstGlyph, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, Int32 pathParameterTemplate, Single emScale) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPathGlyphRangeNV((UInt32)firstPathName, (OpenTK.Graphics.OpenGL.NvPathRendering)fontTarget, (IntPtr)fontName, (UInt32)fontStyle, (UInt32)firstGlyph, (Int32)numGlyphs, (OpenTK.Graphics.OpenGL.NvPathRendering)handleMissingGlyphs, (UInt32)pathParameterTemplate, (Single)emScale); - #if DEBUG - } - #endif - } + public static extern void PathGlyphRange(Int32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, IntPtr fontName, Int32 fontStyle, Int32 firstGlyph, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, Int32 pathParameterTemplate, Single emScale); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathGlyphRangeNV")] - public static - void PathGlyphRange(Int32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, [InAttribute, OutAttribute] T2[] fontName, Int32 fontStyle, Int32 firstGlyph, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, Int32 pathParameterTemplate, Single emScale) + public static extern void PathGlyphRange(Int32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, [InAttribute, OutAttribute] T2[] fontName, Int32 fontStyle, Int32 firstGlyph, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, Int32 pathParameterTemplate, Single emScale) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle fontName_ptr = GCHandle.Alloc(fontName, GCHandleType.Pinned); - try - { - Delegates.glPathGlyphRangeNV((UInt32)firstPathName, (OpenTK.Graphics.OpenGL.NvPathRendering)fontTarget, (IntPtr)fontName_ptr.AddrOfPinnedObject(), (UInt32)fontStyle, (UInt32)firstGlyph, (Int32)numGlyphs, (OpenTK.Graphics.OpenGL.NvPathRendering)handleMissingGlyphs, (UInt32)pathParameterTemplate, (Single)emScale); - } - finally - { - fontName_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathGlyphRangeNV")] - public static - void PathGlyphRange(Int32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, [InAttribute, OutAttribute] T2[,] fontName, Int32 fontStyle, Int32 firstGlyph, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, Int32 pathParameterTemplate, Single emScale) + public static extern void PathGlyphRange(Int32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, [InAttribute, OutAttribute] T2[,] fontName, Int32 fontStyle, Int32 firstGlyph, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, Int32 pathParameterTemplate, Single emScale) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle fontName_ptr = GCHandle.Alloc(fontName, GCHandleType.Pinned); - try - { - Delegates.glPathGlyphRangeNV((UInt32)firstPathName, (OpenTK.Graphics.OpenGL.NvPathRendering)fontTarget, (IntPtr)fontName_ptr.AddrOfPinnedObject(), (UInt32)fontStyle, (UInt32)firstGlyph, (Int32)numGlyphs, (OpenTK.Graphics.OpenGL.NvPathRendering)handleMissingGlyphs, (UInt32)pathParameterTemplate, (Single)emScale); - } - finally - { - fontName_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathGlyphRangeNV")] - public static - void PathGlyphRange(Int32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, [InAttribute, OutAttribute] T2[,,] fontName, Int32 fontStyle, Int32 firstGlyph, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, Int32 pathParameterTemplate, Single emScale) + public static extern void PathGlyphRange(Int32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, [InAttribute, OutAttribute] T2[,,] fontName, Int32 fontStyle, Int32 firstGlyph, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, Int32 pathParameterTemplate, Single emScale) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle fontName_ptr = GCHandle.Alloc(fontName, GCHandleType.Pinned); - try - { - Delegates.glPathGlyphRangeNV((UInt32)firstPathName, (OpenTK.Graphics.OpenGL.NvPathRendering)fontTarget, (IntPtr)fontName_ptr.AddrOfPinnedObject(), (UInt32)fontStyle, (UInt32)firstGlyph, (Int32)numGlyphs, (OpenTK.Graphics.OpenGL.NvPathRendering)handleMissingGlyphs, (UInt32)pathParameterTemplate, (Single)emScale); - } - finally - { - fontName_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathGlyphRangeNV")] - public static - void PathGlyphRange(Int32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, [InAttribute, OutAttribute] ref T2 fontName, Int32 fontStyle, Int32 firstGlyph, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, Int32 pathParameterTemplate, Single emScale) + public static extern void PathGlyphRange(Int32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, [InAttribute, OutAttribute] ref T2 fontName, Int32 fontStyle, Int32 firstGlyph, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, Int32 pathParameterTemplate, Single emScale) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle fontName_ptr = GCHandle.Alloc(fontName, GCHandleType.Pinned); - try - { - Delegates.glPathGlyphRangeNV((UInt32)firstPathName, (OpenTK.Graphics.OpenGL.NvPathRendering)fontTarget, (IntPtr)fontName_ptr.AddrOfPinnedObject(), (UInt32)fontStyle, (UInt32)firstGlyph, (Int32)numGlyphs, (OpenTK.Graphics.OpenGL.NvPathRendering)handleMissingGlyphs, (UInt32)pathParameterTemplate, (Single)emScale); - fontName = (T2)fontName_ptr.Target; - } - finally - { - fontName_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathGlyphRangeNV")] - public static - void PathGlyphRange(UInt32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, IntPtr fontName, UInt32 fontStyle, UInt32 firstGlyph, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, UInt32 pathParameterTemplate, Single emScale) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPathGlyphRangeNV((UInt32)firstPathName, (OpenTK.Graphics.OpenGL.NvPathRendering)fontTarget, (IntPtr)fontName, (UInt32)fontStyle, (UInt32)firstGlyph, (Int32)numGlyphs, (OpenTK.Graphics.OpenGL.NvPathRendering)handleMissingGlyphs, (UInt32)pathParameterTemplate, (Single)emScale); - #if DEBUG - } - #endif - } + public static extern void PathGlyphRange(UInt32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, IntPtr fontName, UInt32 fontStyle, UInt32 firstGlyph, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, UInt32 pathParameterTemplate, Single emScale); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathGlyphRangeNV")] - public static - void PathGlyphRange(UInt32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, [InAttribute, OutAttribute] T2[] fontName, UInt32 fontStyle, UInt32 firstGlyph, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, UInt32 pathParameterTemplate, Single emScale) + public static extern void PathGlyphRange(UInt32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, [InAttribute, OutAttribute] T2[] fontName, UInt32 fontStyle, UInt32 firstGlyph, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, UInt32 pathParameterTemplate, Single emScale) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle fontName_ptr = GCHandle.Alloc(fontName, GCHandleType.Pinned); - try - { - Delegates.glPathGlyphRangeNV((UInt32)firstPathName, (OpenTK.Graphics.OpenGL.NvPathRendering)fontTarget, (IntPtr)fontName_ptr.AddrOfPinnedObject(), (UInt32)fontStyle, (UInt32)firstGlyph, (Int32)numGlyphs, (OpenTK.Graphics.OpenGL.NvPathRendering)handleMissingGlyphs, (UInt32)pathParameterTemplate, (Single)emScale); - } - finally - { - fontName_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathGlyphRangeNV")] - public static - void PathGlyphRange(UInt32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, [InAttribute, OutAttribute] T2[,] fontName, UInt32 fontStyle, UInt32 firstGlyph, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, UInt32 pathParameterTemplate, Single emScale) + public static extern void PathGlyphRange(UInt32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, [InAttribute, OutAttribute] T2[,] fontName, UInt32 fontStyle, UInt32 firstGlyph, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, UInt32 pathParameterTemplate, Single emScale) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle fontName_ptr = GCHandle.Alloc(fontName, GCHandleType.Pinned); - try - { - Delegates.glPathGlyphRangeNV((UInt32)firstPathName, (OpenTK.Graphics.OpenGL.NvPathRendering)fontTarget, (IntPtr)fontName_ptr.AddrOfPinnedObject(), (UInt32)fontStyle, (UInt32)firstGlyph, (Int32)numGlyphs, (OpenTK.Graphics.OpenGL.NvPathRendering)handleMissingGlyphs, (UInt32)pathParameterTemplate, (Single)emScale); - } - finally - { - fontName_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathGlyphRangeNV")] - public static - void PathGlyphRange(UInt32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, [InAttribute, OutAttribute] T2[,,] fontName, UInt32 fontStyle, UInt32 firstGlyph, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, UInt32 pathParameterTemplate, Single emScale) + public static extern void PathGlyphRange(UInt32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, [InAttribute, OutAttribute] T2[,,] fontName, UInt32 fontStyle, UInt32 firstGlyph, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, UInt32 pathParameterTemplate, Single emScale) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle fontName_ptr = GCHandle.Alloc(fontName, GCHandleType.Pinned); - try - { - Delegates.glPathGlyphRangeNV((UInt32)firstPathName, (OpenTK.Graphics.OpenGL.NvPathRendering)fontTarget, (IntPtr)fontName_ptr.AddrOfPinnedObject(), (UInt32)fontStyle, (UInt32)firstGlyph, (Int32)numGlyphs, (OpenTK.Graphics.OpenGL.NvPathRendering)handleMissingGlyphs, (UInt32)pathParameterTemplate, (Single)emScale); - } - finally - { - fontName_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathGlyphRangeNV")] - public static - void PathGlyphRange(UInt32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, [InAttribute, OutAttribute] ref T2 fontName, UInt32 fontStyle, UInt32 firstGlyph, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, UInt32 pathParameterTemplate, Single emScale) + public static extern void PathGlyphRange(UInt32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, [InAttribute, OutAttribute] ref T2 fontName, UInt32 fontStyle, UInt32 firstGlyph, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, UInt32 pathParameterTemplate, Single emScale) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle fontName_ptr = GCHandle.Alloc(fontName, GCHandleType.Pinned); - try - { - Delegates.glPathGlyphRangeNV((UInt32)firstPathName, (OpenTK.Graphics.OpenGL.NvPathRendering)fontTarget, (IntPtr)fontName_ptr.AddrOfPinnedObject(), (UInt32)fontStyle, (UInt32)firstGlyph, (Int32)numGlyphs, (OpenTK.Graphics.OpenGL.NvPathRendering)handleMissingGlyphs, (UInt32)pathParameterTemplate, (Single)emScale); - fontName = (T2)fontName_ptr.Target; - } - finally - { - fontName_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathGlyphsNV")] - public static - void PathGlyph(Int32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, IntPtr fontName, Int32 fontStyle, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering type, IntPtr charcodes, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, Int32 pathParameterTemplate, Single emScale) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPathGlyphsNV((UInt32)firstPathName, (OpenTK.Graphics.OpenGL.NvPathRendering)fontTarget, (IntPtr)fontName, (UInt32)fontStyle, (Int32)numGlyphs, (OpenTK.Graphics.OpenGL.NvPathRendering)type, (IntPtr)charcodes, (OpenTK.Graphics.OpenGL.NvPathRendering)handleMissingGlyphs, (UInt32)pathParameterTemplate, (Single)emScale); - #if DEBUG - } - #endif - } + public static extern void PathGlyph(Int32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, IntPtr fontName, Int32 fontStyle, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering type, IntPtr charcodes, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, Int32 pathParameterTemplate, Single emScale); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathGlyphsNV")] - public static - void PathGlyph(Int32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, [InAttribute, OutAttribute] T2[] fontName, Int32 fontStyle, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering type, [InAttribute, OutAttribute] T6[] charcodes, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, Int32 pathParameterTemplate, Single emScale) + public static extern void PathGlyph(Int32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, [InAttribute, OutAttribute] T2[] fontName, Int32 fontStyle, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering type, [InAttribute, OutAttribute] T6[] charcodes, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, Int32 pathParameterTemplate, Single emScale) where T2 : struct where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle fontName_ptr = GCHandle.Alloc(fontName, GCHandleType.Pinned); - GCHandle charcodes_ptr = GCHandle.Alloc(charcodes, GCHandleType.Pinned); - try - { - Delegates.glPathGlyphsNV((UInt32)firstPathName, (OpenTK.Graphics.OpenGL.NvPathRendering)fontTarget, (IntPtr)fontName_ptr.AddrOfPinnedObject(), (UInt32)fontStyle, (Int32)numGlyphs, (OpenTK.Graphics.OpenGL.NvPathRendering)type, (IntPtr)charcodes_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvPathRendering)handleMissingGlyphs, (UInt32)pathParameterTemplate, (Single)emScale); - } - finally - { - fontName_ptr.Free(); - charcodes_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathGlyphsNV")] - public static - void PathGlyph(Int32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, [InAttribute, OutAttribute] T2[,] fontName, Int32 fontStyle, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering type, [InAttribute, OutAttribute] T6[,] charcodes, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, Int32 pathParameterTemplate, Single emScale) + public static extern void PathGlyph(Int32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, [InAttribute, OutAttribute] T2[,] fontName, Int32 fontStyle, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering type, [InAttribute, OutAttribute] T6[,] charcodes, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, Int32 pathParameterTemplate, Single emScale) where T2 : struct where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle fontName_ptr = GCHandle.Alloc(fontName, GCHandleType.Pinned); - GCHandle charcodes_ptr = GCHandle.Alloc(charcodes, GCHandleType.Pinned); - try - { - Delegates.glPathGlyphsNV((UInt32)firstPathName, (OpenTK.Graphics.OpenGL.NvPathRendering)fontTarget, (IntPtr)fontName_ptr.AddrOfPinnedObject(), (UInt32)fontStyle, (Int32)numGlyphs, (OpenTK.Graphics.OpenGL.NvPathRendering)type, (IntPtr)charcodes_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvPathRendering)handleMissingGlyphs, (UInt32)pathParameterTemplate, (Single)emScale); - } - finally - { - fontName_ptr.Free(); - charcodes_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathGlyphsNV")] - public static - void PathGlyph(Int32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, [InAttribute, OutAttribute] T2[,,] fontName, Int32 fontStyle, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering type, [InAttribute, OutAttribute] T6[,,] charcodes, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, Int32 pathParameterTemplate, Single emScale) + public static extern void PathGlyph(Int32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, [InAttribute, OutAttribute] T2[,,] fontName, Int32 fontStyle, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering type, [InAttribute, OutAttribute] T6[,,] charcodes, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, Int32 pathParameterTemplate, Single emScale) where T2 : struct where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle fontName_ptr = GCHandle.Alloc(fontName, GCHandleType.Pinned); - GCHandle charcodes_ptr = GCHandle.Alloc(charcodes, GCHandleType.Pinned); - try - { - Delegates.glPathGlyphsNV((UInt32)firstPathName, (OpenTK.Graphics.OpenGL.NvPathRendering)fontTarget, (IntPtr)fontName_ptr.AddrOfPinnedObject(), (UInt32)fontStyle, (Int32)numGlyphs, (OpenTK.Graphics.OpenGL.NvPathRendering)type, (IntPtr)charcodes_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvPathRendering)handleMissingGlyphs, (UInt32)pathParameterTemplate, (Single)emScale); - } - finally - { - fontName_ptr.Free(); - charcodes_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathGlyphsNV")] - public static - void PathGlyph(Int32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, [InAttribute, OutAttribute] ref T2 fontName, Int32 fontStyle, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering type, [InAttribute, OutAttribute] ref T6 charcodes, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, Int32 pathParameterTemplate, Single emScale) + public static extern void PathGlyph(Int32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, [InAttribute, OutAttribute] ref T2 fontName, Int32 fontStyle, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering type, [InAttribute, OutAttribute] ref T6 charcodes, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, Int32 pathParameterTemplate, Single emScale) where T2 : struct where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle fontName_ptr = GCHandle.Alloc(fontName, GCHandleType.Pinned); - GCHandle charcodes_ptr = GCHandle.Alloc(charcodes, GCHandleType.Pinned); - try - { - Delegates.glPathGlyphsNV((UInt32)firstPathName, (OpenTK.Graphics.OpenGL.NvPathRendering)fontTarget, (IntPtr)fontName_ptr.AddrOfPinnedObject(), (UInt32)fontStyle, (Int32)numGlyphs, (OpenTK.Graphics.OpenGL.NvPathRendering)type, (IntPtr)charcodes_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvPathRendering)handleMissingGlyphs, (UInt32)pathParameterTemplate, (Single)emScale); - fontName = (T2)fontName_ptr.Target; - charcodes = (T6)charcodes_ptr.Target; - } - finally - { - fontName_ptr.Free(); - charcodes_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathGlyphsNV")] - public static - void PathGlyph(UInt32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, IntPtr fontName, UInt32 fontStyle, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering type, IntPtr charcodes, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, UInt32 pathParameterTemplate, Single emScale) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPathGlyphsNV((UInt32)firstPathName, (OpenTK.Graphics.OpenGL.NvPathRendering)fontTarget, (IntPtr)fontName, (UInt32)fontStyle, (Int32)numGlyphs, (OpenTK.Graphics.OpenGL.NvPathRendering)type, (IntPtr)charcodes, (OpenTK.Graphics.OpenGL.NvPathRendering)handleMissingGlyphs, (UInt32)pathParameterTemplate, (Single)emScale); - #if DEBUG - } - #endif - } + public static extern void PathGlyph(UInt32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, IntPtr fontName, UInt32 fontStyle, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering type, IntPtr charcodes, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, UInt32 pathParameterTemplate, Single emScale); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathGlyphsNV")] - public static - void PathGlyph(UInt32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, [InAttribute, OutAttribute] T2[] fontName, UInt32 fontStyle, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering type, [InAttribute, OutAttribute] T6[] charcodes, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, UInt32 pathParameterTemplate, Single emScale) + public static extern void PathGlyph(UInt32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, [InAttribute, OutAttribute] T2[] fontName, UInt32 fontStyle, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering type, [InAttribute, OutAttribute] T6[] charcodes, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, UInt32 pathParameterTemplate, Single emScale) where T2 : struct where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle fontName_ptr = GCHandle.Alloc(fontName, GCHandleType.Pinned); - GCHandle charcodes_ptr = GCHandle.Alloc(charcodes, GCHandleType.Pinned); - try - { - Delegates.glPathGlyphsNV((UInt32)firstPathName, (OpenTK.Graphics.OpenGL.NvPathRendering)fontTarget, (IntPtr)fontName_ptr.AddrOfPinnedObject(), (UInt32)fontStyle, (Int32)numGlyphs, (OpenTK.Graphics.OpenGL.NvPathRendering)type, (IntPtr)charcodes_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvPathRendering)handleMissingGlyphs, (UInt32)pathParameterTemplate, (Single)emScale); - } - finally - { - fontName_ptr.Free(); - charcodes_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathGlyphsNV")] - public static - void PathGlyph(UInt32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, [InAttribute, OutAttribute] T2[,] fontName, UInt32 fontStyle, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering type, [InAttribute, OutAttribute] T6[,] charcodes, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, UInt32 pathParameterTemplate, Single emScale) + public static extern void PathGlyph(UInt32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, [InAttribute, OutAttribute] T2[,] fontName, UInt32 fontStyle, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering type, [InAttribute, OutAttribute] T6[,] charcodes, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, UInt32 pathParameterTemplate, Single emScale) where T2 : struct where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle fontName_ptr = GCHandle.Alloc(fontName, GCHandleType.Pinned); - GCHandle charcodes_ptr = GCHandle.Alloc(charcodes, GCHandleType.Pinned); - try - { - Delegates.glPathGlyphsNV((UInt32)firstPathName, (OpenTK.Graphics.OpenGL.NvPathRendering)fontTarget, (IntPtr)fontName_ptr.AddrOfPinnedObject(), (UInt32)fontStyle, (Int32)numGlyphs, (OpenTK.Graphics.OpenGL.NvPathRendering)type, (IntPtr)charcodes_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvPathRendering)handleMissingGlyphs, (UInt32)pathParameterTemplate, (Single)emScale); - } - finally - { - fontName_ptr.Free(); - charcodes_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathGlyphsNV")] - public static - void PathGlyph(UInt32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, [InAttribute, OutAttribute] T2[,,] fontName, UInt32 fontStyle, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering type, [InAttribute, OutAttribute] T6[,,] charcodes, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, UInt32 pathParameterTemplate, Single emScale) + public static extern void PathGlyph(UInt32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, [InAttribute, OutAttribute] T2[,,] fontName, UInt32 fontStyle, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering type, [InAttribute, OutAttribute] T6[,,] charcodes, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, UInt32 pathParameterTemplate, Single emScale) where T2 : struct where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle fontName_ptr = GCHandle.Alloc(fontName, GCHandleType.Pinned); - GCHandle charcodes_ptr = GCHandle.Alloc(charcodes, GCHandleType.Pinned); - try - { - Delegates.glPathGlyphsNV((UInt32)firstPathName, (OpenTK.Graphics.OpenGL.NvPathRendering)fontTarget, (IntPtr)fontName_ptr.AddrOfPinnedObject(), (UInt32)fontStyle, (Int32)numGlyphs, (OpenTK.Graphics.OpenGL.NvPathRendering)type, (IntPtr)charcodes_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvPathRendering)handleMissingGlyphs, (UInt32)pathParameterTemplate, (Single)emScale); - } - finally - { - fontName_ptr.Free(); - charcodes_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathGlyphsNV")] - public static - void PathGlyph(UInt32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, [InAttribute, OutAttribute] ref T2 fontName, UInt32 fontStyle, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering type, [InAttribute, OutAttribute] ref T6 charcodes, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, UInt32 pathParameterTemplate, Single emScale) + public static extern void PathGlyph(UInt32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, [InAttribute, OutAttribute] ref T2 fontName, UInt32 fontStyle, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering type, [InAttribute, OutAttribute] ref T6 charcodes, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, UInt32 pathParameterTemplate, Single emScale) where T2 : struct where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle fontName_ptr = GCHandle.Alloc(fontName, GCHandleType.Pinned); - GCHandle charcodes_ptr = GCHandle.Alloc(charcodes, GCHandleType.Pinned); - try - { - Delegates.glPathGlyphsNV((UInt32)firstPathName, (OpenTK.Graphics.OpenGL.NvPathRendering)fontTarget, (IntPtr)fontName_ptr.AddrOfPinnedObject(), (UInt32)fontStyle, (Int32)numGlyphs, (OpenTK.Graphics.OpenGL.NvPathRendering)type, (IntPtr)charcodes_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvPathRendering)handleMissingGlyphs, (UInt32)pathParameterTemplate, (Single)emScale); - fontName = (T2)fontName_ptr.Target; - charcodes = (T6)charcodes_ptr.Target; - } - finally - { - fontName_ptr.Free(); - charcodes_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathParameterfNV")] - public static - void PathParameter(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPathParameterfNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Single)value); - #if DEBUG - } - #endif - } + public static extern void PathParameter(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Single value); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathParameterfNV")] - public static - void PathParameter(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPathParameterfNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Single)value); - #if DEBUG - } - #endif - } + public static extern void PathParameter(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Single value); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathParameterfvNV")] - public static - void PathParameter(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glPathParameterfvNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PathParameter(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Single[] value); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathParameterfvNV")] - public static - unsafe void PathParameter(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPathParameterfvNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void PathParameter(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Single* value); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathParameterfvNV")] - public static - void PathParameter(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glPathParameterfvNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PathParameter(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Single[] value); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathParameterfvNV")] - public static - unsafe void PathParameter(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPathParameterfvNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void PathParameter(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Single* value); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathParameteriNV")] - public static - void PathParameter(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPathParameteriNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Int32)value); - #if DEBUG - } - #endif - } + public static extern void PathParameter(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Int32 value); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathParameteriNV")] - public static - void PathParameter(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPathParameteriNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Int32)value); - #if DEBUG - } - #endif - } + public static extern void PathParameter(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Int32 value); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathParameterivNV")] - public static - void PathParameter(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glPathParameterivNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PathParameter(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Int32[] value); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathParameterivNV")] - public static - unsafe void PathParameter(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPathParameterivNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void PathParameter(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Int32* value); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathParameterivNV")] - public static - void PathParameter(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glPathParameterivNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PathParameter(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Int32[] value); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathParameterivNV")] - public static - unsafe void PathParameter(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPathParameterivNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void PathParameter(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Int32* value); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathStencilDepthOffsetNV")] - public static - void PathStencilDepthOffset(Single factor, Single units) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPathStencilDepthOffsetNV((Single)factor, (Single)units); - #if DEBUG - } - #endif - } + public static extern void PathStencilDepthOffset(Single factor, Single units); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathStencilFuncNV")] - public static - void PathStencilFunc(OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPathStencilFuncNV((OpenTK.Graphics.OpenGL.StencilFunction)func, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void PathStencilFunc(OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, Int32 mask); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathStencilFuncNV")] - public static - void PathStencilFunc(OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPathStencilFuncNV((OpenTK.Graphics.OpenGL.StencilFunction)func, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void PathStencilFunc(OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathStringNV")] - public static - void PathString(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering format, Int32 length, IntPtr pathString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPathStringNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)format, (Int32)length, (IntPtr)pathString); - #if DEBUG - } - #endif - } + public static extern void PathString(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering format, Int32 length, IntPtr pathString); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathStringNV")] - public static - void PathString(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering format, Int32 length, [InAttribute, OutAttribute] T3[] pathString) + public static extern void PathString(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering format, Int32 length, [InAttribute, OutAttribute] T3[] pathString) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pathString_ptr = GCHandle.Alloc(pathString, GCHandleType.Pinned); - try - { - Delegates.glPathStringNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)format, (Int32)length, (IntPtr)pathString_ptr.AddrOfPinnedObject()); - } - finally - { - pathString_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathStringNV")] - public static - void PathString(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering format, Int32 length, [InAttribute, OutAttribute] T3[,] pathString) + public static extern void PathString(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering format, Int32 length, [InAttribute, OutAttribute] T3[,] pathString) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pathString_ptr = GCHandle.Alloc(pathString, GCHandleType.Pinned); - try - { - Delegates.glPathStringNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)format, (Int32)length, (IntPtr)pathString_ptr.AddrOfPinnedObject()); - } - finally - { - pathString_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathStringNV")] - public static - void PathString(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering format, Int32 length, [InAttribute, OutAttribute] T3[,,] pathString) + public static extern void PathString(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering format, Int32 length, [InAttribute, OutAttribute] T3[,,] pathString) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pathString_ptr = GCHandle.Alloc(pathString, GCHandleType.Pinned); - try - { - Delegates.glPathStringNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)format, (Int32)length, (IntPtr)pathString_ptr.AddrOfPinnedObject()); - } - finally - { - pathString_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathStringNV")] - public static - void PathString(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering format, Int32 length, [InAttribute, OutAttribute] ref T3 pathString) + public static extern void PathString(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering format, Int32 length, [InAttribute, OutAttribute] ref T3 pathString) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pathString_ptr = GCHandle.Alloc(pathString, GCHandleType.Pinned); - try - { - Delegates.glPathStringNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)format, (Int32)length, (IntPtr)pathString_ptr.AddrOfPinnedObject()); - pathString = (T3)pathString_ptr.Target; - } - finally - { - pathString_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathStringNV")] - public static - void PathString(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering format, Int32 length, IntPtr pathString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPathStringNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)format, (Int32)length, (IntPtr)pathString); - #if DEBUG - } - #endif - } + public static extern void PathString(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering format, Int32 length, IntPtr pathString); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathStringNV")] - public static - void PathString(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering format, Int32 length, [InAttribute, OutAttribute] T3[] pathString) + public static extern void PathString(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering format, Int32 length, [InAttribute, OutAttribute] T3[] pathString) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pathString_ptr = GCHandle.Alloc(pathString, GCHandleType.Pinned); - try - { - Delegates.glPathStringNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)format, (Int32)length, (IntPtr)pathString_ptr.AddrOfPinnedObject()); - } - finally - { - pathString_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathStringNV")] - public static - void PathString(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering format, Int32 length, [InAttribute, OutAttribute] T3[,] pathString) + public static extern void PathString(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering format, Int32 length, [InAttribute, OutAttribute] T3[,] pathString) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pathString_ptr = GCHandle.Alloc(pathString, GCHandleType.Pinned); - try - { - Delegates.glPathStringNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)format, (Int32)length, (IntPtr)pathString_ptr.AddrOfPinnedObject()); - } - finally - { - pathString_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathStringNV")] - public static - void PathString(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering format, Int32 length, [InAttribute, OutAttribute] T3[,,] pathString) + public static extern void PathString(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering format, Int32 length, [InAttribute, OutAttribute] T3[,,] pathString) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pathString_ptr = GCHandle.Alloc(pathString, GCHandleType.Pinned); - try - { - Delegates.glPathStringNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)format, (Int32)length, (IntPtr)pathString_ptr.AddrOfPinnedObject()); - } - finally - { - pathString_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathStringNV")] - public static - void PathString(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering format, Int32 length, [InAttribute, OutAttribute] ref T3 pathString) + public static extern void PathString(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering format, Int32 length, [InAttribute, OutAttribute] ref T3 pathString) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pathString_ptr = GCHandle.Alloc(pathString, GCHandleType.Pinned); - try - { - Delegates.glPathStringNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)format, (Int32)length, (IntPtr)pathString_ptr.AddrOfPinnedObject()); - pathString = (T3)pathString_ptr.Target; - } - finally - { - pathString_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static - void PathSubCommands(Int32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = commands) - { - Delegates.glPathSubCommandsNV((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords); - } - } - #if DEBUG - } - #endif - } + public static extern void PathSubCommands(Int32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static - void PathSubCommands(Int32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[] coords) + public static extern void PathSubCommands(Int32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[] coords) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = commands) - { - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathSubCommandsNV((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static - void PathSubCommands(Int32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[,] coords) + public static extern void PathSubCommands(Int32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[,] coords) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = commands) - { - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathSubCommandsNV((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static - void PathSubCommands(Int32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[,,] coords) + public static extern void PathSubCommands(Int32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[,,] coords) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = commands) - { - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathSubCommandsNV((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static - void PathSubCommands(Int32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] ref T7 coords) + public static extern void PathSubCommands(Int32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] ref T7 coords) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = commands) - { - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathSubCommandsNV((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - coords = (T7)coords_ptr.Target; - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static - void PathSubCommands(Int32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = &commands) - { - Delegates.glPathSubCommandsNV((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords); - } - } - #if DEBUG - } - #endif - } + public static extern void PathSubCommands(Int32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static - void PathSubCommands(Int32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[] coords) + public static extern void PathSubCommands(Int32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[] coords) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = &commands) - { - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathSubCommandsNV((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static - void PathSubCommands(Int32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[,] coords) + public static extern void PathSubCommands(Int32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[,] coords) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = &commands) - { - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathSubCommandsNV((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static - void PathSubCommands(Int32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[,,] coords) + public static extern void PathSubCommands(Int32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[,,] coords) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = &commands) - { - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathSubCommandsNV((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static - void PathSubCommands(Int32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] ref T7 coords) + public static extern void PathSubCommands(Int32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] ref T7 coords) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = &commands) - { - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathSubCommandsNV((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - coords = (T7)coords_ptr.Target; - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static - unsafe void PathSubCommands(Int32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPathSubCommandsNV((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (Byte*)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void PathSubCommands(Int32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static - unsafe void PathSubCommands(Int32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[] coords) + public static extern unsafe void PathSubCommands(Int32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[] coords) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathSubCommandsNV((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (Byte*)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static - unsafe void PathSubCommands(Int32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[,] coords) + public static extern unsafe void PathSubCommands(Int32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[,] coords) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathSubCommandsNV((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (Byte*)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static - unsafe void PathSubCommands(Int32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[,,] coords) + public static extern unsafe void PathSubCommands(Int32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[,,] coords) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathSubCommandsNV((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (Byte*)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static - unsafe void PathSubCommands(Int32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] ref T7 coords) + public static extern unsafe void PathSubCommands(Int32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] ref T7 coords) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathSubCommandsNV((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (Byte*)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - coords = (T7)coords_ptr.Target; - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static - void PathSubCommands(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = commands) - { - Delegates.glPathSubCommandsNV((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords); - } - } - #if DEBUG - } - #endif - } + public static extern void PathSubCommands(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static - void PathSubCommands(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[] coords) + public static extern void PathSubCommands(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[] coords) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = commands) - { - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathSubCommandsNV((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static - void PathSubCommands(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[,] coords) + public static extern void PathSubCommands(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[,] coords) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = commands) - { - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathSubCommandsNV((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static - void PathSubCommands(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[,,] coords) + public static extern void PathSubCommands(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[,,] coords) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = commands) - { - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathSubCommandsNV((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static - void PathSubCommands(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] ref T7 coords) + public static extern void PathSubCommands(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte[] commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] ref T7 coords) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = commands) - { - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathSubCommandsNV((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - coords = (T7)coords_ptr.Target; - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static - void PathSubCommands(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = &commands) - { - Delegates.glPathSubCommandsNV((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords); - } - } - #if DEBUG - } - #endif - } + public static extern void PathSubCommands(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static - void PathSubCommands(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[] coords) + public static extern void PathSubCommands(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[] coords) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = &commands) - { - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathSubCommandsNV((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static - void PathSubCommands(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[,] coords) + public static extern void PathSubCommands(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[,] coords) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = &commands) - { - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathSubCommandsNV((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static - void PathSubCommands(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[,,] coords) + public static extern void PathSubCommands(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[,,] coords) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = &commands) - { - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathSubCommandsNV((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static - void PathSubCommands(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] ref T7 coords) + public static extern void PathSubCommands(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, ref Byte commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] ref T7 coords) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* commands_ptr = &commands) - { - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathSubCommandsNV((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (Byte*)commands_ptr, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - coords = (T7)coords_ptr.Target; - } - finally - { - coords_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static - unsafe void PathSubCommands(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPathSubCommandsNV((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (Byte*)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void PathSubCommands(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static - unsafe void PathSubCommands(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[] coords) + public static extern unsafe void PathSubCommands(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[] coords) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathSubCommandsNV((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (Byte*)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static - unsafe void PathSubCommands(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[,] coords) + public static extern unsafe void PathSubCommands(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[,] coords) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathSubCommandsNV((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (Byte*)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static - unsafe void PathSubCommands(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[,,] coords) + public static extern unsafe void PathSubCommands(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T7[,,] coords) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathSubCommandsNV((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (Byte*)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCommandsNV")] - public static - unsafe void PathSubCommands(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] ref T7 coords) + public static extern unsafe void PathSubCommands(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] ref T7 coords) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathSubCommandsNV((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (Byte*)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - coords = (T7)coords_ptr.Target; - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCoordsNV")] - public static - void PathSubCoords(Int32 path, Int32 coordStart, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPathSubCoordsNV((UInt32)path, (Int32)coordStart, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords); - #if DEBUG - } - #endif - } + public static extern void PathSubCoords(Int32 path, Int32 coordStart, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCoordsNV")] - public static - void PathSubCoords(Int32 path, Int32 coordStart, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T4[] coords) + public static extern void PathSubCoords(Int32 path, Int32 coordStart, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T4[] coords) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathSubCoordsNV((UInt32)path, (Int32)coordStart, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCoordsNV")] - public static - void PathSubCoords(Int32 path, Int32 coordStart, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T4[,] coords) + public static extern void PathSubCoords(Int32 path, Int32 coordStart, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T4[,] coords) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathSubCoordsNV((UInt32)path, (Int32)coordStart, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCoordsNV")] - public static - void PathSubCoords(Int32 path, Int32 coordStart, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T4[,,] coords) + public static extern void PathSubCoords(Int32 path, Int32 coordStart, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T4[,,] coords) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathSubCoordsNV((UInt32)path, (Int32)coordStart, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCoordsNV")] - public static - void PathSubCoords(Int32 path, Int32 coordStart, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] ref T4 coords) + public static extern void PathSubCoords(Int32 path, Int32 coordStart, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] ref T4 coords) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathSubCoordsNV((UInt32)path, (Int32)coordStart, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - coords = (T4)coords_ptr.Target; - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCoordsNV")] - public static - void PathSubCoords(UInt32 path, Int32 coordStart, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPathSubCoordsNV((UInt32)path, (Int32)coordStart, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords); - #if DEBUG - } - #endif - } + public static extern void PathSubCoords(UInt32 path, Int32 coordStart, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCoordsNV")] - public static - void PathSubCoords(UInt32 path, Int32 coordStart, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T4[] coords) + public static extern void PathSubCoords(UInt32 path, Int32 coordStart, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T4[] coords) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathSubCoordsNV((UInt32)path, (Int32)coordStart, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCoordsNV")] - public static - void PathSubCoords(UInt32 path, Int32 coordStart, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T4[,] coords) + public static extern void PathSubCoords(UInt32 path, Int32 coordStart, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T4[,] coords) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathSubCoordsNV((UInt32)path, (Int32)coordStart, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCoordsNV")] - public static - void PathSubCoords(UInt32 path, Int32 coordStart, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T4[,,] coords) + public static extern void PathSubCoords(UInt32 path, Int32 coordStart, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] T4[,,] coords) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathSubCoordsNV((UInt32)path, (Int32)coordStart, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathSubCoordsNV")] - public static - void PathSubCoords(UInt32 path, Int32 coordStart, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] ref T4 coords) + public static extern void PathSubCoords(UInt32 path, Int32 coordStart, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, [InAttribute, OutAttribute] ref T4 coords) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle coords_ptr = GCHandle.Alloc(coords, GCHandleType.Pinned); - try - { - Delegates.glPathSubCoordsNV((UInt32)path, (Int32)coordStart, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords_ptr.AddrOfPinnedObject()); - coords = (T4)coords_ptr.Target; - } - finally - { - coords_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathTexGenNV")] - public static - void PathTexGen(OpenTK.Graphics.OpenGL.NvPathRendering texCoordSet, OpenTK.Graphics.OpenGL.NvPathRendering genMode, Int32 components, Single[] coeffs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coeffs_ptr = coeffs) - { - Delegates.glPathTexGenNV((OpenTK.Graphics.OpenGL.NvPathRendering)texCoordSet, (OpenTK.Graphics.OpenGL.NvPathRendering)genMode, (Int32)components, (Single*)coeffs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PathTexGen(OpenTK.Graphics.OpenGL.NvPathRendering texCoordSet, OpenTK.Graphics.OpenGL.NvPathRendering genMode, Int32 components, Single[] coeffs); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathTexGenNV")] - public static - void PathTexGen(OpenTK.Graphics.OpenGL.NvPathRendering texCoordSet, OpenTK.Graphics.OpenGL.NvPathRendering genMode, Int32 components, ref Single coeffs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coeffs_ptr = &coeffs) - { - Delegates.glPathTexGenNV((OpenTK.Graphics.OpenGL.NvPathRendering)texCoordSet, (OpenTK.Graphics.OpenGL.NvPathRendering)genMode, (Int32)components, (Single*)coeffs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PathTexGen(OpenTK.Graphics.OpenGL.NvPathRendering texCoordSet, OpenTK.Graphics.OpenGL.NvPathRendering genMode, Int32 components, ref Single coeffs); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPathTexGenNV")] - public static - unsafe void PathTexGen(OpenTK.Graphics.OpenGL.NvPathRendering texCoordSet, OpenTK.Graphics.OpenGL.NvPathRendering genMode, Int32 components, Single* coeffs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPathTexGenNV((OpenTK.Graphics.OpenGL.NvPathRendering)texCoordSet, (OpenTK.Graphics.OpenGL.NvPathRendering)genMode, (Int32)components, (Single*)coeffs); - #if DEBUG - } - #endif - } + public static extern unsafe void PathTexGen(OpenTK.Graphics.OpenGL.NvPathRendering texCoordSet, OpenTK.Graphics.OpenGL.NvPathRendering genMode, Int32 components, Single* coeffs); /// [requires: NV_transform_feedback2] /// Pause transform feedback operations /// [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glPauseTransformFeedbackNV")] - public static - void PauseTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPauseTransformFeedbackNV(); - #if DEBUG - } - #endif - } + public static extern void PauseTransformFeedback(); /// [requires: NV_pixel_data_range] [AutoGenerated(Category = "NV_pixel_data_range", Version = "", EntryPoint = "glPixelDataRangeNV")] - public static - void PixelDataRange(OpenTK.Graphics.OpenGL.NvPixelDataRange target, Int32 length, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelDataRangeNV((OpenTK.Graphics.OpenGL.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void PixelDataRange(OpenTK.Graphics.OpenGL.NvPixelDataRange target, Int32 length, IntPtr pointer); /// [requires: NV_pixel_data_range] [AutoGenerated(Category = "NV_pixel_data_range", Version = "", EntryPoint = "glPixelDataRangeNV")] - public static - void PixelDataRange(OpenTK.Graphics.OpenGL.NvPixelDataRange target, Int32 length, [InAttribute, OutAttribute] T2[] pointer) + public static extern void PixelDataRange(OpenTK.Graphics.OpenGL.NvPixelDataRange target, Int32 length, [InAttribute, OutAttribute] T2[] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glPixelDataRangeNV((OpenTK.Graphics.OpenGL.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_pixel_data_range] [AutoGenerated(Category = "NV_pixel_data_range", Version = "", EntryPoint = "glPixelDataRangeNV")] - public static - void PixelDataRange(OpenTK.Graphics.OpenGL.NvPixelDataRange target, Int32 length, [InAttribute, OutAttribute] T2[,] pointer) + public static extern void PixelDataRange(OpenTK.Graphics.OpenGL.NvPixelDataRange target, Int32 length, [InAttribute, OutAttribute] T2[,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glPixelDataRangeNV((OpenTK.Graphics.OpenGL.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_pixel_data_range] [AutoGenerated(Category = "NV_pixel_data_range", Version = "", EntryPoint = "glPixelDataRangeNV")] - public static - void PixelDataRange(OpenTK.Graphics.OpenGL.NvPixelDataRange target, Int32 length, [InAttribute, OutAttribute] T2[,,] pointer) + public static extern void PixelDataRange(OpenTK.Graphics.OpenGL.NvPixelDataRange target, Int32 length, [InAttribute, OutAttribute] T2[,,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glPixelDataRangeNV((OpenTK.Graphics.OpenGL.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_pixel_data_range] [AutoGenerated(Category = "NV_pixel_data_range", Version = "", EntryPoint = "glPixelDataRangeNV")] - public static - void PixelDataRange(OpenTK.Graphics.OpenGL.NvPixelDataRange target, Int32 length, [InAttribute, OutAttribute] ref T2 pointer) + public static extern void PixelDataRange(OpenTK.Graphics.OpenGL.NvPixelDataRange target, Int32 length, [InAttribute, OutAttribute] ref T2 pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glPixelDataRangeNV((OpenTK.Graphics.OpenGL.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPointAlongPathNV")] - public static - bool PointAlongPath(Int32 path, Int32 startSegment, Int32 numSegments, Single distance, [OutAttribute] out Single x, [OutAttribute] out Single y, [OutAttribute] out Single tangentX, [OutAttribute] out Single tangentY) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* x_ptr = &x) - fixed (Single* y_ptr = &y) - fixed (Single* tangentX_ptr = &tangentX) - fixed (Single* tangentY_ptr = &tangentY) - { - bool retval = Delegates.glPointAlongPathNV((UInt32)path, (Int32)startSegment, (Int32)numSegments, (Single)distance, (Single*)x_ptr, (Single*)y_ptr, (Single*)tangentX_ptr, (Single*)tangentY_ptr); - x = *x_ptr; - y = *y_ptr; - tangentX = *tangentX_ptr; - tangentY = *tangentY_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern bool PointAlongPath(Int32 path, Int32 startSegment, Int32 numSegments, Single distance, [OutAttribute] out Single x, [OutAttribute] out Single y, [OutAttribute] out Single tangentX, [OutAttribute] out Single tangentY); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPointAlongPathNV")] - public static - unsafe bool PointAlongPath(Int32 path, Int32 startSegment, Int32 numSegments, Single distance, [OutAttribute] Single* x, [OutAttribute] Single* y, [OutAttribute] Single* tangentX, [OutAttribute] Single* tangentY) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glPointAlongPathNV((UInt32)path, (Int32)startSegment, (Int32)numSegments, (Single)distance, (Single*)x, (Single*)y, (Single*)tangentX, (Single*)tangentY); - #if DEBUG - } - #endif - } + public static extern unsafe bool PointAlongPath(Int32 path, Int32 startSegment, Int32 numSegments, Single distance, [OutAttribute] Single* x, [OutAttribute] Single* y, [OutAttribute] Single* tangentX, [OutAttribute] Single* tangentY); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPointAlongPathNV")] - public static - bool PointAlongPath(UInt32 path, Int32 startSegment, Int32 numSegments, Single distance, [OutAttribute] out Single x, [OutAttribute] out Single y, [OutAttribute] out Single tangentX, [OutAttribute] out Single tangentY) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* x_ptr = &x) - fixed (Single* y_ptr = &y) - fixed (Single* tangentX_ptr = &tangentX) - fixed (Single* tangentY_ptr = &tangentY) - { - bool retval = Delegates.glPointAlongPathNV((UInt32)path, (Int32)startSegment, (Int32)numSegments, (Single)distance, (Single*)x_ptr, (Single*)y_ptr, (Single*)tangentX_ptr, (Single*)tangentY_ptr); - x = *x_ptr; - y = *y_ptr; - tangentX = *tangentX_ptr; - tangentY = *tangentY_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern bool PointAlongPath(UInt32 path, Int32 startSegment, Int32 numSegments, Single distance, [OutAttribute] out Single x, [OutAttribute] out Single y, [OutAttribute] out Single tangentX, [OutAttribute] out Single tangentY); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glPointAlongPathNV")] - public static - unsafe bool PointAlongPath(UInt32 path, Int32 startSegment, Int32 numSegments, Single distance, [OutAttribute] Single* x, [OutAttribute] Single* y, [OutAttribute] Single* tangentX, [OutAttribute] Single* tangentY) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glPointAlongPathNV((UInt32)path, (Int32)startSegment, (Int32)numSegments, (Single)distance, (Single*)x, (Single*)y, (Single*)tangentX, (Single*)tangentY); - #if DEBUG - } - #endif - } + public static extern unsafe bool PointAlongPath(UInt32 path, Int32 startSegment, Int32 numSegments, Single distance, [OutAttribute] Single* x, [OutAttribute] Single* y, [OutAttribute] Single* tangentX, [OutAttribute] Single* tangentY); /// [requires: NV_point_sprite] /// Specify point parameters @@ -222649,18 +116338,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_point_sprite", Version = "", EntryPoint = "glPointParameteriNV")] - public static - void PointParameter(OpenTK.Graphics.OpenGL.NvPointSprite pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameteriNV((OpenTK.Graphics.OpenGL.NvPointSprite)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void PointParameter(OpenTK.Graphics.OpenGL.NvPointSprite pname, Int32 param); /// [requires: NV_point_sprite] /// Specify point parameters @@ -222681,24 +116359,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_point_sprite", Version = "", EntryPoint = "glPointParameterivNV")] - public static - void PointParameter(OpenTK.Graphics.OpenGL.NvPointSprite pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glPointParameterivNV((OpenTK.Graphics.OpenGL.NvPointSprite)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PointParameter(OpenTK.Graphics.OpenGL.NvPointSprite pname, Int32[] @params); /// [requires: NV_point_sprite] /// Specify point parameters @@ -222720,80 +116381,25 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_point_sprite", Version = "", EntryPoint = "glPointParameterivNV")] - public static - unsafe void PointParameter(OpenTK.Graphics.OpenGL.NvPointSprite pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameterivNV((OpenTK.Graphics.OpenGL.NvPointSprite)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void PointParameter(OpenTK.Graphics.OpenGL.NvPointSprite pname, Int32* @params); /// [requires: NV_present_video] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glPresentFrameDualFillNV")] - public static - void PresentFrameDualFill(Int32 video_slot, Int64 minPresentTime, Int32 beginPresentTimeId, Int32 presentDurationId, OpenTK.Graphics.OpenGL.NvPresentVideo type, OpenTK.Graphics.OpenGL.NvPresentVideo target0, Int32 fill0, OpenTK.Graphics.OpenGL.NvPresentVideo target1, Int32 fill1, OpenTK.Graphics.OpenGL.NvPresentVideo target2, Int32 fill2, OpenTK.Graphics.OpenGL.NvPresentVideo target3, Int32 fill3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPresentFrameDualFillNV((UInt32)video_slot, (UInt64)minPresentTime, (UInt32)beginPresentTimeId, (UInt32)presentDurationId, (OpenTK.Graphics.OpenGL.NvPresentVideo)type, (OpenTK.Graphics.OpenGL.NvPresentVideo)target0, (UInt32)fill0, (OpenTK.Graphics.OpenGL.NvPresentVideo)target1, (UInt32)fill1, (OpenTK.Graphics.OpenGL.NvPresentVideo)target2, (UInt32)fill2, (OpenTK.Graphics.OpenGL.NvPresentVideo)target3, (UInt32)fill3); - #if DEBUG - } - #endif - } + public static extern void PresentFrameDualFill(Int32 video_slot, Int64 minPresentTime, Int32 beginPresentTimeId, Int32 presentDurationId, OpenTK.Graphics.OpenGL.NvPresentVideo type, OpenTK.Graphics.OpenGL.NvPresentVideo target0, Int32 fill0, OpenTK.Graphics.OpenGL.NvPresentVideo target1, Int32 fill1, OpenTK.Graphics.OpenGL.NvPresentVideo target2, Int32 fill2, OpenTK.Graphics.OpenGL.NvPresentVideo target3, Int32 fill3); /// [requires: NV_present_video] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glPresentFrameDualFillNV")] - public static - void PresentFrameDualFill(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.OpenGL.NvPresentVideo type, OpenTK.Graphics.OpenGL.NvPresentVideo target0, UInt32 fill0, OpenTK.Graphics.OpenGL.NvPresentVideo target1, UInt32 fill1, OpenTK.Graphics.OpenGL.NvPresentVideo target2, UInt32 fill2, OpenTK.Graphics.OpenGL.NvPresentVideo target3, UInt32 fill3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPresentFrameDualFillNV((UInt32)video_slot, (UInt64)minPresentTime, (UInt32)beginPresentTimeId, (UInt32)presentDurationId, (OpenTK.Graphics.OpenGL.NvPresentVideo)type, (OpenTK.Graphics.OpenGL.NvPresentVideo)target0, (UInt32)fill0, (OpenTK.Graphics.OpenGL.NvPresentVideo)target1, (UInt32)fill1, (OpenTK.Graphics.OpenGL.NvPresentVideo)target2, (UInt32)fill2, (OpenTK.Graphics.OpenGL.NvPresentVideo)target3, (UInt32)fill3); - #if DEBUG - } - #endif - } + public static extern void PresentFrameDualFill(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.OpenGL.NvPresentVideo type, OpenTK.Graphics.OpenGL.NvPresentVideo target0, UInt32 fill0, OpenTK.Graphics.OpenGL.NvPresentVideo target1, UInt32 fill1, OpenTK.Graphics.OpenGL.NvPresentVideo target2, UInt32 fill2, OpenTK.Graphics.OpenGL.NvPresentVideo target3, UInt32 fill3); /// [requires: NV_present_video] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glPresentFrameKeyedNV")] - public static - void PresentFrameKeye(Int32 video_slot, Int64 minPresentTime, Int32 beginPresentTimeId, Int32 presentDurationId, OpenTK.Graphics.OpenGL.NvPresentVideo type, OpenTK.Graphics.OpenGL.NvPresentVideo target0, Int32 fill0, Int32 key0, OpenTK.Graphics.OpenGL.NvPresentVideo target1, Int32 fill1, Int32 key1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPresentFrameKeyedNV((UInt32)video_slot, (UInt64)minPresentTime, (UInt32)beginPresentTimeId, (UInt32)presentDurationId, (OpenTK.Graphics.OpenGL.NvPresentVideo)type, (OpenTK.Graphics.OpenGL.NvPresentVideo)target0, (UInt32)fill0, (UInt32)key0, (OpenTK.Graphics.OpenGL.NvPresentVideo)target1, (UInt32)fill1, (UInt32)key1); - #if DEBUG - } - #endif - } + public static extern void PresentFrameKeye(Int32 video_slot, Int64 minPresentTime, Int32 beginPresentTimeId, Int32 presentDurationId, OpenTK.Graphics.OpenGL.NvPresentVideo type, OpenTK.Graphics.OpenGL.NvPresentVideo target0, Int32 fill0, Int32 key0, OpenTK.Graphics.OpenGL.NvPresentVideo target1, Int32 fill1, Int32 key1); /// [requires: NV_present_video] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_present_video", Version = "", EntryPoint = "glPresentFrameKeyedNV")] - public static - void PresentFrameKeye(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.OpenGL.NvPresentVideo type, OpenTK.Graphics.OpenGL.NvPresentVideo target0, UInt32 fill0, UInt32 key0, OpenTK.Graphics.OpenGL.NvPresentVideo target1, UInt32 fill1, UInt32 key1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPresentFrameKeyedNV((UInt32)video_slot, (UInt64)minPresentTime, (UInt32)beginPresentTimeId, (UInt32)presentDurationId, (OpenTK.Graphics.OpenGL.NvPresentVideo)type, (OpenTK.Graphics.OpenGL.NvPresentVideo)target0, (UInt32)fill0, (UInt32)key0, (OpenTK.Graphics.OpenGL.NvPresentVideo)target1, (UInt32)fill1, (UInt32)key1); - #if DEBUG - } - #endif - } + public static extern void PresentFrameKeye(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.OpenGL.NvPresentVideo type, OpenTK.Graphics.OpenGL.NvPresentVideo target0, UInt32 fill0, UInt32 key0, OpenTK.Graphics.OpenGL.NvPresentVideo target1, UInt32 fill1, UInt32 key1); /// [requires: NV_primitive_restart] /// Specify the primitive restart index @@ -222804,18 +116410,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_primitive_restart", Version = "", EntryPoint = "glPrimitiveRestartIndexNV")] - public static - void PrimitiveRestartIndex(Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPrimitiveRestartIndexNV((UInt32)index); - #if DEBUG - } - #endif - } + public static extern void PrimitiveRestartIndex(Int32 index); /// [requires: NV_primitive_restart] /// Specify the primitive restart index @@ -222827,1529 +116422,376 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_primitive_restart", Version = "", EntryPoint = "glPrimitiveRestartIndexNV")] - public static - void PrimitiveRestartIndex(UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPrimitiveRestartIndexNV((UInt32)index); - #if DEBUG - } - #endif - } + public static extern void PrimitiveRestartIndex(UInt32 index); /// [requires: NV_primitive_restart] [AutoGenerated(Category = "NV_primitive_restart", Version = "", EntryPoint = "glPrimitiveRestartNV")] - public static - void PrimitiveRestart() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPrimitiveRestartNV(); - #if DEBUG - } - #endif - } + public static extern void PrimitiveRestart(); /// [requires: NV_parameter_buffer_object] [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "", EntryPoint = "glProgramBufferParametersfvNV")] - public static - void ProgramBufferParameters(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, Int32 bindingIndex, Int32 wordIndex, Int32 count, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramBufferParameters(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, Int32 bindingIndex, Int32 wordIndex, Int32 count, Single[] @params); /// [requires: NV_parameter_buffer_object] [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "", EntryPoint = "glProgramBufferParametersfvNV")] - public static - void ProgramBufferParameters(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, Int32 bindingIndex, Int32 wordIndex, Int32 count, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramBufferParameters(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, Int32 bindingIndex, Int32 wordIndex, Int32 count, ref Single @params); /// [requires: NV_parameter_buffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "", EntryPoint = "glProgramBufferParametersfvNV")] - public static - unsafe void ProgramBufferParameters(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, Int32 bindingIndex, Int32 wordIndex, Int32 count, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramBufferParameters(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, Int32 bindingIndex, Int32 wordIndex, Int32 count, Single* @params); /// [requires: NV_parameter_buffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "", EntryPoint = "glProgramBufferParametersfvNV")] - public static - void ProgramBufferParameters(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramBufferParameters(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, Single[] @params); /// [requires: NV_parameter_buffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "", EntryPoint = "glProgramBufferParametersfvNV")] - public static - void ProgramBufferParameters(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramBufferParameters(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, ref Single @params); /// [requires: NV_parameter_buffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "", EntryPoint = "glProgramBufferParametersfvNV")] - public static - unsafe void ProgramBufferParameters(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramBufferParameters(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, Single* @params); /// [requires: NV_parameter_buffer_object] [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "", EntryPoint = "glProgramBufferParametersIivNV")] - public static - void ProgramBufferParametersI(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, Int32 bindingIndex, Int32 wordIndex, Int32 count, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramBufferParametersI(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, Int32 bindingIndex, Int32 wordIndex, Int32 count, Int32[] @params); /// [requires: NV_parameter_buffer_object] [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "", EntryPoint = "glProgramBufferParametersIivNV")] - public static - void ProgramBufferParametersI(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, Int32 bindingIndex, Int32 wordIndex, Int32 count, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramBufferParametersI(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, Int32 bindingIndex, Int32 wordIndex, Int32 count, ref Int32 @params); /// [requires: NV_parameter_buffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "", EntryPoint = "glProgramBufferParametersIivNV")] - public static - unsafe void ProgramBufferParametersI(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, Int32 bindingIndex, Int32 wordIndex, Int32 count, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramBufferParametersI(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, Int32 bindingIndex, Int32 wordIndex, Int32 count, Int32* @params); /// [requires: NV_parameter_buffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "", EntryPoint = "glProgramBufferParametersIivNV")] - public static - void ProgramBufferParametersI(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramBufferParametersI(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, Int32[] @params); /// [requires: NV_parameter_buffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "", EntryPoint = "glProgramBufferParametersIivNV")] - public static - void ProgramBufferParametersI(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramBufferParametersI(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, ref Int32 @params); /// [requires: NV_parameter_buffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "", EntryPoint = "glProgramBufferParametersIivNV")] - public static - unsafe void ProgramBufferParametersI(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramBufferParametersI(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, Int32* @params); /// [requires: NV_parameter_buffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "", EntryPoint = "glProgramBufferParametersIuivNV")] - public static - void ProgramBufferParametersI(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glProgramBufferParametersIuivNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramBufferParametersI(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, UInt32[] @params); /// [requires: NV_parameter_buffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "", EntryPoint = "glProgramBufferParametersIuivNV")] - public static - void ProgramBufferParametersI(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, ref UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glProgramBufferParametersIuivNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramBufferParametersI(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, ref UInt32 @params); /// [requires: NV_parameter_buffer_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_parameter_buffer_object", Version = "", EntryPoint = "glProgramBufferParametersIuivNV")] - public static - unsafe void ProgramBufferParametersI(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramBufferParametersIuivNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramBufferParametersI(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, UInt32* @params); /// [requires: NV_gpu_program4] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParameterI4iNV")] - public static - void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameterI4iNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - #if DEBUG - } - #endif - } + public static extern void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParameterI4iNV")] - public static - void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameterI4iNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - #if DEBUG - } - #endif - } + public static extern void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); /// [requires: NV_gpu_program4] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParameterI4ivNV")] - public static - void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32[] @params); /// [requires: NV_gpu_program4] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParameterI4ivNV")] - public static - void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, ref Int32 @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParameterI4ivNV")] - public static - unsafe void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32* @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParameterI4ivNV")] - public static - void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32[] @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParameterI4ivNV")] - public static - void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, ref Int32 @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParameterI4ivNV")] - public static - unsafe void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32* @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParameterI4uiNV")] - public static - void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameterI4uiNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); - #if DEBUG - } - #endif - } + public static extern void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParameterI4uivNV")] - public static - void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glProgramEnvParameterI4uivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32[] @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParameterI4uivNV")] - public static - void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, ref UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glProgramEnvParameterI4uivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, ref UInt32 @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParameterI4uivNV")] - public static - unsafe void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameterI4uivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramEnvParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32* @params); /// [requires: NV_gpu_program4] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParametersI4ivNV")] - public static - void ProgramEnvParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32 count, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramEnvParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32 count, Int32[] @params); /// [requires: NV_gpu_program4] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParametersI4ivNV")] - public static - void ProgramEnvParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32 count, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramEnvParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32 count, ref Int32 @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParametersI4ivNV")] - public static - unsafe void ProgramEnvParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32 count, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramEnvParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32 count, Int32* @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParametersI4ivNV")] - public static - void ProgramEnvParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramEnvParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, Int32[] @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParametersI4ivNV")] - public static - void ProgramEnvParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramEnvParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, ref Int32 @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParametersI4ivNV")] - public static - unsafe void ProgramEnvParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramEnvParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParametersI4uivNV")] - public static - void ProgramEnvParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glProgramEnvParametersI4uivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramEnvParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32[] @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParametersI4uivNV")] - public static - void ProgramEnvParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, ref UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glProgramEnvParametersI4uivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramEnvParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, ref UInt32 @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramEnvParametersI4uivNV")] - public static - unsafe void ProgramEnvParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParametersI4uivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramEnvParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params); /// [requires: NV_gpu_program4] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParameterI4iNV")] - public static - void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameterI4iNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - #if DEBUG - } - #endif - } + public static extern void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParameterI4iNV")] - public static - void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameterI4iNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - #if DEBUG - } - #endif - } + public static extern void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); /// [requires: NV_gpu_program4] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParameterI4ivNV")] - public static - void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32[] @params); /// [requires: NV_gpu_program4] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParameterI4ivNV")] - public static - void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, ref Int32 @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParameterI4ivNV")] - public static - unsafe void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32* @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParameterI4ivNV")] - public static - void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32[] @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParameterI4ivNV")] - public static - void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, ref Int32 @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParameterI4ivNV")] - public static - unsafe void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32* @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParameterI4uiNV")] - public static - void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameterI4uiNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); - #if DEBUG - } - #endif - } + public static extern void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParameterI4uivNV")] - public static - void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glProgramLocalParameterI4uivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32[] @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParameterI4uivNV")] - public static - void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, ref UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glProgramLocalParameterI4uivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, ref UInt32 @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParameterI4uivNV")] - public static - unsafe void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameterI4uivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramLocalParameterI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32* @params); /// [requires: NV_gpu_program4] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParametersI4ivNV")] - public static - void ProgramLocalParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32 count, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramLocalParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32 count, Int32[] @params); /// [requires: NV_gpu_program4] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParametersI4ivNV")] - public static - void ProgramLocalParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32 count, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramLocalParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32 count, ref Int32 @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParametersI4ivNV")] - public static - unsafe void ProgramLocalParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32 count, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramLocalParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, Int32 index, Int32 count, Int32* @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParametersI4ivNV")] - public static - void ProgramLocalParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramLocalParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, Int32[] @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParametersI4ivNV")] - public static - void ProgramLocalParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramLocalParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, ref Int32 @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParametersI4ivNV")] - public static - unsafe void ProgramLocalParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramLocalParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParametersI4uivNV")] - public static - void ProgramLocalParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glProgramLocalParametersI4uivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramLocalParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32[] @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParametersI4uivNV")] - public static - void ProgramLocalParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, ref UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glProgramLocalParametersI4uivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramLocalParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, ref UInt32 @params); /// [requires: NV_gpu_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glProgramLocalParametersI4uivNV")] - public static - unsafe void ProgramLocalParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParametersI4uivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramLocalParametersI4(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params); /// [requires: NV_fragment_program] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4dNV")] - public static - void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - { - Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double)x, (Double)y, (Double)z, (Double)w); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, Double x, Double y, Double z, Double w); /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4dNV")] - public static - unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Double x, Double y, Double z, Double w); /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4dNV")] - public static - void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - { - Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double)x, (Double)y, (Double)z, (Double)w); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, Double x, Double y, Double z, Double w); /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4dNV")] - public static - unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Double x, Double y, Double z, Double w); /// [requires: NV_fragment_program] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4dvNV")] - public static - void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - fixed (Double* v_ptr = v) - { - Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, Double[] v); /// [requires: NV_fragment_program] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4dvNV")] - public static - void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - fixed (Double* v_ptr = &v) - { - Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, ref Double v); /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4dvNV")] - public static - unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Double* v); /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4dvNV")] - public static - void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - fixed (Double* v_ptr = v) - { - Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, Double[] v); /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4dvNV")] - public static - void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - fixed (Double* v_ptr = &v) - { - Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, ref Double v); /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4dvNV")] - public static - unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Double* v); /// [requires: NV_fragment_program] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4fNV")] - public static - void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - { - Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single)x, (Single)y, (Single)z, (Single)w); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, Single x, Single y, Single z, Single w); /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4fNV")] - public static - unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Single x, Single y, Single z, Single w); /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4fNV")] - public static - void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - { - Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single)x, (Single)y, (Single)z, (Single)w); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, Single x, Single y, Single z, Single w); /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4fNV")] - public static - unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Single x, Single y, Single z, Single w); /// [requires: NV_fragment_program] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4fvNV")] - public static - void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - fixed (Single* v_ptr = v) - { - Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, Single[] v); /// [requires: NV_fragment_program] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4fvNV")] - public static - void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - fixed (Single* v_ptr = &v) - { - Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, ref Single v); /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4fvNV")] - public static - unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Single* v); /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4fvNV")] - public static - void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - fixed (Single* v_ptr = v) - { - Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, Single[] v); /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4fvNV")] - public static - void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - fixed (Single* v_ptr = &v) - { - Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, ref Single v); /// [requires: NV_fragment_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fragment_program", Version = "", EntryPoint = "glProgramNamedParameter4fvNV")] - public static - unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Single* v); /// [requires: NV_vertex_program] /// Specify a parameter for a program object @@ -224370,18 +116812,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameter4dNV")] - public static - void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameter4dNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } + public static extern void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Double x, Double y, Double z, Double w); /// [requires: NV_vertex_program] /// Specify a parameter for a program object @@ -224403,18 +116834,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameter4dNV")] - public static - void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameter4dNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } + public static extern void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w); /// [requires: NV_vertex_program] /// Specify a parameter for a program object @@ -224435,24 +116855,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameter4dvNV")] - public static - void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glProgramParameter4dvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Double[] v); /// [requires: NV_vertex_program] /// Specify a parameter for a program object @@ -224473,24 +116876,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameter4dvNV")] - public static - void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glProgramParameter4dvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, ref Double v); /// [requires: NV_vertex_program] /// Specify a parameter for a program object @@ -224512,18 +116898,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameter4dvNV")] - public static - unsafe void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameter4dvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Double* v); /// [requires: NV_vertex_program] /// Specify a parameter for a program object @@ -224545,24 +116920,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameter4dvNV")] - public static - void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glProgramParameter4dvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double[] v); /// [requires: NV_vertex_program] /// Specify a parameter for a program object @@ -224584,24 +116942,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameter4dvNV")] - public static - void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glProgramParameter4dvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, ref Double v); /// [requires: NV_vertex_program] /// Specify a parameter for a program object @@ -224623,18 +116964,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameter4dvNV")] - public static - unsafe void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameter4dvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* v); /// [requires: NV_vertex_program] /// Specify a parameter for a program object @@ -224655,18 +116985,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameter4fNV")] - public static - void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameter4fNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } + public static extern void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Single x, Single y, Single z, Single w); /// [requires: NV_vertex_program] /// Specify a parameter for a program object @@ -224688,18 +117007,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameter4fNV")] - public static - void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameter4fNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } + public static extern void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w); /// [requires: NV_vertex_program] /// Specify a parameter for a program object @@ -224720,24 +117028,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameter4fvNV")] - public static - void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glProgramParameter4fvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Single[] v); /// [requires: NV_vertex_program] /// Specify a parameter for a program object @@ -224758,24 +117049,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameter4fvNV")] - public static - void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glProgramParameter4fvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, ref Single v); /// [requires: NV_vertex_program] /// Specify a parameter for a program object @@ -224797,18 +117071,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameter4fvNV")] - public static - unsafe void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameter4fvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Single* v); /// [requires: NV_vertex_program] /// Specify a parameter for a program object @@ -224830,24 +117093,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameter4fvNV")] - public static - void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glProgramParameter4fvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single[] v); /// [requires: NV_vertex_program] /// Specify a parameter for a program object @@ -224869,24 +117115,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameter4fvNV")] - public static - void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glProgramParameter4fvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, ref Single v); /// [requires: NV_vertex_program] /// Specify a parameter for a program object @@ -224908,498 +117137,127 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameter4fvNV")] - public static - unsafe void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameter4fvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramParameter4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* v); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4dvNV")] - public static - void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Int32 count, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glProgramParameters4dvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Int32 count, Double[] v); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4dvNV")] - public static - void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Int32 count, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glProgramParameters4dvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Int32 count, ref Double v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4dvNV")] - public static - unsafe void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameters4dvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Int32 count, Double* v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4dvNV")] - public static - void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Int32 count, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glProgramParameters4dvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Int32 count, Double[] v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4dvNV")] - public static - void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Int32 count, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glProgramParameters4dvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Int32 count, ref Double v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4dvNV")] - public static - unsafe void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameters4dvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Int32 count, Double* v); /// [requires: NV_vertex_program] [Obsolete("Use int overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4dvNV")] - public static - void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glProgramParameters4dvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Double[] v); /// [requires: NV_vertex_program] [Obsolete("Use int overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4dvNV")] - public static - void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glProgramParameters4dvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, ref Double v); /// [requires: NV_vertex_program] [Obsolete("Use int overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4dvNV")] - public static - unsafe void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameters4dvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Double* v); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4fvNV")] - public static - void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Int32 count, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glProgramParameters4fvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Int32 count, Single[] v); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4fvNV")] - public static - void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Int32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glProgramParameters4fvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Int32 count, ref Single v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4fvNV")] - public static - unsafe void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameters4fvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 index, Int32 count, Single* v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4fvNV")] - public static - void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Int32 count, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glProgramParameters4fvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Int32 count, Single[] v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4fvNV")] - public static - void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Int32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glProgramParameters4fvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Int32 count, ref Single v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4fvNV")] - public static - unsafe void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameters4fvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Int32 count, Single* v); /// [requires: NV_vertex_program] [Obsolete("Use int overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4fvNV")] - public static - void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glProgramParameters4fvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Single[] v); /// [requires: NV_vertex_program] [Obsolete("Use int overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4fvNV")] - public static - void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glProgramParameters4fvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, ref Single v); /// [requires: NV_vertex_program] [Obsolete("Use int overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4fvNV")] - public static - unsafe void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameters4fvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Single* v); /// [requires: NV_gpu_program5] [AutoGenerated(Category = "NV_gpu_program5", Version = "", EntryPoint = "glProgramSubroutineParametersuivNV")] - public static - void ProgramSubroutineParameters(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 count, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glProgramSubroutineParametersuivNV((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (Int32)count, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramSubroutineParameters(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 count, Int32[] @params); /// [requires: NV_gpu_program5] [AutoGenerated(Category = "NV_gpu_program5", Version = "", EntryPoint = "glProgramSubroutineParametersuivNV")] - public static - void ProgramSubroutineParameters(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 count, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramSubroutineParametersuivNV((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (Int32)count, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramSubroutineParameters(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 count, ref Int32 @params); /// [requires: NV_gpu_program5] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program5", Version = "", EntryPoint = "glProgramSubroutineParametersuivNV")] - public static - unsafe void ProgramSubroutineParameters(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 count, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramSubroutineParametersuivNV((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (Int32)count, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramSubroutineParameters(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 count, Int32* @params); /// [requires: NV_gpu_program5] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program5", Version = "", EntryPoint = "glProgramSubroutineParametersuivNV")] - public static - void ProgramSubroutineParameters(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 count, UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glProgramSubroutineParametersuivNV((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (Int32)count, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramSubroutineParameters(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 count, UInt32[] @params); /// [requires: NV_gpu_program5] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program5", Version = "", EntryPoint = "glProgramSubroutineParametersuivNV")] - public static - void ProgramSubroutineParameters(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 count, ref UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glProgramSubroutineParametersuivNV((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (Int32)count, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramSubroutineParameters(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 count, ref UInt32 @params); /// [requires: NV_gpu_program5] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_program5", Version = "", EntryPoint = "glProgramSubroutineParametersuivNV")] - public static - unsafe void ProgramSubroutineParameters(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 count, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramSubroutineParametersuivNV((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (Int32)count, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramSubroutineParameters(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 count, UInt32* @params); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -225438,18 +117296,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform1i64NV")] - public static - void ProgramUniform1(Int32 program, Int32 location, Int64 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1i64NV((UInt32)program, (Int32)location, (Int64)x); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Int64 x); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -225489,18 +117336,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform1i64NV")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int64 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1i64NV((UInt32)program, (Int32)location, (Int64)x); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int64 x); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -225539,24 +117375,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform1i64vNV")] - public static - void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = value) - { - Delegates.glProgramUniform1i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int64[] value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -225595,24 +117414,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform1i64vNV")] - public static - void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = &value) - { - Delegates.glProgramUniform1i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Int64 value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -225652,18 +117454,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform1i64vNV")] - public static - unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int64* value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -225703,24 +117494,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform1i64vNV")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = value) - { - Delegates.glProgramUniform1i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int64[] value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -225760,24 +117534,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform1i64vNV")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = &value) - { - Delegates.glProgramUniform1i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Int64 value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -225817,18 +117574,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform1i64vNV")] - public static - unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int64* value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -225868,18 +117614,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform1ui64NV")] - public static - void ProgramUniform1(UInt32 program, Int32 location, UInt64 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1ui64NV((UInt32)program, (Int32)location, (UInt64)x); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, UInt64 x); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -225919,24 +117654,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform1ui64vNV")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = value) - { - Delegates.glProgramUniform1ui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt64[] value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -225976,24 +117694,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform1ui64vNV")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = &value) - { - Delegates.glProgramUniform1ui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref UInt64 value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226033,18 +117734,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform1ui64vNV")] - public static - unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1ui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt64* value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226083,18 +117773,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform2i64NV")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int64 x, Int64 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2i64NV((UInt32)program, (Int32)location, (Int64)x, (Int64)y); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Int64 x, Int64 y); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226134,18 +117813,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform2i64NV")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int64 x, Int64 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2i64NV((UInt32)program, (Int32)location, (Int64)x, (Int64)y); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int64 x, Int64 y); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226184,24 +117852,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform2i64vNV")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = value) - { - Delegates.glProgramUniform2i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int64[] value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226240,24 +117891,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform2i64vNV")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 count, ref Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = &value) - { - Delegates.glProgramUniform2i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, ref Int64 value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226297,18 +117931,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform2i64vNV")] - public static - unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int64* value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226348,24 +117971,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform2i64vNV")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = value) - { - Delegates.glProgramUniform2i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int64[] value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226405,24 +118011,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform2i64vNV")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = &value) - { - Delegates.glProgramUniform2i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref Int64 value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226462,18 +118051,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform2i64vNV")] - public static - unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int64* value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226513,18 +118091,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform2ui64NV")] - public static - void ProgramUniform2(UInt32 program, Int32 location, UInt64 x, UInt64 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2ui64NV((UInt32)program, (Int32)location, (UInt64)x, (UInt64)y); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, UInt64 x, UInt64 y); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226564,24 +118131,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform2ui64vNV")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = value) - { - Delegates.glProgramUniform2ui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt64[] value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226621,24 +118171,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform2ui64vNV")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = &value) - { - Delegates.glProgramUniform2ui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref UInt64 value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226678,18 +118211,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform2ui64vNV")] - public static - unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2ui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt64* value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226728,18 +118250,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform3i64NV")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int64 x, Int64 y, Int64 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3i64NV((UInt32)program, (Int32)location, (Int64)x, (Int64)y, (Int64)z); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Int64 x, Int64 y, Int64 z); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226779,18 +118290,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform3i64NV")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int64 x, Int64 y, Int64 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3i64NV((UInt32)program, (Int32)location, (Int64)x, (Int64)y, (Int64)z); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int64 x, Int64 y, Int64 z); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226829,24 +118329,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform3i64vNV")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = value) - { - Delegates.glProgramUniform3i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int64[] value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226885,24 +118368,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform3i64vNV")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = &value) - { - Delegates.glProgramUniform3i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Int64 value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226942,18 +118408,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform3i64vNV")] - public static - unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int64* value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -226993,24 +118448,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform3i64vNV")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = value) - { - Delegates.glProgramUniform3i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int64[] value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -227050,24 +118488,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform3i64vNV")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = &value) - { - Delegates.glProgramUniform3i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Int64 value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -227107,18 +118528,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform3i64vNV")] - public static - unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int64* value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -227158,18 +118568,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform3ui64NV")] - public static - void ProgramUniform3(UInt32 program, Int32 location, UInt64 x, UInt64 y, UInt64 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3ui64NV((UInt32)program, (Int32)location, (UInt64)x, (UInt64)y, (UInt64)z); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, UInt64 x, UInt64 y, UInt64 z); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -227209,24 +118608,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform3ui64vNV")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = value) - { - Delegates.glProgramUniform3ui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt64[] value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -227266,24 +118648,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform3ui64vNV")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = &value) - { - Delegates.glProgramUniform3ui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref UInt64 value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -227323,18 +118688,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform3ui64vNV")] - public static - unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3ui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt64* value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -227373,18 +118727,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform4i64NV")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int64 x, Int64 y, Int64 z, Int64 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4i64NV((UInt32)program, (Int32)location, (Int64)x, (Int64)y, (Int64)z, (Int64)w); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Int64 x, Int64 y, Int64 z, Int64 w); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -227424,18 +118767,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform4i64NV")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int64 x, Int64 y, Int64 z, Int64 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4i64NV((UInt32)program, (Int32)location, (Int64)x, (Int64)y, (Int64)z, (Int64)w); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int64 x, Int64 y, Int64 z, Int64 w); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -227474,24 +118806,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform4i64vNV")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = value) - { - Delegates.glProgramUniform4i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int64[] value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -227530,24 +118845,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform4i64vNV")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = &value) - { - Delegates.glProgramUniform4i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Int64 value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -227587,18 +118885,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform4i64vNV")] - public static - unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int64* value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -227638,24 +118925,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform4i64vNV")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = value) - { - Delegates.glProgramUniform4i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int64[] value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -227695,24 +118965,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform4i64vNV")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = &value) - { - Delegates.glProgramUniform4i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Int64 value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -227752,18 +119005,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform4i64vNV")] - public static - unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int64* value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -227803,18 +119045,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform4ui64NV")] - public static - void ProgramUniform4(UInt32 program, Int32 location, UInt64 x, UInt64 y, UInt64 z, UInt64 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4ui64NV((UInt32)program, (Int32)location, (UInt64)x, (UInt64)y, (UInt64)z, (UInt64)w); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, UInt64 x, UInt64 y, UInt64 z, UInt64 w); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -227854,24 +119085,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform4ui64vNV")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = value) - { - Delegates.glProgramUniform4ui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt64[] value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -227911,24 +119125,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform4ui64vNV")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = &value) - { - Delegates.glProgramUniform4ui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref UInt64 value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for a specified program object @@ -227968,167 +119165,44 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glProgramUniform4ui64vNV")] - public static - unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4ui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt64* value); /// [requires: NV_bindless_texture] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64NV")] - public static - void ProgramUniformHandle(Int32 program, Int32 location, Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformHandleui64NV((UInt32)program, (Int32)location, (UInt64)value); - #if DEBUG - } - #endif - } + public static extern void ProgramUniformHandle(Int32 program, Int32 location, Int64 value); /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64NV")] - public static - void ProgramUniformHandle(UInt32 program, Int32 location, UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformHandleui64NV((UInt32)program, (Int32)location, (UInt64)value); - #if DEBUG - } - #endif - } + public static extern void ProgramUniformHandle(UInt32 program, Int32 location, UInt64 value); /// [requires: NV_bindless_texture] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vNV")] - public static - void ProgramUniformHandle(Int32 program, Int32 location, Int32 count, Int64[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* values_ptr = values) - { - Delegates.glProgramUniformHandleui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformHandle(Int32 program, Int32 location, Int32 count, Int64[] values); /// [requires: NV_bindless_texture] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vNV")] - public static - void ProgramUniformHandle(Int32 program, Int32 location, Int32 count, ref Int64 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* values_ptr = &values) - { - Delegates.glProgramUniformHandleui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformHandle(Int32 program, Int32 location, Int32 count, ref Int64 values); /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vNV")] - public static - unsafe void ProgramUniformHandle(Int32 program, Int32 location, Int32 count, Int64* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformHandleui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformHandle(Int32 program, Int32 location, Int32 count, Int64* values); /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vNV")] - public static - void ProgramUniformHandle(UInt32 program, Int32 location, Int32 count, UInt64[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* values_ptr = values) - { - Delegates.glProgramUniformHandleui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformHandle(UInt32 program, Int32 location, Int32 count, UInt64[] values); /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vNV")] - public static - void ProgramUniformHandle(UInt32 program, Int32 location, Int32 count, ref UInt64 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* values_ptr = &values) - { - Delegates.glProgramUniformHandleui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformHandle(UInt32 program, Int32 location, Int32 count, ref UInt64 values); /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vNV")] - public static - unsafe void ProgramUniformHandle(UInt32 program, Int32 location, Int32 count, UInt64* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformHandleui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformHandle(UInt32 program, Int32 location, Int32 count, UInt64* values); /// [requires: NV_shader_buffer_load] /// Specify the value of a uniform variable for a specified program object @@ -228167,18 +119241,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glProgramUniformui64NV")] - public static - void ProgramUniform(Int32 program, Int32 location, Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformui64NV((UInt32)program, (Int32)location, (UInt64)value); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform(Int32 program, Int32 location, Int64 value); /// [requires: NV_shader_buffer_load] /// Specify the value of a uniform variable for a specified program object @@ -228218,18 +119281,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glProgramUniformui64NV")] - public static - void ProgramUniform(UInt32 program, Int32 location, UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformui64NV((UInt32)program, (Int32)location, (UInt64)value); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform(UInt32 program, Int32 location, UInt64 value); /// [requires: NV_shader_buffer_load] /// Specify the value of a uniform variable for a specified program object @@ -228268,24 +119320,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glProgramUniformui64vNV")] - public static - void ProgramUniform(Int32 program, Int32 location, Int32 count, Int64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = value) - { - Delegates.glProgramUniformui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform(Int32 program, Int32 location, Int32 count, Int64[] value); /// [requires: NV_shader_buffer_load] /// Specify the value of a uniform variable for a specified program object @@ -228324,24 +119359,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glProgramUniformui64vNV")] - public static - void ProgramUniform(Int32 program, Int32 location, Int32 count, ref Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = &value) - { - Delegates.glProgramUniformui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform(Int32 program, Int32 location, Int32 count, ref Int64 value); /// [requires: NV_shader_buffer_load] /// Specify the value of a uniform variable for a specified program object @@ -228381,18 +119399,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glProgramUniformui64vNV")] - public static - unsafe void ProgramUniform(Int32 program, Int32 location, Int32 count, Int64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform(Int32 program, Int32 location, Int32 count, Int64* value); /// [requires: NV_shader_buffer_load] /// Specify the value of a uniform variable for a specified program object @@ -228432,24 +119439,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glProgramUniformui64vNV")] - public static - void ProgramUniform(UInt32 program, Int32 location, Int32 count, UInt64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = value) - { - Delegates.glProgramUniformui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform(UInt32 program, Int32 location, Int32 count, UInt64[] value); /// [requires: NV_shader_buffer_load] /// Specify the value of a uniform variable for a specified program object @@ -228489,24 +119479,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glProgramUniformui64vNV")] - public static - void ProgramUniform(UInt32 program, Int32 location, Int32 count, ref UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = &value) - { - Delegates.glProgramUniformui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform(UInt32 program, Int32 location, Int32 count, ref UInt64 value); /// [requires: NV_shader_buffer_load] /// Specify the value of a uniform variable for a specified program object @@ -228546,2724 +119519,662 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glProgramUniformui64vNV")] - public static - unsafe void ProgramUniform(UInt32 program, Int32 location, Int32 count, UInt64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform(UInt32 program, Int32 location, Int32 count, UInt64* value); /// [requires: NV_geometry_program4] [AutoGenerated(Category = "NV_geometry_program4", Version = "", EntryPoint = "glProgramVertexLimitNV")] - public static - void ProgramVertexLimit(OpenTK.Graphics.OpenGL.NvGeometryProgram4 target, Int32 limit) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramVertexLimitNV((OpenTK.Graphics.OpenGL.NvGeometryProgram4)target, (Int32)limit); - #if DEBUG - } - #endif - } + public static extern void ProgramVertexLimit(OpenTK.Graphics.OpenGL.NvGeometryProgram4 target, Int32 limit); /// [requires: NV_framebuffer_multisample_coverage] [AutoGenerated(Category = "NV_framebuffer_multisample_coverage", Version = "", EntryPoint = "glRenderbufferStorageMultisampleCoverageNV")] - public static - void RenderbufferStorageMultisampleCoverage(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageMultisampleCoverageNV((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (Int32)coverageSamples, (Int32)colorSamples, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorageMultisampleCoverage(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glRequestResidentProgramsNV")] - public static - void RequestResidentProgram(Int32 n, Int32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = programs) - { - Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RequestResidentProgram(Int32 n, Int32[] programs); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glRequestResidentProgramsNV")] - public static - void RequestResidentProgram(Int32 n, ref Int32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = &programs) - { - Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RequestResidentProgram(Int32 n, ref Int32 programs); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glRequestResidentProgramsNV")] - public static - unsafe void RequestResidentProgram(Int32 n, Int32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs); - #if DEBUG - } - #endif - } + public static extern unsafe void RequestResidentProgram(Int32 n, Int32* programs); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glRequestResidentProgramsNV")] - public static - void RequestResidentProgram(Int32 n, UInt32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = programs) - { - Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RequestResidentProgram(Int32 n, UInt32[] programs); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glRequestResidentProgramsNV")] - public static - void RequestResidentProgram(Int32 n, ref UInt32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = &programs) - { - Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RequestResidentProgram(Int32 n, ref UInt32 programs); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glRequestResidentProgramsNV")] - public static - unsafe void RequestResidentProgram(Int32 n, UInt32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs); - #if DEBUG - } - #endif - } + public static extern unsafe void RequestResidentProgram(Int32 n, UInt32* programs); /// [requires: NV_transform_feedback2] /// Resume transform feedback operations /// [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glResumeTransformFeedbackNV")] - public static - void ResumeTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glResumeTransformFeedbackNV(); - #if DEBUG - } - #endif - } + public static extern void ResumeTransformFeedback(); /// [requires: NV_explicit_multisample] [AutoGenerated(Category = "NV_explicit_multisample", Version = "", EntryPoint = "glSampleMaskIndexedNV")] - public static - void SampleMaskIndexed(Int32 index, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSampleMaskIndexedNV((UInt32)index, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void SampleMaskIndexed(Int32 index, Int32 mask); /// [requires: NV_explicit_multisample] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_explicit_multisample", Version = "", EntryPoint = "glSampleMaskIndexedNV")] - public static - void SampleMaskIndexed(UInt32 index, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSampleMaskIndexedNV((UInt32)index, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void SampleMaskIndexed(UInt32 index, UInt32 mask); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glSecondaryColor3hNV")] - public static - void SecondaryColor3h(Half red, Half green, Half blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3hNV((Half)red, (Half)green, (Half)blue); - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3h(Half red, Half green, Half blue); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glSecondaryColor3hvNV")] - public static - void SecondaryColor3h(Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - Delegates.glSecondaryColor3hvNV((Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3h(Half[] v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glSecondaryColor3hvNV")] - public static - void SecondaryColor3h(ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - Delegates.glSecondaryColor3hvNV((Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SecondaryColor3h(ref Half v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glSecondaryColor3hvNV")] - public static - unsafe void SecondaryColor3h(Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3hvNV((Half*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void SecondaryColor3h(Half* v); /// [requires: NV_vertex_buffer_unified_memory] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glSecondaryColorFormatNV")] - public static - void SecondaryColorFormat(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColorFormatNV((Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride); - #if DEBUG - } - #endif - } + public static extern void SecondaryColorFormat(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glSetFenceNV")] - public static - void SetFence(Int32 fence, OpenTK.Graphics.OpenGL.NvFence condition) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.OpenGL.NvFence)condition); - #if DEBUG - } - #endif - } + public static extern void SetFence(Int32 fence, OpenTK.Graphics.OpenGL.NvFence condition); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glSetFenceNV")] - public static - void SetFence(UInt32 fence, OpenTK.Graphics.OpenGL.NvFence condition) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.OpenGL.NvFence)condition); - #if DEBUG - } - #endif - } + public static extern void SetFence(UInt32 fence, OpenTK.Graphics.OpenGL.NvFence condition); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static - void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - Delegates.glStencilFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static - void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - Delegates.glStencilFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static - unsafe void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - #if DEBUG - } - #endif - } + public static extern unsafe void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static - void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - Delegates.glStencilFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static - void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - Delegates.glStencilFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static - unsafe void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - #if DEBUG - } - #endif - } + public static extern unsafe void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static - void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) + public static extern void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static - void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) + public static extern void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static - unsafe void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + public static extern unsafe void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static - void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) + public static extern void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static - void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) + public static extern void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static - unsafe void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + public static extern unsafe void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static - void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) + public static extern void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static - void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) + public static extern void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static - unsafe void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + public static extern unsafe void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static - void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) + public static extern void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static - void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) + public static extern void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static - unsafe void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + public static extern unsafe void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static - void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) + public static extern void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static - void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) + public static extern void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static - unsafe void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + public static extern unsafe void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static - void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) + public static extern void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static - void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) + public static extern void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static - unsafe void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + public static extern unsafe void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static - void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) + public static extern void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - paths = (T2)paths_ptr.Target; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static - void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) + public static extern void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - paths = (T2)paths_ptr.Target; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static - unsafe void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + public static extern unsafe void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, Int32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - paths = (T2)paths_ptr.Target; - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static - void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) + public static extern void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - paths = (T2)paths_ptr.Target; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static - void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) + public static extern void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - paths = (T2)paths_ptr.Target; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathInstancedNV")] - public static - unsafe void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + public static extern unsafe void StencilFillPathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - paths = (T2)paths_ptr.Target; - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathNV")] - public static - void StencilFillPath(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFillPathNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilFillPath(Int32 path, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, Int32 mask); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilFillPathNV")] - public static - void StencilFillPath(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFillPathNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilFillPath(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static - void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, Int32 reference, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - Delegates.glStencilStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, Int32 reference, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static - void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, Int32 reference, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - Delegates.glStencilStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, Int32 reference, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static - unsafe void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, Int32 reference, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - #if DEBUG - } - #endif - } + public static extern unsafe void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, Int32 pathBase, Int32 reference, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static - void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, Int32 reference, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - Delegates.glStencilStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, Int32 reference, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static - void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, Int32 reference, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - Delegates.glStencilStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, Int32 reference, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static - unsafe void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, Int32 reference, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - #if DEBUG - } - #endif - } + public static extern unsafe void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, Int32 reference, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static - void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, Int32 pathBase, Int32 reference, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) + public static extern void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, Int32 pathBase, Int32 reference, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static - void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, Int32 pathBase, Int32 reference, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) + public static extern void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, Int32 pathBase, Int32 reference, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static - unsafe void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, Int32 pathBase, Int32 reference, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + public static extern unsafe void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, Int32 pathBase, Int32 reference, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static - void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, UInt32 pathBase, Int32 reference, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) + public static extern void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, UInt32 pathBase, Int32 reference, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static - void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, UInt32 pathBase, Int32 reference, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) + public static extern void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, UInt32 pathBase, Int32 reference, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static - unsafe void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, UInt32 pathBase, Int32 reference, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + public static extern unsafe void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[] paths, UInt32 pathBase, Int32 reference, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static - void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, Int32 pathBase, Int32 reference, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) + public static extern void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, Int32 pathBase, Int32 reference, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static - void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, Int32 pathBase, Int32 reference, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) + public static extern void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, Int32 pathBase, Int32 reference, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static - unsafe void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, Int32 pathBase, Int32 reference, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + public static extern unsafe void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, Int32 pathBase, Int32 reference, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static - void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, UInt32 pathBase, Int32 reference, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) + public static extern void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, UInt32 pathBase, Int32 reference, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static - void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, UInt32 pathBase, Int32 reference, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) + public static extern void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, UInt32 pathBase, Int32 reference, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static - unsafe void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, UInt32 pathBase, Int32 reference, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + public static extern unsafe void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,] paths, UInt32 pathBase, Int32 reference, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static - void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, Int32 pathBase, Int32 reference, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) + public static extern void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, Int32 pathBase, Int32 reference, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static - void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, Int32 pathBase, Int32 reference, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) + public static extern void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, Int32 pathBase, Int32 reference, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static - unsafe void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, Int32 pathBase, Int32 reference, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + public static extern unsafe void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, Int32 pathBase, Int32 reference, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static - void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, UInt32 pathBase, Int32 reference, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) + public static extern void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, UInt32 pathBase, Int32 reference, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static - void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, UInt32 pathBase, Int32 reference, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) + public static extern void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, UInt32 pathBase, Int32 reference, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static - unsafe void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, UInt32 pathBase, Int32 reference, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + public static extern unsafe void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] T2[,,] paths, UInt32 pathBase, Int32 reference, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static - void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, Int32 pathBase, Int32 reference, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) + public static extern void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, Int32 pathBase, Int32 reference, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - paths = (T2)paths_ptr.Target; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static - void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, Int32 pathBase, Int32 reference, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) + public static extern void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, Int32 pathBase, Int32 reference, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - paths = (T2)paths_ptr.Target; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static - unsafe void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, Int32 pathBase, Int32 reference, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + public static extern unsafe void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, Int32 pathBase, Int32 reference, Int32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - paths = (T2)paths_ptr.Target; - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static - void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, UInt32 pathBase, Int32 reference, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) + public static extern void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, UInt32 pathBase, Int32 reference, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - paths = (T2)paths_ptr.Target; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static - void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, UInt32 pathBase, Int32 reference, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) + public static extern void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, UInt32 pathBase, Int32 reference, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - paths = (T2)paths_ptr.Target; - } - finally - { - paths_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathInstancedNV")] - public static - unsafe void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, UInt32 pathBase, Int32 reference, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + public static extern unsafe void StencilStrokePathInstanced(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, [InAttribute, OutAttribute] ref T2 paths, UInt32 pathBase, Int32 reference, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle paths_ptr = GCHandle.Alloc(paths, GCHandleType.Pinned); - try - { - Delegates.glStencilStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths_ptr.AddrOfPinnedObject(), (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - paths = (T2)paths_ptr.Target; - } - finally - { - paths_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathNV")] - public static - void StencilStrokePath(Int32 path, Int32 reference, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilStrokePathNV((UInt32)path, (Int32)reference, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilStrokePath(Int32 path, Int32 reference, Int32 mask); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glStencilStrokePathNV")] - public static - void StencilStrokePath(UInt32 path, Int32 reference, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilStrokePathNV((UInt32)path, (Int32)reference, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilStrokePath(UInt32 path, Int32 reference, UInt32 mask); /// [requires: NV_fence] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glTestFenceNV")] - public static - bool TestFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glTestFenceNV((UInt32)fence); - #if DEBUG - } - #endif - } + public static extern bool TestFence(Int32 fence); /// [requires: NV_fence] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glTestFenceNV")] - public static - bool TestFence(UInt32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glTestFenceNV((UInt32)fence); - #if DEBUG - } - #endif - } + public static extern bool TestFence(UInt32 fence); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glTexCoord1hNV")] - public static - void TexCoord1h(Half s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord1hNV((Half)s); - #if DEBUG - } - #endif - } + public static extern void TexCoord1h(Half s); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glTexCoord1hvNV")] - public static - unsafe void TexCoord1h(Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord1hvNV((Half*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord1h(Half* v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glTexCoord2hNV")] - public static - void TexCoord2h(Half s, Half t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2hNV((Half)s, (Half)t); - #if DEBUG - } - #endif - } + public static extern void TexCoord2h(Half s, Half t); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glTexCoord2hvNV")] - public static - void TexCoord2h(Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - Delegates.glTexCoord2hvNV((Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord2h(Half[] v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glTexCoord2hvNV")] - public static - void TexCoord2h(ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - Delegates.glTexCoord2hvNV((Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord2h(ref Half v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glTexCoord2hvNV")] - public static - unsafe void TexCoord2h(Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2hvNV((Half*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord2h(Half* v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glTexCoord3hNV")] - public static - void TexCoord3h(Half s, Half t, Half r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord3hNV((Half)s, (Half)t, (Half)r); - #if DEBUG - } - #endif - } + public static extern void TexCoord3h(Half s, Half t, Half r); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glTexCoord3hvNV")] - public static - void TexCoord3h(Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - Delegates.glTexCoord3hvNV((Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord3h(Half[] v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glTexCoord3hvNV")] - public static - void TexCoord3h(ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - Delegates.glTexCoord3hvNV((Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord3h(ref Half v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glTexCoord3hvNV")] - public static - unsafe void TexCoord3h(Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord3hvNV((Half*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord3h(Half* v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glTexCoord4hNV")] - public static - void TexCoord4h(Half s, Half t, Half r, Half q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4hNV((Half)s, (Half)t, (Half)r, (Half)q); - #if DEBUG - } - #endif - } + public static extern void TexCoord4h(Half s, Half t, Half r, Half q); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glTexCoord4hvNV")] - public static - void TexCoord4h(Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - Delegates.glTexCoord4hvNV((Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord4h(Half[] v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glTexCoord4hvNV")] - public static - void TexCoord4h(ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - Delegates.glTexCoord4hvNV((Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord4h(ref Half v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glTexCoord4hvNV")] - public static - unsafe void TexCoord4h(Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4hvNV((Half*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord4h(Half* v); /// [requires: NV_vertex_buffer_unified_memory] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glTexCoordFormatNV")] - public static - void TexCoordFormat(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordFormatNV((Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride); - #if DEBUG - } - #endif - } + public static extern void TexCoordFormat(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); /// [requires: NV_texture_multisample] [AutoGenerated(Category = "NV_texture_multisample", Version = "", EntryPoint = "glTexImage2DMultisampleCoverageNV")] - public static - void TexImage2DMultisampleCoverage(OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage2DMultisampleCoverageNV((OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)coverageSamples, (Int32)colorSamples, (Int32)internalFormat, (Int32)width, (Int32)height, (bool)fixedSampleLocations); - #if DEBUG - } - #endif - } + public static extern void TexImage2DMultisampleCoverage(OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations); /// [requires: NV_texture_multisample] [AutoGenerated(Category = "NV_texture_multisample", Version = "", EntryPoint = "glTexImage3DMultisampleCoverageNV")] - public static - void TexImage3DMultisampleCoverage(OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage3DMultisampleCoverageNV((OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)coverageSamples, (Int32)colorSamples, (Int32)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedSampleLocations); - #if DEBUG - } - #endif - } + public static extern void TexImage3DMultisampleCoverage(OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations); /// [requires: NV_explicit_multisample] [AutoGenerated(Category = "NV_explicit_multisample", Version = "", EntryPoint = "glTexRenderbufferNV")] - public static - void TexRenderbuffer(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexRenderbufferNV((OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void TexRenderbuffer(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 renderbuffer); /// [requires: NV_explicit_multisample] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_explicit_multisample", Version = "", EntryPoint = "glTexRenderbufferNV")] - public static - void TexRenderbuffer(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexRenderbufferNV((OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void TexRenderbuffer(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer); /// [requires: NV_texture_barrier] [AutoGenerated(Category = "NV_texture_barrier", Version = "", EntryPoint = "glTextureBarrierNV")] - public static - void TextureBarrier() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureBarrierNV(); - #if DEBUG - } - #endif - } + public static extern void TextureBarrier(); /// [requires: NV_texture_multisample] [AutoGenerated(Category = "NV_texture_multisample", Version = "", EntryPoint = "glTextureImage2DMultisampleCoverageNV")] - public static - void TextureImage2DMultisampleCoverage(Int32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureImage2DMultisampleCoverageNV((UInt32)texture, (OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)coverageSamples, (Int32)colorSamples, (Int32)internalFormat, (Int32)width, (Int32)height, (bool)fixedSampleLocations); - #if DEBUG - } - #endif - } + public static extern void TextureImage2DMultisampleCoverage(Int32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations); /// [requires: NV_texture_multisample] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_texture_multisample", Version = "", EntryPoint = "glTextureImage2DMultisampleCoverageNV")] - public static - void TextureImage2DMultisampleCoverage(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureImage2DMultisampleCoverageNV((UInt32)texture, (OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)coverageSamples, (Int32)colorSamples, (Int32)internalFormat, (Int32)width, (Int32)height, (bool)fixedSampleLocations); - #if DEBUG - } - #endif - } + public static extern void TextureImage2DMultisampleCoverage(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations); /// [requires: NV_texture_multisample] [AutoGenerated(Category = "NV_texture_multisample", Version = "", EntryPoint = "glTextureImage2DMultisampleNV")] - public static - void TextureImage2DMultisample(Int32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 samples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureImage2DMultisampleNV((UInt32)texture, (OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)samples, (Int32)internalFormat, (Int32)width, (Int32)height, (bool)fixedSampleLocations); - #if DEBUG - } - #endif - } + public static extern void TextureImage2DMultisample(Int32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 samples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations); /// [requires: NV_texture_multisample] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_texture_multisample", Version = "", EntryPoint = "glTextureImage2DMultisampleNV")] - public static - void TextureImage2DMultisample(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 samples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureImage2DMultisampleNV((UInt32)texture, (OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)samples, (Int32)internalFormat, (Int32)width, (Int32)height, (bool)fixedSampleLocations); - #if DEBUG - } - #endif - } + public static extern void TextureImage2DMultisample(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 samples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations); /// [requires: NV_texture_multisample] [AutoGenerated(Category = "NV_texture_multisample", Version = "", EntryPoint = "glTextureImage3DMultisampleCoverageNV")] - public static - void TextureImage3DMultisampleCoverage(Int32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureImage3DMultisampleCoverageNV((UInt32)texture, (OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)coverageSamples, (Int32)colorSamples, (Int32)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedSampleLocations); - #if DEBUG - } - #endif - } + public static extern void TextureImage3DMultisampleCoverage(Int32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations); /// [requires: NV_texture_multisample] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_texture_multisample", Version = "", EntryPoint = "glTextureImage3DMultisampleCoverageNV")] - public static - void TextureImage3DMultisampleCoverage(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureImage3DMultisampleCoverageNV((UInt32)texture, (OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)coverageSamples, (Int32)colorSamples, (Int32)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedSampleLocations); - #if DEBUG - } - #endif - } + public static extern void TextureImage3DMultisampleCoverage(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations); /// [requires: NV_texture_multisample] [AutoGenerated(Category = "NV_texture_multisample", Version = "", EntryPoint = "glTextureImage3DMultisampleNV")] - public static - void TextureImage3DMultisample(Int32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 samples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureImage3DMultisampleNV((UInt32)texture, (OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)samples, (Int32)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedSampleLocations); - #if DEBUG - } - #endif - } + public static extern void TextureImage3DMultisample(Int32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 samples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations); /// [requires: NV_texture_multisample] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_texture_multisample", Version = "", EntryPoint = "glTextureImage3DMultisampleNV")] - public static - void TextureImage3DMultisample(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 samples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureImage3DMultisampleNV((UInt32)texture, (OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)samples, (Int32)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedSampleLocations); - #if DEBUG - } - #endif - } + public static extern void TextureImage3DMultisample(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 samples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glTrackMatrixNV")] - public static - void TrackMatrix(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 address, OpenTK.Graphics.OpenGL.NvVertexProgram matrix, OpenTK.Graphics.OpenGL.NvVertexProgram transform) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTrackMatrixNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.OpenGL.NvVertexProgram)matrix, (OpenTK.Graphics.OpenGL.NvVertexProgram)transform); - #if DEBUG - } - #endif - } + public static extern void TrackMatrix(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 address, OpenTK.Graphics.OpenGL.NvVertexProgram matrix, OpenTK.Graphics.OpenGL.NvVertexProgram transform); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glTrackMatrixNV")] - public static - void TrackMatrix(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.OpenGL.NvVertexProgram matrix, OpenTK.Graphics.OpenGL.NvVertexProgram transform) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTrackMatrixNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.OpenGL.NvVertexProgram)matrix, (OpenTK.Graphics.OpenGL.NvVertexProgram)transform); - #if DEBUG - } - #endif - } + public static extern void TrackMatrix(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.OpenGL.NvVertexProgram matrix, OpenTK.Graphics.OpenGL.NvVertexProgram transform); /// [requires: NV_transform_feedback] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glTransformFeedbackAttribsNV")] - public static - void TransformFeedbackAttrib(Int32 count, Int32[] attribs, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* attribs_ptr = attribs) - { - Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); - } - } - #if DEBUG - } - #endif - } + public static extern void TransformFeedbackAttrib(Int32 count, Int32[] attribs, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode); /// [requires: NV_transform_feedback] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glTransformFeedbackAttribsNV")] - public static - void TransformFeedbackAttrib(Int32 count, ref Int32 attribs, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* attribs_ptr = &attribs) - { - Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); - } - } - #if DEBUG - } - #endif - } + public static extern void TransformFeedbackAttrib(Int32 count, ref Int32 attribs, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode); /// [requires: NV_transform_feedback] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glTransformFeedbackAttribsNV")] - public static - unsafe void TransformFeedbackAttrib(Int32 count, Int32* attribs, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); - #if DEBUG - } - #endif - } + public static extern unsafe void TransformFeedbackAttrib(Int32 count, Int32* attribs, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode); /// [requires: NV_transform_feedback] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glTransformFeedbackAttribsNV")] - public static - void TransformFeedbackAttrib(UInt32 count, Int32[] attribs, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* attribs_ptr = attribs) - { - Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); - } - } - #if DEBUG - } - #endif - } + public static extern void TransformFeedbackAttrib(UInt32 count, Int32[] attribs, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode); /// [requires: NV_transform_feedback] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glTransformFeedbackAttribsNV")] - public static - void TransformFeedbackAttrib(UInt32 count, ref Int32 attribs, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* attribs_ptr = &attribs) - { - Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); - } - } - #if DEBUG - } - #endif - } + public static extern void TransformFeedbackAttrib(UInt32 count, ref Int32 attribs, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode); /// [requires: NV_transform_feedback] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glTransformFeedbackAttribsNV")] - public static - unsafe void TransformFeedbackAttrib(UInt32 count, Int32* attribs, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); - #if DEBUG - } - #endif - } + public static extern unsafe void TransformFeedbackAttrib(UInt32 count, Int32* attribs, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode); /// [requires: NV_transform_feedback] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glTransformFeedbackStreamAttribsNV")] - public static - void TransformFeedbackStreamAttrib(Int32 count, Int32[] attribs, Int32 nbuffers, Int32[] bufstreams, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* attribs_ptr = attribs) - fixed (Int32* bufstreams_ptr = bufstreams) - { - Delegates.glTransformFeedbackStreamAttribsNV((Int32)count, (Int32*)attribs_ptr, (Int32)nbuffers, (Int32*)bufstreams_ptr, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); - } - } - #if DEBUG - } - #endif - } + public static extern void TransformFeedbackStreamAttrib(Int32 count, Int32[] attribs, Int32 nbuffers, Int32[] bufstreams, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode); /// [requires: NV_transform_feedback] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glTransformFeedbackStreamAttribsNV")] - public static - void TransformFeedbackStreamAttrib(Int32 count, ref Int32 attribs, Int32 nbuffers, ref Int32 bufstreams, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* attribs_ptr = &attribs) - fixed (Int32* bufstreams_ptr = &bufstreams) - { - Delegates.glTransformFeedbackStreamAttribsNV((Int32)count, (Int32*)attribs_ptr, (Int32)nbuffers, (Int32*)bufstreams_ptr, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); - } - } - #if DEBUG - } - #endif - } + public static extern void TransformFeedbackStreamAttrib(Int32 count, ref Int32 attribs, Int32 nbuffers, ref Int32 bufstreams, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode); /// [requires: NV_transform_feedback] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glTransformFeedbackStreamAttribsNV")] - public static - unsafe void TransformFeedbackStreamAttrib(Int32 count, Int32* attribs, Int32 nbuffers, Int32* bufstreams, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTransformFeedbackStreamAttribsNV((Int32)count, (Int32*)attribs, (Int32)nbuffers, (Int32*)bufstreams, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); - #if DEBUG - } - #endif - } + public static extern unsafe void TransformFeedbackStreamAttrib(Int32 count, Int32* attribs, Int32 nbuffers, Int32* bufstreams, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode); /// [requires: NV_transform_feedback] /// Specify values to record in transform feedback buffers @@ -231289,24 +120200,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glTransformFeedbackVaryingsNV")] - public static - void TransformFeedbackVaryings(Int32 program, Int32 count, Int32[] locations, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* locations_ptr = locations) - { - Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations_ptr, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); - } - } - #if DEBUG - } - #endif - } + public static extern void TransformFeedbackVaryings(Int32 program, Int32 count, Int32[] locations, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode); /// [requires: NV_transform_feedback] /// Specify values to record in transform feedback buffers @@ -231332,24 +120226,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glTransformFeedbackVaryingsNV")] - public static - void TransformFeedbackVaryings(Int32 program, Int32 count, ref Int32 locations, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* locations_ptr = &locations) - { - Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations_ptr, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); - } - } - #if DEBUG - } - #endif - } + public static extern void TransformFeedbackVaryings(Int32 program, Int32 count, ref Int32 locations, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode); /// [requires: NV_transform_feedback] /// Specify values to record in transform feedback buffers @@ -231376,18 +120253,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glTransformFeedbackVaryingsNV")] - public static - unsafe void TransformFeedbackVaryings(Int32 program, Int32 count, Int32* locations, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); - #if DEBUG - } - #endif - } + public static extern unsafe void TransformFeedbackVaryings(Int32 program, Int32 count, Int32* locations, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode); /// [requires: NV_transform_feedback] /// Specify values to record in transform feedback buffers @@ -231414,24 +120280,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glTransformFeedbackVaryingsNV")] - public static - void TransformFeedbackVaryings(UInt32 program, Int32 count, Int32[] locations, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* locations_ptr = locations) - { - Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations_ptr, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); - } - } - #if DEBUG - } - #endif - } + public static extern void TransformFeedbackVaryings(UInt32 program, Int32 count, Int32[] locations, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode); /// [requires: NV_transform_feedback] /// Specify values to record in transform feedback buffers @@ -231458,24 +120307,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glTransformFeedbackVaryingsNV")] - public static - void TransformFeedbackVaryings(UInt32 program, Int32 count, ref Int32 locations, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* locations_ptr = &locations) - { - Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations_ptr, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); - } - } - #if DEBUG - } - #endif - } + public static extern void TransformFeedbackVaryings(UInt32 program, Int32 count, ref Int32 locations, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode); /// [requires: NV_transform_feedback] /// Specify values to record in transform feedback buffers @@ -231502,136 +120334,35 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glTransformFeedbackVaryingsNV")] - public static - unsafe void TransformFeedbackVaryings(UInt32 program, Int32 count, Int32* locations, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); - #if DEBUG - } - #endif - } + public static extern unsafe void TransformFeedbackVaryings(UInt32 program, Int32 count, Int32* locations, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glTransformPathNV")] - public static - void TransformPath(Int32 resultPath, Int32 srcPath, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - Delegates.glTransformPathNV((UInt32)resultPath, (UInt32)srcPath, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TransformPath(Int32 resultPath, Int32 srcPath, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glTransformPathNV")] - public static - void TransformPath(Int32 resultPath, Int32 srcPath, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - Delegates.glTransformPathNV((UInt32)resultPath, (UInt32)srcPath, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TransformPath(Int32 resultPath, Int32 srcPath, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glTransformPathNV")] - public static - unsafe void TransformPath(Int32 resultPath, Int32 srcPath, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTransformPathNV((UInt32)resultPath, (UInt32)srcPath, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - #if DEBUG - } - #endif - } + public static extern unsafe void TransformPath(Int32 resultPath, Int32 srcPath, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glTransformPathNV")] - public static - void TransformPath(UInt32 resultPath, UInt32 srcPath, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = transformValues) - { - Delegates.glTransformPathNV((UInt32)resultPath, (UInt32)srcPath, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TransformPath(UInt32 resultPath, UInt32 srcPath, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single[] transformValues); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glTransformPathNV")] - public static - void TransformPath(UInt32 resultPath, UInt32 srcPath, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* transformValues_ptr = &transformValues) - { - Delegates.glTransformPathNV((UInt32)resultPath, (UInt32)srcPath, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TransformPath(UInt32 resultPath, UInt32 srcPath, OpenTK.Graphics.OpenGL.NvPathRendering transformType, ref Single transformValues); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glTransformPathNV")] - public static - unsafe void TransformPath(UInt32 resultPath, UInt32 srcPath, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTransformPathNV((UInt32)resultPath, (UInt32)srcPath, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - #if DEBUG - } - #endif - } + public static extern unsafe void TransformPath(UInt32 resultPath, UInt32 srcPath, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -231665,18 +120396,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform1i64NV")] - public static - void Uniform1(Int32 location, Int64 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1i64NV((Int32)location, (Int64)x); - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int64 x); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -231710,24 +120430,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform1i64vNV")] - public static - void Uniform1(Int32 location, Int32 count, Int64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = value) - { - Delegates.glUniform1i64vNV((Int32)location, (Int32)count, (Int64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, Int64[] value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -231761,24 +120464,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform1i64vNV")] - public static - void Uniform1(Int32 location, Int32 count, ref Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = &value) - { - Delegates.glUniform1i64vNV((Int32)location, (Int32)count, (Int64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, ref Int64 value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -231813,18 +120499,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform1i64vNV")] - public static - unsafe void Uniform1(Int32 location, Int32 count, Int64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1i64vNV((Int32)location, (Int32)count, (Int64*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform1(Int32 location, Int32 count, Int64* value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -231859,18 +120534,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform1ui64NV")] - public static - void Uniform1(Int32 location, UInt64 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1ui64NV((Int32)location, (UInt64)x); - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, UInt64 x); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -231905,24 +120569,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform1ui64vNV")] - public static - void Uniform1(Int32 location, Int32 count, UInt64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = value) - { - Delegates.glUniform1ui64vNV((Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, UInt64[] value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -231957,24 +120604,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform1ui64vNV")] - public static - void Uniform1(Int32 location, Int32 count, ref UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = &value) - { - Delegates.glUniform1ui64vNV((Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, ref UInt64 value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232009,18 +120639,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform1ui64vNV")] - public static - unsafe void Uniform1(Int32 location, Int32 count, UInt64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1ui64vNV((Int32)location, (Int32)count, (UInt64*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform1(Int32 location, Int32 count, UInt64* value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232054,18 +120673,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform2i64NV")] - public static - void Uniform2(Int32 location, Int64 x, Int64 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2i64NV((Int32)location, (Int64)x, (Int64)y); - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int64 x, Int64 y); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232099,24 +120707,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform2i64vNV")] - public static - void Uniform2(Int32 location, Int32 count, Int64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = value) - { - Delegates.glUniform2i64vNV((Int32)location, (Int32)count, (Int64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 count, Int64[] value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232150,24 +120741,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform2i64vNV")] - public static - void Uniform2(Int32 location, Int32 count, ref Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = &value) - { - Delegates.glUniform2i64vNV((Int32)location, (Int32)count, (Int64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 count, ref Int64 value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232202,18 +120776,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform2i64vNV")] - public static - unsafe void Uniform2(Int32 location, Int32 count, Int64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2i64vNV((Int32)location, (Int32)count, (Int64*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform2(Int32 location, Int32 count, Int64* value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232248,18 +120811,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform2ui64NV")] - public static - void Uniform2(Int32 location, UInt64 x, UInt64 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2ui64NV((Int32)location, (UInt64)x, (UInt64)y); - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, UInt64 x, UInt64 y); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232294,24 +120846,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform2ui64vNV")] - public static - void Uniform2(Int32 location, Int32 count, UInt64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = value) - { - Delegates.glUniform2ui64vNV((Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 count, UInt64[] value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232346,24 +120881,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform2ui64vNV")] - public static - void Uniform2(Int32 location, Int32 count, ref UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = &value) - { - Delegates.glUniform2ui64vNV((Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 count, ref UInt64 value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232398,18 +120916,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform2ui64vNV")] - public static - unsafe void Uniform2(Int32 location, Int32 count, UInt64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2ui64vNV((Int32)location, (Int32)count, (UInt64*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform2(Int32 location, Int32 count, UInt64* value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232443,18 +120950,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform3i64NV")] - public static - void Uniform3(Int32 location, Int64 x, Int64 y, Int64 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3i64NV((Int32)location, (Int64)x, (Int64)y, (Int64)z); - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int64 x, Int64 y, Int64 z); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232488,24 +120984,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform3i64vNV")] - public static - void Uniform3(Int32 location, Int32 count, Int64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = value) - { - Delegates.glUniform3i64vNV((Int32)location, (Int32)count, (Int64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, Int64[] value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232539,24 +121018,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform3i64vNV")] - public static - void Uniform3(Int32 location, Int32 count, ref Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = &value) - { - Delegates.glUniform3i64vNV((Int32)location, (Int32)count, (Int64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, ref Int64 value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232591,18 +121053,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform3i64vNV")] - public static - unsafe void Uniform3(Int32 location, Int32 count, Int64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3i64vNV((Int32)location, (Int32)count, (Int64*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform3(Int32 location, Int32 count, Int64* value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232637,18 +121088,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform3ui64NV")] - public static - void Uniform3(Int32 location, UInt64 x, UInt64 y, UInt64 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3ui64NV((Int32)location, (UInt64)x, (UInt64)y, (UInt64)z); - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, UInt64 x, UInt64 y, UInt64 z); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232683,24 +121123,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform3ui64vNV")] - public static - void Uniform3(Int32 location, Int32 count, UInt64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = value) - { - Delegates.glUniform3ui64vNV((Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, UInt64[] value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232735,24 +121158,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform3ui64vNV")] - public static - void Uniform3(Int32 location, Int32 count, ref UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = &value) - { - Delegates.glUniform3ui64vNV((Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, ref UInt64 value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232787,18 +121193,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform3ui64vNV")] - public static - unsafe void Uniform3(Int32 location, Int32 count, UInt64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3ui64vNV((Int32)location, (Int32)count, (UInt64*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform3(Int32 location, Int32 count, UInt64* value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232832,18 +121227,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform4i64NV")] - public static - void Uniform4(Int32 location, Int64 x, Int64 y, Int64 z, Int64 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4i64NV((Int32)location, (Int64)x, (Int64)y, (Int64)z, (Int64)w); - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int64 x, Int64 y, Int64 z, Int64 w); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232877,24 +121261,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform4i64vNV")] - public static - void Uniform4(Int32 location, Int32 count, Int64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = value) - { - Delegates.glUniform4i64vNV((Int32)location, (Int32)count, (Int64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, Int64[] value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232928,24 +121295,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform4i64vNV")] - public static - void Uniform4(Int32 location, Int32 count, ref Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = &value) - { - Delegates.glUniform4i64vNV((Int32)location, (Int32)count, (Int64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, ref Int64 value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -232980,18 +121330,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform4i64vNV")] - public static - unsafe void Uniform4(Int32 location, Int32 count, Int64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4i64vNV((Int32)location, (Int32)count, (Int64*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform4(Int32 location, Int32 count, Int64* value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -233026,18 +121365,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform4ui64NV")] - public static - void Uniform4(Int32 location, UInt64 x, UInt64 y, UInt64 z, UInt64 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4ui64NV((Int32)location, (UInt64)x, (UInt64)y, (UInt64)z, (UInt64)w); - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, UInt64 x, UInt64 y, UInt64 z, UInt64 w); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -233072,24 +121400,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform4ui64vNV")] - public static - void Uniform4(Int32 location, Int32 count, UInt64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = value) - { - Delegates.glUniform4ui64vNV((Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, UInt64[] value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -233124,24 +121435,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform4ui64vNV")] - public static - void Uniform4(Int32 location, Int32 count, ref UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = &value) - { - Delegates.glUniform4ui64vNV((Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, ref UInt64 value); /// [requires: NV_gpu_shader5] /// Specify the value of a uniform variable for the current program object @@ -233176,167 +121470,44 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_gpu_shader5", Version = "", EntryPoint = "glUniform4ui64vNV")] - public static - unsafe void Uniform4(Int32 location, Int32 count, UInt64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4ui64vNV((Int32)location, (Int32)count, (UInt64*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform4(Int32 location, Int32 count, UInt64* value); /// [requires: NV_bindless_texture] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64NV")] - public static - void UniformHandle(Int32 location, Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformHandleui64NV((Int32)location, (UInt64)value); - #if DEBUG - } - #endif - } + public static extern void UniformHandle(Int32 location, Int64 value); /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64NV")] - public static - void UniformHandle(Int32 location, UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformHandleui64NV((Int32)location, (UInt64)value); - #if DEBUG - } - #endif - } + public static extern void UniformHandle(Int32 location, UInt64 value); /// [requires: NV_bindless_texture] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vNV")] - public static - void UniformHandle(Int32 location, Int32 count, Int64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = value) - { - Delegates.glUniformHandleui64vNV((Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformHandle(Int32 location, Int32 count, Int64[] value); /// [requires: NV_bindless_texture] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vNV")] - public static - void UniformHandle(Int32 location, Int32 count, ref Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = &value) - { - Delegates.glUniformHandleui64vNV((Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformHandle(Int32 location, Int32 count, ref Int64 value); /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vNV")] - public static - unsafe void UniformHandle(Int32 location, Int32 count, Int64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformHandleui64vNV((Int32)location, (Int32)count, (UInt64*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformHandle(Int32 location, Int32 count, Int64* value); /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vNV")] - public static - void UniformHandle(Int32 location, Int32 count, UInt64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = value) - { - Delegates.glUniformHandleui64vNV((Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformHandle(Int32 location, Int32 count, UInt64[] value); /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vNV")] - public static - void UniformHandle(Int32 location, Int32 count, ref UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = &value) - { - Delegates.glUniformHandleui64vNV((Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformHandle(Int32 location, Int32 count, ref UInt64 value); /// [requires: NV_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vNV")] - public static - unsafe void UniformHandle(Int32 location, Int32 count, UInt64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformHandleui64vNV((Int32)location, (Int32)count, (UInt64*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformHandle(Int32 location, Int32 count, UInt64* value); /// [requires: NV_shader_buffer_load] /// Specify the value of a uniform variable for the current program object @@ -233370,18 +121541,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glUniformui64NV")] - public static - void Uniform(Int32 location, Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformui64NV((Int32)location, (UInt64)value); - #if DEBUG - } - #endif - } + public static extern void Uniform(Int32 location, Int64 value); /// [requires: NV_shader_buffer_load] /// Specify the value of a uniform variable for the current program object @@ -233416,18 +121576,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glUniformui64NV")] - public static - void Uniform(Int32 location, UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformui64NV((Int32)location, (UInt64)value); - #if DEBUG - } - #endif - } + public static extern void Uniform(Int32 location, UInt64 value); /// [requires: NV_shader_buffer_load] /// Specify the value of a uniform variable for the current program object @@ -233461,24 +121610,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glUniformui64vNV")] - public static - void Uniform(Int32 location, Int32 count, Int64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = value) - { - Delegates.glUniformui64vNV((Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform(Int32 location, Int32 count, Int64[] value); /// [requires: NV_shader_buffer_load] /// Specify the value of a uniform variable for the current program object @@ -233512,24 +121644,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glUniformui64vNV")] - public static - void Uniform(Int32 location, Int32 count, ref Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = &value) - { - Delegates.glUniformui64vNV((Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform(Int32 location, Int32 count, ref Int64 value); /// [requires: NV_shader_buffer_load] /// Specify the value of a uniform variable for the current program object @@ -233564,18 +121679,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glUniformui64vNV")] - public static - unsafe void Uniform(Int32 location, Int32 count, Int64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformui64vNV((Int32)location, (Int32)count, (UInt64*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform(Int32 location, Int32 count, Int64* value); /// [requires: NV_shader_buffer_load] /// Specify the value of a uniform variable for the current program object @@ -233610,24 +121714,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glUniformui64vNV")] - public static - void Uniform(Int32 location, Int32 count, UInt64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = value) - { - Delegates.glUniformui64vNV((Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform(Int32 location, Int32 count, UInt64[] value); /// [requires: NV_shader_buffer_load] /// Specify the value of a uniform variable for the current program object @@ -233662,24 +121749,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glUniformui64vNV")] - public static - void Uniform(Int32 location, Int32 count, ref UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = &value) - { - Delegates.glUniformui64vNV((Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform(Int32 location, Int32 count, ref UInt64 value); /// [requires: NV_shader_buffer_load] /// Specify the value of a uniform variable for the current program object @@ -233714,2348 +121784,549 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_shader_buffer_load", Version = "", EntryPoint = "glUniformui64vNV")] - public static - unsafe void Uniform(Int32 location, Int32 count, UInt64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformui64vNV((Int32)location, (Int32)count, (UInt64*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform(Int32 location, Int32 count, UInt64* value); /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAUFiniNV")] - public static - void VDPAUFin() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVDPAUFiniNV(); - #if DEBUG - } - #endif - } + public static extern void VDPAUFin(); /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAUGetSurfaceivNV")] - public static - void VDPAUGetSurface(IntPtr surface, OpenTK.Graphics.OpenGL.NvVdpauInterop pname, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - fixed (Int32* values_ptr = values) - { - Delegates.glVDPAUGetSurfaceivNV((IntPtr)surface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VDPAUGetSurface(IntPtr surface, OpenTK.Graphics.OpenGL.NvVdpauInterop pname, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] values); /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAUGetSurfaceivNV")] - public static - void VDPAUGetSurface(IntPtr surface, OpenTK.Graphics.OpenGL.NvVdpauInterop pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* values_ptr = &values) - { - Delegates.glVDPAUGetSurfaceivNV((IntPtr)surface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr); - length = *length_ptr; - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void VDPAUGetSurface(IntPtr surface, OpenTK.Graphics.OpenGL.NvVdpauInterop pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values); /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAUGetSurfaceivNV")] - public static - unsafe void VDPAUGetSurface(IntPtr surface, OpenTK.Graphics.OpenGL.NvVdpauInterop pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVDPAUGetSurfaceivNV((IntPtr)surface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)pname, (Int32)bufSize, (Int32*)length, (Int32*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void VDPAUGetSurface(IntPtr surface, OpenTK.Graphics.OpenGL.NvVdpauInterop pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAUInitNV")] - public static - void VDPAUInit(IntPtr vdpDevice, IntPtr getProcAddress) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVDPAUInitNV((IntPtr)vdpDevice, (IntPtr)getProcAddress); - #if DEBUG - } - #endif - } + public static extern void VDPAUInit(IntPtr vdpDevice, IntPtr getProcAddress); /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAUInitNV")] - public static - void VDPAUInit([InAttribute, OutAttribute] T0[] vdpDevice, [InAttribute, OutAttribute] T1[] getProcAddress) + public static extern void VDPAUInit([InAttribute, OutAttribute] T0[] vdpDevice, [InAttribute, OutAttribute] T1[] getProcAddress) where T0 : struct where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle vdpDevice_ptr = GCHandle.Alloc(vdpDevice, GCHandleType.Pinned); - GCHandle getProcAddress_ptr = GCHandle.Alloc(getProcAddress, GCHandleType.Pinned); - try - { - Delegates.glVDPAUInitNV((IntPtr)vdpDevice_ptr.AddrOfPinnedObject(), (IntPtr)getProcAddress_ptr.AddrOfPinnedObject()); - } - finally - { - vdpDevice_ptr.Free(); - getProcAddress_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAUInitNV")] - public static - void VDPAUInit([InAttribute, OutAttribute] T0[,] vdpDevice, [InAttribute, OutAttribute] T1[,] getProcAddress) + public static extern void VDPAUInit([InAttribute, OutAttribute] T0[,] vdpDevice, [InAttribute, OutAttribute] T1[,] getProcAddress) where T0 : struct where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle vdpDevice_ptr = GCHandle.Alloc(vdpDevice, GCHandleType.Pinned); - GCHandle getProcAddress_ptr = GCHandle.Alloc(getProcAddress, GCHandleType.Pinned); - try - { - Delegates.glVDPAUInitNV((IntPtr)vdpDevice_ptr.AddrOfPinnedObject(), (IntPtr)getProcAddress_ptr.AddrOfPinnedObject()); - } - finally - { - vdpDevice_ptr.Free(); - getProcAddress_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAUInitNV")] - public static - void VDPAUInit([InAttribute, OutAttribute] T0[,,] vdpDevice, [InAttribute, OutAttribute] T1[,,] getProcAddress) + public static extern void VDPAUInit([InAttribute, OutAttribute] T0[,,] vdpDevice, [InAttribute, OutAttribute] T1[,,] getProcAddress) where T0 : struct where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle vdpDevice_ptr = GCHandle.Alloc(vdpDevice, GCHandleType.Pinned); - GCHandle getProcAddress_ptr = GCHandle.Alloc(getProcAddress, GCHandleType.Pinned); - try - { - Delegates.glVDPAUInitNV((IntPtr)vdpDevice_ptr.AddrOfPinnedObject(), (IntPtr)getProcAddress_ptr.AddrOfPinnedObject()); - } - finally - { - vdpDevice_ptr.Free(); - getProcAddress_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAUInitNV")] - public static - void VDPAUInit([InAttribute, OutAttribute] ref T0 vdpDevice, [InAttribute, OutAttribute] ref T1 getProcAddress) + public static extern void VDPAUInit([InAttribute, OutAttribute] ref T0 vdpDevice, [InAttribute, OutAttribute] ref T1 getProcAddress) where T0 : struct where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle vdpDevice_ptr = GCHandle.Alloc(vdpDevice, GCHandleType.Pinned); - GCHandle getProcAddress_ptr = GCHandle.Alloc(getProcAddress, GCHandleType.Pinned); - try - { - Delegates.glVDPAUInitNV((IntPtr)vdpDevice_ptr.AddrOfPinnedObject(), (IntPtr)getProcAddress_ptr.AddrOfPinnedObject()); - vdpDevice = (T0)vdpDevice_ptr.Target; - getProcAddress = (T1)getProcAddress_ptr.Target; - } - finally - { - vdpDevice_ptr.Free(); - getProcAddress_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAUIsSurfaceNV")] - public static - void VDPAUIsSurface(IntPtr surface) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVDPAUIsSurfaceNV((IntPtr)surface); - #if DEBUG - } - #endif - } + public static extern void VDPAUIsSurface(IntPtr surface); /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAUMapSurfacesNV")] - public static - void VDPAUMapSurfaces(Int32 numSurfaces, IntPtr[] surfaces) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (IntPtr* surfaces_ptr = surfaces) - { - Delegates.glVDPAUMapSurfacesNV((Int32)numSurfaces, (IntPtr*)surfaces_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VDPAUMapSurfaces(Int32 numSurfaces, IntPtr[] surfaces); /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAUMapSurfacesNV")] - public static - void VDPAUMapSurfaces(Int32 numSurfaces, ref IntPtr surfaces) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (IntPtr* surfaces_ptr = &surfaces) - { - Delegates.glVDPAUMapSurfacesNV((Int32)numSurfaces, (IntPtr*)surfaces_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VDPAUMapSurfaces(Int32 numSurfaces, ref IntPtr surfaces); /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAUMapSurfacesNV")] - public static - unsafe void VDPAUMapSurfaces(Int32 numSurfaces, IntPtr* surfaces) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVDPAUMapSurfacesNV((Int32)numSurfaces, (IntPtr*)surfaces); - #if DEBUG - } - #endif - } + public static extern unsafe void VDPAUMapSurfaces(Int32 numSurfaces, IntPtr* surfaces); /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static - IntPtr VDPAURegisterOutputSurface(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32[] textureNames) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textureNames_ptr = textureNames) - { - return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern IntPtr VDPAURegisterOutputSurface(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32[] textureNames); /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static - IntPtr VDPAURegisterOutputSurface(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref Int32 textureNames) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textureNames_ptr = &textureNames) - { - return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern IntPtr VDPAURegisterOutputSurface(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref Int32 textureNames); /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static - unsafe IntPtr VDPAURegisterOutputSurface(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32* textureNames) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); - #if DEBUG - } - #endif - } + public static extern unsafe IntPtr VDPAURegisterOutputSurface(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32* textureNames); /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static - IntPtr VDPAURegisterOutputSurface(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32[] textureNames) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textureNames_ptr = textureNames) - { - return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern IntPtr VDPAURegisterOutputSurface(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32[] textureNames); /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static - IntPtr VDPAURegisterOutputSurface(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref UInt32 textureNames) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textureNames_ptr = &textureNames) - { - return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern IntPtr VDPAURegisterOutputSurface(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref UInt32 textureNames); /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static - unsafe IntPtr VDPAURegisterOutputSurface(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); - #if DEBUG - } - #endif - } + public static extern unsafe IntPtr VDPAURegisterOutputSurface(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames); /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static - IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32[] textureNames) + public static extern IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32[] textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textureNames_ptr = textureNames) - { - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static - IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref Int32 textureNames) + public static extern IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref Int32 textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textureNames_ptr = &textureNames) - { - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static - unsafe IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32* textureNames) + public static extern unsafe IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32* textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); - } - finally - { - vdpSurface_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static - IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32[] textureNames) + public static extern IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32[] textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textureNames_ptr = textureNames) - { - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static - IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref UInt32 textureNames) + public static extern IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref UInt32 textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textureNames_ptr = &textureNames) - { - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static - unsafe IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames) + public static extern unsafe IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); - } - finally - { - vdpSurface_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static - IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32[] textureNames) + public static extern IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32[] textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textureNames_ptr = textureNames) - { - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static - IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref Int32 textureNames) + public static extern IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref Int32 textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textureNames_ptr = &textureNames) - { - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static - unsafe IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32* textureNames) + public static extern unsafe IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32* textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); - } - finally - { - vdpSurface_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static - IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32[] textureNames) + public static extern IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32[] textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textureNames_ptr = textureNames) - { - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static - IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref UInt32 textureNames) + public static extern IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref UInt32 textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textureNames_ptr = &textureNames) - { - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static - unsafe IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames) + public static extern unsafe IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); - } - finally - { - vdpSurface_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static - IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32[] textureNames) + public static extern IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32[] textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textureNames_ptr = textureNames) - { - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static - IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref Int32 textureNames) + public static extern IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref Int32 textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textureNames_ptr = &textureNames) - { - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static - unsafe IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32* textureNames) + public static extern unsafe IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32* textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); - } - finally - { - vdpSurface_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static - IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32[] textureNames) + public static extern IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32[] textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textureNames_ptr = textureNames) - { - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static - IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref UInt32 textureNames) + public static extern IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref UInt32 textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textureNames_ptr = &textureNames) - { - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static - unsafe IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames) + public static extern unsafe IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); - } - finally - { - vdpSurface_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static - IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32[] textureNames) + public static extern IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32[] textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textureNames_ptr = textureNames) - { - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - IntPtr retval = Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - vdpSurface = (T0)vdpSurface_ptr.Target; - return retval; - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static - IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref Int32 textureNames) + public static extern IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref Int32 textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textureNames_ptr = &textureNames) - { - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - IntPtr retval = Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - vdpSurface = (T0)vdpSurface_ptr.Target; - return retval; - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static - unsafe IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32* textureNames) + public static extern unsafe IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32* textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - IntPtr retval = Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); - vdpSurface = (T0)vdpSurface_ptr.Target; - return retval; - } - finally - { - vdpSurface_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static - IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32[] textureNames) + public static extern IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32[] textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textureNames_ptr = textureNames) - { - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - IntPtr retval = Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - vdpSurface = (T0)vdpSurface_ptr.Target; - return retval; - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static - IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref UInt32 textureNames) + public static extern IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref UInt32 textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textureNames_ptr = &textureNames) - { - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - IntPtr retval = Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - vdpSurface = (T0)vdpSurface_ptr.Target; - return retval; - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterOutputSurfaceNV")] - public static - unsafe IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames) + public static extern unsafe IntPtr VDPAURegisterOutputSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - IntPtr retval = Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); - vdpSurface = (T0)vdpSurface_ptr.Target; - return retval; - } - finally - { - vdpSurface_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static - IntPtr VDPAURegisterVideoSurface(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32[] textureNames) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textureNames_ptr = textureNames) - { - return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern IntPtr VDPAURegisterVideoSurface(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32[] textureNames); /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static - IntPtr VDPAURegisterVideoSurface(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref Int32 textureNames) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textureNames_ptr = &textureNames) - { - return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern IntPtr VDPAURegisterVideoSurface(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref Int32 textureNames); /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static - unsafe IntPtr VDPAURegisterVideoSurface(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32* textureNames) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); - #if DEBUG - } - #endif - } + public static extern unsafe IntPtr VDPAURegisterVideoSurface(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32* textureNames); /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static - IntPtr VDPAURegisterVideoSurface(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32[] textureNames) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textureNames_ptr = textureNames) - { - return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern IntPtr VDPAURegisterVideoSurface(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32[] textureNames); /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static - IntPtr VDPAURegisterVideoSurface(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref UInt32 textureNames) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textureNames_ptr = &textureNames) - { - return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern IntPtr VDPAURegisterVideoSurface(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref UInt32 textureNames); /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static - unsafe IntPtr VDPAURegisterVideoSurface(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); - #if DEBUG - } - #endif - } + public static extern unsafe IntPtr VDPAURegisterVideoSurface(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames); /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static - IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32[] textureNames) + public static extern IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32[] textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textureNames_ptr = textureNames) - { - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static - IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref Int32 textureNames) + public static extern IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref Int32 textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textureNames_ptr = &textureNames) - { - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static - unsafe IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32* textureNames) + public static extern unsafe IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32* textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); - } - finally - { - vdpSurface_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static - IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32[] textureNames) + public static extern IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32[] textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textureNames_ptr = textureNames) - { - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static - IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref UInt32 textureNames) + public static extern IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref UInt32 textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textureNames_ptr = &textureNames) - { - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static - unsafe IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames) + public static extern unsafe IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); - } - finally - { - vdpSurface_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static - IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32[] textureNames) + public static extern IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32[] textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textureNames_ptr = textureNames) - { - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static - IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref Int32 textureNames) + public static extern IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref Int32 textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textureNames_ptr = &textureNames) - { - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static - unsafe IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32* textureNames) + public static extern unsafe IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32* textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); - } - finally - { - vdpSurface_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static - IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32[] textureNames) + public static extern IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32[] textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textureNames_ptr = textureNames) - { - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static - IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref UInt32 textureNames) + public static extern IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref UInt32 textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textureNames_ptr = &textureNames) - { - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static - unsafe IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames) + public static extern unsafe IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); - } - finally - { - vdpSurface_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static - IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32[] textureNames) + public static extern IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32[] textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textureNames_ptr = textureNames) - { - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static - IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref Int32 textureNames) + public static extern IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref Int32 textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textureNames_ptr = &textureNames) - { - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static - unsafe IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32* textureNames) + public static extern unsafe IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32* textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); - } - finally - { - vdpSurface_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static - IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32[] textureNames) + public static extern IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32[] textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textureNames_ptr = textureNames) - { - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static - IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref UInt32 textureNames) + public static extern IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref UInt32 textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textureNames_ptr = &textureNames) - { - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static - unsafe IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames) + public static extern unsafe IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] T0[,,] vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); - } - finally - { - vdpSurface_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static - IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32[] textureNames) + public static extern IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32[] textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textureNames_ptr = textureNames) - { - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - IntPtr retval = Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - vdpSurface = (T0)vdpSurface_ptr.Target; - return retval; - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static - IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref Int32 textureNames) + public static extern IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref Int32 textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textureNames_ptr = &textureNames) - { - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - IntPtr retval = Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - vdpSurface = (T0)vdpSurface_ptr.Target; - return retval; - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static - unsafe IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32* textureNames) + public static extern unsafe IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, Int32* textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - IntPtr retval = Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); - vdpSurface = (T0)vdpSurface_ptr.Target; - return retval; - } - finally - { - vdpSurface_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static - IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32[] textureNames) + public static extern IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32[] textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textureNames_ptr = textureNames) - { - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - IntPtr retval = Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - vdpSurface = (T0)vdpSurface_ptr.Target; - return retval; - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static - IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref UInt32 textureNames) + public static extern IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, ref UInt32 textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textureNames_ptr = &textureNames) - { - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - IntPtr retval = Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames_ptr); - vdpSurface = (T0)vdpSurface_ptr.Target; - return retval; - } - finally - { - vdpSurface_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAURegisterVideoSurfaceNV")] - public static - unsafe IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames) + public static extern unsafe IntPtr VDPAURegisterVideoSurface([InAttribute, OutAttribute] ref T0 vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle vdpSurface_ptr = GCHandle.Alloc(vdpSurface, GCHandleType.Pinned); - try - { - IntPtr retval = Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); - vdpSurface = (T0)vdpSurface_ptr.Target; - return retval; - } - finally - { - vdpSurface_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAUSurfaceAccessNV")] - public static - void VDPAUSurfaceAccess(IntPtr surface, OpenTK.Graphics.OpenGL.NvVdpauInterop access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVDPAUSurfaceAccessNV((IntPtr)surface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)access); - #if DEBUG - } - #endif - } + public static extern void VDPAUSurfaceAccess(IntPtr surface, OpenTK.Graphics.OpenGL.NvVdpauInterop access); /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAUUnmapSurfacesNV")] - public static - void VDPAUUnmapSurfaces(Int32 numSurface, IntPtr[] surfaces) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (IntPtr* surfaces_ptr = surfaces) - { - Delegates.glVDPAUUnmapSurfacesNV((Int32)numSurface, (IntPtr*)surfaces_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VDPAUUnmapSurfaces(Int32 numSurface, IntPtr[] surfaces); /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAUUnmapSurfacesNV")] - public static - void VDPAUUnmapSurfaces(Int32 numSurface, ref IntPtr surfaces) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (IntPtr* surfaces_ptr = &surfaces) - { - Delegates.glVDPAUUnmapSurfacesNV((Int32)numSurface, (IntPtr*)surfaces_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VDPAUUnmapSurfaces(Int32 numSurface, ref IntPtr surfaces); /// [requires: NV_vdpau_interop] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAUUnmapSurfacesNV")] - public static - unsafe void VDPAUUnmapSurfaces(Int32 numSurface, IntPtr* surfaces) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVDPAUUnmapSurfacesNV((Int32)numSurface, (IntPtr*)surfaces); - #if DEBUG - } - #endif - } + public static extern unsafe void VDPAUUnmapSurfaces(Int32 numSurface, IntPtr* surfaces); /// [requires: NV_vdpau_interop] [AutoGenerated(Category = "NV_vdpau_interop", Version = "", EntryPoint = "glVDPAUUnregisterSurfaceNV")] - public static - void VDPAUUnregisterSurface(IntPtr surface) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVDPAUUnregisterSurfaceNV((IntPtr)surface); - #if DEBUG - } - #endif - } + public static extern void VDPAUUnregisterSurface(IntPtr surface); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertex2hNV")] - public static - void Vertex2h(Half x, Half y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2hNV((Half)x, (Half)y); - #if DEBUG - } - #endif - } + public static extern void Vertex2h(Half x, Half y); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertex2hvNV")] - public static - void Vertex2h(Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - Delegates.glVertex2hvNV((Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex2h(Half[] v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertex2hvNV")] - public static - void Vertex2h(ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - Delegates.glVertex2hvNV((Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex2h(ref Half v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertex2hvNV")] - public static - unsafe void Vertex2h(Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2hvNV((Half*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Vertex2h(Half* v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertex3hNV")] - public static - void Vertex3h(Half x, Half y, Half z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3hNV((Half)x, (Half)y, (Half)z); - #if DEBUG - } - #endif - } + public static extern void Vertex3h(Half x, Half y, Half z); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertex3hvNV")] - public static - void Vertex3h(Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - Delegates.glVertex3hvNV((Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex3h(Half[] v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertex3hvNV")] - public static - void Vertex3h(ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - Delegates.glVertex3hvNV((Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex3h(ref Half v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertex3hvNV")] - public static - unsafe void Vertex3h(Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3hvNV((Half*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Vertex3h(Half* v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertex4hNV")] - public static - void Vertex4h(Half x, Half y, Half z, Half w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4hNV((Half)x, (Half)y, (Half)z, (Half)w); - #if DEBUG - } - #endif - } + public static extern void Vertex4h(Half x, Half y, Half z, Half w); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertex4hvNV")] - public static - void Vertex4h(Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - Delegates.glVertex4hvNV((Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex4h(Half[] v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertex4hvNV")] - public static - void Vertex4h(ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - Delegates.glVertex4hvNV((Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex4h(ref Half v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertex4hvNV")] - public static - unsafe void Vertex4h(Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4hvNV((Half*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Vertex4h(Half* v); /// [requires: NV_vertex_array_range] [AutoGenerated(Category = "NV_vertex_array_range", Version = "", EntryPoint = "glVertexArrayRangeNV")] - public static - void VertexArrayRange(Int32 length, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexArrayRange(Int32 length, IntPtr pointer); /// [requires: NV_vertex_array_range] [AutoGenerated(Category = "NV_vertex_array_range", Version = "", EntryPoint = "glVertexArrayRangeNV")] - public static - void VertexArrayRange(Int32 length, [InAttribute, OutAttribute] T1[] pointer) + public static extern void VertexArrayRange(Int32 length, [InAttribute, OutAttribute] T1[] pointer) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vertex_array_range] [AutoGenerated(Category = "NV_vertex_array_range", Version = "", EntryPoint = "glVertexArrayRangeNV")] - public static - void VertexArrayRange(Int32 length, [InAttribute, OutAttribute] T1[,] pointer) + public static extern void VertexArrayRange(Int32 length, [InAttribute, OutAttribute] T1[,] pointer) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vertex_array_range] [AutoGenerated(Category = "NV_vertex_array_range", Version = "", EntryPoint = "glVertexArrayRangeNV")] - public static - void VertexArrayRange(Int32 length, [InAttribute, OutAttribute] T1[,,] pointer) + public static extern void VertexArrayRange(Int32 length, [InAttribute, OutAttribute] T1[,,] pointer) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vertex_array_range] [AutoGenerated(Category = "NV_vertex_array_range", Version = "", EntryPoint = "glVertexArrayRangeNV")] - public static - void VertexArrayRange(Int32 length, [InAttribute, OutAttribute] ref T1 pointer) + public static extern void VertexArrayRange(Int32 length, [InAttribute, OutAttribute] ref T1 pointer) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T1)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236091,18 +122362,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib1dNV")] - public static - void VertexAttrib1(Int32 index, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1dNV((UInt32)index, (Double)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib1(Int32 index, Double x); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236139,18 +122399,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib1dNV")] - public static - void VertexAttrib1(UInt32 index, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1dNV((UInt32)index, (Double)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib1(UInt32 index, Double x); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236187,18 +122436,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib1dvNV")] - public static - unsafe void VertexAttrib1(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1dvNV((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib1(Int32 index, Double* v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236235,18 +122473,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib1dvNV")] - public static - unsafe void VertexAttrib1(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1dvNV((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib1(UInt32 index, Double* v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236282,18 +122509,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib1fNV")] - public static - void VertexAttrib1(Int32 index, Single x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1fNV((UInt32)index, (Single)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib1(Int32 index, Single x); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236330,18 +122546,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib1fNV")] - public static - void VertexAttrib1(UInt32 index, Single x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1fNV((UInt32)index, (Single)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib1(UInt32 index, Single x); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236378,18 +122583,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib1fvNV")] - public static - unsafe void VertexAttrib1(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1fvNV((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib1(Int32 index, Single* v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236426,81 +122620,26 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib1fvNV")] - public static - unsafe void VertexAttrib1(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1fvNV((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib1(UInt32 index, Single* v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib1hNV")] - public static - void VertexAttrib1h(Int32 index, Half x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1hNV((UInt32)index, (Half)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib1h(Int32 index, Half x); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib1hNV")] - public static - void VertexAttrib1h(UInt32 index, Half x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1hNV((UInt32)index, (Half)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib1h(UInt32 index, Half x); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib1hvNV")] - public static - unsafe void VertexAttrib1h(Int32 index, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1hvNV((UInt32)index, (Half*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib1h(Int32 index, Half* v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib1hvNV")] - public static - unsafe void VertexAttrib1h(UInt32 index, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1hvNV((UInt32)index, (Half*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib1h(UInt32 index, Half* v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236536,18 +122675,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib1sNV")] - public static - void VertexAttrib1(Int32 index, Int16 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1sNV((UInt32)index, (Int16)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib1(Int32 index, Int16 x); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236584,18 +122712,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib1sNV")] - public static - void VertexAttrib1(UInt32 index, Int16 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1sNV((UInt32)index, (Int16)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib1(UInt32 index, Int16 x); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236632,18 +122749,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib1svNV")] - public static - unsafe void VertexAttrib1(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1svNV((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib1(Int32 index, Int16* v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236680,18 +122786,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib1svNV")] - public static - unsafe void VertexAttrib1(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1svNV((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib1(UInt32 index, Int16* v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236727,18 +122822,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2dNV")] - public static - void VertexAttrib2(Int32 index, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2dNV((UInt32)index, (Double)x, (Double)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, Double x, Double y); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236775,18 +122859,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2dNV")] - public static - void VertexAttrib2(UInt32 index, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2dNV((UInt32)index, (Double)x, (Double)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, Double x, Double y); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236822,24 +122895,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2dvNV")] - public static - void VertexAttrib2(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, Double[] v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236875,24 +122931,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2dvNV")] - public static - void VertexAttrib2(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, ref Double v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236929,18 +122968,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2dvNV")] - public static - unsafe void VertexAttrib2(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib2(Int32 index, Double* v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -236977,24 +123005,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2dvNV")] - public static - void VertexAttrib2(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, Double[] v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -237031,24 +123042,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2dvNV")] - public static - void VertexAttrib2(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, ref Double v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -237085,18 +123079,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2dvNV")] - public static - unsafe void VertexAttrib2(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib2(UInt32 index, Double* v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -237132,18 +123115,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2fNV")] - public static - void VertexAttrib2(Int32 index, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2fNV((UInt32)index, (Single)x, (Single)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, Single x, Single y); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -237180,18 +123152,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2fNV")] - public static - void VertexAttrib2(UInt32 index, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2fNV((UInt32)index, (Single)x, (Single)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, Single x, Single y); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -237227,24 +123188,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2fvNV")] - public static - void VertexAttrib2(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, Single[] v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -237280,24 +123224,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2fvNV")] - public static - void VertexAttrib2(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, ref Single v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -237334,18 +123261,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2fvNV")] - public static - unsafe void VertexAttrib2(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib2(Int32 index, Single* v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -237382,24 +123298,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2fvNV")] - public static - void VertexAttrib2(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, Single[] v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -237436,24 +123335,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2fvNV")] - public static - void VertexAttrib2(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, ref Single v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -237490,167 +123372,44 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2fvNV")] - public static - unsafe void VertexAttrib2(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib2(UInt32 index, Single* v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib2hNV")] - public static - void VertexAttrib2h(Int32 index, Half x, Half y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2hNV((UInt32)index, (Half)x, (Half)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2h(Int32 index, Half x, Half y); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib2hNV")] - public static - void VertexAttrib2h(UInt32 index, Half x, Half y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2hNV((UInt32)index, (Half)x, (Half)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2h(UInt32 index, Half x, Half y); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib2hvNV")] - public static - void VertexAttrib2h(Int32 index, Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - Delegates.glVertexAttrib2hvNV((UInt32)index, (Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2h(Int32 index, Half[] v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib2hvNV")] - public static - void VertexAttrib2h(Int32 index, ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - Delegates.glVertexAttrib2hvNV((UInt32)index, (Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2h(Int32 index, ref Half v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib2hvNV")] - public static - unsafe void VertexAttrib2h(Int32 index, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2hvNV((UInt32)index, (Half*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib2h(Int32 index, Half* v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib2hvNV")] - public static - void VertexAttrib2h(UInt32 index, Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - Delegates.glVertexAttrib2hvNV((UInt32)index, (Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2h(UInt32 index, Half[] v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib2hvNV")] - public static - void VertexAttrib2h(UInt32 index, ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - Delegates.glVertexAttrib2hvNV((UInt32)index, (Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2h(UInt32 index, ref Half v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib2hvNV")] - public static - unsafe void VertexAttrib2h(UInt32 index, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2hvNV((UInt32)index, (Half*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib2h(UInt32 index, Half* v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -237686,18 +123445,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2sNV")] - public static - void VertexAttrib2(Int32 index, Int16 x, Int16 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2sNV((UInt32)index, (Int16)x, (Int16)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, Int16 x, Int16 y); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -237734,18 +123482,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2sNV")] - public static - void VertexAttrib2(UInt32 index, Int16 x, Int16 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2sNV((UInt32)index, (Int16)x, (Int16)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, Int16 x, Int16 y); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -237781,24 +123518,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2svNV")] - public static - void VertexAttrib2(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, Int16[] v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -237834,24 +123554,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2svNV")] - public static - void VertexAttrib2(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, ref Int16 v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -237888,18 +123591,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2svNV")] - public static - unsafe void VertexAttrib2(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib2(Int32 index, Int16* v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -237936,24 +123628,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2svNV")] - public static - void VertexAttrib2(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, Int16[] v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -237990,24 +123665,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2svNV")] - public static - void VertexAttrib2(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, ref Int16 v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -238044,18 +123702,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib2svNV")] - public static - unsafe void VertexAttrib2(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib2(UInt32 index, Int16* v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -238091,18 +123738,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3dNV")] - public static - void VertexAttrib3(Int32 index, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3dNV((UInt32)index, (Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, Double x, Double y, Double z); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -238139,18 +123775,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3dNV")] - public static - void VertexAttrib3(UInt32 index, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3dNV((UInt32)index, (Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, Double x, Double y, Double z); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -238186,24 +123811,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3dvNV")] - public static - void VertexAttrib3(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, Double[] v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -238239,24 +123847,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3dvNV")] - public static - void VertexAttrib3(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, ref Double v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -238293,18 +123884,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3dvNV")] - public static - unsafe void VertexAttrib3(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib3(Int32 index, Double* v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -238341,24 +123921,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3dvNV")] - public static - void VertexAttrib3(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, Double[] v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -238395,24 +123958,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3dvNV")] - public static - void VertexAttrib3(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, ref Double v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -238449,18 +123995,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3dvNV")] - public static - unsafe void VertexAttrib3(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib3(UInt32 index, Double* v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -238496,18 +124031,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3fNV")] - public static - void VertexAttrib3(Int32 index, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3fNV((UInt32)index, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, Single x, Single y, Single z); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -238544,18 +124068,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3fNV")] - public static - void VertexAttrib3(UInt32 index, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3fNV((UInt32)index, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, Single x, Single y, Single z); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -238591,24 +124104,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3fvNV")] - public static - void VertexAttrib3(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, Single[] v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -238644,24 +124140,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3fvNV")] - public static - void VertexAttrib3(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, ref Single v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -238698,18 +124177,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3fvNV")] - public static - unsafe void VertexAttrib3(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib3(Int32 index, Single* v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -238746,24 +124214,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3fvNV")] - public static - void VertexAttrib3(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, Single[] v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -238800,24 +124251,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3fvNV")] - public static - void VertexAttrib3(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, ref Single v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -238854,167 +124288,44 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3fvNV")] - public static - unsafe void VertexAttrib3(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib3(UInt32 index, Single* v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib3hNV")] - public static - void VertexAttrib3h(Int32 index, Half x, Half y, Half z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3hNV((UInt32)index, (Half)x, (Half)y, (Half)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3h(Int32 index, Half x, Half y, Half z); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib3hNV")] - public static - void VertexAttrib3h(UInt32 index, Half x, Half y, Half z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3hNV((UInt32)index, (Half)x, (Half)y, (Half)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3h(UInt32 index, Half x, Half y, Half z); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib3hvNV")] - public static - void VertexAttrib3h(Int32 index, Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - Delegates.glVertexAttrib3hvNV((UInt32)index, (Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3h(Int32 index, Half[] v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib3hvNV")] - public static - void VertexAttrib3h(Int32 index, ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - Delegates.glVertexAttrib3hvNV((UInt32)index, (Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3h(Int32 index, ref Half v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib3hvNV")] - public static - unsafe void VertexAttrib3h(Int32 index, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3hvNV((UInt32)index, (Half*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib3h(Int32 index, Half* v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib3hvNV")] - public static - void VertexAttrib3h(UInt32 index, Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - Delegates.glVertexAttrib3hvNV((UInt32)index, (Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3h(UInt32 index, Half[] v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib3hvNV")] - public static - void VertexAttrib3h(UInt32 index, ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - Delegates.glVertexAttrib3hvNV((UInt32)index, (Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3h(UInt32 index, ref Half v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib3hvNV")] - public static - unsafe void VertexAttrib3h(UInt32 index, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3hvNV((UInt32)index, (Half*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib3h(UInt32 index, Half* v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239050,18 +124361,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3sNV")] - public static - void VertexAttrib3(Int32 index, Int16 x, Int16 y, Int16 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3sNV((UInt32)index, (Int16)x, (Int16)y, (Int16)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, Int16 x, Int16 y, Int16 z); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239098,18 +124398,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3sNV")] - public static - void VertexAttrib3(UInt32 index, Int16 x, Int16 y, Int16 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3sNV((UInt32)index, (Int16)x, (Int16)y, (Int16)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, Int16 x, Int16 y, Int16 z); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239145,24 +124434,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3svNV")] - public static - void VertexAttrib3(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, Int16[] v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239198,24 +124470,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3svNV")] - public static - void VertexAttrib3(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, ref Int16 v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239252,18 +124507,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3svNV")] - public static - unsafe void VertexAttrib3(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib3(Int32 index, Int16* v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239300,24 +124544,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3svNV")] - public static - void VertexAttrib3(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, Int16[] v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239354,24 +124581,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3svNV")] - public static - void VertexAttrib3(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, ref Int16 v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239408,18 +124618,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib3svNV")] - public static - unsafe void VertexAttrib3(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib3(UInt32 index, Int16* v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239455,18 +124654,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4dNV")] - public static - void VertexAttrib4(Int32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4dNV((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Double x, Double y, Double z, Double w); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239503,18 +124691,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4dNV")] - public static - void VertexAttrib4(UInt32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4dNV((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Double x, Double y, Double z, Double w); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239550,24 +124727,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4dvNV")] - public static - void VertexAttrib4(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Double[] v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239603,24 +124763,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4dvNV")] - public static - void VertexAttrib4(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, ref Double v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239657,18 +124800,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4dvNV")] - public static - unsafe void VertexAttrib4(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(Int32 index, Double* v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239705,24 +124837,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4dvNV")] - public static - void VertexAttrib4(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Double[] v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239759,24 +124874,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4dvNV")] - public static - void VertexAttrib4(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, ref Double v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239813,18 +124911,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4dvNV")] - public static - unsafe void VertexAttrib4(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(UInt32 index, Double* v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239860,18 +124947,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4fNV")] - public static - void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4fNV((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239908,18 +124984,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4fNV")] - public static - void VertexAttrib4(UInt32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4fNV((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Single x, Single y, Single z, Single w); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -239955,24 +125020,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4fvNV")] - public static - void VertexAttrib4(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Single[] v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -240008,24 +125056,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4fvNV")] - public static - void VertexAttrib4(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, ref Single v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -240062,18 +125093,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4fvNV")] - public static - unsafe void VertexAttrib4(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(Int32 index, Single* v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -240110,24 +125130,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4fvNV")] - public static - void VertexAttrib4(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Single[] v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -240164,24 +125167,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4fvNV")] - public static - void VertexAttrib4(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, ref Single v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -240218,167 +125204,44 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4fvNV")] - public static - unsafe void VertexAttrib4(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(UInt32 index, Single* v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib4hNV")] - public static - void VertexAttrib4h(Int32 index, Half x, Half y, Half z, Half w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4hNV((UInt32)index, (Half)x, (Half)y, (Half)z, (Half)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4h(Int32 index, Half x, Half y, Half z, Half w); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib4hNV")] - public static - void VertexAttrib4h(UInt32 index, Half x, Half y, Half z, Half w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4hNV((UInt32)index, (Half)x, (Half)y, (Half)z, (Half)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4h(UInt32 index, Half x, Half y, Half z, Half w); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib4hvNV")] - public static - void VertexAttrib4h(Int32 index, Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - Delegates.glVertexAttrib4hvNV((UInt32)index, (Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4h(Int32 index, Half[] v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib4hvNV")] - public static - void VertexAttrib4h(Int32 index, ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - Delegates.glVertexAttrib4hvNV((UInt32)index, (Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4h(Int32 index, ref Half v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib4hvNV")] - public static - unsafe void VertexAttrib4h(Int32 index, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4hvNV((UInt32)index, (Half*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4h(Int32 index, Half* v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib4hvNV")] - public static - void VertexAttrib4h(UInt32 index, Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - Delegates.glVertexAttrib4hvNV((UInt32)index, (Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4h(UInt32 index, Half[] v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib4hvNV")] - public static - void VertexAttrib4h(UInt32 index, ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - Delegates.glVertexAttrib4hvNV((UInt32)index, (Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4h(UInt32 index, ref Half v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttrib4hvNV")] - public static - unsafe void VertexAttrib4h(UInt32 index, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4hvNV((UInt32)index, (Half*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4h(UInt32 index, Half* v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -240414,18 +125277,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4sNV")] - public static - void VertexAttrib4(Int32 index, Int16 x, Int16 y, Int16 z, Int16 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4sNV((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Int16 x, Int16 y, Int16 z, Int16 w); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -240462,18 +125314,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4sNV")] - public static - void VertexAttrib4(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4sNV((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -240509,24 +125350,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4svNV")] - public static - void VertexAttrib4(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Int16[] v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -240562,24 +125386,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4svNV")] - public static - void VertexAttrib4(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, ref Int16 v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -240616,18 +125423,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4svNV")] - public static - unsafe void VertexAttrib4(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(Int32 index, Int16* v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -240664,24 +125460,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4svNV")] - public static - void VertexAttrib4(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Int16[] v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -240718,24 +125497,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4svNV")] - public static - void VertexAttrib4(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, ref Int16 v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -240772,18 +125534,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4svNV")] - public static - unsafe void VertexAttrib4(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(UInt32 index, Int16* v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -240819,18 +125570,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4ubNV")] - public static - void VertexAttrib4(Int32 index, Byte x, Byte y, Byte z, Byte w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4ubNV((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Byte x, Byte y, Byte z, Byte w); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -240867,18 +125607,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4ubNV")] - public static - void VertexAttrib4(UInt32 index, Byte x, Byte y, Byte z, Byte w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4ubNV((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Byte x, Byte y, Byte z, Byte w); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -240914,24 +125643,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4ubvNV")] - public static - void VertexAttrib4(Int32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Byte[] v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -240967,24 +125679,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4ubvNV")] - public static - void VertexAttrib4(Int32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, ref Byte v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -241021,18 +125716,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4ubvNV")] - public static - unsafe void VertexAttrib4(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(Int32 index, Byte* v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -241069,24 +125753,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4ubvNV")] - public static - void VertexAttrib4(UInt32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Byte[] v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -241123,24 +125790,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4ubvNV")] - public static - void VertexAttrib4(UInt32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, ref Byte v); /// [requires: NV_vertex_program] /// Specifies the value of a generic vertex attribute @@ -241177,18 +125827,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttrib4ubvNV")] - public static - unsafe void VertexAttrib4(UInt32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(UInt32 index, Byte* v); /// [requires: NV_vertex_buffer_unified_memory] /// Specify the organization of vertex arrays @@ -241219,18 +125858,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glVertexAttribFormatNV")] - public static - void VertexAttribFormat(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, bool normalized, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribFormatNV((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (bool)normalized, (Int32)stride); - #if DEBUG - } - #endif - } + public static extern void VertexAttribFormat(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, bool normalized, Int32 stride); /// [requires: NV_vertex_buffer_unified_memory] /// Specify the organization of vertex arrays @@ -241262,850 +125890,225 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glVertexAttribFormatNV")] - public static - void VertexAttribFormat(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, bool normalized, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribFormatNV((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (bool)normalized, (Int32)stride); - #if DEBUG - } - #endif - } + public static extern void VertexAttribFormat(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, bool normalized, Int32 stride); /// [requires: NV_vertex_buffer_unified_memory] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glVertexAttribIFormatNV")] - public static - void VertexAttribIFormat(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribIFormatNV((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride); - #if DEBUG - } - #endif - } + public static extern void VertexAttribIFormat(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); /// [requires: NV_vertex_buffer_unified_memory] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glVertexAttribIFormatNV")] - public static - void VertexAttribIFormat(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribIFormatNV((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride); - #if DEBUG - } - #endif - } + public static extern void VertexAttribIFormat(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); /// [requires: NV_vertex_attrib_integer_64bit] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL1i64NV")] - public static - void VertexAttribL1(Int32 index, Int64 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL1i64NV((UInt32)index, (Int64)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL1(Int32 index, Int64 x); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL1i64NV")] - public static - void VertexAttribL1(UInt32 index, Int64 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL1i64NV((UInt32)index, (Int64)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL1(UInt32 index, Int64 x); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL1i64vNV")] - public static - unsafe void VertexAttribL1(Int32 index, Int64* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL1i64vNV((UInt32)index, (Int64*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL1(Int32 index, Int64* v); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL1i64vNV")] - public static - unsafe void VertexAttribL1(UInt32 index, Int64* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL1i64vNV((UInt32)index, (Int64*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL1(UInt32 index, Int64* v); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL1ui64NV")] - public static - void VertexAttribL1(UInt32 index, UInt64 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL1ui64NV((UInt32)index, (UInt64)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL1(UInt32 index, UInt64 x); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL1ui64vNV")] - public static - unsafe void VertexAttribL1(UInt32 index, UInt64* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL1ui64vNV((UInt32)index, (UInt64*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL1(UInt32 index, UInt64* v); /// [requires: NV_vertex_attrib_integer_64bit] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL2i64NV")] - public static - void VertexAttribL2(Int32 index, Int64 x, Int64 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL2i64NV((UInt32)index, (Int64)x, (Int64)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL2(Int32 index, Int64 x, Int64 y); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL2i64NV")] - public static - void VertexAttribL2(UInt32 index, Int64 x, Int64 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL2i64NV((UInt32)index, (Int64)x, (Int64)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL2(UInt32 index, Int64 x, Int64 y); /// [requires: NV_vertex_attrib_integer_64bit] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL2i64vNV")] - public static - void VertexAttribL2(Int32 index, Int64[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* v_ptr = v) - { - Delegates.glVertexAttribL2i64vNV((UInt32)index, (Int64*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL2(Int32 index, Int64[] v); /// [requires: NV_vertex_attrib_integer_64bit] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL2i64vNV")] - public static - void VertexAttribL2(Int32 index, ref Int64 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* v_ptr = &v) - { - Delegates.glVertexAttribL2i64vNV((UInt32)index, (Int64*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL2(Int32 index, ref Int64 v); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL2i64vNV")] - public static - unsafe void VertexAttribL2(Int32 index, Int64* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL2i64vNV((UInt32)index, (Int64*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL2(Int32 index, Int64* v); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL2i64vNV")] - public static - void VertexAttribL2(UInt32 index, Int64[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* v_ptr = v) - { - Delegates.glVertexAttribL2i64vNV((UInt32)index, (Int64*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL2(UInt32 index, Int64[] v); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL2i64vNV")] - public static - void VertexAttribL2(UInt32 index, ref Int64 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* v_ptr = &v) - { - Delegates.glVertexAttribL2i64vNV((UInt32)index, (Int64*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL2(UInt32 index, ref Int64 v); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL2i64vNV")] - public static - unsafe void VertexAttribL2(UInt32 index, Int64* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL2i64vNV((UInt32)index, (Int64*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL2(UInt32 index, Int64* v); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL2ui64NV")] - public static - void VertexAttribL2(UInt32 index, UInt64 x, UInt64 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL2ui64NV((UInt32)index, (UInt64)x, (UInt64)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL2(UInt32 index, UInt64 x, UInt64 y); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL2ui64vNV")] - public static - void VertexAttribL2(UInt32 index, UInt64[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* v_ptr = v) - { - Delegates.glVertexAttribL2ui64vNV((UInt32)index, (UInt64*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL2(UInt32 index, UInt64[] v); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL2ui64vNV")] - public static - void VertexAttribL2(UInt32 index, ref UInt64 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* v_ptr = &v) - { - Delegates.glVertexAttribL2ui64vNV((UInt32)index, (UInt64*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL2(UInt32 index, ref UInt64 v); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL2ui64vNV")] - public static - unsafe void VertexAttribL2(UInt32 index, UInt64* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL2ui64vNV((UInt32)index, (UInt64*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL2(UInt32 index, UInt64* v); /// [requires: NV_vertex_attrib_integer_64bit] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL3i64NV")] - public static - void VertexAttribL3(Int32 index, Int64 x, Int64 y, Int64 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL3i64NV((UInt32)index, (Int64)x, (Int64)y, (Int64)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL3(Int32 index, Int64 x, Int64 y, Int64 z); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL3i64NV")] - public static - void VertexAttribL3(UInt32 index, Int64 x, Int64 y, Int64 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL3i64NV((UInt32)index, (Int64)x, (Int64)y, (Int64)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL3(UInt32 index, Int64 x, Int64 y, Int64 z); /// [requires: NV_vertex_attrib_integer_64bit] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL3i64vNV")] - public static - void VertexAttribL3(Int32 index, Int64[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* v_ptr = v) - { - Delegates.glVertexAttribL3i64vNV((UInt32)index, (Int64*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL3(Int32 index, Int64[] v); /// [requires: NV_vertex_attrib_integer_64bit] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL3i64vNV")] - public static - void VertexAttribL3(Int32 index, ref Int64 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* v_ptr = &v) - { - Delegates.glVertexAttribL3i64vNV((UInt32)index, (Int64*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL3(Int32 index, ref Int64 v); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL3i64vNV")] - public static - unsafe void VertexAttribL3(Int32 index, Int64* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL3i64vNV((UInt32)index, (Int64*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL3(Int32 index, Int64* v); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL3i64vNV")] - public static - void VertexAttribL3(UInt32 index, Int64[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* v_ptr = v) - { - Delegates.glVertexAttribL3i64vNV((UInt32)index, (Int64*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL3(UInt32 index, Int64[] v); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL3i64vNV")] - public static - void VertexAttribL3(UInt32 index, ref Int64 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* v_ptr = &v) - { - Delegates.glVertexAttribL3i64vNV((UInt32)index, (Int64*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL3(UInt32 index, ref Int64 v); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL3i64vNV")] - public static - unsafe void VertexAttribL3(UInt32 index, Int64* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL3i64vNV((UInt32)index, (Int64*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL3(UInt32 index, Int64* v); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL3ui64NV")] - public static - void VertexAttribL3(UInt32 index, UInt64 x, UInt64 y, UInt64 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL3ui64NV((UInt32)index, (UInt64)x, (UInt64)y, (UInt64)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL3(UInt32 index, UInt64 x, UInt64 y, UInt64 z); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL3ui64vNV")] - public static - void VertexAttribL3(UInt32 index, UInt64[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* v_ptr = v) - { - Delegates.glVertexAttribL3ui64vNV((UInt32)index, (UInt64*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL3(UInt32 index, UInt64[] v); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL3ui64vNV")] - public static - void VertexAttribL3(UInt32 index, ref UInt64 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* v_ptr = &v) - { - Delegates.glVertexAttribL3ui64vNV((UInt32)index, (UInt64*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL3(UInt32 index, ref UInt64 v); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL3ui64vNV")] - public static - unsafe void VertexAttribL3(UInt32 index, UInt64* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL3ui64vNV((UInt32)index, (UInt64*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL3(UInt32 index, UInt64* v); /// [requires: NV_vertex_attrib_integer_64bit] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL4i64NV")] - public static - void VertexAttribL4(Int32 index, Int64 x, Int64 y, Int64 z, Int64 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL4i64NV((UInt32)index, (Int64)x, (Int64)y, (Int64)z, (Int64)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL4(Int32 index, Int64 x, Int64 y, Int64 z, Int64 w); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL4i64NV")] - public static - void VertexAttribL4(UInt32 index, Int64 x, Int64 y, Int64 z, Int64 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL4i64NV((UInt32)index, (Int64)x, (Int64)y, (Int64)z, (Int64)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL4(UInt32 index, Int64 x, Int64 y, Int64 z, Int64 w); /// [requires: NV_vertex_attrib_integer_64bit] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL4i64vNV")] - public static - void VertexAttribL4(Int32 index, Int64[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* v_ptr = v) - { - Delegates.glVertexAttribL4i64vNV((UInt32)index, (Int64*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL4(Int32 index, Int64[] v); /// [requires: NV_vertex_attrib_integer_64bit] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL4i64vNV")] - public static - void VertexAttribL4(Int32 index, ref Int64 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* v_ptr = &v) - { - Delegates.glVertexAttribL4i64vNV((UInt32)index, (Int64*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL4(Int32 index, ref Int64 v); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL4i64vNV")] - public static - unsafe void VertexAttribL4(Int32 index, Int64* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL4i64vNV((UInt32)index, (Int64*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL4(Int32 index, Int64* v); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL4i64vNV")] - public static - void VertexAttribL4(UInt32 index, Int64[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* v_ptr = v) - { - Delegates.glVertexAttribL4i64vNV((UInt32)index, (Int64*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL4(UInt32 index, Int64[] v); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL4i64vNV")] - public static - void VertexAttribL4(UInt32 index, ref Int64 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* v_ptr = &v) - { - Delegates.glVertexAttribL4i64vNV((UInt32)index, (Int64*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL4(UInt32 index, ref Int64 v); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL4i64vNV")] - public static - unsafe void VertexAttribL4(UInt32 index, Int64* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL4i64vNV((UInt32)index, (Int64*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL4(UInt32 index, Int64* v); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL4ui64NV")] - public static - void VertexAttribL4(UInt32 index, UInt64 x, UInt64 y, UInt64 z, UInt64 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL4ui64NV((UInt32)index, (UInt64)x, (UInt64)y, (UInt64)z, (UInt64)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL4(UInt32 index, UInt64 x, UInt64 y, UInt64 z, UInt64 w); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL4ui64vNV")] - public static - void VertexAttribL4(UInt32 index, UInt64[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* v_ptr = v) - { - Delegates.glVertexAttribL4ui64vNV((UInt32)index, (UInt64*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL4(UInt32 index, UInt64[] v); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL4ui64vNV")] - public static - void VertexAttribL4(UInt32 index, ref UInt64 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* v_ptr = &v) - { - Delegates.glVertexAttribL4ui64vNV((UInt32)index, (UInt64*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL4(UInt32 index, ref UInt64 v); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribL4ui64vNV")] - public static - unsafe void VertexAttribL4(UInt32 index, UInt64* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL4ui64vNV((UInt32)index, (UInt64*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL4(UInt32 index, UInt64* v); /// [requires: NV_vertex_attrib_integer_64bit] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribLFormatNV")] - public static - void VertexAttribLFormat(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit type, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribLFormatNV((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)type, (Int32)stride); - #if DEBUG - } - #endif - } + public static extern void VertexAttribLFormat(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit type, Int32 stride); /// [requires: NV_vertex_attrib_integer_64bit] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_attrib_integer_64bit", Version = "", EntryPoint = "glVertexAttribLFormatNV")] - public static - void VertexAttribLFormat(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit type, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribLFormatNV((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)type, (Int32)stride); - #if DEBUG - } - #endif - } + public static extern void VertexAttribLFormat(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit type, Int32 stride); /// [requires: NV_vertex_program] /// Define an array of generic vertex attribute data @@ -242141,18 +126144,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribPointerNV")] - public static - void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, IntPtr pointer); /// [requires: NV_vertex_program] /// Define an array of generic vertex attribute data @@ -242188,27 +126180,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribPointerNV")] - public static - void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + public static extern void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vertex_program] /// Define an array of generic vertex attribute data @@ -242244,27 +126218,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribPointerNV")] - public static - void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + public static extern void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vertex_program] /// Define an array of generic vertex attribute data @@ -242300,27 +126256,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribPointerNV")] - public static - void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + public static extern void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vertex_program] /// Define an array of generic vertex attribute data @@ -242356,28 +126294,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribPointerNV")] - public static - void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + public static extern void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T4)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vertex_program] /// Define an array of generic vertex attribute data @@ -242414,18 +126333,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribPointerNV")] - public static - void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, IntPtr pointer); /// [requires: NV_vertex_program] /// Define an array of generic vertex attribute data @@ -242462,27 +126370,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribPointerNV")] - public static - void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + public static extern void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vertex_program] /// Define an array of generic vertex attribute data @@ -242519,27 +126409,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribPointerNV")] - public static - void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + public static extern void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vertex_program] /// Define an array of generic vertex attribute data @@ -242576,27 +126448,9 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribPointerNV")] - public static - void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + public static extern void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vertex_program] /// Define an array of generic vertex attribute data @@ -242633,2684 +126487,638 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribPointerNV")] - public static - void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + public static extern void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T4)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1dvNV")] - public static - void VertexAttribs1(Int32 index, Int32 count, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs1(Int32 index, Int32 count, Double[] v); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1dvNV")] - public static - void VertexAttribs1(Int32 index, Int32 count, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs1(Int32 index, Int32 count, ref Double v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1dvNV")] - public static - unsafe void VertexAttribs1(Int32 index, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribs1(Int32 index, Int32 count, Double* v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1dvNV")] - public static - void VertexAttribs1(UInt32 index, Int32 count, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs1(UInt32 index, Int32 count, Double[] v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1dvNV")] - public static - void VertexAttribs1(UInt32 index, Int32 count, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs1(UInt32 index, Int32 count, ref Double v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1dvNV")] - public static - unsafe void VertexAttribs1(UInt32 index, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribs1(UInt32 index, Int32 count, Double* v); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1fvNV")] - public static - void VertexAttribs1(Int32 index, Int32 count, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs1(Int32 index, Int32 count, Single[] v); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1fvNV")] - public static - void VertexAttribs1(Int32 index, Int32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs1(Int32 index, Int32 count, ref Single v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1fvNV")] - public static - unsafe void VertexAttribs1(Int32 index, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribs1(Int32 index, Int32 count, Single* v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1fvNV")] - public static - void VertexAttribs1(UInt32 index, Int32 count, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs1(UInt32 index, Int32 count, Single[] v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1fvNV")] - public static - void VertexAttribs1(UInt32 index, Int32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs1(UInt32 index, Int32 count, ref Single v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1fvNV")] - public static - unsafe void VertexAttribs1(UInt32 index, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribs1(UInt32 index, Int32 count, Single* v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs1hvNV")] - public static - void VertexAttribs1h(Int32 index, Int32 n, Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs1h(Int32 index, Int32 n, Half[] v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs1hvNV")] - public static - void VertexAttribs1h(Int32 index, Int32 n, ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs1h(Int32 index, Int32 n, ref Half v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs1hvNV")] - public static - unsafe void VertexAttribs1h(Int32 index, Int32 n, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (Half*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribs1h(Int32 index, Int32 n, Half* v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs1hvNV")] - public static - void VertexAttribs1h(UInt32 index, Int32 n, Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs1h(UInt32 index, Int32 n, Half[] v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs1hvNV")] - public static - void VertexAttribs1h(UInt32 index, Int32 n, ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs1h(UInt32 index, Int32 n, ref Half v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs1hvNV")] - public static - unsafe void VertexAttribs1h(UInt32 index, Int32 n, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (Half*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribs1h(UInt32 index, Int32 n, Half* v); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1svNV")] - public static - void VertexAttribs1(Int32 index, Int32 count, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs1(Int32 index, Int32 count, Int16[] v); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1svNV")] - public static - void VertexAttribs1(Int32 index, Int32 count, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs1(Int32 index, Int32 count, ref Int16 v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1svNV")] - public static - unsafe void VertexAttribs1(Int32 index, Int32 count, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribs1(Int32 index, Int32 count, Int16* v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1svNV")] - public static - void VertexAttribs1(UInt32 index, Int32 count, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs1(UInt32 index, Int32 count, Int16[] v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1svNV")] - public static - void VertexAttribs1(UInt32 index, Int32 count, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs1(UInt32 index, Int32 count, ref Int16 v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs1svNV")] - public static - unsafe void VertexAttribs1(UInt32 index, Int32 count, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribs1(UInt32 index, Int32 count, Int16* v); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2dvNV")] - public static - void VertexAttribs2(Int32 index, Int32 count, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs2(Int32 index, Int32 count, Double[] v); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2dvNV")] - public static - void VertexAttribs2(Int32 index, Int32 count, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs2(Int32 index, Int32 count, ref Double v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2dvNV")] - public static - unsafe void VertexAttribs2(Int32 index, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribs2(Int32 index, Int32 count, Double* v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2dvNV")] - public static - void VertexAttribs2(UInt32 index, Int32 count, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs2(UInt32 index, Int32 count, Double[] v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2dvNV")] - public static - void VertexAttribs2(UInt32 index, Int32 count, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs2(UInt32 index, Int32 count, ref Double v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2dvNV")] - public static - unsafe void VertexAttribs2(UInt32 index, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribs2(UInt32 index, Int32 count, Double* v); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2fvNV")] - public static - void VertexAttribs2(Int32 index, Int32 count, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs2(Int32 index, Int32 count, Single[] v); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2fvNV")] - public static - void VertexAttribs2(Int32 index, Int32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs2(Int32 index, Int32 count, ref Single v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2fvNV")] - public static - unsafe void VertexAttribs2(Int32 index, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribs2(Int32 index, Int32 count, Single* v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2fvNV")] - public static - void VertexAttribs2(UInt32 index, Int32 count, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs2(UInt32 index, Int32 count, Single[] v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2fvNV")] - public static - void VertexAttribs2(UInt32 index, Int32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs2(UInt32 index, Int32 count, ref Single v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2fvNV")] - public static - unsafe void VertexAttribs2(UInt32 index, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribs2(UInt32 index, Int32 count, Single* v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs2hvNV")] - public static - void VertexAttribs2h(Int32 index, Int32 n, Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs2h(Int32 index, Int32 n, Half[] v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs2hvNV")] - public static - void VertexAttribs2h(Int32 index, Int32 n, ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs2h(Int32 index, Int32 n, ref Half v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs2hvNV")] - public static - unsafe void VertexAttribs2h(Int32 index, Int32 n, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (Half*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribs2h(Int32 index, Int32 n, Half* v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs2hvNV")] - public static - void VertexAttribs2h(UInt32 index, Int32 n, Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs2h(UInt32 index, Int32 n, Half[] v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs2hvNV")] - public static - void VertexAttribs2h(UInt32 index, Int32 n, ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs2h(UInt32 index, Int32 n, ref Half v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs2hvNV")] - public static - unsafe void VertexAttribs2h(UInt32 index, Int32 n, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (Half*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribs2h(UInt32 index, Int32 n, Half* v); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2svNV")] - public static - void VertexAttribs2(Int32 index, Int32 count, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs2(Int32 index, Int32 count, Int16[] v); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2svNV")] - public static - void VertexAttribs2(Int32 index, Int32 count, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs2(Int32 index, Int32 count, ref Int16 v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2svNV")] - public static - unsafe void VertexAttribs2(Int32 index, Int32 count, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribs2(Int32 index, Int32 count, Int16* v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2svNV")] - public static - void VertexAttribs2(UInt32 index, Int32 count, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs2(UInt32 index, Int32 count, Int16[] v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2svNV")] - public static - void VertexAttribs2(UInt32 index, Int32 count, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs2(UInt32 index, Int32 count, ref Int16 v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs2svNV")] - public static - unsafe void VertexAttribs2(UInt32 index, Int32 count, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribs2(UInt32 index, Int32 count, Int16* v); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3dvNV")] - public static - void VertexAttribs3(Int32 index, Int32 count, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs3(Int32 index, Int32 count, Double[] v); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3dvNV")] - public static - void VertexAttribs3(Int32 index, Int32 count, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs3(Int32 index, Int32 count, ref Double v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3dvNV")] - public static - unsafe void VertexAttribs3(Int32 index, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribs3(Int32 index, Int32 count, Double* v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3dvNV")] - public static - void VertexAttribs3(UInt32 index, Int32 count, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs3(UInt32 index, Int32 count, Double[] v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3dvNV")] - public static - void VertexAttribs3(UInt32 index, Int32 count, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs3(UInt32 index, Int32 count, ref Double v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3dvNV")] - public static - unsafe void VertexAttribs3(UInt32 index, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribs3(UInt32 index, Int32 count, Double* v); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3fvNV")] - public static - void VertexAttribs3(Int32 index, Int32 count, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs3(Int32 index, Int32 count, Single[] v); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3fvNV")] - public static - void VertexAttribs3(Int32 index, Int32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs3(Int32 index, Int32 count, ref Single v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3fvNV")] - public static - unsafe void VertexAttribs3(Int32 index, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribs3(Int32 index, Int32 count, Single* v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3fvNV")] - public static - void VertexAttribs3(UInt32 index, Int32 count, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs3(UInt32 index, Int32 count, Single[] v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3fvNV")] - public static - void VertexAttribs3(UInt32 index, Int32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs3(UInt32 index, Int32 count, ref Single v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3fvNV")] - public static - unsafe void VertexAttribs3(UInt32 index, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribs3(UInt32 index, Int32 count, Single* v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs3hvNV")] - public static - void VertexAttribs3h(Int32 index, Int32 n, Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs3h(Int32 index, Int32 n, Half[] v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs3hvNV")] - public static - void VertexAttribs3h(Int32 index, Int32 n, ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs3h(Int32 index, Int32 n, ref Half v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs3hvNV")] - public static - unsafe void VertexAttribs3h(Int32 index, Int32 n, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (Half*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribs3h(Int32 index, Int32 n, Half* v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs3hvNV")] - public static - void VertexAttribs3h(UInt32 index, Int32 n, Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs3h(UInt32 index, Int32 n, Half[] v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs3hvNV")] - public static - void VertexAttribs3h(UInt32 index, Int32 n, ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs3h(UInt32 index, Int32 n, ref Half v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs3hvNV")] - public static - unsafe void VertexAttribs3h(UInt32 index, Int32 n, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (Half*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribs3h(UInt32 index, Int32 n, Half* v); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3svNV")] - public static - void VertexAttribs3(Int32 index, Int32 count, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs3(Int32 index, Int32 count, Int16[] v); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3svNV")] - public static - void VertexAttribs3(Int32 index, Int32 count, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs3(Int32 index, Int32 count, ref Int16 v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3svNV")] - public static - unsafe void VertexAttribs3(Int32 index, Int32 count, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribs3(Int32 index, Int32 count, Int16* v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3svNV")] - public static - void VertexAttribs3(UInt32 index, Int32 count, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs3(UInt32 index, Int32 count, Int16[] v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3svNV")] - public static - void VertexAttribs3(UInt32 index, Int32 count, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs3(UInt32 index, Int32 count, ref Int16 v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs3svNV")] - public static - unsafe void VertexAttribs3(UInt32 index, Int32 count, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribs3(UInt32 index, Int32 count, Int16* v); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4dvNV")] - public static - void VertexAttribs4(Int32 index, Int32 count, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs4(Int32 index, Int32 count, Double[] v); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4dvNV")] - public static - void VertexAttribs4(Int32 index, Int32 count, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs4(Int32 index, Int32 count, ref Double v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4dvNV")] - public static - unsafe void VertexAttribs4(Int32 index, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribs4(Int32 index, Int32 count, Double* v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4dvNV")] - public static - void VertexAttribs4(UInt32 index, Int32 count, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs4(UInt32 index, Int32 count, Double[] v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4dvNV")] - public static - void VertexAttribs4(UInt32 index, Int32 count, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs4(UInt32 index, Int32 count, ref Double v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4dvNV")] - public static - unsafe void VertexAttribs4(UInt32 index, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribs4(UInt32 index, Int32 count, Double* v); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4fvNV")] - public static - void VertexAttribs4(Int32 index, Int32 count, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs4(Int32 index, Int32 count, Single[] v); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4fvNV")] - public static - void VertexAttribs4(Int32 index, Int32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs4(Int32 index, Int32 count, ref Single v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4fvNV")] - public static - unsafe void VertexAttribs4(Int32 index, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribs4(Int32 index, Int32 count, Single* v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4fvNV")] - public static - void VertexAttribs4(UInt32 index, Int32 count, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs4(UInt32 index, Int32 count, Single[] v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4fvNV")] - public static - void VertexAttribs4(UInt32 index, Int32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs4(UInt32 index, Int32 count, ref Single v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4fvNV")] - public static - unsafe void VertexAttribs4(UInt32 index, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribs4(UInt32 index, Int32 count, Single* v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs4hvNV")] - public static - void VertexAttribs4h(Int32 index, Int32 n, Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs4h(Int32 index, Int32 n, Half[] v); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs4hvNV")] - public static - void VertexAttribs4h(Int32 index, Int32 n, ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs4h(Int32 index, Int32 n, ref Half v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs4hvNV")] - public static - unsafe void VertexAttribs4h(Int32 index, Int32 n, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (Half*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribs4h(Int32 index, Int32 n, Half* v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs4hvNV")] - public static - void VertexAttribs4h(UInt32 index, Int32 n, Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = v) - { - Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs4h(UInt32 index, Int32 n, Half[] v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs4hvNV")] - public static - void VertexAttribs4h(UInt32 index, Int32 n, ref Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Half* v_ptr = &v) - { - Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs4h(UInt32 index, Int32 n, ref Half v); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexAttribs4hvNV")] - public static - unsafe void VertexAttribs4h(UInt32 index, Int32 n, Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (Half*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribs4h(UInt32 index, Int32 n, Half* v); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4svNV")] - public static - void VertexAttribs4(Int32 index, Int32 count, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs4(Int32 index, Int32 count, Int16[] v); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4svNV")] - public static - void VertexAttribs4(Int32 index, Int32 count, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs4(Int32 index, Int32 count, ref Int16 v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4svNV")] - public static - unsafe void VertexAttribs4(Int32 index, Int32 count, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribs4(Int32 index, Int32 count, Int16* v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4svNV")] - public static - void VertexAttribs4(UInt32 index, Int32 count, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs4(UInt32 index, Int32 count, Int16[] v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4svNV")] - public static - void VertexAttribs4(UInt32 index, Int32 count, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs4(UInt32 index, Int32 count, ref Int16 v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4svNV")] - public static - unsafe void VertexAttribs4(UInt32 index, Int32 count, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribs4(UInt32 index, Int32 count, Int16* v); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4ubvNV")] - public static - void VertexAttribs4(Int32 index, Int32 count, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs4(Int32 index, Int32 count, Byte[] v); /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4ubvNV")] - public static - void VertexAttribs4(Int32 index, Int32 count, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs4(Int32 index, Int32 count, ref Byte v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4ubvNV")] - public static - unsafe void VertexAttribs4(Int32 index, Int32 count, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribs4(Int32 index, Int32 count, Byte* v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4ubvNV")] - public static - void VertexAttribs4(UInt32 index, Int32 count, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs4(UInt32 index, Int32 count, Byte[] v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4ubvNV")] - public static - void VertexAttribs4(UInt32 index, Int32 count, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribs4(UInt32 index, Int32 count, ref Byte v); /// [requires: NV_vertex_program] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glVertexAttribs4ubvNV")] - public static - unsafe void VertexAttribs4(UInt32 index, Int32 count, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribs4(UInt32 index, Int32 count, Byte* v); /// [requires: NV_vertex_buffer_unified_memory] [AutoGenerated(Category = "NV_vertex_buffer_unified_memory", Version = "", EntryPoint = "glVertexFormatNV")] - public static - void VertexFormat(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexFormatNV((Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride); - #if DEBUG - } - #endif - } + public static extern void VertexFormat(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); /// [requires: NV_half_float] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexWeighthNV")] - public static - void VertexWeighth(Half weight) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexWeighthNV((Half)weight); - #if DEBUG - } - #endif - } + public static extern void VertexWeighth(Half weight); /// [requires: NV_half_float] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_half_float", Version = "", EntryPoint = "glVertexWeighthvNV")] - public static - unsafe void VertexWeighth(Half* weight) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexWeighthvNV((Half*)weight); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexWeighth(Half* weight); /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureNV")] - public static - OpenTK.Graphics.OpenGL.NvVideoCapture VideoCapture(Int32 video_capture_slot, [OutAttribute] Int32[] sequence_num, [OutAttribute] Int64[] capture_time) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* sequence_num_ptr = sequence_num) - fixed (Int64* capture_time_ptr = capture_time) - { - return Delegates.glVideoCaptureNV((UInt32)video_capture_slot, (UInt32*)sequence_num_ptr, (UInt64*)capture_time_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.OpenGL.NvVideoCapture VideoCapture(Int32 video_capture_slot, [OutAttribute] Int32[] sequence_num, [OutAttribute] Int64[] capture_time); /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureNV")] - public static - OpenTK.Graphics.OpenGL.NvVideoCapture VideoCapture(Int32 video_capture_slot, [OutAttribute] out Int32 sequence_num, [OutAttribute] out Int64 capture_time) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* sequence_num_ptr = &sequence_num) - fixed (Int64* capture_time_ptr = &capture_time) - { - OpenTK.Graphics.OpenGL.NvVideoCapture retval = Delegates.glVideoCaptureNV((UInt32)video_capture_slot, (UInt32*)sequence_num_ptr, (UInt64*)capture_time_ptr); - sequence_num = *sequence_num_ptr; - capture_time = *capture_time_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.OpenGL.NvVideoCapture VideoCapture(Int32 video_capture_slot, [OutAttribute] out Int32 sequence_num, [OutAttribute] out Int64 capture_time); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureNV")] - public static - unsafe OpenTK.Graphics.OpenGL.NvVideoCapture VideoCapture(Int32 video_capture_slot, [OutAttribute] Int32* sequence_num, [OutAttribute] Int64* capture_time) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glVideoCaptureNV((UInt32)video_capture_slot, (UInt32*)sequence_num, (UInt64*)capture_time); - #if DEBUG - } - #endif - } + public static extern unsafe OpenTK.Graphics.OpenGL.NvVideoCapture VideoCapture(Int32 video_capture_slot, [OutAttribute] Int32* sequence_num, [OutAttribute] Int64* capture_time); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureNV")] - public static - OpenTK.Graphics.OpenGL.NvVideoCapture VideoCapture(UInt32 video_capture_slot, [OutAttribute] UInt32[] sequence_num, [OutAttribute] UInt64[] capture_time) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* sequence_num_ptr = sequence_num) - fixed (UInt64* capture_time_ptr = capture_time) - { - return Delegates.glVideoCaptureNV((UInt32)video_capture_slot, (UInt32*)sequence_num_ptr, (UInt64*)capture_time_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.OpenGL.NvVideoCapture VideoCapture(UInt32 video_capture_slot, [OutAttribute] UInt32[] sequence_num, [OutAttribute] UInt64[] capture_time); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureNV")] - public static - OpenTK.Graphics.OpenGL.NvVideoCapture VideoCapture(UInt32 video_capture_slot, [OutAttribute] out UInt32 sequence_num, [OutAttribute] out UInt64 capture_time) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* sequence_num_ptr = &sequence_num) - fixed (UInt64* capture_time_ptr = &capture_time) - { - OpenTK.Graphics.OpenGL.NvVideoCapture retval = Delegates.glVideoCaptureNV((UInt32)video_capture_slot, (UInt32*)sequence_num_ptr, (UInt64*)capture_time_ptr); - sequence_num = *sequence_num_ptr; - capture_time = *capture_time_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.OpenGL.NvVideoCapture VideoCapture(UInt32 video_capture_slot, [OutAttribute] out UInt32 sequence_num, [OutAttribute] out UInt64 capture_time); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureNV")] - public static - unsafe OpenTK.Graphics.OpenGL.NvVideoCapture VideoCapture(UInt32 video_capture_slot, [OutAttribute] UInt32* sequence_num, [OutAttribute] UInt64* capture_time) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glVideoCaptureNV((UInt32)video_capture_slot, (UInt32*)sequence_num, (UInt64*)capture_time); - #if DEBUG - } - #endif - } + public static extern unsafe OpenTK.Graphics.OpenGL.NvVideoCapture VideoCapture(UInt32 video_capture_slot, [OutAttribute] UInt32* sequence_num, [OutAttribute] UInt64* capture_time); /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterdvNV")] - public static - void VideoCaptureStreamParameter(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glVideoCaptureStreamParameterdvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VideoCaptureStreamParameter(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Double[] @params); /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterdvNV")] - public static - void VideoCaptureStreamParameter(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, ref Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glVideoCaptureStreamParameterdvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VideoCaptureStreamParameter(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, ref Double @params); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterdvNV")] - public static - unsafe void VideoCaptureStreamParameter(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVideoCaptureStreamParameterdvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void VideoCaptureStreamParameter(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Double* @params); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterdvNV")] - public static - void VideoCaptureStreamParameter(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glVideoCaptureStreamParameterdvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VideoCaptureStreamParameter(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Double[] @params); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterdvNV")] - public static - void VideoCaptureStreamParameter(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, ref Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glVideoCaptureStreamParameterdvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VideoCaptureStreamParameter(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, ref Double @params); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterdvNV")] - public static - unsafe void VideoCaptureStreamParameter(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVideoCaptureStreamParameterdvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void VideoCaptureStreamParameter(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Double* @params); /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterfvNV")] - public static - void VideoCaptureStreamParameter(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glVideoCaptureStreamParameterfvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VideoCaptureStreamParameter(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Single[] @params); /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterfvNV")] - public static - void VideoCaptureStreamParameter(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glVideoCaptureStreamParameterfvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VideoCaptureStreamParameter(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, ref Single @params); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterfvNV")] - public static - unsafe void VideoCaptureStreamParameter(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVideoCaptureStreamParameterfvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void VideoCaptureStreamParameter(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Single* @params); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterfvNV")] - public static - void VideoCaptureStreamParameter(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glVideoCaptureStreamParameterfvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VideoCaptureStreamParameter(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Single[] @params); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterfvNV")] - public static - void VideoCaptureStreamParameter(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glVideoCaptureStreamParameterfvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VideoCaptureStreamParameter(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, ref Single @params); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterfvNV")] - public static - unsafe void VideoCaptureStreamParameter(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVideoCaptureStreamParameterfvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void VideoCaptureStreamParameter(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Single* @params); /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterivNV")] - public static - void VideoCaptureStreamParameter(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glVideoCaptureStreamParameterivNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VideoCaptureStreamParameter(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Int32[] @params); /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterivNV")] - public static - void VideoCaptureStreamParameter(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glVideoCaptureStreamParameterivNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VideoCaptureStreamParameter(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, ref Int32 @params); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterivNV")] - public static - unsafe void VideoCaptureStreamParameter(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVideoCaptureStreamParameterivNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void VideoCaptureStreamParameter(Int32 video_capture_slot, Int32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Int32* @params); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterivNV")] - public static - void VideoCaptureStreamParameter(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glVideoCaptureStreamParameterivNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VideoCaptureStreamParameter(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Int32[] @params); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterivNV")] - public static - void VideoCaptureStreamParameter(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glVideoCaptureStreamParameterivNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VideoCaptureStreamParameter(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, ref Int32 @params); /// [requires: NV_video_capture] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glVideoCaptureStreamParameterivNV")] - public static - unsafe void VideoCaptureStreamParameter(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVideoCaptureStreamParameterivNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void VideoCaptureStreamParameter(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Int32* @params); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glWeightPathsNV")] - public static - void WeightPath(Int32 resultPath, Int32 numPaths, Int32[] paths, Single[] weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* paths_ptr = paths) - fixed (Single* weights_ptr = weights) - { - Delegates.glWeightPathsNV((UInt32)resultPath, (Int32)numPaths, (UInt32*)paths_ptr, (Single*)weights_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WeightPath(Int32 resultPath, Int32 numPaths, Int32[] paths, Single[] weights); /// [requires: NV_path_rendering] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glWeightPathsNV")] - public static - void WeightPath(Int32 resultPath, Int32 numPaths, ref Int32 paths, ref Single weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* paths_ptr = &paths) - fixed (Single* weights_ptr = &weights) - { - Delegates.glWeightPathsNV((UInt32)resultPath, (Int32)numPaths, (UInt32*)paths_ptr, (Single*)weights_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WeightPath(Int32 resultPath, Int32 numPaths, ref Int32 paths, ref Single weights); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glWeightPathsNV")] - public static - unsafe void WeightPath(Int32 resultPath, Int32 numPaths, Int32* paths, Single* weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWeightPathsNV((UInt32)resultPath, (Int32)numPaths, (UInt32*)paths, (Single*)weights); - #if DEBUG - } - #endif - } + public static extern unsafe void WeightPath(Int32 resultPath, Int32 numPaths, Int32* paths, Single* weights); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glWeightPathsNV")] - public static - void WeightPath(UInt32 resultPath, Int32 numPaths, UInt32[] paths, Single[] weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* paths_ptr = paths) - fixed (Single* weights_ptr = weights) - { - Delegates.glWeightPathsNV((UInt32)resultPath, (Int32)numPaths, (UInt32*)paths_ptr, (Single*)weights_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WeightPath(UInt32 resultPath, Int32 numPaths, UInt32[] paths, Single[] weights); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glWeightPathsNV")] - public static - void WeightPath(UInt32 resultPath, Int32 numPaths, ref UInt32 paths, ref Single weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* paths_ptr = &paths) - fixed (Single* weights_ptr = &weights) - { - Delegates.glWeightPathsNV((UInt32)resultPath, (Int32)numPaths, (UInt32*)paths_ptr, (Single*)weights_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void WeightPath(UInt32 resultPath, Int32 numPaths, ref UInt32 paths, ref Single weights); /// [requires: NV_path_rendering] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_path_rendering", Version = "", EntryPoint = "glWeightPathsNV")] - public static - unsafe void WeightPath(UInt32 resultPath, Int32 numPaths, UInt32* paths, Single* weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWeightPathsNV((UInt32)resultPath, (Int32)numPaths, (UInt32*)paths, (Single*)weights); - #if DEBUG - } - #endif - } + public static extern unsafe void WeightPath(UInt32 resultPath, Int32 numPaths, UInt32* paths, Single* weights); } @@ -245330,18 +127138,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "NVX_conditional_render", Version = "", EntryPoint = "glBeginConditionalRenderNVX")] - public static - void BeginConditionalRender(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginConditionalRenderNVX((UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BeginConditionalRender(Int32 id); /// [requires: NVX_conditional_render] /// Start conditional rendering @@ -245358,33 +127155,11 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NVX_conditional_render", Version = "", EntryPoint = "glBeginConditionalRenderNVX")] - public static - void BeginConditionalRender(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginConditionalRenderNVX((UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BeginConditionalRender(UInt32 id); /// [requires: NVX_conditional_render] [AutoGenerated(Category = "NVX_conditional_render", Version = "", EntryPoint = "glEndConditionalRenderNVX")] - public static - void EndConditionalRender() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndConditionalRenderNVX(); - #if DEBUG - } - #endif - } + public static extern void EndConditionalRender(); } @@ -245392,136 +127167,36 @@ namespace OpenTK.Graphics.OpenGL { /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glAccumxOES")] - public static - void Accumx(OpenTK.Graphics.OpenGL.OesFixedPoint op, int value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAccumxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)op, (int)value); - #if DEBUG - } - #endif - } + public static extern void Accumx(OpenTK.Graphics.OpenGL.OesFixedPoint op, int value); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glAlphaFuncxOES")] - public static - void AlphaFuncx(OpenTK.Graphics.OpenGL.OesFixedPoint func, int @ref) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAlphaFuncxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)func, (int)@ref); - #if DEBUG - } - #endif - } + public static extern void AlphaFuncx(OpenTK.Graphics.OpenGL.OesFixedPoint func, int @ref); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glBitmapxOES")] - public static - void Bitmapx(Int32 width, Int32 height, int xorig, int yorig, int xmove, int ymove, Byte[] bitmap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* bitmap_ptr = bitmap) - { - Delegates.glBitmapxOES((Int32)width, (Int32)height, (int)xorig, (int)yorig, (int)xmove, (int)ymove, (Byte*)bitmap_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Bitmapx(Int32 width, Int32 height, int xorig, int yorig, int xmove, int ymove, Byte[] bitmap); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glBitmapxOES")] - public static - void Bitmapx(Int32 width, Int32 height, int xorig, int yorig, int xmove, int ymove, ref Byte bitmap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* bitmap_ptr = &bitmap) - { - Delegates.glBitmapxOES((Int32)width, (Int32)height, (int)xorig, (int)yorig, (int)xmove, (int)ymove, (Byte*)bitmap_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Bitmapx(Int32 width, Int32 height, int xorig, int yorig, int xmove, int ymove, ref Byte bitmap); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glBitmapxOES")] - public static - unsafe void Bitmapx(Int32 width, Int32 height, int xorig, int yorig, int xmove, int ymove, Byte* bitmap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBitmapxOES((Int32)width, (Int32)height, (int)xorig, (int)yorig, (int)xmove, (int)ymove, (Byte*)bitmap); - #if DEBUG - } - #endif - } + public static extern unsafe void Bitmapx(Int32 width, Int32 height, int xorig, int yorig, int xmove, int ymove, Byte* bitmap); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glBlendColorxOES")] - public static - void BlendColorx(int red, int green, int blue, int alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendColorxOES((int)red, (int)green, (int)blue, (int)alpha); - #if DEBUG - } - #endif - } + public static extern void BlendColorx(int red, int green, int blue, int alpha); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glClearAccumxOES")] - public static - void ClearAccumx(int red, int green, int blue, int alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearAccumxOES((int)red, (int)green, (int)blue, (int)alpha); - #if DEBUG - } - #endif - } + public static extern void ClearAccumx(int red, int green, int blue, int alpha); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glClearColorxOES")] - public static - void ClearColorx(int red, int green, int blue, int alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearColorxOES((int)red, (int)green, (int)blue, (int)alpha); - #if DEBUG - } - #endif - } + public static extern void ClearColorx(int red, int green, int blue, int alpha); /// [requires: OES_single_precision] /// Specify the clear value for the depth buffer @@ -245532,33 +127207,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glClearDepthfOES")] - public static - void ClearDepth(Single depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearDepthfOES((Single)depth); - #if DEBUG - } - #endif - } + public static extern void ClearDepth(Single depth); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glClearDepthxOES")] - public static - void ClearDepthx(int depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearDepthxOES((int)depth); - #if DEBUG - } - #endif - } + public static extern void ClearDepthx(int depth); /// [requires: OES_single_precision] /// Specify a plane against which all geometry is clipped @@ -245574,24 +127227,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glClipPlanefOES")] - public static - void ClipPlane(OpenTK.Graphics.OpenGL.OesSinglePrecision plane, Single[] equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* equation_ptr = equation) - { - Delegates.glClipPlanefOES((OpenTK.Graphics.OpenGL.OesSinglePrecision)plane, (Single*)equation_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClipPlane(OpenTK.Graphics.OpenGL.OesSinglePrecision plane, Single[] equation); /// [requires: OES_single_precision] /// Specify a plane against which all geometry is clipped @@ -245607,24 +127243,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glClipPlanefOES")] - public static - void ClipPlane(OpenTK.Graphics.OpenGL.OesSinglePrecision plane, ref Single equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* equation_ptr = &equation) - { - Delegates.glClipPlanefOES((OpenTK.Graphics.OpenGL.OesSinglePrecision)plane, (Single*)equation_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClipPlane(OpenTK.Graphics.OpenGL.OesSinglePrecision plane, ref Single equation); /// [requires: OES_single_precision] /// Specify a plane against which all geometry is clipped @@ -245641,274 +127260,67 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glClipPlanefOES")] - public static - unsafe void ClipPlane(OpenTK.Graphics.OpenGL.OesSinglePrecision plane, Single* equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClipPlanefOES((OpenTK.Graphics.OpenGL.OesSinglePrecision)plane, (Single*)equation); - #if DEBUG - } - #endif - } + public static extern unsafe void ClipPlane(OpenTK.Graphics.OpenGL.OesSinglePrecision plane, Single* equation); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glClipPlanexOES")] - public static - void ClipPlanex(OpenTK.Graphics.OpenGL.OesFixedPoint plane, int[] equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* equation_ptr = equation) - { - Delegates.glClipPlanexOES((OpenTK.Graphics.OpenGL.OesFixedPoint)plane, (int*)equation_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClipPlanex(OpenTK.Graphics.OpenGL.OesFixedPoint plane, int[] equation); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glClipPlanexOES")] - public static - void ClipPlanex(OpenTK.Graphics.OpenGL.OesFixedPoint plane, ref int equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* equation_ptr = &equation) - { - Delegates.glClipPlanexOES((OpenTK.Graphics.OpenGL.OesFixedPoint)plane, (int*)equation_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClipPlanex(OpenTK.Graphics.OpenGL.OesFixedPoint plane, ref int equation); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glClipPlanexOES")] - public static - unsafe void ClipPlanex(OpenTK.Graphics.OpenGL.OesFixedPoint plane, int* equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClipPlanexOES((OpenTK.Graphics.OpenGL.OesFixedPoint)plane, (int*)equation); - #if DEBUG - } - #endif - } + public static extern unsafe void ClipPlanex(OpenTK.Graphics.OpenGL.OesFixedPoint plane, int* equation); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor3xOES")] - public static - void Color3x(int red, int green, int blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3xOES((int)red, (int)green, (int)blue); - #if DEBUG - } - #endif - } + public static extern void Color3x(int red, int green, int blue); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor3xvOES")] - public static - void Color3x(int[] components) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* components_ptr = components) - { - Delegates.glColor3xvOES((int*)components_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color3x(int[] components); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor3xvOES")] - public static - void Color3x(ref int components) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* components_ptr = &components) - { - Delegates.glColor3xvOES((int*)components_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color3x(ref int components); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor3xvOES")] - public static - unsafe void Color3x(int* components) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3xvOES((int*)components); - #if DEBUG - } - #endif - } + public static extern unsafe void Color3x(int* components); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor4xOES")] - public static - void Color4x(int red, int green, int blue, int alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4xOES((int)red, (int)green, (int)blue, (int)alpha); - #if DEBUG - } - #endif - } + public static extern void Color4x(int red, int green, int blue, int alpha); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor4xvOES")] - public static - void Color4x(int[] components) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* components_ptr = components) - { - Delegates.glColor4xvOES((int*)components_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color4x(int[] components); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor4xvOES")] - public static - void Color4x(ref int components) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* components_ptr = &components) - { - Delegates.glColor4xvOES((int*)components_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color4x(ref int components); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor4xvOES")] - public static - unsafe void Color4x(int* components) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4xvOES((int*)components); - #if DEBUG - } - #endif - } + public static extern unsafe void Color4x(int* components); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glConvolutionParameterxOES")] - public static - void ConvolutionParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionParameterxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); - #if DEBUG - } - #endif - } + public static extern void ConvolutionParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glConvolutionParameterxvOES")] - public static - void ConvolutionParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glConvolutionParameterxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ConvolutionParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int[] @params); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glConvolutionParameterxvOES")] - public static - unsafe void ConvolutionParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionParameterxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ConvolutionParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params); /// [requires: OES_single_precision] /// Specify mapping of depth values from normalized device coordinates to window coordinates @@ -245924,247 +127336,63 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glDepthRangefOES")] - public static - void DepthRange(Single n, Single f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthRangefOES((Single)n, (Single)f); - #if DEBUG - } - #endif - } + public static extern void DepthRange(Single n, Single f); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glDepthRangexOES")] - public static - void DepthRangex(int n, int f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthRangexOES((int)n, (int)f); - #if DEBUG - } - #endif - } + public static extern void DepthRangex(int n, int f); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glEvalCoord1xOES")] - public static - void EvalCoord1x(int u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalCoord1xOES((int)u); - #if DEBUG - } - #endif - } + public static extern void EvalCoord1x(int u); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glEvalCoord1xvOES")] - public static - unsafe void EvalCoord1x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalCoord1xvOES((int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void EvalCoord1x(int* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glEvalCoord2xOES")] - public static - void EvalCoord2x(int u, int v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalCoord2xOES((int)u, (int)v); - #if DEBUG - } - #endif - } + public static extern void EvalCoord2x(int u, int v); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glEvalCoord2xvOES")] - public static - void EvalCoord2x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - Delegates.glEvalCoord2xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void EvalCoord2x(int[] coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glEvalCoord2xvOES")] - public static - void EvalCoord2x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - Delegates.glEvalCoord2xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void EvalCoord2x(ref int coords); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glEvalCoord2xvOES")] - public static - unsafe void EvalCoord2x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalCoord2xvOES((int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void EvalCoord2x(int* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFeedbackBufferxOES")] - public static - void FeedbackBufferx(Int32 n, OpenTK.Graphics.OpenGL.OesFixedPoint type, int[] buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* buffer_ptr = buffer) - { - Delegates.glFeedbackBufferxOES((Int32)n, (OpenTK.Graphics.OpenGL.OesFixedPoint)type, (int*)buffer_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void FeedbackBufferx(Int32 n, OpenTK.Graphics.OpenGL.OesFixedPoint type, int[] buffer); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFeedbackBufferxOES")] - public static - void FeedbackBufferx(Int32 n, OpenTK.Graphics.OpenGL.OesFixedPoint type, ref int buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* buffer_ptr = &buffer) - { - Delegates.glFeedbackBufferxOES((Int32)n, (OpenTK.Graphics.OpenGL.OesFixedPoint)type, (int*)buffer_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void FeedbackBufferx(Int32 n, OpenTK.Graphics.OpenGL.OesFixedPoint type, ref int buffer); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFeedbackBufferxOES")] - public static - unsafe void FeedbackBufferx(Int32 n, OpenTK.Graphics.OpenGL.OesFixedPoint type, int* buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFeedbackBufferxOES((Int32)n, (OpenTK.Graphics.OpenGL.OesFixedPoint)type, (int*)buffer); - #if DEBUG - } - #endif - } + public static extern unsafe void FeedbackBufferx(Int32 n, OpenTK.Graphics.OpenGL.OesFixedPoint type, int* buffer); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFogxOES")] - public static - void Fogx(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); - #if DEBUG - } - #endif - } + public static extern void Fogx(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFogxvOES")] - public static - void Fogx(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* param_ptr = param) - { - Delegates.glFogxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Fogx(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int[] param); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFogxvOES")] - public static - unsafe void Fogx(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void Fogx(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* param); /// [requires: OES_single_precision] /// Multiply the current matrix by a perspective matrix @@ -246185,33 +127413,11 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glFrustumfOES")] - public static - void Frustum(Single l, Single r, Single b, Single t, Single n, Single f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFrustumfOES((Single)l, (Single)r, (Single)b, (Single)t, (Single)n, (Single)f); - #if DEBUG - } - #endif - } + public static extern void Frustum(Single l, Single r, Single b, Single t, Single n, Single f); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFrustumxOES")] - public static - void Frustumx(int l, int r, int b, int t, int n, int f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFrustumxOES((int)l, (int)r, (int)b, (int)t, (int)n, (int)f); - #if DEBUG - } - #endif - } + public static extern void Frustumx(int l, int r, int b, int t, int n, int f); /// [requires: OES_single_precision] /// Return the coefficients of the specified clipping plane @@ -246227,24 +127433,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glGetClipPlanefOES")] - public static - void GetClipPlane(OpenTK.Graphics.OpenGL.OesSinglePrecision plane, [OutAttribute] Single[] equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* equation_ptr = equation) - { - Delegates.glGetClipPlanefOES((OpenTK.Graphics.OpenGL.OesSinglePrecision)plane, (Single*)equation_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetClipPlane(OpenTK.Graphics.OpenGL.OesSinglePrecision plane, [OutAttribute] Single[] equation); /// [requires: OES_single_precision] /// Return the coefficients of the specified clipping plane @@ -246260,25 +127449,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glGetClipPlanefOES")] - public static - void GetClipPlane(OpenTK.Graphics.OpenGL.OesSinglePrecision plane, [OutAttribute] out Single equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* equation_ptr = &equation) - { - Delegates.glGetClipPlanefOES((OpenTK.Graphics.OpenGL.OesSinglePrecision)plane, (Single*)equation_ptr); - equation = *equation_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetClipPlane(OpenTK.Graphics.OpenGL.OesSinglePrecision plane, [OutAttribute] out Single equation); /// [requires: OES_single_precision] /// Return the coefficients of the specified clipping plane @@ -246295,1059 +127466,248 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glGetClipPlanefOES")] - public static - unsafe void GetClipPlane(OpenTK.Graphics.OpenGL.OesSinglePrecision plane, [OutAttribute] Single* equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetClipPlanefOES((OpenTK.Graphics.OpenGL.OesSinglePrecision)plane, (Single*)equation); - #if DEBUG - } - #endif - } + public static extern unsafe void GetClipPlane(OpenTK.Graphics.OpenGL.OesSinglePrecision plane, [OutAttribute] Single* equation); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetClipPlanexOES")] - public static - void GetClipPlanex(OpenTK.Graphics.OpenGL.OesFixedPoint plane, [OutAttribute] int[] equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* equation_ptr = equation) - { - Delegates.glGetClipPlanexOES((OpenTK.Graphics.OpenGL.OesFixedPoint)plane, (int*)equation_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetClipPlanex(OpenTK.Graphics.OpenGL.OesFixedPoint plane, [OutAttribute] int[] equation); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetClipPlanexOES")] - public static - void GetClipPlanex(OpenTK.Graphics.OpenGL.OesFixedPoint plane, [OutAttribute] out int equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* equation_ptr = &equation) - { - Delegates.glGetClipPlanexOES((OpenTK.Graphics.OpenGL.OesFixedPoint)plane, (int*)equation_ptr); - equation = *equation_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetClipPlanex(OpenTK.Graphics.OpenGL.OesFixedPoint plane, [OutAttribute] out int equation); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetClipPlanexOES")] - public static - unsafe void GetClipPlanex(OpenTK.Graphics.OpenGL.OesFixedPoint plane, [OutAttribute] int* equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetClipPlanexOES((OpenTK.Graphics.OpenGL.OesFixedPoint)plane, (int*)equation); - #if DEBUG - } - #endif - } + public static extern unsafe void GetClipPlanex(OpenTK.Graphics.OpenGL.OesFixedPoint plane, [OutAttribute] int* equation); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetConvolutionParameterxvOES")] - public static - void GetConvolutionParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glGetConvolutionParameterxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetConvolutionParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int[] @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetConvolutionParameterxvOES")] - public static - void GetConvolutionParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] out int @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = &@params) - { - Delegates.glGetConvolutionParameterxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetConvolutionParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] out int @params); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetConvolutionParameterxvOES")] - public static - unsafe void GetConvolutionParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetConvolutionParameterxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetConvolutionParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetFixedvOES")] - public static - int GetFixed(OpenTK.Graphics.OpenGL.OesFixedPoint pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - int retval; - int* @params_ptr = &retval; - Delegates.glGetFixedvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern int GetFixed(OpenTK.Graphics.OpenGL.OesFixedPoint pname); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetFixedvOES")] - public static - void GetFixed(OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glGetFixedvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFixed(OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int[] @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetFixedvOES")] - public static - void GetFixed(OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] out int @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = &@params) - { - Delegates.glGetFixedvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFixed(OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] out int @params); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetFixedvOES")] - public static - unsafe void GetFixed(OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFixedvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFixed(OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetHistogramParameterxvOES")] - public static - void GetHistogramParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glGetHistogramParameterxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetHistogramParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int[] @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetHistogramParameterxvOES")] - public static - void GetHistogramParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] out int @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = &@params) - { - Delegates.glGetHistogramParameterxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetHistogramParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] out int @params); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetHistogramParameterxvOES")] - public static - unsafe void GetHistogramParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetHistogramParameterxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetHistogramParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetLightxOES")] - public static - void GetLightx(OpenTK.Graphics.OpenGL.OesFixedPoint light, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glGetLightxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)light, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetLightx(OpenTK.Graphics.OpenGL.OesFixedPoint light, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int[] @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetLightxOES")] - public static - void GetLightx(OpenTK.Graphics.OpenGL.OesFixedPoint light, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] out int @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = &@params) - { - Delegates.glGetLightxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)light, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetLightx(OpenTK.Graphics.OpenGL.OesFixedPoint light, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] out int @params); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetLightxOES")] - public static - unsafe void GetLightx(OpenTK.Graphics.OpenGL.OesFixedPoint light, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetLightxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)light, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetLightx(OpenTK.Graphics.OpenGL.OesFixedPoint light, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetMapxvOES")] - public static - void GetMapx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint query, [OutAttribute] int[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* v_ptr = v) - { - Delegates.glGetMapxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)query, (int*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMapx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint query, [OutAttribute] int[] v); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetMapxvOES")] - public static - void GetMapx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint query, [OutAttribute] out int v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* v_ptr = &v) - { - Delegates.glGetMapxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)query, (int*)v_ptr); - v = *v_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMapx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint query, [OutAttribute] out int v); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetMapxvOES")] - public static - unsafe void GetMapx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint query, [OutAttribute] int* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMapxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)query, (int*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMapx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint query, [OutAttribute] int* v); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetMaterialxOES")] - public static - void GetMaterialx(OpenTK.Graphics.OpenGL.OesFixedPoint face, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMaterialxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)face, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); - #if DEBUG - } - #endif - } + public static extern void GetMaterialx(OpenTK.Graphics.OpenGL.OesFixedPoint face, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetMaterialxvOES")] - public static - void GetMaterialx(OpenTK.Graphics.OpenGL.OesFixedPoint face, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glGetMaterialxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)face, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMaterialx(OpenTK.Graphics.OpenGL.OesFixedPoint face, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int[] @params); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetMaterialxvOES")] - public static - unsafe void GetMaterialx(OpenTK.Graphics.OpenGL.OesFixedPoint face, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMaterialxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)face, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMaterialx(OpenTK.Graphics.OpenGL.OesFixedPoint face, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexEnvxvOES")] - public static - void GetTexEnvx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glGetTexEnvxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexEnvx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int[] @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexEnvxvOES")] - public static - void GetTexEnvx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] out int @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = &@params) - { - Delegates.glGetTexEnvxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexEnvx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] out int @params); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexEnvxvOES")] - public static - unsafe void GetTexEnvx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexEnvxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexEnvx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexGenxvOES")] - public static - void GetTexGenx(OpenTK.Graphics.OpenGL.OesFixedPoint coord, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glGetTexGenxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)coord, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexGenx(OpenTK.Graphics.OpenGL.OesFixedPoint coord, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int[] @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexGenxvOES")] - public static - void GetTexGenx(OpenTK.Graphics.OpenGL.OesFixedPoint coord, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] out int @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = &@params) - { - Delegates.glGetTexGenxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)coord, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexGenx(OpenTK.Graphics.OpenGL.OesFixedPoint coord, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] out int @params); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexGenxvOES")] - public static - unsafe void GetTexGenx(OpenTK.Graphics.OpenGL.OesFixedPoint coord, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexGenxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)coord, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexGenx(OpenTK.Graphics.OpenGL.OesFixedPoint coord, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexLevelParameterxvOES")] - public static - void GetTexLevelParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, Int32 level, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glGetTexLevelParameterxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (Int32)level, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexLevelParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, Int32 level, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int[] @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexLevelParameterxvOES")] - public static - void GetTexLevelParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, Int32 level, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] out int @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = &@params) - { - Delegates.glGetTexLevelParameterxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (Int32)level, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexLevelParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, Int32 level, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] out int @params); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexLevelParameterxvOES")] - public static - unsafe void GetTexLevelParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, Int32 level, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexLevelParameterxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (Int32)level, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexLevelParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, Int32 level, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexParameterxvOES")] - public static - void GetTexParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glGetTexParameterxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int[] @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexParameterxvOES")] - public static - void GetTexParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] out int @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = &@params) - { - Delegates.glGetTexParameterxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] out int @params); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexParameterxvOES")] - public static - unsafe void GetTexParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameterxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glIndexxOES")] - public static - void Indexx(int component) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glIndexxOES((int)component); - #if DEBUG - } - #endif - } + public static extern void Indexx(int component); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glIndexxvOES")] - public static - unsafe void Indexx(int* component) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glIndexxvOES((int*)component); - #if DEBUG - } - #endif - } + public static extern unsafe void Indexx(int* component); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLightModelxOES")] - public static - void LightModelx(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightModelxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); - #if DEBUG - } - #endif - } + public static extern void LightModelx(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLightModelxvOES")] - public static - void LightModelx(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* param_ptr = param) - { - Delegates.glLightModelxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LightModelx(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int[] param); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLightModelxvOES")] - public static - unsafe void LightModelx(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightModelxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void LightModelx(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* param); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLightxOES")] - public static - void Lightx(OpenTK.Graphics.OpenGL.OesFixedPoint light, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)light, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); - #if DEBUG - } - #endif - } + public static extern void Lightx(OpenTK.Graphics.OpenGL.OesFixedPoint light, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLightxvOES")] - public static - void Lightx(OpenTK.Graphics.OpenGL.OesFixedPoint light, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glLightxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)light, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Lightx(OpenTK.Graphics.OpenGL.OesFixedPoint light, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int[] @params); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLightxvOES")] - public static - unsafe void Lightx(OpenTK.Graphics.OpenGL.OesFixedPoint light, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)light, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void Lightx(OpenTK.Graphics.OpenGL.OesFixedPoint light, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLineWidthxOES")] - public static - void LineWidthx(int width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLineWidthxOES((int)width); - #if DEBUG - } - #endif - } + public static extern void LineWidthx(int width); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLoadMatrixxOES")] - public static - void LoadMatrixx(int[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = m) - { - Delegates.glLoadMatrixxOES((int*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LoadMatrixx(int[] m); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLoadMatrixxOES")] - public static - void LoadMatrixx(ref int m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = &m) - { - Delegates.glLoadMatrixxOES((int*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LoadMatrixx(ref int m); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLoadMatrixxOES")] - public static - unsafe void LoadMatrixx(int* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadMatrixxOES((int*)m); - #if DEBUG - } - #endif - } + public static extern unsafe void LoadMatrixx(int* m); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLoadTransposeMatrixxOES")] - public static - void LoadTransposeMatrixx(int[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = m) - { - Delegates.glLoadTransposeMatrixxOES((int*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LoadTransposeMatrixx(int[] m); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLoadTransposeMatrixxOES")] - public static - void LoadTransposeMatrixx(ref int m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = &m) - { - Delegates.glLoadTransposeMatrixxOES((int*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void LoadTransposeMatrixx(ref int m); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLoadTransposeMatrixxOES")] - public static - unsafe void LoadTransposeMatrixx(int* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadTransposeMatrixxOES((int*)m); - #if DEBUG - } - #endif - } + public static extern unsafe void LoadTransposeMatrixx(int* m); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMap1xOES")] - public static - void Map1x(OpenTK.Graphics.OpenGL.OesFixedPoint target, int u1, int u2, Int32 stride, Int32 order, int points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMap1xOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (int)u1, (int)u2, (Int32)stride, (Int32)order, (int)points); - #if DEBUG - } - #endif - } + public static extern void Map1x(OpenTK.Graphics.OpenGL.OesFixedPoint target, int u1, int u2, Int32 stride, Int32 order, int points); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMap2xOES")] - public static - void Map2x(OpenTK.Graphics.OpenGL.OesFixedPoint target, int u1, int u2, Int32 ustride, Int32 uorder, int v1, int v2, Int32 vstride, Int32 vorder, int points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMap2xOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (int)u1, (int)u2, (Int32)ustride, (Int32)uorder, (int)v1, (int)v2, (Int32)vstride, (Int32)vorder, (int)points); - #if DEBUG - } - #endif - } + public static extern void Map2x(OpenTK.Graphics.OpenGL.OesFixedPoint target, int u1, int u2, Int32 ustride, Int32 uorder, int v1, int v2, Int32 vstride, Int32 vorder, int points); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMapGrid1xOES")] - public static - void MapGrid1x(Int32 n, int u1, int u2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapGrid1xOES((Int32)n, (int)u1, (int)u2); - #if DEBUG - } - #endif - } + public static extern void MapGrid1x(Int32 n, int u1, int u2); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMapGrid2xOES")] - public static - void MapGrid2x(Int32 n, int u1, int u2, int v1, int v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapGrid2xOES((Int32)n, (int)u1, (int)u2, (int)v1, (int)v2); - #if DEBUG - } - #endif - } + public static extern void MapGrid2x(Int32 n, int u1, int u2, int v1, int v2); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMaterialxOES")] - public static - void Materialx(OpenTK.Graphics.OpenGL.OesFixedPoint face, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMaterialxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)face, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); - #if DEBUG - } - #endif - } + public static extern void Materialx(OpenTK.Graphics.OpenGL.OesFixedPoint face, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMaterialxvOES")] - public static - void Materialx(OpenTK.Graphics.OpenGL.OesFixedPoint face, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* param_ptr = param) - { - Delegates.glMaterialxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)face, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Materialx(OpenTK.Graphics.OpenGL.OesFixedPoint face, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int[] param); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMaterialxvOES")] - public static - unsafe void Materialx(OpenTK.Graphics.OpenGL.OesFixedPoint face, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMaterialxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)face, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void Materialx(OpenTK.Graphics.OpenGL.OesFixedPoint face, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* param); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247363,18 +127723,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord1bOES")] - public static - void MultiTexCoord1(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, Byte s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1bOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte)s); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord1(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, Byte s); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247391,18 +127740,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord1bOES")] - public static - void MultiTexCoord1(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1bOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte)s); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord1(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte s); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247419,18 +127757,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord1bvOES")] - public static - unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1bvOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, Byte* coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247447,49 +127774,16 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord1bvOES")] - public static - unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1bvOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord1xOES")] - public static - void MultiTexCoord1x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1xOES((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (int)s); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord1x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int s); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord1xvOES")] - public static - unsafe void MultiTexCoord1x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1xvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord1x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int* coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247505,18 +127799,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bOES")] - public static - void MultiTexCoord2(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, Byte s, Byte t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2bOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte)s, (SByte)t); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, Byte s, Byte t); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247533,18 +127816,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bOES")] - public static - void MultiTexCoord2(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte s, SByte t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2bOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte)s, (SByte)t); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte s, SByte t); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247560,24 +127832,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bvOES")] - public static - void MultiTexCoord2(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - Delegates.glMultiTexCoord2bvOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, Byte[] coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247593,24 +127848,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bvOES")] - public static - void MultiTexCoord2(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - Delegates.glMultiTexCoord2bvOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, ref Byte coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247627,18 +127865,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bvOES")] - public static - unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2bvOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, Byte* coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247655,24 +127882,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bvOES")] - public static - void MultiTexCoord2(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - Delegates.glMultiTexCoord2bvOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte[] coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247689,24 +127899,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bvOES")] - public static - void MultiTexCoord2(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - Delegates.glMultiTexCoord2bvOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, ref SByte coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247723,91 +127916,24 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bvOES")] - public static - unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2bvOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord2xOES")] - public static - void MultiTexCoord2x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int s, int t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2xOES((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (int)s, (int)t); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int s, int t); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord2xvOES")] - public static - void MultiTexCoord2x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - Delegates.glMultiTexCoord2xvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int[] coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord2xvOES")] - public static - void MultiTexCoord2x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - Delegates.glMultiTexCoord2xvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord2x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, ref int coords); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord2xvOES")] - public static - unsafe void MultiTexCoord2x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2xvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord2x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int* coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247823,18 +127949,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bOES")] - public static - void MultiTexCoord3(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, Byte s, Byte t, Byte r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3bOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte)s, (SByte)t, (SByte)r); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, Byte s, Byte t, Byte r); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247851,18 +127966,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bOES")] - public static - void MultiTexCoord3(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte s, SByte t, SByte r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3bOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte)s, (SByte)t, (SByte)r); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte s, SByte t, SByte r); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247878,24 +127982,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bvOES")] - public static - void MultiTexCoord3(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - Delegates.glMultiTexCoord3bvOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, Byte[] coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247911,24 +127998,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bvOES")] - public static - void MultiTexCoord3(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - Delegates.glMultiTexCoord3bvOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, ref Byte coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247945,18 +128015,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bvOES")] - public static - unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3bvOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, Byte* coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -247973,24 +128032,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bvOES")] - public static - void MultiTexCoord3(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - Delegates.glMultiTexCoord3bvOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte[] coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -248007,24 +128049,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bvOES")] - public static - void MultiTexCoord3(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - Delegates.glMultiTexCoord3bvOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, ref SByte coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -248041,91 +128066,24 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bvOES")] - public static - unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3bvOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord3(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord3xOES")] - public static - void MultiTexCoord3x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int s, int t, int r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3xOES((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (int)s, (int)t, (int)r); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int s, int t, int r); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord3xvOES")] - public static - void MultiTexCoord3x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - Delegates.glMultiTexCoord3xvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int[] coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord3xvOES")] - public static - void MultiTexCoord3x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - Delegates.glMultiTexCoord3xvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord3x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, ref int coords); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord3xvOES")] - public static - unsafe void MultiTexCoord3x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3xvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord3x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int* coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -248141,18 +128099,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bOES")] - public static - void MultiTexCoord4(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, Byte s, Byte t, Byte r, Byte q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4bOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte)s, (SByte)t, (SByte)r, (SByte)q); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, Byte s, Byte t, Byte r, Byte q); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -248169,18 +128116,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bOES")] - public static - void MultiTexCoord4(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte s, SByte t, SByte r, SByte q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4bOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte)s, (SByte)t, (SByte)r, (SByte)q); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte s, SByte t, SByte r, SByte q); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -248196,24 +128132,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bvOES")] - public static - void MultiTexCoord4(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - Delegates.glMultiTexCoord4bvOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, Byte[] coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -248229,24 +128148,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bvOES")] - public static - void MultiTexCoord4(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - Delegates.glMultiTexCoord4bvOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, ref Byte coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -248263,18 +128165,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bvOES")] - public static - unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4bvOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, Byte* coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -248291,24 +128182,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bvOES")] - public static - void MultiTexCoord4(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - Delegates.glMultiTexCoord4bvOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte[] coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -248325,24 +128199,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bvOES")] - public static - void MultiTexCoord4(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - Delegates.glMultiTexCoord4bvOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, ref SByte coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -248359,280 +128216,67 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bvOES")] - public static - unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4bvOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord4(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord4xOES")] - public static - void MultiTexCoord4x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int s, int t, int r, int q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4xOES((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (int)s, (int)t, (int)r, (int)q); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int s, int t, int r, int q); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord4xvOES")] - public static - void MultiTexCoord4x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - Delegates.glMultiTexCoord4xvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int[] coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord4xvOES")] - public static - void MultiTexCoord4x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - Delegates.glMultiTexCoord4xvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiTexCoord4x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, ref int coords); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord4xvOES")] - public static - unsafe void MultiTexCoord4x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4xvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoord4x(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultMatrixxOES")] - public static - void MultMatrixx(int[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = m) - { - Delegates.glMultMatrixxOES((int*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultMatrixx(int[] m); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultMatrixxOES")] - public static - void MultMatrixx(ref int m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = &m) - { - Delegates.glMultMatrixxOES((int*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultMatrixx(ref int m); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultMatrixxOES")] - public static - unsafe void MultMatrixx(int* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultMatrixxOES((int*)m); - #if DEBUG - } - #endif - } + public static extern unsafe void MultMatrixx(int* m); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultTransposeMatrixxOES")] - public static - void MultTransposeMatrixx(int[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = m) - { - Delegates.glMultTransposeMatrixxOES((int*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultTransposeMatrixx(int[] m); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultTransposeMatrixxOES")] - public static - void MultTransposeMatrixx(ref int m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* m_ptr = &m) - { - Delegates.glMultTransposeMatrixxOES((int*)m_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultTransposeMatrixx(ref int m); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultTransposeMatrixxOES")] - public static - unsafe void MultTransposeMatrixx(int* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultTransposeMatrixxOES((int*)m); - #if DEBUG - } - #endif - } + public static extern unsafe void MultTransposeMatrixx(int* m); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glNormal3xOES")] - public static - void Normal3x(int nx, int ny, int nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3xOES((int)nx, (int)ny, (int)nz); - #if DEBUG - } - #endif - } + public static extern void Normal3x(int nx, int ny, int nz); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glNormal3xvOES")] - public static - void Normal3x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - Delegates.glNormal3xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Normal3x(int[] coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glNormal3xvOES")] - public static - void Normal3x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - Delegates.glNormal3xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Normal3x(ref int coords); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glNormal3xvOES")] - public static - unsafe void Normal3x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3xvOES((int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void Normal3x(int* coords); /// [requires: OES_single_precision] /// Multiply the current matrix with an orthographic matrix @@ -248653,654 +128297,157 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glOrthofOES")] - public static - void Ortho(Single l, Single r, Single b, Single t, Single n, Single f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glOrthofOES((Single)l, (Single)r, (Single)b, (Single)t, (Single)n, (Single)f); - #if DEBUG - } - #endif - } + public static extern void Ortho(Single l, Single r, Single b, Single t, Single n, Single f); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glOrthoxOES")] - public static - void Orthox(int l, int r, int b, int t, int n, int f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glOrthoxOES((int)l, (int)r, (int)b, (int)t, (int)n, (int)f); - #if DEBUG - } - #endif - } + public static extern void Orthox(int l, int r, int b, int t, int n, int f); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPassThroughxOES")] - public static - void PassThroughx(int token) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPassThroughxOES((int)token); - #if DEBUG - } - #endif - } + public static extern void PassThroughx(int token); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPixelTransferxOES")] - public static - void PixelTransferx(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelTransferxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); - #if DEBUG - } - #endif - } + public static extern void PixelTransferx(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPixelZoomxOES")] - public static - void PixelZoomx(int xfactor, int yfactor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelZoomxOES((int)xfactor, (int)yfactor); - #if DEBUG - } - #endif - } + public static extern void PixelZoomx(int xfactor, int yfactor); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPointParameterxOES")] - public static - void PointParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameterxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); - #if DEBUG - } - #endif - } + public static extern void PointParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPointParameterxvOES")] - public static - void PointParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glPointParameterxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PointParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int[] @params); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPointParameterxvOES")] - public static - unsafe void PointParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameterxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void PointParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPointSizexOES")] - public static - void PointSizex(int size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointSizexOES((int)size); - #if DEBUG - } - #endif - } + public static extern void PointSizex(int size); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPolygonOffsetxOES")] - public static - void PolygonOffsetx(int factor, int units) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPolygonOffsetxOES((int)factor, (int)units); - #if DEBUG - } - #endif - } + public static extern void PolygonOffsetx(int factor, int units); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPrioritizeTexturesxOES")] - public static - void PrioritizeTexturesx(Int32 n, Int32[] textures, int[] priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - fixed (int* priorities_ptr = priorities) - { - Delegates.glPrioritizeTexturesxOES((Int32)n, (UInt32*)textures_ptr, (int*)priorities_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PrioritizeTexturesx(Int32 n, Int32[] textures, int[] priorities); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPrioritizeTexturesxOES")] - public static - void PrioritizeTexturesx(Int32 n, ref Int32 textures, ref int priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - fixed (int* priorities_ptr = &priorities) - { - Delegates.glPrioritizeTexturesxOES((Int32)n, (UInt32*)textures_ptr, (int*)priorities_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PrioritizeTexturesx(Int32 n, ref Int32 textures, ref int priorities); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPrioritizeTexturesxOES")] - public static - unsafe void PrioritizeTexturesx(Int32 n, Int32* textures, int* priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPrioritizeTexturesxOES((Int32)n, (UInt32*)textures, (int*)priorities); - #if DEBUG - } - #endif - } + public static extern unsafe void PrioritizeTexturesx(Int32 n, Int32* textures, int* priorities); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPrioritizeTexturesxOES")] - public static - void PrioritizeTexturesx(Int32 n, UInt32[] textures, int[] priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - fixed (int* priorities_ptr = priorities) - { - Delegates.glPrioritizeTexturesxOES((Int32)n, (UInt32*)textures_ptr, (int*)priorities_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PrioritizeTexturesx(Int32 n, UInt32[] textures, int[] priorities); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPrioritizeTexturesxOES")] - public static - void PrioritizeTexturesx(Int32 n, ref UInt32 textures, ref int priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - fixed (int* priorities_ptr = &priorities) - { - Delegates.glPrioritizeTexturesxOES((Int32)n, (UInt32*)textures_ptr, (int*)priorities_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PrioritizeTexturesx(Int32 n, ref UInt32 textures, ref int priorities); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPrioritizeTexturesxOES")] - public static - unsafe void PrioritizeTexturesx(Int32 n, UInt32* textures, int* priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPrioritizeTexturesxOES((Int32)n, (UInt32*)textures, (int*)priorities); - #if DEBUG - } - #endif - } + public static extern unsafe void PrioritizeTexturesx(Int32 n, UInt32* textures, int* priorities); /// [requires: OES_query_matrix] [AutoGenerated(Category = "OES_query_matrix", Version = "", EntryPoint = "glQueryMatrixxOES")] - public static - Int32 QueryMatrixx([OutAttribute] int[] mantissa, [OutAttribute] Int32[] exponent) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* mantissa_ptr = mantissa) - fixed (Int32* exponent_ptr = exponent) - { - return Delegates.glQueryMatrixxOES((int*)mantissa_ptr, (Int32*)exponent_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern Int32 QueryMatrixx([OutAttribute] int[] mantissa, [OutAttribute] Int32[] exponent); /// [requires: OES_query_matrix] [AutoGenerated(Category = "OES_query_matrix", Version = "", EntryPoint = "glQueryMatrixxOES")] - public static - Int32 QueryMatrixx([OutAttribute] out int mantissa, [OutAttribute] out Int32 exponent) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* mantissa_ptr = &mantissa) - fixed (Int32* exponent_ptr = &exponent) - { - Int32 retval = Delegates.glQueryMatrixxOES((int*)mantissa_ptr, (Int32*)exponent_ptr); - mantissa = *mantissa_ptr; - exponent = *exponent_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 QueryMatrixx([OutAttribute] out int mantissa, [OutAttribute] out Int32 exponent); /// [requires: OES_query_matrix] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_query_matrix", Version = "", EntryPoint = "glQueryMatrixxOES")] - public static - unsafe Int32 QueryMatrixx([OutAttribute] int* mantissa, [OutAttribute] Int32* exponent) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glQueryMatrixxOES((int*)mantissa, (Int32*)exponent); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 QueryMatrixx([OutAttribute] int* mantissa, [OutAttribute] Int32* exponent); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos2xOES")] - public static - void RasterPos2x(int x, int y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos2xOES((int)x, (int)y); - #if DEBUG - } - #endif - } + public static extern void RasterPos2x(int x, int y); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos2xvOES")] - public static - void RasterPos2x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - Delegates.glRasterPos2xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos2x(int[] coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos2xvOES")] - public static - void RasterPos2x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - Delegates.glRasterPos2xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos2x(ref int coords); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos2xvOES")] - public static - unsafe void RasterPos2x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos2xvOES((int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void RasterPos2x(int* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos3xOES")] - public static - void RasterPos3x(int x, int y, int z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos3xOES((int)x, (int)y, (int)z); - #if DEBUG - } - #endif - } + public static extern void RasterPos3x(int x, int y, int z); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos3xvOES")] - public static - void RasterPos3x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - Delegates.glRasterPos3xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos3x(int[] coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos3xvOES")] - public static - void RasterPos3x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - Delegates.glRasterPos3xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos3x(ref int coords); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos3xvOES")] - public static - unsafe void RasterPos3x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos3xvOES((int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void RasterPos3x(int* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos4xOES")] - public static - void RasterPos4x(int x, int y, int z, int w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos4xOES((int)x, (int)y, (int)z, (int)w); - #if DEBUG - } - #endif - } + public static extern void RasterPos4x(int x, int y, int z, int w); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos4xvOES")] - public static - void RasterPos4x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - Delegates.glRasterPos4xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos4x(int[] coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos4xvOES")] - public static - void RasterPos4x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - Delegates.glRasterPos4xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void RasterPos4x(ref int coords); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos4xvOES")] - public static - unsafe void RasterPos4x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos4xvOES((int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void RasterPos4x(int* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRectxOES")] - public static - void Rectx(int x1, int y1, int x2, int y2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRectxOES((int)x1, (int)y1, (int)x2, (int)y2); - #if DEBUG - } - #endif - } + public static extern void Rectx(int x1, int y1, int x2, int y2); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRectxvOES")] - public static - void Rectx(int[] v1, int[] v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* v1_ptr = v1) - fixed (int* v2_ptr = v2) - { - Delegates.glRectxvOES((int*)v1_ptr, (int*)v2_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Rectx(int[] v1, int[] v2); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRectxvOES")] - public static - void Rectx(ref int v1, ref int v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* v1_ptr = &v1) - fixed (int* v2_ptr = &v2) - { - Delegates.glRectxvOES((int*)v1_ptr, (int*)v2_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Rectx(ref int v1, ref int v2); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRectxvOES")] - public static - unsafe void Rectx(int* v1, int* v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRectxvOES((int*)v1, (int*)v2); - #if DEBUG - } - #endif - } + public static extern unsafe void Rectx(int* v1, int* v2); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRotatexOES")] - public static - void Rotatex(int angle, int x, int y, int z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRotatexOES((int)angle, (int)x, (int)y, (int)z); - #if DEBUG - } - #endif - } + public static extern void Rotatex(int angle, int x, int y, int z); /// [requires: OES_fixed_point] /// Specify multisample coverage parameters @@ -249316,48 +128463,15 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glSampleCoverageOES")] - public static - void SampleCoverage(int value, bool invert) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSampleCoverageOES((int)value, (bool)invert); - #if DEBUG - } - #endif - } + public static extern void SampleCoverage(int value, bool invert); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glSampleCoveragexOES")] - public static - void SampleCoveragex(int value, bool invert) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSampleCoveragexOES((int)value, (bool)invert); - #if DEBUG - } - #endif - } + public static extern void SampleCoveragex(int value, bool invert); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glScalexOES")] - public static - void Scalex(int x, int y, int z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glScalexOES((int)x, (int)y, (int)z); - #if DEBUG - } - #endif - } + public static extern void Scalex(int x, int y, int z); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249368,18 +128482,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord1bOES")] - public static - void TexCoord1(Byte s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord1bOES((SByte)s); - #if DEBUG - } - #endif - } + public static extern void TexCoord1(Byte s); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249391,18 +128494,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord1bOES")] - public static - void TexCoord1(SByte s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord1bOES((SByte)s); - #if DEBUG - } - #endif - } + public static extern void TexCoord1(SByte s); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249414,18 +128506,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord1bvOES")] - public static - unsafe void TexCoord1(Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord1bvOES((SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord1(Byte* coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249437,49 +128518,16 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord1bvOES")] - public static - unsafe void TexCoord1(SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord1bvOES((SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord1(SByte* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord1xOES")] - public static - void TexCoord1x(int s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord1xOES((int)s); - #if DEBUG - } - #endif - } + public static extern void TexCoord1x(int s); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord1xvOES")] - public static - unsafe void TexCoord1x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord1xvOES((int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord1x(int* coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249490,18 +128538,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bOES")] - public static - void TexCoord2(Byte s, Byte t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2bOES((SByte)s, (SByte)t); - #if DEBUG - } - #endif - } + public static extern void TexCoord2(Byte s, Byte t); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249513,18 +128550,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bOES")] - public static - void TexCoord2(SByte s, SByte t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2bOES((SByte)s, (SByte)t); - #if DEBUG - } - #endif - } + public static extern void TexCoord2(SByte s, SByte t); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249535,24 +128561,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bvOES")] - public static - void TexCoord2(Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - Delegates.glTexCoord2bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord2(Byte[] coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249563,24 +128572,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bvOES")] - public static - void TexCoord2(ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - Delegates.glTexCoord2bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord2(ref Byte coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249592,18 +128584,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bvOES")] - public static - unsafe void TexCoord2(Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2bvOES((SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord2(Byte* coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249615,24 +128596,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bvOES")] - public static - void TexCoord2(SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - Delegates.glTexCoord2bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord2(SByte[] coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249644,24 +128608,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bvOES")] - public static - void TexCoord2(ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - Delegates.glTexCoord2bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord2(ref SByte coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249673,91 +128620,24 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bvOES")] - public static - unsafe void TexCoord2(SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2bvOES((SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord2(SByte* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord2xOES")] - public static - void TexCoord2x(int s, int t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2xOES((int)s, (int)t); - #if DEBUG - } - #endif - } + public static extern void TexCoord2x(int s, int t); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord2xvOES")] - public static - void TexCoord2x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - Delegates.glTexCoord2xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord2x(int[] coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord2xvOES")] - public static - void TexCoord2x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - Delegates.glTexCoord2xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord2x(ref int coords); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord2xvOES")] - public static - unsafe void TexCoord2x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2xvOES((int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord2x(int* coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249768,18 +128648,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bOES")] - public static - void TexCoord3(Byte s, Byte t, Byte r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord3bOES((SByte)s, (SByte)t, (SByte)r); - #if DEBUG - } - #endif - } + public static extern void TexCoord3(Byte s, Byte t, Byte r); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249791,18 +128660,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bOES")] - public static - void TexCoord3(SByte s, SByte t, SByte r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord3bOES((SByte)s, (SByte)t, (SByte)r); - #if DEBUG - } - #endif - } + public static extern void TexCoord3(SByte s, SByte t, SByte r); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249813,24 +128671,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bvOES")] - public static - void TexCoord3(Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - Delegates.glTexCoord3bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord3(Byte[] coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249841,24 +128682,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bvOES")] - public static - void TexCoord3(ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - Delegates.glTexCoord3bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord3(ref Byte coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249870,18 +128694,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bvOES")] - public static - unsafe void TexCoord3(Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord3bvOES((SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord3(Byte* coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249893,24 +128706,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bvOES")] - public static - void TexCoord3(SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - Delegates.glTexCoord3bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord3(SByte[] coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249922,24 +128718,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bvOES")] - public static - void TexCoord3(ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - Delegates.glTexCoord3bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord3(ref SByte coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -249951,91 +128730,24 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bvOES")] - public static - unsafe void TexCoord3(SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord3bvOES((SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord3(SByte* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord3xOES")] - public static - void TexCoord3x(int s, int t, int r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord3xOES((int)s, (int)t, (int)r); - #if DEBUG - } - #endif - } + public static extern void TexCoord3x(int s, int t, int r); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord3xvOES")] - public static - void TexCoord3x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - Delegates.glTexCoord3xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord3x(int[] coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord3xvOES")] - public static - void TexCoord3x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - Delegates.glTexCoord3xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord3x(ref int coords); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord3xvOES")] - public static - unsafe void TexCoord3x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord3xvOES((int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord3x(int* coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -250046,18 +128758,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bOES")] - public static - void TexCoord4(Byte s, Byte t, Byte r, Byte q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4bOES((SByte)s, (SByte)t, (SByte)r, (SByte)q); - #if DEBUG - } - #endif - } + public static extern void TexCoord4(Byte s, Byte t, Byte r, Byte q); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -250069,18 +128770,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bOES")] - public static - void TexCoord4(SByte s, SByte t, SByte r, SByte q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4bOES((SByte)s, (SByte)t, (SByte)r, (SByte)q); - #if DEBUG - } - #endif - } + public static extern void TexCoord4(SByte s, SByte t, SByte r, SByte q); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -250091,24 +128781,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bvOES")] - public static - void TexCoord4(Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - Delegates.glTexCoord4bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord4(Byte[] coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -250119,24 +128792,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bvOES")] - public static - void TexCoord4(ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - Delegates.glTexCoord4bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord4(ref Byte coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -250148,18 +128804,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bvOES")] - public static - unsafe void TexCoord4(Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4bvOES((SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord4(Byte* coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -250171,24 +128816,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bvOES")] - public static - void TexCoord4(SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - Delegates.glTexCoord4bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord4(SByte[] coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -250200,24 +128828,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bvOES")] - public static - void TexCoord4(ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - Delegates.glTexCoord4bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord4(ref SByte coords); /// [requires: OES_byte_coordinates] /// Set the current texture coordinates @@ -250229,262 +128840,67 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bvOES")] - public static - unsafe void TexCoord4(SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4bvOES((SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord4(SByte* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord4xOES")] - public static - void TexCoord4x(int s, int t, int r, int q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4xOES((int)s, (int)t, (int)r, (int)q); - #if DEBUG - } - #endif - } + public static extern void TexCoord4x(int s, int t, int r, int q); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord4xvOES")] - public static - void TexCoord4x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - Delegates.glTexCoord4xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord4x(int[] coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord4xvOES")] - public static - void TexCoord4x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - Delegates.glTexCoord4xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord4x(ref int coords); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord4xvOES")] - public static - unsafe void TexCoord4x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4xvOES((int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord4x(int* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexEnvxOES")] - public static - void TexEnvx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexEnvxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); - #if DEBUG - } - #endif - } + public static extern void TexEnvx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexEnvxvOES")] - public static - void TexEnvx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glTexEnvxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexEnvx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int[] @params); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexEnvxvOES")] - public static - unsafe void TexEnvx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexEnvxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexEnvx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexGenxOES")] - public static - void TexGenx(OpenTK.Graphics.OpenGL.OesFixedPoint coord, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexGenxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)coord, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); - #if DEBUG - } - #endif - } + public static extern void TexGenx(OpenTK.Graphics.OpenGL.OesFixedPoint coord, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexGenxvOES")] - public static - void TexGenx(OpenTK.Graphics.OpenGL.OesFixedPoint coord, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glTexGenxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)coord, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexGenx(OpenTK.Graphics.OpenGL.OesFixedPoint coord, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int[] @params); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexGenxvOES")] - public static - unsafe void TexGenx(OpenTK.Graphics.OpenGL.OesFixedPoint coord, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexGenxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)coord, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexGenx(OpenTK.Graphics.OpenGL.OesFixedPoint coord, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexParameterxOES")] - public static - void TexParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); - #if DEBUG - } - #endif - } + public static extern void TexParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexParameterxvOES")] - public static - void TexParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* @params_ptr = @params) - { - Delegates.glTexParameterxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int[] @params); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexParameterxvOES")] - public static - unsafe void TexParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexParameterx(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTranslatexOES")] - public static - void Translatex(int x, int y, int z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTranslatexOES((int)x, (int)y, (int)z); - #if DEBUG - } - #endif - } + public static extern void Translatex(int x, int y, int z); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250495,18 +128911,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex2bOES")] - public static - void Vertex2(Byte x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2bOES((SByte)x); - #if DEBUG - } - #endif - } + public static extern void Vertex2(Byte x); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250518,18 +128923,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex2bOES")] - public static - void Vertex2(SByte x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2bOES((SByte)x); - #if DEBUG - } - #endif - } + public static extern void Vertex2(SByte x); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250540,24 +128934,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex2bvOES")] - public static - void Vertex2(Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - Delegates.glVertex2bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex2(Byte[] coords); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250569,18 +128946,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex2bvOES")] - public static - unsafe void Vertex2(Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2bvOES((SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void Vertex2(Byte* coords); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250592,24 +128958,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex2bvOES")] - public static - void Vertex2(SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - Delegates.glVertex2bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex2(SByte[] coords); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250621,70 +128970,20 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex2bvOES")] - public static - unsafe void Vertex2(SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2bvOES((SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void Vertex2(SByte* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex2xOES")] - public static - void Vertex2x(int x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2xOES((int)x); - #if DEBUG - } - #endif - } + public static extern void Vertex2x(int x); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex2xvOES")] - public static - void Vertex2x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - Delegates.glVertex2xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex2x(int[] coords); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex2xvOES")] - public static - unsafe void Vertex2x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2xvOES((int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void Vertex2x(int* coords); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250695,18 +128994,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bOES")] - public static - void Vertex3(Byte x, Byte y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3bOES((SByte)x, (SByte)y); - #if DEBUG - } - #endif - } + public static extern void Vertex3(Byte x, Byte y); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250718,18 +129006,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bOES")] - public static - void Vertex3(SByte x, SByte y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3bOES((SByte)x, (SByte)y); - #if DEBUG - } - #endif - } + public static extern void Vertex3(SByte x, SByte y); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250740,24 +129017,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bvOES")] - public static - void Vertex3(Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - Delegates.glVertex3bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex3(Byte[] coords); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250768,24 +129028,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bvOES")] - public static - void Vertex3(ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - Delegates.glVertex3bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex3(ref Byte coords); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250797,18 +129040,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bvOES")] - public static - unsafe void Vertex3(Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3bvOES((SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void Vertex3(Byte* coords); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250820,24 +129052,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bvOES")] - public static - void Vertex3(SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - Delegates.glVertex3bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex3(SByte[] coords); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250849,24 +129064,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bvOES")] - public static - void Vertex3(ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - Delegates.glVertex3bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex3(ref SByte coords); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250878,91 +129076,24 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bvOES")] - public static - unsafe void Vertex3(SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3bvOES((SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void Vertex3(SByte* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex3xOES")] - public static - void Vertex3x(int x, int y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3xOES((int)x, (int)y); - #if DEBUG - } - #endif - } + public static extern void Vertex3x(int x, int y); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex3xvOES")] - public static - void Vertex3x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - Delegates.glVertex3xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex3x(int[] coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex3xvOES")] - public static - void Vertex3x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - Delegates.glVertex3xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex3x(ref int coords); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex3xvOES")] - public static - unsafe void Vertex3x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3xvOES((int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void Vertex3x(int* coords); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250973,18 +129104,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bOES")] - public static - void Vertex4(Byte x, Byte y, Byte z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4bOES((SByte)x, (SByte)y, (SByte)z); - #if DEBUG - } - #endif - } + public static extern void Vertex4(Byte x, Byte y, Byte z); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -250996,18 +129116,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bOES")] - public static - void Vertex4(SByte x, SByte y, SByte z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4bOES((SByte)x, (SByte)y, (SByte)z); - #if DEBUG - } - #endif - } + public static extern void Vertex4(SByte x, SByte y, SByte z); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -251018,24 +129127,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bvOES")] - public static - void Vertex4(Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - Delegates.glVertex4bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex4(Byte[] coords); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -251046,24 +129138,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bvOES")] - public static - void Vertex4(ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - Delegates.glVertex4bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex4(ref Byte coords); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -251075,18 +129150,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bvOES")] - public static - unsafe void Vertex4(Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4bvOES((SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void Vertex4(Byte* coords); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -251098,24 +129162,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bvOES")] - public static - void Vertex4(SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - Delegates.glVertex4bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex4(SByte[] coords); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -251127,24 +129174,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bvOES")] - public static - void Vertex4(ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - Delegates.glVertex4bvOES((SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex4(ref SByte coords); /// [requires: OES_byte_coordinates] /// Specify a vertex @@ -251156,91 +129186,24 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bvOES")] - public static - unsafe void Vertex4(SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4bvOES((SByte*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void Vertex4(SByte* coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex4xOES")] - public static - void Vertex4x(int x, int y, int z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4xOES((int)x, (int)y, (int)z); - #if DEBUG - } - #endif - } + public static extern void Vertex4x(int x, int y, int z); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex4xvOES")] - public static - void Vertex4x(int[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = coords) - { - Delegates.glVertex4xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex4x(int[] coords); /// [requires: OES_fixed_point] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex4xvOES")] - public static - void Vertex4x(ref int coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (int* coords_ptr = &coords) - { - Delegates.glVertex4xvOES((int*)coords_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Vertex4x(ref int coords); /// [requires: OES_fixed_point] [System.CLSCompliant(false)] [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex4xvOES")] - public static - unsafe void Vertex4x(int* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4xvOES((int*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void Vertex4x(int* coords); } @@ -251260,18 +129223,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "PGI_misc_hints", Version = "", EntryPoint = "glHintPGI")] - public static - void Hint(OpenTK.Graphics.OpenGL.PgiMiscHints target, Int32 mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glHintPGI((OpenTK.Graphics.OpenGL.PgiMiscHints)target, (Int32)mode); - #if DEBUG - } - #endif - } + public static extern void Hint(OpenTK.Graphics.OpenGL.PgiMiscHints target, Int32 mode); } @@ -251296,24 +129248,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableParameterfvSGI")] - public static - void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi pname, Single[] @params); /// [requires: SGI_color_table] /// Set color lookup table parameters @@ -251334,24 +129269,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableParameterfvSGI")] - public static - void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi pname, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi pname, ref Single @params); /// [requires: SGI_color_table] /// Set color lookup table parameters @@ -251373,18 +129291,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableParameterfvSGI")] - public static - unsafe void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi pname, Single* @params); /// [requires: SGI_color_table] /// Set color lookup table parameters @@ -251406,24 +129313,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ColorTableTargetSgi overload instead")] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableParameterfvSGI")] - public static - void ColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Single[] @params); /// [requires: SGI_color_table] /// Set color lookup table parameters @@ -251445,24 +129335,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ColorTableTargetSgi overload instead")] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableParameterfvSGI")] - public static - void ColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, ref Single @params); /// [requires: SGI_color_table] /// Set color lookup table parameters @@ -251485,18 +129358,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use ColorTableTargetSgi overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableParameterfvSGI")] - public static - unsafe void ColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Single* @params); /// [requires: SGI_color_table] /// Set color lookup table parameters @@ -251517,24 +129379,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableParameterivSGI")] - public static - void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glColorTableParameterivSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi pname, Int32[] @params); /// [requires: SGI_color_table] /// Set color lookup table parameters @@ -251555,24 +129400,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableParameterivSGI")] - public static - void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi pname, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glColorTableParameterivSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi pname, ref Int32 @params); /// [requires: SGI_color_table] /// Set color lookup table parameters @@ -251594,18 +129422,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableParameterivSGI")] - public static - unsafe void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorTableParameterivSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi pname, Int32* @params); /// [requires: SGI_color_table] /// Set color lookup table parameters @@ -251627,24 +129444,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ColorTableTargetSgi overload instead")] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableParameterivSGI")] - public static - void ColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glColorTableParameterivSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Int32[] @params); /// [requires: SGI_color_table] /// Set color lookup table parameters @@ -251666,24 +129466,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ColorTableTargetSgi overload instead")] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableParameterivSGI")] - public static - void ColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glColorTableParameterivSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, ref Int32 @params); /// [requires: SGI_color_table] /// Set color lookup table parameters @@ -251706,18 +129489,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use ColorTableTargetSgi overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableParameterivSGI")] - public static - unsafe void ColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorTableParameterivSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Int32* @params); /// [requires: SGI_color_table] /// Define a color lookup table @@ -251753,18 +129525,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableSGI")] - public static - void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table); - #if DEBUG - } - #endif - } + public static extern void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table); /// [requires: SGI_color_table] /// Define a color lookup table @@ -251800,27 +129561,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableSGI")] - public static - void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] table) + public static extern void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] table) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SGI_color_table] /// Define a color lookup table @@ -251856,27 +129599,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableSGI")] - public static - void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] table) + public static extern void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] table) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SGI_color_table] /// Define a color lookup table @@ -251912,27 +129637,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableSGI")] - public static - void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] table) + public static extern void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] table) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SGI_color_table] /// Define a color lookup table @@ -251968,28 +129675,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableSGI")] - public static - void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 table) + public static extern void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 table) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - table = (T5)table_ptr.Target; - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SGI_color_table] /// Define a color lookup table @@ -252026,18 +129714,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ColorTableTargetSgi overload instead")] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableSGI")] - public static - void ColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table); - #if DEBUG - } - #endif - } + public static extern void ColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table); /// [requires: SGI_color_table] /// Define a color lookup table @@ -252074,27 +129751,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ColorTableTargetSgi overload instead")] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableSGI")] - public static - void ColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] table) + public static extern void ColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] table) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SGI_color_table] /// Define a color lookup table @@ -252131,27 +129790,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ColorTableTargetSgi overload instead")] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableSGI")] - public static - void ColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] table) + public static extern void ColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] table) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SGI_color_table] /// Define a color lookup table @@ -252188,27 +129829,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ColorTableTargetSgi overload instead")] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableSGI")] - public static - void ColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] table) + public static extern void ColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] table) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SGI_color_table] /// Define a color lookup table @@ -252245,28 +129868,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ColorTableTargetSgi overload instead")] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableSGI")] - public static - void ColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 table) + public static extern void ColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 table) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - table = (T5)table_ptr.Target; - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SGI_color_table] /// Copy pixels into a color table @@ -252297,18 +129901,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glCopyColorTableSGI")] - public static - void CopyColorTable(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); - #if DEBUG - } - #endif - } + public static extern void CopyColorTable(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); /// [requires: SGI_color_table] /// Copy pixels into a color table @@ -252340,18 +129933,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ColorTableTargetSgi overload instead")] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glCopyColorTableSGI")] - public static - void CopyColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); - #if DEBUG - } - #endif - } + public static extern void CopyColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); /// [requires: SGI_color_table] /// Get color lookup table parameters @@ -252372,24 +129954,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableParameterfvSGI")] - public static - void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi pname, [OutAttribute] Single[] @params); /// [requires: SGI_color_table] /// Get color lookup table parameters @@ -252410,25 +129975,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableParameterfvSGI")] - public static - void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi pname, [OutAttribute] out Single @params); /// [requires: SGI_color_table] /// Get color lookup table parameters @@ -252450,18 +129997,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableParameterfvSGI")] - public static - unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi pname, [OutAttribute] Single* @params); /// [requires: SGI_color_table] /// Get color lookup table parameters @@ -252483,24 +130019,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ColorTableTargetSgi overload instead")] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableParameterfvSGI")] - public static - void GetColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] Single[] @params); /// [requires: SGI_color_table] /// Get color lookup table parameters @@ -252522,25 +130041,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ColorTableTargetSgi overload instead")] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableParameterfvSGI")] - public static - void GetColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] out Single @params); /// [requires: SGI_color_table] /// Get color lookup table parameters @@ -252563,18 +130064,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use ColorTableTargetSgi overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableParameterfvSGI")] - public static - unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] Single* @params); /// [requires: SGI_color_table] /// Get color lookup table parameters @@ -252595,24 +130085,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableParameterivSGI")] - public static - void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetColorTableParameterivSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi pname, [OutAttribute] Int32[] @params); /// [requires: SGI_color_table] /// Get color lookup table parameters @@ -252633,25 +130106,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableParameterivSGI")] - public static - void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetColorTableParameterivSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi pname, [OutAttribute] out Int32 @params); /// [requires: SGI_color_table] /// Get color lookup table parameters @@ -252673,18 +130128,7 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableParameterivSGI")] - public static - unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetColorTableParameterivSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi pname, [OutAttribute] Int32* @params); /// [requires: SGI_color_table] /// Get color lookup table parameters @@ -252706,24 +130150,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ColorTableTargetSgi overload instead")] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableParameterivSGI")] - public static - void GetColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetColorTableParameterivSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] Int32[] @params); /// [requires: SGI_color_table] /// Get color lookup table parameters @@ -252745,25 +130172,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ColorTableTargetSgi overload instead")] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableParameterivSGI")] - public static - void GetColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetColorTableParameterivSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] out Int32 @params); /// [requires: SGI_color_table] /// Get color lookup table parameters @@ -252786,18 +130195,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use ColorTableTargetSgi overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableParameterivSGI")] - public static - unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetColorTableParameterivSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] Int32* @params); /// [requires: SGI_color_table] /// Retrieve contents of a color lookup table @@ -252823,18 +130221,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableSGI")] - public static - void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr table) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table); - #if DEBUG - } - #endif - } + public static extern void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr table); /// [requires: SGI_color_table] /// Retrieve contents of a color lookup table @@ -252860,27 +130247,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableSGI")] - public static - void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] table) + public static extern void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] table) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SGI_color_table] /// Retrieve contents of a color lookup table @@ -252906,27 +130275,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableSGI")] - public static - void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] table) + public static extern void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] table) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SGI_color_table] /// Retrieve contents of a color lookup table @@ -252952,27 +130303,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableSGI")] - public static - void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,,] table) + public static extern void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,,] table) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SGI_color_table] /// Retrieve contents of a color lookup table @@ -252998,28 +130331,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableSGI")] - public static - void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 table) + public static extern void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 table) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - table = (T3)table_ptr.Target; - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SGI_color_table] /// Retrieve contents of a color lookup table @@ -253046,18 +130360,7 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ColorTableTargetSgi overload instead")] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableSGI")] - public static - void GetColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr table) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table); - #if DEBUG - } - #endif - } + public static extern void GetColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr table); /// [requires: SGI_color_table] /// Retrieve contents of a color lookup table @@ -253084,27 +130387,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ColorTableTargetSgi overload instead")] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableSGI")] - public static - void GetColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] table) + public static extern void GetColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] table) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SGI_color_table] /// Retrieve contents of a color lookup table @@ -253131,27 +130416,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ColorTableTargetSgi overload instead")] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableSGI")] - public static - void GetColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] table) + public static extern void GetColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] table) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SGI_color_table] /// Retrieve contents of a color lookup table @@ -253178,27 +130445,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ColorTableTargetSgi overload instead")] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableSGI")] - public static - void GetColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,,] table) + public static extern void GetColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,,] table) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SGI_color_table] /// Retrieve contents of a color lookup table @@ -253225,28 +130474,9 @@ namespace OpenTK.Graphics.OpenGL /// [Obsolete("Use ColorTableTargetSgi overload instead")] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableSGI")] - public static - void GetColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 table) + public static extern void GetColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 table) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - table = (T3)table_ptr.Target; - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; } @@ -253254,917 +130484,218 @@ namespace OpenTK.Graphics.OpenGL { /// [requires: SGIS_detail_texture] [AutoGenerated(Category = "SGIS_detail_texture", Version = "", EntryPoint = "glDetailTexFuncSGIS")] - public static - void DetailTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, Single[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = points) - { - Delegates.glDetailTexFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)n, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DetailTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, Single[] points); /// [requires: SGIS_detail_texture] [AutoGenerated(Category = "SGIS_detail_texture", Version = "", EntryPoint = "glDetailTexFuncSGIS")] - public static - void DetailTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, ref Single points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = &points) - { - Delegates.glDetailTexFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)n, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DetailTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, ref Single points); /// [requires: SGIS_detail_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIS_detail_texture", Version = "", EntryPoint = "glDetailTexFuncSGIS")] - public static - unsafe void DetailTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, Single* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDetailTexFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)n, (Single*)points); - #if DEBUG - } - #endif - } + public static extern unsafe void DetailTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, Single* points); /// [requires: SGIS_fog_function] [AutoGenerated(Category = "SGIS_fog_function", Version = "", EntryPoint = "glFogFuncSGIS")] - public static - void FogFunc(Int32 n, Single[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = points) - { - Delegates.glFogFuncSGIS((Int32)n, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void FogFunc(Int32 n, Single[] points); /// [requires: SGIS_fog_function] [AutoGenerated(Category = "SGIS_fog_function", Version = "", EntryPoint = "glFogFuncSGIS")] - public static - void FogFunc(Int32 n, ref Single points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = &points) - { - Delegates.glFogFuncSGIS((Int32)n, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void FogFunc(Int32 n, ref Single points); /// [requires: SGIS_fog_function] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIS_fog_function", Version = "", EntryPoint = "glFogFuncSGIS")] - public static - unsafe void FogFunc(Int32 n, Single* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogFuncSGIS((Int32)n, (Single*)points); - #if DEBUG - } - #endif - } + public static extern unsafe void FogFunc(Int32 n, Single* points); /// [requires: SGIS_detail_texture] [AutoGenerated(Category = "SGIS_detail_texture", Version = "", EntryPoint = "glGetDetailTexFuncSGIS")] - public static - Single GetDetailTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* points_ptr = &retval; - Delegates.glGetDetailTexFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Single*)points_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Single GetDetailTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target); /// [requires: SGIS_detail_texture] [AutoGenerated(Category = "SGIS_detail_texture", Version = "", EntryPoint = "glGetDetailTexFuncSGIS")] - public static - void GetDetailTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, [OutAttribute] Single[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = points) - { - Delegates.glGetDetailTexFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetDetailTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, [OutAttribute] Single[] points); /// [requires: SGIS_detail_texture] [AutoGenerated(Category = "SGIS_detail_texture", Version = "", EntryPoint = "glGetDetailTexFuncSGIS")] - public static - void GetDetailTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, [OutAttribute] out Single points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = &points) - { - Delegates.glGetDetailTexFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Single*)points_ptr); - points = *points_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetDetailTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, [OutAttribute] out Single points); /// [requires: SGIS_detail_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIS_detail_texture", Version = "", EntryPoint = "glGetDetailTexFuncSGIS")] - public static - unsafe void GetDetailTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, [OutAttribute] Single* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetDetailTexFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Single*)points); - #if DEBUG - } - #endif - } + public static extern unsafe void GetDetailTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, [OutAttribute] Single* points); /// [requires: SGIS_fog_function] [AutoGenerated(Category = "SGIS_fog_function", Version = "", EntryPoint = "glGetFogFuncSGIS")] - public static - Single GetFogFunc() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* points_ptr = &retval; - Delegates.glGetFogFuncSGIS((Single*)points_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Single GetFogFunc(); /// [requires: SGIS_fog_function] [AutoGenerated(Category = "SGIS_fog_function", Version = "", EntryPoint = "glGetFogFuncSGIS")] - public static - void GetFogFunc([OutAttribute] Single[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = points) - { - Delegates.glGetFogFuncSGIS((Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFogFunc([OutAttribute] Single[] points); /// [requires: SGIS_fog_function] [AutoGenerated(Category = "SGIS_fog_function", Version = "", EntryPoint = "glGetFogFuncSGIS")] - public static - void GetFogFunc([OutAttribute] out Single points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = &points) - { - Delegates.glGetFogFuncSGIS((Single*)points_ptr); - points = *points_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFogFunc([OutAttribute] out Single points); /// [requires: SGIS_fog_function] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIS_fog_function", Version = "", EntryPoint = "glGetFogFuncSGIS")] - public static - unsafe void GetFogFunc([OutAttribute] Single* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFogFuncSGIS((Single*)points); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFogFunc([OutAttribute] Single* points); /// [requires: SGIS_pixel_texture] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterfvSGIS")] - public static - Single GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* @params_ptr = &retval; - Delegates.glGetPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Single*)@params_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Single GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname); /// [requires: SGIS_pixel_texture] [Obsolete("Use PixelTexGenParameterNameSgis overload instead")] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterfvSGIS")] - public static - Single GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* @params_ptr = &retval; - Delegates.glGetPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Single*)@params_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Single GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname); /// [requires: SGIS_pixel_texture] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterfvSGIS")] - public static - void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, [OutAttribute] Single[] @params); /// [requires: SGIS_pixel_texture] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterfvSGIS")] - public static - void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, [OutAttribute] out Single @params); /// [requires: SGIS_pixel_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterfvSGIS")] - public static - unsafe void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, [OutAttribute] Single* @params); /// [requires: SGIS_pixel_texture] [Obsolete("Use PixelTexGenParameterNameSgis overload instead")] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterfvSGIS")] - public static - void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] Single[] @params); /// [requires: SGIS_pixel_texture] [Obsolete("Use PixelTexGenParameterNameSgis overload instead")] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterfvSGIS")] - public static - void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] out Single @params); /// [requires: SGIS_pixel_texture] [Obsolete("Use PixelTexGenParameterNameSgis overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterfvSGIS")] - public static - unsafe void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] Single* @params); /// [requires: SGIS_pixel_texture] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterivSGIS")] - public static - void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, [OutAttribute] Int32[] @params); /// [requires: SGIS_pixel_texture] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterivSGIS")] - public static - void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, [OutAttribute] out Int32 @params); /// [requires: SGIS_pixel_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterivSGIS")] - public static - unsafe void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, [OutAttribute] Int32* @params); /// [requires: SGIS_pixel_texture] [Obsolete("Use PixelTexGenParameterNameSgis overload instead")] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterivSGIS")] - public static - void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] Int32[] @params); /// [requires: SGIS_pixel_texture] [Obsolete("Use PixelTexGenParameterNameSgis overload instead")] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterivSGIS")] - public static - void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] out Int32 @params); /// [requires: SGIS_pixel_texture] [Obsolete("Use PixelTexGenParameterNameSgis overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterivSGIS")] - public static - unsafe void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] Int32* @params); /// [requires: SGIS_sharpen_texture] [AutoGenerated(Category = "SGIS_sharpen_texture", Version = "", EntryPoint = "glGetSharpenTexFuncSGIS")] - public static - Single GetSharpenTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* points_ptr = &retval; - Delegates.glGetSharpenTexFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Single*)points_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Single GetSharpenTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target); /// [requires: SGIS_sharpen_texture] [AutoGenerated(Category = "SGIS_sharpen_texture", Version = "", EntryPoint = "glGetSharpenTexFuncSGIS")] - public static - void GetSharpenTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, [OutAttribute] Single[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = points) - { - Delegates.glGetSharpenTexFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetSharpenTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, [OutAttribute] Single[] points); /// [requires: SGIS_sharpen_texture] [AutoGenerated(Category = "SGIS_sharpen_texture", Version = "", EntryPoint = "glGetSharpenTexFuncSGIS")] - public static - void GetSharpenTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, [OutAttribute] out Single points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = &points) - { - Delegates.glGetSharpenTexFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Single*)points_ptr); - points = *points_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSharpenTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, [OutAttribute] out Single points); /// [requires: SGIS_sharpen_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIS_sharpen_texture", Version = "", EntryPoint = "glGetSharpenTexFuncSGIS")] - public static - unsafe void GetSharpenTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, [OutAttribute] Single* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSharpenTexFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Single*)points); - #if DEBUG - } - #endif - } + public static extern unsafe void GetSharpenTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, [OutAttribute] Single* points); /// [requires: SGIS_texture_filter4] [AutoGenerated(Category = "SGIS_texture_filter4", Version = "", EntryPoint = "glGetTexFilterFuncSGIS")] - public static - void GetTexFilterFunc(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, [OutAttribute] Single[] weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* weights_ptr = weights) - { - Delegates.glGetTexFilterFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.SgisTextureFilter4)filter, (Single*)weights_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexFilterFunc(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, [OutAttribute] Single[] weights); /// [requires: SGIS_texture_filter4] [AutoGenerated(Category = "SGIS_texture_filter4", Version = "", EntryPoint = "glGetTexFilterFuncSGIS")] - public static - void GetTexFilterFunc(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, [OutAttribute] out Single weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* weights_ptr = &weights) - { - Delegates.glGetTexFilterFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.SgisTextureFilter4)filter, (Single*)weights_ptr); - weights = *weights_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexFilterFunc(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, [OutAttribute] out Single weights); /// [requires: SGIS_texture_filter4] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIS_texture_filter4", Version = "", EntryPoint = "glGetTexFilterFuncSGIS")] - public static - unsafe void GetTexFilterFunc(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, [OutAttribute] Single* weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexFilterFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.SgisTextureFilter4)filter, (Single*)weights); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexFilterFunc(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, [OutAttribute] Single* weights); /// [requires: SGIS_pixel_texture] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glPixelTexGenParameterfSGIS")] - public static - void PixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelTexGenParameterfSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void PixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, Single param); /// [requires: SGIS_pixel_texture] [Obsolete("Use PixelTexGenParameterNameSgis overload instead")] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glPixelTexGenParameterfSGIS")] - public static - void PixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelTexGenParameterfSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void PixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Single param); /// [requires: SGIS_pixel_texture] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glPixelTexGenParameterfvSGIS")] - public static - void PixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, Single[] @params); /// [requires: SGIS_pixel_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glPixelTexGenParameterfvSGIS")] - public static - unsafe void PixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void PixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, Single* @params); /// [requires: SGIS_pixel_texture] [Obsolete("Use PixelTexGenParameterNameSgis overload instead")] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glPixelTexGenParameterfvSGIS")] - public static - void PixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Single[] @params); /// [requires: SGIS_pixel_texture] [Obsolete("Use PixelTexGenParameterNameSgis overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glPixelTexGenParameterfvSGIS")] - public static - unsafe void PixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void PixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Single* @params); /// [requires: SGIS_pixel_texture] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glPixelTexGenParameteriSGIS")] - public static - void PixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelTexGenParameteriSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void PixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, Int32 param); /// [requires: SGIS_pixel_texture] [Obsolete("Use PixelTexGenParameterNameSgis overload instead")] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glPixelTexGenParameteriSGIS")] - public static - void PixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelTexGenParameteriSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void PixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Int32 param); /// [requires: SGIS_pixel_texture] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glPixelTexGenParameterivSGIS")] - public static - void PixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, Int32[] @params); /// [requires: SGIS_pixel_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glPixelTexGenParameterivSGIS")] - public static - unsafe void PixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void PixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, Int32* @params); /// [requires: SGIS_pixel_texture] [Obsolete("Use PixelTexGenParameterNameSgis overload instead")] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glPixelTexGenParameterivSGIS")] - public static - void PixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Int32[] @params); /// [requires: SGIS_pixel_texture] [Obsolete("Use PixelTexGenParameterNameSgis overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glPixelTexGenParameterivSGIS")] - public static - unsafe void PixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void PixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Int32* @params); /// [requires: SGIS_point_parameters] /// Specify point parameters @@ -254185,18 +130716,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGIS_point_parameters", Version = "", EntryPoint = "glPointParameterfSGIS")] - public static - void PointParameter(OpenTK.Graphics.OpenGL.SgisPointParameters pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameterfSGIS((OpenTK.Graphics.OpenGL.SgisPointParameters)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void PointParameter(OpenTK.Graphics.OpenGL.SgisPointParameters pname, Single param); /// [requires: SGIS_point_parameters] /// Specify point parameters @@ -254217,24 +130737,7 @@ namespace OpenTK.Graphics.OpenGL /// /// [AutoGenerated(Category = "SGIS_point_parameters", Version = "", EntryPoint = "glPointParameterfvSGIS")] - public static - void PointParameter(OpenTK.Graphics.OpenGL.SgisPointParameters pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glPointParameterfvSGIS((OpenTK.Graphics.OpenGL.SgisPointParameters)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PointParameter(OpenTK.Graphics.OpenGL.SgisPointParameters pname, Single[] @params); /// [requires: SGIS_point_parameters] /// Specify point parameters @@ -254256,419 +130759,106 @@ namespace OpenTK.Graphics.OpenGL /// [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIS_point_parameters", Version = "", EntryPoint = "glPointParameterfvSGIS")] - public static - unsafe void PointParameter(OpenTK.Graphics.OpenGL.SgisPointParameters pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameterfvSGIS((OpenTK.Graphics.OpenGL.SgisPointParameters)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void PointParameter(OpenTK.Graphics.OpenGL.SgisPointParameters pname, Single* @params); /// [requires: SGIS_multisample] [AutoGenerated(Category = "SGIS_multisample", Version = "", EntryPoint = "glSampleMaskSGIS")] - public static - void SampleMask(Single value, bool invert) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSampleMaskSGIS((Single)value, (bool)invert); - #if DEBUG - } - #endif - } + public static extern void SampleMask(Single value, bool invert); /// [requires: SGIS_multisample] [AutoGenerated(Category = "SGIS_multisample", Version = "", EntryPoint = "glSamplePatternSGIS")] - public static - void SamplePattern(OpenTK.Graphics.OpenGL.SamplePatternSgis pattern) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplePatternSGIS((OpenTK.Graphics.OpenGL.SamplePatternSgis)pattern); - #if DEBUG - } - #endif - } + public static extern void SamplePattern(OpenTK.Graphics.OpenGL.SamplePatternSgis pattern); /// [requires: SGIS_multisample] [Obsolete("Use SamplePatternSgis overload instead")] [AutoGenerated(Category = "SGIS_multisample", Version = "", EntryPoint = "glSamplePatternSGIS")] - public static - void SamplePattern(OpenTK.Graphics.OpenGL.SgisMultisample pattern) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplePatternSGIS((OpenTK.Graphics.OpenGL.SamplePatternSgis)pattern); - #if DEBUG - } - #endif - } + public static extern void SamplePattern(OpenTK.Graphics.OpenGL.SgisMultisample pattern); /// [requires: SGIS_sharpen_texture] [AutoGenerated(Category = "SGIS_sharpen_texture", Version = "", EntryPoint = "glSharpenTexFuncSGIS")] - public static - void SharpenTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, Single[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = points) - { - Delegates.glSharpenTexFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)n, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SharpenTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, Single[] points); /// [requires: SGIS_sharpen_texture] [AutoGenerated(Category = "SGIS_sharpen_texture", Version = "", EntryPoint = "glSharpenTexFuncSGIS")] - public static - void SharpenTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, ref Single points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = &points) - { - Delegates.glSharpenTexFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)n, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SharpenTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, ref Single points); /// [requires: SGIS_sharpen_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIS_sharpen_texture", Version = "", EntryPoint = "glSharpenTexFuncSGIS")] - public static - unsafe void SharpenTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, Single* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSharpenTexFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)n, (Single*)points); - #if DEBUG - } - #endif - } + public static extern unsafe void SharpenTexFunc(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, Single* points); /// [requires: SGIS_texture_filter4] [AutoGenerated(Category = "SGIS_texture_filter4", Version = "", EntryPoint = "glTexFilterFuncSGIS")] - public static - void TexFilterFunc(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, Int32 n, Single[] weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* weights_ptr = weights) - { - Delegates.glTexFilterFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.SgisTextureFilter4)filter, (Int32)n, (Single*)weights_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexFilterFunc(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, Int32 n, Single[] weights); /// [requires: SGIS_texture_filter4] [AutoGenerated(Category = "SGIS_texture_filter4", Version = "", EntryPoint = "glTexFilterFuncSGIS")] - public static - void TexFilterFunc(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, Int32 n, ref Single weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* weights_ptr = &weights) - { - Delegates.glTexFilterFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.SgisTextureFilter4)filter, (Int32)n, (Single*)weights_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexFilterFunc(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, Int32 n, ref Single weights); /// [requires: SGIS_texture_filter4] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIS_texture_filter4", Version = "", EntryPoint = "glTexFilterFuncSGIS")] - public static - unsafe void TexFilterFunc(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, Int32 n, Single* weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexFilterFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.SgisTextureFilter4)filter, (Int32)n, (Single*)weights); - #if DEBUG - } - #endif - } + public static extern unsafe void TexFilterFunc(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, Int32 n, Single* weights); /// [requires: SGIS_texture4D] [AutoGenerated(Category = "SGIS_texture4D", Version = "", EntryPoint = "glTexImage4DSGIS")] - public static - void TexImage4D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage4DSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexImage4D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: SGIS_texture4D] [AutoGenerated(Category = "SGIS_texture4D", Version = "", EntryPoint = "glTexImage4DSGIS")] - public static - void TexImage4D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[] pixels) + public static extern void TexImage4D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage4DSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SGIS_texture4D] [AutoGenerated(Category = "SGIS_texture4D", Version = "", EntryPoint = "glTexImage4DSGIS")] - public static - void TexImage4D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,] pixels) + public static extern void TexImage4D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage4DSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SGIS_texture4D] [AutoGenerated(Category = "SGIS_texture4D", Version = "", EntryPoint = "glTexImage4DSGIS")] - public static - void TexImage4D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,,] pixels) + public static extern void TexImage4D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,,] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage4DSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SGIS_texture4D] [AutoGenerated(Category = "SGIS_texture4D", Version = "", EntryPoint = "glTexImage4DSGIS")] - public static - void TexImage4D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T10 pixels) + public static extern void TexImage4D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T10 pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage4DSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T10)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SGIS_texture4D] [AutoGenerated(Category = "SGIS_texture4D", Version = "", EntryPoint = "glTexSubImage4DSGIS")] - public static - void TexSubImage4D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexSubImage4DSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexSubImage4D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); /// [requires: SGIS_texture4D] [AutoGenerated(Category = "SGIS_texture4D", Version = "", EntryPoint = "glTexSubImage4DSGIS")] - public static - void TexSubImage4D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T12[] pixels) + public static extern void TexSubImage4D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T12[] pixels) where T12 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage4DSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SGIS_texture4D] [AutoGenerated(Category = "SGIS_texture4D", Version = "", EntryPoint = "glTexSubImage4DSGIS")] - public static - void TexSubImage4D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T12[,] pixels) + public static extern void TexSubImage4D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T12[,] pixels) where T12 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage4DSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SGIS_texture4D] [AutoGenerated(Category = "SGIS_texture4D", Version = "", EntryPoint = "glTexSubImage4DSGIS")] - public static - void TexSubImage4D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T12[,,] pixels) + public static extern void TexSubImage4D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T12[,,] pixels) where T12 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage4DSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SGIS_texture4D] [AutoGenerated(Category = "SGIS_texture4D", Version = "", EntryPoint = "glTexSubImage4DSGIS")] - public static - void TexSubImage4D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T12 pixels) + public static extern void TexSubImage4D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T12 pixels) where T12 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage4DSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T12)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SGIS_texture_color_mask] [AutoGenerated(Category = "SGIS_texture_color_mask", Version = "", EntryPoint = "glTextureColorMaskSGIS")] - public static - void TextureColorMask(bool red, bool green, bool blue, bool alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureColorMaskSGIS((bool)red, (bool)green, (bool)blue, (bool)alpha); - #if DEBUG - } - #endif - } + public static extern void TextureColorMask(bool red, bool green, bool blue, bool alpha); } @@ -254676,2368 +130866,601 @@ namespace OpenTK.Graphics.OpenGL { /// [requires: SGIX_async] [AutoGenerated(Category = "SGIX_async", Version = "", EntryPoint = "glAsyncMarkerSGIX")] - public static - void AsyncMarker(Int32 marker) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAsyncMarkerSGIX((UInt32)marker); - #if DEBUG - } - #endif - } + public static extern void AsyncMarker(Int32 marker); /// [requires: SGIX_async] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_async", Version = "", EntryPoint = "glAsyncMarkerSGIX")] - public static - void AsyncMarker(UInt32 marker) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAsyncMarkerSGIX((UInt32)marker); - #if DEBUG - } - #endif - } + public static extern void AsyncMarker(UInt32 marker); /// [requires: SGIX_polynomial_ffd] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformationMap3dSGIX")] - public static - void DeformationMap3(OpenTK.Graphics.OpenGL.FfdTargetSgix target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* points_ptr = points) - { - Delegates.glDeformationMap3dSGIX((OpenTK.Graphics.OpenGL.FfdTargetSgix)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeformationMap3(OpenTK.Graphics.OpenGL.FfdTargetSgix target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double[] points); /// [requires: SGIX_polynomial_ffd] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformationMap3dSGIX")] - public static - void DeformationMap3(OpenTK.Graphics.OpenGL.FfdTargetSgix target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, ref Double points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* points_ptr = &points) - { - Delegates.glDeformationMap3dSGIX((OpenTK.Graphics.OpenGL.FfdTargetSgix)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeformationMap3(OpenTK.Graphics.OpenGL.FfdTargetSgix target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, ref Double points); /// [requires: SGIX_polynomial_ffd] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformationMap3dSGIX")] - public static - unsafe void DeformationMap3(OpenTK.Graphics.OpenGL.FfdTargetSgix target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeformationMap3dSGIX((OpenTK.Graphics.OpenGL.FfdTargetSgix)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points); - #if DEBUG - } - #endif - } + public static extern unsafe void DeformationMap3(OpenTK.Graphics.OpenGL.FfdTargetSgix target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double* points); /// [requires: SGIX_polynomial_ffd] [Obsolete("Use FfdTargetSgix overload instead")] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformationMap3dSGIX")] - public static - void DeformationMap3(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* points_ptr = points) - { - Delegates.glDeformationMap3dSGIX((OpenTK.Graphics.OpenGL.FfdTargetSgix)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeformationMap3(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double[] points); /// [requires: SGIX_polynomial_ffd] [Obsolete("Use FfdTargetSgix overload instead")] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformationMap3dSGIX")] - public static - void DeformationMap3(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, ref Double points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* points_ptr = &points) - { - Delegates.glDeformationMap3dSGIX((OpenTK.Graphics.OpenGL.FfdTargetSgix)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeformationMap3(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, ref Double points); /// [requires: SGIX_polynomial_ffd] [Obsolete("Use FfdTargetSgix overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformationMap3dSGIX")] - public static - unsafe void DeformationMap3(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeformationMap3dSGIX((OpenTK.Graphics.OpenGL.FfdTargetSgix)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points); - #if DEBUG - } - #endif - } + public static extern unsafe void DeformationMap3(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double* points); /// [requires: SGIX_polynomial_ffd] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformationMap3fSGIX")] - public static - void DeformationMap3(OpenTK.Graphics.OpenGL.FfdTargetSgix target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = points) - { - Delegates.glDeformationMap3fSGIX((OpenTK.Graphics.OpenGL.FfdTargetSgix)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeformationMap3(OpenTK.Graphics.OpenGL.FfdTargetSgix target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single[] points); /// [requires: SGIX_polynomial_ffd] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformationMap3fSGIX")] - public static - void DeformationMap3(OpenTK.Graphics.OpenGL.FfdTargetSgix target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, ref Single points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = &points) - { - Delegates.glDeformationMap3fSGIX((OpenTK.Graphics.OpenGL.FfdTargetSgix)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeformationMap3(OpenTK.Graphics.OpenGL.FfdTargetSgix target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, ref Single points); /// [requires: SGIX_polynomial_ffd] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformationMap3fSGIX")] - public static - unsafe void DeformationMap3(OpenTK.Graphics.OpenGL.FfdTargetSgix target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeformationMap3fSGIX((OpenTK.Graphics.OpenGL.FfdTargetSgix)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points); - #if DEBUG - } - #endif - } + public static extern unsafe void DeformationMap3(OpenTK.Graphics.OpenGL.FfdTargetSgix target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single* points); /// [requires: SGIX_polynomial_ffd] [Obsolete("Use FfdTargetSgix overload instead")] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformationMap3fSGIX")] - public static - void DeformationMap3(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = points) - { - Delegates.glDeformationMap3fSGIX((OpenTK.Graphics.OpenGL.FfdTargetSgix)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeformationMap3(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single[] points); /// [requires: SGIX_polynomial_ffd] [Obsolete("Use FfdTargetSgix overload instead")] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformationMap3fSGIX")] - public static - void DeformationMap3(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, ref Single points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = &points) - { - Delegates.glDeformationMap3fSGIX((OpenTK.Graphics.OpenGL.FfdTargetSgix)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeformationMap3(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, ref Single points); /// [requires: SGIX_polynomial_ffd] [Obsolete("Use FfdTargetSgix overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformationMap3fSGIX")] - public static - unsafe void DeformationMap3(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeformationMap3fSGIX((OpenTK.Graphics.OpenGL.FfdTargetSgix)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points); - #if DEBUG - } - #endif - } + public static extern unsafe void DeformationMap3(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single* points); /// [requires: SGIX_polynomial_ffd] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformSGIX")] - public static - void Deform(OpenTK.Graphics.OpenGL.FfdMaskSgix mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeformSGIX((OpenTK.Graphics.OpenGL.FfdMaskSgix)mask); - #if DEBUG - } - #endif - } + public static extern void Deform(OpenTK.Graphics.OpenGL.FfdMaskSgix mask); /// [requires: SGIX_polynomial_ffd] [Obsolete("Use FfdMaskSgix overload instead")] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformSGIX")] - public static - void Deform(Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeformSGIX((OpenTK.Graphics.OpenGL.FfdMaskSgix)mask); - #if DEBUG - } - #endif - } + public static extern void Deform(Int32 mask); /// [requires: SGIX_polynomial_ffd] [Obsolete("Use FfdMaskSgix overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformSGIX")] - public static - void Deform(UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeformSGIX((OpenTK.Graphics.OpenGL.FfdMaskSgix)mask); - #if DEBUG - } - #endif - } + public static extern void Deform(UInt32 mask); /// [requires: SGIX_async] [AutoGenerated(Category = "SGIX_async", Version = "", EntryPoint = "glDeleteAsyncMarkersSGIX")] - public static - void DeleteAsyncMarkers(Int32 marker, Int32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteAsyncMarkersSGIX((UInt32)marker, (Int32)range); - #if DEBUG - } - #endif - } + public static extern void DeleteAsyncMarkers(Int32 marker, Int32 range); /// [requires: SGIX_async] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_async", Version = "", EntryPoint = "glDeleteAsyncMarkersSGIX")] - public static - void DeleteAsyncMarkers(UInt32 marker, Int32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteAsyncMarkersSGIX((UInt32)marker, (Int32)range); - #if DEBUG - } - #endif - } + public static extern void DeleteAsyncMarkers(UInt32 marker, Int32 range); /// [requires: SGIX_async] [AutoGenerated(Category = "SGIX_async", Version = "", EntryPoint = "glFinishAsyncSGIX")] - public static - Int32 FinishAsync([OutAttribute] out Int32 markerp) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* markerp_ptr = &markerp) - { - Int32 retval = Delegates.glFinishAsyncSGIX((UInt32*)markerp_ptr); - markerp = *markerp_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 FinishAsync([OutAttribute] out Int32 markerp); /// [requires: SGIX_async] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_async", Version = "", EntryPoint = "glFinishAsyncSGIX")] - public static - unsafe Int32 FinishAsync([OutAttribute] Int32* markerp) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glFinishAsyncSGIX((UInt32*)markerp); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 FinishAsync([OutAttribute] Int32* markerp); /// [requires: SGIX_async] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_async", Version = "", EntryPoint = "glFinishAsyncSGIX")] - public static - Int32 FinishAsync([OutAttribute] out UInt32 markerp) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* markerp_ptr = &markerp) - { - Int32 retval = Delegates.glFinishAsyncSGIX((UInt32*)markerp_ptr); - markerp = *markerp_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 FinishAsync([OutAttribute] out UInt32 markerp); /// [requires: SGIX_async] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_async", Version = "", EntryPoint = "glFinishAsyncSGIX")] - public static - unsafe Int32 FinishAsync([OutAttribute] UInt32* markerp) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glFinishAsyncSGIX((UInt32*)markerp); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 FinishAsync([OutAttribute] UInt32* markerp); /// [requires: SGIX_flush_raster] [AutoGenerated(Category = "SGIX_flush_raster", Version = "", EntryPoint = "glFlushRasterSGIX")] - public static - void FlushRaster() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFlushRasterSGIX(); - #if DEBUG - } - #endif - } + public static extern void FlushRaster(); /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentColorMaterialSGIX")] - public static - void FragmentColorMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFragmentColorMaterialSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)mode); - #if DEBUG - } - #endif - } + public static extern void FragmentColorMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter mode); /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightfSGIX")] - public static - void FragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFragmentLightfSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void FragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single param); /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightfvSGIX")] - public static - void FragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glFragmentLightfvSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void FragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single[] @params); /// [requires: SGIX_fragment_lighting] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightfvSGIX")] - public static - unsafe void FragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFragmentLightfvSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void FragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single* @params); /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightiSGIX")] - public static - void FragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFragmentLightiSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void FragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param); /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightivSGIX")] - public static - void FragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glFragmentLightivSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void FragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32[] @params); /// [requires: SGIX_fragment_lighting] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightivSGIX")] - public static - unsafe void FragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFragmentLightivSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void FragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32* @params); /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightModelfSGIX")] - public static - void FragmentLightModel(OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFragmentLightModelfSGIX((OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void FragmentLightModel(OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix pname, Single param); /// [requires: SGIX_fragment_lighting] [Obsolete("Use FragmentLightModelParameterSgix overload instead")] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightModelfSGIX")] - public static - void FragmentLightModel(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFragmentLightModelfSGIX((OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void FragmentLightModel(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single param); /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightModelfvSGIX")] - public static - void FragmentLightModel(OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glFragmentLightModelfvSGIX((OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void FragmentLightModel(OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix pname, Single[] @params); /// [requires: SGIX_fragment_lighting] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightModelfvSGIX")] - public static - unsafe void FragmentLightModel(OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFragmentLightModelfvSGIX((OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void FragmentLightModel(OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix pname, Single* @params); /// [requires: SGIX_fragment_lighting] [Obsolete("Use FragmentLightModelParameterSgix overload instead")] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightModelfvSGIX")] - public static - void FragmentLightModel(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glFragmentLightModelfvSGIX((OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void FragmentLightModel(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single[] @params); /// [requires: SGIX_fragment_lighting] [Obsolete("Use FragmentLightModelParameterSgix overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightModelfvSGIX")] - public static - unsafe void FragmentLightModel(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFragmentLightModelfvSGIX((OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void FragmentLightModel(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single* @params); /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightModeliSGIX")] - public static - void FragmentLightModel(OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFragmentLightModeliSGIX((OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void FragmentLightModel(OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix pname, Int32 param); /// [requires: SGIX_fragment_lighting] [Obsolete("Use FragmentLightModelParameterSgix overload instead")] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightModeliSGIX")] - public static - void FragmentLightModel(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFragmentLightModeliSGIX((OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void FragmentLightModel(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param); /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightModelivSGIX")] - public static - void FragmentLightModel(OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glFragmentLightModelivSGIX((OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void FragmentLightModel(OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix pname, Int32[] @params); /// [requires: SGIX_fragment_lighting] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightModelivSGIX")] - public static - unsafe void FragmentLightModel(OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFragmentLightModelivSGIX((OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void FragmentLightModel(OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix pname, Int32* @params); /// [requires: SGIX_fragment_lighting] [Obsolete("Use FragmentLightModelParameterSgix overload instead")] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightModelivSGIX")] - public static - void FragmentLightModel(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glFragmentLightModelivSGIX((OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void FragmentLightModel(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32[] @params); /// [requires: SGIX_fragment_lighting] [Obsolete("Use FragmentLightModelParameterSgix overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightModelivSGIX")] - public static - unsafe void FragmentLightModel(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFragmentLightModelivSGIX((OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void FragmentLightModel(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32* @params); /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentMaterialfSGIX")] - public static - void FragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFragmentMaterialfSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void FragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single param); /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentMaterialfvSGIX")] - public static - void FragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glFragmentMaterialfvSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void FragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single[] @params); /// [requires: SGIX_fragment_lighting] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentMaterialfvSGIX")] - public static - unsafe void FragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFragmentMaterialfvSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void FragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single* @params); /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentMaterialiSGIX")] - public static - void FragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFragmentMaterialiSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void FragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32 param); /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentMaterialivSGIX")] - public static - void FragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glFragmentMaterialivSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void FragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32[] @params); /// [requires: SGIX_fragment_lighting] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentMaterialivSGIX")] - public static - unsafe void FragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFragmentMaterialivSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void FragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32* @params); /// [requires: SGIX_framezoom] [AutoGenerated(Category = "SGIX_framezoom", Version = "", EntryPoint = "glFrameZoomSGIX")] - public static - void FrameZoom(Int32 factor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFrameZoomSGIX((Int32)factor); - #if DEBUG - } - #endif - } + public static extern void FrameZoom(Int32 factor); /// [requires: SGIX_async] [AutoGenerated(Category = "SGIX_async", Version = "", EntryPoint = "glGenAsyncMarkersSGIX")] - public static - Int32 GenAsyncMarkers(Int32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGenAsyncMarkersSGIX((Int32)range); - #if DEBUG - } - #endif - } + public static extern Int32 GenAsyncMarkers(Int32 range); /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glGetFragmentLightfvSGIX")] - public static - void GetFragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetFragmentLightfvSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [OutAttribute] Single[] @params); /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glGetFragmentLightfvSGIX")] - public static - void GetFragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetFragmentLightfvSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [OutAttribute] out Single @params); /// [requires: SGIX_fragment_lighting] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glGetFragmentLightfvSGIX")] - public static - unsafe void GetFragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFragmentLightfvSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [OutAttribute] Single* @params); /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glGetFragmentLightivSGIX")] - public static - void GetFragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFragmentLightivSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [OutAttribute] Int32[] @params); /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glGetFragmentLightivSGIX")] - public static - void GetFragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFragmentLightivSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [OutAttribute] out Int32 @params); /// [requires: SGIX_fragment_lighting] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glGetFragmentLightivSGIX")] - public static - unsafe void GetFragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFragmentLightivSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFragmentLight(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [OutAttribute] Int32* @params); /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glGetFragmentMaterialfvSGIX")] - public static - void GetFragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetFragmentMaterialfvSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Single[] @params); /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glGetFragmentMaterialfvSGIX")] - public static - void GetFragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetFragmentMaterialfvSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] out Single @params); /// [requires: SGIX_fragment_lighting] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glGetFragmentMaterialfvSGIX")] - public static - unsafe void GetFragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFragmentMaterialfvSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Single* @params); /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glGetFragmentMaterialivSGIX")] - public static - void GetFragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFragmentMaterialivSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Int32[] @params); /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glGetFragmentMaterialivSGIX")] - public static - void GetFragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFragmentMaterialivSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] out Int32 @params); /// [requires: SGIX_fragment_lighting] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glGetFragmentMaterialivSGIX")] - public static - unsafe void GetFragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFragmentMaterialivSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFragmentMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Int32* @params); /// [requires: SGIX_instruments] [AutoGenerated(Category = "SGIX_instruments", Version = "", EntryPoint = "glGetInstrumentsSGIX")] - public static - Int32 GetInstruments() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetInstrumentsSGIX(); - #if DEBUG - } - #endif - } + public static extern Int32 GetInstruments(); /// [requires: SGIX_list_priority] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glGetListParameterfvSGIX")] - public static - void GetListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Single[] @params); /// [requires: SGIX_list_priority] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glGetListParameterfvSGIX")] - public static - void GetListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] out Single @params); /// [requires: SGIX_list_priority] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glGetListParameterfvSGIX")] - public static - unsafe void GetListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Single* @params); /// [requires: SGIX_list_priority] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glGetListParameterfvSGIX")] - public static - void GetListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Single[] @params); /// [requires: SGIX_list_priority] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glGetListParameterfvSGIX")] - public static - void GetListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] out Single @params); /// [requires: SGIX_list_priority] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glGetListParameterfvSGIX")] - public static - unsafe void GetListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Single* @params); /// [requires: SGIX_list_priority] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glGetListParameterivSGIX")] - public static - void GetListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Int32[] @params); /// [requires: SGIX_list_priority] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glGetListParameterivSGIX")] - public static - void GetListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] out Int32 @params); /// [requires: SGIX_list_priority] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glGetListParameterivSGIX")] - public static - unsafe void GetListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Int32* @params); /// [requires: SGIX_list_priority] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glGetListParameterivSGIX")] - public static - void GetListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Int32[] @params); /// [requires: SGIX_list_priority] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glGetListParameterivSGIX")] - public static - void GetListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] out Int32 @params); /// [requires: SGIX_list_priority] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glGetListParameterivSGIX")] - public static - unsafe void GetListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Int32* @params); /// [requires: SGIX_igloo_interface] [Obsolete("Use SgixIglooInterface overload instead")] [AutoGenerated(Category = "SGIX_igloo_interface", Version = "", EntryPoint = "glIglooInterfaceSGIX")] - public static - void IglooInterface(OpenTK.Graphics.OpenGL.All pname, IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.OpenGL.SgixIglooInterface)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } + public static extern void IglooInterface(OpenTK.Graphics.OpenGL.All pname, IntPtr @params); /// [requires: SGIX_igloo_interface] [Obsolete("Use SgixIglooInterface overload instead")] [AutoGenerated(Category = "SGIX_igloo_interface", Version = "", EntryPoint = "glIglooInterfaceSGIX")] - public static - void IglooInterface(OpenTK.Graphics.OpenGL.All pname, [InAttribute, OutAttribute] T1[] @params) + public static extern void IglooInterface(OpenTK.Graphics.OpenGL.All pname, [InAttribute, OutAttribute] T1[] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.OpenGL.SgixIglooInterface)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SGIX_igloo_interface] [Obsolete("Use SgixIglooInterface overload instead")] [AutoGenerated(Category = "SGIX_igloo_interface", Version = "", EntryPoint = "glIglooInterfaceSGIX")] - public static - void IglooInterface(OpenTK.Graphics.OpenGL.All pname, [InAttribute, OutAttribute] T1[,] @params) + public static extern void IglooInterface(OpenTK.Graphics.OpenGL.All pname, [InAttribute, OutAttribute] T1[,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.OpenGL.SgixIglooInterface)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SGIX_igloo_interface] [Obsolete("Use SgixIglooInterface overload instead")] [AutoGenerated(Category = "SGIX_igloo_interface", Version = "", EntryPoint = "glIglooInterfaceSGIX")] - public static - void IglooInterface(OpenTK.Graphics.OpenGL.All pname, [InAttribute, OutAttribute] T1[,,] @params) + public static extern void IglooInterface(OpenTK.Graphics.OpenGL.All pname, [InAttribute, OutAttribute] T1[,,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.OpenGL.SgixIglooInterface)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SGIX_igloo_interface] [Obsolete("Use SgixIglooInterface overload instead")] [AutoGenerated(Category = "SGIX_igloo_interface", Version = "", EntryPoint = "glIglooInterfaceSGIX")] - public static - void IglooInterface(OpenTK.Graphics.OpenGL.All pname, [InAttribute, OutAttribute] ref T1 @params) + public static extern void IglooInterface(OpenTK.Graphics.OpenGL.All pname, [InAttribute, OutAttribute] ref T1 @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.OpenGL.SgixIglooInterface)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - @params = (T1)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SGIX_igloo_interface] [AutoGenerated(Category = "SGIX_igloo_interface", Version = "", EntryPoint = "glIglooInterfaceSGIX")] - public static - void IglooInterface(OpenTK.Graphics.OpenGL.SgixIglooInterface pname, IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.OpenGL.SgixIglooInterface)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } + public static extern void IglooInterface(OpenTK.Graphics.OpenGL.SgixIglooInterface pname, IntPtr @params); /// [requires: SGIX_igloo_interface] [AutoGenerated(Category = "SGIX_igloo_interface", Version = "", EntryPoint = "glIglooInterfaceSGIX")] - public static - void IglooInterface(OpenTK.Graphics.OpenGL.SgixIglooInterface pname, [InAttribute, OutAttribute] T1[] @params) + public static extern void IglooInterface(OpenTK.Graphics.OpenGL.SgixIglooInterface pname, [InAttribute, OutAttribute] T1[] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.OpenGL.SgixIglooInterface)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SGIX_igloo_interface] [AutoGenerated(Category = "SGIX_igloo_interface", Version = "", EntryPoint = "glIglooInterfaceSGIX")] - public static - void IglooInterface(OpenTK.Graphics.OpenGL.SgixIglooInterface pname, [InAttribute, OutAttribute] T1[,] @params) + public static extern void IglooInterface(OpenTK.Graphics.OpenGL.SgixIglooInterface pname, [InAttribute, OutAttribute] T1[,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.OpenGL.SgixIglooInterface)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SGIX_igloo_interface] [AutoGenerated(Category = "SGIX_igloo_interface", Version = "", EntryPoint = "glIglooInterfaceSGIX")] - public static - void IglooInterface(OpenTK.Graphics.OpenGL.SgixIglooInterface pname, [InAttribute, OutAttribute] T1[,,] @params) + public static extern void IglooInterface(OpenTK.Graphics.OpenGL.SgixIglooInterface pname, [InAttribute, OutAttribute] T1[,,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.OpenGL.SgixIglooInterface)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SGIX_igloo_interface] [AutoGenerated(Category = "SGIX_igloo_interface", Version = "", EntryPoint = "glIglooInterfaceSGIX")] - public static - void IglooInterface(OpenTK.Graphics.OpenGL.SgixIglooInterface pname, [InAttribute, OutAttribute] ref T1 @params) + public static extern void IglooInterface(OpenTK.Graphics.OpenGL.SgixIglooInterface pname, [InAttribute, OutAttribute] ref T1 @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.OpenGL.SgixIglooInterface)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - @params = (T1)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SGIX_instruments] [AutoGenerated(Category = "SGIX_instruments", Version = "", EntryPoint = "glInstrumentsBufferSGIX")] - public static - void InstrumentsBuffer(Int32 size, [OutAttribute] Int32[] buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffer_ptr = buffer) - { - Delegates.glInstrumentsBufferSGIX((Int32)size, (Int32*)buffer_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void InstrumentsBuffer(Int32 size, [OutAttribute] Int32[] buffer); /// [requires: SGIX_instruments] [AutoGenerated(Category = "SGIX_instruments", Version = "", EntryPoint = "glInstrumentsBufferSGIX")] - public static - void InstrumentsBuffer(Int32 size, [OutAttribute] out Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffer_ptr = &buffer) - { - Delegates.glInstrumentsBufferSGIX((Int32)size, (Int32*)buffer_ptr); - buffer = *buffer_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void InstrumentsBuffer(Int32 size, [OutAttribute] out Int32 buffer); /// [requires: SGIX_instruments] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_instruments", Version = "", EntryPoint = "glInstrumentsBufferSGIX")] - public static - unsafe void InstrumentsBuffer(Int32 size, [OutAttribute] Int32* buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInstrumentsBufferSGIX((Int32)size, (Int32*)buffer); - #if DEBUG - } - #endif - } + public static extern unsafe void InstrumentsBuffer(Int32 size, [OutAttribute] Int32* buffer); /// [requires: SGIX_async] [AutoGenerated(Category = "SGIX_async", Version = "", EntryPoint = "glIsAsyncMarkerSGIX")] - public static - bool IsAsyncMarker(Int32 marker) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsAsyncMarkerSGIX((UInt32)marker); - #if DEBUG - } - #endif - } + public static extern bool IsAsyncMarker(Int32 marker); /// [requires: SGIX_async] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_async", Version = "", EntryPoint = "glIsAsyncMarkerSGIX")] - public static - bool IsAsyncMarker(UInt32 marker) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsAsyncMarkerSGIX((UInt32)marker); - #if DEBUG - } - #endif - } + public static extern bool IsAsyncMarker(UInt32 marker); /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glLightEnviSGIX")] - public static - void LightEnv(OpenTK.Graphics.OpenGL.LightEnvParameterSgix pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightEnviSGIX((OpenTK.Graphics.OpenGL.LightEnvParameterSgix)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void LightEnv(OpenTK.Graphics.OpenGL.LightEnvParameterSgix pname, Int32 param); /// [requires: SGIX_fragment_lighting] [Obsolete("Use LightEnvParameterSgix overload instead")] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glLightEnviSGIX")] - public static - void LightEnv(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightEnviSGIX((OpenTK.Graphics.OpenGL.LightEnvParameterSgix)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void LightEnv(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param); /// [requires: SGIX_list_priority] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glListParameterfSGIX")] - public static - void ListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glListParameterfSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void ListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single param); /// [requires: SGIX_list_priority] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glListParameterfSGIX")] - public static - void ListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glListParameterfSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void ListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single param); /// [requires: SGIX_list_priority] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glListParameterfvSGIX")] - public static - void ListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single[] @params); /// [requires: SGIX_list_priority] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glListParameterfvSGIX")] - public static - unsafe void ListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single* @params); /// [requires: SGIX_list_priority] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glListParameterfvSGIX")] - public static - void ListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single[] @params); /// [requires: SGIX_list_priority] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glListParameterfvSGIX")] - public static - unsafe void ListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single* @params); /// [requires: SGIX_list_priority] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glListParameteriSGIX")] - public static - void ListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glListParameteriSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void ListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32 param); /// [requires: SGIX_list_priority] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glListParameteriSGIX")] - public static - void ListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glListParameteriSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void ListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32 param); /// [requires: SGIX_list_priority] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glListParameterivSGIX")] - public static - void ListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glListParameterivSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32[] @params); /// [requires: SGIX_list_priority] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glListParameterivSGIX")] - public static - unsafe void ListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glListParameterivSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ListParameter(Int32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32* @params); /// [requires: SGIX_list_priority] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glListParameterivSGIX")] - public static - void ListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glListParameterivSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32[] @params); /// [requires: SGIX_list_priority] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glListParameterivSGIX")] - public static - unsafe void ListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glListParameterivSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ListParameter(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32* @params); /// [requires: SGIX_polynomial_ffd] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glLoadIdentityDeformationMapSGIX")] - public static - void LoadIdentityDeformationMap(OpenTK.Graphics.OpenGL.FfdMaskSgix mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadIdentityDeformationMapSGIX((OpenTK.Graphics.OpenGL.FfdMaskSgix)mask); - #if DEBUG - } - #endif - } + public static extern void LoadIdentityDeformationMap(OpenTK.Graphics.OpenGL.FfdMaskSgix mask); /// [requires: SGIX_polynomial_ffd] [Obsolete("Use FfdMaskSgix overload instead")] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glLoadIdentityDeformationMapSGIX")] - public static - void LoadIdentityDeformationMap(Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadIdentityDeformationMapSGIX((OpenTK.Graphics.OpenGL.FfdMaskSgix)mask); - #if DEBUG - } - #endif - } + public static extern void LoadIdentityDeformationMap(Int32 mask); /// [requires: SGIX_polynomial_ffd] [Obsolete("Use FfdMaskSgix overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glLoadIdentityDeformationMapSGIX")] - public static - void LoadIdentityDeformationMap(UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadIdentityDeformationMapSGIX((OpenTK.Graphics.OpenGL.FfdMaskSgix)mask); - #if DEBUG - } - #endif - } + public static extern void LoadIdentityDeformationMap(UInt32 mask); /// [requires: SGIX_pixel_texture] [AutoGenerated(Category = "SGIX_pixel_texture", Version = "", EntryPoint = "glPixelTexGenSGIX")] - public static - void PixelTexGen(OpenTK.Graphics.OpenGL.SgixPixelTexture mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelTexGenSGIX((OpenTK.Graphics.OpenGL.SgixPixelTexture)mode); - #if DEBUG - } - #endif - } + public static extern void PixelTexGen(OpenTK.Graphics.OpenGL.SgixPixelTexture mode); /// [requires: SGIX_async] [AutoGenerated(Category = "SGIX_async", Version = "", EntryPoint = "glPollAsyncSGIX")] - public static - Int32 PollAsync([OutAttribute] out Int32 markerp) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* markerp_ptr = &markerp) - { - Int32 retval = Delegates.glPollAsyncSGIX((UInt32*)markerp_ptr); - markerp = *markerp_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 PollAsync([OutAttribute] out Int32 markerp); /// [requires: SGIX_async] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_async", Version = "", EntryPoint = "glPollAsyncSGIX")] - public static - unsafe Int32 PollAsync([OutAttribute] Int32* markerp) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glPollAsyncSGIX((UInt32*)markerp); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 PollAsync([OutAttribute] Int32* markerp); /// [requires: SGIX_async] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_async", Version = "", EntryPoint = "glPollAsyncSGIX")] - public static - Int32 PollAsync([OutAttribute] out UInt32 markerp) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* markerp_ptr = &markerp) - { - Int32 retval = Delegates.glPollAsyncSGIX((UInt32*)markerp_ptr); - markerp = *markerp_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 PollAsync([OutAttribute] out UInt32 markerp); /// [requires: SGIX_async] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_async", Version = "", EntryPoint = "glPollAsyncSGIX")] - public static - unsafe Int32 PollAsync([OutAttribute] UInt32* markerp) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glPollAsyncSGIX((UInt32*)markerp); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 PollAsync([OutAttribute] UInt32* markerp); /// [requires: SGIX_instruments] [AutoGenerated(Category = "SGIX_instruments", Version = "", EntryPoint = "glPollInstrumentsSGIX")] - public static - Int32 PollInstruments([OutAttribute] out Int32 marker_p) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* marker_p_ptr = &marker_p) - { - Int32 retval = Delegates.glPollInstrumentsSGIX((Int32*)marker_p_ptr); - marker_p = *marker_p_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 PollInstruments([OutAttribute] out Int32 marker_p); /// [requires: SGIX_instruments] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_instruments", Version = "", EntryPoint = "glPollInstrumentsSGIX")] - public static - unsafe Int32 PollInstruments([OutAttribute] Int32* marker_p) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glPollInstrumentsSGIX((Int32*)marker_p); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 PollInstruments([OutAttribute] Int32* marker_p); /// [requires: SGIX_instruments] [AutoGenerated(Category = "SGIX_instruments", Version = "", EntryPoint = "glReadInstrumentsSGIX")] - public static - void ReadInstruments(Int32 marker) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReadInstrumentsSGIX((Int32)marker); - #if DEBUG - } - #endif - } + public static extern void ReadInstruments(Int32 marker); /// [requires: SGIX_reference_plane] [AutoGenerated(Category = "SGIX_reference_plane", Version = "", EntryPoint = "glReferencePlaneSGIX")] - public static - void ReferencePlane(Double[] equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* equation_ptr = equation) - { - Delegates.glReferencePlaneSGIX((Double*)equation_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReferencePlane(Double[] equation); /// [requires: SGIX_reference_plane] [AutoGenerated(Category = "SGIX_reference_plane", Version = "", EntryPoint = "glReferencePlaneSGIX")] - public static - void ReferencePlane(ref Double equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* equation_ptr = &equation) - { - Delegates.glReferencePlaneSGIX((Double*)equation_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReferencePlane(ref Double equation); /// [requires: SGIX_reference_plane] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_reference_plane", Version = "", EntryPoint = "glReferencePlaneSGIX")] - public static - unsafe void ReferencePlane(Double* equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReferencePlaneSGIX((Double*)equation); - #if DEBUG - } - #endif - } + public static extern unsafe void ReferencePlane(Double* equation); /// [requires: SGIX_sprite] [AutoGenerated(Category = "SGIX_sprite", Version = "", EntryPoint = "glSpriteParameterfSGIX")] - public static - void SpriteParameter(OpenTK.Graphics.OpenGL.SgixSprite pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSpriteParameterfSGIX((OpenTK.Graphics.OpenGL.SgixSprite)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void SpriteParameter(OpenTK.Graphics.OpenGL.SgixSprite pname, Single param); /// [requires: SGIX_sprite] [AutoGenerated(Category = "SGIX_sprite", Version = "", EntryPoint = "glSpriteParameterfvSGIX")] - public static - void SpriteParameter(OpenTK.Graphics.OpenGL.SgixSprite pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glSpriteParameterfvSGIX((OpenTK.Graphics.OpenGL.SgixSprite)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SpriteParameter(OpenTK.Graphics.OpenGL.SgixSprite pname, Single[] @params); /// [requires: SGIX_sprite] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_sprite", Version = "", EntryPoint = "glSpriteParameterfvSGIX")] - public static - unsafe void SpriteParameter(OpenTK.Graphics.OpenGL.SgixSprite pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSpriteParameterfvSGIX((OpenTK.Graphics.OpenGL.SgixSprite)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void SpriteParameter(OpenTK.Graphics.OpenGL.SgixSprite pname, Single* @params); /// [requires: SGIX_sprite] [AutoGenerated(Category = "SGIX_sprite", Version = "", EntryPoint = "glSpriteParameteriSGIX")] - public static - void SpriteParameter(OpenTK.Graphics.OpenGL.SgixSprite pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSpriteParameteriSGIX((OpenTK.Graphics.OpenGL.SgixSprite)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void SpriteParameter(OpenTK.Graphics.OpenGL.SgixSprite pname, Int32 param); /// [requires: SGIX_sprite] [AutoGenerated(Category = "SGIX_sprite", Version = "", EntryPoint = "glSpriteParameterivSGIX")] - public static - void SpriteParameter(OpenTK.Graphics.OpenGL.SgixSprite pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glSpriteParameterivSGIX((OpenTK.Graphics.OpenGL.SgixSprite)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SpriteParameter(OpenTK.Graphics.OpenGL.SgixSprite pname, Int32[] @params); /// [requires: SGIX_sprite] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_sprite", Version = "", EntryPoint = "glSpriteParameterivSGIX")] - public static - unsafe void SpriteParameter(OpenTK.Graphics.OpenGL.SgixSprite pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSpriteParameterivSGIX((OpenTK.Graphics.OpenGL.SgixSprite)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void SpriteParameter(OpenTK.Graphics.OpenGL.SgixSprite pname, Int32* @params); /// [requires: SGIX_instruments] [AutoGenerated(Category = "SGIX_instruments", Version = "", EntryPoint = "glStartInstrumentsSGIX")] - public static - void StartInstruments() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStartInstrumentsSGIX(); - #if DEBUG - } - #endif - } + public static extern void StartInstruments(); /// [requires: SGIX_instruments] [AutoGenerated(Category = "SGIX_instruments", Version = "", EntryPoint = "glStopInstrumentsSGIX")] - public static - void StopInstruments(Int32 marker) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStopInstrumentsSGIX((Int32)marker); - #if DEBUG - } - #endif - } + public static extern void StopInstruments(Int32 marker); /// [requires: SGIX_tag_sample_buffer] [AutoGenerated(Category = "SGIX_tag_sample_buffer", Version = "", EntryPoint = "glTagSampleBufferSGIX")] - public static - void TagSampleBuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTagSampleBufferSGIX(); - #if DEBUG - } - #endif - } + public static extern void TagSampleBuffer(); } @@ -257045,2732 +131468,648 @@ namespace OpenTK.Graphics.OpenGL { /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glColor3fVertex3fSUN")] - public static - void Color3fVertex3(Single r, Single g, Single b, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3fVertex3fSUN((Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void Color3fVertex3(Single r, Single g, Single b, Single x, Single y, Single z); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glColor3fVertex3fvSUN")] - public static - void Color3fVertex3(Single[] c, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* c_ptr = c) - fixed (Single* v_ptr = v) - { - Delegates.glColor3fVertex3fvSUN((Single*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color3fVertex3(Single[] c, Single[] v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glColor3fVertex3fvSUN")] - public static - void Color3fVertex3(ref Single c, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* c_ptr = &c) - fixed (Single* v_ptr = &v) - { - Delegates.glColor3fVertex3fvSUN((Single*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color3fVertex3(ref Single c, ref Single v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glColor3fVertex3fvSUN")] - public static - unsafe void Color3fVertex3(Single* c, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3fVertex3fvSUN((Single*)c, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Color3fVertex3(Single* c, Single* v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glColor4fNormal3fVertex3fSUN")] - public static - void Color4fNormal3fVertex3(Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4fNormal3fVertex3fSUN((Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void Color4fNormal3fVertex3(Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glColor4fNormal3fVertex3fvSUN")] - public static - void Color4fNormal3fVertex3(Single[] c, Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* c_ptr = c) - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color4fNormal3fVertex3(Single[] c, Single[] n, Single[] v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glColor4fNormal3fVertex3fvSUN")] - public static - void Color4fNormal3fVertex3(ref Single c, ref Single n, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* c_ptr = &c) - fixed (Single* n_ptr = &n) - fixed (Single* v_ptr = &v) - { - Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color4fNormal3fVertex3(ref Single c, ref Single n, ref Single v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glColor4fNormal3fVertex3fvSUN")] - public static - unsafe void Color4fNormal3fVertex3(Single* c, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c, (Single*)n, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Color4fNormal3fVertex3(Single* c, Single* n, Single* v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glColor4ubVertex2fSUN")] - public static - void Color4ubVertex2(Byte r, Byte g, Byte b, Byte a, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4ubVertex2fSUN((Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y); - #if DEBUG - } - #endif - } + public static extern void Color4ubVertex2(Byte r, Byte g, Byte b, Byte a, Single x, Single y); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glColor4ubVertex2fvSUN")] - public static - void Color4ubVertex2(Byte[] c, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* c_ptr = c) - fixed (Single* v_ptr = v) - { - Delegates.glColor4ubVertex2fvSUN((Byte*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color4ubVertex2(Byte[] c, Single[] v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glColor4ubVertex2fvSUN")] - public static - void Color4ubVertex2(ref Byte c, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* c_ptr = &c) - fixed (Single* v_ptr = &v) - { - Delegates.glColor4ubVertex2fvSUN((Byte*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color4ubVertex2(ref Byte c, ref Single v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glColor4ubVertex2fvSUN")] - public static - unsafe void Color4ubVertex2(Byte* c, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4ubVertex2fvSUN((Byte*)c, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Color4ubVertex2(Byte* c, Single* v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glColor4ubVertex3fSUN")] - public static - void Color4ubVertex3(Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4ubVertex3fSUN((Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void Color4ubVertex3(Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glColor4ubVertex3fvSUN")] - public static - void Color4ubVertex3(Byte[] c, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* c_ptr = c) - fixed (Single* v_ptr = v) - { - Delegates.glColor4ubVertex3fvSUN((Byte*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color4ubVertex3(Byte[] c, Single[] v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glColor4ubVertex3fvSUN")] - public static - void Color4ubVertex3(ref Byte c, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* c_ptr = &c) - fixed (Single* v_ptr = &v) - { - Delegates.glColor4ubVertex3fvSUN((Byte*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Color4ubVertex3(ref Byte c, ref Single v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glColor4ubVertex3fvSUN")] - public static - unsafe void Color4ubVertex3(Byte* c, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4ubVertex3fvSUN((Byte*)c, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Color4ubVertex3(Byte* c, Single* v); /// [requires: SUN_mesh_array] [Obsolete("Use PrimitiveType overload instead")] [AutoGenerated(Category = "SUN_mesh_array", Version = "", EntryPoint = "glDrawMeshArraysSUN")] - public static - void DrawMeshArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawMeshArraysSUN((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)width); - #if DEBUG - } - #endif - } + public static extern void DrawMeshArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count, Int32 width); /// [requires: SUN_mesh_array] [AutoGenerated(Category = "SUN_mesh_array", Version = "", EntryPoint = "glDrawMeshArraysSUN")] - public static - void DrawMeshArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawMeshArraysSUN((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)width); - #if DEBUG - } - #endif - } + public static extern void DrawMeshArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 width); /// [requires: SUN_global_alpha] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_global_alpha", Version = "", EntryPoint = "glGlobalAlphaFactorbSUN")] - public static - void GlobalAlphaFactor(SByte factor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGlobalAlphaFactorbSUN((SByte)factor); - #if DEBUG - } - #endif - } + public static extern void GlobalAlphaFactor(SByte factor); /// [requires: SUN_global_alpha] [AutoGenerated(Category = "SUN_global_alpha", Version = "", EntryPoint = "glGlobalAlphaFactordSUN")] - public static - void GlobalAlphaFactor(Double factor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGlobalAlphaFactordSUN((Double)factor); - #if DEBUG - } - #endif - } + public static extern void GlobalAlphaFactor(Double factor); /// [requires: SUN_global_alpha] [AutoGenerated(Category = "SUN_global_alpha", Version = "", EntryPoint = "glGlobalAlphaFactorfSUN")] - public static - void GlobalAlphaFactor(Single factor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGlobalAlphaFactorfSUN((Single)factor); - #if DEBUG - } - #endif - } + public static extern void GlobalAlphaFactor(Single factor); /// [requires: SUN_global_alpha] [AutoGenerated(Category = "SUN_global_alpha", Version = "", EntryPoint = "glGlobalAlphaFactoriSUN")] - public static - void GlobalAlphaFactor(Int32 factor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGlobalAlphaFactoriSUN((Int32)factor); - #if DEBUG - } - #endif - } + public static extern void GlobalAlphaFactor(Int32 factor); /// [requires: SUN_global_alpha] [AutoGenerated(Category = "SUN_global_alpha", Version = "", EntryPoint = "glGlobalAlphaFactorsSUN")] - public static - void GlobalAlphaFactors(Int16 factor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGlobalAlphaFactorsSUN((Int16)factor); - #if DEBUG - } - #endif - } + public static extern void GlobalAlphaFactors(Int16 factor); /// [requires: SUN_global_alpha] [AutoGenerated(Category = "SUN_global_alpha", Version = "", EntryPoint = "glGlobalAlphaFactorubSUN")] - public static - void GlobalAlphaFactor(Byte factor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGlobalAlphaFactorubSUN((Byte)factor); - #if DEBUG - } - #endif - } + public static extern void GlobalAlphaFactor(Byte factor); /// [requires: SUN_global_alpha] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_global_alpha", Version = "", EntryPoint = "glGlobalAlphaFactoruiSUN")] - public static - void GlobalAlphaFactor(UInt32 factor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGlobalAlphaFactoruiSUN((UInt32)factor); - #if DEBUG - } - #endif - } + public static extern void GlobalAlphaFactor(UInt32 factor); /// [requires: SUN_global_alpha] [AutoGenerated(Category = "SUN_global_alpha", Version = "", EntryPoint = "glGlobalAlphaFactorusSUN")] - public static - void GlobalAlphaFactor(Int16 factor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGlobalAlphaFactorusSUN((UInt16)factor); - #if DEBUG - } - #endif - } + public static extern void GlobalAlphaFactor(Int16 factor); /// [requires: SUN_global_alpha] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_global_alpha", Version = "", EntryPoint = "glGlobalAlphaFactorusSUN")] - public static - void GlobalAlphaFactor(UInt16 factor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGlobalAlphaFactorusSUN((UInt16)factor); - #if DEBUG - } - #endif - } + public static extern void GlobalAlphaFactor(UInt16 factor); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glNormal3fVertex3fSUN")] - public static - void Normal3fVertex3(Single nx, Single ny, Single nz, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3fVertex3fSUN((Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void Normal3fVertex3(Single nx, Single ny, Single nz, Single x, Single y, Single z); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glNormal3fVertex3fvSUN")] - public static - void Normal3fVertex3(Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glNormal3fVertex3fvSUN((Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Normal3fVertex3(Single[] n, Single[] v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glNormal3fVertex3fvSUN")] - public static - void Normal3fVertex3(ref Single n, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* n_ptr = &n) - fixed (Single* v_ptr = &v) - { - Delegates.glNormal3fVertex3fvSUN((Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Normal3fVertex3(ref Single n, ref Single v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glNormal3fVertex3fvSUN")] - public static - unsafe void Normal3fVertex3(Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3fVertex3fvSUN((Single*)n, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void Normal3fVertex3(Single* n, Single* v); /// [requires: SUN_triangle_list] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodePointerSUN")] - public static - void ReplacementCodePointer(OpenTK.Graphics.OpenGL.SunTriangleList type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodePointerSUN((OpenTK.Graphics.OpenGL.SunTriangleList)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void ReplacementCodePointer(OpenTK.Graphics.OpenGL.SunTriangleList type, Int32 stride, IntPtr pointer); /// [requires: SUN_triangle_list] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodePointerSUN")] - public static - void ReplacementCodePointer(OpenTK.Graphics.OpenGL.SunTriangleList type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) + public static extern void ReplacementCodePointer(OpenTK.Graphics.OpenGL.SunTriangleList type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodePointerSUN((OpenTK.Graphics.OpenGL.SunTriangleList)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SUN_triangle_list] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodePointerSUN")] - public static - void ReplacementCodePointer(OpenTK.Graphics.OpenGL.SunTriangleList type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) + public static extern void ReplacementCodePointer(OpenTK.Graphics.OpenGL.SunTriangleList type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodePointerSUN((OpenTK.Graphics.OpenGL.SunTriangleList)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SUN_triangle_list] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodePointerSUN")] - public static - void ReplacementCodePointer(OpenTK.Graphics.OpenGL.SunTriangleList type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) + public static extern void ReplacementCodePointer(OpenTK.Graphics.OpenGL.SunTriangleList type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodePointerSUN((OpenTK.Graphics.OpenGL.SunTriangleList)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SUN_triangle_list] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodePointerSUN")] - public static - void ReplacementCodePointer(OpenTK.Graphics.OpenGL.SunTriangleList type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) + public static extern void ReplacementCodePointer(OpenTK.Graphics.OpenGL.SunTriangleList type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodePointerSUN((OpenTK.Graphics.OpenGL.SunTriangleList)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: SUN_triangle_list] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodeubSUN")] - public static - void ReplacementCode(Byte code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeubSUN((Byte)code); - #if DEBUG - } - #endif - } + public static extern void ReplacementCode(Byte code); /// [requires: SUN_triangle_list] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodeubvSUN")] - public static - void ReplacementCode(Byte[] code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* code_ptr = code) - { - Delegates.glReplacementCodeubvSUN((Byte*)code_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCode(Byte[] code); /// [requires: SUN_triangle_list] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodeubvSUN")] - public static - unsafe void ReplacementCode(Byte* code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeubvSUN((Byte*)code); - #if DEBUG - } - #endif - } + public static extern unsafe void ReplacementCode(Byte* code); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor3fVertex3fSUN")] - public static - void ReplacementCodeuiColor3fVertex3(Int32 rc, Single r, Single g, Single b, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiColor3fVertex3fSUN((UInt32)rc, (Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiColor3fVertex3(Int32 rc, Single r, Single g, Single b, Single x, Single y, Single z); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor3fVertex3fSUN")] - public static - void ReplacementCodeuiColor3fVertex3(UInt32 rc, Single r, Single g, Single b, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiColor3fVertex3fSUN((UInt32)rc, (Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiColor3fVertex3(UInt32 rc, Single r, Single g, Single b, Single x, Single y, Single z); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] - public static - void ReplacementCodeuiColor3fVertex3(ref Int32 rc, Single[] c, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* rc_ptr = &rc) - fixed (Single* c_ptr = c) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiColor3fVertex3(ref Int32 rc, Single[] c, Single[] v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] - public static - void ReplacementCodeuiColor3fVertex3(ref Int32 rc, ref Single c, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* rc_ptr = &rc) - fixed (Single* c_ptr = &c) - fixed (Single* v_ptr = &v) - { - Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiColor3fVertex3(ref Int32 rc, ref Single c, ref Single v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiColor3fVertex3(Int32* rc, Single* c, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ReplacementCodeuiColor3fVertex3(Int32* rc, Single* c, Single* v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] - public static - void ReplacementCodeuiColor3fVertex3(ref UInt32 rc, Single[] c, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* rc_ptr = &rc) - fixed (Single* c_ptr = c) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiColor3fVertex3(ref UInt32 rc, Single[] c, Single[] v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] - public static - void ReplacementCodeuiColor3fVertex3(ref UInt32 rc, ref Single c, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* rc_ptr = &rc) - fixed (Single* c_ptr = &c) - fixed (Single* v_ptr = &v) - { - Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiColor3fVertex3(ref UInt32 rc, ref Single c, ref Single v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiColor3fVertex3(UInt32* rc, Single* c, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ReplacementCodeuiColor3fVertex3(UInt32* rc, Single* c, Single* v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fSUN")] - public static - void ReplacementCodeuiColor4fNormal3fVertex3(Int32 rc, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fSUN((UInt32)rc, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiColor4fNormal3fVertex3(Int32 rc, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fSUN")] - public static - void ReplacementCodeuiColor4fNormal3fVertex3(UInt32 rc, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fSUN((UInt32)rc, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiColor4fNormal3fVertex3(UInt32 rc, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] - public static - void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, Single[] c, Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* rc_ptr = &rc) - fixed (Single* c_ptr = c) - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, Single[] c, Single[] n, Single[] v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] - public static - void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, ref Single c, ref Single n, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* rc_ptr = &rc) - fixed (Single* c_ptr = &c) - fixed (Single* n_ptr = &n) - fixed (Single* v_ptr = &v) - { - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, ref Single c, ref Single n, ref Single v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single* c, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single* c, Single* n, Single* v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] - public static - void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, Single[] c, Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* rc_ptr = &rc) - fixed (Single* c_ptr = c) - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, Single[] c, Single[] n, Single[] v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] - public static - void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, ref Single c, ref Single n, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* rc_ptr = &rc) - fixed (Single* c_ptr = &c) - fixed (Single* n_ptr = &n) - fixed (Single* v_ptr = &v) - { - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, ref Single c, ref Single n, ref Single v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single* c, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single* c, Single* n, Single* v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor4ubVertex3fSUN")] - public static - void ReplacementCodeuiColor4ubVertex3(Int32 rc, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiColor4ubVertex3fSUN((UInt32)rc, (Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiColor4ubVertex3(Int32 rc, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor4ubVertex3fSUN")] - public static - void ReplacementCodeuiColor4ubVertex3(UInt32 rc, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiColor4ubVertex3fSUN((UInt32)rc, (Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiColor4ubVertex3(UInt32 rc, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] - public static - void ReplacementCodeuiColor4ubVertex3(ref Int32 rc, Byte[] c, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* rc_ptr = &rc) - fixed (Byte* c_ptr = c) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiColor4ubVertex3(ref Int32 rc, Byte[] c, Single[] v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] - public static - void ReplacementCodeuiColor4ubVertex3(ref Int32 rc, ref Byte c, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* rc_ptr = &rc) - fixed (Byte* c_ptr = &c) - fixed (Single* v_ptr = &v) - { - Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiColor4ubVertex3(ref Int32 rc, ref Byte c, ref Single v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiColor4ubVertex3(Int32* rc, Byte* c, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ReplacementCodeuiColor4ubVertex3(Int32* rc, Byte* c, Single* v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] - public static - void ReplacementCodeuiColor4ubVertex3(ref UInt32 rc, Byte[] c, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* rc_ptr = &rc) - fixed (Byte* c_ptr = c) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiColor4ubVertex3(ref UInt32 rc, Byte[] c, Single[] v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] - public static - void ReplacementCodeuiColor4ubVertex3(ref UInt32 rc, ref Byte c, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* rc_ptr = &rc) - fixed (Byte* c_ptr = &c) - fixed (Single* v_ptr = &v) - { - Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiColor4ubVertex3(ref UInt32 rc, ref Byte c, ref Single v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiColor4ubVertex3(UInt32* rc, Byte* c, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ReplacementCodeuiColor4ubVertex3(UInt32* rc, Byte* c, Single* v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiNormal3fVertex3fSUN")] - public static - void ReplacementCodeuiNormal3fVertex3(Int32 rc, Single nx, Single ny, Single nz, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiNormal3fVertex3fSUN((UInt32)rc, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiNormal3fVertex3(Int32 rc, Single nx, Single ny, Single nz, Single x, Single y, Single z); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiNormal3fVertex3fSUN")] - public static - void ReplacementCodeuiNormal3fVertex3(UInt32 rc, Single nx, Single ny, Single nz, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiNormal3fVertex3fSUN((UInt32)rc, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiNormal3fVertex3(UInt32 rc, Single nx, Single ny, Single nz, Single x, Single y, Single z); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] - public static - void ReplacementCodeuiNormal3fVertex3(ref Int32 rc, Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* rc_ptr = &rc) - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiNormal3fVertex3(ref Int32 rc, Single[] n, Single[] v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] - public static - void ReplacementCodeuiNormal3fVertex3(ref Int32 rc, ref Single n, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* rc_ptr = &rc) - fixed (Single* n_ptr = &n) - fixed (Single* v_ptr = &v) - { - Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiNormal3fVertex3(ref Int32 rc, ref Single n, ref Single v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiNormal3fVertex3(Int32* rc, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ReplacementCodeuiNormal3fVertex3(Int32* rc, Single* n, Single* v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] - public static - void ReplacementCodeuiNormal3fVertex3(ref UInt32 rc, Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* rc_ptr = &rc) - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiNormal3fVertex3(ref UInt32 rc, Single[] n, Single[] v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] - public static - void ReplacementCodeuiNormal3fVertex3(ref UInt32 rc, ref Single n, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* rc_ptr = &rc) - fixed (Single* n_ptr = &n) - fixed (Single* v_ptr = &v) - { - Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiNormal3fVertex3(ref UInt32 rc, ref Single n, ref Single v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiNormal3fVertex3(UInt32* rc, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ReplacementCodeuiNormal3fVertex3(UInt32* rc, Single* n, Single* v); /// [requires: SUN_triangle_list] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodeuiSUN")] - public static - void ReplacementCode(Int32 code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiSUN((UInt32)code); - #if DEBUG - } - #endif - } + public static extern void ReplacementCode(Int32 code); /// [requires: SUN_triangle_list] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodeuiSUN")] - public static - void ReplacementCode(UInt32 code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiSUN((UInt32)code); - #if DEBUG - } - #endif - } + public static extern void ReplacementCode(UInt32 code); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN")] - public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32 rc, Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32 rc, Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN")] - public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32 rc, Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32 rc, Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] - public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single[] tc, Single[] c, Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* rc_ptr = &rc) - fixed (Single* tc_ptr = tc) - fixed (Single* c_ptr = c) - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single[] tc, Single[] c, Single[] n, Single[] v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] - public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, ref Single c, ref Single n, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* rc_ptr = &rc) - fixed (Single* tc_ptr = &tc) - fixed (Single* c_ptr = &c) - fixed (Single* n_ptr = &n) - fixed (Single* v_ptr = &v) - { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, ref Single c, ref Single n, ref Single v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, Single* c, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, Single* c, Single* n, Single* v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] - public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single[] tc, Single[] c, Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* rc_ptr = &rc) - fixed (Single* tc_ptr = tc) - fixed (Single* c_ptr = c) - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single[] tc, Single[] c, Single[] n, Single[] v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] - public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, ref Single c, ref Single n, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* rc_ptr = &rc) - fixed (Single* tc_ptr = &tc) - fixed (Single* c_ptr = &c) - fixed (Single* n_ptr = &n) - fixed (Single* v_ptr = &v) - { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, ref Single c, ref Single n, ref Single v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, Single* c, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, Single* c, Single* n, Single* v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN")] - public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32 rc, Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32 rc, Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN")] - public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32 rc, Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32 rc, Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] - public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, Single[] tc, Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* rc_ptr = &rc) - fixed (Single* tc_ptr = tc) - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, Single[] tc, Single[] n, Single[] v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] - public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, ref Single tc, ref Single n, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* rc_ptr = &rc) - fixed (Single* tc_ptr = &tc) - fixed (Single* n_ptr = &n) - fixed (Single* v_ptr = &v) - { - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, ref Single tc, ref Single n, ref Single v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single* tc, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single* tc, Single* n, Single* v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] - public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, Single[] tc, Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* rc_ptr = &rc) - fixed (Single* tc_ptr = tc) - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, Single[] tc, Single[] n, Single[] v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] - public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, ref Single tc, ref Single n, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* rc_ptr = &rc) - fixed (Single* tc_ptr = &tc) - fixed (Single* n_ptr = &n) - fixed (Single* v_ptr = &v) - { - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, ref Single tc, ref Single n, ref Single v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, Single* tc, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, Single* tc, Single* n, Single* v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fSUN")] - public static - void ReplacementCodeuiTexCoord2fVertex3(Int32 rc, Single s, Single t, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiTexCoord2fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiTexCoord2fVertex3(Int32 rc, Single s, Single t, Single x, Single y, Single z); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fSUN")] - public static - void ReplacementCodeuiTexCoord2fVertex3(UInt32 rc, Single s, Single t, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiTexCoord2fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiTexCoord2fVertex3(UInt32 rc, Single s, Single t, Single x, Single y, Single z); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] - public static - void ReplacementCodeuiTexCoord2fVertex3(ref Int32 rc, Single[] tc, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* rc_ptr = &rc) - fixed (Single* tc_ptr = tc) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiTexCoord2fVertex3(ref Int32 rc, Single[] tc, Single[] v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] - public static - void ReplacementCodeuiTexCoord2fVertex3(ref Int32 rc, ref Single tc, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* rc_ptr = &rc) - fixed (Single* tc_ptr = &tc) - fixed (Single* v_ptr = &v) - { - Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiTexCoord2fVertex3(ref Int32 rc, ref Single tc, ref Single v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32* rc, Single* tc, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32* rc, Single* tc, Single* v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] - public static - void ReplacementCodeuiTexCoord2fVertex3(ref UInt32 rc, Single[] tc, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* rc_ptr = &rc) - fixed (Single* tc_ptr = tc) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiTexCoord2fVertex3(ref UInt32 rc, Single[] tc, Single[] v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] - public static - void ReplacementCodeuiTexCoord2fVertex3(ref UInt32 rc, ref Single tc, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* rc_ptr = &rc) - fixed (Single* tc_ptr = &tc) - fixed (Single* v_ptr = &v) - { - Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiTexCoord2fVertex3(ref UInt32 rc, ref Single tc, ref Single v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiTexCoord2fVertex3(UInt32* rc, Single* tc, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ReplacementCodeuiTexCoord2fVertex3(UInt32* rc, Single* tc, Single* v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiVertex3fSUN")] - public static - void ReplacementCodeuiVertex3(Int32 rc, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiVertex3fSUN((UInt32)rc, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiVertex3(Int32 rc, Single x, Single y, Single z); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiVertex3fSUN")] - public static - void ReplacementCodeuiVertex3(UInt32 rc, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiVertex3fSUN((UInt32)rc, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiVertex3(UInt32 rc, Single x, Single y, Single z); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] - public static - void ReplacementCodeuiVertex3(ref Int32 rc, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* rc_ptr = &rc) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiVertex3(ref Int32 rc, Single[] v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] - public static - void ReplacementCodeuiVertex3(ref Int32 rc, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* rc_ptr = &rc) - fixed (Single* v_ptr = &v) - { - Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiVertex3(ref Int32 rc, ref Single v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiVertex3(Int32* rc, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ReplacementCodeuiVertex3(Int32* rc, Single* v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] - public static - void ReplacementCodeuiVertex3(ref UInt32 rc, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* rc_ptr = &rc) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiVertex3(ref UInt32 rc, Single[] v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] - public static - void ReplacementCodeuiVertex3(ref UInt32 rc, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* rc_ptr = &rc) - fixed (Single* v_ptr = &v) - { - Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCodeuiVertex3(ref UInt32 rc, ref Single v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiVertex3(UInt32* rc, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ReplacementCodeuiVertex3(UInt32* rc, Single* v); /// [requires: SUN_triangle_list] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodeuivSUN")] - public static - void ReplacementCode(Int32[] code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* code_ptr = code) - { - Delegates.glReplacementCodeuivSUN((UInt32*)code_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCode(Int32[] code); /// [requires: SUN_triangle_list] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodeuivSUN")] - public static - unsafe void ReplacementCode(Int32* code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuivSUN((UInt32*)code); - #if DEBUG - } - #endif - } + public static extern unsafe void ReplacementCode(Int32* code); /// [requires: SUN_triangle_list] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodeuivSUN")] - public static - void ReplacementCode(UInt32[] code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* code_ptr = code) - { - Delegates.glReplacementCodeuivSUN((UInt32*)code_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCode(UInt32[] code); /// [requires: SUN_triangle_list] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodeuivSUN")] - public static - unsafe void ReplacementCode(UInt32* code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuivSUN((UInt32*)code); - #if DEBUG - } - #endif - } + public static extern unsafe void ReplacementCode(UInt32* code); /// [requires: SUN_triangle_list] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodeusSUN")] - public static - void ReplacementCode(Int16 code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeusSUN((UInt16)code); - #if DEBUG - } - #endif - } + public static extern void ReplacementCode(Int16 code); /// [requires: SUN_triangle_list] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodeusSUN")] - public static - void ReplacementCode(UInt16 code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeusSUN((UInt16)code); - #if DEBUG - } - #endif - } + public static extern void ReplacementCode(UInt16 code); /// [requires: SUN_triangle_list] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodeusvSUN")] - public static - void ReplacementCode(Int16[] code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* code_ptr = code) - { - Delegates.glReplacementCodeusvSUN((UInt16*)code_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCode(Int16[] code); /// [requires: SUN_triangle_list] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodeusvSUN")] - public static - unsafe void ReplacementCode(Int16* code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeusvSUN((UInt16*)code); - #if DEBUG - } - #endif - } + public static extern unsafe void ReplacementCode(Int16* code); /// [requires: SUN_triangle_list] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodeusvSUN")] - public static - void ReplacementCode(UInt16[] code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* code_ptr = code) - { - Delegates.glReplacementCodeusvSUN((UInt16*)code_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ReplacementCode(UInt16[] code); /// [requires: SUN_triangle_list] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_triangle_list", Version = "", EntryPoint = "glReplacementCodeusvSUN")] - public static - unsafe void ReplacementCode(UInt16* code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeusvSUN((UInt16*)code); - #if DEBUG - } - #endif - } + public static extern unsafe void ReplacementCode(UInt16* code); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fColor3fVertex3fSUN")] - public static - void TexCoord2fColor3fVertex3(Single s, Single t, Single r, Single g, Single b, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2fColor3fVertex3fSUN((Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void TexCoord2fColor3fVertex3(Single s, Single t, Single r, Single g, Single b, Single x, Single y, Single z); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fColor3fVertex3fvSUN")] - public static - void TexCoord2fColor3fVertex3(Single[] tc, Single[] c, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* tc_ptr = tc) - fixed (Single* c_ptr = c) - fixed (Single* v_ptr = v) - { - Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord2fColor3fVertex3(Single[] tc, Single[] c, Single[] v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fColor3fVertex3fvSUN")] - public static - void TexCoord2fColor3fVertex3(ref Single tc, ref Single c, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* tc_ptr = &tc) - fixed (Single* c_ptr = &c) - fixed (Single* v_ptr = &v) - { - Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord2fColor3fVertex3(ref Single tc, ref Single c, ref Single v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fColor3fVertex3fvSUN")] - public static - unsafe void TexCoord2fColor3fVertex3(Single* tc, Single* c, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord2fColor3fVertex3(Single* tc, Single* c, Single* v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fColor4fNormal3fVertex3fSUN")] - public static - void TexCoord2fColor4fNormal3fVertex3(Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2fColor4fNormal3fVertex3fSUN((Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void TexCoord2fColor4fNormal3fVertex3(Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fColor4fNormal3fVertex3fvSUN")] - public static - void TexCoord2fColor4fNormal3fVertex3(Single[] tc, Single[] c, Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* tc_ptr = tc) - fixed (Single* c_ptr = c) - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord2fColor4fNormal3fVertex3(Single[] tc, Single[] c, Single[] n, Single[] v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fColor4fNormal3fVertex3fvSUN")] - public static - void TexCoord2fColor4fNormal3fVertex3(ref Single tc, ref Single c, ref Single n, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* tc_ptr = &tc) - fixed (Single* c_ptr = &c) - fixed (Single* n_ptr = &n) - fixed (Single* v_ptr = &v) - { - Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord2fColor4fNormal3fVertex3(ref Single tc, ref Single c, ref Single n, ref Single v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fColor4fNormal3fVertex3fvSUN")] - public static - unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, Single* c, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)n, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, Single* c, Single* n, Single* v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fColor4ubVertex3fSUN")] - public static - void TexCoord2fColor4ubVertex3(Single s, Single t, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2fColor4ubVertex3fSUN((Single)s, (Single)t, (Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void TexCoord2fColor4ubVertex3(Single s, Single t, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fColor4ubVertex3fvSUN")] - public static - void TexCoord2fColor4ubVertex3(Single[] tc, Byte[] c, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* tc_ptr = tc) - fixed (Byte* c_ptr = c) - fixed (Single* v_ptr = v) - { - Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord2fColor4ubVertex3(Single[] tc, Byte[] c, Single[] v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fColor4ubVertex3fvSUN")] - public static - void TexCoord2fColor4ubVertex3(ref Single tc, ref Byte c, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* tc_ptr = &tc) - fixed (Byte* c_ptr = &c) - fixed (Single* v_ptr = &v) - { - Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord2fColor4ubVertex3(ref Single tc, ref Byte c, ref Single v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fColor4ubVertex3fvSUN")] - public static - unsafe void TexCoord2fColor4ubVertex3(Single* tc, Byte* c, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc, (Byte*)c, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord2fColor4ubVertex3(Single* tc, Byte* c, Single* v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fNormal3fVertex3fSUN")] - public static - void TexCoord2fNormal3fVertex3(Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2fNormal3fVertex3fSUN((Single)s, (Single)t, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void TexCoord2fNormal3fVertex3(Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fNormal3fVertex3fvSUN")] - public static - void TexCoord2fNormal3fVertex3(Single[] tc, Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* tc_ptr = tc) - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord2fNormal3fVertex3(Single[] tc, Single[] n, Single[] v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fNormal3fVertex3fvSUN")] - public static - void TexCoord2fNormal3fVertex3(ref Single tc, ref Single n, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* tc_ptr = &tc) - fixed (Single* n_ptr = &n) - fixed (Single* v_ptr = &v) - { - Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord2fNormal3fVertex3(ref Single tc, ref Single n, ref Single v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fNormal3fVertex3fvSUN")] - public static - unsafe void TexCoord2fNormal3fVertex3(Single* tc, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc, (Single*)n, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord2fNormal3fVertex3(Single* tc, Single* n, Single* v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fVertex3fSUN")] - public static - void TexCoord2fVertex3(Single s, Single t, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2fVertex3fSUN((Single)s, (Single)t, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void TexCoord2fVertex3(Single s, Single t, Single x, Single y, Single z); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fVertex3fvSUN")] - public static - void TexCoord2fVertex3(Single[] tc, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* tc_ptr = tc) - fixed (Single* v_ptr = v) - { - Delegates.glTexCoord2fVertex3fvSUN((Single*)tc_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord2fVertex3(Single[] tc, Single[] v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fVertex3fvSUN")] - public static - void TexCoord2fVertex3(ref Single tc, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* tc_ptr = &tc) - fixed (Single* v_ptr = &v) - { - Delegates.glTexCoord2fVertex3fvSUN((Single*)tc_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord2fVertex3(ref Single tc, ref Single v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord2fVertex3fvSUN")] - public static - unsafe void TexCoord2fVertex3(Single* tc, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2fVertex3fvSUN((Single*)tc, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord2fVertex3(Single* tc, Single* v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fSUN")] - public static - void TexCoord4fColor4fNormal3fVertex4(Single s, Single t, Single p, Single q, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4fColor4fNormal3fVertex4fSUN((Single)s, (Single)t, (Single)p, (Single)q, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } + public static extern void TexCoord4fColor4fNormal3fVertex4(Single s, Single t, Single p, Single q, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z, Single w); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fvSUN")] - public static - void TexCoord4fColor4fNormal3fVertex4(Single[] tc, Single[] c, Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* tc_ptr = tc) - fixed (Single* c_ptr = c) - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord4fColor4fNormal3fVertex4(Single[] tc, Single[] c, Single[] n, Single[] v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fvSUN")] - public static - void TexCoord4fColor4fNormal3fVertex4(ref Single tc, ref Single c, ref Single n, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* tc_ptr = &tc) - fixed (Single* c_ptr = &c) - fixed (Single* n_ptr = &n) - fixed (Single* v_ptr = &v) - { - Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord4fColor4fNormal3fVertex4(ref Single tc, ref Single c, ref Single n, ref Single v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fvSUN")] - public static - unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single* c, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c, (Single*)n, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single* c, Single* n, Single* v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord4fVertex4fSUN")] - public static - void TexCoord4fVertex4(Single s, Single t, Single p, Single q, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4fVertex4fSUN((Single)s, (Single)t, (Single)p, (Single)q, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } + public static extern void TexCoord4fVertex4(Single s, Single t, Single p, Single q, Single x, Single y, Single z, Single w); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord4fVertex4fvSUN")] - public static - void TexCoord4fVertex4(Single[] tc, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* tc_ptr = tc) - fixed (Single* v_ptr = v) - { - Delegates.glTexCoord4fVertex4fvSUN((Single*)tc_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord4fVertex4(Single[] tc, Single[] v); /// [requires: SUN_vertex] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord4fVertex4fvSUN")] - public static - void TexCoord4fVertex4(ref Single tc, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* tc_ptr = &tc) - fixed (Single* v_ptr = &v) - { - Delegates.glTexCoord4fVertex4fvSUN((Single*)tc_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexCoord4fVertex4(ref Single tc, ref Single v); /// [requires: SUN_vertex] [System.CLSCompliant(false)] [AutoGenerated(Category = "SUN_vertex", Version = "", EntryPoint = "glTexCoord4fVertex4fvSUN")] - public static - unsafe void TexCoord4fVertex4(Single* tc, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4fVertex4fvSUN((Single*)tc, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoord4fVertex4(Single* tc, Single* v); } @@ -259778,20 +132117,7953 @@ namespace OpenTK.Graphics.OpenGL { /// [requires: SUNX_constant_data] [AutoGenerated(Category = "SUNX_constant_data", Version = "", EntryPoint = "glFinishTextureSUNX")] - public static - void FinishTexture() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFinishTextureSUNX(); - #if DEBUG - } - #endif - } + public static extern void FinishTexture(); } + [Slot(1909)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTbufferMask3DFX(UInt32 mask); + [Slot(30)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBeginPerfMonitorAMD(UInt32 monitor); + [Slot(109)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendEquationIndexedAMD(UInt32 buf, System.Int32 mode); + [Slot(114)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendEquationSeparateIndexedAMD(UInt32 buf, System.Int32 modeRGB, System.Int32 modeAlpha); + [Slot(118)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendFuncIndexedAMD(UInt32 buf, System.Int32 src, System.Int32 dst); + [Slot(123)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendFuncSeparateIndexedAMD(UInt32 buf, System.Int32 srcRGB, System.Int32 dstRGB, System.Int32 srcAlpha, System.Int32 dstAlpha); + [Slot(345)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDebugMessageCallbackAMD(DebugProcAmd callback, [OutAttribute] IntPtr userParam); + [Slot(351)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDebugMessageEnableAMD(System.Int32 category, System.Int32 severity, Int32 count, UInt32* ids, bool enabled); + [Slot(353)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDebugMessageInsertAMD(System.Int32 category, System.Int32 severity, UInt32 id, Int32 length, IntPtr buf); + [Slot(369)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteNamesAMD(System.Int32 identifier, UInt32 num, UInt32* names); + [Slot(373)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeletePerfMonitorsAMD(Int32 n, UInt32* monitors); + [Slot(484)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEndPerfMonitorAMD(UInt32 monitor); + [Slot(605)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenNamesAMD(System.Int32 identifier, UInt32 num, [OutAttribute] UInt32* names); + [Slot(608)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenPerfMonitorsAMD(Int32 n, [OutAttribute] UInt32* monitors); + [Slot(685)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe Int32 glGetDebugMessageLogAMD(UInt32 count, Int32 bufsize, [OutAttribute] System.Int32* categories, [OutAttribute] UInt32* severities, [OutAttribute] UInt32* ids, [OutAttribute] Int32* lengths, [OutAttribute] IntPtr message); + [Slot(841)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPerfMonitorCounterDataAMD(UInt32 monitor, System.Int32 pname, Int32 dataSize, [OutAttribute] UInt32* data, [OutAttribute] Int32* bytesWritten); + [Slot(842)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, System.Int32 pname, [OutAttribute] IntPtr data); + [Slot(843)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPerfMonitorCountersAMD(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters); + [Slot(844)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPerfMonitorCounterStringAMD(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr counterString); + [Slot(845)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPerfMonitorGroupsAMD([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups); + [Slot(846)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr groupString); + [Slot(1080)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsNameAMD(System.Int32 identifier, UInt32 name); + [Slot(1225)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiDrawArraysIndirectAMD(System.Int32 mode, IntPtr indirect, Int32 primcount, Int32 stride); + [Slot(1233)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiDrawElementsIndirectAMD(System.Int32 mode, System.Int32 type, IntPtr indirect, Int32 primcount, Int32 stride); + [Slot(1704)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glQueryObjectParameteruiAMD(System.Int32 target, UInt32 id, System.Int32 pname, System.Int32 param); + [Slot(1856)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSelectPerfMonitorCountersAMD(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32* counterList); + [Slot(1864)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSetMultisamplefvAMD(System.Int32 pname, UInt32 index, Single* val); + [Slot(1890)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStencilOpValueAMD(System.Int32 face, UInt32 value); + [Slot(1910)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTessellationFactorAMD(Single factor); + [Slot(1911)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTessellationModeAMD(System.Int32 mode); + [Slot(2045)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexStorageSparseAMD(System.Int32 target, System.Int32 internalFormat, Int32 width, Int32 height, Int32 depth, Int32 layers, UInt32 flags); + [Slot(2081)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureStorageSparseAMD(UInt32 texture, System.Int32 target, System.Int32 internalFormat, Int32 width, Int32 height, Int32 depth, Int32 layers, UInt32 flags); + [Slot(2500)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribParameteriAMD(UInt32 index, System.Int32 pname, Int32 param); + [Slot(82)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindVertexArrayAPPLE(UInt32 array); + [Slot(131)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBufferParameteriAPPLE(System.Int32 target, System.Int32 pname, Int32 param); + [Slot(362)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteFencesAPPLE(Int32 n, UInt32* fences); + [Slot(391)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteVertexArraysAPPLE(Int32 n, UInt32* arrays); + [Slot(416)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDisableVertexAttribAPPLE(UInt32 index, System.Int32 pname); + [Slot(433)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawElementArrayAPPLE(System.Int32 mode, Int32 first, Int32 count); + [Slot(446)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawRangeElementArrayAPPLE(System.Int32 mode, UInt32 start, UInt32 end, Int32 first, Int32 count); + [Slot(463)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glElementPointerAPPLE(System.Int32 type, IntPtr pointer); + [Slot(474)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEnableVertexAttribAPPLE(UInt32 index, System.Int32 pname); + [Slot(518)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFinishFenceAPPLE(UInt32 fence); + [Slot(520)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFinishObjectAPPLE(System.Int32 @object, Int32 name); + [Slot(524)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFlushMappedBufferRangeAPPLE(System.Int32 target, IntPtr offset, IntPtr size); + [Slot(529)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFlushVertexArrayRangeAPPLE(Int32 length, [OutAttribute] IntPtr pointer); + [Slot(599)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenFencesAPPLE(Int32 n, [OutAttribute] UInt32* fences); + [Slot(624)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenVertexArraysAPPLE(Int32 n, [OutAttribute] UInt32* arrays); + [Slot(822)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetObjectParameterivAPPLE(System.Int32 objectType, UInt32 name, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(942)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetTexParameterPointervAPPLE(System.Int32 target, System.Int32 pname, [OutAttribute] IntPtr @params); + [Slot(1073)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsFenceAPPLE(UInt32 fence); + [Slot(1108)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsVertexArrayAPPLE(UInt32 array); + [Slot(1109)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsVertexAttribEnabledAPPLE(UInt32 index, System.Int32 pname); + [Slot(1182)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMapVertexAttrib1dAPPLE(UInt32 index, UInt32 size, Double u1, Double u2, Int32 stride, Int32 order, Double* points); + [Slot(1183)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMapVertexAttrib1fAPPLE(UInt32 index, UInt32 size, Single u1, Single u2, Int32 stride, Int32 order, Single* points); + [Slot(1184)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMapVertexAttrib2dAPPLE(UInt32 index, UInt32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points); + [Slot(1185)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMapVertexAttrib2fAPPLE(UInt32 index, UInt32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points); + [Slot(1228)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiDrawElementArrayAPPLE(System.Int32 mode, Int32* first, Int32* count, Int32 primcount); + [Slot(1236)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiDrawRangeElementArrayAPPLE(System.Int32 mode, UInt32 start, UInt32 end, Int32* first, Int32* count, Int32 primcount); + [Slot(1435)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern System.Int32 glObjectPurgeableAPPLE(System.Int32 objectType, UInt32 name, System.Int32 option); + [Slot(1436)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern System.Int32 glObjectUnpurgeableAPPLE(System.Int32 objectType, UInt32 name, System.Int32 option); + [Slot(1859)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSetFenceAPPLE(UInt32 fence); + [Slot(1912)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glTestFenceAPPLE(UInt32 fence); + [Slot(1914)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glTestObjectAPPLE(System.Int32 @object, UInt32 name); + [Slot(2074)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureRangeAPPLE(System.Int32 target, Int32 length, IntPtr pointer); + [Slot(2283)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexArrayParameteriAPPLE(System.Int32 pname, Int32 param); + [Slot(2284)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexArrayRangeAPPLE(Int32 length, [OutAttribute] IntPtr pointer); + [Slot(7)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glActiveTextureARB(System.Int32 texture); + [Slot(22)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glAttachObjectARB(UInt32 containerObj, UInt32 obj); + [Slot(32)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBeginQueryARB(System.Int32 target, UInt32 id); + [Slot(40)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindAttribLocationARB(UInt32 programObj, UInt32 index, IntPtr name); + [Slot(42)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindBufferARB(System.Int32 target, UInt32 buffer); + [Slot(66)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindProgramARB(System.Int32 target, UInt32 program); + [Slot(108)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendEquationiARB(UInt32 buf, System.Int32 mode); + [Slot(113)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendEquationSeparateiARB(UInt32 buf, System.Int32 modeRGB, System.Int32 modeAlpha); + [Slot(117)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendFunciARB(UInt32 buf, System.Int32 src, System.Int32 dst); + [Slot(122)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendFuncSeparateiARB(UInt32 buf, System.Int32 srcRGB, System.Int32 dstRGB, System.Int32 srcAlpha, System.Int32 dstAlpha); + [Slot(130)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBufferDataARB(System.Int32 target, IntPtr size, IntPtr data, System.Int32 usage); + [Slot(134)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBufferSubDataARB(System.Int32 target, IntPtr offset, IntPtr size, IntPtr data); + [Slot(141)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClampColorARB(System.Int32 target, System.Int32 clamp); + [Slot(167)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClientActiveTextureARB(System.Int32 texture); + [Slot(255)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompileShaderARB(UInt32 shaderObj); + [Slot(256)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glCompileShaderIncludeARB(UInt32 shader, Int32 count, IntPtr path, Int32* length); + [Slot(264)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTexImage1DARB(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data); + [Slot(266)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTexImage2DARB(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); + [Slot(268)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTexImage3DARB(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); + [Slot(270)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTexSubImage1DARB(System.Int32 target, Int32 level, Int32 xoffset, Int32 width, System.Int32 format, Int32 imageSize, IntPtr data); + [Slot(272)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTexSubImage2DARB(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, System.Int32 format, Int32 imageSize, IntPtr data); + [Slot(274)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTexSubImage3DARB(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, System.Int32 format, Int32 imageSize, IntPtr data); + [Slot(333)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glCreateProgramObjectARB(); + [Slot(335)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glCreateShaderObjectARB(System.Int32 shaderType); + [Slot(339)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe IntPtr glCreateSyncFromCLeventARB([OutAttribute] IntPtr* context, [OutAttribute] IntPtr* @event, UInt32 flags); + [Slot(343)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCurrentPaletteMatrixARB(Int32 index); + [Slot(346)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDebugMessageCallbackARB(DebugProcArb callback, IntPtr userParam); + [Slot(349)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDebugMessageControlARB(System.Int32 source, System.Int32 type, System.Int32 severity, Int32 count, UInt32* ids, bool enabled); + [Slot(354)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDebugMessageInsertARB(System.Int32 source, System.Int32 type, UInt32 id, System.Int32 severity, Int32 length, IntPtr buf); + [Slot(361)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteBuffersARB(Int32 n, UInt32* buffers); + [Slot(368)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDeleteNamedStringARB(Int32 namelen, IntPtr name); + [Slot(370)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDeleteObjectARB(UInt32 obj); + [Slot(377)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteProgramsARB(Int32 n, UInt32* programs); + [Slot(380)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteQueriesARB(Int32 n, UInt32* ids); + [Slot(404)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDetachObjectARB(UInt32 containerObj, UInt32 attachedObj); + [Slot(418)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDisableVertexAttribArrayARB(UInt32 index); + [Slot(420)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDispatchComputeGroupSizeARB(UInt32 num_groups_x, UInt32 num_groups_y, UInt32 num_groups_z, UInt32 group_size_x, UInt32 group_size_y, UInt32 group_size_z); + [Slot(426)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawArraysInstancedARB(System.Int32 mode, Int32 first, Int32 count, Int32 primcount); + [Slot(431)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDrawBuffersARB(Int32 n, System.Int32* bufs); + [Slot(439)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawElementsInstancedARB(System.Int32 mode, Int32 count, System.Int32 type, IntPtr indices, Int32 primcount); + [Slot(476)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEnableVertexAttribArrayARB(UInt32 index); + [Slot(486)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEndQueryARB(System.Int32 target); + [Slot(578)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferTextureARB(System.Int32 target, System.Int32 attachment, UInt32 texture, Int32 level); + [Slot(580)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferTextureFaceARB(System.Int32 target, System.Int32 attachment, UInt32 texture, Int32 level, System.Int32 face); + [Slot(583)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferTextureLayerARB(System.Int32 target, System.Int32 attachment, UInt32 texture, Int32 level, Int32 layer); + [Slot(594)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenBuffersARB(Int32 n, [OutAttribute] UInt32* buffers); + [Slot(611)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenProgramsARB(Int32 n, [OutAttribute] UInt32* programs); + [Slot(614)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenQueriesARB(Int32 n, [OutAttribute] UInt32* ids); + [Slot(628)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] System.Int32* type, [OutAttribute] IntPtr name); + [Slot(633)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] System.Int32* type, [OutAttribute] IntPtr name); + [Slot(641)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetAttachedObjectsARB(UInt32 containerObj, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* obj); + [Slot(644)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGetAttribLocationARB(UInt32 programObj, IntPtr name); + [Slot(650)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetBufferParameterivARB(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(653)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetBufferPointervARB(System.Int32 target, System.Int32 pname, [OutAttribute] IntPtr @params); + [Slot(655)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetBufferSubDataARB(System.Int32 target, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data); + [Slot(675)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetCompressedTexImageARB(System.Int32 target, Int32 level, [OutAttribute] IntPtr img); + [Slot(686)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe Int32 glGetDebugMessageLogARB(UInt32 count, Int32 bufSize, [OutAttribute] System.Int32* sources, [OutAttribute] System.Int32* types, [OutAttribute] UInt32* ids, [OutAttribute] System.Int32* severities, [OutAttribute] Int32* lengths, [OutAttribute] IntPtr messageLog); + [Slot(714)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern System.Int32 glGetGraphicsResetStatusARB(); + [Slot(715)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGetHandleARB(System.Int32 pname); + [Slot(723)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int64 glGetImageHandleARB(UInt32 texture, Int32 level, bool layered, Int32 layer, System.Int32 format); + [Slot(727)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetInfoLogARB(UInt32 obj, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] IntPtr infoLog); + [Slot(796)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetNamedStringARB(Int32 namelen, IntPtr name, Int32 bufSize, [OutAttribute] Int32* stringlen, [OutAttribute] IntPtr @string); + [Slot(797)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetNamedStringivARB(Int32 namelen, IntPtr name, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(798)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetnColorTableARB(System.Int32 target, System.Int32 format, System.Int32 type, Int32 bufSize, [OutAttribute] IntPtr table); + [Slot(799)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetnCompressedTexImageARB(System.Int32 target, Int32 lod, Int32 bufSize, [OutAttribute] IntPtr img); + [Slot(800)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetnConvolutionFilterARB(System.Int32 target, System.Int32 format, System.Int32 type, Int32 bufSize, [OutAttribute] IntPtr image); + [Slot(801)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetnHistogramARB(System.Int32 target, bool reset, System.Int32 format, System.Int32 type, Int32 bufSize, [OutAttribute] IntPtr values); + [Slot(802)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetnMapdvARB(System.Int32 target, System.Int32 query, Int32 bufSize, [OutAttribute] Double* v); + [Slot(803)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetnMapfvARB(System.Int32 target, System.Int32 query, Int32 bufSize, [OutAttribute] Single* v); + [Slot(804)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetnMapivARB(System.Int32 target, System.Int32 query, Int32 bufSize, [OutAttribute] Int32* v); + [Slot(805)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetnMinmaxARB(System.Int32 target, bool reset, System.Int32 format, System.Int32 type, Int32 bufSize, [OutAttribute] IntPtr values); + [Slot(806)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetnPixelMapfvARB(System.Int32 map, Int32 bufSize, [OutAttribute] Single* values); + [Slot(807)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetnPixelMapuivARB(System.Int32 map, Int32 bufSize, [OutAttribute] UInt32* values); + [Slot(808)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetnPixelMapusvARB(System.Int32 map, Int32 bufSize, [OutAttribute] UInt16* values); + [Slot(809)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetnPolygonStippleARB(Int32 bufSize, [OutAttribute] Byte* pattern); + [Slot(810)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetnSeparableFilterARB(System.Int32 target, System.Int32 format, System.Int32 type, Int32 rowBufSize, [OutAttribute] IntPtr row, Int32 columnBufSize, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span); + [Slot(811)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetnTexImageARB(System.Int32 target, Int32 level, System.Int32 format, System.Int32 type, Int32 bufSize, [OutAttribute] IntPtr img); + [Slot(812)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetnUniformdvARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Double* @params); + [Slot(813)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetnUniformfvARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params); + [Slot(814)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetnUniformivARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params); + [Slot(815)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetnUniformuivARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] UInt32* @params); + [Slot(821)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetObjectParameterfvARB(UInt32 obj, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(823)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetObjectParameterivARB(UInt32 obj, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(862)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramEnvParameterdvARB(System.Int32 target, UInt32 index, [OutAttribute] Double* @params); + [Slot(863)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramEnvParameterfvARB(System.Int32 target, UInt32 index, [OutAttribute] Single* @params); + [Slot(869)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramivARB(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(871)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramLocalParameterdvARB(System.Int32 target, UInt32 index, [OutAttribute] Double* @params); + [Slot(872)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramLocalParameterfvARB(System.Int32 target, UInt32 index, [OutAttribute] Single* @params); + [Slot(889)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetProgramStringARB(System.Int32 target, System.Int32 pname, [OutAttribute] IntPtr @string); + [Slot(894)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetQueryivARB(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(898)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetQueryObjectivARB(UInt32 id, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(902)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetQueryObjectuivARB(UInt32 id, System.Int32 pname, [OutAttribute] UInt32* @params); + [Slot(915)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetShaderSourceARB(UInt32 obj, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] IntPtr source); + [Slot(944)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int64 glGetTextureHandleARB(UInt32 texture); + [Slot(953)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int64 glGetTextureSamplerHandleARB(UInt32 texture, UInt32 sampler); + [Slot(963)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetUniformfvARB(UInt32 programObj, Int32 location, [OutAttribute] Single* @params); + [Slot(967)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetUniformivARB(UInt32 programObj, Int32 location, [OutAttribute] Int32* @params); + [Slot(969)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGetUniformLocationARB(UInt32 programObj, IntPtr name); + [Slot(989)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexAttribdvARB(UInt32 index, System.Int32 pname, [OutAttribute] Double* @params); + [Slot(992)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexAttribfvARB(UInt32 index, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(999)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexAttribivARB(UInt32 index, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(1004)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexAttribLui64vARB(UInt32 index, System.Int32 pname, [OutAttribute] UInt64* @params); + [Slot(1007)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetVertexAttribPointervARB(UInt32 index, System.Int32 pname, [OutAttribute] IntPtr pointer); + [Slot(1068)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsBufferARB(UInt32 buffer); + [Slot(1077)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsImageHandleResidentARB(UInt64 handle); + [Slot(1082)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsNamedStringARB(Int32 namelen, IntPtr name); + [Slot(1089)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsProgramARB(UInt32 program); + [Slot(1094)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsQueryARB(UInt32 id); + [Slot(1102)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsTextureHandleResidentARB(UInt64 handle); + [Slot(1128)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLinkProgramARB(UInt32 programObj); + [Slot(1142)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glLoadTransposeMatrixdARB(Double* m); + [Slot(1144)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glLoadTransposeMatrixfARB(Single* m); + [Slot(1150)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMakeImageHandleNonResidentARB(UInt64 handle); + [Slot(1152)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMakeImageHandleResidentARB(UInt64 handle, System.Int32 access); + [Slot(1156)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMakeTextureHandleNonResidentARB(UInt64 handle); + [Slot(1158)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMakeTextureHandleResidentARB(UInt64 handle); + [Slot(1167)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern IntPtr glMapBufferARB(System.Int32 target, System.Int32 access); + [Slot(1193)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMatrixIndexPointerARB(Int32 size, System.Int32 type, Int32 stride, IntPtr pointer); + [Slot(1194)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMatrixIndexubvARB(Int32 size, Byte* indices); + [Slot(1195)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMatrixIndexuivARB(Int32 size, UInt32* indices); + [Slot(1196)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMatrixIndexusvARB(Int32 size, UInt16* indices); + [Slot(1221)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMinSampleShadingARB(Single value); + [Slot(1227)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiDrawArraysIndirectCountARB(System.Int32 mode, IntPtr indirect, IntPtr drawcount, Int32 maxdrawcount, Int32 stride); + [Slot(1235)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiDrawElementsIndirectCountARB(System.Int32 mode, System.Int32 type, IntPtr indirect, IntPtr drawcount, Int32 maxdrawcount, Int32 stride); + [Slot(1243)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord1dARB(System.Int32 target, Double s); + [Slot(1245)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord1dvARB(System.Int32 target, Double* v); + [Slot(1247)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord1fARB(System.Int32 target, Single s); + [Slot(1249)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord1fvARB(System.Int32 target, Single* v); + [Slot(1253)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord1iARB(System.Int32 target, Int32 s); + [Slot(1255)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord1ivARB(System.Int32 target, Int32* v); + [Slot(1257)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord1sARB(System.Int32 target, Int16 s); + [Slot(1259)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord1svARB(System.Int32 target, Int16* v); + [Slot(1265)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord2dARB(System.Int32 target, Double s, Double t); + [Slot(1267)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord2dvARB(System.Int32 target, Double* v); + [Slot(1269)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord2fARB(System.Int32 target, Single s, Single t); + [Slot(1271)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord2fvARB(System.Int32 target, Single* v); + [Slot(1275)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord2iARB(System.Int32 target, Int32 s, Int32 t); + [Slot(1277)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord2ivARB(System.Int32 target, Int32* v); + [Slot(1279)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord2sARB(System.Int32 target, Int16 s, Int16 t); + [Slot(1281)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord2svARB(System.Int32 target, Int16* v); + [Slot(1287)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord3dARB(System.Int32 target, Double s, Double t, Double r); + [Slot(1289)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord3dvARB(System.Int32 target, Double* v); + [Slot(1291)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord3fARB(System.Int32 target, Single s, Single t, Single r); + [Slot(1293)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord3fvARB(System.Int32 target, Single* v); + [Slot(1297)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord3iARB(System.Int32 target, Int32 s, Int32 t, Int32 r); + [Slot(1299)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord3ivARB(System.Int32 target, Int32* v); + [Slot(1301)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord3sARB(System.Int32 target, Int16 s, Int16 t, Int16 r); + [Slot(1303)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord3svARB(System.Int32 target, Int16* v); + [Slot(1309)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord4dARB(System.Int32 target, Double s, Double t, Double r, Double q); + [Slot(1311)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord4dvARB(System.Int32 target, Double* v); + [Slot(1313)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord4fARB(System.Int32 target, Single s, Single t, Single r, Single q); + [Slot(1315)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord4fvARB(System.Int32 target, Single* v); + [Slot(1319)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord4iARB(System.Int32 target, Int32 s, Int32 t, Int32 r, Int32 q); + [Slot(1321)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord4ivARB(System.Int32 target, Int32* v); + [Slot(1323)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord4sARB(System.Int32 target, Int16 s, Int16 t, Int16 r, Int16 q); + [Slot(1325)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord4svARB(System.Int32 target, Int16* v); + [Slot(1364)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultTransposeMatrixdARB(Double* m); + [Slot(1366)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultTransposeMatrixfARB(Single* m); + [Slot(1395)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNamedStringARB(System.Int32 type, Int32 namelen, IntPtr name, Int32 stringlen, IntPtr @string); + [Slot(1491)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPointParameterfARB(System.Int32 pname, Single param); + [Slot(1495)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPointParameterfvARB(System.Int32 pname, Single* @params); + [Slot(1532)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramEnvParameter4dARB(System.Int32 target, UInt32 index, Double x, Double y, Double z, Double w); + [Slot(1533)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramEnvParameter4dvARB(System.Int32 target, UInt32 index, Double* @params); + [Slot(1534)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramEnvParameter4fARB(System.Int32 target, UInt32 index, Single x, Single y, Single z, Single w); + [Slot(1535)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramEnvParameter4fvARB(System.Int32 target, UInt32 index, Single* @params); + [Slot(1543)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramLocalParameter4dARB(System.Int32 target, UInt32 index, Double x, Double y, Double z, Double w); + [Slot(1544)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramLocalParameter4dvARB(System.Int32 target, UInt32 index, Double* @params); + [Slot(1545)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramLocalParameter4fARB(System.Int32 target, UInt32 index, Single x, Single y, Single z, Single w); + [Slot(1546)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramLocalParameter4fvARB(System.Int32 target, UInt32 index, Single* @params); + [Slot(1563)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramParameteriARB(UInt32 program, System.Int32 pname, Int32 value); + [Slot(1567)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramStringARB(System.Int32 target, System.Int32 format, Int32 len, IntPtr @string); + [Slot(1649)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniformHandleui64ARB(UInt32 program, Int32 location, UInt64 value); + [Slot(1651)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformHandleui64vARB(UInt32 program, Int32 location, Int32 count, UInt64* values); + [Slot(1737)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glReadnPixelsARB(Int32 x, Int32 y, Int32 width, Int32 height, System.Int32 format, System.Int32 type, Int32 bufSize, [OutAttribute] IntPtr data); + [Slot(1792)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSampleCoverageARB(Single value, bool invert); + [Slot(1871)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glShaderSourceARB(UInt32 shaderObj, Int32 count, IntPtr @string, Int32* length); + [Slot(1916)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexBufferARB(System.Int32 target, System.Int32 internalformat, UInt32 buffer); + [Slot(2028)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexPageCommitmentARB(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, bool resident); + [Slot(2099)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform1fARB(Int32 location, Single v0); + [Slot(2101)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform1fvARB(Int32 location, Int32 count, Single* value); + [Slot(2105)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform1iARB(Int32 location, Int32 v0); + [Slot(2107)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform1ivARB(Int32 location, Int32 count, Int32* value); + [Slot(2117)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform2fARB(Int32 location, Single v0, Single v1); + [Slot(2119)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform2fvARB(Int32 location, Int32 count, Single* value); + [Slot(2123)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform2iARB(Int32 location, Int32 v0, Int32 v1); + [Slot(2125)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform2ivARB(Int32 location, Int32 count, Int32* value); + [Slot(2135)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform3fARB(Int32 location, Single v0, Single v1, Single v2); + [Slot(2137)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform3fvARB(Int32 location, Int32 count, Single* value); + [Slot(2141)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform3iARB(Int32 location, Int32 v0, Int32 v1, Int32 v2); + [Slot(2143)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform3ivARB(Int32 location, Int32 count, Int32* value); + [Slot(2153)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform4fARB(Int32 location, Single v0, Single v1, Single v2, Single v3); + [Slot(2155)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform4fvARB(Int32 location, Int32 count, Single* value); + [Slot(2159)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform4iARB(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); + [Slot(2161)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform4ivARB(Int32 location, Int32 count, Int32* value); + [Slot(2170)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniformHandleui64ARB(Int32 location, UInt64 value); + [Slot(2172)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformHandleui64vARB(Int32 location, Int32 count, UInt64* value); + [Slot(2176)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix2fvARB(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(2183)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix3fvARB(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(2190)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix4fvARB(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(2200)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glUnmapBufferARB(System.Int32 target); + [Slot(2206)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUseProgramObjectARB(UInt32 programObj); + [Slot(2211)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glValidateProgramARB(UInt32 programObj); + [Slot(2299)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib1dARB(UInt32 index, Double x); + [Slot(2302)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib1dvARB(UInt32 index, Double* v); + [Slot(2305)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib1fARB(UInt32 index, Single x); + [Slot(2308)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib1fvARB(UInt32 index, Single* v); + [Slot(2313)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib1sARB(UInt32 index, Int16 x); + [Slot(2316)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib1svARB(UInt32 index, Int16* v); + [Slot(2319)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib2dARB(UInt32 index, Double x, Double y); + [Slot(2322)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib2dvARB(UInt32 index, Double* v); + [Slot(2325)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib2fARB(UInt32 index, Single x, Single y); + [Slot(2328)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib2fvARB(UInt32 index, Single* v); + [Slot(2333)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib2sARB(UInt32 index, Int16 x, Int16 y); + [Slot(2336)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib2svARB(UInt32 index, Int16* v); + [Slot(2339)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib3dARB(UInt32 index, Double x, Double y, Double z); + [Slot(2342)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib3dvARB(UInt32 index, Double* v); + [Slot(2345)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib3fARB(UInt32 index, Single x, Single y, Single z); + [Slot(2348)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib3fvARB(UInt32 index, Single* v); + [Slot(2353)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib3sARB(UInt32 index, Int16 x, Int16 y, Int16 z); + [Slot(2356)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib3svARB(UInt32 index, Int16* v); + [Slot(2359)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4bvARB(UInt32 index, SByte* v); + [Slot(2361)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib4dARB(UInt32 index, Double x, Double y, Double z, Double w); + [Slot(2364)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4dvARB(UInt32 index, Double* v); + [Slot(2367)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib4fARB(UInt32 index, Single x, Single y, Single z, Single w); + [Slot(2370)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4fvARB(UInt32 index, Single* v); + [Slot(2375)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4ivARB(UInt32 index, Int32* v); + [Slot(2377)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4NbvARB(UInt32 index, SByte* v); + [Slot(2379)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4NivARB(UInt32 index, Int32* v); + [Slot(2381)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4NsvARB(UInt32 index, Int16* v); + [Slot(2383)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib4NubARB(UInt32 index, Byte x, Byte y, Byte z, Byte w); + [Slot(2385)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4NubvARB(UInt32 index, Byte* v); + [Slot(2387)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4NuivARB(UInt32 index, UInt32* v); + [Slot(2389)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4NusvARB(UInt32 index, UInt16* v); + [Slot(2391)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib4sARB(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w); + [Slot(2394)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4svARB(UInt32 index, Int16* v); + [Slot(2398)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4ubvARB(UInt32 index, Byte* v); + [Slot(2401)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4uivARB(UInt32 index, UInt32* v); + [Slot(2403)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4usvARB(UInt32 index, UInt16* v); + [Slot(2407)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribDivisorARB(UInt32 index, UInt32 divisor); + [Slot(2460)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribL1ui64ARB(UInt32 index, UInt64 x); + [Slot(2462)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribL1ui64vARB(UInt32 index, UInt64* v); + [Slot(2502)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribPointerARB(UInt32 index, Int32 size, System.Int32 type, bool normalized, Int32 stride, IntPtr pointer); + [Slot(2522)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexBlendARB(Int32 count); + [Slot(2582)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWeightbvARB(Int32 size, SByte* weights); + [Slot(2583)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWeightdvARB(Int32 size, Double* weights); + [Slot(2584)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWeightfvARB(Int32 size, Single* weights); + [Slot(2585)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWeightivARB(Int32 size, Int32* weights); + [Slot(2587)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWeightPointerARB(Int32 size, System.Int32 type, Int32 stride, IntPtr pointer); + [Slot(2588)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWeightsvARB(Int32 size, Int16* weights); + [Slot(2589)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWeightubvARB(Int32 size, Byte* weights); + [Slot(2590)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWeightuivARB(Int32 size, UInt32* weights); + [Slot(2591)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWeightusvARB(Int32 size, UInt16* weights); + [Slot(2593)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWindowPos2dARB(Double x, Double y); + [Slot(2596)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWindowPos2dvARB(Double* v); + [Slot(2599)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWindowPos2fARB(Single x, Single y); + [Slot(2602)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWindowPos2fvARB(Single* v); + [Slot(2605)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWindowPos2iARB(Int32 x, Int32 y); + [Slot(2608)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWindowPos2ivARB(Int32* v); + [Slot(2611)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWindowPos2sARB(Int16 x, Int16 y); + [Slot(2614)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWindowPos2svARB(Int16* v); + [Slot(2617)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWindowPos3dARB(Double x, Double y, Double z); + [Slot(2620)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWindowPos3dvARB(Double* v); + [Slot(2623)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWindowPos3fARB(Single x, Single y, Single z); + [Slot(2626)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWindowPos3fvARB(Single* v); + [Slot(2629)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWindowPos3iARB(Int32 x, Int32 y, Int32 z); + [Slot(2632)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWindowPos3ivARB(Int32* v); + [Slot(2635)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWindowPos3sARB(Int16 x, Int16 y, Int16 z); + [Slot(2638)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWindowPos3svARB(Int16* v); + [Slot(9)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glAlphaFragmentOp1ATI(System.Int32 op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod); + [Slot(10)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glAlphaFragmentOp2ATI(System.Int32 op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod); + [Slot(11)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glAlphaFragmentOp3ATI(System.Int32 op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod); + [Slot(20)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glArrayObjectATI(System.Int32 array, Int32 size, System.Int32 type, Int32 stride, UInt32 buffer, UInt32 offset); + [Slot(28)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBeginFragmentShaderATI(); + [Slot(56)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindFragmentShaderATI(UInt32 id); + [Slot(168)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClientActiveVertexStreamATI(System.Int32 stream); + [Slot(223)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColorFragmentOp1ATI(System.Int32 op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod); + [Slot(224)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColorFragmentOp2ATI(System.Int32 op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod); + [Slot(225)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColorFragmentOp3ATI(System.Int32 op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod); + [Slot(364)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDeleteFragmentShaderATI(UInt32 id); + [Slot(432)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDrawBuffersATI(Int32 n, System.Int32* bufs); + [Slot(434)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawElementArrayATI(System.Int32 mode, Int32 count); + [Slot(447)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawRangeElementArrayATI(System.Int32 mode, UInt32 start, UInt32 end, Int32 count); + [Slot(464)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glElementPointerATI(System.Int32 type, IntPtr pointer); + [Slot(481)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEndFragmentShaderATI(); + [Slot(587)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFreeObjectBufferATI(UInt32 buffer); + [Slot(601)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGenFragmentShadersATI(UInt32 range); + [Slot(639)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetArrayObjectfvATI(System.Int32 array, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(640)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetArrayObjectivATI(System.Int32 array, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(816)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetObjectBufferfvATI(UInt32 buffer, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(817)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetObjectBufferivATI(UInt32 buffer, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(922)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexBumpParameterfvATI(System.Int32 pname, [OutAttribute] Single* param); + [Slot(923)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexBumpParameterivATI(System.Int32 pname, [OutAttribute] Int32* param); + [Slot(975)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVariantArrayObjectfvATI(UInt32 id, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(976)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVariantArrayObjectivATI(UInt32 id, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(986)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexAttribArrayObjectfvATI(UInt32 index, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(987)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexAttribArrayObjectivATI(UInt32 index, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(1083)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsObjectBufferATI(UInt32 buffer); + [Slot(1178)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern IntPtr glMapObjectBufferATI(UInt32 buffer); + [Slot(1397)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glNewObjectBufferATI(Int32 size, IntPtr pointer, System.Int32 usage); + [Slot(1421)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNormalStream3bATI(System.Int32 stream, SByte nx, SByte ny, SByte nz); + [Slot(1422)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glNormalStream3bvATI(System.Int32 stream, SByte* coords); + [Slot(1423)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNormalStream3dATI(System.Int32 stream, Double nx, Double ny, Double nz); + [Slot(1424)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glNormalStream3dvATI(System.Int32 stream, Double* coords); + [Slot(1425)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNormalStream3fATI(System.Int32 stream, Single nx, Single ny, Single nz); + [Slot(1426)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glNormalStream3fvATI(System.Int32 stream, Single* coords); + [Slot(1427)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNormalStream3iATI(System.Int32 stream, Int32 nx, Int32 ny, Int32 nz); + [Slot(1428)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glNormalStream3ivATI(System.Int32 stream, Int32* coords); + [Slot(1429)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNormalStream3sATI(System.Int32 stream, Int16 nx, Int16 ny, Int16 nz); + [Slot(1430)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glNormalStream3svATI(System.Int32 stream, Int16* coords); + [Slot(1440)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPassTexCoordATI(UInt32 dst, UInt32 coord, System.Int32 swizzle); + [Slot(1487)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPNTrianglesfATI(System.Int32 pname, Single param); + [Slot(1488)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPNTrianglesiATI(System.Int32 pname, Int32 param); + [Slot(1795)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSampleMapATI(UInt32 dst, UInt32 interp, System.Int32 swizzle); + [Slot(1861)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSetFragmentShaderConstantATI(UInt32 dst, Single* value); + [Slot(1884)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStencilFuncSeparateATI(System.Int32 frontfunc, System.Int32 backfunc, Int32 @ref, UInt32 mask); + [Slot(1889)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStencilOpSeparateATI(System.Int32 face, System.Int32 sfail, System.Int32 dpfail, System.Int32 dppass); + [Slot(1919)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexBumpParameterfvATI(System.Int32 pname, Single* param); + [Slot(1920)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexBumpParameterivATI(System.Int32 pname, Int32* param); + [Slot(2202)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUnmapObjectBufferATI(UInt32 buffer); + [Slot(2204)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUpdateObjectBufferATI(UInt32 buffer, UInt32 offset, Int32 size, IntPtr pointer, System.Int32 preserve); + [Slot(2214)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVariantArrayObjectATI(UInt32 id, System.Int32 type, Int32 stride, UInt32 buffer, UInt32 offset); + [Slot(2404)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribArrayObjectATI(UInt32 index, Int32 size, System.Int32 type, bool normalized, Int32 stride, UInt32 buffer, UInt32 offset); + [Slot(2523)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexBlendEnvfATI(System.Int32 pname, Single param); + [Slot(2524)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexBlendEnviATI(System.Int32 pname, Int32 param); + [Slot(2536)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexStream1dATI(System.Int32 stream, Double x); + [Slot(2537)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexStream1dvATI(System.Int32 stream, Double* coords); + [Slot(2538)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexStream1fATI(System.Int32 stream, Single x); + [Slot(2539)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexStream1fvATI(System.Int32 stream, Single* coords); + [Slot(2540)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexStream1iATI(System.Int32 stream, Int32 x); + [Slot(2541)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexStream1ivATI(System.Int32 stream, Int32* coords); + [Slot(2542)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexStream1sATI(System.Int32 stream, Int16 x); + [Slot(2543)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexStream1svATI(System.Int32 stream, Int16* coords); + [Slot(2544)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexStream2dATI(System.Int32 stream, Double x, Double y); + [Slot(2545)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexStream2dvATI(System.Int32 stream, Double* coords); + [Slot(2546)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexStream2fATI(System.Int32 stream, Single x, Single y); + [Slot(2547)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexStream2fvATI(System.Int32 stream, Single* coords); + [Slot(2548)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexStream2iATI(System.Int32 stream, Int32 x, Int32 y); + [Slot(2549)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexStream2ivATI(System.Int32 stream, Int32* coords); + [Slot(2550)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexStream2sATI(System.Int32 stream, Int16 x, Int16 y); + [Slot(2551)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexStream2svATI(System.Int32 stream, Int16* coords); + [Slot(2552)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexStream3dATI(System.Int32 stream, Double x, Double y, Double z); + [Slot(2553)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexStream3dvATI(System.Int32 stream, Double* coords); + [Slot(2554)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexStream3fATI(System.Int32 stream, Single x, Single y, Single z); + [Slot(2555)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexStream3fvATI(System.Int32 stream, Single* coords); + [Slot(2556)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexStream3iATI(System.Int32 stream, Int32 x, Int32 y, Int32 z); + [Slot(2557)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexStream3ivATI(System.Int32 stream, Int32* coords); + [Slot(2558)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexStream3sATI(System.Int32 stream, Int16 x, Int16 y, Int16 z); + [Slot(2559)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexStream3svATI(System.Int32 stream, Int16* coords); + [Slot(2560)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexStream4dATI(System.Int32 stream, Double x, Double y, Double z, Double w); + [Slot(2561)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexStream4dvATI(System.Int32 stream, Double* coords); + [Slot(2562)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexStream4fATI(System.Int32 stream, Single x, Single y, Single z, Single w); + [Slot(2563)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexStream4fvATI(System.Int32 stream, Single* coords); + [Slot(2564)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexStream4iATI(System.Int32 stream, Int32 x, Int32 y, Int32 z, Int32 w); + [Slot(2565)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexStream4ivATI(System.Int32 stream, Int32* coords); + [Slot(2566)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexStream4sATI(System.Int32 stream, Int16 x, Int16 y, Int16 z, Int16 w); + [Slot(2567)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexStream4svATI(System.Int32 stream, Int16* coords); + [Slot(0)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glAccum(System.Int32 op, Single value); + [Slot(3)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glActiveShaderProgram(UInt32 pipeline, UInt32 program); + [Slot(6)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glActiveTexture(System.Int32 texture); + [Slot(12)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glAlphaFunc(System.Int32 func, Single @ref); + [Slot(16)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe bool glAreTexturesResident(Int32 n, UInt32* textures, [OutAttribute] bool* residences); + [Slot(18)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glArrayElement(Int32 i); + [Slot(23)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glAttachShader(UInt32 program, UInt32 shader); + [Slot(24)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBegin(System.Int32 mode); + [Slot(25)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBeginConditionalRender(UInt32 id, System.Int32 mode); + [Slot(31)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBeginQuery(System.Int32 target, UInt32 id); + [Slot(33)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBeginQueryIndexed(System.Int32 target, UInt32 index, UInt32 id); + [Slot(34)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBeginTransformFeedback(System.Int32 primitiveMode); + [Slot(39)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindAttribLocation(UInt32 program, UInt32 index, IntPtr name); + [Slot(41)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindBuffer(System.Int32 target, UInt32 buffer); + [Slot(43)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindBufferBase(System.Int32 target, UInt32 index, UInt32 buffer); + [Slot(48)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindBufferRange(System.Int32 target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); + [Slot(51)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glBindBuffersBase(System.Int32 target, UInt32 first, Int32 count, UInt32* buffers); + [Slot(52)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glBindBuffersRange(System.Int32 target, UInt32 first, Int32 count, UInt32* buffers, IntPtr* offsets, IntPtr* sizes); + [Slot(53)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindFragDataLocation(UInt32 program, UInt32 color, IntPtr name); + [Slot(55)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindFragDataLocationIndexed(UInt32 program, UInt32 colorNumber, UInt32 index, IntPtr name); + [Slot(57)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindFramebuffer(System.Int32 target, UInt32 framebuffer); + [Slot(59)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindImageTexture(UInt32 unit, UInt32 texture, Int32 level, bool layered, Int32 layer, System.Int32 access, System.Int32 format); + [Slot(61)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glBindImageTextures(UInt32 first, Int32 count, UInt32* textures); + [Slot(68)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindProgramPipeline(UInt32 pipeline); + [Slot(70)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindRenderbuffer(System.Int32 target, UInt32 renderbuffer); + [Slot(72)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindSampler(UInt32 unit, UInt32 sampler); + [Slot(73)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glBindSamplers(UInt32 first, Int32 count, UInt32* samplers); + [Slot(75)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindTexture(System.Int32 target, UInt32 texture); + [Slot(77)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glBindTextures(UInt32 first, Int32 count, UInt32* textures); + [Slot(79)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindTransformFeedback(System.Int32 target, UInt32 id); + [Slot(81)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindVertexArray(UInt32 array); + [Slot(83)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindVertexBuffer(UInt32 bindingindex, UInt32 buffer, IntPtr offset, Int32 stride); + [Slot(84)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glBindVertexBuffers(UInt32 first, Int32 count, UInt32* buffers, IntPtr* offsets, Int32* strides); + [Slot(99)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glBitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte* bitmap); + [Slot(102)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendColor(Single red, Single green, Single blue, Single alpha); + [Slot(105)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendEquation(System.Int32 mode); + [Slot(107)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendEquationi(UInt32 buf, System.Int32 mode); + [Slot(110)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendEquationSeparate(System.Int32 modeRGB, System.Int32 modeAlpha); + [Slot(112)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendEquationSeparatei(UInt32 buf, System.Int32 modeRGB, System.Int32 modeAlpha); + [Slot(115)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendFunc(System.Int32 sfactor, System.Int32 dfactor); + [Slot(116)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendFunci(UInt32 buf, System.Int32 src, System.Int32 dst); + [Slot(119)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendFuncSeparate(System.Int32 sfactorRGB, System.Int32 dfactorRGB, System.Int32 sfactorAlpha, System.Int32 dfactorAlpha); + [Slot(121)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendFuncSeparatei(UInt32 buf, System.Int32 srcRGB, System.Int32 dstRGB, System.Int32 srcAlpha, System.Int32 dstAlpha); + [Slot(126)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, System.Int32 mask, System.Int32 filter); + [Slot(129)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBufferData(System.Int32 target, IntPtr size, IntPtr data, System.Int32 usage); + [Slot(132)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBufferStorage(System.Int32 target, IntPtr size, IntPtr data, System.Int32 flags); + [Slot(133)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBufferSubData(System.Int32 target, IntPtr offset, IntPtr size, IntPtr data); + [Slot(135)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCallList(UInt32 list); + [Slot(136)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCallLists(Int32 n, System.Int32 type, IntPtr lists); + [Slot(137)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern System.Int32 glCheckFramebufferStatus(System.Int32 target); + [Slot(140)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClampColor(System.Int32 target, System.Int32 clamp); + [Slot(142)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClear(System.Int32 mask); + [Slot(143)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearAccum(Single red, Single green, Single blue, Single alpha); + [Slot(145)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearBufferData(System.Int32 target, System.Int32 internalformat, System.Int32 format, System.Int32 type, IntPtr data); + [Slot(146)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearBufferfi(System.Int32 buffer, Int32 drawbuffer, Single depth, Int32 stencil); + [Slot(147)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glClearBufferfv(System.Int32 buffer, Int32 drawbuffer, Single* value); + [Slot(148)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glClearBufferiv(System.Int32 buffer, Int32 drawbuffer, Int32* value); + [Slot(149)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearBufferSubData(System.Int32 target, System.Int32 internalformat, IntPtr offset, IntPtr size, System.Int32 format, System.Int32 type, IntPtr data); + [Slot(150)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glClearBufferuiv(System.Int32 buffer, Int32 drawbuffer, UInt32* value); + [Slot(151)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearColor(Single red, Single green, Single blue, Single alpha); + [Slot(155)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearDepth(Double depth); + [Slot(157)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearDepthf(Single d); + [Slot(160)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearIndex(Single c); + [Slot(163)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearStencil(Int32 s); + [Slot(164)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearTexImage(UInt32 texture, Int32 level, System.Int32 format, System.Int32 type, IntPtr data); + [Slot(165)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, System.Int32 format, System.Int32 type, IntPtr data); + [Slot(166)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClientActiveTexture(System.Int32 texture); + [Slot(170)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern System.Int32 glClientWaitSync(IntPtr sync, System.Int32 flags, UInt64 timeout); + [Slot(171)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glClipPlane(System.Int32 plane, Double* equation); + [Slot(174)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColor3b(SByte red, SByte green, SByte blue); + [Slot(175)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColor3bv(SByte* v); + [Slot(176)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColor3d(Double red, Double green, Double blue); + [Slot(177)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColor3dv(Double* v); + [Slot(178)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColor3f(Single red, Single green, Single blue); + [Slot(179)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColor3fv(Single* v); + [Slot(184)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColor3i(Int32 red, Int32 green, Int32 blue); + [Slot(185)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColor3iv(Int32* v); + [Slot(186)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColor3s(Int16 red, Int16 green, Int16 blue); + [Slot(187)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColor3sv(Int16* v); + [Slot(188)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColor3ub(Byte red, Byte green, Byte blue); + [Slot(189)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColor3ubv(Byte* v); + [Slot(190)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColor3ui(UInt32 red, UInt32 green, UInt32 blue); + [Slot(191)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColor3uiv(UInt32* v); + [Slot(192)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColor3us(UInt16 red, UInt16 green, UInt16 blue); + [Slot(193)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColor3usv(UInt16* v); + [Slot(196)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColor4b(SByte red, SByte green, SByte blue, SByte alpha); + [Slot(197)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColor4bv(SByte* v); + [Slot(198)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColor4d(Double red, Double green, Double blue, Double alpha); + [Slot(199)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColor4dv(Double* v); + [Slot(200)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColor4f(Single red, Single green, Single blue, Single alpha); + [Slot(203)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColor4fv(Single* v); + [Slot(206)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColor4i(Int32 red, Int32 green, Int32 blue, Int32 alpha); + [Slot(207)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColor4iv(Int32* v); + [Slot(208)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColor4s(Int16 red, Int16 green, Int16 blue, Int16 alpha); + [Slot(209)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColor4sv(Int16* v); + [Slot(210)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColor4ub(Byte red, Byte green, Byte blue, Byte alpha); + [Slot(211)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColor4ubv(Byte* v); + [Slot(216)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColor4ui(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha); + [Slot(217)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColor4uiv(UInt32* v); + [Slot(218)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColor4us(UInt16 red, UInt16 green, UInt16 blue, UInt16 alpha); + [Slot(219)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColor4usv(UInt16* v); + [Slot(226)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColorMask(bool red, bool green, bool blue, bool alpha); + [Slot(227)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColorMaski(UInt32 index, bool r, bool g, bool b, bool a); + [Slot(229)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColorMaterial(System.Int32 face, System.Int32 mode); + [Slot(230)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColorP3ui(System.Int32 type, UInt32 color); + [Slot(231)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColorP3uiv(System.Int32 type, UInt32* color); + [Slot(232)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColorP4ui(System.Int32 type, UInt32 color); + [Slot(233)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColorP4uiv(System.Int32 type, UInt32* color); + [Slot(234)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColorPointer(Int32 size, System.Int32 type, Int32 stride, IntPtr pointer); + [Slot(238)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColorSubTable(System.Int32 target, Int32 start, Int32 count, System.Int32 format, System.Int32 type, IntPtr data); + [Slot(240)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColorTable(System.Int32 target, System.Int32 internalformat, Int32 width, System.Int32 format, System.Int32 type, IntPtr table); + [Slot(242)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColorTableParameterfv(System.Int32 target, System.Int32 pname, Single* @params); + [Slot(244)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColorTableParameteriv(System.Int32 target, System.Int32 pname, Int32* @params); + [Slot(254)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompileShader(UInt32 shader); + [Slot(263)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTexImage1D(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data); + [Slot(265)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTexImage2D(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); + [Slot(267)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTexImage3D(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); + [Slot(269)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTexSubImage1D(System.Int32 target, Int32 level, Int32 xoffset, Int32 width, System.Int32 format, Int32 imageSize, IntPtr data); + [Slot(271)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTexSubImage2D(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, System.Int32 format, Int32 imageSize, IntPtr data); + [Slot(273)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTexSubImage3D(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, System.Int32 format, Int32 imageSize, IntPtr data); + [Slot(281)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glConvolutionFilter1D(System.Int32 target, System.Int32 internalformat, Int32 width, System.Int32 format, System.Int32 type, IntPtr image); + [Slot(283)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glConvolutionFilter2D(System.Int32 target, System.Int32 internalformat, Int32 width, Int32 height, System.Int32 format, System.Int32 type, IntPtr image); + [Slot(285)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glConvolutionParameterf(System.Int32 target, System.Int32 pname, Single @params); + [Slot(287)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glConvolutionParameterfv(System.Int32 target, System.Int32 pname, Single* @params); + [Slot(289)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glConvolutionParameteri(System.Int32 target, System.Int32 pname, Int32 @params); + [Slot(291)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glConvolutionParameteriv(System.Int32 target, System.Int32 pname, Int32* @params); + [Slot(295)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyBufferSubData(System.Int32 readTarget, System.Int32 writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size); + [Slot(296)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyColorSubTable(System.Int32 target, Int32 start, Int32 x, Int32 y, Int32 width); + [Slot(298)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyColorTable(System.Int32 target, System.Int32 internalformat, Int32 x, Int32 y, Int32 width); + [Slot(300)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyConvolutionFilter1D(System.Int32 target, System.Int32 internalformat, Int32 x, Int32 y, Int32 width); + [Slot(302)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyConvolutionFilter2D(System.Int32 target, System.Int32 internalformat, Int32 x, Int32 y, Int32 width, Int32 height); + [Slot(304)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyImageSubData(UInt32 srcName, System.Int32 srcTarget, Int32 srcLevel, Int32 srcX, Int32 srcY, Int32 srcZ, UInt32 dstName, System.Int32 dstTarget, Int32 dstLevel, Int32 dstX, Int32 dstY, Int32 dstZ, Int32 srcWidth, Int32 srcHeight, Int32 srcDepth); + [Slot(312)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyPixels(Int32 x, Int32 y, Int32 width, Int32 height, System.Int32 type); + [Slot(313)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyTexImage1D(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 x, Int32 y, Int32 width, Int32 border); + [Slot(315)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyTexImage2D(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); + [Slot(317)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyTexSubImage1D(System.Int32 target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); + [Slot(319)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyTexSubImage2D(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [Slot(321)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyTexSubImage3D(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [Slot(332)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glCreateProgram(); + [Slot(334)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glCreateShader(System.Int32 type); + [Slot(337)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glCreateShaderProgramv(System.Int32 type, Int32 count, IntPtr strings); + [Slot(340)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCullFace(System.Int32 mode); + [Slot(344)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDebugMessageCallback(DebugProc callback, IntPtr userParam); + [Slot(348)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDebugMessageControl(System.Int32 source, System.Int32 type, System.Int32 severity, Int32 count, UInt32* ids, bool enabled); + [Slot(352)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDebugMessageInsert(System.Int32 source, System.Int32 type, UInt32 id, System.Int32 severity, Int32 length, IntPtr buf); + [Slot(360)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteBuffers(Int32 n, UInt32* buffers); + [Slot(365)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteFramebuffers(Int32 n, UInt32* framebuffers); + [Slot(367)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDeleteLists(UInt32 list, Int32 range); + [Slot(374)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDeleteProgram(UInt32 program); + [Slot(375)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteProgramPipelines(Int32 n, UInt32* pipelines); + [Slot(379)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteQueries(Int32 n, UInt32* ids); + [Slot(381)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteRenderbuffers(Int32 n, UInt32* renderbuffers); + [Slot(383)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteSamplers(Int32 count, UInt32* samplers); + [Slot(384)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDeleteShader(UInt32 shader); + [Slot(385)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDeleteSync(IntPtr sync); + [Slot(386)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteTextures(Int32 n, UInt32* textures); + [Slot(388)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteTransformFeedbacks(Int32 n, UInt32* ids); + [Slot(390)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteVertexArrays(Int32 n, UInt32* arrays); + [Slot(395)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDepthFunc(System.Int32 func); + [Slot(396)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDepthMask(bool flag); + [Slot(397)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDepthRange(Double near, Double far); + [Slot(398)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDepthRangeArrayv(UInt32 first, Int32 count, Double* v); + [Slot(400)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDepthRangef(Single n, Single f); + [Slot(402)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDepthRangeIndexed(UInt32 index, Double n, Double f); + [Slot(405)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDetachShader(UInt32 program, UInt32 shader); + [Slot(407)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDisable(System.Int32 cap); + [Slot(408)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDisableClientState(System.Int32 array); + [Slot(411)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDisablei(System.Int32 target, UInt32 index); + [Slot(417)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDisableVertexAttribArray(UInt32 index); + [Slot(419)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDispatchCompute(UInt32 num_groups_x, UInt32 num_groups_y, UInt32 num_groups_z); + [Slot(421)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDispatchComputeIndirect(IntPtr indirect); + [Slot(422)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawArrays(System.Int32 mode, Int32 first, Int32 count); + [Slot(424)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawArraysIndirect(System.Int32 mode, IntPtr indirect); + [Slot(425)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawArraysInstanced(System.Int32 mode, Int32 first, Int32 count, Int32 instancecount); + [Slot(427)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawArraysInstancedBaseInstance(System.Int32 mode, Int32 first, Int32 count, Int32 instancecount, UInt32 baseinstance); + [Slot(429)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawBuffer(System.Int32 mode); + [Slot(430)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDrawBuffers(Int32 n, System.Int32* bufs); + [Slot(435)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawElements(System.Int32 mode, Int32 count, System.Int32 type, IntPtr indices); + [Slot(436)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawElementsBaseVertex(System.Int32 mode, Int32 count, System.Int32 type, IntPtr indices, Int32 basevertex); + [Slot(437)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawElementsIndirect(System.Int32 mode, System.Int32 type, IntPtr indirect); + [Slot(438)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawElementsInstanced(System.Int32 mode, Int32 count, System.Int32 type, IntPtr indices, Int32 instancecount); + [Slot(440)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawElementsInstancedBaseInstance(System.Int32 mode, Int32 count, System.Int32 type, IntPtr indices, Int32 instancecount, UInt32 baseinstance); + [Slot(441)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawElementsInstancedBaseVertex(System.Int32 mode, Int32 count, System.Int32 type, IntPtr indices, Int32 instancecount, Int32 basevertex); + [Slot(442)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawElementsInstancedBaseVertexBaseInstance(System.Int32 mode, Int32 count, System.Int32 type, IntPtr indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance); + [Slot(445)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawPixels(Int32 width, Int32 height, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(448)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawRangeElements(System.Int32 mode, UInt32 start, UInt32 end, Int32 count, System.Int32 type, IntPtr indices); + [Slot(449)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawRangeElementsBaseVertex(System.Int32 mode, UInt32 start, UInt32 end, Int32 count, System.Int32 type, IntPtr indices, Int32 basevertex); + [Slot(452)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawTransformFeedback(System.Int32 mode, UInt32 id); + [Slot(453)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawTransformFeedbackInstanced(System.Int32 mode, UInt32 id, Int32 instancecount); + [Slot(455)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawTransformFeedbackStream(System.Int32 mode, UInt32 id, UInt32 stream); + [Slot(456)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawTransformFeedbackStreamInstanced(System.Int32 mode, UInt32 id, UInt32 stream, Int32 instancecount); + [Slot(457)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEdgeFlag(bool flag); + [Slot(459)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEdgeFlagPointer(Int32 stride, IntPtr pointer); + [Slot(462)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glEdgeFlagv(bool* flag); + [Slot(465)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEnable(System.Int32 cap); + [Slot(466)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEnableClientState(System.Int32 array); + [Slot(469)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEnablei(System.Int32 target, UInt32 index); + [Slot(475)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEnableVertexAttribArray(UInt32 index); + [Slot(477)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEnd(); + [Slot(478)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEndConditionalRender(); + [Slot(482)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEndList(); + [Slot(485)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEndQuery(System.Int32 target); + [Slot(487)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEndQueryIndexed(System.Int32 target, UInt32 index); + [Slot(488)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEndTransformFeedback(); + [Slot(493)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEvalCoord1d(Double u); + [Slot(494)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glEvalCoord1dv(Double* u); + [Slot(495)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEvalCoord1f(Single u); + [Slot(496)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glEvalCoord1fv(Single* u); + [Slot(499)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEvalCoord2d(Double u, Double v); + [Slot(500)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glEvalCoord2dv(Double* u); + [Slot(501)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEvalCoord2f(Single u, Single v); + [Slot(502)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glEvalCoord2fv(Single* u); + [Slot(506)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEvalMesh1(System.Int32 mode, Int32 i1, Int32 i2); + [Slot(507)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEvalMesh2(System.Int32 mode, Int32 i1, Int32 i2, Int32 j1, Int32 j2); + [Slot(508)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEvalPoint1(Int32 i); + [Slot(509)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEvalPoint2(Int32 i, Int32 j); + [Slot(512)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glFeedbackBuffer(Int32 size, System.Int32 type, [OutAttribute] Single* buffer); + [Slot(514)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern IntPtr glFenceSync(System.Int32 condition, System.Int32 flags); + [Slot(516)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFinish(); + [Slot(522)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFlush(); + [Slot(523)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFlushMappedBufferRange(System.Int32 target, IntPtr offset, IntPtr length); + [Slot(531)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFogCoordd(Double coord); + [Slot(533)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glFogCoorddv(Double* coord); + [Slot(535)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFogCoordf(Single coord); + [Slot(538)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glFogCoordfv(Single* coord); + [Slot(542)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFogCoordPointer(System.Int32 type, Int32 stride, IntPtr pointer); + [Slot(545)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFogf(System.Int32 pname, Single param); + [Slot(547)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glFogfv(System.Int32 pname, Single* @params); + [Slot(548)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFogi(System.Int32 pname, Int32 param); + [Slot(549)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glFogiv(System.Int32 pname, Int32* @params); + [Slot(567)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferParameteri(System.Int32 target, System.Int32 pname, Int32 param); + [Slot(569)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferRenderbuffer(System.Int32 target, System.Int32 attachment, System.Int32 renderbuffertarget, UInt32 renderbuffer); + [Slot(571)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferTexture(System.Int32 target, System.Int32 attachment, UInt32 texture, Int32 level); + [Slot(572)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferTexture1D(System.Int32 target, System.Int32 attachment, System.Int32 textarget, UInt32 texture, Int32 level); + [Slot(574)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferTexture2D(System.Int32 target, System.Int32 attachment, System.Int32 textarget, UInt32 texture, Int32 level); + [Slot(576)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferTexture3D(System.Int32 target, System.Int32 attachment, System.Int32 textarget, UInt32 texture, Int32 level, Int32 zoffset); + [Slot(582)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferTextureLayer(System.Int32 target, System.Int32 attachment, UInt32 texture, Int32 level, Int32 layer); + [Slot(588)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFrontFace(System.Int32 mode); + [Slot(589)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFrustum(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); + [Slot(593)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenBuffers(Int32 n, [OutAttribute] UInt32* buffers); + [Slot(595)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGenerateMipmap(System.Int32 target); + [Slot(602)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers); + [Slot(604)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGenLists(Int32 range); + [Slot(609)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenProgramPipelines(Int32 n, [OutAttribute] UInt32* pipelines); + [Slot(613)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenQueries(Int32 n, [OutAttribute] UInt32* ids); + [Slot(615)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers); + [Slot(617)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenSamplers(Int32 count, [OutAttribute] UInt32* samplers); + [Slot(619)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenTextures(Int32 n, [OutAttribute] UInt32* textures); + [Slot(621)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenTransformFeedbacks(Int32 n, [OutAttribute] UInt32* ids); + [Slot(623)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays); + [Slot(626)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetActiveAtomicCounterBufferiv(UInt32 program, UInt32 bufferIndex, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(627)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] System.Int32* type, [OutAttribute] IntPtr name); + [Slot(629)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetActiveSubroutineName(UInt32 program, System.Int32 shadertype, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] IntPtr name); + [Slot(630)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetActiveSubroutineUniformiv(UInt32 program, System.Int32 shadertype, UInt32 index, System.Int32 pname, [OutAttribute] Int32* values); + [Slot(631)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetActiveSubroutineUniformName(UInt32 program, System.Int32 shadertype, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] IntPtr name); + [Slot(632)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] System.Int32* type, [OutAttribute] IntPtr name); + [Slot(634)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetActiveUniformBlockiv(UInt32 program, UInt32 uniformBlockIndex, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(635)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr uniformBlockName); + [Slot(636)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr uniformName); + [Slot(637)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetActiveUniformsiv(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(642)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders); + [Slot(643)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGetAttribLocation(UInt32 program, IntPtr name); + [Slot(645)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetBooleani_v(System.Int32 target, UInt32 index, [OutAttribute] bool* data); + [Slot(647)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetBooleanv(System.Int32 pname, [OutAttribute] bool* data); + [Slot(648)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetBufferParameteri64v(System.Int32 target, System.Int32 pname, [OutAttribute] Int64* @params); + [Slot(649)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetBufferParameteriv(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(652)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetBufferPointerv(System.Int32 target, System.Int32 pname, [OutAttribute] IntPtr @params); + [Slot(654)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetBufferSubData(System.Int32 target, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data); + [Slot(656)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetClipPlane(System.Int32 plane, [OutAttribute] Double* equation); + [Slot(659)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetColorTable(System.Int32 target, System.Int32 format, System.Int32 type, [OutAttribute] IntPtr table); + [Slot(661)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetColorTableParameterfv(System.Int32 target, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(664)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetColorTableParameteriv(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(674)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetCompressedTexImage(System.Int32 target, Int32 level, [OutAttribute] IntPtr img); + [Slot(677)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetConvolutionFilter(System.Int32 target, System.Int32 format, System.Int32 type, [OutAttribute] IntPtr image); + [Slot(679)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetConvolutionParameterfv(System.Int32 target, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(681)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetConvolutionParameteriv(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(684)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe Int32 glGetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] System.Int32* sources, [OutAttribute] System.Int32* types, [OutAttribute] UInt32* ids, [OutAttribute] System.Int32* severities, [OutAttribute] Int32* lengths, [OutAttribute] IntPtr messageLog); + [Slot(689)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetDoublei_v(System.Int32 target, UInt32 index, [OutAttribute] Double* data); + [Slot(692)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetDoublev(System.Int32 pname, [OutAttribute] Double* data); + [Slot(693)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern System.Int32 glGetError(); + [Slot(698)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetFloati_v(System.Int32 target, UInt32 index, [OutAttribute] Single* data); + [Slot(701)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetFloatv(System.Int32 pname, [OutAttribute] Single* data); + [Slot(703)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGetFragDataIndex(UInt32 program, IntPtr name); + [Slot(704)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGetFragDataLocation(UInt32 program, IntPtr name); + [Slot(710)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetFramebufferAttachmentParameteriv(System.Int32 target, System.Int32 attachment, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(712)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetFramebufferParameteriv(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(716)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetHistogram(System.Int32 target, bool reset, System.Int32 format, System.Int32 type, [OutAttribute] IntPtr values); + [Slot(718)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetHistogramParameterfv(System.Int32 target, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(720)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetHistogramParameteriv(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(729)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetInteger64i_v(System.Int32 target, UInt32 index, [OutAttribute] Int64* data); + [Slot(730)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetInteger64v(System.Int32 pname, [OutAttribute] Int64* data); + [Slot(731)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetIntegeri_v(System.Int32 target, UInt32 index, [OutAttribute] Int32* data); + [Slot(735)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetIntegerv(System.Int32 pname, [OutAttribute] Int32* data); + [Slot(736)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetInternalformati64v(System.Int32 target, System.Int32 internalformat, System.Int32 pname, Int32 bufSize, [OutAttribute] Int64* @params); + [Slot(737)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetInternalformativ(System.Int32 target, System.Int32 internalformat, System.Int32 pname, Int32 bufSize, [OutAttribute] Int32* @params); + [Slot(741)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetLightfv(System.Int32 light, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(742)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetLightiv(System.Int32 light, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(753)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMapdv(System.Int32 target, System.Int32 query, [OutAttribute] Double* v); + [Slot(754)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMapfv(System.Int32 target, System.Int32 query, [OutAttribute] Single* v); + [Slot(755)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMapiv(System.Int32 target, System.Int32 query, [OutAttribute] Int32* v); + [Slot(759)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMaterialfv(System.Int32 face, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(760)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMaterialiv(System.Int32 face, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(763)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetMinmax(System.Int32 target, bool reset, System.Int32 format, System.Int32 type, [OutAttribute] IntPtr values); + [Slot(765)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMinmaxParameterfv(System.Int32 target, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(767)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMinmaxParameteriv(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(769)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMultisamplefv(System.Int32 pname, UInt32 index, [OutAttribute] Single* val); + [Slot(818)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetObjectLabel(System.Int32 identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr label); + [Slot(824)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr label); + [Slot(847)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPixelMapfv(System.Int32 map, [OutAttribute] Single* values); + [Slot(848)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPixelMapuiv(System.Int32 map, [OutAttribute] UInt32* values); + [Slot(849)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPixelMapusv(System.Int32 map, [OutAttribute] UInt16* values); + [Slot(850)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPixelMapxv(System.Int32 map, Int32 size, [OutAttribute] int* values); + [Slot(857)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetPointerv(System.Int32 pname, [OutAttribute] IntPtr @params); + [Slot(860)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPolygonStipple([OutAttribute] Byte* mask); + [Slot(861)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] System.Int32* binaryFormat, [OutAttribute] IntPtr binary); + [Slot(866)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr infoLog); + [Slot(867)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramInterfaceiv(UInt32 program, System.Int32 programInterface, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(868)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramiv(UInt32 program, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(879)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr infoLog); + [Slot(881)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramPipelineiv(UInt32 pipeline, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(883)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGetProgramResourceIndex(UInt32 program, System.Int32 programInterface, IntPtr name); + [Slot(884)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramResourceiv(UInt32 program, System.Int32 programInterface, UInt32 index, Int32 propCount, System.Int32* props, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* @params); + [Slot(885)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGetProgramResourceLocation(UInt32 program, System.Int32 programInterface, IntPtr name); + [Slot(886)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGetProgramResourceLocationIndex(UInt32 program, System.Int32 programInterface, IntPtr name); + [Slot(887)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramResourceName(UInt32 program, System.Int32 programInterface, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr name); + [Slot(888)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramStageiv(UInt32 program, System.Int32 shadertype, System.Int32 pname, [OutAttribute] Int32* values); + [Slot(892)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetQueryIndexediv(System.Int32 target, UInt32 index, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(893)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetQueryiv(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(895)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetQueryObjecti64v(UInt32 id, System.Int32 pname, [OutAttribute] Int64* @params); + [Slot(897)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetQueryObjectiv(UInt32 id, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(899)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetQueryObjectui64v(UInt32 id, System.Int32 pname, [OutAttribute] UInt64* @params); + [Slot(901)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetQueryObjectuiv(UInt32 id, System.Int32 pname, [OutAttribute] UInt32* @params); + [Slot(903)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetRenderbufferParameteriv(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(905)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetSamplerParameterfv(UInt32 sampler, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(906)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetSamplerParameterIiv(UInt32 sampler, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(907)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetSamplerParameterIuiv(UInt32 sampler, System.Int32 pname, [OutAttribute] UInt32* @params); + [Slot(908)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetSamplerParameteriv(UInt32 sampler, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(909)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetSeparableFilter(System.Int32 target, System.Int32 format, System.Int32 type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span); + [Slot(911)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr infoLog); + [Slot(912)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetShaderiv(UInt32 shader, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(913)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetShaderPrecisionFormat(System.Int32 shadertype, System.Int32 precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision); + [Slot(914)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr source); + [Slot(917)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern IntPtr glGetString(System.Int32 name); + [Slot(918)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern IntPtr glGetStringi(System.Int32 name, UInt32 index); + [Slot(919)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGetSubroutineIndex(UInt32 program, System.Int32 shadertype, IntPtr name); + [Slot(920)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGetSubroutineUniformLocation(UInt32 program, System.Int32 shadertype, IntPtr name); + [Slot(921)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetSynciv(IntPtr sync, System.Int32 pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); + [Slot(924)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexEnvfv(System.Int32 target, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(925)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexEnviv(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(928)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexGendv(System.Int32 coord, System.Int32 pname, [OutAttribute] Double* @params); + [Slot(929)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexGenfv(System.Int32 coord, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(930)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexGeniv(System.Int32 coord, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(932)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetTexImage(System.Int32 target, Int32 level, System.Int32 format, System.Int32 type, [OutAttribute] IntPtr pixels); + [Slot(933)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexLevelParameterfv(System.Int32 target, Int32 level, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(934)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexLevelParameteriv(System.Int32 target, Int32 level, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(936)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexParameterfv(System.Int32 target, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(937)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexParameterIiv(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(939)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexParameterIuiv(System.Int32 target, System.Int32 pname, [OutAttribute] UInt32* @params); + [Slot(941)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexParameteriv(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(956)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] System.Int32* type, [OutAttribute] IntPtr name); + [Slot(959)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGetUniformBlockIndex(UInt32 program, IntPtr uniformBlockName); + [Slot(961)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetUniformdv(UInt32 program, Int32 location, [OutAttribute] Double* @params); + [Slot(962)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetUniformfv(UInt32 program, Int32 location, [OutAttribute] Single* @params); + [Slot(965)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetUniformIndices(UInt32 program, Int32 uniformCount, IntPtr uniformNames, [OutAttribute] UInt32* uniformIndices); + [Slot(966)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetUniformiv(UInt32 program, Int32 location, [OutAttribute] Int32* @params); + [Slot(968)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGetUniformLocation(UInt32 program, IntPtr name); + [Slot(971)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetUniformSubroutineuiv(System.Int32 shadertype, Int32 location, [OutAttribute] UInt32* @params); + [Slot(973)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetUniformuiv(UInt32 program, Int32 location, [OutAttribute] UInt32* @params); + [Slot(988)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexAttribdv(UInt32 index, System.Int32 pname, [OutAttribute] Double* @params); + [Slot(991)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexAttribfv(UInt32 index, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(994)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexAttribIiv(UInt32 index, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(996)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexAttribIuiv(UInt32 index, System.Int32 pname, [OutAttribute] UInt32* @params); + [Slot(998)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexAttribiv(UInt32 index, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(1001)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexAttribLdv(UInt32 index, System.Int32 pname, [OutAttribute] Double* @params); + [Slot(1006)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetVertexAttribPointerv(UInt32 index, System.Int32 pname, [OutAttribute] IntPtr pointer); + [Slot(1025)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glHint(System.Int32 target, System.Int32 mode); + [Slot(1027)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glHistogram(System.Int32 target, Int32 width, System.Int32 internalformat, bool sink); + [Slot(1035)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glIndexd(Double c); + [Slot(1036)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glIndexdv(Double* c); + [Slot(1037)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glIndexf(Single c); + [Slot(1040)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glIndexfv(Single* c); + [Slot(1041)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glIndexi(Int32 c); + [Slot(1042)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glIndexiv(Int32* c); + [Slot(1043)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glIndexMask(UInt32 mask); + [Slot(1045)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glIndexPointer(System.Int32 type, Int32 stride, IntPtr pointer); + [Slot(1048)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glIndexs(Int16 c); + [Slot(1049)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glIndexsv(Int16* c); + [Slot(1050)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glIndexub(Byte c); + [Slot(1051)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glIndexubv(Byte* c); + [Slot(1054)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glInitNames(); + [Slot(1058)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glInterleavedArrays(System.Int32 format, Int32 stride, IntPtr pointer); + [Slot(1060)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glInvalidateBufferData(UInt32 buffer); + [Slot(1061)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glInvalidateBufferSubData(UInt32 buffer, IntPtr offset, IntPtr length); + [Slot(1062)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glInvalidateFramebuffer(System.Int32 target, Int32 numAttachments, System.Int32* attachments); + [Slot(1063)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glInvalidateSubFramebuffer(System.Int32 target, Int32 numAttachments, System.Int32* attachments, Int32 x, Int32 y, Int32 width, Int32 height); + [Slot(1064)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glInvalidateTexImage(UInt32 texture, Int32 level); + [Slot(1065)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glInvalidateTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth); + [Slot(1067)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsBuffer(UInt32 buffer); + [Slot(1070)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsEnabled(System.Int32 cap); + [Slot(1071)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsEnabledi(System.Int32 target, UInt32 index); + [Slot(1075)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsFramebuffer(UInt32 framebuffer); + [Slot(1079)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsList(UInt32 list); + [Slot(1088)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsProgram(UInt32 program); + [Slot(1091)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsProgramPipeline(UInt32 pipeline); + [Slot(1093)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsQuery(UInt32 id); + [Slot(1095)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsRenderbuffer(UInt32 renderbuffer); + [Slot(1097)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsSampler(UInt32 sampler); + [Slot(1098)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsShader(UInt32 shader); + [Slot(1099)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsSync(IntPtr sync); + [Slot(1100)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsTexture(UInt32 texture); + [Slot(1104)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsTransformFeedback(UInt32 id); + [Slot(1107)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsVertexArray(UInt32 array); + [Slot(1112)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLightf(System.Int32 light, System.Int32 pname, Single param); + [Slot(1113)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glLightfv(System.Int32 light, System.Int32 pname, Single* @params); + [Slot(1114)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLighti(System.Int32 light, System.Int32 pname, Int32 param); + [Slot(1115)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glLightiv(System.Int32 light, System.Int32 pname, Int32* @params); + [Slot(1116)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLightModelf(System.Int32 pname, Single param); + [Slot(1117)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glLightModelfv(System.Int32 pname, Single* @params); + [Slot(1118)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLightModeli(System.Int32 pname, Int32 param); + [Slot(1119)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glLightModeliv(System.Int32 pname, Int32* @params); + [Slot(1124)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLineStipple(Int32 factor, UInt16 pattern); + [Slot(1125)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLineWidth(Single width); + [Slot(1127)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLinkProgram(UInt32 program); + [Slot(1129)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glListBase(UInt32 @base); + [Slot(1134)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLoadIdentity(); + [Slot(1136)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glLoadMatrixd(Double* m); + [Slot(1137)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glLoadMatrixf(Single* m); + [Slot(1139)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLoadName(UInt32 name); + [Slot(1141)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glLoadTransposeMatrixd(Double* m); + [Slot(1143)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glLoadTransposeMatrixf(Single* m); + [Slot(1147)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLogicOp(System.Int32 opcode); + [Slot(1160)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMap1d(System.Int32 target, Double u1, Double u2, Int32 stride, Int32 order, Double* points); + [Slot(1161)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMap1f(System.Int32 target, Single u1, Single u2, Int32 stride, Int32 order, Single* points); + [Slot(1163)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMap2d(System.Int32 target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points); + [Slot(1164)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMap2f(System.Int32 target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points); + [Slot(1166)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern IntPtr glMapBuffer(System.Int32 target, System.Int32 access); + [Slot(1168)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern IntPtr glMapBufferRange(System.Int32 target, IntPtr offset, IntPtr length, System.Int32 access); + [Slot(1170)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMapGrid1d(Int32 un, Double u1, Double u2); + [Slot(1171)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMapGrid1f(Int32 un, Single u1, Single u2); + [Slot(1173)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMapGrid2d(Int32 un, Double u1, Double u2, Int32 vn, Double v1, Double v2); + [Slot(1174)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMapGrid2f(Int32 un, Single u1, Single u2, Int32 vn, Single v1, Single v2); + [Slot(1186)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMaterialf(System.Int32 face, System.Int32 pname, Single param); + [Slot(1187)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMaterialfv(System.Int32 face, System.Int32 pname, Single* @params); + [Slot(1188)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMateriali(System.Int32 face, System.Int32 pname, Int32 param); + [Slot(1189)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMaterialiv(System.Int32 face, System.Int32 pname, Int32* @params); + [Slot(1202)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMatrixMode(System.Int32 mode); + [Slot(1216)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMemoryBarrier(System.Int32 barriers); + [Slot(1218)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMinmax(System.Int32 target, System.Int32 internalformat, bool sink); + [Slot(1220)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMinSampleShading(Single value); + [Slot(1222)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiDrawArrays(System.Int32 mode, Int32* first, Int32* count, Int32 drawcount); + [Slot(1224)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiDrawArraysIndirect(System.Int32 mode, IntPtr indirect, Int32 drawcount, Int32 stride); + [Slot(1229)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiDrawElements(System.Int32 mode, Int32* count, System.Int32 type, IntPtr indices, Int32 drawcount); + [Slot(1230)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiDrawElementsBaseVertex(System.Int32 mode, Int32* count, System.Int32 type, IntPtr indices, Int32 drawcount, Int32* basevertex); + [Slot(1232)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiDrawElementsIndirect(System.Int32 mode, System.Int32 type, IntPtr indirect, Int32 drawcount, Int32 stride); + [Slot(1242)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord1d(System.Int32 target, Double s); + [Slot(1244)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord1dv(System.Int32 target, Double* v); + [Slot(1246)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord1f(System.Int32 target, Single s); + [Slot(1248)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord1fv(System.Int32 target, Single* v); + [Slot(1252)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord1i(System.Int32 target, Int32 s); + [Slot(1254)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord1iv(System.Int32 target, Int32* v); + [Slot(1256)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord1s(System.Int32 target, Int16 s); + [Slot(1258)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord1sv(System.Int32 target, Int16* v); + [Slot(1264)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord2d(System.Int32 target, Double s, Double t); + [Slot(1266)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord2dv(System.Int32 target, Double* v); + [Slot(1268)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord2f(System.Int32 target, Single s, Single t); + [Slot(1270)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord2fv(System.Int32 target, Single* v); + [Slot(1274)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord2i(System.Int32 target, Int32 s, Int32 t); + [Slot(1276)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord2iv(System.Int32 target, Int32* v); + [Slot(1278)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord2s(System.Int32 target, Int16 s, Int16 t); + [Slot(1280)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord2sv(System.Int32 target, Int16* v); + [Slot(1286)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord3d(System.Int32 target, Double s, Double t, Double r); + [Slot(1288)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord3dv(System.Int32 target, Double* v); + [Slot(1290)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord3f(System.Int32 target, Single s, Single t, Single r); + [Slot(1292)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord3fv(System.Int32 target, Single* v); + [Slot(1296)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord3i(System.Int32 target, Int32 s, Int32 t, Int32 r); + [Slot(1298)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord3iv(System.Int32 target, Int32* v); + [Slot(1300)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord3s(System.Int32 target, Int16 s, Int16 t, Int16 r); + [Slot(1302)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord3sv(System.Int32 target, Int16* v); + [Slot(1308)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord4d(System.Int32 target, Double s, Double t, Double r, Double q); + [Slot(1310)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord4dv(System.Int32 target, Double* v); + [Slot(1312)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord4f(System.Int32 target, Single s, Single t, Single r, Single q); + [Slot(1314)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord4fv(System.Int32 target, Single* v); + [Slot(1318)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord4i(System.Int32 target, Int32 s, Int32 t, Int32 r, Int32 q); + [Slot(1320)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord4iv(System.Int32 target, Int32* v); + [Slot(1322)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord4s(System.Int32 target, Int16 s, Int16 t, Int16 r, Int16 q); + [Slot(1324)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord4sv(System.Int32 target, Int16* v); + [Slot(1328)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoordP1ui(System.Int32 texture, System.Int32 type, UInt32 coords); + [Slot(1329)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoordP1uiv(System.Int32 texture, System.Int32 type, UInt32* coords); + [Slot(1330)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoordP2ui(System.Int32 texture, System.Int32 type, UInt32 coords); + [Slot(1331)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoordP2uiv(System.Int32 texture, System.Int32 type, UInt32* coords); + [Slot(1332)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoordP3ui(System.Int32 texture, System.Int32 type, UInt32 coords); + [Slot(1333)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoordP3uiv(System.Int32 texture, System.Int32 type, UInt32* coords); + [Slot(1334)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoordP4ui(System.Int32 texture, System.Int32 type, UInt32 coords); + [Slot(1335)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoordP4uiv(System.Int32 texture, System.Int32 type, UInt32* coords); + [Slot(1360)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultMatrixd(Double* m); + [Slot(1361)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultMatrixf(Single* m); + [Slot(1363)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultTransposeMatrixd(Double* m); + [Slot(1365)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultTransposeMatrixf(Single* m); + [Slot(1396)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNewList(UInt32 list, System.Int32 mode); + [Slot(1398)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNormal3b(SByte nx, SByte ny, SByte nz); + [Slot(1399)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glNormal3bv(SByte* v); + [Slot(1400)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNormal3d(Double nx, Double ny, Double nz); + [Slot(1401)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glNormal3dv(Double* v); + [Slot(1402)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNormal3f(Single nx, Single ny, Single nz); + [Slot(1403)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glNormal3fv(Single* v); + [Slot(1408)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNormal3i(Int32 nx, Int32 ny, Int32 nz); + [Slot(1409)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glNormal3iv(Int32* v); + [Slot(1410)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNormal3s(Int16 nx, Int16 ny, Int16 nz); + [Slot(1411)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glNormal3sv(Int16* v); + [Slot(1415)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNormalP3ui(System.Int32 type, UInt32 coords); + [Slot(1416)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glNormalP3uiv(System.Int32 type, UInt32* coords); + [Slot(1417)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNormalPointer(System.Int32 type, Int32 stride, IntPtr pointer); + [Slot(1431)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glObjectLabel(System.Int32 identifier, UInt32 name, Int32 length, IntPtr label); + [Slot(1433)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glObjectPtrLabel(IntPtr ptr, Int32 length, IntPtr label); + [Slot(1437)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glOrtho(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); + [Slot(1441)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPassThrough(Single token); + [Slot(1443)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPatchParameterfv(System.Int32 pname, Single* values); + [Slot(1444)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPatchParameteri(System.Int32 pname, Int32 value); + [Slot(1463)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPauseTransformFeedback(); + [Slot(1466)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPixelMapfv(System.Int32 map, Int32 mapsize, Single* values); + [Slot(1467)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPixelMapuiv(System.Int32 map, Int32 mapsize, UInt32* values); + [Slot(1468)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPixelMapusv(System.Int32 map, Int32 mapsize, UInt16* values); + [Slot(1469)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPixelMapx(System.Int32 map, Int32 size, int* values); + [Slot(1470)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPixelStoref(System.Int32 pname, Single param); + [Slot(1471)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPixelStorei(System.Int32 pname, Int32 param); + [Slot(1472)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPixelStorex(System.Int32 pname, int param); + [Slot(1478)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPixelTransferf(System.Int32 pname, Single param); + [Slot(1479)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPixelTransferi(System.Int32 pname, Int32 param); + [Slot(1485)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPixelZoom(Single xfactor, Single yfactor); + [Slot(1490)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPointParameterf(System.Int32 pname, Single param); + [Slot(1494)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPointParameterfv(System.Int32 pname, Single* @params); + [Slot(1498)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPointParameteri(System.Int32 pname, Int32 param); + [Slot(1500)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPointParameteriv(System.Int32 pname, Int32* @params); + [Slot(1504)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPointSize(Single size); + [Slot(1508)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPolygonMode(System.Int32 face, System.Int32 mode); + [Slot(1509)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPolygonOffset(Single factor, Single units); + [Slot(1512)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPolygonStipple(Byte* mask); + [Slot(1513)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPopAttrib(); + [Slot(1514)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPopClientAttrib(); + [Slot(1515)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPopDebugGroup(); + [Slot(1518)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPopMatrix(); + [Slot(1519)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPopName(); + [Slot(1522)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPrimitiveRestartIndex(UInt32 index); + [Slot(1525)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPrioritizeTextures(Int32 n, UInt32* textures, Single* priorities); + [Slot(1528)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramBinary(UInt32 program, System.Int32 binaryFormat, IntPtr binary, Int32 length); + [Slot(1562)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramParameteri(UInt32 program, System.Int32 pname, Int32 value); + [Slot(1569)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform1d(UInt32 program, Int32 location, Double v0); + [Slot(1571)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform1dv(UInt32 program, Int32 location, Int32 count, Double* value); + [Slot(1573)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform1f(UInt32 program, Int32 location, Single v0); + [Slot(1575)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform1fv(UInt32 program, Int32 location, Int32 count, Single* value); + [Slot(1577)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform1i(UInt32 program, Int32 location, Int32 v0); + [Slot(1581)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform1iv(UInt32 program, Int32 location, Int32 count, Int32* value); + [Slot(1583)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform1ui(UInt32 program, Int32 location, UInt32 v0); + [Slot(1587)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform1uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); + [Slot(1589)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform2d(UInt32 program, Int32 location, Double v0, Double v1); + [Slot(1591)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform2dv(UInt32 program, Int32 location, Int32 count, Double* value); + [Slot(1593)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform2f(UInt32 program, Int32 location, Single v0, Single v1); + [Slot(1595)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform2fv(UInt32 program, Int32 location, Int32 count, Single* value); + [Slot(1597)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform2i(UInt32 program, Int32 location, Int32 v0, Int32 v1); + [Slot(1601)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform2iv(UInt32 program, Int32 location, Int32 count, Int32* value); + [Slot(1603)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform2ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1); + [Slot(1607)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform2uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); + [Slot(1609)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform3d(UInt32 program, Int32 location, Double v0, Double v1, Double v2); + [Slot(1611)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform3dv(UInt32 program, Int32 location, Int32 count, Double* value); + [Slot(1613)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform3f(UInt32 program, Int32 location, Single v0, Single v1, Single v2); + [Slot(1615)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform3fv(UInt32 program, Int32 location, Int32 count, Single* value); + [Slot(1617)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform3i(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2); + [Slot(1621)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform3iv(UInt32 program, Int32 location, Int32 count, Int32* value); + [Slot(1623)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform3ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); + [Slot(1627)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform3uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); + [Slot(1629)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform4d(UInt32 program, Int32 location, Double v0, Double v1, Double v2, Double v3); + [Slot(1631)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform4dv(UInt32 program, Int32 location, Int32 count, Double* value); + [Slot(1633)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform4f(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3); + [Slot(1635)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform4fv(UInt32 program, Int32 location, Int32 count, Single* value); + [Slot(1637)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform4i(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); + [Slot(1641)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform4iv(UInt32 program, Int32 location, Int32 count, Int32* value); + [Slot(1643)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform4ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); + [Slot(1647)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform4uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); + [Slot(1653)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [Slot(1655)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(1657)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix2x3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [Slot(1659)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix2x3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(1661)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix2x4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [Slot(1663)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix2x4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(1665)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [Slot(1667)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(1669)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix3x2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [Slot(1671)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix3x2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(1673)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix3x4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [Slot(1675)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix3x4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(1677)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [Slot(1679)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(1681)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix4x2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [Slot(1683)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix4x2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(1685)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix4x3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [Slot(1687)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix4x3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(1692)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProvokingVertex(System.Int32 mode); + [Slot(1694)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPushAttrib(System.Int32 mask); + [Slot(1695)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPushClientAttrib(System.Int32 mask); + [Slot(1697)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPushDebugGroup(System.Int32 source, UInt32 id, Int32 length, IntPtr message); + [Slot(1700)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPushMatrix(); + [Slot(1701)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPushName(UInt32 name); + [Slot(1702)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glQueryCounter(UInt32 id, System.Int32 target); + [Slot(1705)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRasterPos2d(Double x, Double y); + [Slot(1706)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glRasterPos2dv(Double* v); + [Slot(1707)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRasterPos2f(Single x, Single y); + [Slot(1708)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glRasterPos2fv(Single* v); + [Slot(1709)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRasterPos2i(Int32 x, Int32 y); + [Slot(1710)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glRasterPos2iv(Int32* v); + [Slot(1711)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRasterPos2s(Int16 x, Int16 y); + [Slot(1712)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glRasterPos2sv(Int16* v); + [Slot(1715)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRasterPos3d(Double x, Double y, Double z); + [Slot(1716)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glRasterPos3dv(Double* v); + [Slot(1717)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRasterPos3f(Single x, Single y, Single z); + [Slot(1718)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glRasterPos3fv(Single* v); + [Slot(1719)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRasterPos3i(Int32 x, Int32 y, Int32 z); + [Slot(1720)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glRasterPos3iv(Int32* v); + [Slot(1721)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRasterPos3s(Int16 x, Int16 y, Int16 z); + [Slot(1722)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glRasterPos3sv(Int16* v); + [Slot(1725)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRasterPos4d(Double x, Double y, Double z, Double w); + [Slot(1726)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glRasterPos4dv(Double* v); + [Slot(1727)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRasterPos4f(Single x, Single y, Single z, Single w); + [Slot(1728)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glRasterPos4fv(Single* v); + [Slot(1729)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRasterPos4i(Int32 x, Int32 y, Int32 z, Int32 w); + [Slot(1730)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glRasterPos4iv(Int32* v); + [Slot(1731)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRasterPos4s(Int16 x, Int16 y, Int16 z, Int16 w); + [Slot(1732)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glRasterPos4sv(Int16* v); + [Slot(1735)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glReadBuffer(System.Int32 mode); + [Slot(1738)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, System.Int32 format, System.Int32 type, [OutAttribute] IntPtr pixels); + [Slot(1739)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRectd(Double x1, Double y1, Double x2, Double y2); + [Slot(1740)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glRectdv(Double* v1, Double* v2); + [Slot(1741)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRectf(Single x1, Single y1, Single x2, Single y2); + [Slot(1742)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glRectfv(Single* v1, Single* v2); + [Slot(1743)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRecti(Int32 x1, Int32 y1, Int32 x2, Int32 y2); + [Slot(1744)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glRectiv(Int32* v1, Int32* v2); + [Slot(1745)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRects(Int16 x1, Int16 y1, Int16 x2, Int16 y2); + [Slot(1746)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glRectsv(Int16* v1, Int16* v2); + [Slot(1750)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glReleaseShaderCompiler(); + [Slot(1751)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRenderbufferStorage(System.Int32 target, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(1753)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRenderbufferStorageMultisample(System.Int32 target, Int32 samples, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(1756)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glRenderMode(System.Int32 mode); + [Slot(1781)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glResetHistogram(System.Int32 target); + [Slot(1783)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glResetMinmax(System.Int32 target); + [Slot(1786)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glResumeTransformFeedback(); + [Slot(1788)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRotated(Double angle, Double x, Double y, Double z); + [Slot(1789)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRotatef(Single angle, Single x, Single y, Single z); + [Slot(1791)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSampleCoverage(Single value, bool invert); + [Slot(1797)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSampleMaski(UInt32 index, UInt32 mask); + [Slot(1802)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSamplerParameterf(UInt32 sampler, System.Int32 pname, Single param); + [Slot(1803)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSamplerParameterfv(UInt32 sampler, System.Int32 pname, Single* param); + [Slot(1804)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSamplerParameteri(UInt32 sampler, System.Int32 pname, Int32 param); + [Slot(1805)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSamplerParameterIiv(UInt32 sampler, System.Int32 pname, Int32* param); + [Slot(1806)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSamplerParameterIuiv(UInt32 sampler, System.Int32 pname, UInt32* param); + [Slot(1807)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSamplerParameteriv(UInt32 sampler, System.Int32 pname, Int32* param); + [Slot(1808)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glScaled(Double x, Double y, Double z); + [Slot(1809)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glScalef(Single x, Single y, Single z); + [Slot(1811)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glScissor(Int32 x, Int32 y, Int32 width, Int32 height); + [Slot(1812)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glScissorArrayv(UInt32 first, Int32 count, Int32* v); + [Slot(1813)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glScissorIndexed(UInt32 index, Int32 left, Int32 bottom, Int32 width, Int32 height); + [Slot(1814)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glScissorIndexedv(UInt32 index, Int32* v); + [Slot(1815)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSecondaryColor3b(SByte red, SByte green, SByte blue); + [Slot(1817)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSecondaryColor3bv(SByte* v); + [Slot(1819)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSecondaryColor3d(Double red, Double green, Double blue); + [Slot(1821)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSecondaryColor3dv(Double* v); + [Slot(1823)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSecondaryColor3f(Single red, Single green, Single blue); + [Slot(1825)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSecondaryColor3fv(Single* v); + [Slot(1829)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSecondaryColor3i(Int32 red, Int32 green, Int32 blue); + [Slot(1831)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSecondaryColor3iv(Int32* v); + [Slot(1833)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSecondaryColor3s(Int16 red, Int16 green, Int16 blue); + [Slot(1835)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSecondaryColor3sv(Int16* v); + [Slot(1837)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSecondaryColor3ub(Byte red, Byte green, Byte blue); + [Slot(1839)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSecondaryColor3ubv(Byte* v); + [Slot(1841)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSecondaryColor3ui(UInt32 red, UInt32 green, UInt32 blue); + [Slot(1843)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSecondaryColor3uiv(UInt32* v); + [Slot(1845)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSecondaryColor3us(UInt16 red, UInt16 green, UInt16 blue); + [Slot(1847)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSecondaryColor3usv(UInt16* v); + [Slot(1850)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSecondaryColorP3ui(System.Int32 type, UInt32 color); + [Slot(1851)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSecondaryColorP3uiv(System.Int32 type, UInt32* color); + [Slot(1852)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSecondaryColorPointer(Int32 size, System.Int32 type, Int32 stride, IntPtr pointer); + [Slot(1855)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSelectBuffer(Int32 size, [OutAttribute] UInt32* buffer); + [Slot(1857)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSeparableFilter2D(System.Int32 target, System.Int32 internalformat, Int32 width, Int32 height, System.Int32 format, System.Int32 type, IntPtr row, IntPtr column); + [Slot(1865)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glShadeModel(System.Int32 mode); + [Slot(1866)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glShaderBinary(Int32 count, UInt32* shaders, System.Int32 binaryformat, IntPtr binary, Int32 length); + [Slot(1870)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glShaderSource(UInt32 shader, Int32 count, IntPtr @string, Int32* length); + [Slot(1872)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glShaderStorageBlockBinding(UInt32 program, UInt32 storageBlockIndex, UInt32 storageBlockBinding); + [Slot(1882)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStencilFunc(System.Int32 func, Int32 @ref, UInt32 mask); + [Slot(1883)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStencilFuncSeparate(System.Int32 face, System.Int32 func, Int32 @ref, UInt32 mask); + [Slot(1885)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStencilMask(UInt32 mask); + [Slot(1886)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStencilMaskSeparate(System.Int32 face, UInt32 mask); + [Slot(1887)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStencilOp(System.Int32 fail, System.Int32 zfail, System.Int32 zpass); + [Slot(1888)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStencilOpSeparate(System.Int32 face, System.Int32 sfail, System.Int32 dpfail, System.Int32 dppass); + [Slot(1915)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexBuffer(System.Int32 target, System.Int32 internalformat, UInt32 buffer); + [Slot(1918)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexBufferRange(System.Int32 target, System.Int32 internalformat, UInt32 buffer, IntPtr offset, IntPtr size); + [Slot(1923)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord1d(Double s); + [Slot(1924)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord1dv(Double* v); + [Slot(1925)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord1f(Single s); + [Slot(1926)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord1fv(Single* v); + [Slot(1929)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord1i(Int32 s); + [Slot(1930)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord1iv(Int32* v); + [Slot(1931)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord1s(Int16 s); + [Slot(1932)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord1sv(Int16* v); + [Slot(1937)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord2d(Double s, Double t); + [Slot(1938)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord2dv(Double* v); + [Slot(1939)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord2f(Single s, Single t); + [Slot(1948)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord2fv(Single* v); + [Slot(1953)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord2i(Int32 s, Int32 t); + [Slot(1954)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord2iv(Int32* v); + [Slot(1955)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord2s(Int16 s, Int16 t); + [Slot(1956)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord2sv(Int16* v); + [Slot(1961)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord3d(Double s, Double t, Double r); + [Slot(1962)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord3dv(Double* v); + [Slot(1963)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord3f(Single s, Single t, Single r); + [Slot(1964)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord3fv(Single* v); + [Slot(1967)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord3i(Int32 s, Int32 t, Int32 r); + [Slot(1968)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord3iv(Int32* v); + [Slot(1969)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord3s(Int16 s, Int16 t, Int16 r); + [Slot(1970)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord3sv(Int16* v); + [Slot(1975)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord4d(Double s, Double t, Double r, Double q); + [Slot(1976)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord4dv(Double* v); + [Slot(1977)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord4f(Single s, Single t, Single r, Single q); + [Slot(1980)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord4fv(Single* v); + [Slot(1985)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord4i(Int32 s, Int32 t, Int32 r, Int32 q); + [Slot(1986)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord4iv(Int32* v); + [Slot(1987)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord4s(Int16 s, Int16 t, Int16 r, Int16 q); + [Slot(1988)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord4sv(Int16* v); + [Slot(1992)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoordP1ui(System.Int32 type, UInt32 coords); + [Slot(1993)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoordP1uiv(System.Int32 type, UInt32* coords); + [Slot(1994)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoordP2ui(System.Int32 type, UInt32 coords); + [Slot(1995)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoordP2uiv(System.Int32 type, UInt32* coords); + [Slot(1996)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoordP3ui(System.Int32 type, UInt32 coords); + [Slot(1997)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoordP3uiv(System.Int32 type, UInt32* coords); + [Slot(1998)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoordP4ui(System.Int32 type, UInt32 coords); + [Slot(1999)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoordP4uiv(System.Int32 type, UInt32* coords); + [Slot(2000)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoordPointer(Int32 size, System.Int32 type, Int32 stride, IntPtr pointer); + [Slot(2004)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexEnvf(System.Int32 target, System.Int32 pname, Single param); + [Slot(2005)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexEnvfv(System.Int32 target, System.Int32 pname, Single* @params); + [Slot(2006)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexEnvi(System.Int32 target, System.Int32 pname, Int32 param); + [Slot(2007)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexEnviv(System.Int32 target, System.Int32 pname, Int32* @params); + [Slot(2011)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexGend(System.Int32 coord, System.Int32 pname, Double param); + [Slot(2012)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexGendv(System.Int32 coord, System.Int32 pname, Double* @params); + [Slot(2013)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexGenf(System.Int32 coord, System.Int32 pname, Single param); + [Slot(2014)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexGenfv(System.Int32 coord, System.Int32 pname, Single* @params); + [Slot(2015)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexGeni(System.Int32 coord, System.Int32 pname, Int32 param); + [Slot(2016)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexGeniv(System.Int32 coord, System.Int32 pname, Int32* @params); + [Slot(2019)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexImage1D(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 width, Int32 border, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(2020)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexImage2D(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 width, Int32 height, Int32 border, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(2021)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexImage2DMultisample(System.Int32 target, Int32 samples, System.Int32 internalformat, Int32 width, Int32 height, bool fixedsamplelocations); + [Slot(2023)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexImage3D(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(2025)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexImage3DMultisample(System.Int32 target, Int32 samples, System.Int32 internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations); + [Slot(2029)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexParameterf(System.Int32 target, System.Int32 pname, Single param); + [Slot(2030)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexParameterfv(System.Int32 target, System.Int32 pname, Single* @params); + [Slot(2031)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexParameteri(System.Int32 target, System.Int32 pname, Int32 param); + [Slot(2032)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexParameterIiv(System.Int32 target, System.Int32 pname, Int32* @params); + [Slot(2034)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexParameterIuiv(System.Int32 target, System.Int32 pname, UInt32* @params); + [Slot(2036)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexParameteriv(System.Int32 target, System.Int32 pname, Int32* @params); + [Slot(2040)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexStorage1D(System.Int32 target, Int32 levels, System.Int32 internalformat, Int32 width); + [Slot(2041)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexStorage2D(System.Int32 target, Int32 levels, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(2042)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexStorage2DMultisample(System.Int32 target, Int32 samples, System.Int32 internalformat, Int32 width, Int32 height, bool fixedsamplelocations); + [Slot(2043)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexStorage3D(System.Int32 target, Int32 levels, System.Int32 internalformat, Int32 width, Int32 height, Int32 depth); + [Slot(2044)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexStorage3DMultisample(System.Int32 target, Int32 samples, System.Int32 internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations); + [Slot(2046)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexSubImage1D(System.Int32 target, Int32 level, Int32 xoffset, Int32 width, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(2048)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexSubImage2D(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(2050)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexSubImage3D(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(2085)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureView(UInt32 texture, System.Int32 target, UInt32 origtexture, System.Int32 internalformat, UInt32 minlevel, UInt32 numlevels, UInt32 minlayer, UInt32 numlayers); + [Slot(2089)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTransformFeedbackVaryings(UInt32 program, Int32 count, IntPtr varyings, System.Int32 bufferMode); + [Slot(2093)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTranslated(Double x, Double y, Double z); + [Slot(2094)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTranslatef(Single x, Single y, Single z); + [Slot(2096)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform1d(Int32 location, Double x); + [Slot(2097)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform1dv(Int32 location, Int32 count, Double* value); + [Slot(2098)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform1f(Int32 location, Single v0); + [Slot(2100)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform1fv(Int32 location, Int32 count, Single* value); + [Slot(2102)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform1i(Int32 location, Int32 v0); + [Slot(2106)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform1iv(Int32 location, Int32 count, Int32* value); + [Slot(2108)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform1ui(Int32 location, UInt32 v0); + [Slot(2112)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform1uiv(Int32 location, Int32 count, UInt32* value); + [Slot(2114)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform2d(Int32 location, Double x, Double y); + [Slot(2115)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform2dv(Int32 location, Int32 count, Double* value); + [Slot(2116)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform2f(Int32 location, Single v0, Single v1); + [Slot(2118)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform2fv(Int32 location, Int32 count, Single* value); + [Slot(2120)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform2i(Int32 location, Int32 v0, Int32 v1); + [Slot(2124)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform2iv(Int32 location, Int32 count, Int32* value); + [Slot(2126)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform2ui(Int32 location, UInt32 v0, UInt32 v1); + [Slot(2130)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform2uiv(Int32 location, Int32 count, UInt32* value); + [Slot(2132)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform3d(Int32 location, Double x, Double y, Double z); + [Slot(2133)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform3dv(Int32 location, Int32 count, Double* value); + [Slot(2134)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform3f(Int32 location, Single v0, Single v1, Single v2); + [Slot(2136)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform3fv(Int32 location, Int32 count, Single* value); + [Slot(2138)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform3i(Int32 location, Int32 v0, Int32 v1, Int32 v2); + [Slot(2142)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform3iv(Int32 location, Int32 count, Int32* value); + [Slot(2144)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform3ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); + [Slot(2148)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform3uiv(Int32 location, Int32 count, UInt32* value); + [Slot(2150)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform4d(Int32 location, Double x, Double y, Double z, Double w); + [Slot(2151)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform4dv(Int32 location, Int32 count, Double* value); + [Slot(2152)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform4f(Int32 location, Single v0, Single v1, Single v2, Single v3); + [Slot(2154)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform4fv(Int32 location, Int32 count, Single* value); + [Slot(2156)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform4i(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); + [Slot(2160)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform4iv(Int32 location, Int32 count, Int32* value); + [Slot(2162)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform4ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); + [Slot(2166)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform4uiv(Int32 location, Int32 count, UInt32* value); + [Slot(2168)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding); + [Slot(2174)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix2dv(Int32 location, Int32 count, bool transpose, Double* value); + [Slot(2175)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix2fv(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(2177)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix2x3dv(Int32 location, Int32 count, bool transpose, Double* value); + [Slot(2178)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix2x3fv(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(2179)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix2x4dv(Int32 location, Int32 count, bool transpose, Double* value); + [Slot(2180)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix2x4fv(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(2181)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix3dv(Int32 location, Int32 count, bool transpose, Double* value); + [Slot(2182)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix3fv(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(2184)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix3x2dv(Int32 location, Int32 count, bool transpose, Double* value); + [Slot(2185)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix3x2fv(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(2186)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix3x4dv(Int32 location, Int32 count, bool transpose, Double* value); + [Slot(2187)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix3x4fv(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(2188)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix4dv(Int32 location, Int32 count, bool transpose, Double* value); + [Slot(2189)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix4fv(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(2191)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix4x2dv(Int32 location, Int32 count, bool transpose, Double* value); + [Slot(2192)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix4x2fv(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(2193)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix4x3dv(Int32 location, Int32 count, bool transpose, Double* value); + [Slot(2194)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix4x3fv(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(2195)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformSubroutinesuiv(System.Int32 shadertype, Int32 count, UInt32* indices); + [Slot(2199)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glUnmapBuffer(System.Int32 target); + [Slot(2205)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUseProgram(UInt32 program); + [Slot(2207)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUseProgramStages(UInt32 pipeline, System.Int32 stages, UInt32 program); + [Slot(2210)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glValidateProgram(UInt32 program); + [Slot(2212)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glValidateProgramPipeline(UInt32 pipeline); + [Slot(2236)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertex2d(Double x, Double y); + [Slot(2237)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertex2dv(Double* v); + [Slot(2238)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertex2f(Single x, Single y); + [Slot(2239)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertex2fv(Single* v); + [Slot(2242)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertex2i(Int32 x, Int32 y); + [Slot(2243)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertex2iv(Int32* v); + [Slot(2244)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertex2s(Int16 x, Int16 y); + [Slot(2245)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertex2sv(Int16* v); + [Slot(2250)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertex3d(Double x, Double y, Double z); + [Slot(2251)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertex3dv(Double* v); + [Slot(2252)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertex3f(Single x, Single y, Single z); + [Slot(2253)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertex3fv(Single* v); + [Slot(2256)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertex3i(Int32 x, Int32 y, Int32 z); + [Slot(2257)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertex3iv(Int32* v); + [Slot(2258)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertex3s(Int16 x, Int16 y, Int16 z); + [Slot(2259)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertex3sv(Int16* v); + [Slot(2264)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertex4d(Double x, Double y, Double z, Double w); + [Slot(2265)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertex4dv(Double* v); + [Slot(2266)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertex4f(Single x, Single y, Single z, Single w); + [Slot(2267)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertex4fv(Single* v); + [Slot(2270)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertex4i(Int32 x, Int32 y, Int32 z, Int32 w); + [Slot(2271)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertex4iv(Int32* v); + [Slot(2272)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertex4s(Int16 x, Int16 y, Int16 z, Int16 w); + [Slot(2273)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertex4sv(Int16* v); + [Slot(2298)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib1d(UInt32 index, Double x); + [Slot(2301)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib1dv(UInt32 index, Double* v); + [Slot(2304)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib1f(UInt32 index, Single x); + [Slot(2307)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib1fv(UInt32 index, Single* v); + [Slot(2312)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib1s(UInt32 index, Int16 x); + [Slot(2315)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib1sv(UInt32 index, Int16* v); + [Slot(2318)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib2d(UInt32 index, Double x, Double y); + [Slot(2321)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib2dv(UInt32 index, Double* v); + [Slot(2324)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib2f(UInt32 index, Single x, Single y); + [Slot(2327)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib2fv(UInt32 index, Single* v); + [Slot(2332)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib2s(UInt32 index, Int16 x, Int16 y); + [Slot(2335)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib2sv(UInt32 index, Int16* v); + [Slot(2338)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib3d(UInt32 index, Double x, Double y, Double z); + [Slot(2341)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib3dv(UInt32 index, Double* v); + [Slot(2344)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib3f(UInt32 index, Single x, Single y, Single z); + [Slot(2347)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib3fv(UInt32 index, Single* v); + [Slot(2352)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib3s(UInt32 index, Int16 x, Int16 y, Int16 z); + [Slot(2355)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib3sv(UInt32 index, Int16* v); + [Slot(2358)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4bv(UInt32 index, SByte* v); + [Slot(2360)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib4d(UInt32 index, Double x, Double y, Double z, Double w); + [Slot(2363)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4dv(UInt32 index, Double* v); + [Slot(2366)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib4f(UInt32 index, Single x, Single y, Single z, Single w); + [Slot(2369)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4fv(UInt32 index, Single* v); + [Slot(2374)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4iv(UInt32 index, Int32* v); + [Slot(2376)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4Nbv(UInt32 index, SByte* v); + [Slot(2378)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4Niv(UInt32 index, Int32* v); + [Slot(2380)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4Nsv(UInt32 index, Int16* v); + [Slot(2382)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib4Nub(UInt32 index, Byte x, Byte y, Byte z, Byte w); + [Slot(2384)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4Nubv(UInt32 index, Byte* v); + [Slot(2386)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4Nuiv(UInt32 index, UInt32* v); + [Slot(2388)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4Nusv(UInt32 index, UInt16* v); + [Slot(2390)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib4s(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w); + [Slot(2393)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4sv(UInt32 index, Int16* v); + [Slot(2397)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4ubv(UInt32 index, Byte* v); + [Slot(2400)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4uiv(UInt32 index, UInt32* v); + [Slot(2402)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4usv(UInt32 index, UInt16* v); + [Slot(2405)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribBinding(UInt32 attribindex, UInt32 bindingindex); + [Slot(2406)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribDivisor(UInt32 index, UInt32 divisor); + [Slot(2408)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribFormat(UInt32 attribindex, Int32 size, System.Int32 type, bool normalized, UInt32 relativeoffset); + [Slot(2410)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribI1i(UInt32 index, Int32 x); + [Slot(2412)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI1iv(UInt32 index, Int32* v); + [Slot(2414)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribI1ui(UInt32 index, UInt32 x); + [Slot(2416)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI1uiv(UInt32 index, UInt32* v); + [Slot(2418)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribI2i(UInt32 index, Int32 x, Int32 y); + [Slot(2420)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI2iv(UInt32 index, Int32* v); + [Slot(2422)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribI2ui(UInt32 index, UInt32 x, UInt32 y); + [Slot(2424)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI2uiv(UInt32 index, UInt32* v); + [Slot(2426)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribI3i(UInt32 index, Int32 x, Int32 y, Int32 z); + [Slot(2428)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI3iv(UInt32 index, Int32* v); + [Slot(2430)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribI3ui(UInt32 index, UInt32 x, UInt32 y, UInt32 z); + [Slot(2432)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI3uiv(UInt32 index, UInt32* v); + [Slot(2434)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI4bv(UInt32 index, SByte* v); + [Slot(2436)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribI4i(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); + [Slot(2438)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI4iv(UInt32 index, Int32* v); + [Slot(2440)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI4sv(UInt32 index, Int16* v); + [Slot(2442)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI4ubv(UInt32 index, Byte* v); + [Slot(2444)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribI4ui(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); + [Slot(2446)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI4uiv(UInt32 index, UInt32* v); + [Slot(2448)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI4usv(UInt32 index, UInt16* v); + [Slot(2450)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribIFormat(UInt32 attribindex, Int32 size, System.Int32 type, UInt32 relativeoffset); + [Slot(2452)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribIPointer(UInt32 index, Int32 size, System.Int32 type, Int32 stride, IntPtr pointer); + [Slot(2454)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribL1d(UInt32 index, Double x); + [Slot(2456)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribL1dv(UInt32 index, Double* v); + [Slot(2464)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribL2d(UInt32 index, Double x, Double y); + [Slot(2466)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribL2dv(UInt32 index, Double* v); + [Slot(2472)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribL3d(UInt32 index, Double x, Double y, Double z); + [Slot(2474)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribL3dv(UInt32 index, Double* v); + [Slot(2480)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribL4d(UInt32 index, Double x, Double y, Double z, Double w); + [Slot(2482)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribL4dv(UInt32 index, Double* v); + [Slot(2488)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribLFormat(UInt32 attribindex, Int32 size, System.Int32 type, UInt32 relativeoffset); + [Slot(2490)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribLPointer(UInt32 index, Int32 size, System.Int32 type, Int32 stride, IntPtr pointer); + [Slot(2492)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribP1ui(UInt32 index, System.Int32 type, bool normalized, UInt32 value); + [Slot(2493)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribP1uiv(UInt32 index, System.Int32 type, bool normalized, UInt32* value); + [Slot(2494)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribP2ui(UInt32 index, System.Int32 type, bool normalized, UInt32 value); + [Slot(2495)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribP2uiv(UInt32 index, System.Int32 type, bool normalized, UInt32* value); + [Slot(2496)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribP3ui(UInt32 index, System.Int32 type, bool normalized, UInt32 value); + [Slot(2497)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribP3uiv(UInt32 index, System.Int32 type, bool normalized, UInt32* value); + [Slot(2498)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribP4ui(UInt32 index, System.Int32 type, bool normalized, UInt32 value); + [Slot(2499)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribP4uiv(UInt32 index, System.Int32 type, bool normalized, UInt32* value); + [Slot(2501)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribPointer(UInt32 index, Int32 size, System.Int32 type, bool normalized, Int32 stride, IntPtr pointer); + [Slot(2521)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexBindingDivisor(UInt32 bindingindex, UInt32 divisor); + [Slot(2526)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexP2ui(System.Int32 type, UInt32 value); + [Slot(2527)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexP2uiv(System.Int32 type, UInt32* value); + [Slot(2528)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexP3ui(System.Int32 type, UInt32 value); + [Slot(2529)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexP3uiv(System.Int32 type, UInt32* value); + [Slot(2530)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexP4ui(System.Int32 type, UInt32 value); + [Slot(2531)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexP4uiv(System.Int32 type, UInt32* value); + [Slot(2532)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexPointer(Int32 size, System.Int32 type, Int32 stride, IntPtr pointer); + [Slot(2577)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glViewport(Int32 x, Int32 y, Int32 width, Int32 height); + [Slot(2578)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glViewportArrayv(UInt32 first, Int32 count, Single* v); + [Slot(2579)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glViewportIndexedf(UInt32 index, Single x, Single y, Single w, Single h); + [Slot(2580)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glViewportIndexedfv(UInt32 index, Single* v); + [Slot(2581)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern System.Int32 glWaitSync(IntPtr sync, System.Int32 flags, UInt64 timeout); + [Slot(2592)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWindowPos2d(Double x, Double y); + [Slot(2595)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWindowPos2dv(Double* v); + [Slot(2598)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWindowPos2f(Single x, Single y); + [Slot(2601)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWindowPos2fv(Single* v); + [Slot(2604)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWindowPos2i(Int32 x, Int32 y); + [Slot(2607)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWindowPos2iv(Int32* v); + [Slot(2610)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWindowPos2s(Int16 x, Int16 y); + [Slot(2613)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWindowPos2sv(Int16* v); + [Slot(2616)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWindowPos3d(Double x, Double y, Double z); + [Slot(2619)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWindowPos3dv(Double* v); + [Slot(2622)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWindowPos3f(Single x, Single y, Single z); + [Slot(2625)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWindowPos3fv(Single* v); + [Slot(2628)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWindowPos3i(Int32 x, Int32 y, Int32 z); + [Slot(2631)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWindowPos3iv(Int32* v); + [Slot(2634)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWindowPos3s(Int16 x, Int16 y, Int16 z); + [Slot(2637)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWindowPos3sv(Int16* v); + [Slot(2)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glActiveProgramEXT(UInt32 program); + [Slot(4)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glActiveShaderProgramEXT(UInt32 pipeline, UInt32 program); + [Slot(5)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glActiveStencilFaceEXT(System.Int32 face); + [Slot(14)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glApplyTextureEXT(System.Int32 mode); + [Slot(17)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe bool glAreTexturesResidentEXT(Int32 n, UInt32* textures, [OutAttribute] bool* residences); + [Slot(19)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glArrayElementEXT(Int32 i); + [Slot(35)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBeginTransformFeedbackEXT(System.Int32 primitiveMode); + [Slot(37)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBeginVertexShaderEXT(); + [Slot(44)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindBufferBaseEXT(System.Int32 target, UInt32 index, UInt32 buffer); + [Slot(46)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindBufferOffsetEXT(System.Int32 target, UInt32 index, UInt32 buffer, IntPtr offset); + [Slot(49)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindBufferRangeEXT(System.Int32 target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); + [Slot(54)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindFragDataLocationEXT(UInt32 program, UInt32 color, IntPtr name); + [Slot(58)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindFramebufferEXT(System.Int32 target, UInt32 framebuffer); + [Slot(60)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindImageTextureEXT(UInt32 index, UInt32 texture, Int32 level, bool layered, Int32 layer, System.Int32 access, Int32 format); + [Slot(62)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glBindLightParameterEXT(System.Int32 light, System.Int32 value); + [Slot(63)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glBindMaterialParameterEXT(System.Int32 face, System.Int32 value); + [Slot(64)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindMultiTextureEXT(System.Int32 texunit, System.Int32 target, UInt32 texture); + [Slot(65)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glBindParameterEXT(System.Int32 value); + [Slot(69)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindProgramPipelineEXT(UInt32 pipeline); + [Slot(71)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindRenderbufferEXT(System.Int32 target, UInt32 renderbuffer); + [Slot(74)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glBindTexGenParameterEXT(System.Int32 unit, System.Int32 coord, System.Int32 value); + [Slot(76)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindTextureEXT(System.Int32 target, UInt32 texture); + [Slot(78)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glBindTextureUnitParameterEXT(System.Int32 unit, System.Int32 value); + [Slot(85)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindVertexShaderEXT(UInt32 id); + [Slot(88)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBinormal3bEXT(SByte bx, SByte by, SByte bz); + [Slot(89)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glBinormal3bvEXT(SByte* v); + [Slot(90)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBinormal3dEXT(Double bx, Double by, Double bz); + [Slot(91)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glBinormal3dvEXT(Double* v); + [Slot(92)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBinormal3fEXT(Single bx, Single by, Single bz); + [Slot(93)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glBinormal3fvEXT(Single* v); + [Slot(94)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBinormal3iEXT(Int32 bx, Int32 by, Int32 bz); + [Slot(95)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glBinormal3ivEXT(Int32* v); + [Slot(96)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBinormal3sEXT(Int16 bx, Int16 by, Int16 bz); + [Slot(97)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glBinormal3svEXT(Int16* v); + [Slot(98)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBinormalPointerEXT(System.Int32 type, Int32 stride, IntPtr pointer); + [Slot(103)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendColorEXT(Single red, Single green, Single blue, Single alpha); + [Slot(106)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendEquationEXT(System.Int32 mode); + [Slot(111)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendEquationSeparateEXT(System.Int32 modeRGB, System.Int32 modeAlpha); + [Slot(120)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendFuncSeparateEXT(System.Int32 sfactorRGB, System.Int32 dfactorRGB, System.Int32 sfactorAlpha, System.Int32 dfactorAlpha); + [Slot(127)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlitFramebufferEXT(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, System.Int32 mask, System.Int32 filter); + [Slot(138)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern System.Int32 glCheckFramebufferStatusEXT(System.Int32 target); + [Slot(139)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern System.Int32 glCheckNamedFramebufferStatusEXT(UInt32 framebuffer, System.Int32 target); + [Slot(152)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearColorIiEXT(Int32 red, Int32 green, Int32 blue, Int32 alpha); + [Slot(153)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearColorIuiEXT(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha); + [Slot(161)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearNamedBufferDataEXT(UInt32 buffer, System.Int32 internalformat, System.Int32 format, System.Int32 type, IntPtr data); + [Slot(162)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearNamedBufferSubDataEXT(UInt32 buffer, System.Int32 internalformat, System.Int32 format, System.Int32 type, IntPtr offset, IntPtr size, IntPtr data); + [Slot(169)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClientAttribDefaultEXT(System.Int32 mask); + [Slot(228)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColorMaskIndexedEXT(UInt32 index, bool r, bool g, bool b, bool a); + [Slot(235)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColorPointerEXT(Int32 size, System.Int32 type, Int32 stride, Int32 count, IntPtr pointer); + [Slot(239)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColorSubTableEXT(System.Int32 target, Int32 start, Int32 count, System.Int32 format, System.Int32 type, IntPtr data); + [Slot(241)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColorTableEXT(System.Int32 target, System.Int32 internalFormat, Int32 width, System.Int32 format, System.Int32 type, IntPtr table); + [Slot(257)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedMultiTexImage1DEXT(System.Int32 texunit, System.Int32 target, Int32 level, System.Int32 internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits); + [Slot(258)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedMultiTexImage2DEXT(System.Int32 texunit, System.Int32 target, Int32 level, System.Int32 internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits); + [Slot(259)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedMultiTexImage3DEXT(System.Int32 texunit, System.Int32 target, Int32 level, System.Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits); + [Slot(260)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedMultiTexSubImage1DEXT(System.Int32 texunit, System.Int32 target, Int32 level, Int32 xoffset, Int32 width, System.Int32 format, Int32 imageSize, IntPtr bits); + [Slot(261)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedMultiTexSubImage2DEXT(System.Int32 texunit, System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, System.Int32 format, Int32 imageSize, IntPtr bits); + [Slot(262)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedMultiTexSubImage3DEXT(System.Int32 texunit, System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, System.Int32 format, Int32 imageSize, IntPtr bits); + [Slot(275)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTextureImage1DEXT(UInt32 texture, System.Int32 target, Int32 level, System.Int32 internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits); + [Slot(276)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTextureImage2DEXT(UInt32 texture, System.Int32 target, Int32 level, System.Int32 internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits); + [Slot(277)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTextureImage3DEXT(UInt32 texture, System.Int32 target, Int32 level, System.Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits); + [Slot(278)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTextureSubImage1DEXT(UInt32 texture, System.Int32 target, Int32 level, Int32 xoffset, Int32 width, System.Int32 format, Int32 imageSize, IntPtr bits); + [Slot(279)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTextureSubImage2DEXT(UInt32 texture, System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, System.Int32 format, Int32 imageSize, IntPtr bits); + [Slot(280)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTextureSubImage3DEXT(UInt32 texture, System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, System.Int32 format, Int32 imageSize, IntPtr bits); + [Slot(282)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glConvolutionFilter1DEXT(System.Int32 target, System.Int32 internalformat, Int32 width, System.Int32 format, System.Int32 type, IntPtr image); + [Slot(284)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glConvolutionFilter2DEXT(System.Int32 target, System.Int32 internalformat, Int32 width, Int32 height, System.Int32 format, System.Int32 type, IntPtr image); + [Slot(286)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glConvolutionParameterfEXT(System.Int32 target, System.Int32 pname, Single @params); + [Slot(288)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glConvolutionParameterfvEXT(System.Int32 target, System.Int32 pname, Single* @params); + [Slot(290)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glConvolutionParameteriEXT(System.Int32 target, System.Int32 pname, Int32 @params); + [Slot(292)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glConvolutionParameterivEXT(System.Int32 target, System.Int32 pname, Int32* @params); + [Slot(297)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyColorSubTableEXT(System.Int32 target, Int32 start, Int32 x, Int32 y, Int32 width); + [Slot(301)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyConvolutionFilter1DEXT(System.Int32 target, System.Int32 internalformat, Int32 x, Int32 y, Int32 width); + [Slot(303)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyConvolutionFilter2DEXT(System.Int32 target, System.Int32 internalformat, Int32 x, Int32 y, Int32 width, Int32 height); + [Slot(306)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyMultiTexImage1DEXT(System.Int32 texunit, System.Int32 target, Int32 level, System.Int32 internalformat, Int32 x, Int32 y, Int32 width, Int32 border); + [Slot(307)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyMultiTexImage2DEXT(System.Int32 texunit, System.Int32 target, Int32 level, System.Int32 internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); + [Slot(308)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyMultiTexSubImage1DEXT(System.Int32 texunit, System.Int32 target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); + [Slot(309)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyMultiTexSubImage2DEXT(System.Int32 texunit, System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [Slot(310)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyMultiTexSubImage3DEXT(System.Int32 texunit, System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [Slot(314)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyTexImage1DEXT(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 x, Int32 y, Int32 width, Int32 border); + [Slot(316)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyTexImage2DEXT(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); + [Slot(318)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyTexSubImage1DEXT(System.Int32 target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); + [Slot(320)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyTexSubImage2DEXT(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [Slot(322)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyTexSubImage3DEXT(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [Slot(323)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyTextureImage1DEXT(UInt32 texture, System.Int32 target, Int32 level, System.Int32 internalformat, Int32 x, Int32 y, Int32 width, Int32 border); + [Slot(324)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyTextureImage2DEXT(UInt32 texture, System.Int32 target, Int32 level, System.Int32 internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); + [Slot(325)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyTextureSubImage1DEXT(UInt32 texture, System.Int32 target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); + [Slot(326)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyTextureSubImage2DEXT(UInt32 texture, System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [Slot(327)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyTextureSubImage3DEXT(UInt32 texture, System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [Slot(336)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glCreateShaderProgramEXT(System.Int32 type, IntPtr @string); + [Slot(338)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glCreateShaderProgramvEXT(System.Int32 type, Int32 count, IntPtr strings); + [Slot(341)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glCullParameterdvEXT(System.Int32 pname, [OutAttribute] Double* @params); + [Slot(342)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glCullParameterfvEXT(System.Int32 pname, [OutAttribute] Single* @params); + [Slot(366)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteFramebuffersEXT(Int32 n, UInt32* framebuffers); + [Slot(376)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteProgramPipelinesEXT(Int32 n, UInt32* pipelines); + [Slot(382)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteRenderbuffersEXT(Int32 n, UInt32* renderbuffers); + [Slot(387)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteTexturesEXT(Int32 n, UInt32* textures); + [Slot(392)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDeleteVertexShaderEXT(UInt32 id); + [Slot(394)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDepthBoundsEXT(Double zmin, Double zmax); + [Slot(409)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDisableClientStateiEXT(System.Int32 array, UInt32 index); + [Slot(410)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDisableClientStateIndexedEXT(System.Int32 array, UInt32 index); + [Slot(412)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDisableIndexedEXT(System.Int32 target, UInt32 index); + [Slot(413)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDisableVariantClientStateEXT(UInt32 id); + [Slot(414)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDisableVertexArrayAttribEXT(UInt32 vaobj, UInt32 index); + [Slot(415)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDisableVertexArrayEXT(UInt32 vaobj, System.Int32 array); + [Slot(423)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawArraysEXT(System.Int32 mode, Int32 first, Int32 count); + [Slot(428)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawArraysInstancedEXT(System.Int32 mode, Int32 start, Int32 count, Int32 primcount); + [Slot(443)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawElementsInstancedEXT(System.Int32 mode, Int32 count, System.Int32 type, IntPtr indices, Int32 primcount); + [Slot(450)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawRangeElementsEXT(System.Int32 mode, UInt32 start, UInt32 end, Int32 count, System.Int32 type, IntPtr indices); + [Slot(460)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glEdgeFlagPointerEXT(Int32 stride, Int32 count, bool* pointer); + [Slot(467)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEnableClientStateiEXT(System.Int32 array, UInt32 index); + [Slot(468)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEnableClientStateIndexedEXT(System.Int32 array, UInt32 index); + [Slot(470)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEnableIndexedEXT(System.Int32 target, UInt32 index); + [Slot(471)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEnableVariantClientStateEXT(UInt32 id); + [Slot(472)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEnableVertexArrayAttribEXT(UInt32 vaobj, UInt32 index); + [Slot(473)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEnableVertexArrayEXT(UInt32 vaobj, System.Int32 array); + [Slot(489)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEndTransformFeedbackEXT(); + [Slot(491)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEndVertexShaderEXT(); + [Slot(511)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glExtractComponentEXT(UInt32 res, UInt32 src, UInt32 num); + [Slot(525)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFlushMappedNamedBufferRangeEXT(UInt32 buffer, IntPtr offset, IntPtr length); + [Slot(532)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFogCoorddEXT(Double coord); + [Slot(534)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glFogCoorddvEXT(Double* coord); + [Slot(536)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFogCoordfEXT(Single coord); + [Slot(539)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glFogCoordfvEXT(Single* coord); + [Slot(543)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFogCoordPointerEXT(System.Int32 type, Int32 stride, IntPtr pointer); + [Slot(565)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferDrawBufferEXT(UInt32 framebuffer, System.Int32 mode); + [Slot(566)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glFramebufferDrawBuffersEXT(UInt32 framebuffer, Int32 n, System.Int32* bufs); + [Slot(568)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferReadBufferEXT(UInt32 framebuffer, System.Int32 mode); + [Slot(570)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferRenderbufferEXT(System.Int32 target, System.Int32 attachment, System.Int32 renderbuffertarget, UInt32 renderbuffer); + [Slot(573)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferTexture1DEXT(System.Int32 target, System.Int32 attachment, System.Int32 textarget, UInt32 texture, Int32 level); + [Slot(575)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferTexture2DEXT(System.Int32 target, System.Int32 attachment, System.Int32 textarget, UInt32 texture, Int32 level); + [Slot(577)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferTexture3DEXT(System.Int32 target, System.Int32 attachment, System.Int32 textarget, UInt32 texture, Int32 level, Int32 zoffset); + [Slot(579)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferTextureEXT(System.Int32 target, System.Int32 attachment, UInt32 texture, Int32 level); + [Slot(581)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferTextureFaceEXT(System.Int32 target, System.Int32 attachment, UInt32 texture, Int32 level, System.Int32 face); + [Slot(584)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferTextureLayerEXT(System.Int32 target, System.Int32 attachment, UInt32 texture, Int32 level, Int32 layer); + [Slot(596)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGenerateMipmapEXT(System.Int32 target); + [Slot(597)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGenerateMultiTexMipmapEXT(System.Int32 texunit, System.Int32 target); + [Slot(598)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGenerateTextureMipmapEXT(UInt32 texture, System.Int32 target); + [Slot(603)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenFramebuffersEXT(Int32 n, [OutAttribute] UInt32* framebuffers); + [Slot(610)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenProgramPipelinesEXT(Int32 n, [OutAttribute] UInt32* pipelines); + [Slot(616)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenRenderbuffersEXT(Int32 n, [OutAttribute] UInt32* renderbuffers); + [Slot(618)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGenSymbolsEXT(System.Int32 datatype, System.Int32 storagetype, System.Int32 range, UInt32 components); + [Slot(620)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenTexturesEXT(Int32 n, [OutAttribute] UInt32* textures); + [Slot(625)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGenVertexShadersEXT(UInt32 range); + [Slot(646)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetBooleanIndexedvEXT(System.Int32 target, UInt32 index, [OutAttribute] bool* data); + [Slot(660)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetColorTableEXT(System.Int32 target, System.Int32 format, System.Int32 type, [OutAttribute] IntPtr data); + [Slot(662)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetColorTableParameterfvEXT(System.Int32 target, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(665)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetColorTableParameterivEXT(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(673)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetCompressedMultiTexImageEXT(System.Int32 texunit, System.Int32 target, Int32 lod, [OutAttribute] IntPtr img); + [Slot(676)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetCompressedTextureImageEXT(UInt32 texture, System.Int32 target, Int32 lod, [OutAttribute] IntPtr img); + [Slot(678)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetConvolutionFilterEXT(System.Int32 target, System.Int32 format, System.Int32 type, [OutAttribute] IntPtr image); + [Slot(680)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetConvolutionParameterfvEXT(System.Int32 target, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(682)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetConvolutionParameterivEXT(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(690)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetDoublei_vEXT(System.Int32 pname, UInt32 index, [OutAttribute] Double* @params); + [Slot(691)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetDoubleIndexedvEXT(System.Int32 target, UInt32 index, [OutAttribute] Double* data); + [Slot(699)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetFloati_vEXT(System.Int32 pname, UInt32 index, [OutAttribute] Single* @params); + [Slot(700)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetFloatIndexedvEXT(System.Int32 target, UInt32 index, [OutAttribute] Single* data); + [Slot(705)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGetFragDataLocationEXT(UInt32 program, IntPtr name); + [Slot(711)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetFramebufferAttachmentParameterivEXT(System.Int32 target, System.Int32 attachment, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(713)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetFramebufferParameterivEXT(UInt32 framebuffer, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(717)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetHistogramEXT(System.Int32 target, bool reset, System.Int32 format, System.Int32 type, [OutAttribute] IntPtr values); + [Slot(719)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetHistogramParameterfvEXT(System.Int32 target, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(721)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetHistogramParameterivEXT(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(732)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetIntegerIndexedvEXT(System.Int32 target, UInt32 index, [OutAttribute] Int32* data); + [Slot(738)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetInvariantBooleanvEXT(UInt32 id, System.Int32 value, [OutAttribute] bool* data); + [Slot(739)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetInvariantFloatvEXT(UInt32 id, System.Int32 value, [OutAttribute] Single* data); + [Slot(740)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetInvariantIntegervEXT(UInt32 id, System.Int32 value, [OutAttribute] Int32* data); + [Slot(747)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetLocalConstantBooleanvEXT(UInt32 id, System.Int32 value, [OutAttribute] bool* data); + [Slot(748)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetLocalConstantFloatvEXT(UInt32 id, System.Int32 value, [OutAttribute] Single* data); + [Slot(749)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetLocalConstantIntegervEXT(UInt32 id, System.Int32 value, [OutAttribute] Int32* data); + [Slot(764)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetMinmaxEXT(System.Int32 target, bool reset, System.Int32 format, System.Int32 type, [OutAttribute] IntPtr values); + [Slot(766)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMinmaxParameterfvEXT(System.Int32 target, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(768)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMinmaxParameterivEXT(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(771)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMultiTexEnvfvEXT(System.Int32 texunit, System.Int32 target, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(772)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMultiTexEnvivEXT(System.Int32 texunit, System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(773)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMultiTexGendvEXT(System.Int32 texunit, System.Int32 coord, System.Int32 pname, [OutAttribute] Double* @params); + [Slot(774)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMultiTexGenfvEXT(System.Int32 texunit, System.Int32 coord, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(775)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMultiTexGenivEXT(System.Int32 texunit, System.Int32 coord, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(776)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetMultiTexImageEXT(System.Int32 texunit, System.Int32 target, Int32 level, System.Int32 format, System.Int32 type, [OutAttribute] IntPtr pixels); + [Slot(777)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMultiTexLevelParameterfvEXT(System.Int32 texunit, System.Int32 target, Int32 level, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(778)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMultiTexLevelParameterivEXT(System.Int32 texunit, System.Int32 target, Int32 level, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(779)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMultiTexParameterfvEXT(System.Int32 texunit, System.Int32 target, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(780)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMultiTexParameterIivEXT(System.Int32 texunit, System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(781)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMultiTexParameterIuivEXT(System.Int32 texunit, System.Int32 target, System.Int32 pname, [OutAttribute] UInt32* @params); + [Slot(782)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMultiTexParameterivEXT(System.Int32 texunit, System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(783)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetNamedBufferParameterivEXT(UInt32 buffer, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(785)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetNamedBufferPointervEXT(UInt32 buffer, System.Int32 pname, [OutAttribute] IntPtr @params); + [Slot(786)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetNamedBufferSubDataEXT(UInt32 buffer, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data); + [Slot(787)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetNamedFramebufferAttachmentParameterivEXT(UInt32 framebuffer, System.Int32 attachment, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(788)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetNamedFramebufferParameterivEXT(UInt32 framebuffer, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(789)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetNamedProgramivEXT(UInt32 program, System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(790)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetNamedProgramLocalParameterdvEXT(UInt32 program, System.Int32 target, UInt32 index, [OutAttribute] Double* @params); + [Slot(791)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetNamedProgramLocalParameterfvEXT(UInt32 program, System.Int32 target, UInt32 index, [OutAttribute] Single* @params); + [Slot(792)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetNamedProgramLocalParameterIivEXT(UInt32 program, System.Int32 target, UInt32 index, [OutAttribute] Int32* @params); + [Slot(793)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetNamedProgramLocalParameterIuivEXT(UInt32 program, System.Int32 target, UInt32 index, [OutAttribute] UInt32* @params); + [Slot(794)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetNamedProgramStringEXT(UInt32 program, System.Int32 target, System.Int32 pname, [OutAttribute] IntPtr @string); + [Slot(795)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetNamedRenderbufferParameterivEXT(UInt32 renderbuffer, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(819)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetObjectLabelEXT(System.Int32 type, UInt32 @object, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr label); + [Slot(853)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPixelTransformParameterfvEXT(System.Int32 target, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(854)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPixelTransformParameterivEXT(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(855)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetPointeri_vEXT(System.Int32 pname, UInt32 index, [OutAttribute] IntPtr @params); + [Slot(856)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetPointerIndexedvEXT(System.Int32 target, UInt32 index, [OutAttribute] IntPtr data); + [Slot(858)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetPointervEXT(System.Int32 pname, [OutAttribute] IntPtr @params); + [Slot(880)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramPipelineInfoLogEXT(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr infoLog); + [Slot(882)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramPipelineivEXT(UInt32 pipeline, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(896)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetQueryObjecti64vEXT(UInt32 id, System.Int32 pname, [OutAttribute] Int64* @params); + [Slot(900)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetQueryObjectui64vEXT(UInt32 id, System.Int32 pname, [OutAttribute] UInt64* @params); + [Slot(904)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetRenderbufferParameterivEXT(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(910)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetSeparableFilterEXT(System.Int32 target, System.Int32 format, System.Int32 type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span); + [Slot(938)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexParameterIivEXT(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(940)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexParameterIuivEXT(System.Int32 target, System.Int32 pname, [OutAttribute] UInt32* @params); + [Slot(946)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetTextureImageEXT(UInt32 texture, System.Int32 target, Int32 level, System.Int32 format, System.Int32 type, [OutAttribute] IntPtr pixels); + [Slot(947)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTextureLevelParameterfvEXT(UInt32 texture, System.Int32 target, Int32 level, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(948)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTextureLevelParameterivEXT(UInt32 texture, System.Int32 target, Int32 level, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(949)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTextureParameterfvEXT(UInt32 texture, System.Int32 target, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(950)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTextureParameterIivEXT(UInt32 texture, System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(951)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTextureParameterIuivEXT(UInt32 texture, System.Int32 target, System.Int32 pname, [OutAttribute] UInt32* @params); + [Slot(952)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTextureParameterivEXT(UInt32 texture, System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(957)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTransformFeedbackVaryingEXT(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] System.Int32* type, [OutAttribute] IntPtr name); + [Slot(960)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGetUniformBufferSizeEXT(UInt32 program, Int32 location); + [Slot(970)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern IntPtr glGetUniformOffsetEXT(UInt32 program, Int32 location); + [Slot(974)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetUniformuivEXT(UInt32 program, Int32 location, [OutAttribute] UInt32* @params); + [Slot(977)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVariantBooleanvEXT(UInt32 id, System.Int32 value, [OutAttribute] bool* data); + [Slot(978)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVariantFloatvEXT(UInt32 id, System.Int32 value, [OutAttribute] Single* data); + [Slot(979)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVariantIntegervEXT(UInt32 id, System.Int32 value, [OutAttribute] Int32* data); + [Slot(980)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetVariantPointervEXT(UInt32 id, System.Int32 value, [OutAttribute] IntPtr data); + [Slot(982)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexArrayIntegeri_vEXT(UInt32 vaobj, UInt32 index, System.Int32 pname, [OutAttribute] Int32* param); + [Slot(983)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexArrayIntegervEXT(UInt32 vaobj, System.Int32 pname, [OutAttribute] Int32* param); + [Slot(984)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetVertexArrayPointeri_vEXT(UInt32 vaobj, UInt32 index, System.Int32 pname, [OutAttribute] IntPtr param); + [Slot(985)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetVertexArrayPointervEXT(UInt32 vaobj, System.Int32 pname, [OutAttribute] IntPtr param); + [Slot(995)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexAttribIivEXT(UInt32 index, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(997)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexAttribIuivEXT(UInt32 index, System.Int32 pname, [OutAttribute] UInt32* @params); + [Slot(1002)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexAttribLdvEXT(UInt32 index, System.Int32 pname, [OutAttribute] Double* @params); + [Slot(1028)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glHistogramEXT(System.Int32 target, Int32 width, System.Int32 internalformat, bool sink); + [Slot(1034)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern IntPtr glImportSyncEXT(System.Int32 external_sync_type, IntPtr external_sync, UInt32 flags); + [Slot(1039)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glIndexFuncEXT(System.Int32 func, Single @ref); + [Slot(1044)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glIndexMaterialEXT(System.Int32 face, System.Int32 mode); + [Slot(1046)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glIndexPointerEXT(System.Int32 type, Int32 stride, Int32 count, IntPtr pointer); + [Slot(1055)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glInsertComponentEXT(UInt32 res, UInt32 src, UInt32 num); + [Slot(1056)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glInsertEventMarkerEXT(Int32 length, IntPtr marker); + [Slot(1072)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsEnabledIndexedEXT(System.Int32 target, UInt32 index); + [Slot(1076)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsFramebufferEXT(UInt32 framebuffer); + [Slot(1092)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsProgramPipelineEXT(UInt32 pipeline); + [Slot(1096)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsRenderbufferEXT(UInt32 renderbuffer); + [Slot(1101)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsTextureEXT(UInt32 texture); + [Slot(1106)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsVariantEnabledEXT(UInt32 id, System.Int32 cap); + [Slot(1110)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLabelObjectEXT(System.Int32 type, UInt32 @object, Int32 length, IntPtr label); + [Slot(1146)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLockArraysEXT(Int32 first, Int32 count); + [Slot(1176)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern IntPtr glMapNamedBufferEXT(UInt32 buffer, System.Int32 access); + [Slot(1177)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern IntPtr glMapNamedBufferRangeEXT(UInt32 buffer, IntPtr offset, IntPtr length, System.Int32 access); + [Slot(1192)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMatrixFrustumEXT(System.Int32 mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); + [Slot(1197)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMatrixLoaddEXT(System.Int32 mode, Double* m); + [Slot(1198)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMatrixLoadfEXT(System.Int32 mode, Single* m); + [Slot(1199)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMatrixLoadIdentityEXT(System.Int32 mode); + [Slot(1200)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMatrixLoadTransposedEXT(System.Int32 mode, Double* m); + [Slot(1201)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMatrixLoadTransposefEXT(System.Int32 mode, Single* m); + [Slot(1203)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMatrixMultdEXT(System.Int32 mode, Double* m); + [Slot(1204)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMatrixMultfEXT(System.Int32 mode, Single* m); + [Slot(1205)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMatrixMultTransposedEXT(System.Int32 mode, Double* m); + [Slot(1206)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMatrixMultTransposefEXT(System.Int32 mode, Single* m); + [Slot(1207)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMatrixOrthoEXT(System.Int32 mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); + [Slot(1208)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMatrixPopEXT(System.Int32 mode); + [Slot(1209)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMatrixPushEXT(System.Int32 mode); + [Slot(1210)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMatrixRotatedEXT(System.Int32 mode, Double angle, Double x, Double y, Double z); + [Slot(1211)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMatrixRotatefEXT(System.Int32 mode, Single angle, Single x, Single y, Single z); + [Slot(1212)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMatrixScaledEXT(System.Int32 mode, Double x, Double y, Double z); + [Slot(1213)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMatrixScalefEXT(System.Int32 mode, Single x, Single y, Single z); + [Slot(1214)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMatrixTranslatedEXT(System.Int32 mode, Double x, Double y, Double z); + [Slot(1215)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMatrixTranslatefEXT(System.Int32 mode, Single x, Single y, Single z); + [Slot(1217)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMemoryBarrierEXT(UInt32 barriers); + [Slot(1219)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMinmaxEXT(System.Int32 target, System.Int32 internalformat, bool sink); + [Slot(1223)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiDrawArraysEXT(System.Int32 mode, Int32* first, Int32* count, Int32 primcount); + [Slot(1231)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiDrawElementsEXT(System.Int32 mode, Int32* count, System.Int32 type, IntPtr indices, Int32 primcount); + [Slot(1239)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexBufferEXT(System.Int32 texunit, System.Int32 target, System.Int32 internalformat, UInt32 buffer); + [Slot(1336)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoordPointerEXT(System.Int32 texunit, Int32 size, System.Int32 type, Int32 stride, IntPtr pointer); + [Slot(1337)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexEnvfEXT(System.Int32 texunit, System.Int32 target, System.Int32 pname, Single param); + [Slot(1338)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexEnvfvEXT(System.Int32 texunit, System.Int32 target, System.Int32 pname, Single* @params); + [Slot(1339)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexEnviEXT(System.Int32 texunit, System.Int32 target, System.Int32 pname, Int32 param); + [Slot(1340)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexEnvivEXT(System.Int32 texunit, System.Int32 target, System.Int32 pname, Int32* @params); + [Slot(1341)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexGendEXT(System.Int32 texunit, System.Int32 coord, System.Int32 pname, Double param); + [Slot(1342)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexGendvEXT(System.Int32 texunit, System.Int32 coord, System.Int32 pname, Double* @params); + [Slot(1343)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexGenfEXT(System.Int32 texunit, System.Int32 coord, System.Int32 pname, Single param); + [Slot(1344)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexGenfvEXT(System.Int32 texunit, System.Int32 coord, System.Int32 pname, Single* @params); + [Slot(1345)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexGeniEXT(System.Int32 texunit, System.Int32 coord, System.Int32 pname, Int32 param); + [Slot(1346)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexGenivEXT(System.Int32 texunit, System.Int32 coord, System.Int32 pname, Int32* @params); + [Slot(1347)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexImage1DEXT(System.Int32 texunit, System.Int32 target, Int32 level, Int32 internalformat, Int32 width, Int32 border, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(1348)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexImage2DEXT(System.Int32 texunit, System.Int32 target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(1349)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexImage3DEXT(System.Int32 texunit, System.Int32 target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(1350)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexParameterfEXT(System.Int32 texunit, System.Int32 target, System.Int32 pname, Single param); + [Slot(1351)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexParameterfvEXT(System.Int32 texunit, System.Int32 target, System.Int32 pname, Single* @params); + [Slot(1352)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexParameteriEXT(System.Int32 texunit, System.Int32 target, System.Int32 pname, Int32 param); + [Slot(1353)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexParameterIivEXT(System.Int32 texunit, System.Int32 target, System.Int32 pname, Int32* @params); + [Slot(1354)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexParameterIuivEXT(System.Int32 texunit, System.Int32 target, System.Int32 pname, UInt32* @params); + [Slot(1355)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexParameterivEXT(System.Int32 texunit, System.Int32 target, System.Int32 pname, Int32* @params); + [Slot(1356)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexRenderbufferEXT(System.Int32 texunit, System.Int32 target, UInt32 renderbuffer); + [Slot(1357)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexSubImage1DEXT(System.Int32 texunit, System.Int32 target, Int32 level, Int32 xoffset, Int32 width, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(1358)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexSubImage2DEXT(System.Int32 texunit, System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(1359)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexSubImage3DEXT(System.Int32 texunit, System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(1368)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNamedBufferDataEXT(UInt32 buffer, IntPtr size, IntPtr data, System.Int32 usage); + [Slot(1369)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNamedBufferStorageEXT(UInt32 buffer, IntPtr size, IntPtr data, UInt32 flags); + [Slot(1370)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNamedBufferSubDataEXT(UInt32 buffer, IntPtr offset, IntPtr size, IntPtr data); + [Slot(1371)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNamedCopyBufferSubDataEXT(UInt32 readBuffer, UInt32 writeBuffer, IntPtr readOffset, IntPtr writeOffset, IntPtr size); + [Slot(1372)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNamedFramebufferParameteriEXT(UInt32 framebuffer, System.Int32 pname, Int32 param); + [Slot(1373)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNamedFramebufferRenderbufferEXT(UInt32 framebuffer, System.Int32 attachment, System.Int32 renderbuffertarget, UInt32 renderbuffer); + [Slot(1374)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNamedFramebufferTexture1DEXT(UInt32 framebuffer, System.Int32 attachment, System.Int32 textarget, UInt32 texture, Int32 level); + [Slot(1375)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNamedFramebufferTexture2DEXT(UInt32 framebuffer, System.Int32 attachment, System.Int32 textarget, UInt32 texture, Int32 level); + [Slot(1376)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNamedFramebufferTexture3DEXT(UInt32 framebuffer, System.Int32 attachment, System.Int32 textarget, UInt32 texture, Int32 level, Int32 zoffset); + [Slot(1377)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNamedFramebufferTextureEXT(UInt32 framebuffer, System.Int32 attachment, UInt32 texture, Int32 level); + [Slot(1378)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNamedFramebufferTextureFaceEXT(UInt32 framebuffer, System.Int32 attachment, UInt32 texture, Int32 level, System.Int32 face); + [Slot(1379)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNamedFramebufferTextureLayerEXT(UInt32 framebuffer, System.Int32 attachment, UInt32 texture, Int32 level, Int32 layer); + [Slot(1380)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNamedProgramLocalParameter4dEXT(UInt32 program, System.Int32 target, UInt32 index, Double x, Double y, Double z, Double w); + [Slot(1381)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glNamedProgramLocalParameter4dvEXT(UInt32 program, System.Int32 target, UInt32 index, Double* @params); + [Slot(1382)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNamedProgramLocalParameter4fEXT(UInt32 program, System.Int32 target, UInt32 index, Single x, Single y, Single z, Single w); + [Slot(1383)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glNamedProgramLocalParameter4fvEXT(UInt32 program, System.Int32 target, UInt32 index, Single* @params); + [Slot(1384)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNamedProgramLocalParameterI4iEXT(UInt32 program, System.Int32 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); + [Slot(1385)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glNamedProgramLocalParameterI4ivEXT(UInt32 program, System.Int32 target, UInt32 index, Int32* @params); + [Slot(1386)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNamedProgramLocalParameterI4uiEXT(UInt32 program, System.Int32 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); + [Slot(1387)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glNamedProgramLocalParameterI4uivEXT(UInt32 program, System.Int32 target, UInt32 index, UInt32* @params); + [Slot(1388)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glNamedProgramLocalParameters4fvEXT(UInt32 program, System.Int32 target, UInt32 index, Int32 count, Single* @params); + [Slot(1389)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glNamedProgramLocalParametersI4ivEXT(UInt32 program, System.Int32 target, UInt32 index, Int32 count, Int32* @params); + [Slot(1390)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glNamedProgramLocalParametersI4uivEXT(UInt32 program, System.Int32 target, UInt32 index, Int32 count, UInt32* @params); + [Slot(1391)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNamedProgramStringEXT(UInt32 program, System.Int32 target, System.Int32 format, Int32 len, IntPtr @string); + [Slot(1392)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNamedRenderbufferStorageEXT(UInt32 renderbuffer, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(1393)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNamedRenderbufferStorageMultisampleCoverageEXT(UInt32 renderbuffer, Int32 coverageSamples, Int32 colorSamples, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(1394)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNamedRenderbufferStorageMultisampleEXT(UInt32 renderbuffer, Int32 samples, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(1418)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNormalPointerEXT(System.Int32 type, Int32 stride, Int32 count, IntPtr pointer); + [Slot(1481)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPixelTransformParameterfEXT(System.Int32 target, System.Int32 pname, Single param); + [Slot(1482)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPixelTransformParameterfvEXT(System.Int32 target, System.Int32 pname, Single* @params); + [Slot(1483)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPixelTransformParameteriEXT(System.Int32 target, System.Int32 pname, Int32 param); + [Slot(1484)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPixelTransformParameterivEXT(System.Int32 target, System.Int32 pname, Int32* @params); + [Slot(1492)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPointParameterfEXT(System.Int32 pname, Single param); + [Slot(1496)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPointParameterfvEXT(System.Int32 pname, Single* @params); + [Slot(1510)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPolygonOffsetEXT(Single factor, Single bias); + [Slot(1517)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPopGroupMarkerEXT(); + [Slot(1526)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPrioritizeTexturesEXT(Int32 n, UInt32* textures, Single* priorities); + [Slot(1540)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramEnvParameters4fvEXT(System.Int32 target, UInt32 index, Int32 count, Single* @params); + [Slot(1551)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramLocalParameters4fvEXT(System.Int32 target, UInt32 index, Int32 count, Single* @params); + [Slot(1564)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramParameteriEXT(UInt32 program, System.Int32 pname, Int32 value); + [Slot(1570)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform1dEXT(UInt32 program, Int32 location, Double x); + [Slot(1572)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform1dvEXT(UInt32 program, Int32 location, Int32 count, Double* value); + [Slot(1574)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform1fEXT(UInt32 program, Int32 location, Single v0); + [Slot(1576)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform1fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); + [Slot(1580)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform1iEXT(UInt32 program, Int32 location, Int32 v0); + [Slot(1582)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform1ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); + [Slot(1586)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform1uiEXT(UInt32 program, Int32 location, UInt32 v0); + [Slot(1588)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform1uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); + [Slot(1590)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform2dEXT(UInt32 program, Int32 location, Double x, Double y); + [Slot(1592)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform2dvEXT(UInt32 program, Int32 location, Int32 count, Double* value); + [Slot(1594)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform2fEXT(UInt32 program, Int32 location, Single v0, Single v1); + [Slot(1596)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform2fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); + [Slot(1600)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform2iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1); + [Slot(1602)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform2ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); + [Slot(1606)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform2uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1); + [Slot(1608)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform2uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); + [Slot(1610)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform3dEXT(UInt32 program, Int32 location, Double x, Double y, Double z); + [Slot(1612)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform3dvEXT(UInt32 program, Int32 location, Int32 count, Double* value); + [Slot(1614)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform3fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2); + [Slot(1616)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform3fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); + [Slot(1620)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform3iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2); + [Slot(1622)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform3ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); + [Slot(1626)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform3uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); + [Slot(1628)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform3uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); + [Slot(1630)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform4dEXT(UInt32 program, Int32 location, Double x, Double y, Double z, Double w); + [Slot(1632)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform4dvEXT(UInt32 program, Int32 location, Int32 count, Double* value); + [Slot(1634)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform4fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3); + [Slot(1636)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform4fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); + [Slot(1640)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform4iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); + [Slot(1642)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform4ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); + [Slot(1646)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform4uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); + [Slot(1648)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform4uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); + [Slot(1654)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix2dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [Slot(1656)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(1658)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix2x3dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [Slot(1660)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix2x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(1662)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix2x4dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [Slot(1664)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix2x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(1666)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix3dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [Slot(1668)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(1670)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix3x2dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [Slot(1672)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix3x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(1674)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix3x4dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [Slot(1676)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix3x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(1678)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix4dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [Slot(1680)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(1682)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix4x2dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [Slot(1684)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix4x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(1686)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix4x3dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [Slot(1688)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix4x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(1693)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProvokingVertexEXT(System.Int32 mode); + [Slot(1696)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPushClientAttribDefaultEXT(System.Int32 mask); + [Slot(1699)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPushGroupMarkerEXT(Int32 length, IntPtr marker); + [Slot(1752)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRenderbufferStorageEXT(System.Int32 target, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(1755)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRenderbufferStorageMultisampleEXT(System.Int32 target, Int32 samples, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(1782)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glResetHistogramEXT(System.Int32 target); + [Slot(1784)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glResetMinmaxEXT(System.Int32 target); + [Slot(1796)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSampleMaskEXT(Single value, bool invert); + [Slot(1800)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSamplePatternEXT(System.Int32 pattern); + [Slot(1816)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSecondaryColor3bEXT(SByte red, SByte green, SByte blue); + [Slot(1818)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSecondaryColor3bvEXT(SByte* v); + [Slot(1820)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSecondaryColor3dEXT(Double red, Double green, Double blue); + [Slot(1822)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSecondaryColor3dvEXT(Double* v); + [Slot(1824)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSecondaryColor3fEXT(Single red, Single green, Single blue); + [Slot(1826)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSecondaryColor3fvEXT(Single* v); + [Slot(1830)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSecondaryColor3iEXT(Int32 red, Int32 green, Int32 blue); + [Slot(1832)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSecondaryColor3ivEXT(Int32* v); + [Slot(1834)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSecondaryColor3sEXT(Int16 red, Int16 green, Int16 blue); + [Slot(1836)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSecondaryColor3svEXT(Int16* v); + [Slot(1838)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSecondaryColor3ubEXT(Byte red, Byte green, Byte blue); + [Slot(1840)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSecondaryColor3ubvEXT(Byte* v); + [Slot(1842)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSecondaryColor3uiEXT(UInt32 red, UInt32 green, UInt32 blue); + [Slot(1844)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSecondaryColor3uivEXT(UInt32* v); + [Slot(1846)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSecondaryColor3usEXT(UInt16 red, UInt16 green, UInt16 blue); + [Slot(1848)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSecondaryColor3usvEXT(UInt16* v); + [Slot(1853)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSecondaryColorPointerEXT(Int32 size, System.Int32 type, Int32 stride, IntPtr pointer); + [Slot(1858)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSeparableFilter2DEXT(System.Int32 target, System.Int32 internalformat, Int32 width, Int32 height, System.Int32 format, System.Int32 type, IntPtr row, IntPtr column); + [Slot(1862)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSetInvariantEXT(UInt32 id, System.Int32 type, IntPtr addr); + [Slot(1863)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSetLocalConstantEXT(UInt32 id, System.Int32 type, IntPtr addr); + [Slot(1867)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glShaderOp1EXT(System.Int32 op, UInt32 res, UInt32 arg1); + [Slot(1868)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glShaderOp2EXT(System.Int32 op, UInt32 res, UInt32 arg1, UInt32 arg2); + [Slot(1869)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glShaderOp3EXT(System.Int32 op, UInt32 res, UInt32 arg1, UInt32 arg2, UInt32 arg3); + [Slot(1879)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStencilClearTagEXT(Int32 stencilTagBits, UInt32 stencilClearTag); + [Slot(1895)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSwizzleEXT(UInt32 res, UInt32 @in, System.Int32 outX, System.Int32 outY, System.Int32 outZ, System.Int32 outW); + [Slot(1898)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTangent3bEXT(SByte tx, SByte ty, SByte tz); + [Slot(1899)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTangent3bvEXT(SByte* v); + [Slot(1900)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTangent3dEXT(Double tx, Double ty, Double tz); + [Slot(1901)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTangent3dvEXT(Double* v); + [Slot(1902)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTangent3fEXT(Single tx, Single ty, Single tz); + [Slot(1903)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTangent3fvEXT(Single* v); + [Slot(1904)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTangent3iEXT(Int32 tx, Int32 ty, Int32 tz); + [Slot(1905)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTangent3ivEXT(Int32* v); + [Slot(1906)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTangent3sEXT(Int16 tx, Int16 ty, Int16 tz); + [Slot(1907)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTangent3svEXT(Int16* v); + [Slot(1908)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTangentPointerEXT(System.Int32 type, Int32 stride, IntPtr pointer); + [Slot(1917)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexBufferEXT(System.Int32 target, System.Int32 internalformat, UInt32 buffer); + [Slot(2001)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoordPointerEXT(Int32 size, System.Int32 type, Int32 stride, Int32 count, IntPtr pointer); + [Slot(2024)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexImage3DEXT(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(2033)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexParameterIivEXT(System.Int32 target, System.Int32 pname, Int32* @params); + [Slot(2035)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexParameterIuivEXT(System.Int32 target, System.Int32 pname, UInt32* @params); + [Slot(2047)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexSubImage1DEXT(System.Int32 target, Int32 level, Int32 xoffset, Int32 width, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(2049)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexSubImage2DEXT(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(2051)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexSubImage3DEXT(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(2054)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureBufferEXT(UInt32 texture, System.Int32 target, System.Int32 internalformat, UInt32 buffer); + [Slot(2055)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureBufferRangeEXT(UInt32 texture, System.Int32 target, System.Int32 internalformat, UInt32 buffer, IntPtr offset, IntPtr size); + [Slot(2057)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureImage1DEXT(UInt32 texture, System.Int32 target, Int32 level, Int32 internalformat, Int32 width, Int32 border, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(2058)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureImage2DEXT(UInt32 texture, System.Int32 target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(2061)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureImage3DEXT(UInt32 texture, System.Int32 target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(2064)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureLightEXT(System.Int32 pname); + [Slot(2065)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureMaterialEXT(System.Int32 face, System.Int32 mode); + [Slot(2066)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureNormalEXT(System.Int32 mode); + [Slot(2067)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexturePageCommitmentEXT(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, bool resident); + [Slot(2068)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureParameterfEXT(UInt32 texture, System.Int32 target, System.Int32 pname, Single param); + [Slot(2069)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTextureParameterfvEXT(UInt32 texture, System.Int32 target, System.Int32 pname, Single* @params); + [Slot(2070)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureParameteriEXT(UInt32 texture, System.Int32 target, System.Int32 pname, Int32 param); + [Slot(2071)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTextureParameterIivEXT(UInt32 texture, System.Int32 target, System.Int32 pname, Int32* @params); + [Slot(2072)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTextureParameterIuivEXT(UInt32 texture, System.Int32 target, System.Int32 pname, UInt32* @params); + [Slot(2073)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTextureParameterivEXT(UInt32 texture, System.Int32 target, System.Int32 pname, Int32* @params); + [Slot(2075)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureRenderbufferEXT(UInt32 texture, System.Int32 target, UInt32 renderbuffer); + [Slot(2076)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureStorage1DEXT(UInt32 texture, System.Int32 target, Int32 levels, System.Int32 internalformat, Int32 width); + [Slot(2077)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureStorage2DEXT(UInt32 texture, System.Int32 target, Int32 levels, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(2078)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureStorage2DMultisampleEXT(UInt32 texture, System.Int32 target, Int32 samples, System.Int32 internalformat, Int32 width, Int32 height, bool fixedsamplelocations); + [Slot(2079)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureStorage3DEXT(UInt32 texture, System.Int32 target, Int32 levels, System.Int32 internalformat, Int32 width, Int32 height, Int32 depth); + [Slot(2080)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureStorage3DMultisampleEXT(UInt32 texture, System.Int32 target, Int32 samples, System.Int32 internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations); + [Slot(2082)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureSubImage1DEXT(UInt32 texture, System.Int32 target, Int32 level, Int32 xoffset, Int32 width, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(2083)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureSubImage2DEXT(UInt32 texture, System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(2084)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureSubImage3DEXT(UInt32 texture, System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(2090)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTransformFeedbackVaryingsEXT(UInt32 program, Int32 count, IntPtr varyings, System.Int32 bufferMode); + [Slot(2111)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform1uiEXT(Int32 location, UInt32 v0); + [Slot(2113)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform1uivEXT(Int32 location, Int32 count, UInt32* value); + [Slot(2129)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform2uiEXT(Int32 location, UInt32 v0, UInt32 v1); + [Slot(2131)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform2uivEXT(Int32 location, Int32 count, UInt32* value); + [Slot(2147)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform3uiEXT(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); + [Slot(2149)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform3uivEXT(Int32 location, Int32 count, UInt32* value); + [Slot(2165)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform4uiEXT(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); + [Slot(2167)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform4uivEXT(Int32 location, Int32 count, UInt32* value); + [Slot(2169)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniformBufferEXT(UInt32 program, Int32 location, UInt32 buffer); + [Slot(2198)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUnlockArraysEXT(); + [Slot(2201)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glUnmapNamedBufferEXT(UInt32 buffer); + [Slot(2208)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUseProgramStagesEXT(UInt32 pipeline, UInt32 stages, UInt32 program); + [Slot(2209)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUseShaderProgramEXT(System.Int32 type, UInt32 program); + [Slot(2213)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glValidateProgramPipelineEXT(UInt32 pipeline); + [Slot(2215)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVariantbvEXT(UInt32 id, SByte* addr); + [Slot(2216)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVariantdvEXT(UInt32 id, Double* addr); + [Slot(2217)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVariantfvEXT(UInt32 id, Single* addr); + [Slot(2218)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVariantivEXT(UInt32 id, Int32* addr); + [Slot(2219)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVariantPointerEXT(UInt32 id, System.Int32 type, UInt32 stride, IntPtr addr); + [Slot(2220)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVariantsvEXT(UInt32 id, Int16* addr); + [Slot(2221)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVariantubvEXT(UInt32 id, Byte* addr); + [Slot(2222)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVariantuivEXT(UInt32 id, UInt32* addr); + [Slot(2223)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVariantusvEXT(UInt32 id, UInt16* addr); + [Slot(2276)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexArrayBindVertexBufferEXT(UInt32 vaobj, UInt32 bindingindex, UInt32 buffer, IntPtr offset, Int32 stride); + [Slot(2277)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexArrayColorOffsetEXT(UInt32 vaobj, UInt32 buffer, Int32 size, System.Int32 type, Int32 stride, IntPtr offset); + [Slot(2278)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexArrayEdgeFlagOffsetEXT(UInt32 vaobj, UInt32 buffer, Int32 stride, IntPtr offset); + [Slot(2279)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexArrayFogCoordOffsetEXT(UInt32 vaobj, UInt32 buffer, System.Int32 type, Int32 stride, IntPtr offset); + [Slot(2280)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexArrayIndexOffsetEXT(UInt32 vaobj, UInt32 buffer, System.Int32 type, Int32 stride, IntPtr offset); + [Slot(2281)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexArrayMultiTexCoordOffsetEXT(UInt32 vaobj, UInt32 buffer, System.Int32 texunit, Int32 size, System.Int32 type, Int32 stride, IntPtr offset); + [Slot(2282)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexArrayNormalOffsetEXT(UInt32 vaobj, UInt32 buffer, System.Int32 type, Int32 stride, IntPtr offset); + [Slot(2286)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexArraySecondaryColorOffsetEXT(UInt32 vaobj, UInt32 buffer, Int32 size, System.Int32 type, Int32 stride, IntPtr offset); + [Slot(2287)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexArrayTexCoordOffsetEXT(UInt32 vaobj, UInt32 buffer, Int32 size, System.Int32 type, Int32 stride, IntPtr offset); + [Slot(2288)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexArrayVertexAttribBindingEXT(UInt32 vaobj, UInt32 attribindex, UInt32 bindingindex); + [Slot(2289)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexArrayVertexAttribDivisorEXT(UInt32 vaobj, UInt32 index, UInt32 divisor); + [Slot(2290)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexArrayVertexAttribFormatEXT(UInt32 vaobj, UInt32 attribindex, Int32 size, System.Int32 type, bool normalized, UInt32 relativeoffset); + [Slot(2291)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexArrayVertexAttribIFormatEXT(UInt32 vaobj, UInt32 attribindex, Int32 size, System.Int32 type, UInt32 relativeoffset); + [Slot(2292)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexArrayVertexAttribIOffsetEXT(UInt32 vaobj, UInt32 buffer, UInt32 index, Int32 size, System.Int32 type, Int32 stride, IntPtr offset); + [Slot(2293)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexArrayVertexAttribLFormatEXT(UInt32 vaobj, UInt32 attribindex, Int32 size, System.Int32 type, UInt32 relativeoffset); + [Slot(2294)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexArrayVertexAttribLOffsetEXT(UInt32 vaobj, UInt32 buffer, UInt32 index, Int32 size, System.Int32 type, Int32 stride, IntPtr offset); + [Slot(2295)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexArrayVertexAttribOffsetEXT(UInt32 vaobj, UInt32 buffer, UInt32 index, Int32 size, System.Int32 type, bool normalized, Int32 stride, IntPtr offset); + [Slot(2296)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexArrayVertexBindingDivisorEXT(UInt32 vaobj, UInt32 bindingindex, UInt32 divisor); + [Slot(2297)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexArrayVertexOffsetEXT(UInt32 vaobj, UInt32 buffer, Int32 size, System.Int32 type, Int32 stride, IntPtr offset); + [Slot(2411)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribI1iEXT(UInt32 index, Int32 x); + [Slot(2413)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI1ivEXT(UInt32 index, Int32* v); + [Slot(2415)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribI1uiEXT(UInt32 index, UInt32 x); + [Slot(2417)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI1uivEXT(UInt32 index, UInt32* v); + [Slot(2419)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribI2iEXT(UInt32 index, Int32 x, Int32 y); + [Slot(2421)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI2ivEXT(UInt32 index, Int32* v); + [Slot(2423)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribI2uiEXT(UInt32 index, UInt32 x, UInt32 y); + [Slot(2425)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI2uivEXT(UInt32 index, UInt32* v); + [Slot(2427)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribI3iEXT(UInt32 index, Int32 x, Int32 y, Int32 z); + [Slot(2429)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI3ivEXT(UInt32 index, Int32* v); + [Slot(2431)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribI3uiEXT(UInt32 index, UInt32 x, UInt32 y, UInt32 z); + [Slot(2433)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI3uivEXT(UInt32 index, UInt32* v); + [Slot(2435)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI4bvEXT(UInt32 index, SByte* v); + [Slot(2437)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribI4iEXT(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); + [Slot(2439)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI4ivEXT(UInt32 index, Int32* v); + [Slot(2441)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI4svEXT(UInt32 index, Int16* v); + [Slot(2443)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI4ubvEXT(UInt32 index, Byte* v); + [Slot(2445)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribI4uiEXT(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); + [Slot(2447)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI4uivEXT(UInt32 index, UInt32* v); + [Slot(2449)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI4usvEXT(UInt32 index, UInt16* v); + [Slot(2453)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribIPointerEXT(UInt32 index, Int32 size, System.Int32 type, Int32 stride, IntPtr pointer); + [Slot(2455)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribL1dEXT(UInt32 index, Double x); + [Slot(2457)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribL1dvEXT(UInt32 index, Double* v); + [Slot(2465)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribL2dEXT(UInt32 index, Double x, Double y); + [Slot(2467)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribL2dvEXT(UInt32 index, Double* v); + [Slot(2473)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribL3dEXT(UInt32 index, Double x, Double y, Double z); + [Slot(2475)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribL3dvEXT(UInt32 index, Double* v); + [Slot(2481)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribL4dEXT(UInt32 index, Double x, Double y, Double z, Double w); + [Slot(2483)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribL4dvEXT(UInt32 index, Double* v); + [Slot(2491)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribLPointerEXT(UInt32 index, Int32 size, System.Int32 type, Int32 stride, IntPtr pointer); + [Slot(2533)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexPointerEXT(Int32 size, System.Int32 type, Int32 stride, Int32 count, IntPtr pointer); + [Slot(2568)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexWeightfEXT(Single weight); + [Slot(2569)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexWeightfvEXT(Single* weight); + [Slot(2572)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexWeightPointerEXT(Int32 size, System.Int32 type, Int32 stride, IntPtr pointer); + [Slot(2648)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWriteMaskEXT(UInt32 res, UInt32 @in, System.Int32 outX, System.Int32 outY, System.Int32 outZ, System.Int32 outW); + [Slot(585)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFrameTerminatorGREMEDY(); + [Slot(1894)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStringMarkerGREMEDY(Int32 len, IntPtr @string); + [Slot(725)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetImageTransformParameterfvHP(System.Int32 target, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(726)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetImageTransformParameterivHP(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(1030)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glImageTransformParameterfHP(System.Int32 target, System.Int32 pname, Single param); + [Slot(1031)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glImageTransformParameterfvHP(System.Int32 target, System.Int32 pname, Single* @params); + [Slot(1032)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glImageTransformParameteriHP(System.Int32 target, System.Int32 pname, Int32 param); + [Slot(1033)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glImageTransformParameterivHP(System.Int32 target, System.Int32 pname, Int32* @params); + [Slot(236)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColorPointerListIBM(Int32 size, System.Int32 type, Int32 stride, IntPtr pointer, Int32 ptrstride); + [Slot(461)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glEdgeFlagPointerListIBM(Int32 stride, bool** pointer, Int32 ptrstride); + [Slot(528)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFlushStaticDataIBM(System.Int32 target); + [Slot(544)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFogCoordPointerListIBM(System.Int32 type, Int32 stride, IntPtr pointer, Int32 ptrstride); + [Slot(1047)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glIndexPointerListIBM(System.Int32 type, Int32 stride, IntPtr pointer, Int32 ptrstride); + [Slot(1237)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiModeDrawArraysIBM(System.Int32* mode, Int32* first, Int32* count, Int32 primcount, Int32 modestride); + [Slot(1238)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiModeDrawElementsIBM(System.Int32* mode, Int32* count, System.Int32 type, IntPtr indices, Int32 primcount, Int32 modestride); + [Slot(1419)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNormalPointerListIBM(System.Int32 type, Int32 stride, IntPtr pointer, Int32 ptrstride); + [Slot(1854)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSecondaryColorPointerListIBM(Int32 size, System.Int32 type, Int32 stride, IntPtr pointer, Int32 ptrstride); + [Slot(2002)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoordPointerListIBM(Int32 size, System.Int32 type, Int32 stride, IntPtr pointer, Int32 ptrstride); + [Slot(2534)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexPointerListIBM(Int32 size, System.Int32 type, Int32 stride, IntPtr pointer, Int32 ptrstride); + [Slot(124)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendFuncSeparateINGR(System.Int32 sfactorRGB, System.Int32 dfactorRGB, System.Int32 sfactorAlpha, System.Int32 dfactorAlpha); + [Slot(237)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColorPointervINTEL(Int32 size, System.Int32 type, IntPtr pointer); + [Slot(1181)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe IntPtr glMapTexture2DINTEL(UInt32 texture, Int32 level, UInt32 access, [OutAttribute] Int32* stride, [OutAttribute] System.Int32* layout); + [Slot(1420)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNormalPointervINTEL(System.Int32 type, IntPtr pointer); + [Slot(1896)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSyncTextureINTEL(UInt32 texture); + [Slot(2003)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoordPointervINTEL(Int32 size, System.Int32 type, IntPtr pointer); + [Slot(2203)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUnmapTexture2DINTEL(UInt32 texture, Int32 level); + [Slot(2535)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexPointervINTEL(Int32 size, System.Int32 type, IntPtr pointer); + [Slot(347)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDebugMessageCallbackKHR(DebugProcKhr callback, IntPtr userParam); + [Slot(350)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDebugMessageControlKHR(System.Int32 source, System.Int32 type, System.Int32 severity, Int32 count, UInt32* ids, bool enabled); + [Slot(355)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDebugMessageInsertKHR(System.Int32 source, System.Int32 type, UInt32 id, System.Int32 severity, Int32 length, IntPtr buf); + [Slot(687)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe Int32 glGetDebugMessageLogKHR(UInt32 count, Int32 bufSize, [OutAttribute] System.Int32* sources, [OutAttribute] System.Int32* types, [OutAttribute] UInt32* ids, [OutAttribute] System.Int32* severities, [OutAttribute] Int32* lengths, [OutAttribute] IntPtr messageLog); + [Slot(820)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetObjectLabelKHR(System.Int32 identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr label); + [Slot(825)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetObjectPtrLabelKHR(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr label); + [Slot(859)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetPointervKHR(System.Int32 pname, [OutAttribute] IntPtr @params); + [Slot(1432)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glObjectLabelKHR(System.Int32 identifier, UInt32 name, Int32 length, IntPtr label); + [Slot(1434)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glObjectPtrLabelKHR(IntPtr ptr, Int32 length, IntPtr label); + [Slot(1516)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPopDebugGroupKHR(); + [Slot(1698)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPushDebugGroupKHR(System.Int32 source, UInt32 id, Int32 length, IntPtr message); + [Slot(1785)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glResizeBuffersMESA(); + [Slot(2594)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWindowPos2dMESA(Double x, Double y); + [Slot(2597)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWindowPos2dvMESA(Double* v); + [Slot(2600)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWindowPos2fMESA(Single x, Single y); + [Slot(2603)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWindowPos2fvMESA(Single* v); + [Slot(2606)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWindowPos2iMESA(Int32 x, Int32 y); + [Slot(2609)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWindowPos2ivMESA(Int32* v); + [Slot(2612)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWindowPos2sMESA(Int16 x, Int16 y); + [Slot(2615)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWindowPos2svMESA(Int16* v); + [Slot(2618)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWindowPos3dMESA(Double x, Double y, Double z); + [Slot(2621)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWindowPos3dvMESA(Double* v); + [Slot(2624)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWindowPos3fMESA(Single x, Single y, Single z); + [Slot(2627)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWindowPos3fvMESA(Single* v); + [Slot(2630)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWindowPos3iMESA(Int32 x, Int32 y, Int32 z); + [Slot(2633)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWindowPos3ivMESA(Int32* v); + [Slot(2636)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWindowPos3sMESA(Int16 x, Int16 y, Int16 z); + [Slot(2639)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWindowPos3svMESA(Int16* v); + [Slot(2640)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWindowPos4dMESA(Double x, Double y, Double z, Double w); + [Slot(2641)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWindowPos4dvMESA(Double* v); + [Slot(2642)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWindowPos4fMESA(Single x, Single y, Single z, Single w); + [Slot(2643)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWindowPos4fvMESA(Single* v); + [Slot(2644)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWindowPos4iMESA(Int32 x, Int32 y, Int32 z, Int32 w); + [Slot(2645)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWindowPos4ivMESA(Int32* v); + [Slot(2646)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glWindowPos4sMESA(Int16 x, Int16 y, Int16 z, Int16 w); + [Slot(2647)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWindowPos4svMESA(Int16* v); + [Slot(8)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glActiveVaryingNV(UInt32 program, IntPtr name); + [Slot(15)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe bool glAreProgramsResidentNV(Int32 n, UInt32* programs, [OutAttribute] bool* residences); + [Slot(26)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBeginConditionalRenderNV(UInt32 id, System.Int32 mode); + [Slot(29)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBeginOcclusionQueryNV(UInt32 id); + [Slot(36)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBeginTransformFeedbackNV(System.Int32 primitiveMode); + [Slot(38)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBeginVideoCaptureNV(UInt32 video_capture_slot); + [Slot(45)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindBufferBaseNV(System.Int32 target, UInt32 index, UInt32 buffer); + [Slot(47)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindBufferOffsetNV(System.Int32 target, UInt32 index, UInt32 buffer, IntPtr offset); + [Slot(50)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindBufferRangeNV(System.Int32 target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); + [Slot(67)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindProgramNV(System.Int32 target, UInt32 id); + [Slot(80)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindTransformFeedbackNV(System.Int32 target, UInt32 id); + [Slot(86)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindVideoCaptureStreamBufferNV(UInt32 video_capture_slot, UInt32 stream, System.Int32 frame_region, IntPtr offset); + [Slot(87)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindVideoCaptureStreamTextureNV(UInt32 video_capture_slot, UInt32 stream, System.Int32 frame_region, System.Int32 target, UInt32 texture); + [Slot(101)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendBarrierNV(); + [Slot(125)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendParameteriNV(System.Int32 pname, Int32 value); + [Slot(128)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBufferAddressRangeNV(System.Int32 pname, UInt32 index, UInt64 address, IntPtr length); + [Slot(156)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearDepthdNV(Double depth); + [Slot(182)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColor3hNV(Half red, Half green, Half blue); + [Slot(183)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColor3hvNV(Half* v); + [Slot(204)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColor4hNV(Half red, Half green, Half blue, Half alpha); + [Slot(205)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColor4hvNV(Half* v); + [Slot(222)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColorFormatNV(Int32 size, System.Int32 type, Int32 stride); + [Slot(247)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCombinerInputNV(System.Int32 stage, System.Int32 portion, System.Int32 variable, System.Int32 input, System.Int32 mapping, System.Int32 componentUsage); + [Slot(248)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCombinerOutputNV(System.Int32 stage, System.Int32 portion, System.Int32 abOutput, System.Int32 cdOutput, System.Int32 sumOutput, System.Int32 scale, System.Int32 bias, bool abDotProduct, bool cdDotProduct, bool muxSum); + [Slot(249)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCombinerParameterfNV(System.Int32 pname, Single param); + [Slot(250)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glCombinerParameterfvNV(System.Int32 pname, Single* @params); + [Slot(251)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCombinerParameteriNV(System.Int32 pname, Int32 param); + [Slot(252)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glCombinerParameterivNV(System.Int32 pname, Int32* @params); + [Slot(253)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glCombinerStageParameterfvNV(System.Int32 stage, System.Int32 pname, Single* @params); + [Slot(305)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyImageSubDataNV(UInt32 srcName, System.Int32 srcTarget, Int32 srcLevel, Int32 srcX, Int32 srcY, Int32 srcZ, UInt32 dstName, System.Int32 dstTarget, Int32 dstLevel, Int32 dstX, Int32 dstY, Int32 dstZ, Int32 width, Int32 height, Int32 depth); + [Slot(311)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyPathNV(UInt32 resultPath, UInt32 srcPath); + [Slot(328)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glCoverFillPathInstancedNV(Int32 numPaths, System.Int32 pathNameType, IntPtr paths, UInt32 pathBase, System.Int32 coverMode, System.Int32 transformType, Single* transformValues); + [Slot(329)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCoverFillPathNV(UInt32 path, System.Int32 coverMode); + [Slot(330)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glCoverStrokePathInstancedNV(Int32 numPaths, System.Int32 pathNameType, IntPtr paths, UInt32 pathBase, System.Int32 coverMode, System.Int32 transformType, Single* transformValues); + [Slot(331)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCoverStrokePathNV(UInt32 path, System.Int32 coverMode); + [Slot(363)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteFencesNV(Int32 n, UInt32* fences); + [Slot(371)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteOcclusionQueriesNV(Int32 n, UInt32* ids); + [Slot(372)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDeletePathsNV(UInt32 path, Int32 range); + [Slot(378)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteProgramsNV(Int32 n, UInt32* programs); + [Slot(389)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteTransformFeedbacksNV(Int32 n, UInt32* ids); + [Slot(393)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDepthBoundsdNV(Double zmin, Double zmax); + [Slot(399)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDepthRangedNV(Double zNear, Double zFar); + [Slot(451)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawTextureNV(UInt32 texture, UInt32 sampler, Single x0, Single y0, Single x1, Single y1, Single z, Single s0, Single t0, Single s1, Single t1); + [Slot(454)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawTransformFeedbackNV(System.Int32 mode, UInt32 id); + [Slot(458)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEdgeFlagFormatNV(Int32 stride); + [Slot(479)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEndConditionalRenderNV(); + [Slot(483)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEndOcclusionQueryNV(); + [Slot(490)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEndTransformFeedbackNV(); + [Slot(492)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEndVideoCaptureNV(UInt32 video_capture_slot); + [Slot(505)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEvalMapsNV(System.Int32 target, System.Int32 mode); + [Slot(510)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glExecuteProgramNV(System.Int32 target, UInt32 id, Single* @params); + [Slot(515)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFinalCombinerInputNV(System.Int32 variable, System.Int32 input, System.Int32 mapping, System.Int32 componentUsage); + [Slot(519)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFinishFenceNV(UInt32 fence); + [Slot(526)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFlushPixelDataRangeNV(System.Int32 target); + [Slot(530)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFlushVertexArrayRangeNV(); + [Slot(537)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFogCoordFormatNV(System.Int32 type, Int32 stride); + [Slot(540)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFogCoordhNV(Half fog); + [Slot(541)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glFogCoordhvNV(Half* fog); + [Slot(600)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenFencesNV(Int32 n, [OutAttribute] UInt32* fences); + [Slot(606)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenOcclusionQueriesNV(Int32 n, [OutAttribute] UInt32* ids); + [Slot(607)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGenPathsNV(Int32 range); + [Slot(612)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenProgramsNV(Int32 n, [OutAttribute] UInt32* programs); + [Slot(622)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenTransformFeedbacksNV(Int32 n, [OutAttribute] UInt32* ids); + [Slot(638)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] System.Int32* type, [OutAttribute] IntPtr name); + [Slot(651)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetBufferParameterui64vNV(System.Int32 target, System.Int32 pname, [OutAttribute] UInt64* @params); + [Slot(668)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetCombinerInputParameterfvNV(System.Int32 stage, System.Int32 portion, System.Int32 variable, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(669)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetCombinerInputParameterivNV(System.Int32 stage, System.Int32 portion, System.Int32 variable, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(670)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetCombinerOutputParameterfvNV(System.Int32 stage, System.Int32 portion, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(671)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetCombinerOutputParameterivNV(System.Int32 stage, System.Int32 portion, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(672)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetCombinerStageParameterfvNV(System.Int32 stage, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(694)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetFenceivNV(UInt32 fence, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(695)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetFinalCombinerInputParameterfvNV(System.Int32 variable, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(696)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetFinalCombinerInputParameterivNV(System.Int32 variable, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(724)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int64 glGetImageHandleNV(UInt32 texture, Int32 level, bool layered, Int32 layer, System.Int32 format); + [Slot(733)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetIntegerui64i_vNV(System.Int32 value, UInt32 index, [OutAttribute] UInt64* result); + [Slot(734)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetIntegerui64vNV(System.Int32 value, [OutAttribute] UInt64* result); + [Slot(750)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMapAttribParameterfvNV(System.Int32 target, UInt32 index, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(751)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMapAttribParameterivNV(System.Int32 target, UInt32 index, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(752)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetMapControlPointsNV(System.Int32 target, UInt32 index, System.Int32 type, Int32 ustride, Int32 vstride, bool packed, [OutAttribute] IntPtr points); + [Slot(756)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMapParameterfvNV(System.Int32 target, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(757)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMapParameterivNV(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(770)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMultisamplefvNV(System.Int32 pname, UInt32 index, [OutAttribute] Single* val); + [Slot(784)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetNamedBufferParameterui64vNV(UInt32 buffer, System.Int32 pname, [OutAttribute] UInt64* @params); + [Slot(826)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetOcclusionQueryivNV(UInt32 id, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(827)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetOcclusionQueryuivNV(UInt32 id, System.Int32 pname, [OutAttribute] UInt32* @params); + [Slot(828)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPathColorGenfvNV(System.Int32 color, System.Int32 pname, [OutAttribute] Single* value); + [Slot(829)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPathColorGenivNV(System.Int32 color, System.Int32 pname, [OutAttribute] Int32* value); + [Slot(830)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPathCommandsNV(UInt32 path, [OutAttribute] Byte* commands); + [Slot(831)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPathCoordsNV(UInt32 path, [OutAttribute] Single* coords); + [Slot(832)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPathDashArrayNV(UInt32 path, [OutAttribute] Single* dashArray); + [Slot(833)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Single glGetPathLengthNV(UInt32 path, Int32 startSegment, Int32 numSegments); + [Slot(834)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPathMetricRangeNV(UInt32 metricQueryMask, UInt32 firstPathName, Int32 numPaths, Int32 stride, [OutAttribute] Single* metrics); + [Slot(835)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPathMetricsNV(UInt32 metricQueryMask, Int32 numPaths, System.Int32 pathNameType, IntPtr paths, UInt32 pathBase, Int32 stride, [OutAttribute] Single* metrics); + [Slot(836)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPathParameterfvNV(UInt32 path, System.Int32 pname, [OutAttribute] Single* value); + [Slot(837)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPathParameterivNV(UInt32 path, System.Int32 pname, [OutAttribute] Int32* value); + [Slot(838)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPathSpacingNV(System.Int32 pathListMode, Int32 numPaths, System.Int32 pathNameType, IntPtr paths, UInt32 pathBase, Single advanceScale, Single kerningScale, System.Int32 transformType, [OutAttribute] Single* returnedSpacing); + [Slot(839)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPathTexGenfvNV(System.Int32 texCoordSet, System.Int32 pname, [OutAttribute] Single* value); + [Slot(840)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPathTexGenivNV(System.Int32 texCoordSet, System.Int32 pname, [OutAttribute] Int32* value); + [Slot(864)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramEnvParameterIivNV(System.Int32 target, UInt32 index, [OutAttribute] Int32* @params); + [Slot(865)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramEnvParameterIuivNV(System.Int32 target, UInt32 index, [OutAttribute] UInt32* @params); + [Slot(870)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramivNV(UInt32 id, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(873)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramLocalParameterIivNV(System.Int32 target, UInt32 index, [OutAttribute] Int32* @params); + [Slot(874)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramLocalParameterIuivNV(System.Int32 target, UInt32 index, [OutAttribute] UInt32* @params); + [Slot(875)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramNamedParameterdvNV(UInt32 id, Int32 len, Byte* name, [OutAttribute] Double* @params); + [Slot(876)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramNamedParameterfvNV(UInt32 id, Int32 len, Byte* name, [OutAttribute] Single* @params); + [Slot(877)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramParameterdvNV(System.Int32 target, UInt32 index, System.Int32 pname, [OutAttribute] Double* @params); + [Slot(878)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramParameterfvNV(System.Int32 target, UInt32 index, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(890)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramStringNV(UInt32 id, System.Int32 pname, [OutAttribute] Byte* program); + [Slot(891)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramSubroutineParameteruivNV(System.Int32 target, UInt32 index, [OutAttribute] UInt32* param); + [Slot(945)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int64 glGetTextureHandleNV(UInt32 texture); + [Slot(954)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int64 glGetTextureSamplerHandleNV(UInt32 texture, UInt32 sampler); + [Slot(955)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTrackMatrixivNV(System.Int32 target, UInt32 address, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(958)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTransformFeedbackVaryingNV(UInt32 program, UInt32 index, [OutAttribute] Int32* location); + [Slot(964)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetUniformi64vNV(UInt32 program, Int32 location, [OutAttribute] Int64* @params); + [Slot(972)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetUniformui64vNV(UInt32 program, Int32 location, [OutAttribute] UInt64* @params); + [Slot(981)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGetVaryingLocationNV(UInt32 program, IntPtr name); + [Slot(990)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexAttribdvNV(UInt32 index, System.Int32 pname, [OutAttribute] Double* @params); + [Slot(993)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexAttribfvNV(UInt32 index, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(1000)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexAttribivNV(UInt32 index, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(1003)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexAttribLi64vNV(UInt32 index, System.Int32 pname, [OutAttribute] Int64* @params); + [Slot(1005)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexAttribLui64vNV(UInt32 index, System.Int32 pname, [OutAttribute] UInt64* @params); + [Slot(1008)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetVertexAttribPointervNV(UInt32 index, System.Int32 pname, [OutAttribute] IntPtr pointer); + [Slot(1009)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVideoCaptureivNV(UInt32 video_capture_slot, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(1010)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVideoCaptureStreamdvNV(UInt32 video_capture_slot, UInt32 stream, System.Int32 pname, [OutAttribute] Double* @params); + [Slot(1011)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVideoCaptureStreamfvNV(UInt32 video_capture_slot, UInt32 stream, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(1012)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVideoCaptureStreamivNV(UInt32 video_capture_slot, UInt32 stream, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(1013)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVideoi64vNV(UInt32 video_slot, System.Int32 pname, [OutAttribute] Int64* @params); + [Slot(1014)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVideoivNV(UInt32 video_slot, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(1015)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVideoui64vNV(UInt32 video_slot, System.Int32 pname, [OutAttribute] UInt64* @params); + [Slot(1016)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVideouivNV(UInt32 video_slot, System.Int32 pname, [OutAttribute] UInt32* @params); + [Slot(1038)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glIndexFormatNV(System.Int32 type, Int32 stride); + [Slot(1059)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glInterpolatePathsNV(UInt32 resultPath, UInt32 pathA, UInt32 pathB, Single weight); + [Slot(1069)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsBufferResidentNV(System.Int32 target); + [Slot(1074)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsFenceNV(UInt32 fence); + [Slot(1078)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsImageHandleResidentNV(UInt64 handle); + [Slot(1081)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsNamedBufferResidentNV(UInt32 buffer); + [Slot(1084)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsOcclusionQueryNV(UInt32 id); + [Slot(1085)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsPathNV(UInt32 path); + [Slot(1086)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsPointInFillPathNV(UInt32 path, UInt32 mask, Single x, Single y); + [Slot(1087)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsPointInStrokePathNV(UInt32 path, Single x, Single y); + [Slot(1090)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsProgramNV(UInt32 id); + [Slot(1103)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsTextureHandleResidentNV(UInt64 handle); + [Slot(1105)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsTransformFeedbackNV(UInt32 id); + [Slot(1140)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glLoadProgramNV(System.Int32 target, UInt32 id, Int32 len, Byte* program); + [Slot(1148)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMakeBufferNonResidentNV(System.Int32 target); + [Slot(1149)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMakeBufferResidentNV(System.Int32 target, System.Int32 access); + [Slot(1151)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMakeImageHandleNonResidentNV(UInt64 handle); + [Slot(1153)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMakeImageHandleResidentNV(UInt64 handle, System.Int32 access); + [Slot(1154)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMakeNamedBufferNonResidentNV(UInt32 buffer); + [Slot(1155)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMakeNamedBufferResidentNV(UInt32 buffer, System.Int32 access); + [Slot(1157)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMakeTextureHandleNonResidentNV(UInt64 handle); + [Slot(1159)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMakeTextureHandleResidentNV(UInt64 handle); + [Slot(1169)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMapControlPointsNV(System.Int32 target, UInt32 index, System.Int32 type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, IntPtr points); + [Slot(1179)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMapParameterfvNV(System.Int32 target, System.Int32 pname, Single* @params); + [Slot(1180)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMapParameterivNV(System.Int32 target, System.Int32 pname, Int32* @params); + [Slot(1226)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiDrawArraysIndirectBindlessNV(System.Int32 mode, IntPtr indirect, Int32 drawCount, Int32 stride, Int32 vertexBufferCount); + [Slot(1234)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiDrawElementsIndirectBindlessNV(System.Int32 mode, System.Int32 type, IntPtr indirect, Int32 drawCount, Int32 stride, Int32 vertexBufferCount); + [Slot(1250)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord1hNV(System.Int32 target, Half s); + [Slot(1251)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord1hvNV(System.Int32 target, Half* v); + [Slot(1272)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord2hNV(System.Int32 target, Half s, Half t); + [Slot(1273)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord2hvNV(System.Int32 target, Half* v); + [Slot(1294)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord3hNV(System.Int32 target, Half s, Half t, Half r); + [Slot(1295)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord3hvNV(System.Int32 target, Half* v); + [Slot(1316)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord4hNV(System.Int32 target, Half s, Half t, Half r, Half q); + [Slot(1317)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord4hvNV(System.Int32 target, Half* v); + [Slot(1406)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNormal3hNV(Half nx, Half ny, Half nz); + [Slot(1407)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glNormal3hvNV(Half* v); + [Slot(1414)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNormalFormatNV(System.Int32 type, Int32 stride); + [Slot(1445)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPathColorGenNV(System.Int32 color, System.Int32 genMode, System.Int32 colorFormat, Single* coeffs); + [Slot(1446)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPathCommandsNV(UInt32 path, Int32 numCommands, Byte* commands, Int32 numCoords, System.Int32 coordType, IntPtr coords); + [Slot(1447)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPathCoordsNV(UInt32 path, Int32 numCoords, System.Int32 coordType, IntPtr coords); + [Slot(1448)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPathCoverDepthFuncNV(System.Int32 func); + [Slot(1449)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPathDashArrayNV(UInt32 path, Int32 dashCount, Single* dashArray); + [Slot(1450)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPathFogGenNV(System.Int32 genMode); + [Slot(1451)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPathGlyphRangeNV(UInt32 firstPathName, System.Int32 fontTarget, IntPtr fontName, UInt32 fontStyle, UInt32 firstGlyph, Int32 numGlyphs, System.Int32 handleMissingGlyphs, UInt32 pathParameterTemplate, Single emScale); + [Slot(1452)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPathGlyphsNV(UInt32 firstPathName, System.Int32 fontTarget, IntPtr fontName, UInt32 fontStyle, Int32 numGlyphs, System.Int32 type, IntPtr charcodes, System.Int32 handleMissingGlyphs, UInt32 pathParameterTemplate, Single emScale); + [Slot(1453)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPathParameterfNV(UInt32 path, System.Int32 pname, Single value); + [Slot(1454)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPathParameterfvNV(UInt32 path, System.Int32 pname, Single* value); + [Slot(1455)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPathParameteriNV(UInt32 path, System.Int32 pname, Int32 value); + [Slot(1456)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPathParameterivNV(UInt32 path, System.Int32 pname, Int32* value); + [Slot(1457)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPathStencilDepthOffsetNV(Single factor, Single units); + [Slot(1458)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPathStencilFuncNV(System.Int32 func, Int32 @ref, UInt32 mask); + [Slot(1459)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPathStringNV(UInt32 path, System.Int32 format, Int32 length, IntPtr pathString); + [Slot(1460)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPathSubCommandsNV(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte* commands, Int32 numCoords, System.Int32 coordType, IntPtr coords); + [Slot(1461)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPathSubCoordsNV(UInt32 path, Int32 coordStart, Int32 numCoords, System.Int32 coordType, IntPtr coords); + [Slot(1462)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPathTexGenNV(System.Int32 texCoordSet, System.Int32 genMode, Int32 components, Single* coeffs); + [Slot(1464)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPauseTransformFeedbackNV(); + [Slot(1465)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPixelDataRangeNV(System.Int32 target, Int32 length, IntPtr pointer); + [Slot(1489)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe bool glPointAlongPathNV(UInt32 path, Int32 startSegment, Int32 numSegments, Single distance, [OutAttribute] Single* x, [OutAttribute] Single* y, [OutAttribute] Single* tangentX, [OutAttribute] Single* tangentY); + [Slot(1499)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPointParameteriNV(System.Int32 pname, Int32 param); + [Slot(1501)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPointParameterivNV(System.Int32 pname, Int32* @params); + [Slot(1520)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPresentFrameDualFillNV(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, System.Int32 type, System.Int32 target0, UInt32 fill0, System.Int32 target1, UInt32 fill1, System.Int32 target2, UInt32 fill2, System.Int32 target3, UInt32 fill3); + [Slot(1521)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPresentFrameKeyedNV(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, System.Int32 type, System.Int32 target0, UInt32 fill0, UInt32 key0, System.Int32 target1, UInt32 fill1, UInt32 key1); + [Slot(1523)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPrimitiveRestartIndexNV(UInt32 index); + [Slot(1524)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPrimitiveRestartNV(); + [Slot(1529)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramBufferParametersfvNV(System.Int32 target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, Single* @params); + [Slot(1530)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramBufferParametersIivNV(System.Int32 target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, Int32* @params); + [Slot(1531)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramBufferParametersIuivNV(System.Int32 target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, UInt32* @params); + [Slot(1536)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramEnvParameterI4iNV(System.Int32 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); + [Slot(1537)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramEnvParameterI4ivNV(System.Int32 target, UInt32 index, Int32* @params); + [Slot(1538)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramEnvParameterI4uiNV(System.Int32 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); + [Slot(1539)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramEnvParameterI4uivNV(System.Int32 target, UInt32 index, UInt32* @params); + [Slot(1541)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramEnvParametersI4ivNV(System.Int32 target, UInt32 index, Int32 count, Int32* @params); + [Slot(1542)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramEnvParametersI4uivNV(System.Int32 target, UInt32 index, Int32 count, UInt32* @params); + [Slot(1547)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramLocalParameterI4iNV(System.Int32 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); + [Slot(1548)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramLocalParameterI4ivNV(System.Int32 target, UInt32 index, Int32* @params); + [Slot(1549)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramLocalParameterI4uiNV(System.Int32 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); + [Slot(1550)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramLocalParameterI4uivNV(System.Int32 target, UInt32 index, UInt32* @params); + [Slot(1552)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramLocalParametersI4ivNV(System.Int32 target, UInt32 index, Int32 count, Int32* @params); + [Slot(1553)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramLocalParametersI4uivNV(System.Int32 target, UInt32 index, Int32 count, UInt32* @params); + [Slot(1554)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramNamedParameter4dNV(UInt32 id, Int32 len, Byte* name, Double x, Double y, Double z, Double w); + [Slot(1555)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramNamedParameter4dvNV(UInt32 id, Int32 len, Byte* name, Double* v); + [Slot(1556)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramNamedParameter4fNV(UInt32 id, Int32 len, Byte* name, Single x, Single y, Single z, Single w); + [Slot(1557)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramNamedParameter4fvNV(UInt32 id, Int32 len, Byte* name, Single* v); + [Slot(1558)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramParameter4dNV(System.Int32 target, UInt32 index, Double x, Double y, Double z, Double w); + [Slot(1559)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramParameter4dvNV(System.Int32 target, UInt32 index, Double* v); + [Slot(1560)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramParameter4fNV(System.Int32 target, UInt32 index, Single x, Single y, Single z, Single w); + [Slot(1561)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramParameter4fvNV(System.Int32 target, UInt32 index, Single* v); + [Slot(1565)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramParameters4dvNV(System.Int32 target, UInt32 index, Int32 count, Double* v); + [Slot(1566)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramParameters4fvNV(System.Int32 target, UInt32 index, Int32 count, Single* v); + [Slot(1568)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramSubroutineParametersuivNV(System.Int32 target, Int32 count, UInt32* @params); + [Slot(1578)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform1i64NV(UInt32 program, Int32 location, Int64 x); + [Slot(1579)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform1i64vNV(UInt32 program, Int32 location, Int32 count, Int64* value); + [Slot(1584)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform1ui64NV(UInt32 program, Int32 location, UInt64 x); + [Slot(1585)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform1ui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value); + [Slot(1598)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform2i64NV(UInt32 program, Int32 location, Int64 x, Int64 y); + [Slot(1599)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform2i64vNV(UInt32 program, Int32 location, Int32 count, Int64* value); + [Slot(1604)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform2ui64NV(UInt32 program, Int32 location, UInt64 x, UInt64 y); + [Slot(1605)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform2ui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value); + [Slot(1618)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform3i64NV(UInt32 program, Int32 location, Int64 x, Int64 y, Int64 z); + [Slot(1619)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform3i64vNV(UInt32 program, Int32 location, Int32 count, Int64* value); + [Slot(1624)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform3ui64NV(UInt32 program, Int32 location, UInt64 x, UInt64 y, UInt64 z); + [Slot(1625)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform3ui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value); + [Slot(1638)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform4i64NV(UInt32 program, Int32 location, Int64 x, Int64 y, Int64 z, Int64 w); + [Slot(1639)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform4i64vNV(UInt32 program, Int32 location, Int32 count, Int64* value); + [Slot(1644)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform4ui64NV(UInt32 program, Int32 location, UInt64 x, UInt64 y, UInt64 z, UInt64 w); + [Slot(1645)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform4ui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value); + [Slot(1650)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniformHandleui64NV(UInt32 program, Int32 location, UInt64 value); + [Slot(1652)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformHandleui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* values); + [Slot(1689)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniformui64NV(UInt32 program, Int32 location, UInt64 value); + [Slot(1690)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value); + [Slot(1691)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramVertexLimitNV(System.Int32 target, Int32 limit); + [Slot(1754)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRenderbufferStorageMultisampleCoverageNV(System.Int32 target, Int32 coverageSamples, Int32 colorSamples, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(1780)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glRequestResidentProgramsNV(Int32 n, UInt32* programs); + [Slot(1787)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glResumeTransformFeedbackNV(); + [Slot(1798)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSampleMaskIndexedNV(UInt32 index, UInt32 mask); + [Slot(1827)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSecondaryColor3hNV(Half red, Half green, Half blue); + [Slot(1828)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSecondaryColor3hvNV(Half* v); + [Slot(1849)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSecondaryColorFormatNV(Int32 size, System.Int32 type, Int32 stride); + [Slot(1860)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSetFenceNV(UInt32 fence, System.Int32 condition); + [Slot(1880)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glStencilFillPathInstancedNV(Int32 numPaths, System.Int32 pathNameType, IntPtr paths, UInt32 pathBase, System.Int32 fillMode, UInt32 mask, System.Int32 transformType, Single* transformValues); + [Slot(1881)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStencilFillPathNV(UInt32 path, System.Int32 fillMode, UInt32 mask); + [Slot(1891)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glStencilStrokePathInstancedNV(Int32 numPaths, System.Int32 pathNameType, IntPtr paths, UInt32 pathBase, Int32 reference, UInt32 mask, System.Int32 transformType, Single* transformValues); + [Slot(1892)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStencilStrokePathNV(UInt32 path, Int32 reference, UInt32 mask); + [Slot(1913)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glTestFenceNV(UInt32 fence); + [Slot(1927)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord1hNV(Half s); + [Slot(1928)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord1hvNV(Half* v); + [Slot(1951)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord2hNV(Half s, Half t); + [Slot(1952)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord2hvNV(Half* v); + [Slot(1965)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord3hNV(Half s, Half t, Half r); + [Slot(1966)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord3hvNV(Half* v); + [Slot(1983)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord4hNV(Half s, Half t, Half r, Half q); + [Slot(1984)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord4hvNV(Half* v); + [Slot(1991)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoordFormatNV(Int32 size, System.Int32 type, Int32 stride); + [Slot(2022)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexImage2DMultisampleCoverageNV(System.Int32 target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations); + [Slot(2026)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexImage3DMultisampleCoverageNV(System.Int32 target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations); + [Slot(2039)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexRenderbufferNV(System.Int32 target, UInt32 renderbuffer); + [Slot(2053)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureBarrierNV(); + [Slot(2059)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureImage2DMultisampleCoverageNV(UInt32 texture, System.Int32 target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations); + [Slot(2060)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureImage2DMultisampleNV(UInt32 texture, System.Int32 target, Int32 samples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations); + [Slot(2062)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureImage3DMultisampleCoverageNV(UInt32 texture, System.Int32 target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations); + [Slot(2063)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureImage3DMultisampleNV(UInt32 texture, System.Int32 target, Int32 samples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations); + [Slot(2086)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTrackMatrixNV(System.Int32 target, UInt32 address, System.Int32 matrix, System.Int32 transform); + [Slot(2087)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTransformFeedbackAttribsNV(UInt32 count, Int32* attribs, System.Int32 bufferMode); + [Slot(2088)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTransformFeedbackStreamAttribsNV(Int32 count, Int32* attribs, Int32 nbuffers, Int32* bufstreams, System.Int32 bufferMode); + [Slot(2091)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTransformFeedbackVaryingsNV(UInt32 program, Int32 count, Int32* locations, System.Int32 bufferMode); + [Slot(2092)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTransformPathNV(UInt32 resultPath, UInt32 srcPath, System.Int32 transformType, Single* transformValues); + [Slot(2103)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform1i64NV(Int32 location, Int64 x); + [Slot(2104)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform1i64vNV(Int32 location, Int32 count, Int64* value); + [Slot(2109)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform1ui64NV(Int32 location, UInt64 x); + [Slot(2110)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform1ui64vNV(Int32 location, Int32 count, UInt64* value); + [Slot(2121)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform2i64NV(Int32 location, Int64 x, Int64 y); + [Slot(2122)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform2i64vNV(Int32 location, Int32 count, Int64* value); + [Slot(2127)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform2ui64NV(Int32 location, UInt64 x, UInt64 y); + [Slot(2128)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform2ui64vNV(Int32 location, Int32 count, UInt64* value); + [Slot(2139)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform3i64NV(Int32 location, Int64 x, Int64 y, Int64 z); + [Slot(2140)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform3i64vNV(Int32 location, Int32 count, Int64* value); + [Slot(2145)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform3ui64NV(Int32 location, UInt64 x, UInt64 y, UInt64 z); + [Slot(2146)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform3ui64vNV(Int32 location, Int32 count, UInt64* value); + [Slot(2157)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform4i64NV(Int32 location, Int64 x, Int64 y, Int64 z, Int64 w); + [Slot(2158)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform4i64vNV(Int32 location, Int32 count, Int64* value); + [Slot(2163)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform4ui64NV(Int32 location, UInt64 x, UInt64 y, UInt64 z, UInt64 w); + [Slot(2164)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform4ui64vNV(Int32 location, Int32 count, UInt64* value); + [Slot(2171)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniformHandleui64NV(Int32 location, UInt64 value); + [Slot(2173)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformHandleui64vNV(Int32 location, Int32 count, UInt64* value); + [Slot(2196)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniformui64NV(Int32 location, UInt64 value); + [Slot(2197)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformui64vNV(Int32 location, Int32 count, UInt64* value); + [Slot(2224)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVDPAUFiniNV(); + [Slot(2225)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVDPAUGetSurfaceivNV(IntPtr surface, System.Int32 pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); + [Slot(2226)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVDPAUInitNV(IntPtr vdpDevice, IntPtr getProcAddress); + [Slot(2227)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVDPAUIsSurfaceNV(IntPtr surface); + [Slot(2228)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVDPAUMapSurfacesNV(Int32 numSurfaces, IntPtr* surfaces); + [Slot(2229)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe IntPtr glVDPAURegisterOutputSurfaceNV(IntPtr vdpSurface, System.Int32 target, Int32 numTextureNames, UInt32* textureNames); + [Slot(2230)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe IntPtr glVDPAURegisterVideoSurfaceNV(IntPtr vdpSurface, System.Int32 target, Int32 numTextureNames, UInt32* textureNames); + [Slot(2231)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVDPAUSurfaceAccessNV(IntPtr surface, System.Int32 access); + [Slot(2232)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVDPAUUnmapSurfacesNV(Int32 numSurface, IntPtr* surfaces); + [Slot(2233)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVDPAUUnregisterSurfaceNV(IntPtr surface); + [Slot(2240)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertex2hNV(Half x, Half y); + [Slot(2241)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertex2hvNV(Half* v); + [Slot(2254)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertex3hNV(Half x, Half y, Half z); + [Slot(2255)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertex3hvNV(Half* v); + [Slot(2268)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertex4hNV(Half x, Half y, Half z, Half w); + [Slot(2269)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertex4hvNV(Half* v); + [Slot(2285)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexArrayRangeNV(Int32 length, IntPtr pointer); + [Slot(2300)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib1dNV(UInt32 index, Double x); + [Slot(2303)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib1dvNV(UInt32 index, Double* v); + [Slot(2306)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib1fNV(UInt32 index, Single x); + [Slot(2309)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib1fvNV(UInt32 index, Single* v); + [Slot(2310)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib1hNV(UInt32 index, Half x); + [Slot(2311)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib1hvNV(UInt32 index, Half* v); + [Slot(2314)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib1sNV(UInt32 index, Int16 x); + [Slot(2317)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib1svNV(UInt32 index, Int16* v); + [Slot(2320)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib2dNV(UInt32 index, Double x, Double y); + [Slot(2323)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib2dvNV(UInt32 index, Double* v); + [Slot(2326)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib2fNV(UInt32 index, Single x, Single y); + [Slot(2329)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib2fvNV(UInt32 index, Single* v); + [Slot(2330)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib2hNV(UInt32 index, Half x, Half y); + [Slot(2331)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib2hvNV(UInt32 index, Half* v); + [Slot(2334)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib2sNV(UInt32 index, Int16 x, Int16 y); + [Slot(2337)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib2svNV(UInt32 index, Int16* v); + [Slot(2340)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib3dNV(UInt32 index, Double x, Double y, Double z); + [Slot(2343)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib3dvNV(UInt32 index, Double* v); + [Slot(2346)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib3fNV(UInt32 index, Single x, Single y, Single z); + [Slot(2349)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib3fvNV(UInt32 index, Single* v); + [Slot(2350)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib3hNV(UInt32 index, Half x, Half y, Half z); + [Slot(2351)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib3hvNV(UInt32 index, Half* v); + [Slot(2354)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib3sNV(UInt32 index, Int16 x, Int16 y, Int16 z); + [Slot(2357)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib3svNV(UInt32 index, Int16* v); + [Slot(2362)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib4dNV(UInt32 index, Double x, Double y, Double z, Double w); + [Slot(2365)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4dvNV(UInt32 index, Double* v); + [Slot(2368)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib4fNV(UInt32 index, Single x, Single y, Single z, Single w); + [Slot(2371)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4fvNV(UInt32 index, Single* v); + [Slot(2372)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib4hNV(UInt32 index, Half x, Half y, Half z, Half w); + [Slot(2373)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4hvNV(UInt32 index, Half* v); + [Slot(2392)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib4sNV(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w); + [Slot(2395)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4svNV(UInt32 index, Int16* v); + [Slot(2396)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib4ubNV(UInt32 index, Byte x, Byte y, Byte z, Byte w); + [Slot(2399)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4ubvNV(UInt32 index, Byte* v); + [Slot(2409)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribFormatNV(UInt32 index, Int32 size, System.Int32 type, bool normalized, Int32 stride); + [Slot(2451)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribIFormatNV(UInt32 index, Int32 size, System.Int32 type, Int32 stride); + [Slot(2458)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribL1i64NV(UInt32 index, Int64 x); + [Slot(2459)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribL1i64vNV(UInt32 index, Int64* v); + [Slot(2461)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribL1ui64NV(UInt32 index, UInt64 x); + [Slot(2463)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribL1ui64vNV(UInt32 index, UInt64* v); + [Slot(2468)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribL2i64NV(UInt32 index, Int64 x, Int64 y); + [Slot(2469)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribL2i64vNV(UInt32 index, Int64* v); + [Slot(2470)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribL2ui64NV(UInt32 index, UInt64 x, UInt64 y); + [Slot(2471)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribL2ui64vNV(UInt32 index, UInt64* v); + [Slot(2476)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribL3i64NV(UInt32 index, Int64 x, Int64 y, Int64 z); + [Slot(2477)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribL3i64vNV(UInt32 index, Int64* v); + [Slot(2478)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribL3ui64NV(UInt32 index, UInt64 x, UInt64 y, UInt64 z); + [Slot(2479)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribL3ui64vNV(UInt32 index, UInt64* v); + [Slot(2484)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribL4i64NV(UInt32 index, Int64 x, Int64 y, Int64 z, Int64 w); + [Slot(2485)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribL4i64vNV(UInt32 index, Int64* v); + [Slot(2486)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribL4ui64NV(UInt32 index, UInt64 x, UInt64 y, UInt64 z, UInt64 w); + [Slot(2487)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribL4ui64vNV(UInt32 index, UInt64* v); + [Slot(2489)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribLFormatNV(UInt32 index, Int32 size, System.Int32 type, Int32 stride); + [Slot(2503)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribPointerNV(UInt32 index, Int32 fsize, System.Int32 type, Int32 stride, IntPtr pointer); + [Slot(2504)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribs1dvNV(UInt32 index, Int32 count, Double* v); + [Slot(2505)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribs1fvNV(UInt32 index, Int32 count, Single* v); + [Slot(2506)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribs1hvNV(UInt32 index, Int32 n, Half* v); + [Slot(2507)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribs1svNV(UInt32 index, Int32 count, Int16* v); + [Slot(2508)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribs2dvNV(UInt32 index, Int32 count, Double* v); + [Slot(2509)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribs2fvNV(UInt32 index, Int32 count, Single* v); + [Slot(2510)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribs2hvNV(UInt32 index, Int32 n, Half* v); + [Slot(2511)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribs2svNV(UInt32 index, Int32 count, Int16* v); + [Slot(2512)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribs3dvNV(UInt32 index, Int32 count, Double* v); + [Slot(2513)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribs3fvNV(UInt32 index, Int32 count, Single* v); + [Slot(2514)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribs3hvNV(UInt32 index, Int32 n, Half* v); + [Slot(2515)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribs3svNV(UInt32 index, Int32 count, Int16* v); + [Slot(2516)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribs4dvNV(UInt32 index, Int32 count, Double* v); + [Slot(2517)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribs4fvNV(UInt32 index, Int32 count, Single* v); + [Slot(2518)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribs4hvNV(UInt32 index, Int32 n, Half* v); + [Slot(2519)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribs4svNV(UInt32 index, Int32 count, Int16* v); + [Slot(2520)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribs4ubvNV(UInt32 index, Int32 count, Byte* v); + [Slot(2525)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexFormatNV(Int32 size, System.Int32 type, Int32 stride); + [Slot(2570)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexWeighthNV(Half weight); + [Slot(2571)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexWeighthvNV(Half* weight); + [Slot(2573)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe System.Int32 glVideoCaptureNV(UInt32 video_capture_slot, [OutAttribute] UInt32* sequence_num, [OutAttribute] UInt64* capture_time); + [Slot(2574)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVideoCaptureStreamParameterdvNV(UInt32 video_capture_slot, UInt32 stream, System.Int32 pname, Double* @params); + [Slot(2575)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVideoCaptureStreamParameterfvNV(UInt32 video_capture_slot, UInt32 stream, System.Int32 pname, Single* @params); + [Slot(2576)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVideoCaptureStreamParameterivNV(UInt32 video_capture_slot, UInt32 stream, System.Int32 pname, Int32* @params); + [Slot(2586)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glWeightPathsNV(UInt32 resultPath, Int32 numPaths, UInt32* paths, Single* weights); + [Slot(27)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBeginConditionalRenderNVX(UInt32 id); + [Slot(480)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEndConditionalRenderNVX(); + [Slot(1)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glAccumxOES(System.Int32 op, int value); + [Slot(13)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glAlphaFuncxOES(System.Int32 func, int @ref); + [Slot(100)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glBitmapxOES(Int32 width, Int32 height, int xorig, int yorig, int xmove, int ymove, Byte* bitmap); + [Slot(104)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendColorxOES(int red, int green, int blue, int alpha); + [Slot(144)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearAccumxOES(int red, int green, int blue, int alpha); + [Slot(154)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearColorxOES(int red, int green, int blue, int alpha); + [Slot(158)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearDepthfOES(Single depth); + [Slot(159)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearDepthxOES(int depth); + [Slot(172)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glClipPlanefOES(System.Int32 plane, Single* equation); + [Slot(173)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glClipPlanexOES(System.Int32 plane, int* equation); + [Slot(194)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColor3xOES(int red, int green, int blue); + [Slot(195)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColor3xvOES(int* components); + [Slot(220)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColor4xOES(int red, int green, int blue, int alpha); + [Slot(221)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColor4xvOES(int* components); + [Slot(293)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glConvolutionParameterxOES(System.Int32 target, System.Int32 pname, int param); + [Slot(294)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glConvolutionParameterxvOES(System.Int32 target, System.Int32 pname, int* @params); + [Slot(401)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDepthRangefOES(Single n, Single f); + [Slot(403)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDepthRangexOES(int n, int f); + [Slot(497)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEvalCoord1xOES(int u); + [Slot(498)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glEvalCoord1xvOES(int* coords); + [Slot(503)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEvalCoord2xOES(int u, int v); + [Slot(504)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glEvalCoord2xvOES(int* coords); + [Slot(513)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glFeedbackBufferxOES(Int32 n, System.Int32 type, int* buffer); + [Slot(550)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFogxOES(System.Int32 pname, int param); + [Slot(551)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glFogxvOES(System.Int32 pname, int* param); + [Slot(590)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFrustumfOES(Single l, Single r, Single b, Single t, Single n, Single f); + [Slot(591)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFrustumxOES(int l, int r, int b, int t, int n, int f); + [Slot(657)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetClipPlanefOES(System.Int32 plane, [OutAttribute] Single* equation); + [Slot(658)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetClipPlanexOES(System.Int32 plane, [OutAttribute] int* equation); + [Slot(683)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetConvolutionParameterxvOES(System.Int32 target, System.Int32 pname, [OutAttribute] int* @params); + [Slot(697)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetFixedvOES(System.Int32 pname, [OutAttribute] int* @params); + [Slot(722)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetHistogramParameterxvOES(System.Int32 target, System.Int32 pname, [OutAttribute] int* @params); + [Slot(743)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetLightxOES(System.Int32 light, System.Int32 pname, [OutAttribute] int* @params); + [Slot(758)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMapxvOES(System.Int32 target, System.Int32 query, [OutAttribute] int* v); + [Slot(761)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetMaterialxOES(System.Int32 face, System.Int32 pname, int param); + [Slot(762)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMaterialxvOES(System.Int32 face, System.Int32 pname, [OutAttribute] int* @params); + [Slot(926)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexEnvxvOES(System.Int32 target, System.Int32 pname, [OutAttribute] int* @params); + [Slot(931)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexGenxvOES(System.Int32 coord, System.Int32 pname, [OutAttribute] int* @params); + [Slot(935)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexLevelParameterxvOES(System.Int32 target, Int32 level, System.Int32 pname, [OutAttribute] int* @params); + [Slot(943)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexParameterxvOES(System.Int32 target, System.Int32 pname, [OutAttribute] int* @params); + [Slot(1052)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glIndexxOES(int component); + [Slot(1053)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glIndexxvOES(int* component); + [Slot(1120)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLightModelxOES(System.Int32 pname, int param); + [Slot(1121)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glLightModelxvOES(System.Int32 pname, int* param); + [Slot(1122)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLightxOES(System.Int32 light, System.Int32 pname, int param); + [Slot(1123)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glLightxvOES(System.Int32 light, System.Int32 pname, int* @params); + [Slot(1126)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLineWidthxOES(int width); + [Slot(1138)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glLoadMatrixxOES(int* m); + [Slot(1145)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glLoadTransposeMatrixxOES(int* m); + [Slot(1162)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMap1xOES(System.Int32 target, int u1, int u2, Int32 stride, Int32 order, int points); + [Slot(1165)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMap2xOES(System.Int32 target, int u1, int u2, Int32 ustride, Int32 uorder, int v1, int v2, Int32 vstride, Int32 vorder, int points); + [Slot(1172)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMapGrid1xOES(Int32 n, int u1, int u2); + [Slot(1175)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMapGrid2xOES(Int32 n, int u1, int u2, int v1, int v2); + [Slot(1190)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMaterialxOES(System.Int32 face, System.Int32 pname, int param); + [Slot(1191)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMaterialxvOES(System.Int32 face, System.Int32 pname, int* param); + [Slot(1240)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord1bOES(System.Int32 texture, SByte s); + [Slot(1241)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord1bvOES(System.Int32 texture, SByte* coords); + [Slot(1260)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord1xOES(System.Int32 texture, int s); + [Slot(1261)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord1xvOES(System.Int32 texture, int* coords); + [Slot(1262)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord2bOES(System.Int32 texture, SByte s, SByte t); + [Slot(1263)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord2bvOES(System.Int32 texture, SByte* coords); + [Slot(1282)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord2xOES(System.Int32 texture, int s, int t); + [Slot(1283)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord2xvOES(System.Int32 texture, int* coords); + [Slot(1284)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord3bOES(System.Int32 texture, SByte s, SByte t, SByte r); + [Slot(1285)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord3bvOES(System.Int32 texture, SByte* coords); + [Slot(1304)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord3xOES(System.Int32 texture, int s, int t, int r); + [Slot(1305)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord3xvOES(System.Int32 texture, int* coords); + [Slot(1306)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord4bOES(System.Int32 texture, SByte s, SByte t, SByte r, SByte q); + [Slot(1307)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord4bvOES(System.Int32 texture, SByte* coords); + [Slot(1326)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoord4xOES(System.Int32 texture, int s, int t, int r, int q); + [Slot(1327)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoord4xvOES(System.Int32 texture, int* coords); + [Slot(1362)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultMatrixxOES(int* m); + [Slot(1367)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultTransposeMatrixxOES(int* m); + [Slot(1412)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNormal3xOES(int nx, int ny, int nz); + [Slot(1413)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glNormal3xvOES(int* coords); + [Slot(1438)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glOrthofOES(Single l, Single r, Single b, Single t, Single n, Single f); + [Slot(1439)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glOrthoxOES(int l, int r, int b, int t, int n, int f); + [Slot(1442)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPassThroughxOES(int token); + [Slot(1480)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPixelTransferxOES(System.Int32 pname, int param); + [Slot(1486)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPixelZoomxOES(int xfactor, int yfactor); + [Slot(1502)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPointParameterxOES(System.Int32 pname, int param); + [Slot(1503)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPointParameterxvOES(System.Int32 pname, int* @params); + [Slot(1505)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPointSizexOES(int size); + [Slot(1511)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPolygonOffsetxOES(int factor, int units); + [Slot(1527)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPrioritizeTexturesxOES(Int32 n, UInt32* textures, int* priorities); + [Slot(1703)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe Int32 glQueryMatrixxOES([OutAttribute] int* mantissa, [OutAttribute] Int32* exponent); + [Slot(1713)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRasterPos2xOES(int x, int y); + [Slot(1714)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glRasterPos2xvOES(int* coords); + [Slot(1723)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRasterPos3xOES(int x, int y, int z); + [Slot(1724)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glRasterPos3xvOES(int* coords); + [Slot(1733)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRasterPos4xOES(int x, int y, int z, int w); + [Slot(1734)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glRasterPos4xvOES(int* coords); + [Slot(1747)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRectxOES(int x1, int y1, int x2, int y2); + [Slot(1748)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glRectxvOES(int* v1, int* v2); + [Slot(1790)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRotatexOES(int angle, int x, int y, int z); + [Slot(1793)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSampleCoverageOES(int value, bool invert); + [Slot(1794)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSampleCoveragexOES(int value, bool invert); + [Slot(1810)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glScalexOES(int x, int y, int z); + [Slot(1921)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord1bOES(SByte s); + [Slot(1922)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord1bvOES(SByte* coords); + [Slot(1933)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord1xOES(int s); + [Slot(1934)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord1xvOES(int* coords); + [Slot(1935)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord2bOES(SByte s, SByte t); + [Slot(1936)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord2bvOES(SByte* coords); + [Slot(1957)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord2xOES(int s, int t); + [Slot(1958)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord2xvOES(int* coords); + [Slot(1959)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord3bOES(SByte s, SByte t, SByte r); + [Slot(1960)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord3bvOES(SByte* coords); + [Slot(1971)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord3xOES(int s, int t, int r); + [Slot(1972)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord3xvOES(int* coords); + [Slot(1973)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord4bOES(SByte s, SByte t, SByte r, SByte q); + [Slot(1974)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord4bvOES(SByte* coords); + [Slot(1989)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord4xOES(int s, int t, int r, int q); + [Slot(1990)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord4xvOES(int* coords); + [Slot(2008)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexEnvxOES(System.Int32 target, System.Int32 pname, int param); + [Slot(2009)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexEnvxvOES(System.Int32 target, System.Int32 pname, int* @params); + [Slot(2017)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexGenxOES(System.Int32 coord, System.Int32 pname, int param); + [Slot(2018)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexGenxvOES(System.Int32 coord, System.Int32 pname, int* @params); + [Slot(2037)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexParameterxOES(System.Int32 target, System.Int32 pname, int param); + [Slot(2038)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexParameterxvOES(System.Int32 target, System.Int32 pname, int* @params); + [Slot(2095)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTranslatexOES(int x, int y, int z); + [Slot(2234)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertex2bOES(SByte x); + [Slot(2235)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertex2bvOES(SByte* coords); + [Slot(2246)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertex2xOES(int x); + [Slot(2247)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertex2xvOES(int* coords); + [Slot(2248)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertex3bOES(SByte x, SByte y); + [Slot(2249)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertex3bvOES(SByte* coords); + [Slot(2260)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertex3xOES(int x, int y); + [Slot(2261)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertex3xvOES(int* coords); + [Slot(2262)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertex4bOES(SByte x, SByte y, SByte z); + [Slot(2263)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertex4bvOES(SByte* coords); + [Slot(2274)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertex4xOES(int x, int y, int z); + [Slot(2275)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertex4xvOES(int* coords); + [Slot(1026)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glHintPGI(System.Int32 target, Int32 mode); + [Slot(243)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColorTableParameterfvSGI(System.Int32 target, System.Int32 pname, Single* @params); + [Slot(245)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColorTableParameterivSGI(System.Int32 target, System.Int32 pname, Int32* @params); + [Slot(246)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColorTableSGI(System.Int32 target, System.Int32 internalformat, Int32 width, System.Int32 format, System.Int32 type, IntPtr table); + [Slot(299)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyColorTableSGI(System.Int32 target, System.Int32 internalformat, Int32 x, Int32 y, Int32 width); + [Slot(663)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetColorTableParameterfvSGI(System.Int32 target, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(666)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetColorTableParameterivSGI(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(667)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetColorTableSGI(System.Int32 target, System.Int32 format, System.Int32 type, [OutAttribute] IntPtr table); + [Slot(406)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDetailTexFuncSGIS(System.Int32 target, Int32 n, Single* points); + [Slot(546)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glFogFuncSGIS(Int32 n, Single* points); + [Slot(688)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetDetailTexFuncSGIS(System.Int32 target, [OutAttribute] Single* points); + [Slot(702)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetFogFuncSGIS([OutAttribute] Single* points); + [Slot(851)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPixelTexGenParameterfvSGIS(System.Int32 pname, [OutAttribute] Single* @params); + [Slot(852)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetPixelTexGenParameterivSGIS(System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(916)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetSharpenTexFuncSGIS(System.Int32 target, [OutAttribute] Single* points); + [Slot(927)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexFilterFuncSGIS(System.Int32 target, System.Int32 filter, [OutAttribute] Single* weights); + [Slot(1473)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPixelTexGenParameterfSGIS(System.Int32 pname, Single param); + [Slot(1474)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPixelTexGenParameterfvSGIS(System.Int32 pname, Single* @params); + [Slot(1475)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPixelTexGenParameteriSGIS(System.Int32 pname, Int32 param); + [Slot(1476)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPixelTexGenParameterivSGIS(System.Int32 pname, Int32* @params); + [Slot(1493)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPointParameterfSGIS(System.Int32 pname, Single param); + [Slot(1497)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPointParameterfvSGIS(System.Int32 pname, Single* @params); + [Slot(1799)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSampleMaskSGIS(Single value, bool invert); + [Slot(1801)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSamplePatternSGIS(System.Int32 pattern); + [Slot(1873)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSharpenTexFuncSGIS(System.Int32 target, Int32 n, Single* points); + [Slot(2010)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexFilterFuncSGIS(System.Int32 target, System.Int32 filter, Int32 n, Single* weights); + [Slot(2027)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexImage4DSGIS(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(2052)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexSubImage4DSGIS(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(2056)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureColorMaskSGIS(bool red, bool green, bool blue, bool alpha); + [Slot(21)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glAsyncMarkerSGIX(UInt32 marker); + [Slot(356)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeformationMap3dSGIX(System.Int32 target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double* points); + [Slot(357)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeformationMap3fSGIX(System.Int32 target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single* points); + [Slot(358)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDeformSGIX(System.Int32 mask); + [Slot(359)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDeleteAsyncMarkersSGIX(UInt32 marker, Int32 range); + [Slot(517)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe Int32 glFinishAsyncSGIX([OutAttribute] UInt32* markerp); + [Slot(527)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFlushRasterSGIX(); + [Slot(552)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFragmentColorMaterialSGIX(System.Int32 face, System.Int32 mode); + [Slot(553)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFragmentLightfSGIX(System.Int32 light, System.Int32 pname, Single param); + [Slot(554)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glFragmentLightfvSGIX(System.Int32 light, System.Int32 pname, Single* @params); + [Slot(555)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFragmentLightiSGIX(System.Int32 light, System.Int32 pname, Int32 param); + [Slot(556)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glFragmentLightivSGIX(System.Int32 light, System.Int32 pname, Int32* @params); + [Slot(557)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFragmentLightModelfSGIX(System.Int32 pname, Single param); + [Slot(558)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glFragmentLightModelfvSGIX(System.Int32 pname, Single* @params); + [Slot(559)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFragmentLightModeliSGIX(System.Int32 pname, Int32 param); + [Slot(560)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glFragmentLightModelivSGIX(System.Int32 pname, Int32* @params); + [Slot(561)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFragmentMaterialfSGIX(System.Int32 face, System.Int32 pname, Single param); + [Slot(562)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glFragmentMaterialfvSGIX(System.Int32 face, System.Int32 pname, Single* @params); + [Slot(563)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFragmentMaterialiSGIX(System.Int32 face, System.Int32 pname, Int32 param); + [Slot(564)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glFragmentMaterialivSGIX(System.Int32 face, System.Int32 pname, Int32* @params); + [Slot(586)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFrameZoomSGIX(Int32 factor); + [Slot(592)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGenAsyncMarkersSGIX(Int32 range); + [Slot(706)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetFragmentLightfvSGIX(System.Int32 light, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(707)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetFragmentLightivSGIX(System.Int32 light, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(708)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetFragmentMaterialfvSGIX(System.Int32 face, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(709)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetFragmentMaterialivSGIX(System.Int32 face, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(728)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGetInstrumentsSGIX(); + [Slot(745)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetListParameterfvSGIX(UInt32 list, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(746)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetListParameterivSGIX(UInt32 list, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(1029)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glIglooInterfaceSGIX(System.Int32 pname, IntPtr @params); + [Slot(1057)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glInstrumentsBufferSGIX(Int32 size, [OutAttribute] Int32* buffer); + [Slot(1066)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsAsyncMarkerSGIX(UInt32 marker); + [Slot(1111)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLightEnviSGIX(System.Int32 pname, Int32 param); + [Slot(1130)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glListParameterfSGIX(UInt32 list, System.Int32 pname, Single param); + [Slot(1131)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glListParameterfvSGIX(UInt32 list, System.Int32 pname, Single* @params); + [Slot(1132)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glListParameteriSGIX(UInt32 list, System.Int32 pname, Int32 param); + [Slot(1133)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glListParameterivSGIX(UInt32 list, System.Int32 pname, Int32* @params); + [Slot(1135)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLoadIdentityDeformationMapSGIX(System.Int32 mask); + [Slot(1477)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPixelTexGenSGIX(System.Int32 mode); + [Slot(1506)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe Int32 glPollAsyncSGIX([OutAttribute] UInt32* markerp); + [Slot(1507)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe Int32 glPollInstrumentsSGIX([OutAttribute] Int32* marker_p); + [Slot(1736)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glReadInstrumentsSGIX(Int32 marker); + [Slot(1749)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glReferencePlaneSGIX(Double* equation); + [Slot(1874)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSpriteParameterfSGIX(System.Int32 pname, Single param); + [Slot(1875)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSpriteParameterfvSGIX(System.Int32 pname, Single* @params); + [Slot(1876)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSpriteParameteriSGIX(System.Int32 pname, Int32 param); + [Slot(1877)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSpriteParameterivSGIX(System.Int32 pname, Int32* @params); + [Slot(1878)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStartInstrumentsSGIX(); + [Slot(1893)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStopInstrumentsSGIX(Int32 marker); + [Slot(1897)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTagSampleBufferSGIX(); + [Slot(180)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColor3fVertex3fSUN(Single r, Single g, Single b, Single x, Single y, Single z); + [Slot(181)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColor3fVertex3fvSUN(Single* c, Single* v); + [Slot(201)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColor4fNormal3fVertex3fSUN(Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z); + [Slot(202)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColor4fNormal3fVertex3fvSUN(Single* c, Single* n, Single* v); + [Slot(212)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColor4ubVertex2fSUN(Byte r, Byte g, Byte b, Byte a, Single x, Single y); + [Slot(213)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColor4ubVertex2fvSUN(Byte* c, Single* v); + [Slot(214)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColor4ubVertex3fSUN(Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z); + [Slot(215)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColor4ubVertex3fvSUN(Byte* c, Single* v); + [Slot(444)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawMeshArraysSUN(System.Int32 mode, Int32 first, Int32 count, Int32 width); + [Slot(1017)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGlobalAlphaFactorbSUN(SByte factor); + [Slot(1018)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGlobalAlphaFactordSUN(Double factor); + [Slot(1019)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGlobalAlphaFactorfSUN(Single factor); + [Slot(1020)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGlobalAlphaFactoriSUN(Int32 factor); + [Slot(1021)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGlobalAlphaFactorsSUN(Int16 factor); + [Slot(1022)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGlobalAlphaFactorubSUN(Byte factor); + [Slot(1023)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGlobalAlphaFactoruiSUN(UInt32 factor); + [Slot(1024)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGlobalAlphaFactorusSUN(UInt16 factor); + [Slot(1404)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNormal3fVertex3fSUN(Single nx, Single ny, Single nz, Single x, Single y, Single z); + [Slot(1405)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glNormal3fVertex3fvSUN(Single* n, Single* v); + [Slot(1757)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glReplacementCodePointerSUN(System.Int32 type, Int32 stride, IntPtr pointer); + [Slot(1758)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glReplacementCodeubSUN(Byte code); + [Slot(1759)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glReplacementCodeubvSUN(Byte* code); + [Slot(1760)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glReplacementCodeuiColor3fVertex3fSUN(UInt32 rc, Single r, Single g, Single b, Single x, Single y, Single z); + [Slot(1761)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glReplacementCodeuiColor3fVertex3fvSUN(UInt32* rc, Single* c, Single* v); + [Slot(1762)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glReplacementCodeuiColor4fNormal3fVertex3fSUN(UInt32 rc, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z); + [Slot(1763)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32* rc, Single* c, Single* n, Single* v); + [Slot(1764)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glReplacementCodeuiColor4ubVertex3fSUN(UInt32 rc, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z); + [Slot(1765)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glReplacementCodeuiColor4ubVertex3fvSUN(UInt32* rc, Byte* c, Single* v); + [Slot(1766)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glReplacementCodeuiNormal3fVertex3fSUN(UInt32 rc, Single nx, Single ny, Single nz, Single x, Single y, Single z); + [Slot(1767)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glReplacementCodeuiNormal3fVertex3fvSUN(UInt32* rc, Single* n, Single* v); + [Slot(1768)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glReplacementCodeuiSUN(UInt32 code); + [Slot(1769)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN(UInt32 rc, Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z); + [Slot(1770)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32* rc, Single* tc, Single* c, Single* n, Single* v); + [Slot(1771)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN(UInt32 rc, Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z); + [Slot(1772)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32* rc, Single* tc, Single* n, Single* v); + [Slot(1773)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glReplacementCodeuiTexCoord2fVertex3fSUN(UInt32 rc, Single s, Single t, Single x, Single y, Single z); + [Slot(1774)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glReplacementCodeuiTexCoord2fVertex3fvSUN(UInt32* rc, Single* tc, Single* v); + [Slot(1775)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glReplacementCodeuiVertex3fSUN(UInt32 rc, Single x, Single y, Single z); + [Slot(1776)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glReplacementCodeuiVertex3fvSUN(UInt32* rc, Single* v); + [Slot(1777)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glReplacementCodeuivSUN(UInt32* code); + [Slot(1778)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glReplacementCodeusSUN(UInt16 code); + [Slot(1779)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glReplacementCodeusvSUN(UInt16* code); + [Slot(1940)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord2fColor3fVertex3fSUN(Single s, Single t, Single r, Single g, Single b, Single x, Single y, Single z); + [Slot(1941)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord2fColor3fVertex3fvSUN(Single* tc, Single* c, Single* v); + [Slot(1942)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord2fColor4fNormal3fVertex3fSUN(Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z); + [Slot(1943)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord2fColor4fNormal3fVertex3fvSUN(Single* tc, Single* c, Single* n, Single* v); + [Slot(1944)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord2fColor4ubVertex3fSUN(Single s, Single t, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z); + [Slot(1945)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord2fColor4ubVertex3fvSUN(Single* tc, Byte* c, Single* v); + [Slot(1946)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord2fNormal3fVertex3fSUN(Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z); + [Slot(1947)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord2fNormal3fVertex3fvSUN(Single* tc, Single* n, Single* v); + [Slot(1949)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord2fVertex3fSUN(Single s, Single t, Single x, Single y, Single z); + [Slot(1950)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord2fVertex3fvSUN(Single* tc, Single* v); + [Slot(1978)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord4fColor4fNormal3fVertex4fSUN(Single s, Single t, Single p, Single q, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z, Single w); + [Slot(1979)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord4fColor4fNormal3fVertex4fvSUN(Single* tc, Single* c, Single* n, Single* v); + [Slot(1981)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoord4fVertex4fSUN(Single s, Single t, Single p, Single q, Single x, Single y, Single z, Single w); + [Slot(1982)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoord4fVertex4fvSUN(Single* tc, Single* v); + [Slot(521)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFinishTextureSUNX(); } } diff --git a/Source/OpenTK/Graphics/OpenGL/GLCore.cs b/Source/OpenTK/Graphics/OpenGL/GLCore.cs deleted file mode 100644 index 0dc8ff0f..00000000 --- a/Source/OpenTK/Graphics/OpenGL/GLCore.cs +++ /dev/null @@ -1,7991 +0,0 @@ -// -// The Open Toolkit Library License -// -// Copyright (c) 2006 - 2013 Stefanos Apostolopoulos for the Open Toolkit Library -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights to -// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -// the Software, and to permit persons to whom the Software is furnished to do -// so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -// OTHER DEALINGS IN THE SOFTWARE. -// - - - -namespace OpenTK.Graphics.OpenGL -{ - using System; - using System.Text; - using System.Runtime.InteropServices; - #pragma warning disable 3019 - #pragma warning disable 1591 - - partial class GL - { - - internal static partial class Core - { - - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAccum", ExactSpelling = true)] - internal extern static void Accum(OpenTK.Graphics.OpenGL.AccumOp op, Single value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAccumxOES", ExactSpelling = true)] - internal extern static void AccumxOES(OpenTK.Graphics.OpenGL.OesFixedPoint op, int value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveProgramEXT", ExactSpelling = true)] - internal extern static void ActiveProgramEXT(UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveShaderProgram", ExactSpelling = true)] - internal extern static void ActiveShaderProgram(UInt32 pipeline, UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveShaderProgramEXT", ExactSpelling = true)] - internal extern static void ActiveShaderProgramEXT(UInt32 pipeline, UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveStencilFaceEXT", ExactSpelling = true)] - internal extern static void ActiveStencilFaceEXT(OpenTK.Graphics.OpenGL.ExtStencilTwoSide face); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveTexture", ExactSpelling = true)] - internal extern static void ActiveTexture(OpenTK.Graphics.OpenGL.TextureUnit texture); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveTextureARB", ExactSpelling = true)] - internal extern static void ActiveTextureARB(OpenTK.Graphics.OpenGL.TextureUnit texture); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveVaryingNV", ExactSpelling = true)] - internal extern static void ActiveVaryingNV(UInt32 program, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAlphaFragmentOp1ATI", ExactSpelling = true)] - internal extern static void AlphaFragmentOp1ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAlphaFragmentOp2ATI", ExactSpelling = true)] - internal extern static void AlphaFragmentOp2ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAlphaFragmentOp3ATI", ExactSpelling = true)] - internal extern static void AlphaFragmentOp3ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAlphaFunc", ExactSpelling = true)] - internal extern static void AlphaFunc(OpenTK.Graphics.OpenGL.AlphaFunction func, Single @ref); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAlphaFuncxOES", ExactSpelling = true)] - internal extern static void AlphaFuncxOES(OpenTK.Graphics.OpenGL.OesFixedPoint func, int @ref); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glApplyTextureEXT", ExactSpelling = true)] - internal extern static void ApplyTextureEXT(OpenTK.Graphics.OpenGL.ExtLightTexture mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAreProgramsResidentNV", ExactSpelling = true)] - internal extern static unsafe bool AreProgramsResidentNV(Int32 n, UInt32* programs, [OutAttribute] bool* residences); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAreTexturesResident", ExactSpelling = true)] - internal extern static unsafe bool AreTexturesResident(Int32 n, UInt32* textures, [OutAttribute] bool* residences); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAreTexturesResidentEXT", ExactSpelling = true)] - internal extern static unsafe bool AreTexturesResidentEXT(Int32 n, UInt32* textures, [OutAttribute] bool* residences); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glArrayElement", ExactSpelling = true)] - internal extern static void ArrayElement(Int32 i); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glArrayElementEXT", ExactSpelling = true)] - internal extern static void ArrayElementEXT(Int32 i); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glArrayObjectATI", ExactSpelling = true)] - internal extern static void ArrayObjectATI(OpenTK.Graphics.OpenGL.EnableCap array, Int32 size, OpenTK.Graphics.OpenGL.AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAsyncMarkerSGIX", ExactSpelling = true)] - internal extern static void AsyncMarkerSGIX(UInt32 marker); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAttachObjectARB", ExactSpelling = true)] - internal extern static void AttachObjectARB(UInt32 containerObj, UInt32 obj); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAttachShader", ExactSpelling = true)] - internal extern static void AttachShader(UInt32 program, UInt32 shader); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBegin", ExactSpelling = true)] - internal extern static void Begin(OpenTK.Graphics.OpenGL.PrimitiveType mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginConditionalRender", ExactSpelling = true)] - internal extern static void BeginConditionalRender(UInt32 id, OpenTK.Graphics.OpenGL.ConditionalRenderType mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginConditionalRenderNV", ExactSpelling = true)] - internal extern static void BeginConditionalRenderNV(UInt32 id, OpenTK.Graphics.OpenGL.NvConditionalRender mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginConditionalRenderNVX", ExactSpelling = true)] - internal extern static void BeginConditionalRenderNVX(UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginFragmentShaderATI", ExactSpelling = true)] - internal extern static void BeginFragmentShaderATI(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginOcclusionQueryNV", ExactSpelling = true)] - internal extern static void BeginOcclusionQueryNV(UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginPerfMonitorAMD", ExactSpelling = true)] - internal extern static void BeginPerfMonitorAMD(UInt32 monitor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginQuery", ExactSpelling = true)] - internal extern static void BeginQuery(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginQueryARB", ExactSpelling = true)] - internal extern static void BeginQueryARB(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginQueryIndexed", ExactSpelling = true)] - internal extern static void BeginQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index, UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginTransformFeedback", ExactSpelling = true)] - internal extern static void BeginTransformFeedback(OpenTK.Graphics.OpenGL.TransformFeedbackPrimitiveType primitiveMode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginTransformFeedbackEXT", ExactSpelling = true)] - internal extern static void BeginTransformFeedbackEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback primitiveMode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginTransformFeedbackNV", ExactSpelling = true)] - internal extern static void BeginTransformFeedbackNV(OpenTK.Graphics.OpenGL.NvTransformFeedback primitiveMode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginVertexShaderEXT", ExactSpelling = true)] - internal extern static void BeginVertexShaderEXT(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginVideoCaptureNV", ExactSpelling = true)] - internal extern static void BeginVideoCaptureNV(UInt32 video_capture_slot); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindAttribLocation", ExactSpelling = true)] - internal extern static void BindAttribLocation(UInt32 program, UInt32 index, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindAttribLocationARB", ExactSpelling = true)] - internal extern static void BindAttribLocationARB(UInt32 programObj, UInt32 index, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBuffer", ExactSpelling = true)] - internal extern static void BindBuffer(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferARB", ExactSpelling = true)] - internal extern static void BindBufferARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, UInt32 buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferBase", ExactSpelling = true)] - internal extern static void BindBufferBase(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 index, UInt32 buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferBaseEXT", ExactSpelling = true)] - internal extern static void BindBufferBaseEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferBaseNV", ExactSpelling = true)] - internal extern static void BindBufferBaseNV(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferOffsetEXT", ExactSpelling = true)] - internal extern static void BindBufferOffsetEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferOffsetNV", ExactSpelling = true)] - internal extern static void BindBufferOffsetNV(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferRange", ExactSpelling = true)] - internal extern static void BindBufferRange(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferRangeEXT", ExactSpelling = true)] - internal extern static void BindBufferRangeEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferRangeNV", ExactSpelling = true)] - internal extern static void BindBufferRangeNV(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBuffersBase", ExactSpelling = true)] - internal extern static unsafe void BindBuffersBase(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 first, Int32 count, UInt32* buffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBuffersRange", ExactSpelling = true)] - internal extern static unsafe void BindBuffersRange(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 first, Int32 count, UInt32* buffers, IntPtr* offsets, IntPtr* sizes); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindFragDataLocation", ExactSpelling = true)] - internal extern static void BindFragDataLocation(UInt32 program, UInt32 color, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindFragDataLocationEXT", ExactSpelling = true)] - internal extern static void BindFragDataLocationEXT(UInt32 program, UInt32 color, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindFragDataLocationIndexed", ExactSpelling = true)] - internal extern static void BindFragDataLocationIndexed(UInt32 program, UInt32 colorNumber, UInt32 index, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindFragmentShaderATI", ExactSpelling = true)] - internal extern static void BindFragmentShaderATI(UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindFramebuffer", ExactSpelling = true)] - internal extern static void BindFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, UInt32 framebuffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindFramebufferEXT", ExactSpelling = true)] - internal extern static void BindFramebufferEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, UInt32 framebuffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindImageTexture", ExactSpelling = true)] - internal extern static void BindImageTexture(UInt32 unit, UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.TextureAccess access, OpenTK.Graphics.OpenGL.SizedInternalFormat format); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindImageTextureEXT", ExactSpelling = true)] - internal extern static void BindImageTextureEXT(UInt32 index, UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.ExtShaderImageLoadStore access, Int32 format); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindImageTextures", ExactSpelling = true)] - internal extern static unsafe void BindImageTextures(UInt32 first, Int32 count, UInt32* textures); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindLightParameterEXT", ExactSpelling = true)] - internal extern static Int32 BindLightParameterEXT(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindMaterialParameterEXT", ExactSpelling = true)] - internal extern static Int32 BindMaterialParameterEXT(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindMultiTextureEXT", ExactSpelling = true)] - internal extern static void BindMultiTextureEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindParameterEXT", ExactSpelling = true)] - internal extern static Int32 BindParameterEXT(OpenTK.Graphics.OpenGL.ExtVertexShader value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindProgramARB", ExactSpelling = true)] - internal extern static void BindProgramARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindProgramNV", ExactSpelling = true)] - internal extern static void BindProgramNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindProgramPipeline", ExactSpelling = true)] - internal extern static void BindProgramPipeline(UInt32 pipeline); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindProgramPipelineEXT", ExactSpelling = true)] - internal extern static void BindProgramPipelineEXT(UInt32 pipeline); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindRenderbuffer", ExactSpelling = true)] - internal extern static void BindRenderbuffer(OpenTK.Graphics.OpenGL.RenderbufferTarget target, UInt32 renderbuffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindRenderbufferEXT", ExactSpelling = true)] - internal extern static void BindRenderbufferEXT(OpenTK.Graphics.OpenGL.RenderbufferTarget target, UInt32 renderbuffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindSampler", ExactSpelling = true)] - internal extern static void BindSampler(UInt32 unit, UInt32 sampler); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindSamplers", ExactSpelling = true)] - internal extern static unsafe void BindSamplers(UInt32 first, Int32 count, UInt32* samplers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTexGenParameterEXT", ExactSpelling = true)] - internal extern static Int32 BindTexGenParameterEXT(OpenTK.Graphics.OpenGL.TextureUnit unit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTexture", ExactSpelling = true)] - internal extern static void BindTexture(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTextureEXT", ExactSpelling = true)] - internal extern static void BindTextureEXT(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTextures", ExactSpelling = true)] - internal extern static unsafe void BindTextures(UInt32 first, Int32 count, UInt32* textures); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTextureUnitParameterEXT", ExactSpelling = true)] - internal extern static Int32 BindTextureUnitParameterEXT(OpenTK.Graphics.OpenGL.TextureUnit unit, OpenTK.Graphics.OpenGL.ExtVertexShader value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTransformFeedback", ExactSpelling = true)] - internal extern static void BindTransformFeedback(OpenTK.Graphics.OpenGL.TransformFeedbackTarget target, UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTransformFeedbackNV", ExactSpelling = true)] - internal extern static void BindTransformFeedbackNV(OpenTK.Graphics.OpenGL.BufferTargetArb target, UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindVertexArray", ExactSpelling = true)] - internal extern static void BindVertexArray(UInt32 array); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindVertexArrayAPPLE", ExactSpelling = true)] - internal extern static void BindVertexArrayAPPLE(UInt32 array); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindVertexBuffer", ExactSpelling = true)] - internal extern static void BindVertexBuffer(UInt32 bindingindex, UInt32 buffer, IntPtr offset, Int32 stride); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindVertexBuffers", ExactSpelling = true)] - internal extern static unsafe void BindVertexBuffers(UInt32 first, Int32 count, UInt32* buffers, IntPtr* offsets, Int32* strides); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindVertexShaderEXT", ExactSpelling = true)] - internal extern static void BindVertexShaderEXT(UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindVideoCaptureStreamBufferNV", ExactSpelling = true)] - internal extern static void BindVideoCaptureStreamBufferNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture frame_region, IntPtr offset); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindVideoCaptureStreamTextureNV", ExactSpelling = true)] - internal extern static void BindVideoCaptureStreamTextureNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture frame_region, OpenTK.Graphics.OpenGL.NvVideoCapture target, UInt32 texture); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBinormal3bEXT", ExactSpelling = true)] - internal extern static void Binormal3bEXT(SByte bx, SByte by, SByte bz); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBinormal3bvEXT", ExactSpelling = true)] - internal extern static unsafe void Binormal3bvEXT(SByte* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBinormal3dEXT", ExactSpelling = true)] - internal extern static void Binormal3dEXT(Double bx, Double by, Double bz); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBinormal3dvEXT", ExactSpelling = true)] - internal extern static unsafe void Binormal3dvEXT(Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBinormal3fEXT", ExactSpelling = true)] - internal extern static void Binormal3fEXT(Single bx, Single by, Single bz); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBinormal3fvEXT", ExactSpelling = true)] - internal extern static unsafe void Binormal3fvEXT(Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBinormal3iEXT", ExactSpelling = true)] - internal extern static void Binormal3iEXT(Int32 bx, Int32 by, Int32 bz); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBinormal3ivEXT", ExactSpelling = true)] - internal extern static unsafe void Binormal3ivEXT(Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBinormal3sEXT", ExactSpelling = true)] - internal extern static void Binormal3sEXT(Int16 bx, Int16 by, Int16 bz); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBinormal3svEXT", ExactSpelling = true)] - internal extern static unsafe void Binormal3svEXT(Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBinormalPointerEXT", ExactSpelling = true)] - internal extern static void BinormalPointerEXT(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBitmap", ExactSpelling = true)] - internal extern static unsafe void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte* bitmap); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBitmapxOES", ExactSpelling = true)] - internal extern static unsafe void BitmapxOES(Int32 width, Int32 height, int xorig, int yorig, int xmove, int ymove, Byte* bitmap); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendBarrierNV", ExactSpelling = true)] - internal extern static void BlendBarrierNV(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendColor", ExactSpelling = true)] - internal extern static void BlendColor(Single red, Single green, Single blue, Single alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendColorEXT", ExactSpelling = true)] - internal extern static void BlendColorEXT(Single red, Single green, Single blue, Single alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendColorxOES", ExactSpelling = true)] - internal extern static void BlendColorxOES(int red, int green, int blue, int alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquation", ExactSpelling = true)] - internal extern static void BlendEquation(OpenTK.Graphics.OpenGL.BlendEquationMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationEXT", ExactSpelling = true)] - internal extern static void BlendEquationEXT(OpenTK.Graphics.OpenGL.BlendEquationMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationi", ExactSpelling = true)] - internal extern static void BlendEquationi(UInt32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationiARB", ExactSpelling = true)] - internal extern static void BlendEquationiARB(UInt32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationIndexedAMD", ExactSpelling = true)] - internal extern static void BlendEquationIndexedAMD(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationSeparate", ExactSpelling = true)] - internal extern static void BlendEquationSeparate(OpenTK.Graphics.OpenGL.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL.BlendEquationMode modeAlpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationSeparateEXT", ExactSpelling = true)] - internal extern static void BlendEquationSeparateEXT(OpenTK.Graphics.OpenGL.BlendEquationModeExt modeRGB, OpenTK.Graphics.OpenGL.BlendEquationModeExt modeAlpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationSeparatei", ExactSpelling = true)] - internal extern static void BlendEquationSeparatei(UInt32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL.BlendEquationMode modeAlpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationSeparateiARB", ExactSpelling = true)] - internal extern static void BlendEquationSeparateiARB(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend modeRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend modeAlpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationSeparateIndexedAMD", ExactSpelling = true)] - internal extern static void BlendEquationSeparateIndexedAMD(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeAlpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFunc", ExactSpelling = true)] - internal extern static void BlendFunc(OpenTK.Graphics.OpenGL.BlendingFactorSrc sfactor, OpenTK.Graphics.OpenGL.BlendingFactorDest dfactor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFunci", ExactSpelling = true)] - internal extern static void BlendFunci(UInt32 buf, OpenTK.Graphics.OpenGL.BlendingFactorSrc src, OpenTK.Graphics.OpenGL.BlendingFactorDest dst); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFunciARB", ExactSpelling = true)] - internal extern static void BlendFunciARB(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend src, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dst); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncIndexedAMD", ExactSpelling = true)] - internal extern static void BlendFuncIndexedAMD(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend src, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dst); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncSeparate", ExactSpelling = true)] - internal extern static void BlendFuncSeparate(OpenTK.Graphics.OpenGL.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.OpenGL.BlendingFactorDest dfactorRGB, OpenTK.Graphics.OpenGL.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.OpenGL.BlendingFactorDest dfactorAlpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncSeparateEXT", ExactSpelling = true)] - internal extern static void BlendFuncSeparateEXT(OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate sfactorRGB, OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate dfactorRGB, OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate sfactorAlpha, OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate dfactorAlpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncSeparatei", ExactSpelling = true)] - internal extern static void BlendFuncSeparatei(UInt32 buf, OpenTK.Graphics.OpenGL.BlendingFactorSrc srcRGB, OpenTK.Graphics.OpenGL.BlendingFactorDest dstRGB, OpenTK.Graphics.OpenGL.BlendingFactorSrc srcAlpha, OpenTK.Graphics.OpenGL.BlendingFactorDest dstAlpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncSeparateiARB", ExactSpelling = true)] - internal extern static void BlendFuncSeparateiARB(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcAlpha, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstAlpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncSeparateIndexedAMD", ExactSpelling = true)] - internal extern static void BlendFuncSeparateIndexedAMD(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend srcRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dstRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend srcAlpha, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dstAlpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncSeparateINGR", ExactSpelling = true)] - internal extern static void BlendFuncSeparateINGR(OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate sfactorRGB, OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate dfactorRGB, OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate sfactorAlpha, OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate dfactorAlpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendParameteriNV", ExactSpelling = true)] - internal extern static void BlendParameteriNV(OpenTK.Graphics.OpenGL.NvBlendEquationAdvanced pname, Int32 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlitFramebuffer", ExactSpelling = true)] - internal extern static void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL.ClearBufferMask mask, OpenTK.Graphics.OpenGL.BlitFramebufferFilter filter); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlitFramebufferEXT", ExactSpelling = true)] - internal extern static void BlitFramebufferEXT(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL.ClearBufferMask mask, OpenTK.Graphics.OpenGL.BlitFramebufferFilter filter); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferAddressRangeNV", ExactSpelling = true)] - internal extern static void BufferAddressRangeNV(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory pname, UInt32 index, UInt64 address, IntPtr length); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferData", ExactSpelling = true)] - internal extern static void BufferData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.BufferUsageHint usage); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferDataARB", ExactSpelling = true)] - internal extern static void BufferDataARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.BufferUsageArb usage); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferParameteriAPPLE", ExactSpelling = true)] - internal extern static void BufferParameteriAPPLE(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterApple pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferStorage", ExactSpelling = true)] - internal extern static void BufferStorage(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.BufferStorageFlags flags); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferSubData", ExactSpelling = true)] - internal extern static void BufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferSubDataARB", ExactSpelling = true)] - internal extern static void BufferSubDataARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCallList", ExactSpelling = true)] - internal extern static void CallList(UInt32 list); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCallLists", ExactSpelling = true)] - internal extern static void CallLists(Int32 n, OpenTK.Graphics.OpenGL.ListNameType type, IntPtr lists); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCheckFramebufferStatus", ExactSpelling = true)] - internal extern static OpenTK.Graphics.OpenGL.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.OpenGL.FramebufferTarget target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCheckFramebufferStatusEXT", ExactSpelling = true)] - internal extern static OpenTK.Graphics.OpenGL.FramebufferErrorCode CheckFramebufferStatusEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCheckNamedFramebufferStatusEXT", ExactSpelling = true)] - internal extern static OpenTK.Graphics.OpenGL.ExtDirectStateAccess CheckNamedFramebufferStatusEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferTarget target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClampColor", ExactSpelling = true)] - internal extern static void ClampColor(OpenTK.Graphics.OpenGL.ClampColorTarget target, OpenTK.Graphics.OpenGL.ClampColorMode clamp); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClampColorARB", ExactSpelling = true)] - internal extern static void ClampColorARB(OpenTK.Graphics.OpenGL.ArbColorBufferFloat target, OpenTK.Graphics.OpenGL.ArbColorBufferFloat clamp); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClear", ExactSpelling = true)] - internal extern static void Clear(OpenTK.Graphics.OpenGL.ClearBufferMask mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearAccum", ExactSpelling = true)] - internal extern static void ClearAccum(Single red, Single green, Single blue, Single alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearAccumxOES", ExactSpelling = true)] - internal extern static void ClearAccumxOES(int red, int green, int blue, int alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearBufferData", ExactSpelling = true)] - internal extern static void ClearBufferData(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.All type, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearBufferfi", ExactSpelling = true)] - internal extern static void ClearBufferfi(OpenTK.Graphics.OpenGL.ClearBufferCombined buffer, Int32 drawbuffer, Single depth, Int32 stencil); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearBufferfv", ExactSpelling = true)] - internal extern static unsafe void ClearBufferfv(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearBufferiv", ExactSpelling = true)] - internal extern static unsafe void ClearBufferiv(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearBufferSubData", ExactSpelling = true)] - internal extern static void ClearBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.All type, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearBufferuiv", ExactSpelling = true)] - internal extern static unsafe void ClearBufferuiv(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearColor", ExactSpelling = true)] - internal extern static void ClearColor(Single red, Single green, Single blue, Single alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearColorIiEXT", ExactSpelling = true)] - internal extern static void ClearColorIiEXT(Int32 red, Int32 green, Int32 blue, Int32 alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearColorIuiEXT", ExactSpelling = true)] - internal extern static void ClearColorIuiEXT(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearColorxOES", ExactSpelling = true)] - internal extern static void ClearColorxOES(int red, int green, int blue, int alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearDepth", ExactSpelling = true)] - internal extern static void ClearDepth(Double depth); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearDepthdNV", ExactSpelling = true)] - internal extern static void ClearDepthdNV(Double depth); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearDepthf", ExactSpelling = true)] - internal extern static void ClearDepthf(Single d); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearDepthfOES", ExactSpelling = true)] - internal extern static void ClearDepthfOES(Single depth); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearDepthxOES", ExactSpelling = true)] - internal extern static void ClearDepthxOES(int depth); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearIndex", ExactSpelling = true)] - internal extern static void ClearIndex(Single c); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearNamedBufferDataEXT", ExactSpelling = true)] - internal extern static void ClearNamedBufferDataEXT(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearNamedBufferSubDataEXT", ExactSpelling = true)] - internal extern static void ClearNamedBufferSubDataEXT(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr offset, IntPtr size, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearStencil", ExactSpelling = true)] - internal extern static void ClearStencil(Int32 s); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearTexImage", ExactSpelling = true)] - internal extern static void ClearTexImage(UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearTexSubImage", ExactSpelling = true)] - internal extern static void ClearTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClientActiveTexture", ExactSpelling = true)] - internal extern static void ClientActiveTexture(OpenTK.Graphics.OpenGL.TextureUnit texture); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClientActiveTextureARB", ExactSpelling = true)] - internal extern static void ClientActiveTextureARB(OpenTK.Graphics.OpenGL.TextureUnit texture); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClientActiveVertexStreamATI", ExactSpelling = true)] - internal extern static void ClientActiveVertexStreamATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClientAttribDefaultEXT", ExactSpelling = true)] - internal extern static void ClientAttribDefaultEXT(OpenTK.Graphics.OpenGL.ClientAttribMask mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClientWaitSync", ExactSpelling = true)] - internal extern static OpenTK.Graphics.OpenGL.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.OpenGL.ClientWaitSyncFlags flags, UInt64 timeout); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClipPlane", ExactSpelling = true)] - internal extern static unsafe void ClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, Double* equation); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClipPlanefOES", ExactSpelling = true)] - internal extern static unsafe void ClipPlanefOES(OpenTK.Graphics.OpenGL.OesSinglePrecision plane, Single* equation); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClipPlanexOES", ExactSpelling = true)] - internal extern static unsafe void ClipPlanexOES(OpenTK.Graphics.OpenGL.OesFixedPoint plane, int* equation); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3b", ExactSpelling = true)] - internal extern static void Color3b(SByte red, SByte green, SByte blue); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3bv", ExactSpelling = true)] - internal extern static unsafe void Color3bv(SByte* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3d", ExactSpelling = true)] - internal extern static void Color3d(Double red, Double green, Double blue); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3dv", ExactSpelling = true)] - internal extern static unsafe void Color3dv(Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3f", ExactSpelling = true)] - internal extern static void Color3f(Single red, Single green, Single blue); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3fv", ExactSpelling = true)] - internal extern static unsafe void Color3fv(Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3fVertex3fSUN", ExactSpelling = true)] - internal extern static void Color3fVertex3fSUN(Single r, Single g, Single b, Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3fVertex3fvSUN", ExactSpelling = true)] - internal extern static unsafe void Color3fVertex3fvSUN(Single* c, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3hNV", ExactSpelling = true)] - internal extern static void Color3hNV(Half red, Half green, Half blue); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3hvNV", ExactSpelling = true)] - internal extern static unsafe void Color3hvNV(Half* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3i", ExactSpelling = true)] - internal extern static void Color3i(Int32 red, Int32 green, Int32 blue); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3iv", ExactSpelling = true)] - internal extern static unsafe void Color3iv(Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3s", ExactSpelling = true)] - internal extern static void Color3s(Int16 red, Int16 green, Int16 blue); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3sv", ExactSpelling = true)] - internal extern static unsafe void Color3sv(Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3ub", ExactSpelling = true)] - internal extern static void Color3ub(Byte red, Byte green, Byte blue); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3ubv", ExactSpelling = true)] - internal extern static unsafe void Color3ubv(Byte* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3ui", ExactSpelling = true)] - internal extern static void Color3ui(UInt32 red, UInt32 green, UInt32 blue); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3uiv", ExactSpelling = true)] - internal extern static unsafe void Color3uiv(UInt32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3us", ExactSpelling = true)] - internal extern static void Color3us(UInt16 red, UInt16 green, UInt16 blue); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3usv", ExactSpelling = true)] - internal extern static unsafe void Color3usv(UInt16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3xOES", ExactSpelling = true)] - internal extern static void Color3xOES(int red, int green, int blue); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3xvOES", ExactSpelling = true)] - internal extern static unsafe void Color3xvOES(int* components); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4b", ExactSpelling = true)] - internal extern static void Color4b(SByte red, SByte green, SByte blue, SByte alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4bv", ExactSpelling = true)] - internal extern static unsafe void Color4bv(SByte* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4d", ExactSpelling = true)] - internal extern static void Color4d(Double red, Double green, Double blue, Double alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4dv", ExactSpelling = true)] - internal extern static unsafe void Color4dv(Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4f", ExactSpelling = true)] - internal extern static void Color4f(Single red, Single green, Single blue, Single alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4fNormal3fVertex3fSUN", ExactSpelling = true)] - internal extern static void Color4fNormal3fVertex3fSUN(Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4fNormal3fVertex3fvSUN", ExactSpelling = true)] - internal extern static unsafe void Color4fNormal3fVertex3fvSUN(Single* c, Single* n, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4fv", ExactSpelling = true)] - internal extern static unsafe void Color4fv(Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4hNV", ExactSpelling = true)] - internal extern static void Color4hNV(Half red, Half green, Half blue, Half alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4hvNV", ExactSpelling = true)] - internal extern static unsafe void Color4hvNV(Half* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4i", ExactSpelling = true)] - internal extern static void Color4i(Int32 red, Int32 green, Int32 blue, Int32 alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4iv", ExactSpelling = true)] - internal extern static unsafe void Color4iv(Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4s", ExactSpelling = true)] - internal extern static void Color4s(Int16 red, Int16 green, Int16 blue, Int16 alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4sv", ExactSpelling = true)] - internal extern static unsafe void Color4sv(Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4ub", ExactSpelling = true)] - internal extern static void Color4ub(Byte red, Byte green, Byte blue, Byte alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4ubv", ExactSpelling = true)] - internal extern static unsafe void Color4ubv(Byte* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4ubVertex2fSUN", ExactSpelling = true)] - internal extern static void Color4ubVertex2fSUN(Byte r, Byte g, Byte b, Byte a, Single x, Single y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4ubVertex2fvSUN", ExactSpelling = true)] - internal extern static unsafe void Color4ubVertex2fvSUN(Byte* c, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4ubVertex3fSUN", ExactSpelling = true)] - internal extern static void Color4ubVertex3fSUN(Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4ubVertex3fvSUN", ExactSpelling = true)] - internal extern static unsafe void Color4ubVertex3fvSUN(Byte* c, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4ui", ExactSpelling = true)] - internal extern static void Color4ui(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4uiv", ExactSpelling = true)] - internal extern static unsafe void Color4uiv(UInt32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4us", ExactSpelling = true)] - internal extern static void Color4us(UInt16 red, UInt16 green, UInt16 blue, UInt16 alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4usv", ExactSpelling = true)] - internal extern static unsafe void Color4usv(UInt16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4xOES", ExactSpelling = true)] - internal extern static void Color4xOES(int red, int green, int blue, int alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4xvOES", ExactSpelling = true)] - internal extern static unsafe void Color4xvOES(int* components); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorFormatNV", ExactSpelling = true)] - internal extern static void ColorFormatNV(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorFragmentOp1ATI", ExactSpelling = true)] - internal extern static void ColorFragmentOp1ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorFragmentOp2ATI", ExactSpelling = true)] - internal extern static void ColorFragmentOp2ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorFragmentOp3ATI", ExactSpelling = true)] - internal extern static void ColorFragmentOp3ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorMask", ExactSpelling = true)] - internal extern static void ColorMask(bool red, bool green, bool blue, bool alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorMaski", ExactSpelling = true)] - internal extern static void ColorMaski(UInt32 index, bool r, bool g, bool b, bool a); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorMaskIndexedEXT", ExactSpelling = true)] - internal extern static void ColorMaskIndexedEXT(UInt32 index, bool r, bool g, bool b, bool a); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorMaterial", ExactSpelling = true)] - internal extern static void ColorMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.ColorMaterialParameter mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorP3ui", ExactSpelling = true)] - internal extern static void ColorP3ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 color); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorP3uiv", ExactSpelling = true)] - internal extern static unsafe void ColorP3uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* color); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorP4ui", ExactSpelling = true)] - internal extern static void ColorP4ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 color); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorP4uiv", ExactSpelling = true)] - internal extern static unsafe void ColorP4uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* color); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorPointer", ExactSpelling = true)] - internal extern static void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorPointerEXT", ExactSpelling = true)] - internal extern static void ColorPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, Int32 count, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorPointerListIBM", ExactSpelling = true)] - internal extern static void ColorPointerListIBM(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorPointervINTEL", ExactSpelling = true)] - internal extern static void ColorPointervINTEL(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorSubTable", ExactSpelling = true)] - internal extern static void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorSubTableEXT", ExactSpelling = true)] - internal extern static void ColorSubTableEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTable", ExactSpelling = true)] - internal extern static void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTableEXT", ExactSpelling = true)] - internal extern static void ColorTableEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTableParameterfv", ExactSpelling = true)] - internal extern static unsafe void ColorTableParameterfv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTableParameterfvSGI", ExactSpelling = true)] - internal extern static unsafe void ColorTableParameterfvSGI(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTableParameteriv", ExactSpelling = true)] - internal extern static unsafe void ColorTableParameteriv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTableParameterivSGI", ExactSpelling = true)] - internal extern static unsafe void ColorTableParameterivSGI(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTableSGI", ExactSpelling = true)] - internal extern static void ColorTableSGI(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCombinerInputNV", ExactSpelling = true)] - internal extern static void CombinerInputNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners input, OpenTK.Graphics.OpenGL.NvRegisterCombiners mapping, OpenTK.Graphics.OpenGL.NvRegisterCombiners componentUsage); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCombinerOutputNV", ExactSpelling = true)] - internal extern static void CombinerOutputNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners abOutput, OpenTK.Graphics.OpenGL.NvRegisterCombiners cdOutput, OpenTK.Graphics.OpenGL.NvRegisterCombiners sumOutput, OpenTK.Graphics.OpenGL.NvRegisterCombiners scale, OpenTK.Graphics.OpenGL.NvRegisterCombiners bias, bool abDotProduct, bool cdDotProduct, bool muxSum); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCombinerParameterfNV", ExactSpelling = true)] - internal extern static void CombinerParameterfNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCombinerParameterfvNV", ExactSpelling = true)] - internal extern static unsafe void CombinerParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCombinerParameteriNV", ExactSpelling = true)] - internal extern static void CombinerParameteriNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCombinerParameterivNV", ExactSpelling = true)] - internal extern static unsafe void CombinerParameterivNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCombinerStageParameterfvNV", ExactSpelling = true)] - internal extern static unsafe void CombinerStageParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompileShader", ExactSpelling = true)] - internal extern static void CompileShader(UInt32 shader); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompileShaderARB", ExactSpelling = true)] - internal extern static void CompileShaderARB(UInt32 shaderObj); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompileShaderIncludeARB", ExactSpelling = true)] - internal extern static unsafe void CompileShaderIncludeARB(UInt32 shader, Int32 count, String[] path, Int32* length); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedMultiTexImage1DEXT", ExactSpelling = true)] - internal extern static void CompressedMultiTexImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedMultiTexImage2DEXT", ExactSpelling = true)] - internal extern static void CompressedMultiTexImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedMultiTexImage3DEXT", ExactSpelling = true)] - internal extern static void CompressedMultiTexImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedMultiTexSubImage1DEXT", ExactSpelling = true)] - internal extern static void CompressedMultiTexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedMultiTexSubImage2DEXT", ExactSpelling = true)] - internal extern static void CompressedMultiTexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedMultiTexSubImage3DEXT", ExactSpelling = true)] - internal extern static void CompressedMultiTexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage1D", ExactSpelling = true)] - internal extern static void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage1DARB", ExactSpelling = true)] - internal extern static void CompressedTexImage1DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage2D", ExactSpelling = true)] - internal extern static void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage2DARB", ExactSpelling = true)] - internal extern static void CompressedTexImage2DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage3D", ExactSpelling = true)] - internal extern static void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage3DARB", ExactSpelling = true)] - internal extern static void CompressedTexImage3DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage1D", ExactSpelling = true)] - internal extern static void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage1DARB", ExactSpelling = true)] - internal extern static void CompressedTexSubImage1DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage2D", ExactSpelling = true)] - internal extern static void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage2DARB", ExactSpelling = true)] - internal extern static void CompressedTexSubImage2DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage3D", ExactSpelling = true)] - internal extern static void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage3DARB", ExactSpelling = true)] - internal extern static void CompressedTexSubImage3DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTextureImage1DEXT", ExactSpelling = true)] - internal extern static void CompressedTextureImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTextureImage2DEXT", ExactSpelling = true)] - internal extern static void CompressedTextureImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTextureImage3DEXT", ExactSpelling = true)] - internal extern static void CompressedTextureImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTextureSubImage1DEXT", ExactSpelling = true)] - internal extern static void CompressedTextureSubImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTextureSubImage2DEXT", ExactSpelling = true)] - internal extern static void CompressedTextureSubImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTextureSubImage3DEXT", ExactSpelling = true)] - internal extern static void CompressedTextureSubImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionFilter1D", ExactSpelling = true)] - internal extern static void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionFilter1DEXT", ExactSpelling = true)] - internal extern static void ConvolutionFilter1DEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionFilter2D", ExactSpelling = true)] - internal extern static void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionFilter2DEXT", ExactSpelling = true)] - internal extern static void ConvolutionFilter2DEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterf", ExactSpelling = true)] - internal extern static void ConvolutionParameterf(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Single @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterfEXT", ExactSpelling = true)] - internal extern static void ConvolutionParameterfEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, Single @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterfv", ExactSpelling = true)] - internal extern static unsafe void ConvolutionParameterfv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void ConvolutionParameterfvEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameteri", ExactSpelling = true)] - internal extern static void ConvolutionParameteri(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Int32 @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameteriEXT", ExactSpelling = true)] - internal extern static void ConvolutionParameteriEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, Int32 @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameteriv", ExactSpelling = true)] - internal extern static unsafe void ConvolutionParameteriv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void ConvolutionParameterivEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterxOES", ExactSpelling = true)] - internal extern static void ConvolutionParameterxOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterxvOES", ExactSpelling = true)] - internal extern static unsafe void ConvolutionParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyBufferSubData", ExactSpelling = true)] - internal extern static void CopyBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget readTarget, OpenTK.Graphics.OpenGL.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyColorSubTable", ExactSpelling = true)] - internal extern static void CopyColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyColorSubTableEXT", ExactSpelling = true)] - internal extern static void CopyColorSubTableEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyColorTable", ExactSpelling = true)] - internal extern static void CopyColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyColorTableSGI", ExactSpelling = true)] - internal extern static void CopyColorTableSGI(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyConvolutionFilter1D", ExactSpelling = true)] - internal extern static void CopyConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyConvolutionFilter1DEXT", ExactSpelling = true)] - internal extern static void CopyConvolutionFilter1DEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyConvolutionFilter2D", ExactSpelling = true)] - internal extern static void CopyConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyConvolutionFilter2DEXT", ExactSpelling = true)] - internal extern static void CopyConvolutionFilter2DEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyImageSubData", ExactSpelling = true)] - internal extern static void CopyImageSubData(UInt32 srcName, OpenTK.Graphics.OpenGL.ImageTarget srcTarget, Int32 srcLevel, Int32 srcX, Int32 srcY, Int32 srcZ, UInt32 dstName, OpenTK.Graphics.OpenGL.ImageTarget dstTarget, Int32 dstLevel, Int32 dstX, Int32 dstY, Int32 dstZ, Int32 srcWidth, Int32 srcHeight, Int32 srcDepth); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyImageSubDataNV", ExactSpelling = true)] - internal extern static void CopyImageSubDataNV(UInt32 srcName, OpenTK.Graphics.OpenGL.NvCopyImage srcTarget, Int32 srcLevel, Int32 srcX, Int32 srcY, Int32 srcZ, UInt32 dstName, OpenTK.Graphics.OpenGL.NvCopyImage dstTarget, Int32 dstLevel, Int32 dstX, Int32 dstY, Int32 dstZ, Int32 width, Int32 height, Int32 depth); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyMultiTexImage1DEXT", ExactSpelling = true)] - internal extern static void CopyMultiTexImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyMultiTexImage2DEXT", ExactSpelling = true)] - internal extern static void CopyMultiTexImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyMultiTexSubImage1DEXT", ExactSpelling = true)] - internal extern static void CopyMultiTexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyMultiTexSubImage2DEXT", ExactSpelling = true)] - internal extern static void CopyMultiTexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyMultiTexSubImage3DEXT", ExactSpelling = true)] - internal extern static void CopyMultiTexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyPathNV", ExactSpelling = true)] - internal extern static void CopyPathNV(UInt32 resultPath, UInt32 srcPath); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyPixels", ExactSpelling = true)] - internal extern static void CopyPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelCopyType type); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexImage1D", ExactSpelling = true)] - internal extern static void CopyTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexImage1DEXT", ExactSpelling = true)] - internal extern static void CopyTexImage1DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexImage2D", ExactSpelling = true)] - internal extern static void CopyTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexImage2DEXT", ExactSpelling = true)] - internal extern static void CopyTexImage2DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage1D", ExactSpelling = true)] - internal extern static void CopyTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage1DEXT", ExactSpelling = true)] - internal extern static void CopyTexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage2D", ExactSpelling = true)] - internal extern static void CopyTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage2DEXT", ExactSpelling = true)] - internal extern static void CopyTexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage3D", ExactSpelling = true)] - internal extern static void CopyTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage3DEXT", ExactSpelling = true)] - internal extern static void CopyTexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTextureImage1DEXT", ExactSpelling = true)] - internal extern static void CopyTextureImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTextureImage2DEXT", ExactSpelling = true)] - internal extern static void CopyTextureImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTextureSubImage1DEXT", ExactSpelling = true)] - internal extern static void CopyTextureSubImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTextureSubImage2DEXT", ExactSpelling = true)] - internal extern static void CopyTextureSubImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTextureSubImage3DEXT", ExactSpelling = true)] - internal extern static void CopyTextureSubImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCoverFillPathInstancedNV", ExactSpelling = true)] - internal extern static unsafe void CoverFillPathInstancedNV(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCoverFillPathNV", ExactSpelling = true)] - internal extern static void CoverFillPathNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering coverMode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCoverStrokePathInstancedNV", ExactSpelling = true)] - internal extern static unsafe void CoverStrokePathInstancedNV(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCoverStrokePathNV", ExactSpelling = true)] - internal extern static void CoverStrokePathNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering coverMode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateProgram", ExactSpelling = true)] - internal extern static Int32 CreateProgram(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateProgramObjectARB", ExactSpelling = true)] - internal extern static Int32 CreateProgramObjectARB(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateShader", ExactSpelling = true)] - internal extern static Int32 CreateShader(OpenTK.Graphics.OpenGL.ShaderType type); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateShaderObjectARB", ExactSpelling = true)] - internal extern static Int32 CreateShaderObjectARB(OpenTK.Graphics.OpenGL.ArbShaderObjects shaderType); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateShaderProgramEXT", ExactSpelling = true)] - internal extern static Int32 CreateShaderProgramEXT(OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects type, String @string); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateShaderProgramv", ExactSpelling = true)] - internal extern static Int32 CreateShaderProgramv(OpenTK.Graphics.OpenGL.ShaderType type, Int32 count, String[] strings); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateShaderProgramvEXT", ExactSpelling = true)] - internal extern static Int32 CreateShaderProgramvEXT(OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects type, Int32 count, String[] strings); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateSyncFromCLeventARB", ExactSpelling = true)] - internal extern static unsafe IntPtr CreateSyncFromCLeventARB([OutAttribute] IntPtr* context, [OutAttribute] IntPtr* @event, UInt32 flags); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCullFace", ExactSpelling = true)] - internal extern static void CullFace(OpenTK.Graphics.OpenGL.CullFaceMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCullParameterdvEXT", ExactSpelling = true)] - internal extern static unsafe void CullParameterdvEXT(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [OutAttribute] Double* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCullParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void CullParameterfvEXT(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCurrentPaletteMatrixARB", ExactSpelling = true)] - internal extern static void CurrentPaletteMatrixARB(Int32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageCallback", ExactSpelling = true)] - internal extern static void DebugMessageCallback(DebugProc callback, IntPtr userParam); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageCallbackAMD", ExactSpelling = true)] - internal extern static void DebugMessageCallbackAMD(DebugProcAmd callback, [OutAttribute] IntPtr userParam); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageCallbackARB", ExactSpelling = true)] - internal extern static void DebugMessageCallbackARB(DebugProcArb callback, IntPtr userParam); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageCallbackKHR", ExactSpelling = true)] - internal extern static void DebugMessageCallbackKHR(DebugProcKhr callback, IntPtr userParam); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageControl", ExactSpelling = true)] - internal extern static unsafe void DebugMessageControl(OpenTK.Graphics.OpenGL.DebugSourceControl source, OpenTK.Graphics.OpenGL.DebugTypeControl type, OpenTK.Graphics.OpenGL.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageControlARB", ExactSpelling = true)] - internal extern static unsafe void DebugMessageControlARB(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 count, UInt32* ids, bool enabled); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageControlKHR", ExactSpelling = true)] - internal extern static unsafe void DebugMessageControlKHR(OpenTK.Graphics.OpenGL.KhrDebug source, OpenTK.Graphics.OpenGL.KhrDebug type, OpenTK.Graphics.OpenGL.KhrDebug severity, Int32 count, UInt32* ids, bool enabled); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageEnableAMD", ExactSpelling = true)] - internal extern static unsafe void DebugMessageEnableAMD(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, Int32 count, UInt32* ids, bool enabled); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageInsert", ExactSpelling = true)] - internal extern static void DebugMessageInsert(OpenTK.Graphics.OpenGL.DebugSourceExternal source, OpenTK.Graphics.OpenGL.DebugType type, UInt32 id, OpenTK.Graphics.OpenGL.DebugSeverity severity, Int32 length, String buf); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageInsertAMD", ExactSpelling = true)] - internal extern static void DebugMessageInsertAMD(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, UInt32 id, Int32 length, String buf); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageInsertARB", ExactSpelling = true)] - internal extern static void DebugMessageInsertARB(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, UInt32 id, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 length, String buf); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageInsertKHR", ExactSpelling = true)] - internal extern static void DebugMessageInsertKHR(OpenTK.Graphics.OpenGL.KhrDebug source, OpenTK.Graphics.OpenGL.KhrDebug type, UInt32 id, OpenTK.Graphics.OpenGL.KhrDebug severity, Int32 length, String buf); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeformationMap3dSGIX", ExactSpelling = true)] - internal extern static unsafe void DeformationMap3dSGIX(OpenTK.Graphics.OpenGL.FfdTargetSgix target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double* points); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeformationMap3fSGIX", ExactSpelling = true)] - internal extern static unsafe void DeformationMap3fSGIX(OpenTK.Graphics.OpenGL.FfdTargetSgix target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single* points); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeformSGIX", ExactSpelling = true)] - internal extern static void DeformSGIX(OpenTK.Graphics.OpenGL.FfdMaskSgix mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteAsyncMarkersSGIX", ExactSpelling = true)] - internal extern static void DeleteAsyncMarkersSGIX(UInt32 marker, Int32 range); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteBuffers", ExactSpelling = true)] - internal extern static unsafe void DeleteBuffers(Int32 n, UInt32* buffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteBuffersARB", ExactSpelling = true)] - internal extern static unsafe void DeleteBuffersARB(Int32 n, UInt32* buffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteFencesAPPLE", ExactSpelling = true)] - internal extern static unsafe void DeleteFencesAPPLE(Int32 n, UInt32* fences); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteFencesNV", ExactSpelling = true)] - internal extern static unsafe void DeleteFencesNV(Int32 n, UInt32* fences); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteFragmentShaderATI", ExactSpelling = true)] - internal extern static void DeleteFragmentShaderATI(UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteFramebuffers", ExactSpelling = true)] - internal extern static unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteFramebuffersEXT", ExactSpelling = true)] - internal extern static unsafe void DeleteFramebuffersEXT(Int32 n, UInt32* framebuffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteLists", ExactSpelling = true)] - internal extern static void DeleteLists(UInt32 list, Int32 range); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteNamedStringARB", ExactSpelling = true)] - internal extern static void DeleteNamedStringARB(Int32 namelen, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteNamesAMD", ExactSpelling = true)] - internal extern static unsafe void DeleteNamesAMD(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 num, UInt32* names); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteObjectARB", ExactSpelling = true)] - internal extern static void DeleteObjectARB(UInt32 obj); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteOcclusionQueriesNV", ExactSpelling = true)] - internal extern static unsafe void DeleteOcclusionQueriesNV(Int32 n, UInt32* ids); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeletePathsNV", ExactSpelling = true)] - internal extern static void DeletePathsNV(UInt32 path, Int32 range); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeletePerfMonitorsAMD", ExactSpelling = true)] - internal extern static unsafe void DeletePerfMonitorsAMD(Int32 n, UInt32* monitors); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteProgram", ExactSpelling = true)] - internal extern static void DeleteProgram(UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteProgramPipelines", ExactSpelling = true)] - internal extern static unsafe void DeleteProgramPipelines(Int32 n, UInt32* pipelines); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteProgramPipelinesEXT", ExactSpelling = true)] - internal extern static unsafe void DeleteProgramPipelinesEXT(Int32 n, UInt32* pipelines); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteProgramsARB", ExactSpelling = true)] - internal extern static unsafe void DeleteProgramsARB(Int32 n, UInt32* programs); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteProgramsNV", ExactSpelling = true)] - internal extern static unsafe void DeleteProgramsNV(Int32 n, UInt32* programs); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteQueries", ExactSpelling = true)] - internal extern static unsafe void DeleteQueries(Int32 n, UInt32* ids); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteQueriesARB", ExactSpelling = true)] - internal extern static unsafe void DeleteQueriesARB(Int32 n, UInt32* ids); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteRenderbuffers", ExactSpelling = true)] - internal extern static unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteRenderbuffersEXT", ExactSpelling = true)] - internal extern static unsafe void DeleteRenderbuffersEXT(Int32 n, UInt32* renderbuffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteSamplers", ExactSpelling = true)] - internal extern static unsafe void DeleteSamplers(Int32 count, UInt32* samplers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteShader", ExactSpelling = true)] - internal extern static void DeleteShader(UInt32 shader); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteSync", ExactSpelling = true)] - internal extern static void DeleteSync(IntPtr sync); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteTextures", ExactSpelling = true)] - internal extern static unsafe void DeleteTextures(Int32 n, UInt32* textures); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteTexturesEXT", ExactSpelling = true)] - internal extern static unsafe void DeleteTexturesEXT(Int32 n, UInt32* textures); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteTransformFeedbacks", ExactSpelling = true)] - internal extern static unsafe void DeleteTransformFeedbacks(Int32 n, UInt32* ids); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteTransformFeedbacksNV", ExactSpelling = true)] - internal extern static unsafe void DeleteTransformFeedbacksNV(Int32 n, UInt32* ids); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteVertexArrays", ExactSpelling = true)] - internal extern static unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteVertexArraysAPPLE", ExactSpelling = true)] - internal extern static unsafe void DeleteVertexArraysAPPLE(Int32 n, UInt32* arrays); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteVertexShaderEXT", ExactSpelling = true)] - internal extern static void DeleteVertexShaderEXT(UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthBoundsdNV", ExactSpelling = true)] - internal extern static void DepthBoundsdNV(Double zmin, Double zmax); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthBoundsEXT", ExactSpelling = true)] - internal extern static void DepthBoundsEXT(Double zmin, Double zmax); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthFunc", ExactSpelling = true)] - internal extern static void DepthFunc(OpenTK.Graphics.OpenGL.DepthFunction func); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthMask", ExactSpelling = true)] - internal extern static void DepthMask(bool flag); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRange", ExactSpelling = true)] - internal extern static void DepthRange(Double near, Double far); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRangeArrayv", ExactSpelling = true)] - internal extern static unsafe void DepthRangeArrayv(UInt32 first, Int32 count, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRangedNV", ExactSpelling = true)] - internal extern static void DepthRangedNV(Double zNear, Double zFar); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRangef", ExactSpelling = true)] - internal extern static void DepthRangef(Single n, Single f); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRangefOES", ExactSpelling = true)] - internal extern static void DepthRangefOES(Single n, Single f); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRangeIndexed", ExactSpelling = true)] - internal extern static void DepthRangeIndexed(UInt32 index, Double n, Double f); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRangexOES", ExactSpelling = true)] - internal extern static void DepthRangexOES(int n, int f); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDetachObjectARB", ExactSpelling = true)] - internal extern static void DetachObjectARB(UInt32 containerObj, UInt32 attachedObj); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDetachShader", ExactSpelling = true)] - internal extern static void DetachShader(UInt32 program, UInt32 shader); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDetailTexFuncSGIS", ExactSpelling = true)] - internal extern static unsafe void DetailTexFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, Single* points); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisable", ExactSpelling = true)] - internal extern static void Disable(OpenTK.Graphics.OpenGL.EnableCap cap); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableClientState", ExactSpelling = true)] - internal extern static void DisableClientState(OpenTK.Graphics.OpenGL.ArrayCap array); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableClientStateiEXT", ExactSpelling = true)] - internal extern static void DisableClientStateiEXT(OpenTK.Graphics.OpenGL.ArrayCap array, UInt32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableClientStateIndexedEXT", ExactSpelling = true)] - internal extern static void DisableClientStateIndexedEXT(OpenTK.Graphics.OpenGL.ArrayCap array, UInt32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisablei", ExactSpelling = true)] - internal extern static void Disablei(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableIndexedEXT", ExactSpelling = true)] - internal extern static void DisableIndexedEXT(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableVariantClientStateEXT", ExactSpelling = true)] - internal extern static void DisableVariantClientStateEXT(UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableVertexArrayAttribEXT", ExactSpelling = true)] - internal extern static void DisableVertexArrayAttribEXT(UInt32 vaobj, UInt32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableVertexArrayEXT", ExactSpelling = true)] - internal extern static void DisableVertexArrayEXT(UInt32 vaobj, OpenTK.Graphics.OpenGL.EnableCap array); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableVertexAttribAPPLE", ExactSpelling = true)] - internal extern static void DisableVertexAttribAPPLE(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableVertexAttribArray", ExactSpelling = true)] - internal extern static void DisableVertexAttribArray(UInt32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableVertexAttribArrayARB", ExactSpelling = true)] - internal extern static void DisableVertexAttribArrayARB(UInt32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDispatchCompute", ExactSpelling = true)] - internal extern static void DispatchCompute(UInt32 num_groups_x, UInt32 num_groups_y, UInt32 num_groups_z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDispatchComputeGroupSizeARB", ExactSpelling = true)] - internal extern static void DispatchComputeGroupSizeARB(UInt32 num_groups_x, UInt32 num_groups_y, UInt32 num_groups_z, UInt32 group_size_x, UInt32 group_size_y, UInt32 group_size_z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDispatchComputeIndirect", ExactSpelling = true)] - internal extern static void DispatchComputeIndirect(IntPtr indirect); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArrays", ExactSpelling = true)] - internal extern static void DrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysEXT", ExactSpelling = true)] - internal extern static void DrawArraysEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysIndirect", ExactSpelling = true)] - internal extern static void DrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, IntPtr indirect); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysInstanced", ExactSpelling = true)] - internal extern static void DrawArraysInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysInstancedARB", ExactSpelling = true)] - internal extern static void DrawArraysInstancedARB(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysInstancedBaseInstance", ExactSpelling = true)] - internal extern static void DrawArraysInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount, UInt32 baseinstance); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysInstancedEXT", ExactSpelling = true)] - internal extern static void DrawArraysInstancedEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 count, Int32 primcount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawBuffer", ExactSpelling = true)] - internal extern static void DrawBuffer(OpenTK.Graphics.OpenGL.DrawBufferMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawBuffers", ExactSpelling = true)] - internal extern static unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL.DrawBuffersEnum* bufs); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawBuffersARB", ExactSpelling = true)] - internal extern static unsafe void DrawBuffersARB(Int32 n, OpenTK.Graphics.OpenGL.ArbDrawBuffers* bufs); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawBuffersATI", ExactSpelling = true)] - internal extern static unsafe void DrawBuffersATI(Int32 n, OpenTK.Graphics.OpenGL.AtiDrawBuffers* bufs); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementArrayAPPLE", ExactSpelling = true)] - internal extern static void DrawElementArrayAPPLE(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementArrayATI", ExactSpelling = true)] - internal extern static void DrawElementArrayATI(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElements", ExactSpelling = true)] - internal extern static void DrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsBaseVertex", ExactSpelling = true)] - internal extern static void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsIndirect", ExactSpelling = true)] - internal extern static void DrawElementsIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, OpenTK.Graphics.OpenGL.All type, IntPtr indirect); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstanced", ExactSpelling = true)] - internal extern static void DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedARB", ExactSpelling = true)] - internal extern static void DrawElementsInstancedARB(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedBaseInstance", ExactSpelling = true)] - internal extern static void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, UInt32 baseinstance); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedBaseVertex", ExactSpelling = true)] - internal extern static void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance", ExactSpelling = true)] - internal extern static void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedEXT", ExactSpelling = true)] - internal extern static void DrawElementsInstancedEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawMeshArraysSUN", ExactSpelling = true)] - internal extern static void DrawMeshArraysSUN(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 width); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawPixels", ExactSpelling = true)] - internal extern static void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElementArrayAPPLE", ExactSpelling = true)] - internal extern static void DrawRangeElementArrayAPPLE(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 first, Int32 count); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElementArrayATI", ExactSpelling = true)] - internal extern static void DrawRangeElementArrayATI(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElements", ExactSpelling = true)] - internal extern static void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElementsBaseVertex", ExactSpelling = true)] - internal extern static void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElementsEXT", ExactSpelling = true)] - internal extern static void DrawRangeElementsEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawTextureNV", ExactSpelling = true)] - internal extern static void DrawTextureNV(UInt32 texture, UInt32 sampler, Single x0, Single y0, Single x1, Single y1, Single z, Single s0, Single t0, Single s1, Single t1); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawTransformFeedback", ExactSpelling = true)] - internal extern static void DrawTransformFeedback(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawTransformFeedbackInstanced", ExactSpelling = true)] - internal extern static void DrawTransformFeedbackInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id, Int32 instancecount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawTransformFeedbackNV", ExactSpelling = true)] - internal extern static void DrawTransformFeedbackNV(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawTransformFeedbackStream", ExactSpelling = true)] - internal extern static void DrawTransformFeedbackStream(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id, UInt32 stream); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawTransformFeedbackStreamInstanced", ExactSpelling = true)] - internal extern static void DrawTransformFeedbackStreamInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id, UInt32 stream, Int32 instancecount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEdgeFlag", ExactSpelling = true)] - internal extern static void EdgeFlag(bool flag); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEdgeFlagFormatNV", ExactSpelling = true)] - internal extern static void EdgeFlagFormatNV(Int32 stride); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEdgeFlagPointer", ExactSpelling = true)] - internal extern static void EdgeFlagPointer(Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEdgeFlagPointerEXT", ExactSpelling = true)] - internal extern static unsafe void EdgeFlagPointerEXT(Int32 stride, Int32 count, bool* pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEdgeFlagPointerListIBM", ExactSpelling = true)] - internal extern static unsafe void EdgeFlagPointerListIBM(Int32 stride, bool** pointer, Int32 ptrstride); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEdgeFlagv", ExactSpelling = true)] - internal extern static unsafe void EdgeFlagv(bool* flag); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glElementPointerAPPLE", ExactSpelling = true)] - internal extern static void ElementPointerAPPLE(OpenTK.Graphics.OpenGL.AppleElementArray type, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glElementPointerATI", ExactSpelling = true)] - internal extern static void ElementPointerATI(OpenTK.Graphics.OpenGL.AtiElementArray type, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnable", ExactSpelling = true)] - internal extern static void Enable(OpenTK.Graphics.OpenGL.EnableCap cap); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableClientState", ExactSpelling = true)] - internal extern static void EnableClientState(OpenTK.Graphics.OpenGL.ArrayCap array); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableClientStateiEXT", ExactSpelling = true)] - internal extern static void EnableClientStateiEXT(OpenTK.Graphics.OpenGL.ArrayCap array, UInt32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableClientStateIndexedEXT", ExactSpelling = true)] - internal extern static void EnableClientStateIndexedEXT(OpenTK.Graphics.OpenGL.ArrayCap array, UInt32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnablei", ExactSpelling = true)] - internal extern static void Enablei(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableIndexedEXT", ExactSpelling = true)] - internal extern static void EnableIndexedEXT(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableVariantClientStateEXT", ExactSpelling = true)] - internal extern static void EnableVariantClientStateEXT(UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableVertexArrayAttribEXT", ExactSpelling = true)] - internal extern static void EnableVertexArrayAttribEXT(UInt32 vaobj, UInt32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableVertexArrayEXT", ExactSpelling = true)] - internal extern static void EnableVertexArrayEXT(UInt32 vaobj, OpenTK.Graphics.OpenGL.EnableCap array); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableVertexAttribAPPLE", ExactSpelling = true)] - internal extern static void EnableVertexAttribAPPLE(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableVertexAttribArray", ExactSpelling = true)] - internal extern static void EnableVertexAttribArray(UInt32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableVertexAttribArrayARB", ExactSpelling = true)] - internal extern static void EnableVertexAttribArrayARB(UInt32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnd", ExactSpelling = true)] - internal extern static void End(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndConditionalRender", ExactSpelling = true)] - internal extern static void EndConditionalRender(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndConditionalRenderNV", ExactSpelling = true)] - internal extern static void EndConditionalRenderNV(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndConditionalRenderNVX", ExactSpelling = true)] - internal extern static void EndConditionalRenderNVX(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndFragmentShaderATI", ExactSpelling = true)] - internal extern static void EndFragmentShaderATI(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndList", ExactSpelling = true)] - internal extern static void EndList(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndOcclusionQueryNV", ExactSpelling = true)] - internal extern static void EndOcclusionQueryNV(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndPerfMonitorAMD", ExactSpelling = true)] - internal extern static void EndPerfMonitorAMD(UInt32 monitor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndQuery", ExactSpelling = true)] - internal extern static void EndQuery(OpenTK.Graphics.OpenGL.QueryTarget target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndQueryARB", ExactSpelling = true)] - internal extern static void EndQueryARB(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndQueryIndexed", ExactSpelling = true)] - internal extern static void EndQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndTransformFeedback", ExactSpelling = true)] - internal extern static void EndTransformFeedback(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndTransformFeedbackEXT", ExactSpelling = true)] - internal extern static void EndTransformFeedbackEXT(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndTransformFeedbackNV", ExactSpelling = true)] - internal extern static void EndTransformFeedbackNV(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndVertexShaderEXT", ExactSpelling = true)] - internal extern static void EndVertexShaderEXT(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndVideoCaptureNV", ExactSpelling = true)] - internal extern static void EndVideoCaptureNV(UInt32 video_capture_slot); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalCoord1d", ExactSpelling = true)] - internal extern static void EvalCoord1d(Double u); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalCoord1dv", ExactSpelling = true)] - internal extern static unsafe void EvalCoord1dv(Double* u); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalCoord1f", ExactSpelling = true)] - internal extern static void EvalCoord1f(Single u); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalCoord1fv", ExactSpelling = true)] - internal extern static unsafe void EvalCoord1fv(Single* u); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalCoord1xOES", ExactSpelling = true)] - internal extern static void EvalCoord1xOES(int u); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalCoord1xvOES", ExactSpelling = true)] - internal extern static unsafe void EvalCoord1xvOES(int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalCoord2d", ExactSpelling = true)] - internal extern static void EvalCoord2d(Double u, Double v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalCoord2dv", ExactSpelling = true)] - internal extern static unsafe void EvalCoord2dv(Double* u); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalCoord2f", ExactSpelling = true)] - internal extern static void EvalCoord2f(Single u, Single v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalCoord2fv", ExactSpelling = true)] - internal extern static unsafe void EvalCoord2fv(Single* u); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalCoord2xOES", ExactSpelling = true)] - internal extern static void EvalCoord2xOES(int u, int v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalCoord2xvOES", ExactSpelling = true)] - internal extern static unsafe void EvalCoord2xvOES(int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalMapsNV", ExactSpelling = true)] - internal extern static void EvalMapsNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalMesh1", ExactSpelling = true)] - internal extern static void EvalMesh1(OpenTK.Graphics.OpenGL.MeshMode1 mode, Int32 i1, Int32 i2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalMesh2", ExactSpelling = true)] - internal extern static void EvalMesh2(OpenTK.Graphics.OpenGL.MeshMode2 mode, Int32 i1, Int32 i2, Int32 j1, Int32 j2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalPoint1", ExactSpelling = true)] - internal extern static void EvalPoint1(Int32 i); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalPoint2", ExactSpelling = true)] - internal extern static void EvalPoint2(Int32 i, Int32 j); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExecuteProgramNV", ExactSpelling = true)] - internal extern static unsafe void ExecuteProgramNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtractComponentEXT", ExactSpelling = true)] - internal extern static void ExtractComponentEXT(UInt32 res, UInt32 src, UInt32 num); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFeedbackBuffer", ExactSpelling = true)] - internal extern static unsafe void FeedbackBuffer(Int32 size, OpenTK.Graphics.OpenGL.FeedbackType type, [OutAttribute] Single* buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFeedbackBufferxOES", ExactSpelling = true)] - internal extern static unsafe void FeedbackBufferxOES(Int32 n, OpenTK.Graphics.OpenGL.OesFixedPoint type, int* buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFenceSync", ExactSpelling = true)] - internal extern static IntPtr FenceSync(OpenTK.Graphics.OpenGL.SyncCondition condition, OpenTK.Graphics.OpenGL.WaitSyncFlags flags); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinalCombinerInputNV", ExactSpelling = true)] - internal extern static void FinalCombinerInputNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners input, OpenTK.Graphics.OpenGL.NvRegisterCombiners mapping, OpenTK.Graphics.OpenGL.NvRegisterCombiners componentUsage); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinish", ExactSpelling = true)] - internal extern static void Finish(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinishAsyncSGIX", ExactSpelling = true)] - internal extern static unsafe Int32 FinishAsyncSGIX([OutAttribute] UInt32* markerp); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinishFenceAPPLE", ExactSpelling = true)] - internal extern static void FinishFenceAPPLE(UInt32 fence); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinishFenceNV", ExactSpelling = true)] - internal extern static void FinishFenceNV(UInt32 fence); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinishObjectAPPLE", ExactSpelling = true)] - internal extern static void FinishObjectAPPLE(OpenTK.Graphics.OpenGL.AppleFence @object, Int32 name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinishTextureSUNX", ExactSpelling = true)] - internal extern static void FinishTextureSUNX(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlush", ExactSpelling = true)] - internal extern static void Flush(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushMappedBufferRange", ExactSpelling = true)] - internal extern static void FlushMappedBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr length); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushMappedBufferRangeAPPLE", ExactSpelling = true)] - internal extern static void FlushMappedBufferRangeAPPLE(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushMappedNamedBufferRangeEXT", ExactSpelling = true)] - internal extern static void FlushMappedNamedBufferRangeEXT(UInt32 buffer, IntPtr offset, IntPtr length); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushPixelDataRangeNV", ExactSpelling = true)] - internal extern static void FlushPixelDataRangeNV(OpenTK.Graphics.OpenGL.NvPixelDataRange target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushRasterSGIX", ExactSpelling = true)] - internal extern static void FlushRasterSGIX(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushStaticDataIBM", ExactSpelling = true)] - internal extern static void FlushStaticDataIBM(OpenTK.Graphics.OpenGL.IbmStaticData target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushVertexArrayRangeAPPLE", ExactSpelling = true)] - internal extern static void FlushVertexArrayRangeAPPLE(Int32 length, [OutAttribute] IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushVertexArrayRangeNV", ExactSpelling = true)] - internal extern static void FlushVertexArrayRangeNV(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordd", ExactSpelling = true)] - internal extern static void FogCoordd(Double coord); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoorddEXT", ExactSpelling = true)] - internal extern static void FogCoorddEXT(Double coord); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoorddv", ExactSpelling = true)] - internal extern static unsafe void FogCoorddv(Double* coord); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoorddvEXT", ExactSpelling = true)] - internal extern static unsafe void FogCoorddvEXT(Double* coord); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordf", ExactSpelling = true)] - internal extern static void FogCoordf(Single coord); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordfEXT", ExactSpelling = true)] - internal extern static void FogCoordfEXT(Single coord); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordFormatNV", ExactSpelling = true)] - internal extern static void FogCoordFormatNV(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordfv", ExactSpelling = true)] - internal extern static unsafe void FogCoordfv(Single* coord); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordfvEXT", ExactSpelling = true)] - internal extern static unsafe void FogCoordfvEXT(Single* coord); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordhNV", ExactSpelling = true)] - internal extern static void FogCoordhNV(Half fog); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordhvNV", ExactSpelling = true)] - internal extern static unsafe void FogCoordhvNV(Half* fog); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordPointer", ExactSpelling = true)] - internal extern static void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordPointerEXT", ExactSpelling = true)] - internal extern static void FogCoordPointerEXT(OpenTK.Graphics.OpenGL.FogPointerTypeExt type, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordPointerListIBM", ExactSpelling = true)] - internal extern static void FogCoordPointerListIBM(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogf", ExactSpelling = true)] - internal extern static void Fogf(OpenTK.Graphics.OpenGL.FogParameter pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogFuncSGIS", ExactSpelling = true)] - internal extern static unsafe void FogFuncSGIS(Int32 n, Single* points); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogfv", ExactSpelling = true)] - internal extern static unsafe void Fogfv(OpenTK.Graphics.OpenGL.FogParameter pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogi", ExactSpelling = true)] - internal extern static void Fogi(OpenTK.Graphics.OpenGL.FogParameter pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogiv", ExactSpelling = true)] - internal extern static unsafe void Fogiv(OpenTK.Graphics.OpenGL.FogParameter pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogxOES", ExactSpelling = true)] - internal extern static void FogxOES(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogxvOES", ExactSpelling = true)] - internal extern static unsafe void FogxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentColorMaterialSGIX", ExactSpelling = true)] - internal extern static void FragmentColorMaterialSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightfSGIX", ExactSpelling = true)] - internal extern static void FragmentLightfSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightfvSGIX", ExactSpelling = true)] - internal extern static unsafe void FragmentLightfvSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightiSGIX", ExactSpelling = true)] - internal extern static void FragmentLightiSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightivSGIX", ExactSpelling = true)] - internal extern static unsafe void FragmentLightivSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightModelfSGIX", ExactSpelling = true)] - internal extern static void FragmentLightModelfSGIX(OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightModelfvSGIX", ExactSpelling = true)] - internal extern static unsafe void FragmentLightModelfvSGIX(OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightModeliSGIX", ExactSpelling = true)] - internal extern static void FragmentLightModeliSGIX(OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightModelivSGIX", ExactSpelling = true)] - internal extern static unsafe void FragmentLightModelivSGIX(OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentMaterialfSGIX", ExactSpelling = true)] - internal extern static void FragmentMaterialfSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentMaterialfvSGIX", ExactSpelling = true)] - internal extern static unsafe void FragmentMaterialfvSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentMaterialiSGIX", ExactSpelling = true)] - internal extern static void FragmentMaterialiSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentMaterialivSGIX", ExactSpelling = true)] - internal extern static unsafe void FragmentMaterialivSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferDrawBufferEXT", ExactSpelling = true)] - internal extern static void FramebufferDrawBufferEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.DrawBufferMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferDrawBuffersEXT", ExactSpelling = true)] - internal extern static unsafe void FramebufferDrawBuffersEXT(UInt32 framebuffer, Int32 n, OpenTK.Graphics.OpenGL.DrawBufferMode* bufs); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferParameteri", ExactSpelling = true)] - internal extern static void FramebufferParameteri(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferDefaultParameter pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferReadBufferEXT", ExactSpelling = true)] - internal extern static void FramebufferReadBufferEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ReadBufferMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferRenderbuffer", ExactSpelling = true)] - internal extern static void FramebufferRenderbuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferRenderbufferEXT", ExactSpelling = true)] - internal extern static void FramebufferRenderbufferEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture", ExactSpelling = true)] - internal extern static void FramebufferTexture(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture1D", ExactSpelling = true)] - internal extern static void FramebufferTexture1D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture1DEXT", ExactSpelling = true)] - internal extern static void FramebufferTexture1DEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture2D", ExactSpelling = true)] - internal extern static void FramebufferTexture2D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture2DEXT", ExactSpelling = true)] - internal extern static void FramebufferTexture2DEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture3D", ExactSpelling = true)] - internal extern static void FramebufferTexture3D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture3DEXT", ExactSpelling = true)] - internal extern static void FramebufferTexture3DEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTextureARB", ExactSpelling = true)] - internal extern static void FramebufferTextureARB(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTextureEXT", ExactSpelling = true)] - internal extern static void FramebufferTextureEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTextureFaceARB", ExactSpelling = true)] - internal extern static void FramebufferTextureFaceARB(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTextureFaceEXT", ExactSpelling = true)] - internal extern static void FramebufferTextureFaceEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTextureLayer", ExactSpelling = true)] - internal extern static void FramebufferTextureLayer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTextureLayerARB", ExactSpelling = true)] - internal extern static void FramebufferTextureLayerARB(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTextureLayerEXT", ExactSpelling = true)] - internal extern static void FramebufferTextureLayerEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrameTerminatorGREMEDY", ExactSpelling = true)] - internal extern static void FrameTerminatorGREMEDY(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrameZoomSGIX", ExactSpelling = true)] - internal extern static void FrameZoomSGIX(Int32 factor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFreeObjectBufferATI", ExactSpelling = true)] - internal extern static void FreeObjectBufferATI(UInt32 buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrontFace", ExactSpelling = true)] - internal extern static void FrontFace(OpenTK.Graphics.OpenGL.FrontFaceDirection mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrustum", ExactSpelling = true)] - internal extern static void Frustum(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrustumfOES", ExactSpelling = true)] - internal extern static void FrustumfOES(Single l, Single r, Single b, Single t, Single n, Single f); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrustumxOES", ExactSpelling = true)] - internal extern static void FrustumxOES(int l, int r, int b, int t, int n, int f); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenAsyncMarkersSGIX", ExactSpelling = true)] - internal extern static Int32 GenAsyncMarkersSGIX(Int32 range); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenBuffers", ExactSpelling = true)] - internal extern static unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenBuffersARB", ExactSpelling = true)] - internal extern static unsafe void GenBuffersARB(Int32 n, [OutAttribute] UInt32* buffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenerateMipmap", ExactSpelling = true)] - internal extern static void GenerateMipmap(OpenTK.Graphics.OpenGL.GenerateMipmapTarget target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenerateMipmapEXT", ExactSpelling = true)] - internal extern static void GenerateMipmapEXT(OpenTK.Graphics.OpenGL.GenerateMipmapTarget target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenerateMultiTexMipmapEXT", ExactSpelling = true)] - internal extern static void GenerateMultiTexMipmapEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenerateTextureMipmapEXT", ExactSpelling = true)] - internal extern static void GenerateTextureMipmapEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFencesAPPLE", ExactSpelling = true)] - internal extern static unsafe void GenFencesAPPLE(Int32 n, [OutAttribute] UInt32* fences); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFencesNV", ExactSpelling = true)] - internal extern static unsafe void GenFencesNV(Int32 n, [OutAttribute] UInt32* fences); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFragmentShadersATI", ExactSpelling = true)] - internal extern static Int32 GenFragmentShadersATI(UInt32 range); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFramebuffers", ExactSpelling = true)] - internal extern static unsafe void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFramebuffersEXT", ExactSpelling = true)] - internal extern static unsafe void GenFramebuffersEXT(Int32 n, [OutAttribute] UInt32* framebuffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenLists", ExactSpelling = true)] - internal extern static Int32 GenLists(Int32 range); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenNamesAMD", ExactSpelling = true)] - internal extern static unsafe void GenNamesAMD(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 num, [OutAttribute] UInt32* names); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenOcclusionQueriesNV", ExactSpelling = true)] - internal extern static unsafe void GenOcclusionQueriesNV(Int32 n, [OutAttribute] UInt32* ids); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenPathsNV", ExactSpelling = true)] - internal extern static Int32 GenPathsNV(Int32 range); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenPerfMonitorsAMD", ExactSpelling = true)] - internal extern static unsafe void GenPerfMonitorsAMD(Int32 n, [OutAttribute] UInt32* monitors); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenProgramPipelines", ExactSpelling = true)] - internal extern static unsafe void GenProgramPipelines(Int32 n, [OutAttribute] UInt32* pipelines); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenProgramPipelinesEXT", ExactSpelling = true)] - internal extern static unsafe void GenProgramPipelinesEXT(Int32 n, [OutAttribute] UInt32* pipelines); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenProgramsARB", ExactSpelling = true)] - internal extern static unsafe void GenProgramsARB(Int32 n, [OutAttribute] UInt32* programs); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenProgramsNV", ExactSpelling = true)] - internal extern static unsafe void GenProgramsNV(Int32 n, [OutAttribute] UInt32* programs); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenQueries", ExactSpelling = true)] - internal extern static unsafe void GenQueries(Int32 n, [OutAttribute] UInt32* ids); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenQueriesARB", ExactSpelling = true)] - internal extern static unsafe void GenQueriesARB(Int32 n, [OutAttribute] UInt32* ids); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenRenderbuffers", ExactSpelling = true)] - internal extern static unsafe void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenRenderbuffersEXT", ExactSpelling = true)] - internal extern static unsafe void GenRenderbuffersEXT(Int32 n, [OutAttribute] UInt32* renderbuffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenSamplers", ExactSpelling = true)] - internal extern static unsafe void GenSamplers(Int32 count, [OutAttribute] UInt32* samplers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenSymbolsEXT", ExactSpelling = true)] - internal extern static Int32 GenSymbolsEXT(OpenTK.Graphics.OpenGL.ExtVertexShader datatype, OpenTK.Graphics.OpenGL.ExtVertexShader storagetype, OpenTK.Graphics.OpenGL.ExtVertexShader range, UInt32 components); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenTextures", ExactSpelling = true)] - internal extern static unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenTexturesEXT", ExactSpelling = true)] - internal extern static unsafe void GenTexturesEXT(Int32 n, [OutAttribute] UInt32* textures); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenTransformFeedbacks", ExactSpelling = true)] - internal extern static unsafe void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32* ids); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenTransformFeedbacksNV", ExactSpelling = true)] - internal extern static unsafe void GenTransformFeedbacksNV(Int32 n, [OutAttribute] UInt32* ids); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenVertexArrays", ExactSpelling = true)] - internal extern static unsafe void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenVertexArraysAPPLE", ExactSpelling = true)] - internal extern static unsafe void GenVertexArraysAPPLE(Int32 n, [OutAttribute] UInt32* arrays); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenVertexShadersEXT", ExactSpelling = true)] - internal extern static Int32 GenVertexShadersEXT(UInt32 range); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveAtomicCounterBufferiv", ExactSpelling = true)] - internal extern static unsafe void GetActiveAtomicCounterBufferiv(UInt32 program, UInt32 bufferIndex, OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveAttrib", ExactSpelling = true)] - internal extern static unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveAttribType* type, [OutAttribute] StringBuilder name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveAttribARB", ExactSpelling = true)] - internal extern static unsafe void GetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ArbVertexShader* type, [OutAttribute] StringBuilder name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveSubroutineName", ExactSpelling = true)] - internal extern static unsafe void GetActiveSubroutineName(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveSubroutineUniformiv", ExactSpelling = true)] - internal extern static unsafe void GetActiveSubroutineUniformiv(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter pname, [OutAttribute] Int32* values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveSubroutineUniformName", ExactSpelling = true)] - internal extern static unsafe void GetActiveSubroutineUniformName(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniform", ExactSpelling = true)] - internal extern static unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveUniformType* type, [OutAttribute] StringBuilder name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniformARB", ExactSpelling = true)] - internal extern static unsafe void GetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ArbShaderObjects* type, [OutAttribute] StringBuilder name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniformBlockiv", ExactSpelling = true)] - internal extern static unsafe void GetActiveUniformBlockiv(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniformBlockName", ExactSpelling = true)] - internal extern static unsafe void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniformName", ExactSpelling = true)] - internal extern static unsafe void GetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformName); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniformsiv", ExactSpelling = true)] - internal extern static unsafe void GetActiveUniformsiv(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, OpenTK.Graphics.OpenGL.ActiveUniformParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveVaryingNV", ExactSpelling = true)] - internal extern static unsafe void GetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.NvTransformFeedback* type, [OutAttribute] StringBuilder name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetArrayObjectfvATI", ExactSpelling = true)] - internal extern static unsafe void GetArrayObjectfvATI(OpenTK.Graphics.OpenGL.EnableCap array, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetArrayObjectivATI", ExactSpelling = true)] - internal extern static unsafe void GetArrayObjectivATI(OpenTK.Graphics.OpenGL.EnableCap array, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetAttachedObjectsARB", ExactSpelling = true)] - internal extern static unsafe void GetAttachedObjectsARB(UInt32 containerObj, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* obj); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetAttachedShaders", ExactSpelling = true)] - internal extern static unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetAttribLocation", ExactSpelling = true)] - internal extern static Int32 GetAttribLocation(UInt32 program, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetAttribLocationARB", ExactSpelling = true)] - internal extern static Int32 GetAttribLocationARB(UInt32 programObj, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBooleani_v", ExactSpelling = true)] - internal extern static unsafe void GetBooleani_v(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] bool* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBooleanIndexedvEXT", ExactSpelling = true)] - internal extern static unsafe void GetBooleanIndexedvEXT(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] bool* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBooleanv", ExactSpelling = true)] - internal extern static unsafe void GetBooleanv(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] bool* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferParameteri64v", ExactSpelling = true)] - internal extern static unsafe void GetBufferParameteri64v(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [OutAttribute] Int64* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetBufferParameteriv(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferParameterivARB", ExactSpelling = true)] - internal extern static unsafe void GetBufferParameterivARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferParameterui64vNV", ExactSpelling = true)] - internal extern static unsafe void GetBufferParameterui64vNV(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] UInt64* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferPointerv", ExactSpelling = true)] - internal extern static void GetBufferPointerv(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferPointer pname, [OutAttribute] IntPtr @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferPointervARB", ExactSpelling = true)] - internal extern static void GetBufferPointervARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [OutAttribute] IntPtr @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferSubData", ExactSpelling = true)] - internal extern static void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferSubDataARB", ExactSpelling = true)] - internal extern static void GetBufferSubDataARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetClipPlane", ExactSpelling = true)] - internal extern static unsafe void GetClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, [OutAttribute] Double* equation); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetClipPlanefOES", ExactSpelling = true)] - internal extern static unsafe void GetClipPlanefOES(OpenTK.Graphics.OpenGL.OesSinglePrecision plane, [OutAttribute] Single* equation); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetClipPlanexOES", ExactSpelling = true)] - internal extern static unsafe void GetClipPlanexOES(OpenTK.Graphics.OpenGL.OesFixedPoint plane, [OutAttribute] int* equation); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTable", ExactSpelling = true)] - internal extern static void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr table); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableEXT", ExactSpelling = true)] - internal extern static void GetColorTableEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableParameterfv", ExactSpelling = true)] - internal extern static unsafe void GetColorTableParameterfv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void GetColorTableParameterfvEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableParameterfvSGI", ExactSpelling = true)] - internal extern static unsafe void GetColorTableParameterfvSGI(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetColorTableParameteriv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void GetColorTableParameterivEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableParameterivSGI", ExactSpelling = true)] - internal extern static unsafe void GetColorTableParameterivSGI(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableSGI", ExactSpelling = true)] - internal extern static void GetColorTableSGI(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr table); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCombinerInputParameterfvNV", ExactSpelling = true)] - internal extern static unsafe void GetCombinerInputParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCombinerInputParameterivNV", ExactSpelling = true)] - internal extern static unsafe void GetCombinerInputParameterivNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCombinerOutputParameterfvNV", ExactSpelling = true)] - internal extern static unsafe void GetCombinerOutputParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCombinerOutputParameterivNV", ExactSpelling = true)] - internal extern static unsafe void GetCombinerOutputParameterivNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCombinerStageParameterfvNV", ExactSpelling = true)] - internal extern static unsafe void GetCombinerStageParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCompressedMultiTexImageEXT", ExactSpelling = true)] - internal extern static void GetCompressedMultiTexImageEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [OutAttribute] IntPtr img); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCompressedTexImage", ExactSpelling = true)] - internal extern static void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [OutAttribute] IntPtr img); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCompressedTexImageARB", ExactSpelling = true)] - internal extern static void GetCompressedTexImageARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [OutAttribute] IntPtr img); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCompressedTextureImageEXT", ExactSpelling = true)] - internal extern static void GetCompressedTextureImageEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [OutAttribute] IntPtr img); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionFilter", ExactSpelling = true)] - internal extern static void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr image); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionFilterEXT", ExactSpelling = true)] - internal extern static void GetConvolutionFilterEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr image); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionParameterfv", ExactSpelling = true)] - internal extern static unsafe void GetConvolutionParameterfv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void GetConvolutionParameterfvEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetConvolutionParameteriv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void GetConvolutionParameterivEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionParameterxvOES", ExactSpelling = true)] - internal extern static unsafe void GetConvolutionParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDebugMessageLog", ExactSpelling = true)] - internal extern static unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSource* sources, [OutAttribute] OpenTK.Graphics.OpenGL.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDebugMessageLogAMD", ExactSpelling = true)] - internal extern static unsafe Int32 GetDebugMessageLogAMD(UInt32 count, Int32 bufsize, [OutAttribute] OpenTK.Graphics.OpenGL.AmdDebugOutput* categories, [OutAttribute] UInt32* severities, [OutAttribute] UInt32* ids, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder message); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDebugMessageLogARB", ExactSpelling = true)] - internal extern static unsafe Int32 GetDebugMessageLogARB(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* sources, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDebugMessageLogKHR", ExactSpelling = true)] - internal extern static unsafe Int32 GetDebugMessageLogKHR(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug* sources, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDetailTexFuncSGIS", ExactSpelling = true)] - internal extern static unsafe void GetDetailTexFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, [OutAttribute] Single* points); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDoublei_v", ExactSpelling = true)] - internal extern static unsafe void GetDoublei_v(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Double* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDoublei_vEXT", ExactSpelling = true)] - internal extern static unsafe void GetDoublei_vEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [OutAttribute] Double* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDoubleIndexedvEXT", ExactSpelling = true)] - internal extern static unsafe void GetDoubleIndexedvEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Double* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDoublev", ExactSpelling = true)] - internal extern static unsafe void GetDoublev(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Double* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetError", ExactSpelling = true)] - internal extern static OpenTK.Graphics.OpenGL.ErrorCode GetError(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFenceivNV", ExactSpelling = true)] - internal extern static unsafe void GetFenceivNV(UInt32 fence, OpenTK.Graphics.OpenGL.NvFence pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFinalCombinerInputParameterfvNV", ExactSpelling = true)] - internal extern static unsafe void GetFinalCombinerInputParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFinalCombinerInputParameterivNV", ExactSpelling = true)] - internal extern static unsafe void GetFinalCombinerInputParameterivNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFixedvOES", ExactSpelling = true)] - internal extern static unsafe void GetFixedvOES(OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFloati_v", ExactSpelling = true)] - internal extern static unsafe void GetFloati_v(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Single* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFloati_vEXT", ExactSpelling = true)] - internal extern static unsafe void GetFloati_vEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFloatIndexedvEXT", ExactSpelling = true)] - internal extern static unsafe void GetFloatIndexedvEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Single* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFloatv", ExactSpelling = true)] - internal extern static unsafe void GetFloatv(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Single* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFogFuncSGIS", ExactSpelling = true)] - internal extern static unsafe void GetFogFuncSGIS([OutAttribute] Single* points); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFragDataIndex", ExactSpelling = true)] - internal extern static Int32 GetFragDataIndex(UInt32 program, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFragDataLocation", ExactSpelling = true)] - internal extern static Int32 GetFragDataLocation(UInt32 program, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFragDataLocationEXT", ExactSpelling = true)] - internal extern static Int32 GetFragDataLocationEXT(UInt32 program, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFragmentLightfvSGIX", ExactSpelling = true)] - internal extern static unsafe void GetFragmentLightfvSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFragmentLightivSGIX", ExactSpelling = true)] - internal extern static unsafe void GetFragmentLightivSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFragmentMaterialfvSGIX", ExactSpelling = true)] - internal extern static unsafe void GetFragmentMaterialfvSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFragmentMaterialivSGIX", ExactSpelling = true)] - internal extern static unsafe void GetFragmentMaterialivSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFramebufferAttachmentParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetFramebufferAttachmentParameteriv(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFramebufferAttachmentParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void GetFramebufferAttachmentParameterivEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFramebufferParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetFramebufferParameteriv(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferDefaultParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFramebufferParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void GetFramebufferParameterivEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetGraphicsResetStatusARB", ExactSpelling = true)] - internal extern static OpenTK.Graphics.OpenGL.ArbRobustness GetGraphicsResetStatusARB(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHandleARB", ExactSpelling = true)] - internal extern static Int32 GetHandleARB(OpenTK.Graphics.OpenGL.ArbShaderObjects pname); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogram", ExactSpelling = true)] - internal extern static void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogramEXT", ExactSpelling = true)] - internal extern static void GetHistogramEXT(OpenTK.Graphics.OpenGL.HistogramTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogramParameterfv", ExactSpelling = true)] - internal extern static unsafe void GetHistogramParameterfv(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogramParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void GetHistogramParameterfvEXT(OpenTK.Graphics.OpenGL.HistogramTargetExt target, OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogramParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetHistogramParameteriv(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogramParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void GetHistogramParameterivEXT(OpenTK.Graphics.OpenGL.HistogramTargetExt target, OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogramParameterxvOES", ExactSpelling = true)] - internal extern static unsafe void GetHistogramParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetImageHandleARB", ExactSpelling = true)] - internal extern static Int64 GetImageHandleARB(UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.ArbBindlessTexture format); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetImageHandleNV", ExactSpelling = true)] - internal extern static Int64 GetImageHandleNV(UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.NvBindlessTexture format); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetImageTransformParameterfvHP", ExactSpelling = true)] - internal extern static unsafe void GetImageTransformParameterfvHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetImageTransformParameterivHP", ExactSpelling = true)] - internal extern static unsafe void GetImageTransformParameterivHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInfoLogARB", ExactSpelling = true)] - internal extern static unsafe void GetInfoLogARB(UInt32 obj, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInstrumentsSGIX", ExactSpelling = true)] - internal extern static Int32 GetInstrumentsSGIX(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInteger64i_v", ExactSpelling = true)] - internal extern static unsafe void GetInteger64i_v(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int64* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInteger64v", ExactSpelling = true)] - internal extern static unsafe void GetInteger64v(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Int64* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegeri_v", ExactSpelling = true)] - internal extern static unsafe void GetIntegeri_v(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegerIndexedvEXT", ExactSpelling = true)] - internal extern static unsafe void GetIntegerIndexedvEXT(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegerui64i_vNV", ExactSpelling = true)] - internal extern static unsafe void GetIntegerui64i_vNV(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory value, UInt32 index, [OutAttribute] UInt64* result); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegerui64vNV", ExactSpelling = true)] - internal extern static unsafe void GetIntegerui64vNV(OpenTK.Graphics.OpenGL.NvShaderBufferLoad value, [OutAttribute] UInt64* result); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegerv", ExactSpelling = true)] - internal extern static unsafe void GetIntegerv(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Int32* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInternalformati64v", ExactSpelling = true)] - internal extern static unsafe void GetInternalformati64v(OpenTK.Graphics.OpenGL.ImageTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int64* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInternalformativ", ExactSpelling = true)] - internal extern static unsafe void GetInternalformativ(OpenTK.Graphics.OpenGL.ImageTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInvariantBooleanvEXT", ExactSpelling = true)] - internal extern static unsafe void GetInvariantBooleanvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInvariantFloatvEXT", ExactSpelling = true)] - internal extern static unsafe void GetInvariantFloatvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInvariantIntegervEXT", ExactSpelling = true)] - internal extern static unsafe void GetInvariantIntegervEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetLightfv", ExactSpelling = true)] - internal extern static unsafe void GetLightfv(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetLightiv", ExactSpelling = true)] - internal extern static unsafe void GetLightiv(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetLightxOES", ExactSpelling = true)] - internal extern static unsafe void GetLightxOES(OpenTK.Graphics.OpenGL.OesFixedPoint light, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetLightxvOES", ExactSpelling = true)] - internal extern static unsafe void GetLightxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint light, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetListParameterfvSGIX", ExactSpelling = true)] - internal extern static unsafe void GetListParameterfvSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetListParameterivSGIX", ExactSpelling = true)] - internal extern static unsafe void GetListParameterivSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetLocalConstantBooleanvEXT", ExactSpelling = true)] - internal extern static unsafe void GetLocalConstantBooleanvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetLocalConstantFloatvEXT", ExactSpelling = true)] - internal extern static unsafe void GetLocalConstantFloatvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetLocalConstantIntegervEXT", ExactSpelling = true)] - internal extern static unsafe void GetLocalConstantIntegervEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMapAttribParameterfvNV", ExactSpelling = true)] - internal extern static unsafe void GetMapAttribParameterfvNV(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMapAttribParameterivNV", ExactSpelling = true)] - internal extern static unsafe void GetMapAttribParameterivNV(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMapControlPointsNV", ExactSpelling = true)] - internal extern static void GetMapControlPointsNV(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [OutAttribute] IntPtr points); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMapdv", ExactSpelling = true)] - internal extern static unsafe void GetMapdv(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMapfv", ExactSpelling = true)] - internal extern static unsafe void GetMapfv(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMapiv", ExactSpelling = true)] - internal extern static unsafe void GetMapiv(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMapParameterfvNV", ExactSpelling = true)] - internal extern static unsafe void GetMapParameterfvNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMapParameterivNV", ExactSpelling = true)] - internal extern static unsafe void GetMapParameterivNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMapxvOES", ExactSpelling = true)] - internal extern static unsafe void GetMapxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint query, [OutAttribute] int* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMaterialfv", ExactSpelling = true)] - internal extern static unsafe void GetMaterialfv(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMaterialiv", ExactSpelling = true)] - internal extern static unsafe void GetMaterialiv(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMaterialxOES", ExactSpelling = true)] - internal extern static void GetMaterialxOES(OpenTK.Graphics.OpenGL.OesFixedPoint face, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMaterialxvOES", ExactSpelling = true)] - internal extern static unsafe void GetMaterialxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint face, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMinmax", ExactSpelling = true)] - internal extern static void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMinmaxEXT", ExactSpelling = true)] - internal extern static void GetMinmaxEXT(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMinmaxParameterfv", ExactSpelling = true)] - internal extern static unsafe void GetMinmaxParameterfv(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMinmaxParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void GetMinmaxParameterfvEXT(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMinmaxParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetMinmaxParameteriv(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMinmaxParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void GetMinmaxParameterivEXT(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultisamplefv", ExactSpelling = true)] - internal extern static unsafe void GetMultisamplefv(OpenTK.Graphics.OpenGL.GetMultisamplePName pname, UInt32 index, [OutAttribute] Single* val); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultisamplefvNV", ExactSpelling = true)] - internal extern static unsafe void GetMultisamplefvNV(OpenTK.Graphics.OpenGL.NvExplicitMultisample pname, UInt32 index, [OutAttribute] Single* val); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexEnvfvEXT", ExactSpelling = true)] - internal extern static unsafe void GetMultiTexEnvfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexEnvivEXT", ExactSpelling = true)] - internal extern static unsafe void GetMultiTexEnvivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexGendvEXT", ExactSpelling = true)] - internal extern static unsafe void GetMultiTexGendvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Double* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexGenfvEXT", ExactSpelling = true)] - internal extern static unsafe void GetMultiTexGenfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexGenivEXT", ExactSpelling = true)] - internal extern static unsafe void GetMultiTexGenivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexImageEXT", ExactSpelling = true)] - internal extern static void GetMultiTexImageEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexLevelParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void GetMultiTexLevelParameterfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexLevelParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void GetMultiTexLevelParameterivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void GetMultiTexParameterfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexParameterIivEXT", ExactSpelling = true)] - internal extern static unsafe void GetMultiTexParameterIivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexParameterIuivEXT", ExactSpelling = true)] - internal extern static unsafe void GetMultiTexParameterIuivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void GetMultiTexParameterivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedBufferParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void GetNamedBufferParameterivEXT(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedBufferParameterui64vNV", ExactSpelling = true)] - internal extern static unsafe void GetNamedBufferParameterui64vNV(UInt32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] UInt64* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedBufferPointervEXT", ExactSpelling = true)] - internal extern static void GetNamedBufferPointervEXT(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedBufferSubDataEXT", ExactSpelling = true)] - internal extern static void GetNamedBufferSubDataEXT(UInt32 buffer, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void GetNamedFramebufferAttachmentParameterivEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedFramebufferParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void GetNamedFramebufferParameterivEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedProgramivEXT", ExactSpelling = true)] - internal extern static unsafe void GetNamedProgramivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ProgramProperty pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedProgramLocalParameterdvEXT", ExactSpelling = true)] - internal extern static unsafe void GetNamedProgramLocalParameterdvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Double* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedProgramLocalParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void GetNamedProgramLocalParameterfvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedProgramLocalParameterIivEXT", ExactSpelling = true)] - internal extern static unsafe void GetNamedProgramLocalParameterIivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedProgramLocalParameterIuivEXT", ExactSpelling = true)] - internal extern static unsafe void GetNamedProgramLocalParameterIuivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedProgramStringEXT", ExactSpelling = true)] - internal extern static void GetNamedProgramStringEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr @string); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedRenderbufferParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void GetNamedRenderbufferParameterivEXT(UInt32 renderbuffer, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedStringARB", ExactSpelling = true)] - internal extern static unsafe void GetNamedStringARB(Int32 namelen, String name, Int32 bufSize, [OutAttribute] Int32* stringlen, [OutAttribute] StringBuilder @string); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedStringivARB", ExactSpelling = true)] - internal extern static unsafe void GetNamedStringivARB(Int32 namelen, String name, OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnColorTableARB", ExactSpelling = true)] - internal extern static void GetnColorTableARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr table); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnCompressedTexImageARB", ExactSpelling = true)] - internal extern static void GetnCompressedTexImageARB(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 lod, Int32 bufSize, [OutAttribute] IntPtr img); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnConvolutionFilterARB", ExactSpelling = true)] - internal extern static void GetnConvolutionFilterARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr image); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnHistogramARB", ExactSpelling = true)] - internal extern static void GetnHistogramARB(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnMapdvARB", ExactSpelling = true)] - internal extern static unsafe void GetnMapdvARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnMapfvARB", ExactSpelling = true)] - internal extern static unsafe void GetnMapfvARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnMapivARB", ExactSpelling = true)] - internal extern static unsafe void GetnMapivARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnMinmaxARB", ExactSpelling = true)] - internal extern static void GetnMinmaxARB(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnPixelMapfvARB", ExactSpelling = true)] - internal extern static unsafe void GetnPixelMapfvARB(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] Single* values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnPixelMapuivARB", ExactSpelling = true)] - internal extern static unsafe void GetnPixelMapuivARB(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] UInt32* values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnPixelMapusvARB", ExactSpelling = true)] - internal extern static unsafe void GetnPixelMapusvARB(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] UInt16* values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnPolygonStippleARB", ExactSpelling = true)] - internal extern static unsafe void GetnPolygonStippleARB(Int32 bufSize, [OutAttribute] Byte* pattern); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnSeparableFilterARB", ExactSpelling = true)] - internal extern static void GetnSeparableFilterARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 rowBufSize, [OutAttribute] IntPtr row, Int32 columnBufSize, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnTexImageARB", ExactSpelling = true)] - internal extern static void GetnTexImageARB(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 level, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr img); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnUniformdvARB", ExactSpelling = true)] - internal extern static unsafe void GetnUniformdvARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Double* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnUniformfvARB", ExactSpelling = true)] - internal extern static unsafe void GetnUniformfvARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnUniformivARB", ExactSpelling = true)] - internal extern static unsafe void GetnUniformivARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnUniformuivARB", ExactSpelling = true)] - internal extern static unsafe void GetnUniformuivARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectBufferfvATI", ExactSpelling = true)] - internal extern static unsafe void GetObjectBufferfvATI(UInt32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectBufferivATI", ExactSpelling = true)] - internal extern static unsafe void GetObjectBufferivATI(UInt32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectLabel", ExactSpelling = true)] - internal extern static unsafe void GetObjectLabel(OpenTK.Graphics.OpenGL.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectLabelEXT", ExactSpelling = true)] - internal extern static unsafe void GetObjectLabelEXT(OpenTK.Graphics.OpenGL.ExtDebugLabel type, UInt32 @object, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectLabelKHR", ExactSpelling = true)] - internal extern static unsafe void GetObjectLabelKHR(OpenTK.Graphics.OpenGL.KhrDebug identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectParameterfvARB", ExactSpelling = true)] - internal extern static unsafe void GetObjectParameterfvARB(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectParameterivAPPLE", ExactSpelling = true)] - internal extern static unsafe void GetObjectParameterivAPPLE(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectParameterivARB", ExactSpelling = true)] - internal extern static unsafe void GetObjectParameterivARB(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectPtrLabel", ExactSpelling = true)] - internal extern static unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectPtrLabelKHR", ExactSpelling = true)] - internal extern static unsafe void GetObjectPtrLabelKHR(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetOcclusionQueryivNV", ExactSpelling = true)] - internal extern static unsafe void GetOcclusionQueryivNV(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetOcclusionQueryuivNV", ExactSpelling = true)] - internal extern static unsafe void GetOcclusionQueryuivNV(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPathColorGenfvNV", ExactSpelling = true)] - internal extern static unsafe void GetPathColorGenfvNV(OpenTK.Graphics.OpenGL.NvPathRendering color, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPathColorGenivNV", ExactSpelling = true)] - internal extern static unsafe void GetPathColorGenivNV(OpenTK.Graphics.OpenGL.NvPathRendering color, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPathCommandsNV", ExactSpelling = true)] - internal extern static unsafe void GetPathCommandsNV(UInt32 path, [OutAttribute] Byte* commands); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPathCoordsNV", ExactSpelling = true)] - internal extern static unsafe void GetPathCoordsNV(UInt32 path, [OutAttribute] Single* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPathDashArrayNV", ExactSpelling = true)] - internal extern static unsafe void GetPathDashArrayNV(UInt32 path, [OutAttribute] Single* dashArray); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPathLengthNV", ExactSpelling = true)] - internal extern static Single GetPathLengthNV(UInt32 path, Int32 startSegment, Int32 numSegments); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPathMetricRangeNV", ExactSpelling = true)] - internal extern static unsafe void GetPathMetricRangeNV(UInt32 metricQueryMask, UInt32 firstPathName, Int32 numPaths, Int32 stride, [OutAttribute] Single* metrics); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPathMetricsNV", ExactSpelling = true)] - internal extern static unsafe void GetPathMetricsNV(UInt32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, Int32 stride, [OutAttribute] Single* metrics); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPathParameterfvNV", ExactSpelling = true)] - internal extern static unsafe void GetPathParameterfvNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPathParameterivNV", ExactSpelling = true)] - internal extern static unsafe void GetPathParameterivNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPathSpacingNV", ExactSpelling = true)] - internal extern static unsafe void GetPathSpacingNV(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single* returnedSpacing); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPathTexGenfvNV", ExactSpelling = true)] - internal extern static unsafe void GetPathTexGenfvNV(OpenTK.Graphics.OpenGL.TextureUnit texCoordSet, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPathTexGenivNV", ExactSpelling = true)] - internal extern static unsafe void GetPathTexGenivNV(OpenTK.Graphics.OpenGL.TextureUnit texCoordSet, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCounterDataAMD", ExactSpelling = true)] - internal extern static unsafe void GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] UInt32* data, [OutAttribute] Int32* bytesWritten); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCounterInfoAMD", ExactSpelling = true)] - internal extern static void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [OutAttribute] IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCountersAMD", ExactSpelling = true)] - internal extern static unsafe void GetPerfMonitorCountersAMD(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCounterStringAMD", ExactSpelling = true)] - internal extern static unsafe void GetPerfMonitorCounterStringAMD(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorGroupsAMD", ExactSpelling = true)] - internal extern static unsafe void GetPerfMonitorGroupsAMD([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorGroupStringAMD", ExactSpelling = true)] - internal extern static unsafe void GetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPixelMapfv", ExactSpelling = true)] - internal extern static unsafe void GetPixelMapfv(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] Single* values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPixelMapuiv", ExactSpelling = true)] - internal extern static unsafe void GetPixelMapuiv(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] UInt32* values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPixelMapusv", ExactSpelling = true)] - internal extern static unsafe void GetPixelMapusv(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] UInt16* values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPixelMapxv", ExactSpelling = true)] - internal extern static unsafe void GetPixelMapxv(OpenTK.Graphics.OpenGL.OesFixedPoint map, Int32 size, [OutAttribute] int* values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPixelTexGenParameterfvSGIS", ExactSpelling = true)] - internal extern static unsafe void GetPixelTexGenParameterfvSGIS(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPixelTexGenParameterivSGIS", ExactSpelling = true)] - internal extern static unsafe void GetPixelTexGenParameterivSGIS(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPixelTransformParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void GetPixelTransformParameterfvEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPixelTransformParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void GetPixelTransformParameterivEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPointeri_vEXT", ExactSpelling = true)] - internal extern static void GetPointeri_vEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [OutAttribute] IntPtr @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPointerIndexedvEXT", ExactSpelling = true)] - internal extern static void GetPointerIndexedvEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPointerv", ExactSpelling = true)] - internal extern static void GetPointerv(OpenTK.Graphics.OpenGL.GetPointervPName pname, [OutAttribute] IntPtr @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPointervEXT", ExactSpelling = true)] - internal extern static void GetPointervEXT(OpenTK.Graphics.OpenGL.GetPointervPName pname, [OutAttribute] IntPtr @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPointervKHR", ExactSpelling = true)] - internal extern static void GetPointervKHR(OpenTK.Graphics.OpenGL.KhrDebug pname, [OutAttribute] IntPtr @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPolygonStipple", ExactSpelling = true)] - internal extern static unsafe void GetPolygonStipple([OutAttribute] Byte* mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramBinary", ExactSpelling = true)] - internal extern static unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [OutAttribute] IntPtr binary); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramEnvParameterdvARB", ExactSpelling = true)] - internal extern static unsafe void GetProgramEnvParameterdvARB(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Double* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramEnvParameterfvARB", ExactSpelling = true)] - internal extern static unsafe void GetProgramEnvParameterfvARB(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramEnvParameterIivNV", ExactSpelling = true)] - internal extern static unsafe void GetProgramEnvParameterIivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramEnvParameterIuivNV", ExactSpelling = true)] - internal extern static unsafe void GetProgramEnvParameterIuivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramInfoLog", ExactSpelling = true)] - internal extern static unsafe void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramInterfaceiv", ExactSpelling = true)] - internal extern static unsafe void GetProgramInterfaceiv(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, OpenTK.Graphics.OpenGL.ProgramInterfaceParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramiv", ExactSpelling = true)] - internal extern static unsafe void GetProgramiv(UInt32 program, OpenTK.Graphics.OpenGL.GetProgramParameterName pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramivARB", ExactSpelling = true)] - internal extern static unsafe void GetProgramivARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramivNV", ExactSpelling = true)] - internal extern static unsafe void GetProgramivNV(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramLocalParameterdvARB", ExactSpelling = true)] - internal extern static unsafe void GetProgramLocalParameterdvARB(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Double* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramLocalParameterfvARB", ExactSpelling = true)] - internal extern static unsafe void GetProgramLocalParameterfvARB(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramLocalParameterIivNV", ExactSpelling = true)] - internal extern static unsafe void GetProgramLocalParameterIivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramLocalParameterIuivNV", ExactSpelling = true)] - internal extern static unsafe void GetProgramLocalParameterIuivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramNamedParameterdvNV", ExactSpelling = true)] - internal extern static unsafe void GetProgramNamedParameterdvNV(UInt32 id, Int32 len, Byte* name, [OutAttribute] Double* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramNamedParameterfvNV", ExactSpelling = true)] - internal extern static unsafe void GetProgramNamedParameterfvNV(UInt32 id, Int32 len, Byte* name, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramParameterdvNV", ExactSpelling = true)] - internal extern static unsafe void GetProgramParameterdvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Double* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramParameterfvNV", ExactSpelling = true)] - internal extern static unsafe void GetProgramParameterfvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramPipelineInfoLog", ExactSpelling = true)] - internal extern static unsafe void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramPipelineInfoLogEXT", ExactSpelling = true)] - internal extern static unsafe void GetProgramPipelineInfoLogEXT(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramPipelineiv", ExactSpelling = true)] - internal extern static unsafe void GetProgramPipelineiv(UInt32 pipeline, OpenTK.Graphics.OpenGL.ProgramPipelineParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramPipelineivEXT", ExactSpelling = true)] - internal extern static unsafe void GetProgramPipelineivEXT(UInt32 pipeline, OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramResourceIndex", ExactSpelling = true)] - internal extern static Int32 GetProgramResourceIndex(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramResourceiv", ExactSpelling = true)] - internal extern static unsafe void GetProgramResourceiv(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 propCount, OpenTK.Graphics.OpenGL.ProgramProperty* props, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramResourceLocation", ExactSpelling = true)] - internal extern static Int32 GetProgramResourceLocation(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramResourceLocationIndex", ExactSpelling = true)] - internal extern static Int32 GetProgramResourceLocationIndex(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramResourceName", ExactSpelling = true)] - internal extern static unsafe void GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramStageiv", ExactSpelling = true)] - internal extern static unsafe void GetProgramStageiv(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ProgramStageParameter pname, [OutAttribute] Int32* values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramStringARB", ExactSpelling = true)] - internal extern static void GetProgramStringARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] IntPtr @string); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramStringNV", ExactSpelling = true)] - internal extern static unsafe void GetProgramStringNV(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Byte* program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramSubroutineParameteruivNV", ExactSpelling = true)] - internal extern static unsafe void GetProgramSubroutineParameteruivNV(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, UInt32 index, [OutAttribute] UInt32* param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryIndexediv", ExactSpelling = true)] - internal extern static unsafe void GetQueryIndexediv(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryiv", ExactSpelling = true)] - internal extern static unsafe void GetQueryiv(OpenTK.Graphics.OpenGL.QueryTarget target, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryivARB", ExactSpelling = true)] - internal extern static unsafe void GetQueryivARB(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjecti64v", ExactSpelling = true)] - internal extern static unsafe void GetQueryObjecti64v(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int64* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjecti64vEXT", ExactSpelling = true)] - internal extern static unsafe void GetQueryObjecti64vEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] Int64* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectiv", ExactSpelling = true)] - internal extern static unsafe void GetQueryObjectiv(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectivARB", ExactSpelling = true)] - internal extern static unsafe void GetQueryObjectivARB(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectui64v", ExactSpelling = true)] - internal extern static unsafe void GetQueryObjectui64v(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] UInt64* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectui64vEXT", ExactSpelling = true)] - internal extern static unsafe void GetQueryObjectui64vEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] UInt64* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectuiv", ExactSpelling = true)] - internal extern static unsafe void GetQueryObjectuiv(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectuivARB", ExactSpelling = true)] - internal extern static unsafe void GetQueryObjectuivARB(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetRenderbufferParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetRenderbufferParameteriv(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetRenderbufferParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void GetRenderbufferParameterivEXT(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSamplerParameterfv", ExactSpelling = true)] - internal extern static unsafe void GetSamplerParameterfv(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSamplerParameterIiv", ExactSpelling = true)] - internal extern static unsafe void GetSamplerParameterIiv(UInt32 sampler, OpenTK.Graphics.OpenGL.All pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSamplerParameterIuiv", ExactSpelling = true)] - internal extern static unsafe void GetSamplerParameterIuiv(UInt32 sampler, OpenTK.Graphics.OpenGL.All pname, [OutAttribute] UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSamplerParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetSamplerParameteriv(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSeparableFilter", ExactSpelling = true)] - internal extern static void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSeparableFilterEXT", ExactSpelling = true)] - internal extern static void GetSeparableFilterEXT(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderInfoLog", ExactSpelling = true)] - internal extern static unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderiv", ExactSpelling = true)] - internal extern static unsafe void GetShaderiv(UInt32 shader, OpenTK.Graphics.OpenGL.ShaderParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderPrecisionFormat", ExactSpelling = true)] - internal extern static unsafe void GetShaderPrecisionFormat(OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderSource", ExactSpelling = true)] - internal extern static unsafe void GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderSourceARB", ExactSpelling = true)] - internal extern static unsafe void GetShaderSourceARB(UInt32 obj, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSharpenTexFuncSGIS", ExactSpelling = true)] - internal extern static unsafe void GetSharpenTexFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, [OutAttribute] Single* points); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetString", ExactSpelling = true)] - internal extern static IntPtr GetString(OpenTK.Graphics.OpenGL.StringName name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetStringi", ExactSpelling = true)] - internal extern static IntPtr GetStringi(OpenTK.Graphics.OpenGL.StringNameIndexed name, UInt32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSubroutineIndex", ExactSpelling = true)] - internal extern static Int32 GetSubroutineIndex(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSubroutineUniformLocation", ExactSpelling = true)] - internal extern static Int32 GetSubroutineUniformLocation(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSynciv", ExactSpelling = true)] - internal extern static unsafe void GetSynciv(IntPtr sync, OpenTK.Graphics.OpenGL.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexBumpParameterfvATI", ExactSpelling = true)] - internal extern static unsafe void GetTexBumpParameterfvATI(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] Single* param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexBumpParameterivATI", ExactSpelling = true)] - internal extern static unsafe void GetTexBumpParameterivATI(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] Int32* param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexEnvfv", ExactSpelling = true)] - internal extern static unsafe void GetTexEnvfv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexEnviv", ExactSpelling = true)] - internal extern static unsafe void GetTexEnviv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexEnvxvOES", ExactSpelling = true)] - internal extern static unsafe void GetTexEnvxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexFilterFuncSGIS", ExactSpelling = true)] - internal extern static unsafe void GetTexFilterFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, [OutAttribute] Single* weights); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexGendv", ExactSpelling = true)] - internal extern static unsafe void GetTexGendv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Double* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexGenfv", ExactSpelling = true)] - internal extern static unsafe void GetTexGenfv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexGeniv", ExactSpelling = true)] - internal extern static unsafe void GetTexGeniv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexGenxvOES", ExactSpelling = true)] - internal extern static unsafe void GetTexGenxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint coord, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexImage", ExactSpelling = true)] - internal extern static void GetTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexLevelParameterfv", ExactSpelling = true)] - internal extern static unsafe void GetTexLevelParameterfv(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexLevelParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetTexLevelParameteriv(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexLevelParameterxvOES", ExactSpelling = true)] - internal extern static unsafe void GetTexLevelParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, Int32 level, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterfv", ExactSpelling = true)] - internal extern static unsafe void GetTexParameterfv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterIiv", ExactSpelling = true)] - internal extern static unsafe void GetTexParameterIiv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterIivEXT", ExactSpelling = true)] - internal extern static unsafe void GetTexParameterIivEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterIuiv", ExactSpelling = true)] - internal extern static unsafe void GetTexParameterIuiv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterIuivEXT", ExactSpelling = true)] - internal extern static unsafe void GetTexParameterIuivEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetTexParameteriv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterPointervAPPLE", ExactSpelling = true)] - internal extern static void GetTexParameterPointervAPPLE(OpenTK.Graphics.OpenGL.AppleTextureRange target, OpenTK.Graphics.OpenGL.AppleTextureRange pname, [OutAttribute] IntPtr @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterxvOES", ExactSpelling = true)] - internal extern static unsafe void GetTexParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTextureHandleARB", ExactSpelling = true)] - internal extern static Int64 GetTextureHandleARB(UInt32 texture); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTextureHandleNV", ExactSpelling = true)] - internal extern static Int64 GetTextureHandleNV(UInt32 texture); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTextureImageEXT", ExactSpelling = true)] - internal extern static void GetTextureImageEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTextureLevelParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void GetTextureLevelParameterfvEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTextureLevelParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void GetTextureLevelParameterivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTextureParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void GetTextureParameterfvEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTextureParameterIivEXT", ExactSpelling = true)] - internal extern static unsafe void GetTextureParameterIivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTextureParameterIuivEXT", ExactSpelling = true)] - internal extern static unsafe void GetTextureParameterIuivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTextureParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void GetTextureParameterivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTextureSamplerHandleARB", ExactSpelling = true)] - internal extern static Int64 GetTextureSamplerHandleARB(UInt32 texture, UInt32 sampler); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTextureSamplerHandleNV", ExactSpelling = true)] - internal extern static Int64 GetTextureSamplerHandleNV(UInt32 texture, UInt32 sampler); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTrackMatrixivNV", ExactSpelling = true)] - internal extern static unsafe void GetTrackMatrixivNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTransformFeedbackVarying", ExactSpelling = true)] - internal extern static unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.TransformFeedbackType* type, [OutAttribute] StringBuilder name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTransformFeedbackVaryingEXT", ExactSpelling = true)] - internal extern static unsafe void GetTransformFeedbackVaryingEXT(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ExtTransformFeedback* type, [OutAttribute] StringBuilder name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTransformFeedbackVaryingNV", ExactSpelling = true)] - internal extern static unsafe void GetTransformFeedbackVaryingNV(UInt32 program, UInt32 index, [OutAttribute] Int32* location); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformBlockIndex", ExactSpelling = true)] - internal extern static Int32 GetUniformBlockIndex(UInt32 program, String uniformBlockName); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformBufferSizeEXT", ExactSpelling = true)] - internal extern static Int32 GetUniformBufferSizeEXT(UInt32 program, Int32 location); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformdv", ExactSpelling = true)] - internal extern static unsafe void GetUniformdv(UInt32 program, Int32 location, [OutAttribute] Double* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformfv", ExactSpelling = true)] - internal extern static unsafe void GetUniformfv(UInt32 program, Int32 location, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformfvARB", ExactSpelling = true)] - internal extern static unsafe void GetUniformfvARB(UInt32 programObj, Int32 location, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformi64vNV", ExactSpelling = true)] - internal extern static unsafe void GetUniformi64vNV(UInt32 program, Int32 location, [OutAttribute] Int64* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformIndices", ExactSpelling = true)] - internal extern static unsafe void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] UInt32* uniformIndices); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformiv", ExactSpelling = true)] - internal extern static unsafe void GetUniformiv(UInt32 program, Int32 location, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformivARB", ExactSpelling = true)] - internal extern static unsafe void GetUniformivARB(UInt32 programObj, Int32 location, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformLocation", ExactSpelling = true)] - internal extern static Int32 GetUniformLocation(UInt32 program, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformLocationARB", ExactSpelling = true)] - internal extern static Int32 GetUniformLocationARB(UInt32 programObj, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformOffsetEXT", ExactSpelling = true)] - internal extern static IntPtr GetUniformOffsetEXT(UInt32 program, Int32 location); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformSubroutineuiv", ExactSpelling = true)] - internal extern static unsafe void GetUniformSubroutineuiv(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 location, [OutAttribute] UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformui64vNV", ExactSpelling = true)] - internal extern static unsafe void GetUniformui64vNV(UInt32 program, Int32 location, [OutAttribute] UInt64* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformuiv", ExactSpelling = true)] - internal extern static unsafe void GetUniformuiv(UInt32 program, Int32 location, [OutAttribute] UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformuivEXT", ExactSpelling = true)] - internal extern static unsafe void GetUniformuivEXT(UInt32 program, Int32 location, [OutAttribute] UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVariantArrayObjectfvATI", ExactSpelling = true)] - internal extern static unsafe void GetVariantArrayObjectfvATI(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVariantArrayObjectivATI", ExactSpelling = true)] - internal extern static unsafe void GetVariantArrayObjectivATI(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVariantBooleanvEXT", ExactSpelling = true)] - internal extern static unsafe void GetVariantBooleanvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVariantFloatvEXT", ExactSpelling = true)] - internal extern static unsafe void GetVariantFloatvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVariantIntegervEXT", ExactSpelling = true)] - internal extern static unsafe void GetVariantIntegervEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVariantPointervEXT", ExactSpelling = true)] - internal extern static void GetVariantPointervEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVaryingLocationNV", ExactSpelling = true)] - internal extern static Int32 GetVaryingLocationNV(UInt32 program, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexArrayIntegeri_vEXT", ExactSpelling = true)] - internal extern static unsafe void GetVertexArrayIntegeri_vEXT(UInt32 vaobj, UInt32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexArrayIntegervEXT", ExactSpelling = true)] - internal extern static unsafe void GetVertexArrayIntegervEXT(UInt32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexArrayPointeri_vEXT", ExactSpelling = true)] - internal extern static void GetVertexArrayPointeri_vEXT(UInt32 vaobj, UInt32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexArrayPointervEXT", ExactSpelling = true)] - internal extern static void GetVertexArrayPointervEXT(UInt32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribArrayObjectfvATI", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribArrayObjectfvATI(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribArrayObjectivATI", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribArrayObjectivATI(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribdv", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribdv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribdvARB", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribdvARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Double* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribdvNV", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribdvNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Double* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribfv", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribfv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribfvARB", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribfvARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribfvNV", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribfvNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribIiv", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribIiv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribIivEXT", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribIivEXT(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribIuiv", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribIuiv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribIuivEXT", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribIuivEXT(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [OutAttribute] UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribiv", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribiv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribivARB", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribivARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribivNV", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribivNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribLdv", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribLdv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribLdvEXT", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribLdvEXT(UInt32 index, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit pname, [OutAttribute] Double* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribLi64vNV", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribLi64vNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] Int64* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribLui64vARB", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribLui64vARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] UInt64* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribLui64vNV", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribLui64vNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] UInt64* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribPointerv", ExactSpelling = true)] - internal extern static void GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribPointervARB", ExactSpelling = true)] - internal extern static void GetVertexAttribPointervARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [OutAttribute] IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribPointervNV", ExactSpelling = true)] - internal extern static void GetVertexAttribPointervNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVideoCaptureivNV", ExactSpelling = true)] - internal extern static unsafe void GetVideoCaptureivNV(UInt32 video_capture_slot, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVideoCaptureStreamdvNV", ExactSpelling = true)] - internal extern static unsafe void GetVideoCaptureStreamdvNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Double* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVideoCaptureStreamfvNV", ExactSpelling = true)] - internal extern static unsafe void GetVideoCaptureStreamfvNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVideoCaptureStreamivNV", ExactSpelling = true)] - internal extern static unsafe void GetVideoCaptureStreamivNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVideoi64vNV", ExactSpelling = true)] - internal extern static unsafe void GetVideoi64vNV(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int64* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVideoivNV", ExactSpelling = true)] - internal extern static unsafe void GetVideoivNV(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVideoui64vNV", ExactSpelling = true)] - internal extern static unsafe void GetVideoui64vNV(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] UInt64* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVideouivNV", ExactSpelling = true)] - internal extern static unsafe void GetVideouivNV(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGlobalAlphaFactorbSUN", ExactSpelling = true)] - internal extern static void GlobalAlphaFactorbSUN(SByte factor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGlobalAlphaFactordSUN", ExactSpelling = true)] - internal extern static void GlobalAlphaFactordSUN(Double factor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGlobalAlphaFactorfSUN", ExactSpelling = true)] - internal extern static void GlobalAlphaFactorfSUN(Single factor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGlobalAlphaFactoriSUN", ExactSpelling = true)] - internal extern static void GlobalAlphaFactoriSUN(Int32 factor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGlobalAlphaFactorsSUN", ExactSpelling = true)] - internal extern static void GlobalAlphaFactorsSUN(Int16 factor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGlobalAlphaFactorubSUN", ExactSpelling = true)] - internal extern static void GlobalAlphaFactorubSUN(Byte factor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGlobalAlphaFactoruiSUN", ExactSpelling = true)] - internal extern static void GlobalAlphaFactoruiSUN(UInt32 factor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGlobalAlphaFactorusSUN", ExactSpelling = true)] - internal extern static void GlobalAlphaFactorusSUN(UInt16 factor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glHint", ExactSpelling = true)] - internal extern static void Hint(OpenTK.Graphics.OpenGL.HintTarget target, OpenTK.Graphics.OpenGL.HintMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glHintPGI", ExactSpelling = true)] - internal extern static void HintPGI(OpenTK.Graphics.OpenGL.PgiMiscHints target, Int32 mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glHistogram", ExactSpelling = true)] - internal extern static void Histogram(OpenTK.Graphics.OpenGL.HistogramTarget target, Int32 width, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glHistogramEXT", ExactSpelling = true)] - internal extern static void HistogramEXT(OpenTK.Graphics.OpenGL.HistogramTargetExt target, Int32 width, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIglooInterfaceSGIX", ExactSpelling = true)] - internal extern static void IglooInterfaceSGIX(OpenTK.Graphics.OpenGL.SgixIglooInterface pname, IntPtr @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glImageTransformParameterfHP", ExactSpelling = true)] - internal extern static void ImageTransformParameterfHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glImageTransformParameterfvHP", ExactSpelling = true)] - internal extern static unsafe void ImageTransformParameterfvHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glImageTransformParameteriHP", ExactSpelling = true)] - internal extern static void ImageTransformParameteriHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glImageTransformParameterivHP", ExactSpelling = true)] - internal extern static unsafe void ImageTransformParameterivHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glImportSyncEXT", ExactSpelling = true)] - internal extern static IntPtr ImportSyncEXT(OpenTK.Graphics.OpenGL.ExtX11SyncObject external_sync_type, IntPtr external_sync, UInt32 flags); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexd", ExactSpelling = true)] - internal extern static void Indexd(Double c); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexdv", ExactSpelling = true)] - internal extern static unsafe void Indexdv(Double* c); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexf", ExactSpelling = true)] - internal extern static void Indexf(Single c); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexFormatNV", ExactSpelling = true)] - internal extern static void IndexFormatNV(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexFuncEXT", ExactSpelling = true)] - internal extern static void IndexFuncEXT(OpenTK.Graphics.OpenGL.ExtIndexFunc func, Single @ref); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexfv", ExactSpelling = true)] - internal extern static unsafe void Indexfv(Single* c); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexi", ExactSpelling = true)] - internal extern static void Indexi(Int32 c); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexiv", ExactSpelling = true)] - internal extern static unsafe void Indexiv(Int32* c); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexMask", ExactSpelling = true)] - internal extern static void IndexMask(UInt32 mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexMaterialEXT", ExactSpelling = true)] - internal extern static void IndexMaterialEXT(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.ExtIndexMaterial mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexPointer", ExactSpelling = true)] - internal extern static void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexPointerEXT", ExactSpelling = true)] - internal extern static void IndexPointerEXT(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, Int32 count, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexPointerListIBM", ExactSpelling = true)] - internal extern static void IndexPointerListIBM(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexs", ExactSpelling = true)] - internal extern static void Indexs(Int16 c); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexsv", ExactSpelling = true)] - internal extern static unsafe void Indexsv(Int16* c); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexub", ExactSpelling = true)] - internal extern static void Indexub(Byte c); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexubv", ExactSpelling = true)] - internal extern static unsafe void Indexubv(Byte* c); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexxOES", ExactSpelling = true)] - internal extern static void IndexxOES(int component); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexxvOES", ExactSpelling = true)] - internal extern static unsafe void IndexxvOES(int* component); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glInitNames", ExactSpelling = true)] - internal extern static void InitNames(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glInsertComponentEXT", ExactSpelling = true)] - internal extern static void InsertComponentEXT(UInt32 res, UInt32 src, UInt32 num); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glInsertEventMarkerEXT", ExactSpelling = true)] - internal extern static void InsertEventMarkerEXT(Int32 length, String marker); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glInstrumentsBufferSGIX", ExactSpelling = true)] - internal extern static unsafe void InstrumentsBufferSGIX(Int32 size, [OutAttribute] Int32* buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glInterleavedArrays", ExactSpelling = true)] - internal extern static void InterleavedArrays(OpenTK.Graphics.OpenGL.InterleavedArrayFormat format, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glInterpolatePathsNV", ExactSpelling = true)] - internal extern static void InterpolatePathsNV(UInt32 resultPath, UInt32 pathA, UInt32 pathB, Single weight); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glInvalidateBufferData", ExactSpelling = true)] - internal extern static void InvalidateBufferData(UInt32 buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glInvalidateBufferSubData", ExactSpelling = true)] - internal extern static void InvalidateBufferSubData(UInt32 buffer, IntPtr offset, IntPtr length); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glInvalidateFramebuffer", ExactSpelling = true)] - internal extern static unsafe void InvalidateFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.OpenGL.FramebufferAttachment* attachments); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glInvalidateSubFramebuffer", ExactSpelling = true)] - internal extern static unsafe void InvalidateSubFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.OpenGL.FramebufferAttachment* attachments, Int32 x, Int32 y, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glInvalidateTexImage", ExactSpelling = true)] - internal extern static void InvalidateTexImage(UInt32 texture, Int32 level); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glInvalidateTexSubImage", ExactSpelling = true)] - internal extern static void InvalidateTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsAsyncMarkerSGIX", ExactSpelling = true)] - internal extern static bool IsAsyncMarkerSGIX(UInt32 marker); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsBuffer", ExactSpelling = true)] - internal extern static bool IsBuffer(UInt32 buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsBufferARB", ExactSpelling = true)] - internal extern static bool IsBufferARB(UInt32 buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsBufferResidentNV", ExactSpelling = true)] - internal extern static bool IsBufferResidentNV(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsEnabled", ExactSpelling = true)] - internal extern static bool IsEnabled(OpenTK.Graphics.OpenGL.EnableCap cap); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsEnabledi", ExactSpelling = true)] - internal extern static bool IsEnabledi(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsEnabledIndexedEXT", ExactSpelling = true)] - internal extern static bool IsEnabledIndexedEXT(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsFenceAPPLE", ExactSpelling = true)] - internal extern static bool IsFenceAPPLE(UInt32 fence); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsFenceNV", ExactSpelling = true)] - internal extern static bool IsFenceNV(UInt32 fence); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsFramebuffer", ExactSpelling = true)] - internal extern static bool IsFramebuffer(UInt32 framebuffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsFramebufferEXT", ExactSpelling = true)] - internal extern static bool IsFramebufferEXT(UInt32 framebuffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsImageHandleResidentARB", ExactSpelling = true)] - internal extern static bool IsImageHandleResidentARB(UInt64 handle); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsImageHandleResidentNV", ExactSpelling = true)] - internal extern static bool IsImageHandleResidentNV(UInt64 handle); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsList", ExactSpelling = true)] - internal extern static bool IsList(UInt32 list); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsNameAMD", ExactSpelling = true)] - internal extern static bool IsNameAMD(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsNamedBufferResidentNV", ExactSpelling = true)] - internal extern static bool IsNamedBufferResidentNV(UInt32 buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsNamedStringARB", ExactSpelling = true)] - internal extern static bool IsNamedStringARB(Int32 namelen, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsObjectBufferATI", ExactSpelling = true)] - internal extern static bool IsObjectBufferATI(UInt32 buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsOcclusionQueryNV", ExactSpelling = true)] - internal extern static bool IsOcclusionQueryNV(UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsPathNV", ExactSpelling = true)] - internal extern static bool IsPathNV(UInt32 path); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsPointInFillPathNV", ExactSpelling = true)] - internal extern static bool IsPointInFillPathNV(UInt32 path, UInt32 mask, Single x, Single y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsPointInStrokePathNV", ExactSpelling = true)] - internal extern static bool IsPointInStrokePathNV(UInt32 path, Single x, Single y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsProgram", ExactSpelling = true)] - internal extern static bool IsProgram(UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsProgramARB", ExactSpelling = true)] - internal extern static bool IsProgramARB(UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsProgramNV", ExactSpelling = true)] - internal extern static bool IsProgramNV(UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsProgramPipeline", ExactSpelling = true)] - internal extern static bool IsProgramPipeline(UInt32 pipeline); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsProgramPipelineEXT", ExactSpelling = true)] - internal extern static bool IsProgramPipelineEXT(UInt32 pipeline); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsQuery", ExactSpelling = true)] - internal extern static bool IsQuery(UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsQueryARB", ExactSpelling = true)] - internal extern static bool IsQueryARB(UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsRenderbuffer", ExactSpelling = true)] - internal extern static bool IsRenderbuffer(UInt32 renderbuffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsRenderbufferEXT", ExactSpelling = true)] - internal extern static bool IsRenderbufferEXT(UInt32 renderbuffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsSampler", ExactSpelling = true)] - internal extern static bool IsSampler(UInt32 sampler); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsShader", ExactSpelling = true)] - internal extern static bool IsShader(UInt32 shader); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsSync", ExactSpelling = true)] - internal extern static bool IsSync(IntPtr sync); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsTexture", ExactSpelling = true)] - internal extern static bool IsTexture(UInt32 texture); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsTextureEXT", ExactSpelling = true)] - internal extern static bool IsTextureEXT(UInt32 texture); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsTextureHandleResidentARB", ExactSpelling = true)] - internal extern static bool IsTextureHandleResidentARB(UInt64 handle); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsTextureHandleResidentNV", ExactSpelling = true)] - internal extern static bool IsTextureHandleResidentNV(UInt64 handle); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsTransformFeedback", ExactSpelling = true)] - internal extern static bool IsTransformFeedback(UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsTransformFeedbackNV", ExactSpelling = true)] - internal extern static bool IsTransformFeedbackNV(UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsVariantEnabledEXT", ExactSpelling = true)] - internal extern static bool IsVariantEnabledEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader cap); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsVertexArray", ExactSpelling = true)] - internal extern static bool IsVertexArray(UInt32 array); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsVertexArrayAPPLE", ExactSpelling = true)] - internal extern static bool IsVertexArrayAPPLE(UInt32 array); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsVertexAttribEnabledAPPLE", ExactSpelling = true)] - internal extern static bool IsVertexAttribEnabledAPPLE(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLabelObjectEXT", ExactSpelling = true)] - internal extern static void LabelObjectEXT(OpenTK.Graphics.OpenGL.ExtDebugLabel type, UInt32 @object, Int32 length, String label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightEnviSGIX", ExactSpelling = true)] - internal extern static void LightEnviSGIX(OpenTK.Graphics.OpenGL.LightEnvParameterSgix pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightf", ExactSpelling = true)] - internal extern static void Lightf(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightfv", ExactSpelling = true)] - internal extern static unsafe void Lightfv(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLighti", ExactSpelling = true)] - internal extern static void Lighti(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightiv", ExactSpelling = true)] - internal extern static unsafe void Lightiv(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModelf", ExactSpelling = true)] - internal extern static void LightModelf(OpenTK.Graphics.OpenGL.LightModelParameter pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModelfv", ExactSpelling = true)] - internal extern static unsafe void LightModelfv(OpenTK.Graphics.OpenGL.LightModelParameter pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModeli", ExactSpelling = true)] - internal extern static void LightModeli(OpenTK.Graphics.OpenGL.LightModelParameter pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModeliv", ExactSpelling = true)] - internal extern static unsafe void LightModeliv(OpenTK.Graphics.OpenGL.LightModelParameter pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModelxOES", ExactSpelling = true)] - internal extern static void LightModelxOES(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModelxvOES", ExactSpelling = true)] - internal extern static unsafe void LightModelxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightxOES", ExactSpelling = true)] - internal extern static void LightxOES(OpenTK.Graphics.OpenGL.OesFixedPoint light, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightxvOES", ExactSpelling = true)] - internal extern static unsafe void LightxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint light, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLineStipple", ExactSpelling = true)] - internal extern static void LineStipple(Int32 factor, UInt16 pattern); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLineWidth", ExactSpelling = true)] - internal extern static void LineWidth(Single width); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLineWidthxOES", ExactSpelling = true)] - internal extern static void LineWidthxOES(int width); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLinkProgram", ExactSpelling = true)] - internal extern static void LinkProgram(UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLinkProgramARB", ExactSpelling = true)] - internal extern static void LinkProgramARB(UInt32 programObj); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glListBase", ExactSpelling = true)] - internal extern static void ListBase(UInt32 @base); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glListParameterfSGIX", ExactSpelling = true)] - internal extern static void ListParameterfSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glListParameterfvSGIX", ExactSpelling = true)] - internal extern static unsafe void ListParameterfvSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glListParameteriSGIX", ExactSpelling = true)] - internal extern static void ListParameteriSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glListParameterivSGIX", ExactSpelling = true)] - internal extern static unsafe void ListParameterivSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadIdentity", ExactSpelling = true)] - internal extern static void LoadIdentity(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadIdentityDeformationMapSGIX", ExactSpelling = true)] - internal extern static void LoadIdentityDeformationMapSGIX(OpenTK.Graphics.OpenGL.FfdMaskSgix mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadMatrixd", ExactSpelling = true)] - internal extern static unsafe void LoadMatrixd(Double* m); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadMatrixf", ExactSpelling = true)] - internal extern static unsafe void LoadMatrixf(Single* m); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadMatrixxOES", ExactSpelling = true)] - internal extern static unsafe void LoadMatrixxOES(int* m); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadName", ExactSpelling = true)] - internal extern static void LoadName(UInt32 name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadProgramNV", ExactSpelling = true)] - internal extern static unsafe void LoadProgramNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, Int32 len, Byte* program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadTransposeMatrixd", ExactSpelling = true)] - internal extern static unsafe void LoadTransposeMatrixd(Double* m); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadTransposeMatrixdARB", ExactSpelling = true)] - internal extern static unsafe void LoadTransposeMatrixdARB(Double* m); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadTransposeMatrixf", ExactSpelling = true)] - internal extern static unsafe void LoadTransposeMatrixf(Single* m); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadTransposeMatrixfARB", ExactSpelling = true)] - internal extern static unsafe void LoadTransposeMatrixfARB(Single* m); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadTransposeMatrixxOES", ExactSpelling = true)] - internal extern static unsafe void LoadTransposeMatrixxOES(int* m); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLockArraysEXT", ExactSpelling = true)] - internal extern static void LockArraysEXT(Int32 first, Int32 count); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLogicOp", ExactSpelling = true)] - internal extern static void LogicOp(OpenTK.Graphics.OpenGL.LogicOp opcode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMakeBufferNonResidentNV", ExactSpelling = true)] - internal extern static void MakeBufferNonResidentNV(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMakeBufferResidentNV", ExactSpelling = true)] - internal extern static void MakeBufferResidentNV(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad access); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMakeImageHandleNonResidentARB", ExactSpelling = true)] - internal extern static void MakeImageHandleNonResidentARB(UInt64 handle); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMakeImageHandleNonResidentNV", ExactSpelling = true)] - internal extern static void MakeImageHandleNonResidentNV(UInt64 handle); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMakeImageHandleResidentARB", ExactSpelling = true)] - internal extern static void MakeImageHandleResidentARB(UInt64 handle, OpenTK.Graphics.OpenGL.ArbBindlessTexture access); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMakeImageHandleResidentNV", ExactSpelling = true)] - internal extern static void MakeImageHandleResidentNV(UInt64 handle, OpenTK.Graphics.OpenGL.NvBindlessTexture access); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMakeNamedBufferNonResidentNV", ExactSpelling = true)] - internal extern static void MakeNamedBufferNonResidentNV(UInt32 buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMakeNamedBufferResidentNV", ExactSpelling = true)] - internal extern static void MakeNamedBufferResidentNV(UInt32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad access); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMakeTextureHandleNonResidentARB", ExactSpelling = true)] - internal extern static void MakeTextureHandleNonResidentARB(UInt64 handle); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMakeTextureHandleNonResidentNV", ExactSpelling = true)] - internal extern static void MakeTextureHandleNonResidentNV(UInt64 handle); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMakeTextureHandleResidentARB", ExactSpelling = true)] - internal extern static void MakeTextureHandleResidentARB(UInt64 handle); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMakeTextureHandleResidentNV", ExactSpelling = true)] - internal extern static void MakeTextureHandleResidentNV(UInt64 handle); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMap1d", ExactSpelling = true)] - internal extern static unsafe void Map1d(OpenTK.Graphics.OpenGL.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, Double* points); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMap1f", ExactSpelling = true)] - internal extern static unsafe void Map1f(OpenTK.Graphics.OpenGL.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, Single* points); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMap1xOES", ExactSpelling = true)] - internal extern static void Map1xOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, int u1, int u2, Int32 stride, Int32 order, int points); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMap2d", ExactSpelling = true)] - internal extern static unsafe void Map2d(OpenTK.Graphics.OpenGL.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMap2f", ExactSpelling = true)] - internal extern static unsafe void Map2f(OpenTK.Graphics.OpenGL.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMap2xOES", ExactSpelling = true)] - internal extern static void Map2xOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, int u1, int u2, Int32 ustride, Int32 uorder, int v1, int v2, Int32 vstride, Int32 vorder, int points); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapBuffer", ExactSpelling = true)] - internal extern static IntPtr MapBuffer(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferAccess access); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapBufferARB", ExactSpelling = true)] - internal extern static IntPtr MapBufferARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferAccessArb access); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapBufferRange", ExactSpelling = true)] - internal extern static IntPtr MapBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.OpenGL.BufferAccessMask access); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapControlPointsNV", ExactSpelling = true)] - internal extern static void MapControlPointsNV(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, IntPtr points); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapGrid1d", ExactSpelling = true)] - internal extern static void MapGrid1d(Int32 un, Double u1, Double u2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapGrid1f", ExactSpelling = true)] - internal extern static void MapGrid1f(Int32 un, Single u1, Single u2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapGrid1xOES", ExactSpelling = true)] - internal extern static void MapGrid1xOES(Int32 n, int u1, int u2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapGrid2d", ExactSpelling = true)] - internal extern static void MapGrid2d(Int32 un, Double u1, Double u2, Int32 vn, Double v1, Double v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapGrid2f", ExactSpelling = true)] - internal extern static void MapGrid2f(Int32 un, Single u1, Single u2, Int32 vn, Single v1, Single v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapGrid2xOES", ExactSpelling = true)] - internal extern static void MapGrid2xOES(Int32 n, int u1, int u2, int v1, int v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapNamedBufferEXT", ExactSpelling = true)] - internal extern static IntPtr MapNamedBufferEXT(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess access); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapNamedBufferRangeEXT", ExactSpelling = true)] - internal extern static IntPtr MapNamedBufferRangeEXT(UInt32 buffer, IntPtr offset, IntPtr length, OpenTK.Graphics.OpenGL.BufferAccessMask access); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapObjectBufferATI", ExactSpelling = true)] - internal extern static IntPtr MapObjectBufferATI(UInt32 buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapParameterfvNV", ExactSpelling = true)] - internal extern static unsafe void MapParameterfvNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapParameterivNV", ExactSpelling = true)] - internal extern static unsafe void MapParameterivNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapTexture2DINTEL", ExactSpelling = true)] - internal extern static unsafe IntPtr MapTexture2DINTEL(UInt32 texture, Int32 level, UInt32 access, [OutAttribute] Int32* stride, [OutAttribute] OpenTK.Graphics.OpenGL.IntelMapTexture* layout); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapVertexAttrib1dAPPLE", ExactSpelling = true)] - internal extern static unsafe void MapVertexAttrib1dAPPLE(UInt32 index, UInt32 size, Double u1, Double u2, Int32 stride, Int32 order, Double* points); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapVertexAttrib1fAPPLE", ExactSpelling = true)] - internal extern static unsafe void MapVertexAttrib1fAPPLE(UInt32 index, UInt32 size, Single u1, Single u2, Int32 stride, Int32 order, Single* points); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapVertexAttrib2dAPPLE", ExactSpelling = true)] - internal extern static unsafe void MapVertexAttrib2dAPPLE(UInt32 index, UInt32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapVertexAttrib2fAPPLE", ExactSpelling = true)] - internal extern static unsafe void MapVertexAttrib2fAPPLE(UInt32 index, UInt32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialf", ExactSpelling = true)] - internal extern static void Materialf(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialfv", ExactSpelling = true)] - internal extern static unsafe void Materialfv(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMateriali", ExactSpelling = true)] - internal extern static void Materiali(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialiv", ExactSpelling = true)] - internal extern static unsafe void Materialiv(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialxOES", ExactSpelling = true)] - internal extern static void MaterialxOES(OpenTK.Graphics.OpenGL.OesFixedPoint face, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialxvOES", ExactSpelling = true)] - internal extern static unsafe void MaterialxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint face, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixFrustumEXT", ExactSpelling = true)] - internal extern static void MatrixFrustumEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixIndexPointerARB", ExactSpelling = true)] - internal extern static void MatrixIndexPointerARB(Int32 size, OpenTK.Graphics.OpenGL.ArbMatrixPalette type, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixIndexubvARB", ExactSpelling = true)] - internal extern static unsafe void MatrixIndexubvARB(Int32 size, Byte* indices); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixIndexuivARB", ExactSpelling = true)] - internal extern static unsafe void MatrixIndexuivARB(Int32 size, UInt32* indices); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixIndexusvARB", ExactSpelling = true)] - internal extern static unsafe void MatrixIndexusvARB(Int32 size, UInt16* indices); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixLoaddEXT", ExactSpelling = true)] - internal extern static unsafe void MatrixLoaddEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixLoadfEXT", ExactSpelling = true)] - internal extern static unsafe void MatrixLoadfEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixLoadIdentityEXT", ExactSpelling = true)] - internal extern static void MatrixLoadIdentityEXT(OpenTK.Graphics.OpenGL.MatrixMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixLoadTransposedEXT", ExactSpelling = true)] - internal extern static unsafe void MatrixLoadTransposedEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixLoadTransposefEXT", ExactSpelling = true)] - internal extern static unsafe void MatrixLoadTransposefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixMode", ExactSpelling = true)] - internal extern static void MatrixMode(OpenTK.Graphics.OpenGL.MatrixMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixMultdEXT", ExactSpelling = true)] - internal extern static unsafe void MatrixMultdEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixMultfEXT", ExactSpelling = true)] - internal extern static unsafe void MatrixMultfEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixMultTransposedEXT", ExactSpelling = true)] - internal extern static unsafe void MatrixMultTransposedEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixMultTransposefEXT", ExactSpelling = true)] - internal extern static unsafe void MatrixMultTransposefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixOrthoEXT", ExactSpelling = true)] - internal extern static void MatrixOrthoEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixPopEXT", ExactSpelling = true)] - internal extern static void MatrixPopEXT(OpenTK.Graphics.OpenGL.MatrixMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixPushEXT", ExactSpelling = true)] - internal extern static void MatrixPushEXT(OpenTK.Graphics.OpenGL.MatrixMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixRotatedEXT", ExactSpelling = true)] - internal extern static void MatrixRotatedEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double angle, Double x, Double y, Double z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixRotatefEXT", ExactSpelling = true)] - internal extern static void MatrixRotatefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single angle, Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixScaledEXT", ExactSpelling = true)] - internal extern static void MatrixScaledEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double x, Double y, Double z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixScalefEXT", ExactSpelling = true)] - internal extern static void MatrixScalefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixTranslatedEXT", ExactSpelling = true)] - internal extern static void MatrixTranslatedEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double x, Double y, Double z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixTranslatefEXT", ExactSpelling = true)] - internal extern static void MatrixTranslatefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMemoryBarrier", ExactSpelling = true)] - internal extern static void MemoryBarrier(OpenTK.Graphics.OpenGL.MemoryBarrierFlags barriers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMemoryBarrierEXT", ExactSpelling = true)] - internal extern static void MemoryBarrierEXT(UInt32 barriers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMinmax", ExactSpelling = true)] - internal extern static void Minmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMinmaxEXT", ExactSpelling = true)] - internal extern static void MinmaxEXT(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMinSampleShading", ExactSpelling = true)] - internal extern static void MinSampleShading(Single value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMinSampleShadingARB", ExactSpelling = true)] - internal extern static void MinSampleShadingARB(Single value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawArrays", ExactSpelling = true)] - internal extern static unsafe void MultiDrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* first, Int32* count, Int32 drawcount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawArraysEXT", ExactSpelling = true)] - internal extern static unsafe void MultiDrawArraysEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawArraysIndirect", ExactSpelling = true)] - internal extern static void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, IntPtr indirect, Int32 drawcount, Int32 stride); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawArraysIndirectAMD", ExactSpelling = true)] - internal extern static void MultiDrawArraysIndirectAMD(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, IntPtr indirect, Int32 primcount, Int32 stride); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawArraysIndirectBindlessNV", ExactSpelling = true)] - internal extern static void MultiDrawArraysIndirectBindlessNV(OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect mode, IntPtr indirect, Int32 drawCount, Int32 stride, Int32 vertexBufferCount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawArraysIndirectCountARB", ExactSpelling = true)] - internal extern static void MultiDrawArraysIndirectCountARB(OpenTK.Graphics.OpenGL.ArbIndirectParameters mode, IntPtr indirect, IntPtr drawcount, Int32 maxdrawcount, Int32 stride); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElementArrayAPPLE", ExactSpelling = true)] - internal extern static unsafe void MultiDrawElementArrayAPPLE(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElements", ExactSpelling = true)] - internal extern static unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElementsBaseVertex", ExactSpelling = true)] - internal extern static unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount, Int32* basevertex); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElementsEXT", ExactSpelling = true)] - internal extern static unsafe void MultiDrawElementsEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElementsIndirect", ExactSpelling = true)] - internal extern static void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL.All mode, OpenTK.Graphics.OpenGL.All type, IntPtr indirect, Int32 drawcount, Int32 stride); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElementsIndirectAMD", ExactSpelling = true)] - internal extern static void MultiDrawElementsIndirectAMD(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect type, IntPtr indirect, Int32 primcount, Int32 stride); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElementsIndirectBindlessNV", ExactSpelling = true)] - internal extern static void MultiDrawElementsIndirectBindlessNV(OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect type, IntPtr indirect, Int32 drawCount, Int32 stride, Int32 vertexBufferCount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElementsIndirectCountARB", ExactSpelling = true)] - internal extern static void MultiDrawElementsIndirectCountARB(OpenTK.Graphics.OpenGL.ArbIndirectParameters mode, OpenTK.Graphics.OpenGL.ArbIndirectParameters type, IntPtr indirect, IntPtr drawcount, Int32 maxdrawcount, Int32 stride); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawRangeElementArrayAPPLE", ExactSpelling = true)] - internal extern static unsafe void MultiDrawRangeElementArrayAPPLE(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32* first, Int32* count, Int32 primcount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiModeDrawArraysIBM", ExactSpelling = true)] - internal extern static unsafe void MultiModeDrawArraysIBM(OpenTK.Graphics.OpenGL.PrimitiveType* mode, Int32* first, Int32* count, Int32 primcount, Int32 modestride); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiModeDrawElementsIBM", ExactSpelling = true)] - internal extern static unsafe void MultiModeDrawElementsIBM(OpenTK.Graphics.OpenGL.PrimitiveType* mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexBufferEXT", ExactSpelling = true)] - internal extern static void MultiTexBufferEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, UInt32 buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1bOES", ExactSpelling = true)] - internal extern static void MultiTexCoord1bOES(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte s); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1bvOES", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord1bvOES(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1d", ExactSpelling = true)] - internal extern static void MultiTexCoord1d(OpenTK.Graphics.OpenGL.TextureUnit target, Double s); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1dARB", ExactSpelling = true)] - internal extern static void MultiTexCoord1dARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double s); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1dv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord1dv(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1dvARB", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord1dvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1f", ExactSpelling = true)] - internal extern static void MultiTexCoord1f(OpenTK.Graphics.OpenGL.TextureUnit target, Single s); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1fARB", ExactSpelling = true)] - internal extern static void MultiTexCoord1fARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single s); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1fv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord1fv(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1fvARB", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord1fvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1hNV", ExactSpelling = true)] - internal extern static void MultiTexCoord1hNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half s); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1hvNV", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord1hvNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1i", ExactSpelling = true)] - internal extern static void MultiTexCoord1i(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1iARB", ExactSpelling = true)] - internal extern static void MultiTexCoord1iARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1iv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord1iv(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1ivARB", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord1ivARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1s", ExactSpelling = true)] - internal extern static void MultiTexCoord1s(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1sARB", ExactSpelling = true)] - internal extern static void MultiTexCoord1sARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1sv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord1sv(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1svARB", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord1svARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1xOES", ExactSpelling = true)] - internal extern static void MultiTexCoord1xOES(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int s); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1xvOES", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord1xvOES(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2bOES", ExactSpelling = true)] - internal extern static void MultiTexCoord2bOES(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte s, SByte t); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2bvOES", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord2bvOES(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2d", ExactSpelling = true)] - internal extern static void MultiTexCoord2d(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2dARB", ExactSpelling = true)] - internal extern static void MultiTexCoord2dARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2dv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord2dv(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2dvARB", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord2dvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2f", ExactSpelling = true)] - internal extern static void MultiTexCoord2f(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2fARB", ExactSpelling = true)] - internal extern static void MultiTexCoord2fARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2fv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord2fv(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2fvARB", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord2fvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2hNV", ExactSpelling = true)] - internal extern static void MultiTexCoord2hNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half s, Half t); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2hvNV", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord2hvNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2i", ExactSpelling = true)] - internal extern static void MultiTexCoord2i(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2iARB", ExactSpelling = true)] - internal extern static void MultiTexCoord2iARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2iv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord2iv(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2ivARB", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord2ivARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2s", ExactSpelling = true)] - internal extern static void MultiTexCoord2s(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2sARB", ExactSpelling = true)] - internal extern static void MultiTexCoord2sARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2sv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord2sv(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2svARB", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord2svARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2xOES", ExactSpelling = true)] - internal extern static void MultiTexCoord2xOES(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int s, int t); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2xvOES", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord2xvOES(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3bOES", ExactSpelling = true)] - internal extern static void MultiTexCoord3bOES(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte s, SByte t, SByte r); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3bvOES", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord3bvOES(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3d", ExactSpelling = true)] - internal extern static void MultiTexCoord3d(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3dARB", ExactSpelling = true)] - internal extern static void MultiTexCoord3dARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3dv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord3dv(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3dvARB", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord3dvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3f", ExactSpelling = true)] - internal extern static void MultiTexCoord3f(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3fARB", ExactSpelling = true)] - internal extern static void MultiTexCoord3fARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3fv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord3fv(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3fvARB", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord3fvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3hNV", ExactSpelling = true)] - internal extern static void MultiTexCoord3hNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half s, Half t, Half r); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3hvNV", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord3hvNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3i", ExactSpelling = true)] - internal extern static void MultiTexCoord3i(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3iARB", ExactSpelling = true)] - internal extern static void MultiTexCoord3iARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3iv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord3iv(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3ivARB", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord3ivARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3s", ExactSpelling = true)] - internal extern static void MultiTexCoord3s(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3sARB", ExactSpelling = true)] - internal extern static void MultiTexCoord3sARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3sv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord3sv(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3svARB", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord3svARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3xOES", ExactSpelling = true)] - internal extern static void MultiTexCoord3xOES(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int s, int t, int r); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3xvOES", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord3xvOES(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4bOES", ExactSpelling = true)] - internal extern static void MultiTexCoord4bOES(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte s, SByte t, SByte r, SByte q); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4bvOES", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord4bvOES(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4d", ExactSpelling = true)] - internal extern static void MultiTexCoord4d(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r, Double q); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4dARB", ExactSpelling = true)] - internal extern static void MultiTexCoord4dARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r, Double q); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4dv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord4dv(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4dvARB", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord4dvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4f", ExactSpelling = true)] - internal extern static void MultiTexCoord4f(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r, Single q); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4fARB", ExactSpelling = true)] - internal extern static void MultiTexCoord4fARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r, Single q); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4fv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord4fv(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4fvARB", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord4fvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4hNV", ExactSpelling = true)] - internal extern static void MultiTexCoord4hNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half s, Half t, Half r, Half q); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4hvNV", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord4hvNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4i", ExactSpelling = true)] - internal extern static void MultiTexCoord4i(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4iARB", ExactSpelling = true)] - internal extern static void MultiTexCoord4iARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4iv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord4iv(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4ivARB", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord4ivARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4s", ExactSpelling = true)] - internal extern static void MultiTexCoord4s(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4sARB", ExactSpelling = true)] - internal extern static void MultiTexCoord4sARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4sv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord4sv(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4svARB", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord4svARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4xOES", ExactSpelling = true)] - internal extern static void MultiTexCoord4xOES(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int s, int t, int r, int q); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4xvOES", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord4xvOES(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoordP1ui", ExactSpelling = true)] - internal extern static void MultiTexCoordP1ui(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoordP1uiv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoordP1uiv(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoordP2ui", ExactSpelling = true)] - internal extern static void MultiTexCoordP2ui(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoordP2uiv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoordP2uiv(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoordP3ui", ExactSpelling = true)] - internal extern static void MultiTexCoordP3ui(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoordP3uiv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoordP3uiv(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoordP4ui", ExactSpelling = true)] - internal extern static void MultiTexCoordP4ui(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoordP4uiv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoordP4uiv(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoordPointerEXT", ExactSpelling = true)] - internal extern static void MultiTexCoordPointerEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexEnvfEXT", ExactSpelling = true)] - internal extern static void MultiTexEnvfEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexEnvfvEXT", ExactSpelling = true)] - internal extern static unsafe void MultiTexEnvfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexEnviEXT", ExactSpelling = true)] - internal extern static void MultiTexEnviEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexEnvivEXT", ExactSpelling = true)] - internal extern static unsafe void MultiTexEnvivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexGendEXT", ExactSpelling = true)] - internal extern static void MultiTexGendEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexGendvEXT", ExactSpelling = true)] - internal extern static unsafe void MultiTexGendvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexGenfEXT", ExactSpelling = true)] - internal extern static void MultiTexGenfEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexGenfvEXT", ExactSpelling = true)] - internal extern static unsafe void MultiTexGenfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexGeniEXT", ExactSpelling = true)] - internal extern static void MultiTexGeniEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexGenivEXT", ExactSpelling = true)] - internal extern static unsafe void MultiTexGenivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexImage1DEXT", ExactSpelling = true)] - internal extern static void MultiTexImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexImage2DEXT", ExactSpelling = true)] - internal extern static void MultiTexImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexImage3DEXT", ExactSpelling = true)] - internal extern static void MultiTexImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexParameterfEXT", ExactSpelling = true)] - internal extern static void MultiTexParameterfEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void MultiTexParameterfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexParameteriEXT", ExactSpelling = true)] - internal extern static void MultiTexParameteriEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexParameterIivEXT", ExactSpelling = true)] - internal extern static unsafe void MultiTexParameterIivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexParameterIuivEXT", ExactSpelling = true)] - internal extern static unsafe void MultiTexParameterIuivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void MultiTexParameterivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexRenderbufferEXT", ExactSpelling = true)] - internal extern static void MultiTexRenderbufferEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexSubImage1DEXT", ExactSpelling = true)] - internal extern static void MultiTexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexSubImage2DEXT", ExactSpelling = true)] - internal extern static void MultiTexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexSubImage3DEXT", ExactSpelling = true)] - internal extern static void MultiTexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultMatrixd", ExactSpelling = true)] - internal extern static unsafe void MultMatrixd(Double* m); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultMatrixf", ExactSpelling = true)] - internal extern static unsafe void MultMatrixf(Single* m); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultMatrixxOES", ExactSpelling = true)] - internal extern static unsafe void MultMatrixxOES(int* m); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultTransposeMatrixd", ExactSpelling = true)] - internal extern static unsafe void MultTransposeMatrixd(Double* m); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultTransposeMatrixdARB", ExactSpelling = true)] - internal extern static unsafe void MultTransposeMatrixdARB(Double* m); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultTransposeMatrixf", ExactSpelling = true)] - internal extern static unsafe void MultTransposeMatrixf(Single* m); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultTransposeMatrixfARB", ExactSpelling = true)] - internal extern static unsafe void MultTransposeMatrixfARB(Single* m); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultTransposeMatrixxOES", ExactSpelling = true)] - internal extern static unsafe void MultTransposeMatrixxOES(int* m); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedBufferDataEXT", ExactSpelling = true)] - internal extern static void NamedBufferDataEXT(UInt32 buffer, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedBufferStorageEXT", ExactSpelling = true)] - internal extern static void NamedBufferStorageEXT(UInt32 buffer, IntPtr size, IntPtr data, UInt32 flags); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedBufferSubDataEXT", ExactSpelling = true)] - internal extern static void NamedBufferSubDataEXT(UInt32 buffer, IntPtr offset, IntPtr size, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedCopyBufferSubDataEXT", ExactSpelling = true)] - internal extern static void NamedCopyBufferSubDataEXT(UInt32 readBuffer, UInt32 writeBuffer, IntPtr readOffset, IntPtr writeOffset, IntPtr size); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedFramebufferParameteriEXT", ExactSpelling = true)] - internal extern static void NamedFramebufferParameteriEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedFramebufferRenderbufferEXT", ExactSpelling = true)] - internal extern static void NamedFramebufferRenderbufferEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedFramebufferTexture1DEXT", ExactSpelling = true)] - internal extern static void NamedFramebufferTexture1DEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedFramebufferTexture2DEXT", ExactSpelling = true)] - internal extern static void NamedFramebufferTexture2DEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedFramebufferTexture3DEXT", ExactSpelling = true)] - internal extern static void NamedFramebufferTexture3DEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedFramebufferTextureEXT", ExactSpelling = true)] - internal extern static void NamedFramebufferTextureEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedFramebufferTextureFaceEXT", ExactSpelling = true)] - internal extern static void NamedFramebufferTextureFaceEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedFramebufferTextureLayerEXT", ExactSpelling = true)] - internal extern static void NamedFramebufferTextureLayerEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameter4dEXT", ExactSpelling = true)] - internal extern static void NamedProgramLocalParameter4dEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Double x, Double y, Double z, Double w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameter4dvEXT", ExactSpelling = true)] - internal extern static unsafe void NamedProgramLocalParameter4dvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Double* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameter4fEXT", ExactSpelling = true)] - internal extern static void NamedProgramLocalParameter4fEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Single x, Single y, Single z, Single w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameter4fvEXT", ExactSpelling = true)] - internal extern static unsafe void NamedProgramLocalParameter4fvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameterI4iEXT", ExactSpelling = true)] - internal extern static void NamedProgramLocalParameterI4iEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameterI4ivEXT", ExactSpelling = true)] - internal extern static unsafe void NamedProgramLocalParameterI4ivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameterI4uiEXT", ExactSpelling = true)] - internal extern static void NamedProgramLocalParameterI4uiEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameterI4uivEXT", ExactSpelling = true)] - internal extern static unsafe void NamedProgramLocalParameterI4uivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameters4fvEXT", ExactSpelling = true)] - internal extern static unsafe void NamedProgramLocalParameters4fvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParametersI4ivEXT", ExactSpelling = true)] - internal extern static unsafe void NamedProgramLocalParametersI4ivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParametersI4uivEXT", ExactSpelling = true)] - internal extern static unsafe void NamedProgramLocalParametersI4uivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramStringEXT", ExactSpelling = true)] - internal extern static void NamedProgramStringEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, IntPtr @string); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedRenderbufferStorageEXT", ExactSpelling = true)] - internal extern static void NamedRenderbufferStorageEXT(UInt32 renderbuffer, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedRenderbufferStorageMultisampleCoverageEXT", ExactSpelling = true)] - internal extern static void NamedRenderbufferStorageMultisampleCoverageEXT(UInt32 renderbuffer, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedRenderbufferStorageMultisampleEXT", ExactSpelling = true)] - internal extern static void NamedRenderbufferStorageMultisampleEXT(UInt32 renderbuffer, Int32 samples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedStringARB", ExactSpelling = true)] - internal extern static void NamedStringARB(OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude type, Int32 namelen, String name, Int32 stringlen, String @string); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNewList", ExactSpelling = true)] - internal extern static void NewList(UInt32 list, OpenTK.Graphics.OpenGL.ListMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNewObjectBufferATI", ExactSpelling = true)] - internal extern static Int32 NewObjectBufferATI(Int32 size, IntPtr pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject usage); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3b", ExactSpelling = true)] - internal extern static void Normal3b(SByte nx, SByte ny, SByte nz); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3bv", ExactSpelling = true)] - internal extern static unsafe void Normal3bv(SByte* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3d", ExactSpelling = true)] - internal extern static void Normal3d(Double nx, Double ny, Double nz); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3dv", ExactSpelling = true)] - internal extern static unsafe void Normal3dv(Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3f", ExactSpelling = true)] - internal extern static void Normal3f(Single nx, Single ny, Single nz); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3fv", ExactSpelling = true)] - internal extern static unsafe void Normal3fv(Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3fVertex3fSUN", ExactSpelling = true)] - internal extern static void Normal3fVertex3fSUN(Single nx, Single ny, Single nz, Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3fVertex3fvSUN", ExactSpelling = true)] - internal extern static unsafe void Normal3fVertex3fvSUN(Single* n, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3hNV", ExactSpelling = true)] - internal extern static void Normal3hNV(Half nx, Half ny, Half nz); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3hvNV", ExactSpelling = true)] - internal extern static unsafe void Normal3hvNV(Half* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3i", ExactSpelling = true)] - internal extern static void Normal3i(Int32 nx, Int32 ny, Int32 nz); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3iv", ExactSpelling = true)] - internal extern static unsafe void Normal3iv(Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3s", ExactSpelling = true)] - internal extern static void Normal3s(Int16 nx, Int16 ny, Int16 nz); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3sv", ExactSpelling = true)] - internal extern static unsafe void Normal3sv(Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3xOES", ExactSpelling = true)] - internal extern static void Normal3xOES(int nx, int ny, int nz); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3xvOES", ExactSpelling = true)] - internal extern static unsafe void Normal3xvOES(int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalFormatNV", ExactSpelling = true)] - internal extern static void NormalFormatNV(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalP3ui", ExactSpelling = true)] - internal extern static void NormalP3ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalP3uiv", ExactSpelling = true)] - internal extern static unsafe void NormalP3uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalPointer", ExactSpelling = true)] - internal extern static void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalPointerEXT", ExactSpelling = true)] - internal extern static void NormalPointerEXT(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, Int32 count, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalPointerListIBM", ExactSpelling = true)] - internal extern static void NormalPointerListIBM(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalPointervINTEL", ExactSpelling = true)] - internal extern static void NormalPointervINTEL(OpenTK.Graphics.OpenGL.NormalPointerType type, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3bATI", ExactSpelling = true)] - internal extern static void NormalStream3bATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, SByte nx, SByte ny, SByte nz); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3bvATI", ExactSpelling = true)] - internal extern static unsafe void NormalStream3bvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, SByte* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3dATI", ExactSpelling = true)] - internal extern static void NormalStream3dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double nx, Double ny, Double nz); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3dvATI", ExactSpelling = true)] - internal extern static unsafe void NormalStream3dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3fATI", ExactSpelling = true)] - internal extern static void NormalStream3fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single nx, Single ny, Single nz); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3fvATI", ExactSpelling = true)] - internal extern static unsafe void NormalStream3fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3iATI", ExactSpelling = true)] - internal extern static void NormalStream3iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 nx, Int32 ny, Int32 nz); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3ivATI", ExactSpelling = true)] - internal extern static unsafe void NormalStream3ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3sATI", ExactSpelling = true)] - internal extern static void NormalStream3sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 nx, Int16 ny, Int16 nz); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3svATI", ExactSpelling = true)] - internal extern static unsafe void NormalStream3svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glObjectLabel", ExactSpelling = true)] - internal extern static void ObjectLabel(OpenTK.Graphics.OpenGL.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glObjectLabelKHR", ExactSpelling = true)] - internal extern static void ObjectLabelKHR(OpenTK.Graphics.OpenGL.KhrDebug identifier, UInt32 name, Int32 length, String label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glObjectPtrLabel", ExactSpelling = true)] - internal extern static void ObjectPtrLabel(IntPtr ptr, Int32 length, String label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glObjectPtrLabelKHR", ExactSpelling = true)] - internal extern static void ObjectPtrLabelKHR(IntPtr ptr, Int32 length, String label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glObjectPurgeableAPPLE", ExactSpelling = true)] - internal extern static OpenTK.Graphics.OpenGL.AppleObjectPurgeable ObjectPurgeableAPPLE(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable option); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glObjectUnpurgeableAPPLE", ExactSpelling = true)] - internal extern static OpenTK.Graphics.OpenGL.AppleObjectPurgeable ObjectUnpurgeableAPPLE(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable option); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glOrtho", ExactSpelling = true)] - internal extern static void Ortho(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glOrthofOES", ExactSpelling = true)] - internal extern static void OrthofOES(Single l, Single r, Single b, Single t, Single n, Single f); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glOrthoxOES", ExactSpelling = true)] - internal extern static void OrthoxOES(int l, int r, int b, int t, int n, int f); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPassTexCoordATI", ExactSpelling = true)] - internal extern static void PassTexCoordATI(UInt32 dst, UInt32 coord, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPassThrough", ExactSpelling = true)] - internal extern static void PassThrough(Single token); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPassThroughxOES", ExactSpelling = true)] - internal extern static void PassThroughxOES(int token); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPatchParameterfv", ExactSpelling = true)] - internal extern static unsafe void PatchParameterfv(OpenTK.Graphics.OpenGL.PatchParameterFloat pname, Single* values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPatchParameteri", ExactSpelling = true)] - internal extern static void PatchParameteri(OpenTK.Graphics.OpenGL.PatchParameterInt pname, Int32 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPathColorGenNV", ExactSpelling = true)] - internal extern static unsafe void PathColorGenNV(OpenTK.Graphics.OpenGL.NvPathRendering color, OpenTK.Graphics.OpenGL.NvPathRendering genMode, OpenTK.Graphics.OpenGL.NvPathRendering colorFormat, Single* coeffs); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPathCommandsNV", ExactSpelling = true)] - internal extern static unsafe void PathCommandsNV(UInt32 path, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPathCoordsNV", ExactSpelling = true)] - internal extern static void PathCoordsNV(UInt32 path, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPathCoverDepthFuncNV", ExactSpelling = true)] - internal extern static void PathCoverDepthFuncNV(OpenTK.Graphics.OpenGL.DepthFunction func); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPathDashArrayNV", ExactSpelling = true)] - internal extern static unsafe void PathDashArrayNV(UInt32 path, Int32 dashCount, Single* dashArray); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPathFogGenNV", ExactSpelling = true)] - internal extern static void PathFogGenNV(OpenTK.Graphics.OpenGL.NvPathRendering genMode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPathGlyphRangeNV", ExactSpelling = true)] - internal extern static void PathGlyphRangeNV(UInt32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, IntPtr fontName, UInt32 fontStyle, UInt32 firstGlyph, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, UInt32 pathParameterTemplate, Single emScale); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPathGlyphsNV", ExactSpelling = true)] - internal extern static void PathGlyphsNV(UInt32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, IntPtr fontName, UInt32 fontStyle, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering type, IntPtr charcodes, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, UInt32 pathParameterTemplate, Single emScale); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPathParameterfNV", ExactSpelling = true)] - internal extern static void PathParameterfNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Single value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPathParameterfvNV", ExactSpelling = true)] - internal extern static unsafe void PathParameterfvNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPathParameteriNV", ExactSpelling = true)] - internal extern static void PathParameteriNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Int32 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPathParameterivNV", ExactSpelling = true)] - internal extern static unsafe void PathParameterivNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPathStencilDepthOffsetNV", ExactSpelling = true)] - internal extern static void PathStencilDepthOffsetNV(Single factor, Single units); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPathStencilFuncNV", ExactSpelling = true)] - internal extern static void PathStencilFuncNV(OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPathStringNV", ExactSpelling = true)] - internal extern static void PathStringNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering format, Int32 length, IntPtr pathString); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPathSubCommandsNV", ExactSpelling = true)] - internal extern static unsafe void PathSubCommandsNV(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPathSubCoordsNV", ExactSpelling = true)] - internal extern static void PathSubCoordsNV(UInt32 path, Int32 coordStart, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPathTexGenNV", ExactSpelling = true)] - internal extern static unsafe void PathTexGenNV(OpenTK.Graphics.OpenGL.NvPathRendering texCoordSet, OpenTK.Graphics.OpenGL.NvPathRendering genMode, Int32 components, Single* coeffs); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPauseTransformFeedback", ExactSpelling = true)] - internal extern static void PauseTransformFeedback(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPauseTransformFeedbackNV", ExactSpelling = true)] - internal extern static void PauseTransformFeedbackNV(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelDataRangeNV", ExactSpelling = true)] - internal extern static void PixelDataRangeNV(OpenTK.Graphics.OpenGL.NvPixelDataRange target, Int32 length, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelMapfv", ExactSpelling = true)] - internal extern static unsafe void PixelMapfv(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, Single* values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelMapuiv", ExactSpelling = true)] - internal extern static unsafe void PixelMapuiv(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, UInt32* values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelMapusv", ExactSpelling = true)] - internal extern static unsafe void PixelMapusv(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, UInt16* values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelMapx", ExactSpelling = true)] - internal extern static unsafe void PixelMapx(OpenTK.Graphics.OpenGL.OesFixedPoint map, Int32 size, int* values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelStoref", ExactSpelling = true)] - internal extern static void PixelStoref(OpenTK.Graphics.OpenGL.PixelStoreParameter pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelStorei", ExactSpelling = true)] - internal extern static void PixelStorei(OpenTK.Graphics.OpenGL.PixelStoreParameter pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelStorex", ExactSpelling = true)] - internal extern static void PixelStorex(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTexGenParameterfSGIS", ExactSpelling = true)] - internal extern static void PixelTexGenParameterfSGIS(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTexGenParameterfvSGIS", ExactSpelling = true)] - internal extern static unsafe void PixelTexGenParameterfvSGIS(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTexGenParameteriSGIS", ExactSpelling = true)] - internal extern static void PixelTexGenParameteriSGIS(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTexGenParameterivSGIS", ExactSpelling = true)] - internal extern static unsafe void PixelTexGenParameterivSGIS(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTexGenSGIX", ExactSpelling = true)] - internal extern static void PixelTexGenSGIX(OpenTK.Graphics.OpenGL.SgixPixelTexture mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTransferf", ExactSpelling = true)] - internal extern static void PixelTransferf(OpenTK.Graphics.OpenGL.PixelTransferParameter pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTransferi", ExactSpelling = true)] - internal extern static void PixelTransferi(OpenTK.Graphics.OpenGL.PixelTransferParameter pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTransferxOES", ExactSpelling = true)] - internal extern static void PixelTransferxOES(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTransformParameterfEXT", ExactSpelling = true)] - internal extern static void PixelTransformParameterfEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTransformParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void PixelTransformParameterfvEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTransformParameteriEXT", ExactSpelling = true)] - internal extern static void PixelTransformParameteriEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTransformParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void PixelTransformParameterivEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelZoom", ExactSpelling = true)] - internal extern static void PixelZoom(Single xfactor, Single yfactor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelZoomxOES", ExactSpelling = true)] - internal extern static void PixelZoomxOES(int xfactor, int yfactor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPNTrianglesfATI", ExactSpelling = true)] - internal extern static void PNTrianglesfATI(OpenTK.Graphics.OpenGL.AtiPnTriangles pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPNTrianglesiATI", ExactSpelling = true)] - internal extern static void PNTrianglesiATI(OpenTK.Graphics.OpenGL.AtiPnTriangles pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointAlongPathNV", ExactSpelling = true)] - internal extern static unsafe bool PointAlongPathNV(UInt32 path, Int32 startSegment, Int32 numSegments, Single distance, [OutAttribute] Single* x, [OutAttribute] Single* y, [OutAttribute] Single* tangentX, [OutAttribute] Single* tangentY); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterf", ExactSpelling = true)] - internal extern static void PointParameterf(OpenTK.Graphics.OpenGL.PointParameterName pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterfARB", ExactSpelling = true)] - internal extern static void PointParameterfARB(OpenTK.Graphics.OpenGL.ArbPointParameters pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterfEXT", ExactSpelling = true)] - internal extern static void PointParameterfEXT(OpenTK.Graphics.OpenGL.ExtPointParameters pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterfSGIS", ExactSpelling = true)] - internal extern static void PointParameterfSGIS(OpenTK.Graphics.OpenGL.SgisPointParameters pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterfv", ExactSpelling = true)] - internal extern static unsafe void PointParameterfv(OpenTK.Graphics.OpenGL.PointParameterName pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterfvARB", ExactSpelling = true)] - internal extern static unsafe void PointParameterfvARB(OpenTK.Graphics.OpenGL.ArbPointParameters pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void PointParameterfvEXT(OpenTK.Graphics.OpenGL.ExtPointParameters pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterfvSGIS", ExactSpelling = true)] - internal extern static unsafe void PointParameterfvSGIS(OpenTK.Graphics.OpenGL.SgisPointParameters pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameteri", ExactSpelling = true)] - internal extern static void PointParameteri(OpenTK.Graphics.OpenGL.PointParameterName pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameteriNV", ExactSpelling = true)] - internal extern static void PointParameteriNV(OpenTK.Graphics.OpenGL.NvPointSprite pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameteriv", ExactSpelling = true)] - internal extern static unsafe void PointParameteriv(OpenTK.Graphics.OpenGL.PointParameterName pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterivNV", ExactSpelling = true)] - internal extern static unsafe void PointParameterivNV(OpenTK.Graphics.OpenGL.NvPointSprite pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterxOES", ExactSpelling = true)] - internal extern static void PointParameterxOES(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterxvOES", ExactSpelling = true)] - internal extern static unsafe void PointParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointSize", ExactSpelling = true)] - internal extern static void PointSize(Single size); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointSizexOES", ExactSpelling = true)] - internal extern static void PointSizexOES(int size); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPollAsyncSGIX", ExactSpelling = true)] - internal extern static unsafe Int32 PollAsyncSGIX([OutAttribute] UInt32* markerp); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPollInstrumentsSGIX", ExactSpelling = true)] - internal extern static unsafe Int32 PollInstrumentsSGIX([OutAttribute] Int32* marker_p); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPolygonMode", ExactSpelling = true)] - internal extern static void PolygonMode(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.PolygonMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPolygonOffset", ExactSpelling = true)] - internal extern static void PolygonOffset(Single factor, Single units); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPolygonOffsetEXT", ExactSpelling = true)] - internal extern static void PolygonOffsetEXT(Single factor, Single bias); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPolygonOffsetxOES", ExactSpelling = true)] - internal extern static void PolygonOffsetxOES(int factor, int units); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPolygonStipple", ExactSpelling = true)] - internal extern static unsafe void PolygonStipple(Byte* mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPopAttrib", ExactSpelling = true)] - internal extern static void PopAttrib(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPopClientAttrib", ExactSpelling = true)] - internal extern static void PopClientAttrib(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPopDebugGroup", ExactSpelling = true)] - internal extern static void PopDebugGroup(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPopDebugGroupKHR", ExactSpelling = true)] - internal extern static void PopDebugGroupKHR(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPopGroupMarkerEXT", ExactSpelling = true)] - internal extern static void PopGroupMarkerEXT(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPopMatrix", ExactSpelling = true)] - internal extern static void PopMatrix(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPopName", ExactSpelling = true)] - internal extern static void PopName(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPresentFrameDualFillNV", ExactSpelling = true)] - internal extern static void PresentFrameDualFillNV(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.OpenGL.NvPresentVideo type, OpenTK.Graphics.OpenGL.NvPresentVideo target0, UInt32 fill0, OpenTK.Graphics.OpenGL.NvPresentVideo target1, UInt32 fill1, OpenTK.Graphics.OpenGL.NvPresentVideo target2, UInt32 fill2, OpenTK.Graphics.OpenGL.NvPresentVideo target3, UInt32 fill3); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPresentFrameKeyedNV", ExactSpelling = true)] - internal extern static void PresentFrameKeyedNV(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.OpenGL.NvPresentVideo type, OpenTK.Graphics.OpenGL.NvPresentVideo target0, UInt32 fill0, UInt32 key0, OpenTK.Graphics.OpenGL.NvPresentVideo target1, UInt32 fill1, UInt32 key1); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPrimitiveRestartIndex", ExactSpelling = true)] - internal extern static void PrimitiveRestartIndex(UInt32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPrimitiveRestartIndexNV", ExactSpelling = true)] - internal extern static void PrimitiveRestartIndexNV(UInt32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPrimitiveRestartNV", ExactSpelling = true)] - internal extern static void PrimitiveRestartNV(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPrioritizeTextures", ExactSpelling = true)] - internal extern static unsafe void PrioritizeTextures(Int32 n, UInt32* textures, Single* priorities); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPrioritizeTexturesEXT", ExactSpelling = true)] - internal extern static unsafe void PrioritizeTexturesEXT(Int32 n, UInt32* textures, Single* priorities); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPrioritizeTexturesxOES", ExactSpelling = true)] - internal extern static unsafe void PrioritizeTexturesxOES(Int32 n, UInt32* textures, int* priorities); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramBinary", ExactSpelling = true)] - internal extern static void ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, IntPtr binary, Int32 length); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramBufferParametersfvNV", ExactSpelling = true)] - internal extern static unsafe void ProgramBufferParametersfvNV(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramBufferParametersIivNV", ExactSpelling = true)] - internal extern static unsafe void ProgramBufferParametersIivNV(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramBufferParametersIuivNV", ExactSpelling = true)] - internal extern static unsafe void ProgramBufferParametersIuivNV(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameter4dARB", ExactSpelling = true)] - internal extern static void ProgramEnvParameter4dARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameter4dvARB", ExactSpelling = true)] - internal extern static unsafe void ProgramEnvParameter4dvARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameter4fARB", ExactSpelling = true)] - internal extern static void ProgramEnvParameter4fARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameter4fvARB", ExactSpelling = true)] - internal extern static unsafe void ProgramEnvParameter4fvARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameterI4iNV", ExactSpelling = true)] - internal extern static void ProgramEnvParameterI4iNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameterI4ivNV", ExactSpelling = true)] - internal extern static unsafe void ProgramEnvParameterI4ivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameterI4uiNV", ExactSpelling = true)] - internal extern static void ProgramEnvParameterI4uiNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameterI4uivNV", ExactSpelling = true)] - internal extern static unsafe void ProgramEnvParameterI4uivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameters4fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramEnvParameters4fvEXT(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParametersI4ivNV", ExactSpelling = true)] - internal extern static unsafe void ProgramEnvParametersI4ivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParametersI4uivNV", ExactSpelling = true)] - internal extern static unsafe void ProgramEnvParametersI4uivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameter4dARB", ExactSpelling = true)] - internal extern static void ProgramLocalParameter4dARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameter4dvARB", ExactSpelling = true)] - internal extern static unsafe void ProgramLocalParameter4dvARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameter4fARB", ExactSpelling = true)] - internal extern static void ProgramLocalParameter4fARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameter4fvARB", ExactSpelling = true)] - internal extern static unsafe void ProgramLocalParameter4fvARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameterI4iNV", ExactSpelling = true)] - internal extern static void ProgramLocalParameterI4iNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameterI4ivNV", ExactSpelling = true)] - internal extern static unsafe void ProgramLocalParameterI4ivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameterI4uiNV", ExactSpelling = true)] - internal extern static void ProgramLocalParameterI4uiNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameterI4uivNV", ExactSpelling = true)] - internal extern static unsafe void ProgramLocalParameterI4uivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameters4fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramLocalParameters4fvEXT(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParametersI4ivNV", ExactSpelling = true)] - internal extern static unsafe void ProgramLocalParametersI4ivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParametersI4uivNV", ExactSpelling = true)] - internal extern static unsafe void ProgramLocalParametersI4uivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramNamedParameter4dNV", ExactSpelling = true)] - internal extern static unsafe void ProgramNamedParameter4dNV(UInt32 id, Int32 len, Byte* name, Double x, Double y, Double z, Double w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramNamedParameter4dvNV", ExactSpelling = true)] - internal extern static unsafe void ProgramNamedParameter4dvNV(UInt32 id, Int32 len, Byte* name, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramNamedParameter4fNV", ExactSpelling = true)] - internal extern static unsafe void ProgramNamedParameter4fNV(UInt32 id, Int32 len, Byte* name, Single x, Single y, Single z, Single w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramNamedParameter4fvNV", ExactSpelling = true)] - internal extern static unsafe void ProgramNamedParameter4fvNV(UInt32 id, Int32 len, Byte* name, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameter4dNV", ExactSpelling = true)] - internal extern static void ProgramParameter4dNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameter4dvNV", ExactSpelling = true)] - internal extern static unsafe void ProgramParameter4dvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameter4fNV", ExactSpelling = true)] - internal extern static void ProgramParameter4fNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameter4fvNV", ExactSpelling = true)] - internal extern static unsafe void ProgramParameter4fvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameteri", ExactSpelling = true)] - internal extern static void ProgramParameteri(UInt32 program, OpenTK.Graphics.OpenGL.ProgramParameterName pname, Int32 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameteriARB", ExactSpelling = true)] - internal extern static void ProgramParameteriARB(UInt32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameteriEXT", ExactSpelling = true)] - internal extern static void ProgramParameteriEXT(UInt32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameters4dvNV", ExactSpelling = true)] - internal extern static unsafe void ProgramParameters4dvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Int32 count, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameters4fvNV", ExactSpelling = true)] - internal extern static unsafe void ProgramParameters4fvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Int32 count, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramStringARB", ExactSpelling = true)] - internal extern static void ProgramStringARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.All format, Int32 len, IntPtr @string); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramSubroutineParametersuivNV", ExactSpelling = true)] - internal extern static unsafe void ProgramSubroutineParametersuivNV(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 count, UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1d", ExactSpelling = true)] - internal extern static void ProgramUniform1d(UInt32 program, Int32 location, Double v0); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1dEXT", ExactSpelling = true)] - internal extern static void ProgramUniform1dEXT(UInt32 program, Int32 location, Double x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1dv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform1dv(UInt32 program, Int32 location, Int32 count, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1dvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform1dvEXT(UInt32 program, Int32 location, Int32 count, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1f", ExactSpelling = true)] - internal extern static void ProgramUniform1f(UInt32 program, Int32 location, Single v0); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1fEXT", ExactSpelling = true)] - internal extern static void ProgramUniform1fEXT(UInt32 program, Int32 location, Single v0); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1fv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform1fv(UInt32 program, Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform1fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1i", ExactSpelling = true)] - internal extern static void ProgramUniform1i(UInt32 program, Int32 location, Int32 v0); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1i64NV", ExactSpelling = true)] - internal extern static void ProgramUniform1i64NV(UInt32 program, Int32 location, Int64 x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1i64vNV", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform1i64vNV(UInt32 program, Int32 location, Int32 count, Int64* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1iEXT", ExactSpelling = true)] - internal extern static void ProgramUniform1iEXT(UInt32 program, Int32 location, Int32 v0); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1iv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform1iv(UInt32 program, Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1ivEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform1ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1ui", ExactSpelling = true)] - internal extern static void ProgramUniform1ui(UInt32 program, Int32 location, UInt32 v0); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1ui64NV", ExactSpelling = true)] - internal extern static void ProgramUniform1ui64NV(UInt32 program, Int32 location, UInt64 x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1ui64vNV", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform1ui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1uiEXT", ExactSpelling = true)] - internal extern static void ProgramUniform1uiEXT(UInt32 program, Int32 location, UInt32 v0); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1uiv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform1uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1uivEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform1uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2d", ExactSpelling = true)] - internal extern static void ProgramUniform2d(UInt32 program, Int32 location, Double v0, Double v1); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2dEXT", ExactSpelling = true)] - internal extern static void ProgramUniform2dEXT(UInt32 program, Int32 location, Double x, Double y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2dv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform2dv(UInt32 program, Int32 location, Int32 count, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2dvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform2dvEXT(UInt32 program, Int32 location, Int32 count, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2f", ExactSpelling = true)] - internal extern static void ProgramUniform2f(UInt32 program, Int32 location, Single v0, Single v1); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2fEXT", ExactSpelling = true)] - internal extern static void ProgramUniform2fEXT(UInt32 program, Int32 location, Single v0, Single v1); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2fv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform2fv(UInt32 program, Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform2fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2i", ExactSpelling = true)] - internal extern static void ProgramUniform2i(UInt32 program, Int32 location, Int32 v0, Int32 v1); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2i64NV", ExactSpelling = true)] - internal extern static void ProgramUniform2i64NV(UInt32 program, Int32 location, Int64 x, Int64 y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2i64vNV", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform2i64vNV(UInt32 program, Int32 location, Int32 count, Int64* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2iEXT", ExactSpelling = true)] - internal extern static void ProgramUniform2iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2iv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform2iv(UInt32 program, Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2ivEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform2ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2ui", ExactSpelling = true)] - internal extern static void ProgramUniform2ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2ui64NV", ExactSpelling = true)] - internal extern static void ProgramUniform2ui64NV(UInt32 program, Int32 location, UInt64 x, UInt64 y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2ui64vNV", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform2ui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2uiEXT", ExactSpelling = true)] - internal extern static void ProgramUniform2uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2uiv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform2uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2uivEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform2uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3d", ExactSpelling = true)] - internal extern static void ProgramUniform3d(UInt32 program, Int32 location, Double v0, Double v1, Double v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3dEXT", ExactSpelling = true)] - internal extern static void ProgramUniform3dEXT(UInt32 program, Int32 location, Double x, Double y, Double z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3dv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform3dv(UInt32 program, Int32 location, Int32 count, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3dvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform3dvEXT(UInt32 program, Int32 location, Int32 count, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3f", ExactSpelling = true)] - internal extern static void ProgramUniform3f(UInt32 program, Int32 location, Single v0, Single v1, Single v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3fEXT", ExactSpelling = true)] - internal extern static void ProgramUniform3fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3fv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform3fv(UInt32 program, Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform3fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3i", ExactSpelling = true)] - internal extern static void ProgramUniform3i(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3i64NV", ExactSpelling = true)] - internal extern static void ProgramUniform3i64NV(UInt32 program, Int32 location, Int64 x, Int64 y, Int64 z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3i64vNV", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform3i64vNV(UInt32 program, Int32 location, Int32 count, Int64* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3iEXT", ExactSpelling = true)] - internal extern static void ProgramUniform3iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3iv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform3iv(UInt32 program, Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3ivEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform3ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3ui", ExactSpelling = true)] - internal extern static void ProgramUniform3ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3ui64NV", ExactSpelling = true)] - internal extern static void ProgramUniform3ui64NV(UInt32 program, Int32 location, UInt64 x, UInt64 y, UInt64 z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3ui64vNV", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform3ui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3uiEXT", ExactSpelling = true)] - internal extern static void ProgramUniform3uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3uiv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform3uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3uivEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform3uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4d", ExactSpelling = true)] - internal extern static void ProgramUniform4d(UInt32 program, Int32 location, Double v0, Double v1, Double v2, Double v3); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4dEXT", ExactSpelling = true)] - internal extern static void ProgramUniform4dEXT(UInt32 program, Int32 location, Double x, Double y, Double z, Double w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4dv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform4dv(UInt32 program, Int32 location, Int32 count, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4dvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform4dvEXT(UInt32 program, Int32 location, Int32 count, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4f", ExactSpelling = true)] - internal extern static void ProgramUniform4f(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4fEXT", ExactSpelling = true)] - internal extern static void ProgramUniform4fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4fv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform4fv(UInt32 program, Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform4fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4i", ExactSpelling = true)] - internal extern static void ProgramUniform4i(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4i64NV", ExactSpelling = true)] - internal extern static void ProgramUniform4i64NV(UInt32 program, Int32 location, Int64 x, Int64 y, Int64 z, Int64 w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4i64vNV", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform4i64vNV(UInt32 program, Int32 location, Int32 count, Int64* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4iEXT", ExactSpelling = true)] - internal extern static void ProgramUniform4iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4iv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform4iv(UInt32 program, Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4ivEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform4ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4ui", ExactSpelling = true)] - internal extern static void ProgramUniform4ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4ui64NV", ExactSpelling = true)] - internal extern static void ProgramUniform4ui64NV(UInt32 program, Int32 location, UInt64 x, UInt64 y, UInt64 z, UInt64 w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4ui64vNV", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform4ui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4uiEXT", ExactSpelling = true)] - internal extern static void ProgramUniform4uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4uiv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform4uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4uivEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform4uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformHandleui64ARB", ExactSpelling = true)] - internal extern static void ProgramUniformHandleui64ARB(UInt32 program, Int32 location, UInt64 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformHandleui64NV", ExactSpelling = true)] - internal extern static void ProgramUniformHandleui64NV(UInt32 program, Int32 location, UInt64 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformHandleui64vARB", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformHandleui64vARB(UInt32 program, Int32 location, Int32 count, UInt64* values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformHandleui64vNV", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformHandleui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2dv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2dvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix2dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2fv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2x3dv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix2x3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2x3dvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix2x3dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2x3fv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix2x3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2x3fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix2x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2x4dv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix2x4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2x4dvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix2x4dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2x4fv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix2x4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2x4fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix2x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3dv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3dvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix3dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3fv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3x2dv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix3x2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3x2dvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix3x2dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3x2fv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix3x2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3x2fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix3x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3x4dv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix3x4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3x4dvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix3x4dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3x4fv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix3x4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3x4fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix3x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4dv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4dvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix4dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4fv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4x2dv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix4x2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4x2dvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix4x2dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4x2fv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix4x2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4x2fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix4x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4x3dv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix4x3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4x3dvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix4x3dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4x3fv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix4x3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4x3fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix4x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformui64NV", ExactSpelling = true)] - internal extern static void ProgramUniformui64NV(UInt32 program, Int32 location, UInt64 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformui64vNV", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramVertexLimitNV", ExactSpelling = true)] - internal extern static void ProgramVertexLimitNV(OpenTK.Graphics.OpenGL.NvGeometryProgram4 target, Int32 limit); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProvokingVertex", ExactSpelling = true)] - internal extern static void ProvokingVertex(OpenTK.Graphics.OpenGL.ProvokingVertexMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProvokingVertexEXT", ExactSpelling = true)] - internal extern static void ProvokingVertexEXT(OpenTK.Graphics.OpenGL.ExtProvokingVertex mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPushAttrib", ExactSpelling = true)] - internal extern static void PushAttrib(OpenTK.Graphics.OpenGL.AttribMask mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPushClientAttrib", ExactSpelling = true)] - internal extern static void PushClientAttrib(OpenTK.Graphics.OpenGL.ClientAttribMask mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPushClientAttribDefaultEXT", ExactSpelling = true)] - internal extern static void PushClientAttribDefaultEXT(OpenTK.Graphics.OpenGL.ClientAttribMask mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPushDebugGroup", ExactSpelling = true)] - internal extern static void PushDebugGroup(OpenTK.Graphics.OpenGL.DebugSourceExternal source, UInt32 id, Int32 length, String message); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPushDebugGroupKHR", ExactSpelling = true)] - internal extern static void PushDebugGroupKHR(OpenTK.Graphics.OpenGL.KhrDebug source, UInt32 id, Int32 length, String message); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPushGroupMarkerEXT", ExactSpelling = true)] - internal extern static void PushGroupMarkerEXT(Int32 length, String marker); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPushMatrix", ExactSpelling = true)] - internal extern static void PushMatrix(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPushName", ExactSpelling = true)] - internal extern static void PushName(UInt32 name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glQueryCounter", ExactSpelling = true)] - internal extern static void QueryCounter(UInt32 id, OpenTK.Graphics.OpenGL.QueryCounterTarget target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glQueryMatrixxOES", ExactSpelling = true)] - internal extern static unsafe Int32 QueryMatrixxOES([OutAttribute] int* mantissa, [OutAttribute] Int32* exponent); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glQueryObjectParameteruiAMD", ExactSpelling = true)] - internal extern static void QueryObjectParameteruiAMD(OpenTK.Graphics.OpenGL.AmdOcclusionQueryEvent target, UInt32 id, OpenTK.Graphics.OpenGL.AmdOcclusionQueryEvent pname, OpenTK.Graphics.OpenGL.OcclusionQueryEventMaskAmd param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos2d", ExactSpelling = true)] - internal extern static void RasterPos2d(Double x, Double y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos2dv", ExactSpelling = true)] - internal extern static unsafe void RasterPos2dv(Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos2f", ExactSpelling = true)] - internal extern static void RasterPos2f(Single x, Single y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos2fv", ExactSpelling = true)] - internal extern static unsafe void RasterPos2fv(Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos2i", ExactSpelling = true)] - internal extern static void RasterPos2i(Int32 x, Int32 y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos2iv", ExactSpelling = true)] - internal extern static unsafe void RasterPos2iv(Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos2s", ExactSpelling = true)] - internal extern static void RasterPos2s(Int16 x, Int16 y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos2sv", ExactSpelling = true)] - internal extern static unsafe void RasterPos2sv(Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos2xOES", ExactSpelling = true)] - internal extern static void RasterPos2xOES(int x, int y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos2xvOES", ExactSpelling = true)] - internal extern static unsafe void RasterPos2xvOES(int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos3d", ExactSpelling = true)] - internal extern static void RasterPos3d(Double x, Double y, Double z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos3dv", ExactSpelling = true)] - internal extern static unsafe void RasterPos3dv(Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos3f", ExactSpelling = true)] - internal extern static void RasterPos3f(Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos3fv", ExactSpelling = true)] - internal extern static unsafe void RasterPos3fv(Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos3i", ExactSpelling = true)] - internal extern static void RasterPos3i(Int32 x, Int32 y, Int32 z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos3iv", ExactSpelling = true)] - internal extern static unsafe void RasterPos3iv(Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos3s", ExactSpelling = true)] - internal extern static void RasterPos3s(Int16 x, Int16 y, Int16 z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos3sv", ExactSpelling = true)] - internal extern static unsafe void RasterPos3sv(Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos3xOES", ExactSpelling = true)] - internal extern static void RasterPos3xOES(int x, int y, int z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos3xvOES", ExactSpelling = true)] - internal extern static unsafe void RasterPos3xvOES(int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos4d", ExactSpelling = true)] - internal extern static void RasterPos4d(Double x, Double y, Double z, Double w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos4dv", ExactSpelling = true)] - internal extern static unsafe void RasterPos4dv(Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos4f", ExactSpelling = true)] - internal extern static void RasterPos4f(Single x, Single y, Single z, Single w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos4fv", ExactSpelling = true)] - internal extern static unsafe void RasterPos4fv(Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos4i", ExactSpelling = true)] - internal extern static void RasterPos4i(Int32 x, Int32 y, Int32 z, Int32 w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos4iv", ExactSpelling = true)] - internal extern static unsafe void RasterPos4iv(Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos4s", ExactSpelling = true)] - internal extern static void RasterPos4s(Int16 x, Int16 y, Int16 z, Int16 w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos4sv", ExactSpelling = true)] - internal extern static unsafe void RasterPos4sv(Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos4xOES", ExactSpelling = true)] - internal extern static void RasterPos4xOES(int x, int y, int z, int w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos4xvOES", ExactSpelling = true)] - internal extern static unsafe void RasterPos4xvOES(int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadBuffer", ExactSpelling = true)] - internal extern static void ReadBuffer(OpenTK.Graphics.OpenGL.ReadBufferMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadInstrumentsSGIX", ExactSpelling = true)] - internal extern static void ReadInstrumentsSGIX(Int32 marker); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadnPixelsARB", ExactSpelling = true)] - internal extern static void ReadnPixelsARB(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadPixels", ExactSpelling = true)] - internal extern static void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRectd", ExactSpelling = true)] - internal extern static void Rectd(Double x1, Double y1, Double x2, Double y2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRectdv", ExactSpelling = true)] - internal extern static unsafe void Rectdv(Double* v1, Double* v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRectf", ExactSpelling = true)] - internal extern static void Rectf(Single x1, Single y1, Single x2, Single y2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRectfv", ExactSpelling = true)] - internal extern static unsafe void Rectfv(Single* v1, Single* v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRecti", ExactSpelling = true)] - internal extern static void Recti(Int32 x1, Int32 y1, Int32 x2, Int32 y2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRectiv", ExactSpelling = true)] - internal extern static unsafe void Rectiv(Int32* v1, Int32* v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRects", ExactSpelling = true)] - internal extern static void Rects(Int16 x1, Int16 y1, Int16 x2, Int16 y2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRectsv", ExactSpelling = true)] - internal extern static unsafe void Rectsv(Int16* v1, Int16* v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRectxOES", ExactSpelling = true)] - internal extern static void RectxOES(int x1, int y1, int x2, int y2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRectxvOES", ExactSpelling = true)] - internal extern static unsafe void RectxvOES(int* v1, int* v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReferencePlaneSGIX", ExactSpelling = true)] - internal extern static unsafe void ReferencePlaneSGIX(Double* equation); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReleaseShaderCompiler", ExactSpelling = true)] - internal extern static void ReleaseShaderCompiler(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorage", ExactSpelling = true)] - internal extern static void RenderbufferStorage(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageEXT", ExactSpelling = true)] - internal extern static void RenderbufferStorageEXT(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisample", ExactSpelling = true)] - internal extern static void RenderbufferStorageMultisample(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisampleCoverageNV", ExactSpelling = true)] - internal extern static void RenderbufferStorageMultisampleCoverageNV(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisampleEXT", ExactSpelling = true)] - internal extern static void RenderbufferStorageMultisampleEXT(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderMode", ExactSpelling = true)] - internal extern static Int32 RenderMode(OpenTK.Graphics.OpenGL.RenderingMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodePointerSUN", ExactSpelling = true)] - internal extern static void ReplacementCodePointerSUN(OpenTK.Graphics.OpenGL.SunTriangleList type, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeubSUN", ExactSpelling = true)] - internal extern static void ReplacementCodeubSUN(Byte code); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeubvSUN", ExactSpelling = true)] - internal extern static unsafe void ReplacementCodeubvSUN(Byte* code); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiColor3fVertex3fSUN", ExactSpelling = true)] - internal extern static void ReplacementCodeuiColor3fVertex3fSUN(UInt32 rc, Single r, Single g, Single b, Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN", ExactSpelling = true)] - internal extern static unsafe void ReplacementCodeuiColor3fVertex3fvSUN(UInt32* rc, Single* c, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fSUN", ExactSpelling = true)] - internal extern static void ReplacementCodeuiColor4fNormal3fVertex3fSUN(UInt32 rc, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN", ExactSpelling = true)] - internal extern static unsafe void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32* rc, Single* c, Single* n, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiColor4ubVertex3fSUN", ExactSpelling = true)] - internal extern static void ReplacementCodeuiColor4ubVertex3fSUN(UInt32 rc, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN", ExactSpelling = true)] - internal extern static unsafe void ReplacementCodeuiColor4ubVertex3fvSUN(UInt32* rc, Byte* c, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiNormal3fVertex3fSUN", ExactSpelling = true)] - internal extern static void ReplacementCodeuiNormal3fVertex3fSUN(UInt32 rc, Single nx, Single ny, Single nz, Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN", ExactSpelling = true)] - internal extern static unsafe void ReplacementCodeuiNormal3fVertex3fvSUN(UInt32* rc, Single* n, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiSUN", ExactSpelling = true)] - internal extern static void ReplacementCodeuiSUN(UInt32 code); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN", ExactSpelling = true)] - internal extern static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN(UInt32 rc, Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN", ExactSpelling = true)] - internal extern static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32* rc, Single* tc, Single* c, Single* n, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN", ExactSpelling = true)] - internal extern static void ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN(UInt32 rc, Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN", ExactSpelling = true)] - internal extern static unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32* rc, Single* tc, Single* n, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fSUN", ExactSpelling = true)] - internal extern static void ReplacementCodeuiTexCoord2fVertex3fSUN(UInt32 rc, Single s, Single t, Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN", ExactSpelling = true)] - internal extern static unsafe void ReplacementCodeuiTexCoord2fVertex3fvSUN(UInt32* rc, Single* tc, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiVertex3fSUN", ExactSpelling = true)] - internal extern static void ReplacementCodeuiVertex3fSUN(UInt32 rc, Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiVertex3fvSUN", ExactSpelling = true)] - internal extern static unsafe void ReplacementCodeuiVertex3fvSUN(UInt32* rc, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuivSUN", ExactSpelling = true)] - internal extern static unsafe void ReplacementCodeuivSUN(UInt32* code); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeusSUN", ExactSpelling = true)] - internal extern static void ReplacementCodeusSUN(UInt16 code); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeusvSUN", ExactSpelling = true)] - internal extern static unsafe void ReplacementCodeusvSUN(UInt16* code); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRequestResidentProgramsNV", ExactSpelling = true)] - internal extern static unsafe void RequestResidentProgramsNV(Int32 n, UInt32* programs); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResetHistogram", ExactSpelling = true)] - internal extern static void ResetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResetHistogramEXT", ExactSpelling = true)] - internal extern static void ResetHistogramEXT(OpenTK.Graphics.OpenGL.HistogramTargetExt target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResetMinmax", ExactSpelling = true)] - internal extern static void ResetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResetMinmaxEXT", ExactSpelling = true)] - internal extern static void ResetMinmaxEXT(OpenTK.Graphics.OpenGL.MinmaxTargetExt target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResizeBuffersMESA", CharSet = CharSet.Auto)] - internal extern static void ResizeBuffersMESA(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResumeTransformFeedback", ExactSpelling = true)] - internal extern static void ResumeTransformFeedback(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResumeTransformFeedbackNV", ExactSpelling = true)] - internal extern static void ResumeTransformFeedbackNV(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRotated", ExactSpelling = true)] - internal extern static void Rotated(Double angle, Double x, Double y, Double z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRotatef", ExactSpelling = true)] - internal extern static void Rotatef(Single angle, Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRotatexOES", ExactSpelling = true)] - internal extern static void RotatexOES(int angle, int x, int y, int z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleCoverage", ExactSpelling = true)] - internal extern static void SampleCoverage(Single value, bool invert); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleCoverageARB", ExactSpelling = true)] - internal extern static void SampleCoverageARB(Single value, bool invert); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleCoverageOES", ExactSpelling = true)] - internal extern static void SampleCoverageOES(int value, bool invert); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleCoveragexOES", ExactSpelling = true)] - internal extern static void SampleCoveragexOES(int value, bool invert); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleMapATI", ExactSpelling = true)] - internal extern static void SampleMapATI(UInt32 dst, UInt32 interp, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleMaskEXT", ExactSpelling = true)] - internal extern static void SampleMaskEXT(Single value, bool invert); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleMaski", ExactSpelling = true)] - internal extern static void SampleMaski(UInt32 index, UInt32 mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleMaskIndexedNV", ExactSpelling = true)] - internal extern static void SampleMaskIndexedNV(UInt32 index, UInt32 mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleMaskSGIS", ExactSpelling = true)] - internal extern static void SampleMaskSGIS(Single value, bool invert); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplePatternEXT", ExactSpelling = true)] - internal extern static void SamplePatternEXT(OpenTK.Graphics.OpenGL.ExtMultisample pattern); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplePatternSGIS", ExactSpelling = true)] - internal extern static void SamplePatternSGIS(OpenTK.Graphics.OpenGL.SamplePatternSgis pattern); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplerParameterf", ExactSpelling = true)] - internal extern static void SamplerParameterf(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplerParameterfv", ExactSpelling = true)] - internal extern static unsafe void SamplerParameterfv(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Single* param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplerParameteri", ExactSpelling = true)] - internal extern static void SamplerParameteri(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplerParameterIiv", ExactSpelling = true)] - internal extern static unsafe void SamplerParameterIiv(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32* param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplerParameterIuiv", ExactSpelling = true)] - internal extern static unsafe void SamplerParameterIuiv(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, UInt32* param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplerParameteriv", ExactSpelling = true)] - internal extern static unsafe void SamplerParameteriv(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32* param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glScaled", ExactSpelling = true)] - internal extern static void Scaled(Double x, Double y, Double z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glScalef", ExactSpelling = true)] - internal extern static void Scalef(Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glScalexOES", ExactSpelling = true)] - internal extern static void ScalexOES(int x, int y, int z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glScissor", ExactSpelling = true)] - internal extern static void Scissor(Int32 x, Int32 y, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glScissorArrayv", ExactSpelling = true)] - internal extern static unsafe void ScissorArrayv(UInt32 first, Int32 count, Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glScissorIndexed", ExactSpelling = true)] - internal extern static void ScissorIndexed(UInt32 index, Int32 left, Int32 bottom, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glScissorIndexedv", ExactSpelling = true)] - internal extern static unsafe void ScissorIndexedv(UInt32 index, Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3b", ExactSpelling = true)] - internal extern static void SecondaryColor3b(SByte red, SByte green, SByte blue); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3bEXT", ExactSpelling = true)] - internal extern static void SecondaryColor3bEXT(SByte red, SByte green, SByte blue); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3bv", ExactSpelling = true)] - internal extern static unsafe void SecondaryColor3bv(SByte* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3bvEXT", ExactSpelling = true)] - internal extern static unsafe void SecondaryColor3bvEXT(SByte* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3d", ExactSpelling = true)] - internal extern static void SecondaryColor3d(Double red, Double green, Double blue); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3dEXT", ExactSpelling = true)] - internal extern static void SecondaryColor3dEXT(Double red, Double green, Double blue); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3dv", ExactSpelling = true)] - internal extern static unsafe void SecondaryColor3dv(Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3dvEXT", ExactSpelling = true)] - internal extern static unsafe void SecondaryColor3dvEXT(Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3f", ExactSpelling = true)] - internal extern static void SecondaryColor3f(Single red, Single green, Single blue); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3fEXT", ExactSpelling = true)] - internal extern static void SecondaryColor3fEXT(Single red, Single green, Single blue); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3fv", ExactSpelling = true)] - internal extern static unsafe void SecondaryColor3fv(Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3fvEXT", ExactSpelling = true)] - internal extern static unsafe void SecondaryColor3fvEXT(Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3hNV", ExactSpelling = true)] - internal extern static void SecondaryColor3hNV(Half red, Half green, Half blue); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3hvNV", ExactSpelling = true)] - internal extern static unsafe void SecondaryColor3hvNV(Half* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3i", ExactSpelling = true)] - internal extern static void SecondaryColor3i(Int32 red, Int32 green, Int32 blue); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3iEXT", ExactSpelling = true)] - internal extern static void SecondaryColor3iEXT(Int32 red, Int32 green, Int32 blue); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3iv", ExactSpelling = true)] - internal extern static unsafe void SecondaryColor3iv(Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3ivEXT", ExactSpelling = true)] - internal extern static unsafe void SecondaryColor3ivEXT(Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3s", ExactSpelling = true)] - internal extern static void SecondaryColor3s(Int16 red, Int16 green, Int16 blue); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3sEXT", ExactSpelling = true)] - internal extern static void SecondaryColor3sEXT(Int16 red, Int16 green, Int16 blue); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3sv", ExactSpelling = true)] - internal extern static unsafe void SecondaryColor3sv(Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3svEXT", ExactSpelling = true)] - internal extern static unsafe void SecondaryColor3svEXT(Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3ub", ExactSpelling = true)] - internal extern static void SecondaryColor3ub(Byte red, Byte green, Byte blue); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3ubEXT", ExactSpelling = true)] - internal extern static void SecondaryColor3ubEXT(Byte red, Byte green, Byte blue); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3ubv", ExactSpelling = true)] - internal extern static unsafe void SecondaryColor3ubv(Byte* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3ubvEXT", ExactSpelling = true)] - internal extern static unsafe void SecondaryColor3ubvEXT(Byte* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3ui", ExactSpelling = true)] - internal extern static void SecondaryColor3ui(UInt32 red, UInt32 green, UInt32 blue); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3uiEXT", ExactSpelling = true)] - internal extern static void SecondaryColor3uiEXT(UInt32 red, UInt32 green, UInt32 blue); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3uiv", ExactSpelling = true)] - internal extern static unsafe void SecondaryColor3uiv(UInt32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3uivEXT", ExactSpelling = true)] - internal extern static unsafe void SecondaryColor3uivEXT(UInt32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3us", ExactSpelling = true)] - internal extern static void SecondaryColor3us(UInt16 red, UInt16 green, UInt16 blue); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3usEXT", ExactSpelling = true)] - internal extern static void SecondaryColor3usEXT(UInt16 red, UInt16 green, UInt16 blue); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3usv", ExactSpelling = true)] - internal extern static unsafe void SecondaryColor3usv(UInt16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3usvEXT", ExactSpelling = true)] - internal extern static unsafe void SecondaryColor3usvEXT(UInt16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColorFormatNV", ExactSpelling = true)] - internal extern static void SecondaryColorFormatNV(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColorP3ui", ExactSpelling = true)] - internal extern static void SecondaryColorP3ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 color); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColorP3uiv", ExactSpelling = true)] - internal extern static unsafe void SecondaryColorP3uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* color); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColorPointer", ExactSpelling = true)] - internal extern static void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColorPointerEXT", ExactSpelling = true)] - internal extern static void SecondaryColorPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColorPointerListIBM", ExactSpelling = true)] - internal extern static void SecondaryColorPointerListIBM(Int32 size, OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, IntPtr pointer, Int32 ptrstride); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSelectBuffer", ExactSpelling = true)] - internal extern static unsafe void SelectBuffer(Int32 size, [OutAttribute] UInt32* buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSelectPerfMonitorCountersAMD", ExactSpelling = true)] - internal extern static unsafe void SelectPerfMonitorCountersAMD(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32* counterList); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSeparableFilter2D", ExactSpelling = true)] - internal extern static void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, IntPtr column); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSeparableFilter2DEXT", ExactSpelling = true)] - internal extern static void SeparableFilter2DEXT(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, IntPtr column); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSetFenceAPPLE", ExactSpelling = true)] - internal extern static void SetFenceAPPLE(UInt32 fence); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSetFenceNV", ExactSpelling = true)] - internal extern static void SetFenceNV(UInt32 fence, OpenTK.Graphics.OpenGL.NvFence condition); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSetFragmentShaderConstantATI", ExactSpelling = true)] - internal extern static unsafe void SetFragmentShaderConstantATI(UInt32 dst, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSetInvariantEXT", ExactSpelling = true)] - internal extern static void SetInvariantEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, IntPtr addr); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSetLocalConstantEXT", ExactSpelling = true)] - internal extern static void SetLocalConstantEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, IntPtr addr); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSetMultisamplefvAMD", ExactSpelling = true)] - internal extern static unsafe void SetMultisamplefvAMD(OpenTK.Graphics.OpenGL.AmdSamplePositions pname, UInt32 index, Single* val); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShadeModel", ExactSpelling = true)] - internal extern static void ShadeModel(OpenTK.Graphics.OpenGL.ShadingModel mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShaderBinary", ExactSpelling = true)] - internal extern static unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, IntPtr binary, Int32 length); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShaderOp1EXT", ExactSpelling = true)] - internal extern static void ShaderOp1EXT(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShaderOp2EXT", ExactSpelling = true)] - internal extern static void ShaderOp2EXT(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShaderOp3EXT", ExactSpelling = true)] - internal extern static void ShaderOp3EXT(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2, UInt32 arg3); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShaderSource", ExactSpelling = true)] - internal extern static unsafe void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShaderSourceARB", ExactSpelling = true)] - internal extern static unsafe void ShaderSourceARB(UInt32 shaderObj, Int32 count, String[] @string, Int32* length); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShaderStorageBlockBinding", ExactSpelling = true)] - internal extern static void ShaderStorageBlockBinding(UInt32 program, UInt32 storageBlockIndex, UInt32 storageBlockBinding); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSharpenTexFuncSGIS", ExactSpelling = true)] - internal extern static unsafe void SharpenTexFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, Single* points); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSpriteParameterfSGIX", ExactSpelling = true)] - internal extern static void SpriteParameterfSGIX(OpenTK.Graphics.OpenGL.SgixSprite pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSpriteParameterfvSGIX", ExactSpelling = true)] - internal extern static unsafe void SpriteParameterfvSGIX(OpenTK.Graphics.OpenGL.SgixSprite pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSpriteParameteriSGIX", ExactSpelling = true)] - internal extern static void SpriteParameteriSGIX(OpenTK.Graphics.OpenGL.SgixSprite pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSpriteParameterivSGIX", ExactSpelling = true)] - internal extern static unsafe void SpriteParameterivSGIX(OpenTK.Graphics.OpenGL.SgixSprite pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStartInstrumentsSGIX", ExactSpelling = true)] - internal extern static void StartInstrumentsSGIX(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilClearTagEXT", ExactSpelling = true)] - internal extern static void StencilClearTagEXT(Int32 stencilTagBits, UInt32 stencilClearTag); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilFillPathInstancedNV", ExactSpelling = true)] - internal extern static unsafe void StencilFillPathInstancedNV(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilFillPathNV", ExactSpelling = true)] - internal extern static void StencilFillPathNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilFunc", ExactSpelling = true)] - internal extern static void StencilFunc(OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilFuncSeparate", ExactSpelling = true)] - internal extern static void StencilFuncSeparate(OpenTK.Graphics.OpenGL.StencilFace face, OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilFuncSeparateATI", ExactSpelling = true)] - internal extern static void StencilFuncSeparateATI(OpenTK.Graphics.OpenGL.StencilFunction frontfunc, OpenTK.Graphics.OpenGL.StencilFunction backfunc, Int32 @ref, UInt32 mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilMask", ExactSpelling = true)] - internal extern static void StencilMask(UInt32 mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilMaskSeparate", ExactSpelling = true)] - internal extern static void StencilMaskSeparate(OpenTK.Graphics.OpenGL.StencilFace face, UInt32 mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilOp", ExactSpelling = true)] - internal extern static void StencilOp(OpenTK.Graphics.OpenGL.StencilOp fail, OpenTK.Graphics.OpenGL.StencilOp zfail, OpenTK.Graphics.OpenGL.StencilOp zpass); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilOpSeparate", ExactSpelling = true)] - internal extern static void StencilOpSeparate(OpenTK.Graphics.OpenGL.StencilFace face, OpenTK.Graphics.OpenGL.StencilOp sfail, OpenTK.Graphics.OpenGL.StencilOp dpfail, OpenTK.Graphics.OpenGL.StencilOp dppass); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilOpSeparateATI", ExactSpelling = true)] - internal extern static void StencilOpSeparateATI(OpenTK.Graphics.OpenGL.AtiSeparateStencil face, OpenTK.Graphics.OpenGL.StencilOp sfail, OpenTK.Graphics.OpenGL.StencilOp dpfail, OpenTK.Graphics.OpenGL.StencilOp dppass); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilOpValueAMD", ExactSpelling = true)] - internal extern static void StencilOpValueAMD(OpenTK.Graphics.OpenGL.AmdStencilOperationExtended face, UInt32 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilStrokePathInstancedNV", ExactSpelling = true)] - internal extern static unsafe void StencilStrokePathInstancedNV(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, Int32 reference, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilStrokePathNV", ExactSpelling = true)] - internal extern static void StencilStrokePathNV(UInt32 path, Int32 reference, UInt32 mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStopInstrumentsSGIX", ExactSpelling = true)] - internal extern static void StopInstrumentsSGIX(Int32 marker); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStringMarkerGREMEDY", ExactSpelling = true)] - internal extern static void StringMarkerGREMEDY(Int32 len, IntPtr @string); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSwizzleEXT", ExactSpelling = true)] - internal extern static void SwizzleEXT(UInt32 res, UInt32 @in, OpenTK.Graphics.OpenGL.ExtVertexShader outX, OpenTK.Graphics.OpenGL.ExtVertexShader outY, OpenTK.Graphics.OpenGL.ExtVertexShader outZ, OpenTK.Graphics.OpenGL.ExtVertexShader outW); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSyncTextureINTEL", ExactSpelling = true)] - internal extern static void SyncTextureINTEL(UInt32 texture); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTagSampleBufferSGIX", ExactSpelling = true)] - internal extern static void TagSampleBufferSGIX(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTangent3bEXT", ExactSpelling = true)] - internal extern static void Tangent3bEXT(SByte tx, SByte ty, SByte tz); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTangent3bvEXT", ExactSpelling = true)] - internal extern static unsafe void Tangent3bvEXT(SByte* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTangent3dEXT", ExactSpelling = true)] - internal extern static void Tangent3dEXT(Double tx, Double ty, Double tz); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTangent3dvEXT", ExactSpelling = true)] - internal extern static unsafe void Tangent3dvEXT(Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTangent3fEXT", ExactSpelling = true)] - internal extern static void Tangent3fEXT(Single tx, Single ty, Single tz); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTangent3fvEXT", ExactSpelling = true)] - internal extern static unsafe void Tangent3fvEXT(Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTangent3iEXT", ExactSpelling = true)] - internal extern static void Tangent3iEXT(Int32 tx, Int32 ty, Int32 tz); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTangent3ivEXT", ExactSpelling = true)] - internal extern static unsafe void Tangent3ivEXT(Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTangent3sEXT", ExactSpelling = true)] - internal extern static void Tangent3sEXT(Int16 tx, Int16 ty, Int16 tz); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTangent3svEXT", ExactSpelling = true)] - internal extern static unsafe void Tangent3svEXT(Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTangentPointerEXT", ExactSpelling = true)] - internal extern static void TangentPointerEXT(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTbufferMask3DFX", ExactSpelling = true)] - internal extern static void TbufferMask3DFX(UInt32 mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTessellationFactorAMD", ExactSpelling = true)] - internal extern static void TessellationFactorAMD(Single factor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTessellationModeAMD", ExactSpelling = true)] - internal extern static void TessellationModeAMD(OpenTK.Graphics.OpenGL.AmdVertexShaderTessellator mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTestFenceAPPLE", ExactSpelling = true)] - internal extern static bool TestFenceAPPLE(UInt32 fence); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTestFenceNV", ExactSpelling = true)] - internal extern static bool TestFenceNV(UInt32 fence); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTestObjectAPPLE", ExactSpelling = true)] - internal extern static bool TestObjectAPPLE(OpenTK.Graphics.OpenGL.AppleFence @object, UInt32 name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexBuffer", ExactSpelling = true)] - internal extern static void TexBuffer(OpenTK.Graphics.OpenGL.TextureBufferTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, UInt32 buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexBufferARB", ExactSpelling = true)] - internal extern static void TexBufferARB(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ArbTextureBufferObject internalformat, UInt32 buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexBufferEXT", ExactSpelling = true)] - internal extern static void TexBufferEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtTextureBufferObject internalformat, UInt32 buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexBufferRange", ExactSpelling = true)] - internal extern static void TexBufferRange(OpenTK.Graphics.OpenGL.TextureBufferTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, UInt32 buffer, IntPtr offset, IntPtr size); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexBumpParameterfvATI", ExactSpelling = true)] - internal extern static unsafe void TexBumpParameterfvATI(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, Single* param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexBumpParameterivATI", ExactSpelling = true)] - internal extern static unsafe void TexBumpParameterivATI(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, Int32* param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1bOES", ExactSpelling = true)] - internal extern static void TexCoord1bOES(SByte s); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1bvOES", ExactSpelling = true)] - internal extern static unsafe void TexCoord1bvOES(SByte* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1d", ExactSpelling = true)] - internal extern static void TexCoord1d(Double s); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1dv", ExactSpelling = true)] - internal extern static unsafe void TexCoord1dv(Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1f", ExactSpelling = true)] - internal extern static void TexCoord1f(Single s); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1fv", ExactSpelling = true)] - internal extern static unsafe void TexCoord1fv(Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1hNV", ExactSpelling = true)] - internal extern static void TexCoord1hNV(Half s); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1hvNV", ExactSpelling = true)] - internal extern static unsafe void TexCoord1hvNV(Half* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1i", ExactSpelling = true)] - internal extern static void TexCoord1i(Int32 s); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1iv", ExactSpelling = true)] - internal extern static unsafe void TexCoord1iv(Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1s", ExactSpelling = true)] - internal extern static void TexCoord1s(Int16 s); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1sv", ExactSpelling = true)] - internal extern static unsafe void TexCoord1sv(Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1xOES", ExactSpelling = true)] - internal extern static void TexCoord1xOES(int s); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1xvOES", ExactSpelling = true)] - internal extern static unsafe void TexCoord1xvOES(int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2bOES", ExactSpelling = true)] - internal extern static void TexCoord2bOES(SByte s, SByte t); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2bvOES", ExactSpelling = true)] - internal extern static unsafe void TexCoord2bvOES(SByte* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2d", ExactSpelling = true)] - internal extern static void TexCoord2d(Double s, Double t); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2dv", ExactSpelling = true)] - internal extern static unsafe void TexCoord2dv(Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2f", ExactSpelling = true)] - internal extern static void TexCoord2f(Single s, Single t); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2fColor3fVertex3fSUN", ExactSpelling = true)] - internal extern static void TexCoord2fColor3fVertex3fSUN(Single s, Single t, Single r, Single g, Single b, Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2fColor3fVertex3fvSUN", ExactSpelling = true)] - internal extern static unsafe void TexCoord2fColor3fVertex3fvSUN(Single* tc, Single* c, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2fColor4fNormal3fVertex3fSUN", ExactSpelling = true)] - internal extern static void TexCoord2fColor4fNormal3fVertex3fSUN(Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2fColor4fNormal3fVertex3fvSUN", ExactSpelling = true)] - internal extern static unsafe void TexCoord2fColor4fNormal3fVertex3fvSUN(Single* tc, Single* c, Single* n, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2fColor4ubVertex3fSUN", ExactSpelling = true)] - internal extern static void TexCoord2fColor4ubVertex3fSUN(Single s, Single t, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2fColor4ubVertex3fvSUN", ExactSpelling = true)] - internal extern static unsafe void TexCoord2fColor4ubVertex3fvSUN(Single* tc, Byte* c, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2fNormal3fVertex3fSUN", ExactSpelling = true)] - internal extern static void TexCoord2fNormal3fVertex3fSUN(Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2fNormal3fVertex3fvSUN", ExactSpelling = true)] - internal extern static unsafe void TexCoord2fNormal3fVertex3fvSUN(Single* tc, Single* n, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2fv", ExactSpelling = true)] - internal extern static unsafe void TexCoord2fv(Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2fVertex3fSUN", ExactSpelling = true)] - internal extern static void TexCoord2fVertex3fSUN(Single s, Single t, Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2fVertex3fvSUN", ExactSpelling = true)] - internal extern static unsafe void TexCoord2fVertex3fvSUN(Single* tc, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2hNV", ExactSpelling = true)] - internal extern static void TexCoord2hNV(Half s, Half t); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2hvNV", ExactSpelling = true)] - internal extern static unsafe void TexCoord2hvNV(Half* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2i", ExactSpelling = true)] - internal extern static void TexCoord2i(Int32 s, Int32 t); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2iv", ExactSpelling = true)] - internal extern static unsafe void TexCoord2iv(Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2s", ExactSpelling = true)] - internal extern static void TexCoord2s(Int16 s, Int16 t); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2sv", ExactSpelling = true)] - internal extern static unsafe void TexCoord2sv(Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2xOES", ExactSpelling = true)] - internal extern static void TexCoord2xOES(int s, int t); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2xvOES", ExactSpelling = true)] - internal extern static unsafe void TexCoord2xvOES(int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3bOES", ExactSpelling = true)] - internal extern static void TexCoord3bOES(SByte s, SByte t, SByte r); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3bvOES", ExactSpelling = true)] - internal extern static unsafe void TexCoord3bvOES(SByte* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3d", ExactSpelling = true)] - internal extern static void TexCoord3d(Double s, Double t, Double r); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3dv", ExactSpelling = true)] - internal extern static unsafe void TexCoord3dv(Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3f", ExactSpelling = true)] - internal extern static void TexCoord3f(Single s, Single t, Single r); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3fv", ExactSpelling = true)] - internal extern static unsafe void TexCoord3fv(Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3hNV", ExactSpelling = true)] - internal extern static void TexCoord3hNV(Half s, Half t, Half r); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3hvNV", ExactSpelling = true)] - internal extern static unsafe void TexCoord3hvNV(Half* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3i", ExactSpelling = true)] - internal extern static void TexCoord3i(Int32 s, Int32 t, Int32 r); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3iv", ExactSpelling = true)] - internal extern static unsafe void TexCoord3iv(Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3s", ExactSpelling = true)] - internal extern static void TexCoord3s(Int16 s, Int16 t, Int16 r); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3sv", ExactSpelling = true)] - internal extern static unsafe void TexCoord3sv(Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3xOES", ExactSpelling = true)] - internal extern static void TexCoord3xOES(int s, int t, int r); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3xvOES", ExactSpelling = true)] - internal extern static unsafe void TexCoord3xvOES(int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4bOES", ExactSpelling = true)] - internal extern static void TexCoord4bOES(SByte s, SByte t, SByte r, SByte q); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4bvOES", ExactSpelling = true)] - internal extern static unsafe void TexCoord4bvOES(SByte* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4d", ExactSpelling = true)] - internal extern static void TexCoord4d(Double s, Double t, Double r, Double q); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4dv", ExactSpelling = true)] - internal extern static unsafe void TexCoord4dv(Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4f", ExactSpelling = true)] - internal extern static void TexCoord4f(Single s, Single t, Single r, Single q); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fSUN", ExactSpelling = true)] - internal extern static void TexCoord4fColor4fNormal3fVertex4fSUN(Single s, Single t, Single p, Single q, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z, Single w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fvSUN", ExactSpelling = true)] - internal extern static unsafe void TexCoord4fColor4fNormal3fVertex4fvSUN(Single* tc, Single* c, Single* n, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4fv", ExactSpelling = true)] - internal extern static unsafe void TexCoord4fv(Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4fVertex4fSUN", ExactSpelling = true)] - internal extern static void TexCoord4fVertex4fSUN(Single s, Single t, Single p, Single q, Single x, Single y, Single z, Single w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4fVertex4fvSUN", ExactSpelling = true)] - internal extern static unsafe void TexCoord4fVertex4fvSUN(Single* tc, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4hNV", ExactSpelling = true)] - internal extern static void TexCoord4hNV(Half s, Half t, Half r, Half q); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4hvNV", ExactSpelling = true)] - internal extern static unsafe void TexCoord4hvNV(Half* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4i", ExactSpelling = true)] - internal extern static void TexCoord4i(Int32 s, Int32 t, Int32 r, Int32 q); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4iv", ExactSpelling = true)] - internal extern static unsafe void TexCoord4iv(Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4s", ExactSpelling = true)] - internal extern static void TexCoord4s(Int16 s, Int16 t, Int16 r, Int16 q); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4sv", ExactSpelling = true)] - internal extern static unsafe void TexCoord4sv(Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4xOES", ExactSpelling = true)] - internal extern static void TexCoord4xOES(int s, int t, int r, int q); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4xvOES", ExactSpelling = true)] - internal extern static unsafe void TexCoord4xvOES(int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordFormatNV", ExactSpelling = true)] - internal extern static void TexCoordFormatNV(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordP1ui", ExactSpelling = true)] - internal extern static void TexCoordP1ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordP1uiv", ExactSpelling = true)] - internal extern static unsafe void TexCoordP1uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordP2ui", ExactSpelling = true)] - internal extern static void TexCoordP2ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordP2uiv", ExactSpelling = true)] - internal extern static unsafe void TexCoordP2uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordP3ui", ExactSpelling = true)] - internal extern static void TexCoordP3ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordP3uiv", ExactSpelling = true)] - internal extern static unsafe void TexCoordP3uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordP4ui", ExactSpelling = true)] - internal extern static void TexCoordP4ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordP4uiv", ExactSpelling = true)] - internal extern static unsafe void TexCoordP4uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordPointer", ExactSpelling = true)] - internal extern static void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordPointerEXT", ExactSpelling = true)] - internal extern static void TexCoordPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, Int32 count, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordPointerListIBM", ExactSpelling = true)] - internal extern static void TexCoordPointerListIBM(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordPointervINTEL", ExactSpelling = true)] - internal extern static void TexCoordPointervINTEL(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvf", ExactSpelling = true)] - internal extern static void TexEnvf(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvfv", ExactSpelling = true)] - internal extern static unsafe void TexEnvfv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvi", ExactSpelling = true)] - internal extern static void TexEnvi(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnviv", ExactSpelling = true)] - internal extern static unsafe void TexEnviv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvxOES", ExactSpelling = true)] - internal extern static void TexEnvxOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvxvOES", ExactSpelling = true)] - internal extern static unsafe void TexEnvxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexFilterFuncSGIS", ExactSpelling = true)] - internal extern static unsafe void TexFilterFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, Int32 n, Single* weights); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGend", ExactSpelling = true)] - internal extern static void TexGend(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGendv", ExactSpelling = true)] - internal extern static unsafe void TexGendv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGenf", ExactSpelling = true)] - internal extern static void TexGenf(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGenfv", ExactSpelling = true)] - internal extern static unsafe void TexGenfv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGeni", ExactSpelling = true)] - internal extern static void TexGeni(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGeniv", ExactSpelling = true)] - internal extern static unsafe void TexGeniv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGenxOES", ExactSpelling = true)] - internal extern static void TexGenxOES(OpenTK.Graphics.OpenGL.OesFixedPoint coord, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGenxvOES", ExactSpelling = true)] - internal extern static unsafe void TexGenxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint coord, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage1D", ExactSpelling = true)] - internal extern static void TexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage2D", ExactSpelling = true)] - internal extern static void TexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage2DMultisample", ExactSpelling = true)] - internal extern static void TexImage2DMultisample(OpenTK.Graphics.OpenGL.TextureTargetMultisample target, Int32 samples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, bool fixedsamplelocations); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage2DMultisampleCoverageNV", ExactSpelling = true)] - internal extern static void TexImage2DMultisampleCoverageNV(OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage3D", ExactSpelling = true)] - internal extern static void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage3DEXT", ExactSpelling = true)] - internal extern static void TexImage3DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage3DMultisample", ExactSpelling = true)] - internal extern static void TexImage3DMultisample(OpenTK.Graphics.OpenGL.TextureTargetMultisample target, Int32 samples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage3DMultisampleCoverageNV", ExactSpelling = true)] - internal extern static void TexImage3DMultisampleCoverageNV(OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage4DSGIS", ExactSpelling = true)] - internal extern static void TexImage4DSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexPageCommitmentARB", ExactSpelling = true)] - internal extern static void TexPageCommitmentARB(OpenTK.Graphics.OpenGL.ArbSparseTexture target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, bool resident); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterf", ExactSpelling = true)] - internal extern static void TexParameterf(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterfv", ExactSpelling = true)] - internal extern static unsafe void TexParameterfv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameteri", ExactSpelling = true)] - internal extern static void TexParameteri(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterIiv", ExactSpelling = true)] - internal extern static unsafe void TexParameterIiv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterIivEXT", ExactSpelling = true)] - internal extern static unsafe void TexParameterIivEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterIuiv", ExactSpelling = true)] - internal extern static unsafe void TexParameterIuiv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterIuivEXT", ExactSpelling = true)] - internal extern static unsafe void TexParameterIuivEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameteriv", ExactSpelling = true)] - internal extern static unsafe void TexParameteriv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterxOES", ExactSpelling = true)] - internal extern static void TexParameterxOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterxvOES", ExactSpelling = true)] - internal extern static unsafe void TexParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexRenderbufferNV", ExactSpelling = true)] - internal extern static void TexRenderbufferNV(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage1D", ExactSpelling = true)] - internal extern static void TexStorage1D(OpenTK.Graphics.OpenGL.TextureTarget1d target, Int32 levels, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 width); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage2D", ExactSpelling = true)] - internal extern static void TexStorage2D(OpenTK.Graphics.OpenGL.TextureTarget2d target, Int32 levels, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage2DMultisample", ExactSpelling = true)] - internal extern static void TexStorage2DMultisample(OpenTK.Graphics.OpenGL.TextureTargetMultisample2d target, Int32 samples, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 width, Int32 height, bool fixedsamplelocations); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage3D", ExactSpelling = true)] - internal extern static void TexStorage3D(OpenTK.Graphics.OpenGL.TextureTarget3d target, Int32 levels, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage3DMultisample", ExactSpelling = true)] - internal extern static void TexStorage3DMultisample(OpenTK.Graphics.OpenGL.TextureTargetMultisample3d target, Int32 samples, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorageSparseAMD", ExactSpelling = true)] - internal extern static void TexStorageSparseAMD(OpenTK.Graphics.OpenGL.AmdSparseTexture target, OpenTK.Graphics.OpenGL.AmdSparseTexture internalFormat, Int32 width, Int32 height, Int32 depth, Int32 layers, UInt32 flags); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage1D", ExactSpelling = true)] - internal extern static void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage1DEXT", ExactSpelling = true)] - internal extern static void TexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage2D", ExactSpelling = true)] - internal extern static void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage2DEXT", ExactSpelling = true)] - internal extern static void TexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage3D", ExactSpelling = true)] - internal extern static void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage3DEXT", ExactSpelling = true)] - internal extern static void TexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage4DSGIS", ExactSpelling = true)] - internal extern static void TexSubImage4DSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureBarrierNV", ExactSpelling = true)] - internal extern static void TextureBarrierNV(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureBufferEXT", ExactSpelling = true)] - internal extern static void TextureBufferEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, UInt32 buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureBufferRangeEXT", ExactSpelling = true)] - internal extern static void TextureBufferRangeEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, UInt32 buffer, IntPtr offset, IntPtr size); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureColorMaskSGIS", ExactSpelling = true)] - internal extern static void TextureColorMaskSGIS(bool red, bool green, bool blue, bool alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureImage1DEXT", ExactSpelling = true)] - internal extern static void TextureImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureImage2DEXT", ExactSpelling = true)] - internal extern static void TextureImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureImage2DMultisampleCoverageNV", ExactSpelling = true)] - internal extern static void TextureImage2DMultisampleCoverageNV(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureImage2DMultisampleNV", ExactSpelling = true)] - internal extern static void TextureImage2DMultisampleNV(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 samples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureImage3DEXT", ExactSpelling = true)] - internal extern static void TextureImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureImage3DMultisampleCoverageNV", ExactSpelling = true)] - internal extern static void TextureImage3DMultisampleCoverageNV(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureImage3DMultisampleNV", ExactSpelling = true)] - internal extern static void TextureImage3DMultisampleNV(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 samples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureLightEXT", ExactSpelling = true)] - internal extern static void TextureLightEXT(OpenTK.Graphics.OpenGL.ExtLightTexture pname); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureMaterialEXT", ExactSpelling = true)] - internal extern static void TextureMaterialEXT(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureNormalEXT", ExactSpelling = true)] - internal extern static void TextureNormalEXT(OpenTK.Graphics.OpenGL.ExtTexturePerturbNormal mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexturePageCommitmentEXT", ExactSpelling = true)] - internal extern static void TexturePageCommitmentEXT(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, bool resident); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureParameterfEXT", ExactSpelling = true)] - internal extern static void TextureParameterfEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void TextureParameterfvEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureParameteriEXT", ExactSpelling = true)] - internal extern static void TextureParameteriEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureParameterIivEXT", ExactSpelling = true)] - internal extern static unsafe void TextureParameterIivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureParameterIuivEXT", ExactSpelling = true)] - internal extern static unsafe void TextureParameterIuivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void TextureParameterivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureRangeAPPLE", ExactSpelling = true)] - internal extern static void TextureRangeAPPLE(OpenTK.Graphics.OpenGL.AppleTextureRange target, Int32 length, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureRenderbufferEXT", ExactSpelling = true)] - internal extern static void TextureRenderbufferEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureStorage1DEXT", ExactSpelling = true)] - internal extern static void TextureStorage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 levels, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureStorage2DEXT", ExactSpelling = true)] - internal extern static void TextureStorage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 levels, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureStorage2DMultisampleEXT", ExactSpelling = true)] - internal extern static void TextureStorage2DMultisampleEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 samples, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, bool fixedsamplelocations); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureStorage3DEXT", ExactSpelling = true)] - internal extern static void TextureStorage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 levels, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureStorage3DMultisampleEXT", ExactSpelling = true)] - internal extern static void TextureStorage3DMultisampleEXT(UInt32 texture, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 samples, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureStorageSparseAMD", ExactSpelling = true)] - internal extern static void TextureStorageSparseAMD(UInt32 texture, OpenTK.Graphics.OpenGL.AmdSparseTexture target, OpenTK.Graphics.OpenGL.AmdSparseTexture internalFormat, Int32 width, Int32 height, Int32 depth, Int32 layers, UInt32 flags); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureSubImage1DEXT", ExactSpelling = true)] - internal extern static void TextureSubImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureSubImage2DEXT", ExactSpelling = true)] - internal extern static void TextureSubImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureSubImage3DEXT", ExactSpelling = true)] - internal extern static void TextureSubImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureView", ExactSpelling = true)] - internal extern static void TextureView(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 origtexture, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, UInt32 minlevel, UInt32 numlevels, UInt32 minlayer, UInt32 numlayers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTrackMatrixNV", ExactSpelling = true)] - internal extern static void TrackMatrixNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.OpenGL.NvVertexProgram matrix, OpenTK.Graphics.OpenGL.NvVertexProgram transform); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTransformFeedbackAttribsNV", ExactSpelling = true)] - internal extern static unsafe void TransformFeedbackAttribsNV(UInt32 count, Int32* attribs, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTransformFeedbackStreamAttribsNV", ExactSpelling = true)] - internal extern static unsafe void TransformFeedbackStreamAttribsNV(Int32 count, Int32* attribs, Int32 nbuffers, Int32* bufstreams, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTransformFeedbackVaryings", ExactSpelling = true)] - internal extern static void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL.TransformFeedbackMode bufferMode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTransformFeedbackVaryingsEXT", ExactSpelling = true)] - internal extern static void TransformFeedbackVaryingsEXT(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL.ExtTransformFeedback bufferMode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTransformFeedbackVaryingsNV", ExactSpelling = true)] - internal extern static unsafe void TransformFeedbackVaryingsNV(UInt32 program, Int32 count, Int32* locations, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTransformPathNV", ExactSpelling = true)] - internal extern static unsafe void TransformPathNV(UInt32 resultPath, UInt32 srcPath, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTranslated", ExactSpelling = true)] - internal extern static void Translated(Double x, Double y, Double z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTranslatef", ExactSpelling = true)] - internal extern static void Translatef(Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTranslatexOES", ExactSpelling = true)] - internal extern static void TranslatexOES(int x, int y, int z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1d", ExactSpelling = true)] - internal extern static void Uniform1d(Int32 location, Double x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1dv", ExactSpelling = true)] - internal extern static unsafe void Uniform1dv(Int32 location, Int32 count, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1f", ExactSpelling = true)] - internal extern static void Uniform1f(Int32 location, Single v0); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1fARB", ExactSpelling = true)] - internal extern static void Uniform1fARB(Int32 location, Single v0); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1fv", ExactSpelling = true)] - internal extern static unsafe void Uniform1fv(Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1fvARB", ExactSpelling = true)] - internal extern static unsafe void Uniform1fvARB(Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1i", ExactSpelling = true)] - internal extern static void Uniform1i(Int32 location, Int32 v0); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1i64NV", ExactSpelling = true)] - internal extern static void Uniform1i64NV(Int32 location, Int64 x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1i64vNV", ExactSpelling = true)] - internal extern static unsafe void Uniform1i64vNV(Int32 location, Int32 count, Int64* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1iARB", ExactSpelling = true)] - internal extern static void Uniform1iARB(Int32 location, Int32 v0); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1iv", ExactSpelling = true)] - internal extern static unsafe void Uniform1iv(Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1ivARB", ExactSpelling = true)] - internal extern static unsafe void Uniform1ivARB(Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1ui", ExactSpelling = true)] - internal extern static void Uniform1ui(Int32 location, UInt32 v0); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1ui64NV", ExactSpelling = true)] - internal extern static void Uniform1ui64NV(Int32 location, UInt64 x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1ui64vNV", ExactSpelling = true)] - internal extern static unsafe void Uniform1ui64vNV(Int32 location, Int32 count, UInt64* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1uiEXT", ExactSpelling = true)] - internal extern static void Uniform1uiEXT(Int32 location, UInt32 v0); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1uiv", ExactSpelling = true)] - internal extern static unsafe void Uniform1uiv(Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1uivEXT", ExactSpelling = true)] - internal extern static unsafe void Uniform1uivEXT(Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2d", ExactSpelling = true)] - internal extern static void Uniform2d(Int32 location, Double x, Double y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2dv", ExactSpelling = true)] - internal extern static unsafe void Uniform2dv(Int32 location, Int32 count, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2f", ExactSpelling = true)] - internal extern static void Uniform2f(Int32 location, Single v0, Single v1); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2fARB", ExactSpelling = true)] - internal extern static void Uniform2fARB(Int32 location, Single v0, Single v1); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2fv", ExactSpelling = true)] - internal extern static unsafe void Uniform2fv(Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2fvARB", ExactSpelling = true)] - internal extern static unsafe void Uniform2fvARB(Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2i", ExactSpelling = true)] - internal extern static void Uniform2i(Int32 location, Int32 v0, Int32 v1); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2i64NV", ExactSpelling = true)] - internal extern static void Uniform2i64NV(Int32 location, Int64 x, Int64 y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2i64vNV", ExactSpelling = true)] - internal extern static unsafe void Uniform2i64vNV(Int32 location, Int32 count, Int64* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2iARB", ExactSpelling = true)] - internal extern static void Uniform2iARB(Int32 location, Int32 v0, Int32 v1); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2iv", ExactSpelling = true)] - internal extern static unsafe void Uniform2iv(Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2ivARB", ExactSpelling = true)] - internal extern static unsafe void Uniform2ivARB(Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2ui", ExactSpelling = true)] - internal extern static void Uniform2ui(Int32 location, UInt32 v0, UInt32 v1); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2ui64NV", ExactSpelling = true)] - internal extern static void Uniform2ui64NV(Int32 location, UInt64 x, UInt64 y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2ui64vNV", ExactSpelling = true)] - internal extern static unsafe void Uniform2ui64vNV(Int32 location, Int32 count, UInt64* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2uiEXT", ExactSpelling = true)] - internal extern static void Uniform2uiEXT(Int32 location, UInt32 v0, UInt32 v1); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2uiv", ExactSpelling = true)] - internal extern static unsafe void Uniform2uiv(Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2uivEXT", ExactSpelling = true)] - internal extern static unsafe void Uniform2uivEXT(Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3d", ExactSpelling = true)] - internal extern static void Uniform3d(Int32 location, Double x, Double y, Double z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3dv", ExactSpelling = true)] - internal extern static unsafe void Uniform3dv(Int32 location, Int32 count, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3f", ExactSpelling = true)] - internal extern static void Uniform3f(Int32 location, Single v0, Single v1, Single v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3fARB", ExactSpelling = true)] - internal extern static void Uniform3fARB(Int32 location, Single v0, Single v1, Single v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3fv", ExactSpelling = true)] - internal extern static unsafe void Uniform3fv(Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3fvARB", ExactSpelling = true)] - internal extern static unsafe void Uniform3fvARB(Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3i", ExactSpelling = true)] - internal extern static void Uniform3i(Int32 location, Int32 v0, Int32 v1, Int32 v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3i64NV", ExactSpelling = true)] - internal extern static void Uniform3i64NV(Int32 location, Int64 x, Int64 y, Int64 z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3i64vNV", ExactSpelling = true)] - internal extern static unsafe void Uniform3i64vNV(Int32 location, Int32 count, Int64* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3iARB", ExactSpelling = true)] - internal extern static void Uniform3iARB(Int32 location, Int32 v0, Int32 v1, Int32 v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3iv", ExactSpelling = true)] - internal extern static unsafe void Uniform3iv(Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3ivARB", ExactSpelling = true)] - internal extern static unsafe void Uniform3ivARB(Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3ui", ExactSpelling = true)] - internal extern static void Uniform3ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3ui64NV", ExactSpelling = true)] - internal extern static void Uniform3ui64NV(Int32 location, UInt64 x, UInt64 y, UInt64 z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3ui64vNV", ExactSpelling = true)] - internal extern static unsafe void Uniform3ui64vNV(Int32 location, Int32 count, UInt64* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3uiEXT", ExactSpelling = true)] - internal extern static void Uniform3uiEXT(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3uiv", ExactSpelling = true)] - internal extern static unsafe void Uniform3uiv(Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3uivEXT", ExactSpelling = true)] - internal extern static unsafe void Uniform3uivEXT(Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4d", ExactSpelling = true)] - internal extern static void Uniform4d(Int32 location, Double x, Double y, Double z, Double w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4dv", ExactSpelling = true)] - internal extern static unsafe void Uniform4dv(Int32 location, Int32 count, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4f", ExactSpelling = true)] - internal extern static void Uniform4f(Int32 location, Single v0, Single v1, Single v2, Single v3); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4fARB", ExactSpelling = true)] - internal extern static void Uniform4fARB(Int32 location, Single v0, Single v1, Single v2, Single v3); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4fv", ExactSpelling = true)] - internal extern static unsafe void Uniform4fv(Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4fvARB", ExactSpelling = true)] - internal extern static unsafe void Uniform4fvARB(Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4i", ExactSpelling = true)] - internal extern static void Uniform4i(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4i64NV", ExactSpelling = true)] - internal extern static void Uniform4i64NV(Int32 location, Int64 x, Int64 y, Int64 z, Int64 w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4i64vNV", ExactSpelling = true)] - internal extern static unsafe void Uniform4i64vNV(Int32 location, Int32 count, Int64* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4iARB", ExactSpelling = true)] - internal extern static void Uniform4iARB(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4iv", ExactSpelling = true)] - internal extern static unsafe void Uniform4iv(Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4ivARB", ExactSpelling = true)] - internal extern static unsafe void Uniform4ivARB(Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4ui", ExactSpelling = true)] - internal extern static void Uniform4ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4ui64NV", ExactSpelling = true)] - internal extern static void Uniform4ui64NV(Int32 location, UInt64 x, UInt64 y, UInt64 z, UInt64 w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4ui64vNV", ExactSpelling = true)] - internal extern static unsafe void Uniform4ui64vNV(Int32 location, Int32 count, UInt64* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4uiEXT", ExactSpelling = true)] - internal extern static void Uniform4uiEXT(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4uiv", ExactSpelling = true)] - internal extern static unsafe void Uniform4uiv(Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4uivEXT", ExactSpelling = true)] - internal extern static unsafe void Uniform4uivEXT(Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformBlockBinding", ExactSpelling = true)] - internal extern static void UniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformBufferEXT", ExactSpelling = true)] - internal extern static void UniformBufferEXT(UInt32 program, Int32 location, UInt32 buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformHandleui64ARB", ExactSpelling = true)] - internal extern static void UniformHandleui64ARB(Int32 location, UInt64 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformHandleui64NV", ExactSpelling = true)] - internal extern static void UniformHandleui64NV(Int32 location, UInt64 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformHandleui64vARB", ExactSpelling = true)] - internal extern static unsafe void UniformHandleui64vARB(Int32 location, Int32 count, UInt64* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformHandleui64vNV", ExactSpelling = true)] - internal extern static unsafe void UniformHandleui64vNV(Int32 location, Int32 count, UInt64* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2dv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix2dv(Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2fv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix2fv(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2fvARB", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix2fvARB(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2x3dv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix2x3dv(Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2x3fv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix2x3fv(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2x4dv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix2x4dv(Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2x4fv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix2x4fv(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3dv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix3dv(Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3fv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix3fv(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3fvARB", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix3fvARB(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3x2dv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix3x2dv(Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3x2fv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix3x2fv(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3x4dv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix3x4dv(Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3x4fv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix3x4fv(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4dv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix4dv(Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4fv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix4fv(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4fvARB", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix4fvARB(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4x2dv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix4x2dv(Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4x2fv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix4x2fv(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4x3dv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix4x3dv(Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4x3fv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix4x3fv(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformSubroutinesuiv", ExactSpelling = true)] - internal extern static unsafe void UniformSubroutinesuiv(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 count, UInt32* indices); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformui64NV", ExactSpelling = true)] - internal extern static void Uniformui64NV(Int32 location, UInt64 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformui64vNV", ExactSpelling = true)] - internal extern static unsafe void Uniformui64vNV(Int32 location, Int32 count, UInt64* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUnlockArraysEXT", ExactSpelling = true)] - internal extern static void UnlockArraysEXT(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUnmapBuffer", ExactSpelling = true)] - internal extern static bool UnmapBuffer(OpenTK.Graphics.OpenGL.BufferTarget target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUnmapBufferARB", ExactSpelling = true)] - internal extern static bool UnmapBufferARB(OpenTK.Graphics.OpenGL.BufferTargetArb target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUnmapNamedBufferEXT", ExactSpelling = true)] - internal extern static bool UnmapNamedBufferEXT(UInt32 buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUnmapObjectBufferATI", ExactSpelling = true)] - internal extern static void UnmapObjectBufferATI(UInt32 buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUnmapTexture2DINTEL", ExactSpelling = true)] - internal extern static void UnmapTexture2DINTEL(UInt32 texture, Int32 level); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUpdateObjectBufferATI", ExactSpelling = true)] - internal extern static void UpdateObjectBufferATI(UInt32 buffer, UInt32 offset, Int32 size, IntPtr pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUseProgram", ExactSpelling = true)] - internal extern static void UseProgram(UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUseProgramObjectARB", ExactSpelling = true)] - internal extern static void UseProgramObjectARB(UInt32 programObj); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUseProgramStages", ExactSpelling = true)] - internal extern static void UseProgramStages(UInt32 pipeline, OpenTK.Graphics.OpenGL.ProgramStageMask stages, UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUseProgramStagesEXT", ExactSpelling = true)] - internal extern static void UseProgramStagesEXT(UInt32 pipeline, UInt32 stages, UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUseShaderProgramEXT", ExactSpelling = true)] - internal extern static void UseShaderProgramEXT(OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects type, UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glValidateProgram", ExactSpelling = true)] - internal extern static void ValidateProgram(UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glValidateProgramARB", ExactSpelling = true)] - internal extern static void ValidateProgramARB(UInt32 programObj); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glValidateProgramPipeline", ExactSpelling = true)] - internal extern static void ValidateProgramPipeline(UInt32 pipeline); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glValidateProgramPipelineEXT", ExactSpelling = true)] - internal extern static void ValidateProgramPipelineEXT(UInt32 pipeline); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVariantArrayObjectATI", ExactSpelling = true)] - internal extern static void VariantArrayObjectATI(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVariantbvEXT", ExactSpelling = true)] - internal extern static unsafe void VariantbvEXT(UInt32 id, SByte* addr); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVariantdvEXT", ExactSpelling = true)] - internal extern static unsafe void VariantdvEXT(UInt32 id, Double* addr); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVariantfvEXT", ExactSpelling = true)] - internal extern static unsafe void VariantfvEXT(UInt32 id, Single* addr); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVariantivEXT", ExactSpelling = true)] - internal extern static unsafe void VariantivEXT(UInt32 id, Int32* addr); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVariantPointerEXT", ExactSpelling = true)] - internal extern static void VariantPointerEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, UInt32 stride, IntPtr addr); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVariantsvEXT", ExactSpelling = true)] - internal extern static unsafe void VariantsvEXT(UInt32 id, Int16* addr); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVariantubvEXT", ExactSpelling = true)] - internal extern static unsafe void VariantubvEXT(UInt32 id, Byte* addr); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVariantuivEXT", ExactSpelling = true)] - internal extern static unsafe void VariantuivEXT(UInt32 id, UInt32* addr); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVariantusvEXT", ExactSpelling = true)] - internal extern static unsafe void VariantusvEXT(UInt32 id, UInt16* addr); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVDPAUFiniNV", ExactSpelling = true)] - internal extern static void VDPAUFiniNV(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVDPAUGetSurfaceivNV", ExactSpelling = true)] - internal extern static unsafe void VDPAUGetSurfaceivNV(IntPtr surface, OpenTK.Graphics.OpenGL.NvVdpauInterop pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVDPAUInitNV", ExactSpelling = true)] - internal extern static void VDPAUInitNV(IntPtr vdpDevice, IntPtr getProcAddress); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVDPAUIsSurfaceNV", ExactSpelling = true)] - internal extern static void VDPAUIsSurfaceNV(IntPtr surface); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVDPAUMapSurfacesNV", ExactSpelling = true)] - internal extern static unsafe void VDPAUMapSurfacesNV(Int32 numSurfaces, IntPtr* surfaces); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVDPAURegisterOutputSurfaceNV", ExactSpelling = true)] - internal extern static unsafe IntPtr VDPAURegisterOutputSurfaceNV(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVDPAURegisterVideoSurfaceNV", ExactSpelling = true)] - internal extern static unsafe IntPtr VDPAURegisterVideoSurfaceNV(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVDPAUSurfaceAccessNV", ExactSpelling = true)] - internal extern static void VDPAUSurfaceAccessNV(IntPtr surface, OpenTK.Graphics.OpenGL.NvVdpauInterop access); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVDPAUUnmapSurfacesNV", ExactSpelling = true)] - internal extern static unsafe void VDPAUUnmapSurfacesNV(Int32 numSurface, IntPtr* surfaces); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVDPAUUnregisterSurfaceNV", ExactSpelling = true)] - internal extern static void VDPAUUnregisterSurfaceNV(IntPtr surface); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2bOES", ExactSpelling = true)] - internal extern static void Vertex2bOES(SByte x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2bvOES", ExactSpelling = true)] - internal extern static unsafe void Vertex2bvOES(SByte* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2d", ExactSpelling = true)] - internal extern static void Vertex2d(Double x, Double y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2dv", ExactSpelling = true)] - internal extern static unsafe void Vertex2dv(Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2f", ExactSpelling = true)] - internal extern static void Vertex2f(Single x, Single y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2fv", ExactSpelling = true)] - internal extern static unsafe void Vertex2fv(Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2hNV", ExactSpelling = true)] - internal extern static void Vertex2hNV(Half x, Half y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2hvNV", ExactSpelling = true)] - internal extern static unsafe void Vertex2hvNV(Half* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2i", ExactSpelling = true)] - internal extern static void Vertex2i(Int32 x, Int32 y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2iv", ExactSpelling = true)] - internal extern static unsafe void Vertex2iv(Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2s", ExactSpelling = true)] - internal extern static void Vertex2s(Int16 x, Int16 y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2sv", ExactSpelling = true)] - internal extern static unsafe void Vertex2sv(Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2xOES", ExactSpelling = true)] - internal extern static void Vertex2xOES(int x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2xvOES", ExactSpelling = true)] - internal extern static unsafe void Vertex2xvOES(int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3bOES", ExactSpelling = true)] - internal extern static void Vertex3bOES(SByte x, SByte y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3bvOES", ExactSpelling = true)] - internal extern static unsafe void Vertex3bvOES(SByte* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3d", ExactSpelling = true)] - internal extern static void Vertex3d(Double x, Double y, Double z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3dv", ExactSpelling = true)] - internal extern static unsafe void Vertex3dv(Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3f", ExactSpelling = true)] - internal extern static void Vertex3f(Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3fv", ExactSpelling = true)] - internal extern static unsafe void Vertex3fv(Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3hNV", ExactSpelling = true)] - internal extern static void Vertex3hNV(Half x, Half y, Half z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3hvNV", ExactSpelling = true)] - internal extern static unsafe void Vertex3hvNV(Half* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3i", ExactSpelling = true)] - internal extern static void Vertex3i(Int32 x, Int32 y, Int32 z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3iv", ExactSpelling = true)] - internal extern static unsafe void Vertex3iv(Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3s", ExactSpelling = true)] - internal extern static void Vertex3s(Int16 x, Int16 y, Int16 z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3sv", ExactSpelling = true)] - internal extern static unsafe void Vertex3sv(Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3xOES", ExactSpelling = true)] - internal extern static void Vertex3xOES(int x, int y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3xvOES", ExactSpelling = true)] - internal extern static unsafe void Vertex3xvOES(int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4bOES", ExactSpelling = true)] - internal extern static void Vertex4bOES(SByte x, SByte y, SByte z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4bvOES", ExactSpelling = true)] - internal extern static unsafe void Vertex4bvOES(SByte* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4d", ExactSpelling = true)] - internal extern static void Vertex4d(Double x, Double y, Double z, Double w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4dv", ExactSpelling = true)] - internal extern static unsafe void Vertex4dv(Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4f", ExactSpelling = true)] - internal extern static void Vertex4f(Single x, Single y, Single z, Single w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4fv", ExactSpelling = true)] - internal extern static unsafe void Vertex4fv(Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4hNV", ExactSpelling = true)] - internal extern static void Vertex4hNV(Half x, Half y, Half z, Half w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4hvNV", ExactSpelling = true)] - internal extern static unsafe void Vertex4hvNV(Half* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4i", ExactSpelling = true)] - internal extern static void Vertex4i(Int32 x, Int32 y, Int32 z, Int32 w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4iv", ExactSpelling = true)] - internal extern static unsafe void Vertex4iv(Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4s", ExactSpelling = true)] - internal extern static void Vertex4s(Int16 x, Int16 y, Int16 z, Int16 w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4sv", ExactSpelling = true)] - internal extern static unsafe void Vertex4sv(Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4xOES", ExactSpelling = true)] - internal extern static void Vertex4xOES(int x, int y, int z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4xvOES", ExactSpelling = true)] - internal extern static unsafe void Vertex4xvOES(int* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexArrayBindVertexBufferEXT", ExactSpelling = true)] - internal extern static void VertexArrayBindVertexBufferEXT(UInt32 vaobj, UInt32 bindingindex, UInt32 buffer, IntPtr offset, Int32 stride); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexArrayColorOffsetEXT", ExactSpelling = true)] - internal extern static void VertexArrayColorOffsetEXT(UInt32 vaobj, UInt32 buffer, Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr offset); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexArrayEdgeFlagOffsetEXT", ExactSpelling = true)] - internal extern static void VertexArrayEdgeFlagOffsetEXT(UInt32 vaobj, UInt32 buffer, Int32 stride, IntPtr offset); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexArrayFogCoordOffsetEXT", ExactSpelling = true)] - internal extern static void VertexArrayFogCoordOffsetEXT(UInt32 vaobj, UInt32 buffer, OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, IntPtr offset); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexArrayIndexOffsetEXT", ExactSpelling = true)] - internal extern static void VertexArrayIndexOffsetEXT(UInt32 vaobj, UInt32 buffer, OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, IntPtr offset); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexArrayMultiTexCoordOffsetEXT", ExactSpelling = true)] - internal extern static void VertexArrayMultiTexCoordOffsetEXT(UInt32 vaobj, UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess texunit, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr offset); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexArrayNormalOffsetEXT", ExactSpelling = true)] - internal extern static void VertexArrayNormalOffsetEXT(UInt32 vaobj, UInt32 buffer, OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr offset); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexArrayParameteriAPPLE", ExactSpelling = true)] - internal extern static void VertexArrayParameteriAPPLE(OpenTK.Graphics.OpenGL.AppleVertexArrayRange pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexArrayRangeAPPLE", ExactSpelling = true)] - internal extern static void VertexArrayRangeAPPLE(Int32 length, [OutAttribute] IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexArrayRangeNV", ExactSpelling = true)] - internal extern static void VertexArrayRangeNV(Int32 length, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexArraySecondaryColorOffsetEXT", ExactSpelling = true)] - internal extern static void VertexArraySecondaryColorOffsetEXT(UInt32 vaobj, UInt32 buffer, Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr offset); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexArrayTexCoordOffsetEXT", ExactSpelling = true)] - internal extern static void VertexArrayTexCoordOffsetEXT(UInt32 vaobj, UInt32 buffer, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr offset); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexArrayVertexAttribBindingEXT", ExactSpelling = true)] - internal extern static void VertexArrayVertexAttribBindingEXT(UInt32 vaobj, UInt32 attribindex, UInt32 bindingindex); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexArrayVertexAttribDivisorEXT", ExactSpelling = true)] - internal extern static void VertexArrayVertexAttribDivisorEXT(UInt32 vaobj, UInt32 index, UInt32 divisor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexArrayVertexAttribFormatEXT", ExactSpelling = true)] - internal extern static void VertexArrayVertexAttribFormatEXT(UInt32 vaobj, UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, bool normalized, UInt32 relativeoffset); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexArrayVertexAttribIFormatEXT", ExactSpelling = true)] - internal extern static void VertexArrayVertexAttribIFormatEXT(UInt32 vaobj, UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, UInt32 relativeoffset); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexArrayVertexAttribIOffsetEXT", ExactSpelling = true)] - internal extern static void VertexArrayVertexAttribIOffsetEXT(UInt32 vaobj, UInt32 buffer, UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, Int32 stride, IntPtr offset); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexArrayVertexAttribLFormatEXT", ExactSpelling = true)] - internal extern static void VertexArrayVertexAttribLFormatEXT(UInt32 vaobj, UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, UInt32 relativeoffset); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexArrayVertexAttribLOffsetEXT", ExactSpelling = true)] - internal extern static void VertexArrayVertexAttribLOffsetEXT(UInt32 vaobj, UInt32 buffer, UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, Int32 stride, IntPtr offset); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexArrayVertexAttribOffsetEXT", ExactSpelling = true)] - internal extern static void VertexArrayVertexAttribOffsetEXT(UInt32 vaobj, UInt32 buffer, UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr offset); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexArrayVertexBindingDivisorEXT", ExactSpelling = true)] - internal extern static void VertexArrayVertexBindingDivisorEXT(UInt32 vaobj, UInt32 bindingindex, UInt32 divisor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexArrayVertexOffsetEXT", ExactSpelling = true)] - internal extern static void VertexArrayVertexOffsetEXT(UInt32 vaobj, UInt32 buffer, Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, IntPtr offset); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1d", ExactSpelling = true)] - internal extern static void VertexAttrib1d(UInt32 index, Double x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1dARB", ExactSpelling = true)] - internal extern static void VertexAttrib1dARB(UInt32 index, Double x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1dNV", ExactSpelling = true)] - internal extern static void VertexAttrib1dNV(UInt32 index, Double x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1dv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib1dv(UInt32 index, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1dvARB", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib1dvARB(UInt32 index, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1dvNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib1dvNV(UInt32 index, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1f", ExactSpelling = true)] - internal extern static void VertexAttrib1f(UInt32 index, Single x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1fARB", ExactSpelling = true)] - internal extern static void VertexAttrib1fARB(UInt32 index, Single x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1fNV", ExactSpelling = true)] - internal extern static void VertexAttrib1fNV(UInt32 index, Single x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1fv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib1fv(UInt32 index, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1fvARB", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib1fvARB(UInt32 index, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1fvNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib1fvNV(UInt32 index, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1hNV", ExactSpelling = true)] - internal extern static void VertexAttrib1hNV(UInt32 index, Half x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1hvNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib1hvNV(UInt32 index, Half* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1s", ExactSpelling = true)] - internal extern static void VertexAttrib1s(UInt32 index, Int16 x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1sARB", ExactSpelling = true)] - internal extern static void VertexAttrib1sARB(UInt32 index, Int16 x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1sNV", ExactSpelling = true)] - internal extern static void VertexAttrib1sNV(UInt32 index, Int16 x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1sv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib1sv(UInt32 index, Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1svARB", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib1svARB(UInt32 index, Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1svNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib1svNV(UInt32 index, Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2d", ExactSpelling = true)] - internal extern static void VertexAttrib2d(UInt32 index, Double x, Double y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2dARB", ExactSpelling = true)] - internal extern static void VertexAttrib2dARB(UInt32 index, Double x, Double y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2dNV", ExactSpelling = true)] - internal extern static void VertexAttrib2dNV(UInt32 index, Double x, Double y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2dv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib2dv(UInt32 index, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2dvARB", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib2dvARB(UInt32 index, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2dvNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib2dvNV(UInt32 index, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2f", ExactSpelling = true)] - internal extern static void VertexAttrib2f(UInt32 index, Single x, Single y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2fARB", ExactSpelling = true)] - internal extern static void VertexAttrib2fARB(UInt32 index, Single x, Single y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2fNV", ExactSpelling = true)] - internal extern static void VertexAttrib2fNV(UInt32 index, Single x, Single y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2fv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib2fv(UInt32 index, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2fvARB", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib2fvARB(UInt32 index, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2fvNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib2fvNV(UInt32 index, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2hNV", ExactSpelling = true)] - internal extern static void VertexAttrib2hNV(UInt32 index, Half x, Half y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2hvNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib2hvNV(UInt32 index, Half* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2s", ExactSpelling = true)] - internal extern static void VertexAttrib2s(UInt32 index, Int16 x, Int16 y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2sARB", ExactSpelling = true)] - internal extern static void VertexAttrib2sARB(UInt32 index, Int16 x, Int16 y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2sNV", ExactSpelling = true)] - internal extern static void VertexAttrib2sNV(UInt32 index, Int16 x, Int16 y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2sv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib2sv(UInt32 index, Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2svARB", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib2svARB(UInt32 index, Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2svNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib2svNV(UInt32 index, Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3d", ExactSpelling = true)] - internal extern static void VertexAttrib3d(UInt32 index, Double x, Double y, Double z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3dARB", ExactSpelling = true)] - internal extern static void VertexAttrib3dARB(UInt32 index, Double x, Double y, Double z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3dNV", ExactSpelling = true)] - internal extern static void VertexAttrib3dNV(UInt32 index, Double x, Double y, Double z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3dv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib3dv(UInt32 index, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3dvARB", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib3dvARB(UInt32 index, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3dvNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib3dvNV(UInt32 index, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3f", ExactSpelling = true)] - internal extern static void VertexAttrib3f(UInt32 index, Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3fARB", ExactSpelling = true)] - internal extern static void VertexAttrib3fARB(UInt32 index, Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3fNV", ExactSpelling = true)] - internal extern static void VertexAttrib3fNV(UInt32 index, Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3fv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib3fv(UInt32 index, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3fvARB", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib3fvARB(UInt32 index, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3fvNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib3fvNV(UInt32 index, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3hNV", ExactSpelling = true)] - internal extern static void VertexAttrib3hNV(UInt32 index, Half x, Half y, Half z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3hvNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib3hvNV(UInt32 index, Half* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3s", ExactSpelling = true)] - internal extern static void VertexAttrib3s(UInt32 index, Int16 x, Int16 y, Int16 z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3sARB", ExactSpelling = true)] - internal extern static void VertexAttrib3sARB(UInt32 index, Int16 x, Int16 y, Int16 z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3sNV", ExactSpelling = true)] - internal extern static void VertexAttrib3sNV(UInt32 index, Int16 x, Int16 y, Int16 z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3sv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib3sv(UInt32 index, Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3svARB", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib3svARB(UInt32 index, Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3svNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib3svNV(UInt32 index, Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4bv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4bv(UInt32 index, SByte* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4bvARB", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4bvARB(UInt32 index, SByte* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4d", ExactSpelling = true)] - internal extern static void VertexAttrib4d(UInt32 index, Double x, Double y, Double z, Double w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4dARB", ExactSpelling = true)] - internal extern static void VertexAttrib4dARB(UInt32 index, Double x, Double y, Double z, Double w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4dNV", ExactSpelling = true)] - internal extern static void VertexAttrib4dNV(UInt32 index, Double x, Double y, Double z, Double w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4dv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4dv(UInt32 index, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4dvARB", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4dvARB(UInt32 index, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4dvNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4dvNV(UInt32 index, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4f", ExactSpelling = true)] - internal extern static void VertexAttrib4f(UInt32 index, Single x, Single y, Single z, Single w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4fARB", ExactSpelling = true)] - internal extern static void VertexAttrib4fARB(UInt32 index, Single x, Single y, Single z, Single w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4fNV", ExactSpelling = true)] - internal extern static void VertexAttrib4fNV(UInt32 index, Single x, Single y, Single z, Single w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4fv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4fv(UInt32 index, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4fvARB", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4fvARB(UInt32 index, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4fvNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4fvNV(UInt32 index, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4hNV", ExactSpelling = true)] - internal extern static void VertexAttrib4hNV(UInt32 index, Half x, Half y, Half z, Half w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4hvNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4hvNV(UInt32 index, Half* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4iv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4iv(UInt32 index, Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4ivARB", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4ivARB(UInt32 index, Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4Nbv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4Nbv(UInt32 index, SByte* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4NbvARB", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4NbvARB(UInt32 index, SByte* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4Niv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4Niv(UInt32 index, Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4NivARB", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4NivARB(UInt32 index, Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4Nsv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4Nsv(UInt32 index, Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4NsvARB", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4NsvARB(UInt32 index, Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4Nub", ExactSpelling = true)] - internal extern static void VertexAttrib4Nub(UInt32 index, Byte x, Byte y, Byte z, Byte w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4NubARB", ExactSpelling = true)] - internal extern static void VertexAttrib4NubARB(UInt32 index, Byte x, Byte y, Byte z, Byte w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4Nubv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4Nubv(UInt32 index, Byte* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4NubvARB", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4NubvARB(UInt32 index, Byte* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4Nuiv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4Nuiv(UInt32 index, UInt32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4NuivARB", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4NuivARB(UInt32 index, UInt32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4Nusv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4Nusv(UInt32 index, UInt16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4NusvARB", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4NusvARB(UInt32 index, UInt16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4s", ExactSpelling = true)] - internal extern static void VertexAttrib4s(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4sARB", ExactSpelling = true)] - internal extern static void VertexAttrib4sARB(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4sNV", ExactSpelling = true)] - internal extern static void VertexAttrib4sNV(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4sv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4sv(UInt32 index, Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4svARB", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4svARB(UInt32 index, Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4svNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4svNV(UInt32 index, Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4ubNV", ExactSpelling = true)] - internal extern static void VertexAttrib4ubNV(UInt32 index, Byte x, Byte y, Byte z, Byte w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4ubv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4ubv(UInt32 index, Byte* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4ubvARB", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4ubvARB(UInt32 index, Byte* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4ubvNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4ubvNV(UInt32 index, Byte* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4uiv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4uiv(UInt32 index, UInt32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4uivARB", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4uivARB(UInt32 index, UInt32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4usv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4usv(UInt32 index, UInt16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4usvARB", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4usvARB(UInt32 index, UInt16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribArrayObjectATI", ExactSpelling = true)] - internal extern static void VertexAttribArrayObjectATI(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, UInt32 buffer, UInt32 offset); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribBinding", ExactSpelling = true)] - internal extern static void VertexAttribBinding(UInt32 attribindex, UInt32 bindingindex); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribDivisor", ExactSpelling = true)] - internal extern static void VertexAttribDivisor(UInt32 index, UInt32 divisor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribDivisorARB", ExactSpelling = true)] - internal extern static void VertexAttribDivisorARB(UInt32 index, UInt32 divisor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribFormat", ExactSpelling = true)] - internal extern static void VertexAttribFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribType type, bool normalized, UInt32 relativeoffset); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribFormatNV", ExactSpelling = true)] - internal extern static void VertexAttribFormatNV(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, bool normalized, Int32 stride); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI1i", ExactSpelling = true)] - internal extern static void VertexAttribI1i(UInt32 index, Int32 x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI1iEXT", ExactSpelling = true)] - internal extern static void VertexAttribI1iEXT(UInt32 index, Int32 x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI1iv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI1iv(UInt32 index, Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI1ivEXT", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI1ivEXT(UInt32 index, Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI1ui", ExactSpelling = true)] - internal extern static void VertexAttribI1ui(UInt32 index, UInt32 x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI1uiEXT", ExactSpelling = true)] - internal extern static void VertexAttribI1uiEXT(UInt32 index, UInt32 x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI1uiv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI1uiv(UInt32 index, UInt32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI1uivEXT", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI1uivEXT(UInt32 index, UInt32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI2i", ExactSpelling = true)] - internal extern static void VertexAttribI2i(UInt32 index, Int32 x, Int32 y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI2iEXT", ExactSpelling = true)] - internal extern static void VertexAttribI2iEXT(UInt32 index, Int32 x, Int32 y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI2iv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI2iv(UInt32 index, Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI2ivEXT", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI2ivEXT(UInt32 index, Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI2ui", ExactSpelling = true)] - internal extern static void VertexAttribI2ui(UInt32 index, UInt32 x, UInt32 y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI2uiEXT", ExactSpelling = true)] - internal extern static void VertexAttribI2uiEXT(UInt32 index, UInt32 x, UInt32 y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI2uiv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI2uiv(UInt32 index, UInt32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI2uivEXT", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI2uivEXT(UInt32 index, UInt32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI3i", ExactSpelling = true)] - internal extern static void VertexAttribI3i(UInt32 index, Int32 x, Int32 y, Int32 z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI3iEXT", ExactSpelling = true)] - internal extern static void VertexAttribI3iEXT(UInt32 index, Int32 x, Int32 y, Int32 z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI3iv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI3iv(UInt32 index, Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI3ivEXT", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI3ivEXT(UInt32 index, Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI3ui", ExactSpelling = true)] - internal extern static void VertexAttribI3ui(UInt32 index, UInt32 x, UInt32 y, UInt32 z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI3uiEXT", ExactSpelling = true)] - internal extern static void VertexAttribI3uiEXT(UInt32 index, UInt32 x, UInt32 y, UInt32 z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI3uiv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI3uiv(UInt32 index, UInt32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI3uivEXT", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI3uivEXT(UInt32 index, UInt32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4bv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI4bv(UInt32 index, SByte* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4bvEXT", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI4bvEXT(UInt32 index, SByte* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4i", ExactSpelling = true)] - internal extern static void VertexAttribI4i(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4iEXT", ExactSpelling = true)] - internal extern static void VertexAttribI4iEXT(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4iv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI4iv(UInt32 index, Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4ivEXT", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI4ivEXT(UInt32 index, Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4sv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI4sv(UInt32 index, Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4svEXT", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI4svEXT(UInt32 index, Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4ubv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI4ubv(UInt32 index, Byte* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4ubvEXT", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI4ubvEXT(UInt32 index, Byte* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4ui", ExactSpelling = true)] - internal extern static void VertexAttribI4ui(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4uiEXT", ExactSpelling = true)] - internal extern static void VertexAttribI4uiEXT(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4uiv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI4uiv(UInt32 index, UInt32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4uivEXT", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI4uivEXT(UInt32 index, UInt32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4usv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI4usv(UInt32 index, UInt16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4usvEXT", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI4usvEXT(UInt32 index, UInt16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribIFormat", ExactSpelling = true)] - internal extern static void VertexAttribIFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, UInt32 relativeoffset); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribIFormatNV", ExactSpelling = true)] - internal extern static void VertexAttribIFormatNV(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribIPointer", ExactSpelling = true)] - internal extern static void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribIPointerEXT", ExactSpelling = true)] - internal extern static void VertexAttribIPointerEXT(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL1d", ExactSpelling = true)] - internal extern static void VertexAttribL1d(UInt32 index, Double x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL1dEXT", ExactSpelling = true)] - internal extern static void VertexAttribL1dEXT(UInt32 index, Double x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL1dv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribL1dv(UInt32 index, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL1dvEXT", ExactSpelling = true)] - internal extern static unsafe void VertexAttribL1dvEXT(UInt32 index, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL1i64NV", ExactSpelling = true)] - internal extern static void VertexAttribL1i64NV(UInt32 index, Int64 x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL1i64vNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttribL1i64vNV(UInt32 index, Int64* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL1ui64ARB", ExactSpelling = true)] - internal extern static void VertexAttribL1ui64ARB(UInt32 index, UInt64 x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL1ui64NV", ExactSpelling = true)] - internal extern static void VertexAttribL1ui64NV(UInt32 index, UInt64 x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL1ui64vARB", ExactSpelling = true)] - internal extern static unsafe void VertexAttribL1ui64vARB(UInt32 index, UInt64* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL1ui64vNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttribL1ui64vNV(UInt32 index, UInt64* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL2d", ExactSpelling = true)] - internal extern static void VertexAttribL2d(UInt32 index, Double x, Double y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL2dEXT", ExactSpelling = true)] - internal extern static void VertexAttribL2dEXT(UInt32 index, Double x, Double y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL2dv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribL2dv(UInt32 index, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL2dvEXT", ExactSpelling = true)] - internal extern static unsafe void VertexAttribL2dvEXT(UInt32 index, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL2i64NV", ExactSpelling = true)] - internal extern static void VertexAttribL2i64NV(UInt32 index, Int64 x, Int64 y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL2i64vNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttribL2i64vNV(UInt32 index, Int64* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL2ui64NV", ExactSpelling = true)] - internal extern static void VertexAttribL2ui64NV(UInt32 index, UInt64 x, UInt64 y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL2ui64vNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttribL2ui64vNV(UInt32 index, UInt64* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL3d", ExactSpelling = true)] - internal extern static void VertexAttribL3d(UInt32 index, Double x, Double y, Double z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL3dEXT", ExactSpelling = true)] - internal extern static void VertexAttribL3dEXT(UInt32 index, Double x, Double y, Double z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL3dv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribL3dv(UInt32 index, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL3dvEXT", ExactSpelling = true)] - internal extern static unsafe void VertexAttribL3dvEXT(UInt32 index, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL3i64NV", ExactSpelling = true)] - internal extern static void VertexAttribL3i64NV(UInt32 index, Int64 x, Int64 y, Int64 z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL3i64vNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttribL3i64vNV(UInt32 index, Int64* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL3ui64NV", ExactSpelling = true)] - internal extern static void VertexAttribL3ui64NV(UInt32 index, UInt64 x, UInt64 y, UInt64 z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL3ui64vNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttribL3ui64vNV(UInt32 index, UInt64* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL4d", ExactSpelling = true)] - internal extern static void VertexAttribL4d(UInt32 index, Double x, Double y, Double z, Double w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL4dEXT", ExactSpelling = true)] - internal extern static void VertexAttribL4dEXT(UInt32 index, Double x, Double y, Double z, Double w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL4dv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribL4dv(UInt32 index, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL4dvEXT", ExactSpelling = true)] - internal extern static unsafe void VertexAttribL4dvEXT(UInt32 index, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL4i64NV", ExactSpelling = true)] - internal extern static void VertexAttribL4i64NV(UInt32 index, Int64 x, Int64 y, Int64 z, Int64 w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL4i64vNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttribL4i64vNV(UInt32 index, Int64* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL4ui64NV", ExactSpelling = true)] - internal extern static void VertexAttribL4ui64NV(UInt32 index, UInt64 x, UInt64 y, UInt64 z, UInt64 w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL4ui64vNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttribL4ui64vNV(UInt32 index, UInt64* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribLFormat", ExactSpelling = true)] - internal extern static void VertexAttribLFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, UInt32 relativeoffset); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribLFormatNV", ExactSpelling = true)] - internal extern static void VertexAttribLFormatNV(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit type, Int32 stride); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribLPointer", ExactSpelling = true)] - internal extern static void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribLPointerEXT", ExactSpelling = true)] - internal extern static void VertexAttribLPointerEXT(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribP1ui", ExactSpelling = true)] - internal extern static void VertexAttribP1ui(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribP1uiv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribP1uiv(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribP2ui", ExactSpelling = true)] - internal extern static void VertexAttribP2ui(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribP2uiv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribP2uiv(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribP3ui", ExactSpelling = true)] - internal extern static void VertexAttribP3ui(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribP3uiv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribP3uiv(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribP4ui", ExactSpelling = true)] - internal extern static void VertexAttribP4ui(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribP4uiv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribP4uiv(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribParameteriAMD", ExactSpelling = true)] - internal extern static void VertexAttribParameteriAMD(UInt32 index, OpenTK.Graphics.OpenGL.AmdInterleavedElements pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribPointer", ExactSpelling = true)] - internal extern static void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribPointerARB", ExactSpelling = true)] - internal extern static void VertexAttribPointerARB(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribPointerNV", ExactSpelling = true)] - internal extern static void VertexAttribPointerNV(UInt32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs1dvNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttribs1dvNV(UInt32 index, Int32 count, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs1fvNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttribs1fvNV(UInt32 index, Int32 count, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs1hvNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttribs1hvNV(UInt32 index, Int32 n, Half* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs1svNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttribs1svNV(UInt32 index, Int32 count, Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs2dvNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttribs2dvNV(UInt32 index, Int32 count, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs2fvNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttribs2fvNV(UInt32 index, Int32 count, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs2hvNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttribs2hvNV(UInt32 index, Int32 n, Half* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs2svNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttribs2svNV(UInt32 index, Int32 count, Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs3dvNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttribs3dvNV(UInt32 index, Int32 count, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs3fvNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttribs3fvNV(UInt32 index, Int32 count, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs3hvNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttribs3hvNV(UInt32 index, Int32 n, Half* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs3svNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttribs3svNV(UInt32 index, Int32 count, Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs4dvNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttribs4dvNV(UInt32 index, Int32 count, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs4fvNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttribs4fvNV(UInt32 index, Int32 count, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs4hvNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttribs4hvNV(UInt32 index, Int32 n, Half* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs4svNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttribs4svNV(UInt32 index, Int32 count, Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs4ubvNV", ExactSpelling = true)] - internal extern static unsafe void VertexAttribs4ubvNV(UInt32 index, Int32 count, Byte* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexBindingDivisor", ExactSpelling = true)] - internal extern static void VertexBindingDivisor(UInt32 bindingindex, UInt32 divisor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexBlendARB", ExactSpelling = true)] - internal extern static void VertexBlendARB(Int32 count); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexBlendEnvfATI", ExactSpelling = true)] - internal extern static void VertexBlendEnvfATI(OpenTK.Graphics.OpenGL.AtiVertexStreams pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexBlendEnviATI", ExactSpelling = true)] - internal extern static void VertexBlendEnviATI(OpenTK.Graphics.OpenGL.AtiVertexStreams pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexFormatNV", ExactSpelling = true)] - internal extern static void VertexFormatNV(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexP2ui", ExactSpelling = true)] - internal extern static void VertexP2ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexP2uiv", ExactSpelling = true)] - internal extern static unsafe void VertexP2uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexP3ui", ExactSpelling = true)] - internal extern static void VertexP3ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexP3uiv", ExactSpelling = true)] - internal extern static unsafe void VertexP3uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexP4ui", ExactSpelling = true)] - internal extern static void VertexP4ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexP4uiv", ExactSpelling = true)] - internal extern static unsafe void VertexP4uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexPointer", ExactSpelling = true)] - internal extern static void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexPointerEXT", ExactSpelling = true)] - internal extern static void VertexPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, Int32 count, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexPointerListIBM", ExactSpelling = true)] - internal extern static void VertexPointerListIBM(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexPointervINTEL", ExactSpelling = true)] - internal extern static void VertexPointervINTEL(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream1dATI", ExactSpelling = true)] - internal extern static void VertexStream1dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream1dvATI", ExactSpelling = true)] - internal extern static unsafe void VertexStream1dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream1fATI", ExactSpelling = true)] - internal extern static void VertexStream1fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream1fvATI", ExactSpelling = true)] - internal extern static unsafe void VertexStream1fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream1iATI", ExactSpelling = true)] - internal extern static void VertexStream1iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream1ivATI", ExactSpelling = true)] - internal extern static unsafe void VertexStream1ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream1sATI", ExactSpelling = true)] - internal extern static void VertexStream1sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream1svATI", ExactSpelling = true)] - internal extern static unsafe void VertexStream1svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream2dATI", ExactSpelling = true)] - internal extern static void VertexStream2dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream2dvATI", ExactSpelling = true)] - internal extern static unsafe void VertexStream2dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream2fATI", ExactSpelling = true)] - internal extern static void VertexStream2fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream2fvATI", ExactSpelling = true)] - internal extern static unsafe void VertexStream2fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream2iATI", ExactSpelling = true)] - internal extern static void VertexStream2iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream2ivATI", ExactSpelling = true)] - internal extern static unsafe void VertexStream2ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream2sATI", ExactSpelling = true)] - internal extern static void VertexStream2sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream2svATI", ExactSpelling = true)] - internal extern static unsafe void VertexStream2svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream3dATI", ExactSpelling = true)] - internal extern static void VertexStream3dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y, Double z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream3dvATI", ExactSpelling = true)] - internal extern static unsafe void VertexStream3dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream3fATI", ExactSpelling = true)] - internal extern static void VertexStream3fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream3fvATI", ExactSpelling = true)] - internal extern static unsafe void VertexStream3fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream3iATI", ExactSpelling = true)] - internal extern static void VertexStream3iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream3ivATI", ExactSpelling = true)] - internal extern static unsafe void VertexStream3ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream3sATI", ExactSpelling = true)] - internal extern static void VertexStream3sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream3svATI", ExactSpelling = true)] - internal extern static unsafe void VertexStream3svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream4dATI", ExactSpelling = true)] - internal extern static void VertexStream4dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y, Double z, Double w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream4dvATI", ExactSpelling = true)] - internal extern static unsafe void VertexStream4dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream4fATI", ExactSpelling = true)] - internal extern static void VertexStream4fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y, Single z, Single w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream4fvATI", ExactSpelling = true)] - internal extern static unsafe void VertexStream4fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream4iATI", ExactSpelling = true)] - internal extern static void VertexStream4iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z, Int32 w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream4ivATI", ExactSpelling = true)] - internal extern static unsafe void VertexStream4ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream4sATI", ExactSpelling = true)] - internal extern static void VertexStream4sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z, Int16 w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream4svATI", ExactSpelling = true)] - internal extern static unsafe void VertexStream4svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexWeightfEXT", ExactSpelling = true)] - internal extern static void VertexWeightfEXT(Single weight); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexWeightfvEXT", ExactSpelling = true)] - internal extern static unsafe void VertexWeightfvEXT(Single* weight); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexWeighthNV", ExactSpelling = true)] - internal extern static void VertexWeighthNV(Half weight); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexWeighthvNV", ExactSpelling = true)] - internal extern static unsafe void VertexWeighthvNV(Half* weight); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexWeightPointerEXT", ExactSpelling = true)] - internal extern static void VertexWeightPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.ExtVertexWeighting type, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVideoCaptureNV", ExactSpelling = true)] - internal extern static unsafe OpenTK.Graphics.OpenGL.NvVideoCapture VideoCaptureNV(UInt32 video_capture_slot, [OutAttribute] UInt32* sequence_num, [OutAttribute] UInt64* capture_time); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVideoCaptureStreamParameterdvNV", ExactSpelling = true)] - internal extern static unsafe void VideoCaptureStreamParameterdvNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Double* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVideoCaptureStreamParameterfvNV", ExactSpelling = true)] - internal extern static unsafe void VideoCaptureStreamParameterfvNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVideoCaptureStreamParameterivNV", ExactSpelling = true)] - internal extern static unsafe void VideoCaptureStreamParameterivNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glViewport", ExactSpelling = true)] - internal extern static void Viewport(Int32 x, Int32 y, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glViewportArrayv", ExactSpelling = true)] - internal extern static unsafe void ViewportArrayv(UInt32 first, Int32 count, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glViewportIndexedf", ExactSpelling = true)] - internal extern static void ViewportIndexedf(UInt32 index, Single x, Single y, Single w, Single h); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glViewportIndexedfv", ExactSpelling = true)] - internal extern static unsafe void ViewportIndexedfv(UInt32 index, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWaitSync", ExactSpelling = true)] - internal extern static OpenTK.Graphics.OpenGL.WaitSyncStatus WaitSync(IntPtr sync, OpenTK.Graphics.OpenGL.WaitSyncFlags flags, UInt64 timeout); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWeightbvARB", ExactSpelling = true)] - internal extern static unsafe void WeightbvARB(Int32 size, SByte* weights); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWeightdvARB", ExactSpelling = true)] - internal extern static unsafe void WeightdvARB(Int32 size, Double* weights); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWeightfvARB", ExactSpelling = true)] - internal extern static unsafe void WeightfvARB(Int32 size, Single* weights); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWeightivARB", ExactSpelling = true)] - internal extern static unsafe void WeightivARB(Int32 size, Int32* weights); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWeightPathsNV", ExactSpelling = true)] - internal extern static unsafe void WeightPathsNV(UInt32 resultPath, Int32 numPaths, UInt32* paths, Single* weights); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWeightPointerARB", ExactSpelling = true)] - internal extern static void WeightPointerARB(Int32 size, OpenTK.Graphics.OpenGL.ArbVertexBlend type, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWeightsvARB", ExactSpelling = true)] - internal extern static unsafe void WeightsvARB(Int32 size, Int16* weights); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWeightubvARB", ExactSpelling = true)] - internal extern static unsafe void WeightubvARB(Int32 size, Byte* weights); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWeightuivARB", ExactSpelling = true)] - internal extern static unsafe void WeightuivARB(Int32 size, UInt32* weights); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWeightusvARB", ExactSpelling = true)] - internal extern static unsafe void WeightusvARB(Int32 size, UInt16* weights); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2d", ExactSpelling = true)] - internal extern static void WindowPos2d(Double x, Double y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2dARB", ExactSpelling = true)] - internal extern static void WindowPos2dARB(Double x, Double y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2dMESA", CharSet = CharSet.Auto)] - internal extern static void WindowPos2dMESA(Double x, Double y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2dv", ExactSpelling = true)] - internal extern static unsafe void WindowPos2dv(Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2dvARB", ExactSpelling = true)] - internal extern static unsafe void WindowPos2dvARB(Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2dvMESA", CharSet = CharSet.Auto)] - internal extern static unsafe void WindowPos2dvMESA(Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2f", ExactSpelling = true)] - internal extern static void WindowPos2f(Single x, Single y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2fARB", ExactSpelling = true)] - internal extern static void WindowPos2fARB(Single x, Single y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2fMESA", CharSet = CharSet.Auto)] - internal extern static void WindowPos2fMESA(Single x, Single y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2fv", ExactSpelling = true)] - internal extern static unsafe void WindowPos2fv(Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2fvARB", ExactSpelling = true)] - internal extern static unsafe void WindowPos2fvARB(Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2fvMESA", CharSet = CharSet.Auto)] - internal extern static unsafe void WindowPos2fvMESA(Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2i", ExactSpelling = true)] - internal extern static void WindowPos2i(Int32 x, Int32 y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2iARB", ExactSpelling = true)] - internal extern static void WindowPos2iARB(Int32 x, Int32 y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2iMESA", CharSet = CharSet.Auto)] - internal extern static void WindowPos2iMESA(Int32 x, Int32 y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2iv", ExactSpelling = true)] - internal extern static unsafe void WindowPos2iv(Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2ivARB", ExactSpelling = true)] - internal extern static unsafe void WindowPos2ivARB(Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2ivMESA", CharSet = CharSet.Auto)] - internal extern static unsafe void WindowPos2ivMESA(Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2s", ExactSpelling = true)] - internal extern static void WindowPos2s(Int16 x, Int16 y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2sARB", ExactSpelling = true)] - internal extern static void WindowPos2sARB(Int16 x, Int16 y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2sMESA", CharSet = CharSet.Auto)] - internal extern static void WindowPos2sMESA(Int16 x, Int16 y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2sv", ExactSpelling = true)] - internal extern static unsafe void WindowPos2sv(Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2svARB", ExactSpelling = true)] - internal extern static unsafe void WindowPos2svARB(Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2svMESA", CharSet = CharSet.Auto)] - internal extern static unsafe void WindowPos2svMESA(Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3d", ExactSpelling = true)] - internal extern static void WindowPos3d(Double x, Double y, Double z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3dARB", ExactSpelling = true)] - internal extern static void WindowPos3dARB(Double x, Double y, Double z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3dMESA", CharSet = CharSet.Auto)] - internal extern static void WindowPos3dMESA(Double x, Double y, Double z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3dv", ExactSpelling = true)] - internal extern static unsafe void WindowPos3dv(Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3dvARB", ExactSpelling = true)] - internal extern static unsafe void WindowPos3dvARB(Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3dvMESA", CharSet = CharSet.Auto)] - internal extern static unsafe void WindowPos3dvMESA(Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3f", ExactSpelling = true)] - internal extern static void WindowPos3f(Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3fARB", ExactSpelling = true)] - internal extern static void WindowPos3fARB(Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3fMESA", CharSet = CharSet.Auto)] - internal extern static void WindowPos3fMESA(Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3fv", ExactSpelling = true)] - internal extern static unsafe void WindowPos3fv(Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3fvARB", ExactSpelling = true)] - internal extern static unsafe void WindowPos3fvARB(Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3fvMESA", CharSet = CharSet.Auto)] - internal extern static unsafe void WindowPos3fvMESA(Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3i", ExactSpelling = true)] - internal extern static void WindowPos3i(Int32 x, Int32 y, Int32 z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3iARB", ExactSpelling = true)] - internal extern static void WindowPos3iARB(Int32 x, Int32 y, Int32 z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3iMESA", CharSet = CharSet.Auto)] - internal extern static void WindowPos3iMESA(Int32 x, Int32 y, Int32 z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3iv", ExactSpelling = true)] - internal extern static unsafe void WindowPos3iv(Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3ivARB", ExactSpelling = true)] - internal extern static unsafe void WindowPos3ivARB(Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3ivMESA", CharSet = CharSet.Auto)] - internal extern static unsafe void WindowPos3ivMESA(Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3s", ExactSpelling = true)] - internal extern static void WindowPos3s(Int16 x, Int16 y, Int16 z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3sARB", ExactSpelling = true)] - internal extern static void WindowPos3sARB(Int16 x, Int16 y, Int16 z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3sMESA", CharSet = CharSet.Auto)] - internal extern static void WindowPos3sMESA(Int16 x, Int16 y, Int16 z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3sv", ExactSpelling = true)] - internal extern static unsafe void WindowPos3sv(Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3svARB", ExactSpelling = true)] - internal extern static unsafe void WindowPos3svARB(Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3svMESA", CharSet = CharSet.Auto)] - internal extern static unsafe void WindowPos3svMESA(Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos4dMESA", CharSet = CharSet.Auto)] - internal extern static void WindowPos4dMESA(Double x, Double y, Double z, Double w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos4dvMESA", CharSet = CharSet.Auto)] - internal extern static unsafe void WindowPos4dvMESA(Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos4fMESA", CharSet = CharSet.Auto)] - internal extern static void WindowPos4fMESA(Single x, Single y, Single z, Single w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos4fvMESA", CharSet = CharSet.Auto)] - internal extern static unsafe void WindowPos4fvMESA(Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos4iMESA", CharSet = CharSet.Auto)] - internal extern static void WindowPos4iMESA(Int32 x, Int32 y, Int32 z, Int32 w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos4ivMESA", CharSet = CharSet.Auto)] - internal extern static unsafe void WindowPos4ivMESA(Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos4sMESA", CharSet = CharSet.Auto)] - internal extern static void WindowPos4sMESA(Int16 x, Int16 y, Int16 z, Int16 w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos4svMESA", CharSet = CharSet.Auto)] - internal extern static unsafe void WindowPos4svMESA(Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWriteMaskEXT", ExactSpelling = true)] - internal extern static void WriteMaskEXT(UInt32 res, UInt32 @in, OpenTK.Graphics.OpenGL.ExtVertexShader outX, OpenTK.Graphics.OpenGL.ExtVertexShader outY, OpenTK.Graphics.OpenGL.ExtVertexShader outZ, OpenTK.Graphics.OpenGL.ExtVertexShader outW); - } - } -} diff --git a/Source/OpenTK/Graphics/OpenGL/GLDelegates.cs b/Source/OpenTK/Graphics/OpenGL/GLDelegates.cs deleted file mode 100644 index 18ea3496..00000000 --- a/Source/OpenTK/Graphics/OpenGL/GLDelegates.cs +++ /dev/null @@ -1,7990 +0,0 @@ -// -// The Open Toolkit Library License -// -// Copyright (c) 2006 - 2013 Stefanos Apostolopoulos for the Open Toolkit Library -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights to -// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -// the Software, and to permit persons to whom the Software is furnished to do -// so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -// OTHER DEALINGS IN THE SOFTWARE. -// - - - -namespace OpenTK.Graphics.OpenGL -{ - using System; - using System.Text; - using System.Runtime.InteropServices; - #pragma warning disable 0649 - #pragma warning disable 3019 - #pragma warning disable 1591 - - partial class GL - { - internal static partial class Delegates - { - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Accum(OpenTK.Graphics.OpenGL.AccumOp op, Single value); - internal static Accum glAccum; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void AccumxOES(OpenTK.Graphics.OpenGL.OesFixedPoint op, int value); - internal static AccumxOES glAccumxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ActiveProgramEXT(UInt32 program); - internal static ActiveProgramEXT glActiveProgramEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ActiveShaderProgram(UInt32 pipeline, UInt32 program); - internal static ActiveShaderProgram glActiveShaderProgram; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ActiveShaderProgramEXT(UInt32 pipeline, UInt32 program); - internal static ActiveShaderProgramEXT glActiveShaderProgramEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ActiveStencilFaceEXT(OpenTK.Graphics.OpenGL.ExtStencilTwoSide face); - internal static ActiveStencilFaceEXT glActiveStencilFaceEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ActiveTexture(OpenTK.Graphics.OpenGL.TextureUnit texture); - internal static ActiveTexture glActiveTexture; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ActiveTextureARB(OpenTK.Graphics.OpenGL.TextureUnit texture); - internal static ActiveTextureARB glActiveTextureARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ActiveVaryingNV(UInt32 program, String name); - internal static ActiveVaryingNV glActiveVaryingNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void AlphaFragmentOp1ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod); - internal static AlphaFragmentOp1ATI glAlphaFragmentOp1ATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void AlphaFragmentOp2ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod); - internal static AlphaFragmentOp2ATI glAlphaFragmentOp2ATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void AlphaFragmentOp3ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod); - internal static AlphaFragmentOp3ATI glAlphaFragmentOp3ATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void AlphaFunc(OpenTK.Graphics.OpenGL.AlphaFunction func, Single @ref); - internal static AlphaFunc glAlphaFunc; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void AlphaFuncxOES(OpenTK.Graphics.OpenGL.OesFixedPoint func, int @ref); - internal static AlphaFuncxOES glAlphaFuncxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ApplyTextureEXT(OpenTK.Graphics.OpenGL.ExtLightTexture mode); - internal static ApplyTextureEXT glApplyTextureEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate bool AreProgramsResidentNV(Int32 n, UInt32* programs, [OutAttribute] bool* residences); - internal unsafe static AreProgramsResidentNV glAreProgramsResidentNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate bool AreTexturesResident(Int32 n, UInt32* textures, [OutAttribute] bool* residences); - internal unsafe static AreTexturesResident glAreTexturesResident; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate bool AreTexturesResidentEXT(Int32 n, UInt32* textures, [OutAttribute] bool* residences); - internal unsafe static AreTexturesResidentEXT glAreTexturesResidentEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ArrayElement(Int32 i); - internal static ArrayElement glArrayElement; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ArrayElementEXT(Int32 i); - internal static ArrayElementEXT glArrayElementEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ArrayObjectATI(OpenTK.Graphics.OpenGL.EnableCap array, Int32 size, OpenTK.Graphics.OpenGL.AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset); - internal static ArrayObjectATI glArrayObjectATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void AsyncMarkerSGIX(UInt32 marker); - internal static AsyncMarkerSGIX glAsyncMarkerSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void AttachObjectARB(UInt32 containerObj, UInt32 obj); - internal static AttachObjectARB glAttachObjectARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void AttachShader(UInt32 program, UInt32 shader); - internal static AttachShader glAttachShader; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Begin(OpenTK.Graphics.OpenGL.PrimitiveType mode); - internal static Begin glBegin; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginConditionalRender(UInt32 id, OpenTK.Graphics.OpenGL.ConditionalRenderType mode); - internal static BeginConditionalRender glBeginConditionalRender; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginConditionalRenderNV(UInt32 id, OpenTK.Graphics.OpenGL.NvConditionalRender mode); - internal static BeginConditionalRenderNV glBeginConditionalRenderNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginConditionalRenderNVX(UInt32 id); - internal static BeginConditionalRenderNVX glBeginConditionalRenderNVX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginFragmentShaderATI(); - internal static BeginFragmentShaderATI glBeginFragmentShaderATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginOcclusionQueryNV(UInt32 id); - internal static BeginOcclusionQueryNV glBeginOcclusionQueryNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginPerfMonitorAMD(UInt32 monitor); - internal static BeginPerfMonitorAMD glBeginPerfMonitorAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginQuery(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 id); - internal static BeginQuery glBeginQuery; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginQueryARB(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, UInt32 id); - internal static BeginQueryARB glBeginQueryARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index, UInt32 id); - internal static BeginQueryIndexed glBeginQueryIndexed; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginTransformFeedback(OpenTK.Graphics.OpenGL.TransformFeedbackPrimitiveType primitiveMode); - internal static BeginTransformFeedback glBeginTransformFeedback; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginTransformFeedbackEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback primitiveMode); - internal static BeginTransformFeedbackEXT glBeginTransformFeedbackEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginTransformFeedbackNV(OpenTK.Graphics.OpenGL.NvTransformFeedback primitiveMode); - internal static BeginTransformFeedbackNV glBeginTransformFeedbackNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginVertexShaderEXT(); - internal static BeginVertexShaderEXT glBeginVertexShaderEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginVideoCaptureNV(UInt32 video_capture_slot); - internal static BeginVideoCaptureNV glBeginVideoCaptureNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindAttribLocation(UInt32 program, UInt32 index, String name); - internal static BindAttribLocation glBindAttribLocation; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindAttribLocationARB(UInt32 programObj, UInt32 index, String name); - internal static BindAttribLocationARB glBindAttribLocationARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindBuffer(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 buffer); - internal static BindBuffer glBindBuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindBufferARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, UInt32 buffer); - internal static BindBufferARB glBindBufferARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindBufferBase(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 index, UInt32 buffer); - internal static BindBufferBase glBindBufferBase; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindBufferBaseEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer); - internal static BindBufferBaseEXT glBindBufferBaseEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindBufferBaseNV(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer); - internal static BindBufferBaseNV glBindBufferBaseNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindBufferOffsetEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset); - internal static BindBufferOffsetEXT glBindBufferOffsetEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindBufferOffsetNV(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset); - internal static BindBufferOffsetNV glBindBufferOffsetNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindBufferRange(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); - internal static BindBufferRange glBindBufferRange; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindBufferRangeEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); - internal static BindBufferRangeEXT glBindBufferRangeEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindBufferRangeNV(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); - internal static BindBufferRangeNV glBindBufferRangeNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void BindBuffersBase(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 first, Int32 count, UInt32* buffers); - internal unsafe static BindBuffersBase glBindBuffersBase; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void BindBuffersRange(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 first, Int32 count, UInt32* buffers, IntPtr* offsets, IntPtr* sizes); - internal unsafe static BindBuffersRange glBindBuffersRange; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindFragDataLocation(UInt32 program, UInt32 color, String name); - internal static BindFragDataLocation glBindFragDataLocation; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindFragDataLocationEXT(UInt32 program, UInt32 color, String name); - internal static BindFragDataLocationEXT glBindFragDataLocationEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindFragDataLocationIndexed(UInt32 program, UInt32 colorNumber, UInt32 index, String name); - internal static BindFragDataLocationIndexed glBindFragDataLocationIndexed; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindFragmentShaderATI(UInt32 id); - internal static BindFragmentShaderATI glBindFragmentShaderATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, UInt32 framebuffer); - internal static BindFramebuffer glBindFramebuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindFramebufferEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, UInt32 framebuffer); - internal static BindFramebufferEXT glBindFramebufferEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindImageTexture(UInt32 unit, UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.TextureAccess access, OpenTK.Graphics.OpenGL.SizedInternalFormat format); - internal static BindImageTexture glBindImageTexture; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindImageTextureEXT(UInt32 index, UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.ExtShaderImageLoadStore access, Int32 format); - internal static BindImageTextureEXT glBindImageTextureEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void BindImageTextures(UInt32 first, Int32 count, UInt32* textures); - internal unsafe static BindImageTextures glBindImageTextures; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 BindLightParameterEXT(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter value); - internal static BindLightParameterEXT glBindLightParameterEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 BindMaterialParameterEXT(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter value); - internal static BindMaterialParameterEXT glBindMaterialParameterEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindMultiTextureEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture); - internal static BindMultiTextureEXT glBindMultiTextureEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 BindParameterEXT(OpenTK.Graphics.OpenGL.ExtVertexShader value); - internal static BindParameterEXT glBindParameterEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindProgramARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 program); - internal static BindProgramARB glBindProgramARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindProgramNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id); - internal static BindProgramNV glBindProgramNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindProgramPipeline(UInt32 pipeline); - internal static BindProgramPipeline glBindProgramPipeline; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindProgramPipelineEXT(UInt32 pipeline); - internal static BindProgramPipelineEXT glBindProgramPipelineEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindRenderbuffer(OpenTK.Graphics.OpenGL.RenderbufferTarget target, UInt32 renderbuffer); - internal static BindRenderbuffer glBindRenderbuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindRenderbufferEXT(OpenTK.Graphics.OpenGL.RenderbufferTarget target, UInt32 renderbuffer); - internal static BindRenderbufferEXT glBindRenderbufferEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindSampler(UInt32 unit, UInt32 sampler); - internal static BindSampler glBindSampler; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void BindSamplers(UInt32 first, Int32 count, UInt32* samplers); - internal unsafe static BindSamplers glBindSamplers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 BindTexGenParameterEXT(OpenTK.Graphics.OpenGL.TextureUnit unit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter value); - internal static BindTexGenParameterEXT glBindTexGenParameterEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindTexture(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture); - internal static BindTexture glBindTexture; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindTextureEXT(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture); - internal static BindTextureEXT glBindTextureEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void BindTextures(UInt32 first, Int32 count, UInt32* textures); - internal unsafe static BindTextures glBindTextures; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 BindTextureUnitParameterEXT(OpenTK.Graphics.OpenGL.TextureUnit unit, OpenTK.Graphics.OpenGL.ExtVertexShader value); - internal static BindTextureUnitParameterEXT glBindTextureUnitParameterEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindTransformFeedback(OpenTK.Graphics.OpenGL.TransformFeedbackTarget target, UInt32 id); - internal static BindTransformFeedback glBindTransformFeedback; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindTransformFeedbackNV(OpenTK.Graphics.OpenGL.BufferTargetArb target, UInt32 id); - internal static BindTransformFeedbackNV glBindTransformFeedbackNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindVertexArray(UInt32 array); - internal static BindVertexArray glBindVertexArray; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindVertexArrayAPPLE(UInt32 array); - internal static BindVertexArrayAPPLE glBindVertexArrayAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindVertexBuffer(UInt32 bindingindex, UInt32 buffer, IntPtr offset, Int32 stride); - internal static BindVertexBuffer glBindVertexBuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void BindVertexBuffers(UInt32 first, Int32 count, UInt32* buffers, IntPtr* offsets, Int32* strides); - internal unsafe static BindVertexBuffers glBindVertexBuffers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindVertexShaderEXT(UInt32 id); - internal static BindVertexShaderEXT glBindVertexShaderEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindVideoCaptureStreamBufferNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture frame_region, IntPtr offset); - internal static BindVideoCaptureStreamBufferNV glBindVideoCaptureStreamBufferNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindVideoCaptureStreamTextureNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture frame_region, OpenTK.Graphics.OpenGL.NvVideoCapture target, UInt32 texture); - internal static BindVideoCaptureStreamTextureNV glBindVideoCaptureStreamTextureNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Binormal3bEXT(SByte bx, SByte by, SByte bz); - internal static Binormal3bEXT glBinormal3bEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Binormal3bvEXT(SByte* v); - internal unsafe static Binormal3bvEXT glBinormal3bvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Binormal3dEXT(Double bx, Double by, Double bz); - internal static Binormal3dEXT glBinormal3dEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Binormal3dvEXT(Double* v); - internal unsafe static Binormal3dvEXT glBinormal3dvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Binormal3fEXT(Single bx, Single by, Single bz); - internal static Binormal3fEXT glBinormal3fEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Binormal3fvEXT(Single* v); - internal unsafe static Binormal3fvEXT glBinormal3fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Binormal3iEXT(Int32 bx, Int32 by, Int32 bz); - internal static Binormal3iEXT glBinormal3iEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Binormal3ivEXT(Int32* v); - internal unsafe static Binormal3ivEXT glBinormal3ivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Binormal3sEXT(Int16 bx, Int16 by, Int16 bz); - internal static Binormal3sEXT glBinormal3sEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Binormal3svEXT(Int16* v); - internal unsafe static Binormal3svEXT glBinormal3svEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BinormalPointerEXT(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer); - internal static BinormalPointerEXT glBinormalPointerEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte* bitmap); - internal unsafe static Bitmap glBitmap; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void BitmapxOES(Int32 width, Int32 height, int xorig, int yorig, int xmove, int ymove, Byte* bitmap); - internal unsafe static BitmapxOES glBitmapxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendBarrierNV(); - internal static BlendBarrierNV glBlendBarrierNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendColor(Single red, Single green, Single blue, Single alpha); - internal static BlendColor glBlendColor; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendColorEXT(Single red, Single green, Single blue, Single alpha); - internal static BlendColorEXT glBlendColorEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendColorxOES(int red, int green, int blue, int alpha); - internal static BlendColorxOES glBlendColorxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquation(OpenTK.Graphics.OpenGL.BlendEquationMode mode); - internal static BlendEquation glBlendEquation; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquationEXT(OpenTK.Graphics.OpenGL.BlendEquationMode mode); - internal static BlendEquationEXT glBlendEquationEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquationi(UInt32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode mode); - internal static BlendEquationi glBlendEquationi; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquationiARB(UInt32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode mode); - internal static BlendEquationiARB glBlendEquationiARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquationIndexedAMD(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend mode); - internal static BlendEquationIndexedAMD glBlendEquationIndexedAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquationSeparate(OpenTK.Graphics.OpenGL.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL.BlendEquationMode modeAlpha); - internal static BlendEquationSeparate glBlendEquationSeparate; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquationSeparateEXT(OpenTK.Graphics.OpenGL.BlendEquationModeExt modeRGB, OpenTK.Graphics.OpenGL.BlendEquationModeExt modeAlpha); - internal static BlendEquationSeparateEXT glBlendEquationSeparateEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquationSeparatei(UInt32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL.BlendEquationMode modeAlpha); - internal static BlendEquationSeparatei glBlendEquationSeparatei; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquationSeparateiARB(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend modeRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend modeAlpha); - internal static BlendEquationSeparateiARB glBlendEquationSeparateiARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquationSeparateIndexedAMD(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeAlpha); - internal static BlendEquationSeparateIndexedAMD glBlendEquationSeparateIndexedAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendFunc(OpenTK.Graphics.OpenGL.BlendingFactorSrc sfactor, OpenTK.Graphics.OpenGL.BlendingFactorDest dfactor); - internal static BlendFunc glBlendFunc; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendFunci(UInt32 buf, OpenTK.Graphics.OpenGL.BlendingFactorSrc src, OpenTK.Graphics.OpenGL.BlendingFactorDest dst); - internal static BlendFunci glBlendFunci; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendFunciARB(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend src, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dst); - internal static BlendFunciARB glBlendFunciARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendFuncIndexedAMD(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend src, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dst); - internal static BlendFuncIndexedAMD glBlendFuncIndexedAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendFuncSeparate(OpenTK.Graphics.OpenGL.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.OpenGL.BlendingFactorDest dfactorRGB, OpenTK.Graphics.OpenGL.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.OpenGL.BlendingFactorDest dfactorAlpha); - internal static BlendFuncSeparate glBlendFuncSeparate; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendFuncSeparateEXT(OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate sfactorRGB, OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate dfactorRGB, OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate sfactorAlpha, OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate dfactorAlpha); - internal static BlendFuncSeparateEXT glBlendFuncSeparateEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendFuncSeparatei(UInt32 buf, OpenTK.Graphics.OpenGL.BlendingFactorSrc srcRGB, OpenTK.Graphics.OpenGL.BlendingFactorDest dstRGB, OpenTK.Graphics.OpenGL.BlendingFactorSrc srcAlpha, OpenTK.Graphics.OpenGL.BlendingFactorDest dstAlpha); - internal static BlendFuncSeparatei glBlendFuncSeparatei; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendFuncSeparateiARB(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcAlpha, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstAlpha); - internal static BlendFuncSeparateiARB glBlendFuncSeparateiARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendFuncSeparateIndexedAMD(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend srcRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dstRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend srcAlpha, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dstAlpha); - internal static BlendFuncSeparateIndexedAMD glBlendFuncSeparateIndexedAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendFuncSeparateINGR(OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate sfactorRGB, OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate dfactorRGB, OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate sfactorAlpha, OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate dfactorAlpha); - internal static BlendFuncSeparateINGR glBlendFuncSeparateINGR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendParameteriNV(OpenTK.Graphics.OpenGL.NvBlendEquationAdvanced pname, Int32 value); - internal static BlendParameteriNV glBlendParameteriNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL.ClearBufferMask mask, OpenTK.Graphics.OpenGL.BlitFramebufferFilter filter); - internal static BlitFramebuffer glBlitFramebuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlitFramebufferEXT(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL.ClearBufferMask mask, OpenTK.Graphics.OpenGL.BlitFramebufferFilter filter); - internal static BlitFramebufferEXT glBlitFramebufferEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BufferAddressRangeNV(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory pname, UInt32 index, UInt64 address, IntPtr length); - internal static BufferAddressRangeNV glBufferAddressRangeNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BufferData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.BufferUsageHint usage); - internal static BufferData glBufferData; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BufferDataARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.BufferUsageArb usage); - internal static BufferDataARB glBufferDataARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BufferParameteriAPPLE(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterApple pname, Int32 param); - internal static BufferParameteriAPPLE glBufferParameteriAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BufferStorage(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.BufferStorageFlags flags); - internal static BufferStorage glBufferStorage; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data); - internal static BufferSubData glBufferSubData; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BufferSubDataARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, IntPtr data); - internal static BufferSubDataARB glBufferSubDataARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CallList(UInt32 list); - internal static CallList glCallList; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CallLists(Int32 n, OpenTK.Graphics.OpenGL.ListNameType type, IntPtr lists); - internal static CallLists glCallLists; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate OpenTK.Graphics.OpenGL.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.OpenGL.FramebufferTarget target); - internal static CheckFramebufferStatus glCheckFramebufferStatus; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate OpenTK.Graphics.OpenGL.FramebufferErrorCode CheckFramebufferStatusEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target); - internal static CheckFramebufferStatusEXT glCheckFramebufferStatusEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate OpenTK.Graphics.OpenGL.ExtDirectStateAccess CheckNamedFramebufferStatusEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferTarget target); - internal static CheckNamedFramebufferStatusEXT glCheckNamedFramebufferStatusEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClampColor(OpenTK.Graphics.OpenGL.ClampColorTarget target, OpenTK.Graphics.OpenGL.ClampColorMode clamp); - internal static ClampColor glClampColor; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClampColorARB(OpenTK.Graphics.OpenGL.ArbColorBufferFloat target, OpenTK.Graphics.OpenGL.ArbColorBufferFloat clamp); - internal static ClampColorARB glClampColorARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Clear(OpenTK.Graphics.OpenGL.ClearBufferMask mask); - internal static Clear glClear; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearAccum(Single red, Single green, Single blue, Single alpha); - internal static ClearAccum glClearAccum; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearAccumxOES(int red, int green, int blue, int alpha); - internal static ClearAccumxOES glClearAccumxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearBufferData(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.All type, IntPtr data); - internal static ClearBufferData glClearBufferData; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearBufferfi(OpenTK.Graphics.OpenGL.ClearBufferCombined buffer, Int32 drawbuffer, Single depth, Int32 stencil); - internal static ClearBufferfi glClearBufferfi; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ClearBufferfv(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Single* value); - internal unsafe static ClearBufferfv glClearBufferfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ClearBufferiv(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Int32* value); - internal unsafe static ClearBufferiv glClearBufferiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.All type, IntPtr data); - internal static ClearBufferSubData glClearBufferSubData; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ClearBufferuiv(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, UInt32* value); - internal unsafe static ClearBufferuiv glClearBufferuiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearColor(Single red, Single green, Single blue, Single alpha); - internal static ClearColor glClearColor; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearColorIiEXT(Int32 red, Int32 green, Int32 blue, Int32 alpha); - internal static ClearColorIiEXT glClearColorIiEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearColorIuiEXT(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha); - internal static ClearColorIuiEXT glClearColorIuiEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearColorxOES(int red, int green, int blue, int alpha); - internal static ClearColorxOES glClearColorxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearDepth(Double depth); - internal static ClearDepth glClearDepth; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearDepthdNV(Double depth); - internal static ClearDepthdNV glClearDepthdNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearDepthf(Single d); - internal static ClearDepthf glClearDepthf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearDepthfOES(Single depth); - internal static ClearDepthfOES glClearDepthfOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearDepthxOES(int depth); - internal static ClearDepthxOES glClearDepthxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearIndex(Single c); - internal static ClearIndex glClearIndex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearNamedBufferDataEXT(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data); - internal static ClearNamedBufferDataEXT glClearNamedBufferDataEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearNamedBufferSubDataEXT(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr offset, IntPtr size, IntPtr data); - internal static ClearNamedBufferSubDataEXT glClearNamedBufferSubDataEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearStencil(Int32 s); - internal static ClearStencil glClearStencil; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearTexImage(UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data); - internal static ClearTexImage glClearTexImage; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data); - internal static ClearTexSubImage glClearTexSubImage; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClientActiveTexture(OpenTK.Graphics.OpenGL.TextureUnit texture); - internal static ClientActiveTexture glClientActiveTexture; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClientActiveTextureARB(OpenTK.Graphics.OpenGL.TextureUnit texture); - internal static ClientActiveTextureARB glClientActiveTextureARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClientActiveVertexStreamATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream); - internal static ClientActiveVertexStreamATI glClientActiveVertexStreamATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClientAttribDefaultEXT(OpenTK.Graphics.OpenGL.ClientAttribMask mask); - internal static ClientAttribDefaultEXT glClientAttribDefaultEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate OpenTK.Graphics.OpenGL.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.OpenGL.ClientWaitSyncFlags flags, UInt64 timeout); - internal static ClientWaitSync glClientWaitSync; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, Double* equation); - internal unsafe static ClipPlane glClipPlane; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ClipPlanefOES(OpenTK.Graphics.OpenGL.OesSinglePrecision plane, Single* equation); - internal unsafe static ClipPlanefOES glClipPlanefOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ClipPlanexOES(OpenTK.Graphics.OpenGL.OesFixedPoint plane, int* equation); - internal unsafe static ClipPlanexOES glClipPlanexOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Color3b(SByte red, SByte green, SByte blue); - internal static Color3b glColor3b; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Color3bv(SByte* v); - internal unsafe static Color3bv glColor3bv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Color3d(Double red, Double green, Double blue); - internal static Color3d glColor3d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Color3dv(Double* v); - internal unsafe static Color3dv glColor3dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Color3f(Single red, Single green, Single blue); - internal static Color3f glColor3f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Color3fv(Single* v); - internal unsafe static Color3fv glColor3fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Color3fVertex3fSUN(Single r, Single g, Single b, Single x, Single y, Single z); - internal static Color3fVertex3fSUN glColor3fVertex3fSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Color3fVertex3fvSUN(Single* c, Single* v); - internal unsafe static Color3fVertex3fvSUN glColor3fVertex3fvSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Color3hNV(Half red, Half green, Half blue); - internal static Color3hNV glColor3hNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Color3hvNV(Half* v); - internal unsafe static Color3hvNV glColor3hvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Color3i(Int32 red, Int32 green, Int32 blue); - internal static Color3i glColor3i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Color3iv(Int32* v); - internal unsafe static Color3iv glColor3iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Color3s(Int16 red, Int16 green, Int16 blue); - internal static Color3s glColor3s; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Color3sv(Int16* v); - internal unsafe static Color3sv glColor3sv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Color3ub(Byte red, Byte green, Byte blue); - internal static Color3ub glColor3ub; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Color3ubv(Byte* v); - internal unsafe static Color3ubv glColor3ubv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Color3ui(UInt32 red, UInt32 green, UInt32 blue); - internal static Color3ui glColor3ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Color3uiv(UInt32* v); - internal unsafe static Color3uiv glColor3uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Color3us(UInt16 red, UInt16 green, UInt16 blue); - internal static Color3us glColor3us; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Color3usv(UInt16* v); - internal unsafe static Color3usv glColor3usv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Color3xOES(int red, int green, int blue); - internal static Color3xOES glColor3xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Color3xvOES(int* components); - internal unsafe static Color3xvOES glColor3xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Color4b(SByte red, SByte green, SByte blue, SByte alpha); - internal static Color4b glColor4b; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Color4bv(SByte* v); - internal unsafe static Color4bv glColor4bv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Color4d(Double red, Double green, Double blue, Double alpha); - internal static Color4d glColor4d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Color4dv(Double* v); - internal unsafe static Color4dv glColor4dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Color4f(Single red, Single green, Single blue, Single alpha); - internal static Color4f glColor4f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Color4fNormal3fVertex3fSUN(Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z); - internal static Color4fNormal3fVertex3fSUN glColor4fNormal3fVertex3fSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Color4fNormal3fVertex3fvSUN(Single* c, Single* n, Single* v); - internal unsafe static Color4fNormal3fVertex3fvSUN glColor4fNormal3fVertex3fvSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Color4fv(Single* v); - internal unsafe static Color4fv glColor4fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Color4hNV(Half red, Half green, Half blue, Half alpha); - internal static Color4hNV glColor4hNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Color4hvNV(Half* v); - internal unsafe static Color4hvNV glColor4hvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Color4i(Int32 red, Int32 green, Int32 blue, Int32 alpha); - internal static Color4i glColor4i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Color4iv(Int32* v); - internal unsafe static Color4iv glColor4iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Color4s(Int16 red, Int16 green, Int16 blue, Int16 alpha); - internal static Color4s glColor4s; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Color4sv(Int16* v); - internal unsafe static Color4sv glColor4sv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Color4ub(Byte red, Byte green, Byte blue, Byte alpha); - internal static Color4ub glColor4ub; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Color4ubv(Byte* v); - internal unsafe static Color4ubv glColor4ubv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Color4ubVertex2fSUN(Byte r, Byte g, Byte b, Byte a, Single x, Single y); - internal static Color4ubVertex2fSUN glColor4ubVertex2fSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Color4ubVertex2fvSUN(Byte* c, Single* v); - internal unsafe static Color4ubVertex2fvSUN glColor4ubVertex2fvSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Color4ubVertex3fSUN(Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z); - internal static Color4ubVertex3fSUN glColor4ubVertex3fSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Color4ubVertex3fvSUN(Byte* c, Single* v); - internal unsafe static Color4ubVertex3fvSUN glColor4ubVertex3fvSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Color4ui(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha); - internal static Color4ui glColor4ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Color4uiv(UInt32* v); - internal unsafe static Color4uiv glColor4uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Color4us(UInt16 red, UInt16 green, UInt16 blue, UInt16 alpha); - internal static Color4us glColor4us; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Color4usv(UInt16* v); - internal unsafe static Color4usv glColor4usv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Color4xOES(int red, int green, int blue, int alpha); - internal static Color4xOES glColor4xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Color4xvOES(int* components); - internal unsafe static Color4xvOES glColor4xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorFormatNV(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); - internal static ColorFormatNV glColorFormatNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorFragmentOp1ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod); - internal static ColorFragmentOp1ATI glColorFragmentOp1ATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorFragmentOp2ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod); - internal static ColorFragmentOp2ATI glColorFragmentOp2ATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorFragmentOp3ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod); - internal static ColorFragmentOp3ATI glColorFragmentOp3ATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorMask(bool red, bool green, bool blue, bool alpha); - internal static ColorMask glColorMask; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorMaski(UInt32 index, bool r, bool g, bool b, bool a); - internal static ColorMaski glColorMaski; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorMaskIndexedEXT(UInt32 index, bool r, bool g, bool b, bool a); - internal static ColorMaskIndexedEXT glColorMaskIndexedEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.ColorMaterialParameter mode); - internal static ColorMaterial glColorMaterial; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorP3ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 color); - internal static ColorP3ui glColorP3ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ColorP3uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* color); - internal unsafe static ColorP3uiv glColorP3uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorP4ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 color); - internal static ColorP4ui glColorP4ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ColorP4uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* color); - internal unsafe static ColorP4uiv glColorP4uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer); - internal static ColorPointer glColorPointer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, Int32 count, IntPtr pointer); - internal static ColorPointerEXT glColorPointerEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorPointerListIBM(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); - internal static ColorPointerListIBM glColorPointerListIBM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorPointervINTEL(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer); - internal static ColorPointervINTEL glColorPointervINTEL; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data); - internal static ColorSubTable glColorSubTable; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorSubTableEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data); - internal static ColorSubTableEXT glColorSubTableEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table); - internal static ColorTable glColorTable; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorTableEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table); - internal static ColorTableEXT glColorTableEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ColorTableParameterfv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, Single* @params); - internal unsafe static ColorTableParameterfv glColorTableParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ColorTableParameterfvSGI(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi pname, Single* @params); - internal unsafe static ColorTableParameterfvSGI glColorTableParameterfvSGI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ColorTableParameteriv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, Int32* @params); - internal unsafe static ColorTableParameteriv glColorTableParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ColorTableParameterivSGI(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi pname, Int32* @params); - internal unsafe static ColorTableParameterivSGI glColorTableParameterivSGI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorTableSGI(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table); - internal static ColorTableSGI glColorTableSGI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CombinerInputNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners input, OpenTK.Graphics.OpenGL.NvRegisterCombiners mapping, OpenTK.Graphics.OpenGL.NvRegisterCombiners componentUsage); - internal static CombinerInputNV glCombinerInputNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CombinerOutputNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners abOutput, OpenTK.Graphics.OpenGL.NvRegisterCombiners cdOutput, OpenTK.Graphics.OpenGL.NvRegisterCombiners sumOutput, OpenTK.Graphics.OpenGL.NvRegisterCombiners scale, OpenTK.Graphics.OpenGL.NvRegisterCombiners bias, bool abDotProduct, bool cdDotProduct, bool muxSum); - internal static CombinerOutputNV glCombinerOutputNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CombinerParameterfNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Single param); - internal static CombinerParameterfNV glCombinerParameterfNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void CombinerParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Single* @params); - internal unsafe static CombinerParameterfvNV glCombinerParameterfvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CombinerParameteriNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Int32 param); - internal static CombinerParameteriNV glCombinerParameteriNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void CombinerParameterivNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Int32* @params); - internal unsafe static CombinerParameterivNV glCombinerParameterivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void CombinerStageParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, Single* @params); - internal unsafe static CombinerStageParameterfvNV glCombinerStageParameterfvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompileShader(UInt32 shader); - internal static CompileShader glCompileShader; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompileShaderARB(UInt32 shaderObj); - internal static CompileShaderARB glCompileShaderARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void CompileShaderIncludeARB(UInt32 shader, Int32 count, String[] path, Int32* length); - internal unsafe static CompileShaderIncludeARB glCompileShaderIncludeARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedMultiTexImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits); - internal static CompressedMultiTexImage1DEXT glCompressedMultiTexImage1DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedMultiTexImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits); - internal static CompressedMultiTexImage2DEXT glCompressedMultiTexImage2DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedMultiTexImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits); - internal static CompressedMultiTexImage3DEXT glCompressedMultiTexImage3DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedMultiTexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); - internal static CompressedMultiTexSubImage1DEXT glCompressedMultiTexSubImage1DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedMultiTexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); - internal static CompressedMultiTexSubImage2DEXT glCompressedMultiTexSubImage2DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedMultiTexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); - internal static CompressedMultiTexSubImage3DEXT glCompressedMultiTexSubImage3DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data); - internal static CompressedTexImage1D glCompressedTexImage1D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexImage1DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data); - internal static CompressedTexImage1DARB glCompressedTexImage1DARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); - internal static CompressedTexImage2D glCompressedTexImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexImage2DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); - internal static CompressedTexImage2DARB glCompressedTexImage2DARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); - internal static CompressedTexImage3D glCompressedTexImage3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexImage3DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); - internal static CompressedTexImage3DARB glCompressedTexImage3DARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); - internal static CompressedTexSubImage1D glCompressedTexSubImage1D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexSubImage1DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); - internal static CompressedTexSubImage1DARB glCompressedTexSubImage1DARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); - internal static CompressedTexSubImage2D glCompressedTexSubImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexSubImage2DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); - internal static CompressedTexSubImage2DARB glCompressedTexSubImage2DARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); - internal static CompressedTexSubImage3D glCompressedTexSubImage3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexSubImage3DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); - internal static CompressedTexSubImage3DARB glCompressedTexSubImage3DARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTextureImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits); - internal static CompressedTextureImage1DEXT glCompressedTextureImage1DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTextureImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits); - internal static CompressedTextureImage2DEXT glCompressedTextureImage2DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTextureImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits); - internal static CompressedTextureImage3DEXT glCompressedTextureImage3DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTextureSubImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); - internal static CompressedTextureSubImage1DEXT glCompressedTextureSubImage1DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTextureSubImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); - internal static CompressedTextureSubImage2DEXT glCompressedTextureSubImage2DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTextureSubImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); - internal static CompressedTextureSubImage3DEXT glCompressedTextureSubImage3DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); - internal static ConvolutionFilter1D glConvolutionFilter1D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ConvolutionFilter1DEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); - internal static ConvolutionFilter1DEXT glConvolutionFilter1DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); - internal static ConvolutionFilter2D glConvolutionFilter2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ConvolutionFilter2DEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); - internal static ConvolutionFilter2DEXT glConvolutionFilter2DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ConvolutionParameterf(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Single @params); - internal static ConvolutionParameterf glConvolutionParameterf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ConvolutionParameterfEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, Single @params); - internal static ConvolutionParameterfEXT glConvolutionParameterfEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ConvolutionParameterfv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Single* @params); - internal unsafe static ConvolutionParameterfv glConvolutionParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ConvolutionParameterfvEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, Single* @params); - internal unsafe static ConvolutionParameterfvEXT glConvolutionParameterfvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ConvolutionParameteri(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Int32 @params); - internal static ConvolutionParameteri glConvolutionParameteri; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ConvolutionParameteriEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, Int32 @params); - internal static ConvolutionParameteriEXT glConvolutionParameteriEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ConvolutionParameteriv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Int32* @params); - internal unsafe static ConvolutionParameteriv glConvolutionParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ConvolutionParameterivEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, Int32* @params); - internal unsafe static ConvolutionParameterivEXT glConvolutionParameterivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ConvolutionParameterxOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); - internal static ConvolutionParameterxOES glConvolutionParameterxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ConvolutionParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params); - internal unsafe static ConvolutionParameterxvOES glConvolutionParameterxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget readTarget, OpenTK.Graphics.OpenGL.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size); - internal static CopyBufferSubData glCopyBufferSubData; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width); - internal static CopyColorSubTable glCopyColorSubTable; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyColorSubTableEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width); - internal static CopyColorSubTableEXT glCopyColorSubTableEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); - internal static CopyColorTable glCopyColorTable; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyColorTableSGI(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); - internal static CopyColorTableSGI glCopyColorTableSGI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); - internal static CopyConvolutionFilter1D glCopyConvolutionFilter1D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyConvolutionFilter1DEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); - internal static CopyConvolutionFilter1DEXT glCopyConvolutionFilter1DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height); - internal static CopyConvolutionFilter2D glCopyConvolutionFilter2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyConvolutionFilter2DEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height); - internal static CopyConvolutionFilter2DEXT glCopyConvolutionFilter2DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyImageSubData(UInt32 srcName, OpenTK.Graphics.OpenGL.ImageTarget srcTarget, Int32 srcLevel, Int32 srcX, Int32 srcY, Int32 srcZ, UInt32 dstName, OpenTK.Graphics.OpenGL.ImageTarget dstTarget, Int32 dstLevel, Int32 dstX, Int32 dstY, Int32 dstZ, Int32 srcWidth, Int32 srcHeight, Int32 srcDepth); - internal static CopyImageSubData glCopyImageSubData; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyImageSubDataNV(UInt32 srcName, OpenTK.Graphics.OpenGL.NvCopyImage srcTarget, Int32 srcLevel, Int32 srcX, Int32 srcY, Int32 srcZ, UInt32 dstName, OpenTK.Graphics.OpenGL.NvCopyImage dstTarget, Int32 dstLevel, Int32 dstX, Int32 dstY, Int32 dstZ, Int32 width, Int32 height, Int32 depth); - internal static CopyImageSubDataNV glCopyImageSubDataNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyMultiTexImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border); - internal static CopyMultiTexImage1DEXT glCopyMultiTexImage1DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyMultiTexImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); - internal static CopyMultiTexImage2DEXT glCopyMultiTexImage2DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyMultiTexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); - internal static CopyMultiTexSubImage1DEXT glCopyMultiTexSubImage1DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyMultiTexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); - internal static CopyMultiTexSubImage2DEXT glCopyMultiTexSubImage2DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyMultiTexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); - internal static CopyMultiTexSubImage3DEXT glCopyMultiTexSubImage3DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyPathNV(UInt32 resultPath, UInt32 srcPath); - internal static CopyPathNV glCopyPathNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelCopyType type); - internal static CopyPixels glCopyPixels; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border); - internal static CopyTexImage1D glCopyTexImage1D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexImage1DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border); - internal static CopyTexImage1DEXT glCopyTexImage1DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); - internal static CopyTexImage2D glCopyTexImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexImage2DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); - internal static CopyTexImage2DEXT glCopyTexImage2DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); - internal static CopyTexSubImage1D glCopyTexSubImage1D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); - internal static CopyTexSubImage1DEXT glCopyTexSubImage1DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); - internal static CopyTexSubImage2D glCopyTexSubImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); - internal static CopyTexSubImage2DEXT glCopyTexSubImage2DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); - internal static CopyTexSubImage3D glCopyTexSubImage3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); - internal static CopyTexSubImage3DEXT glCopyTexSubImage3DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTextureImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border); - internal static CopyTextureImage1DEXT glCopyTextureImage1DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTextureImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); - internal static CopyTextureImage2DEXT glCopyTextureImage2DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTextureSubImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); - internal static CopyTextureSubImage1DEXT glCopyTextureSubImage1DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTextureSubImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); - internal static CopyTextureSubImage2DEXT glCopyTextureSubImage2DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTextureSubImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); - internal static CopyTextureSubImage3DEXT glCopyTextureSubImage3DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void CoverFillPathInstancedNV(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues); - internal unsafe static CoverFillPathInstancedNV glCoverFillPathInstancedNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CoverFillPathNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering coverMode); - internal static CoverFillPathNV glCoverFillPathNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void CoverStrokePathInstancedNV(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues); - internal unsafe static CoverStrokePathInstancedNV glCoverStrokePathInstancedNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CoverStrokePathNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering coverMode); - internal static CoverStrokePathNV glCoverStrokePathNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 CreateProgram(); - internal static CreateProgram glCreateProgram; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 CreateProgramObjectARB(); - internal static CreateProgramObjectARB glCreateProgramObjectARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 CreateShader(OpenTK.Graphics.OpenGL.ShaderType type); - internal static CreateShader glCreateShader; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 CreateShaderObjectARB(OpenTK.Graphics.OpenGL.ArbShaderObjects shaderType); - internal static CreateShaderObjectARB glCreateShaderObjectARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 CreateShaderProgramEXT(OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects type, String @string); - internal static CreateShaderProgramEXT glCreateShaderProgramEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 CreateShaderProgramv(OpenTK.Graphics.OpenGL.ShaderType type, Int32 count, String[] strings); - internal static CreateShaderProgramv glCreateShaderProgramv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 CreateShaderProgramvEXT(OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects type, Int32 count, String[] strings); - internal static CreateShaderProgramvEXT glCreateShaderProgramvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate IntPtr CreateSyncFromCLeventARB([OutAttribute] IntPtr* context, [OutAttribute] IntPtr* @event, UInt32 flags); - internal unsafe static CreateSyncFromCLeventARB glCreateSyncFromCLeventARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CullFace(OpenTK.Graphics.OpenGL.CullFaceMode mode); - internal static CullFace glCullFace; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void CullParameterdvEXT(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [OutAttribute] Double* @params); - internal unsafe static CullParameterdvEXT glCullParameterdvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void CullParameterfvEXT(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [OutAttribute] Single* @params); - internal unsafe static CullParameterfvEXT glCullParameterfvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CurrentPaletteMatrixARB(Int32 index); - internal static CurrentPaletteMatrixARB glCurrentPaletteMatrixARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DebugMessageCallback(DebugProc callback, IntPtr userParam); - internal static DebugMessageCallback glDebugMessageCallback; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DebugMessageCallbackAMD(DebugProcAmd callback, [OutAttribute] IntPtr userParam); - internal static DebugMessageCallbackAMD glDebugMessageCallbackAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DebugMessageCallbackARB(DebugProcArb callback, IntPtr userParam); - internal static DebugMessageCallbackARB glDebugMessageCallbackARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DebugMessageCallbackKHR(DebugProcKhr callback, IntPtr userParam); - internal static DebugMessageCallbackKHR glDebugMessageCallbackKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DebugMessageControl(OpenTK.Graphics.OpenGL.DebugSourceControl source, OpenTK.Graphics.OpenGL.DebugTypeControl type, OpenTK.Graphics.OpenGL.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled); - internal unsafe static DebugMessageControl glDebugMessageControl; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DebugMessageControlARB(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 count, UInt32* ids, bool enabled); - internal unsafe static DebugMessageControlARB glDebugMessageControlARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DebugMessageControlKHR(OpenTK.Graphics.OpenGL.KhrDebug source, OpenTK.Graphics.OpenGL.KhrDebug type, OpenTK.Graphics.OpenGL.KhrDebug severity, Int32 count, UInt32* ids, bool enabled); - internal unsafe static DebugMessageControlKHR glDebugMessageControlKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DebugMessageEnableAMD(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, Int32 count, UInt32* ids, bool enabled); - internal unsafe static DebugMessageEnableAMD glDebugMessageEnableAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DebugMessageInsert(OpenTK.Graphics.OpenGL.DebugSourceExternal source, OpenTK.Graphics.OpenGL.DebugType type, UInt32 id, OpenTK.Graphics.OpenGL.DebugSeverity severity, Int32 length, String buf); - internal static DebugMessageInsert glDebugMessageInsert; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DebugMessageInsertAMD(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, UInt32 id, Int32 length, String buf); - internal static DebugMessageInsertAMD glDebugMessageInsertAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DebugMessageInsertARB(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, UInt32 id, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 length, String buf); - internal static DebugMessageInsertARB glDebugMessageInsertARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DebugMessageInsertKHR(OpenTK.Graphics.OpenGL.KhrDebug source, OpenTK.Graphics.OpenGL.KhrDebug type, UInt32 id, OpenTK.Graphics.OpenGL.KhrDebug severity, Int32 length, String buf); - internal static DebugMessageInsertKHR glDebugMessageInsertKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeformationMap3dSGIX(OpenTK.Graphics.OpenGL.FfdTargetSgix target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double* points); - internal unsafe static DeformationMap3dSGIX glDeformationMap3dSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeformationMap3fSGIX(OpenTK.Graphics.OpenGL.FfdTargetSgix target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single* points); - internal unsafe static DeformationMap3fSGIX glDeformationMap3fSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DeformSGIX(OpenTK.Graphics.OpenGL.FfdMaskSgix mask); - internal static DeformSGIX glDeformSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DeleteAsyncMarkersSGIX(UInt32 marker, Int32 range); - internal static DeleteAsyncMarkersSGIX glDeleteAsyncMarkersSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteBuffers(Int32 n, UInt32* buffers); - internal unsafe static DeleteBuffers glDeleteBuffers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteBuffersARB(Int32 n, UInt32* buffers); - internal unsafe static DeleteBuffersARB glDeleteBuffersARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteFencesAPPLE(Int32 n, UInt32* fences); - internal unsafe static DeleteFencesAPPLE glDeleteFencesAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteFencesNV(Int32 n, UInt32* fences); - internal unsafe static DeleteFencesNV glDeleteFencesNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DeleteFragmentShaderATI(UInt32 id); - internal static DeleteFragmentShaderATI glDeleteFragmentShaderATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteFramebuffers(Int32 n, UInt32* framebuffers); - internal unsafe static DeleteFramebuffers glDeleteFramebuffers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteFramebuffersEXT(Int32 n, UInt32* framebuffers); - internal unsafe static DeleteFramebuffersEXT glDeleteFramebuffersEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DeleteLists(UInt32 list, Int32 range); - internal static DeleteLists glDeleteLists; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DeleteNamedStringARB(Int32 namelen, String name); - internal static DeleteNamedStringARB glDeleteNamedStringARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteNamesAMD(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 num, UInt32* names); - internal unsafe static DeleteNamesAMD glDeleteNamesAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DeleteObjectARB(UInt32 obj); - internal static DeleteObjectARB glDeleteObjectARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteOcclusionQueriesNV(Int32 n, UInt32* ids); - internal unsafe static DeleteOcclusionQueriesNV glDeleteOcclusionQueriesNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DeletePathsNV(UInt32 path, Int32 range); - internal static DeletePathsNV glDeletePathsNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeletePerfMonitorsAMD(Int32 n, UInt32* monitors); - internal unsafe static DeletePerfMonitorsAMD glDeletePerfMonitorsAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DeleteProgram(UInt32 program); - internal static DeleteProgram glDeleteProgram; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteProgramPipelines(Int32 n, UInt32* pipelines); - internal unsafe static DeleteProgramPipelines glDeleteProgramPipelines; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteProgramPipelinesEXT(Int32 n, UInt32* pipelines); - internal unsafe static DeleteProgramPipelinesEXT glDeleteProgramPipelinesEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteProgramsARB(Int32 n, UInt32* programs); - internal unsafe static DeleteProgramsARB glDeleteProgramsARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteProgramsNV(Int32 n, UInt32* programs); - internal unsafe static DeleteProgramsNV glDeleteProgramsNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteQueries(Int32 n, UInt32* ids); - internal unsafe static DeleteQueries glDeleteQueries; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteQueriesARB(Int32 n, UInt32* ids); - internal unsafe static DeleteQueriesARB glDeleteQueriesARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers); - internal unsafe static DeleteRenderbuffers glDeleteRenderbuffers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteRenderbuffersEXT(Int32 n, UInt32* renderbuffers); - internal unsafe static DeleteRenderbuffersEXT glDeleteRenderbuffersEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteSamplers(Int32 count, UInt32* samplers); - internal unsafe static DeleteSamplers glDeleteSamplers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DeleteShader(UInt32 shader); - internal static DeleteShader glDeleteShader; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DeleteSync(IntPtr sync); - internal static DeleteSync glDeleteSync; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteTextures(Int32 n, UInt32* textures); - internal unsafe static DeleteTextures glDeleteTextures; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteTexturesEXT(Int32 n, UInt32* textures); - internal unsafe static DeleteTexturesEXT glDeleteTexturesEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteTransformFeedbacks(Int32 n, UInt32* ids); - internal unsafe static DeleteTransformFeedbacks glDeleteTransformFeedbacks; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteTransformFeedbacksNV(Int32 n, UInt32* ids); - internal unsafe static DeleteTransformFeedbacksNV glDeleteTransformFeedbacksNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteVertexArrays(Int32 n, UInt32* arrays); - internal unsafe static DeleteVertexArrays glDeleteVertexArrays; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteVertexArraysAPPLE(Int32 n, UInt32* arrays); - internal unsafe static DeleteVertexArraysAPPLE glDeleteVertexArraysAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DeleteVertexShaderEXT(UInt32 id); - internal static DeleteVertexShaderEXT glDeleteVertexShaderEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DepthBoundsdNV(Double zmin, Double zmax); - internal static DepthBoundsdNV glDepthBoundsdNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DepthBoundsEXT(Double zmin, Double zmax); - internal static DepthBoundsEXT glDepthBoundsEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DepthFunc(OpenTK.Graphics.OpenGL.DepthFunction func); - internal static DepthFunc glDepthFunc; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DepthMask(bool flag); - internal static DepthMask glDepthMask; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DepthRange(Double near, Double far); - internal static DepthRange glDepthRange; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DepthRangeArrayv(UInt32 first, Int32 count, Double* v); - internal unsafe static DepthRangeArrayv glDepthRangeArrayv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DepthRangedNV(Double zNear, Double zFar); - internal static DepthRangedNV glDepthRangedNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DepthRangef(Single n, Single f); - internal static DepthRangef glDepthRangef; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DepthRangefOES(Single n, Single f); - internal static DepthRangefOES glDepthRangefOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DepthRangeIndexed(UInt32 index, Double n, Double f); - internal static DepthRangeIndexed glDepthRangeIndexed; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DepthRangexOES(int n, int f); - internal static DepthRangexOES glDepthRangexOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DetachObjectARB(UInt32 containerObj, UInt32 attachedObj); - internal static DetachObjectARB glDetachObjectARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DetachShader(UInt32 program, UInt32 shader); - internal static DetachShader glDetachShader; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DetailTexFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, Single* points); - internal unsafe static DetailTexFuncSGIS glDetailTexFuncSGIS; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Disable(OpenTK.Graphics.OpenGL.EnableCap cap); - internal static Disable glDisable; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DisableClientState(OpenTK.Graphics.OpenGL.ArrayCap array); - internal static DisableClientState glDisableClientState; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DisableClientStateiEXT(OpenTK.Graphics.OpenGL.ArrayCap array, UInt32 index); - internal static DisableClientStateiEXT glDisableClientStateiEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DisableClientStateIndexedEXT(OpenTK.Graphics.OpenGL.ArrayCap array, UInt32 index); - internal static DisableClientStateIndexedEXT glDisableClientStateIndexedEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Disablei(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); - internal static Disablei glDisablei; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DisableIndexedEXT(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); - internal static DisableIndexedEXT glDisableIndexedEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DisableVariantClientStateEXT(UInt32 id); - internal static DisableVariantClientStateEXT glDisableVariantClientStateEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DisableVertexArrayAttribEXT(UInt32 vaobj, UInt32 index); - internal static DisableVertexArrayAttribEXT glDisableVertexArrayAttribEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DisableVertexArrayEXT(UInt32 vaobj, OpenTK.Graphics.OpenGL.EnableCap array); - internal static DisableVertexArrayEXT glDisableVertexArrayEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DisableVertexAttribAPPLE(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname); - internal static DisableVertexAttribAPPLE glDisableVertexAttribAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DisableVertexAttribArray(UInt32 index); - internal static DisableVertexAttribArray glDisableVertexAttribArray; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DisableVertexAttribArrayARB(UInt32 index); - internal static DisableVertexAttribArrayARB glDisableVertexAttribArrayARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DispatchCompute(UInt32 num_groups_x, UInt32 num_groups_y, UInt32 num_groups_z); - internal static DispatchCompute glDispatchCompute; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DispatchComputeGroupSizeARB(UInt32 num_groups_x, UInt32 num_groups_y, UInt32 num_groups_z, UInt32 group_size_x, UInt32 group_size_y, UInt32 group_size_z); - internal static DispatchComputeGroupSizeARB glDispatchComputeGroupSizeARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DispatchComputeIndirect(IntPtr indirect); - internal static DispatchComputeIndirect glDispatchComputeIndirect; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count); - internal static DrawArrays glDrawArrays; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawArraysEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count); - internal static DrawArraysEXT glDrawArraysEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, IntPtr indirect); - internal static DrawArraysIndirect glDrawArraysIndirect; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawArraysInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount); - internal static DrawArraysInstanced glDrawArraysInstanced; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawArraysInstancedARB(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount); - internal static DrawArraysInstancedARB glDrawArraysInstancedARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawArraysInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount, UInt32 baseinstance); - internal static DrawArraysInstancedBaseInstance glDrawArraysInstancedBaseInstance; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawArraysInstancedEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 count, Int32 primcount); - internal static DrawArraysInstancedEXT glDrawArraysInstancedEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawBuffer(OpenTK.Graphics.OpenGL.DrawBufferMode mode); - internal static DrawBuffer glDrawBuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL.DrawBuffersEnum* bufs); - internal unsafe static DrawBuffers glDrawBuffers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DrawBuffersARB(Int32 n, OpenTK.Graphics.OpenGL.ArbDrawBuffers* bufs); - internal unsafe static DrawBuffersARB glDrawBuffersARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DrawBuffersATI(Int32 n, OpenTK.Graphics.OpenGL.AtiDrawBuffers* bufs); - internal unsafe static DrawBuffersATI glDrawBuffersATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElementArrayAPPLE(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count); - internal static DrawElementArrayAPPLE glDrawElementArrayAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElementArrayATI(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count); - internal static DrawElementArrayATI glDrawElementArrayATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices); - internal static DrawElements glDrawElements; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex); - internal static DrawElementsBaseVertex glDrawElementsBaseVertex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElementsIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, OpenTK.Graphics.OpenGL.All type, IntPtr indirect); - internal static DrawElementsIndirect glDrawElementsIndirect; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount); - internal static DrawElementsInstanced glDrawElementsInstanced; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElementsInstancedARB(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); - internal static DrawElementsInstancedARB glDrawElementsInstancedARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, UInt32 baseinstance); - internal static DrawElementsInstancedBaseInstance glDrawElementsInstancedBaseInstance; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex); - internal static DrawElementsInstancedBaseVertex glDrawElementsInstancedBaseVertex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance); - internal static DrawElementsInstancedBaseVertexBaseInstance glDrawElementsInstancedBaseVertexBaseInstance; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElementsInstancedEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); - internal static DrawElementsInstancedEXT glDrawElementsInstancedEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawMeshArraysSUN(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 width); - internal static DrawMeshArraysSUN glDrawMeshArraysSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - internal static DrawPixels glDrawPixels; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawRangeElementArrayAPPLE(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 first, Int32 count); - internal static DrawRangeElementArrayAPPLE glDrawRangeElementArrayAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawRangeElementArrayATI(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count); - internal static DrawRangeElementArrayATI glDrawRangeElementArrayATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices); - internal static DrawRangeElements glDrawRangeElements; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex); - internal static DrawRangeElementsBaseVertex glDrawRangeElementsBaseVertex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawRangeElementsEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices); - internal static DrawRangeElementsEXT glDrawRangeElementsEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawTextureNV(UInt32 texture, UInt32 sampler, Single x0, Single y0, Single x1, Single y1, Single z, Single s0, Single t0, Single s1, Single t1); - internal static DrawTextureNV glDrawTextureNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawTransformFeedback(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id); - internal static DrawTransformFeedback glDrawTransformFeedback; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawTransformFeedbackInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id, Int32 instancecount); - internal static DrawTransformFeedbackInstanced glDrawTransformFeedbackInstanced; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawTransformFeedbackNV(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id); - internal static DrawTransformFeedbackNV glDrawTransformFeedbackNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawTransformFeedbackStream(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id, UInt32 stream); - internal static DrawTransformFeedbackStream glDrawTransformFeedbackStream; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawTransformFeedbackStreamInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id, UInt32 stream, Int32 instancecount); - internal static DrawTransformFeedbackStreamInstanced glDrawTransformFeedbackStreamInstanced; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EdgeFlag(bool flag); - internal static EdgeFlag glEdgeFlag; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EdgeFlagFormatNV(Int32 stride); - internal static EdgeFlagFormatNV glEdgeFlagFormatNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EdgeFlagPointer(Int32 stride, IntPtr pointer); - internal static EdgeFlagPointer glEdgeFlagPointer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void EdgeFlagPointerEXT(Int32 stride, Int32 count, bool* pointer); - internal unsafe static EdgeFlagPointerEXT glEdgeFlagPointerEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void EdgeFlagPointerListIBM(Int32 stride, bool** pointer, Int32 ptrstride); - internal unsafe static EdgeFlagPointerListIBM glEdgeFlagPointerListIBM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void EdgeFlagv(bool* flag); - internal unsafe static EdgeFlagv glEdgeFlagv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ElementPointerAPPLE(OpenTK.Graphics.OpenGL.AppleElementArray type, IntPtr pointer); - internal static ElementPointerAPPLE glElementPointerAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ElementPointerATI(OpenTK.Graphics.OpenGL.AtiElementArray type, IntPtr pointer); - internal static ElementPointerATI glElementPointerATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Enable(OpenTK.Graphics.OpenGL.EnableCap cap); - internal static Enable glEnable; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EnableClientState(OpenTK.Graphics.OpenGL.ArrayCap array); - internal static EnableClientState glEnableClientState; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EnableClientStateiEXT(OpenTK.Graphics.OpenGL.ArrayCap array, UInt32 index); - internal static EnableClientStateiEXT glEnableClientStateiEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EnableClientStateIndexedEXT(OpenTK.Graphics.OpenGL.ArrayCap array, UInt32 index); - internal static EnableClientStateIndexedEXT glEnableClientStateIndexedEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Enablei(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); - internal static Enablei glEnablei; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EnableIndexedEXT(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); - internal static EnableIndexedEXT glEnableIndexedEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EnableVariantClientStateEXT(UInt32 id); - internal static EnableVariantClientStateEXT glEnableVariantClientStateEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EnableVertexArrayAttribEXT(UInt32 vaobj, UInt32 index); - internal static EnableVertexArrayAttribEXT glEnableVertexArrayAttribEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EnableVertexArrayEXT(UInt32 vaobj, OpenTK.Graphics.OpenGL.EnableCap array); - internal static EnableVertexArrayEXT glEnableVertexArrayEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EnableVertexAttribAPPLE(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname); - internal static EnableVertexAttribAPPLE glEnableVertexAttribAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EnableVertexAttribArray(UInt32 index); - internal static EnableVertexAttribArray glEnableVertexAttribArray; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EnableVertexAttribArrayARB(UInt32 index); - internal static EnableVertexAttribArrayARB glEnableVertexAttribArrayARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void End(); - internal static End glEnd; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndConditionalRender(); - internal static EndConditionalRender glEndConditionalRender; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndConditionalRenderNV(); - internal static EndConditionalRenderNV glEndConditionalRenderNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndConditionalRenderNVX(); - internal static EndConditionalRenderNVX glEndConditionalRenderNVX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndFragmentShaderATI(); - internal static EndFragmentShaderATI glEndFragmentShaderATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndList(); - internal static EndList glEndList; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndOcclusionQueryNV(); - internal static EndOcclusionQueryNV glEndOcclusionQueryNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndPerfMonitorAMD(UInt32 monitor); - internal static EndPerfMonitorAMD glEndPerfMonitorAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndQuery(OpenTK.Graphics.OpenGL.QueryTarget target); - internal static EndQuery glEndQuery; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndQueryARB(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target); - internal static EndQueryARB glEndQueryARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index); - internal static EndQueryIndexed glEndQueryIndexed; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndTransformFeedback(); - internal static EndTransformFeedback glEndTransformFeedback; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndTransformFeedbackEXT(); - internal static EndTransformFeedbackEXT glEndTransformFeedbackEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndTransformFeedbackNV(); - internal static EndTransformFeedbackNV glEndTransformFeedbackNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndVertexShaderEXT(); - internal static EndVertexShaderEXT glEndVertexShaderEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndVideoCaptureNV(UInt32 video_capture_slot); - internal static EndVideoCaptureNV glEndVideoCaptureNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EvalCoord1d(Double u); - internal static EvalCoord1d glEvalCoord1d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void EvalCoord1dv(Double* u); - internal unsafe static EvalCoord1dv glEvalCoord1dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EvalCoord1f(Single u); - internal static EvalCoord1f glEvalCoord1f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void EvalCoord1fv(Single* u); - internal unsafe static EvalCoord1fv glEvalCoord1fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EvalCoord1xOES(int u); - internal static EvalCoord1xOES glEvalCoord1xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void EvalCoord1xvOES(int* coords); - internal unsafe static EvalCoord1xvOES glEvalCoord1xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EvalCoord2d(Double u, Double v); - internal static EvalCoord2d glEvalCoord2d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void EvalCoord2dv(Double* u); - internal unsafe static EvalCoord2dv glEvalCoord2dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EvalCoord2f(Single u, Single v); - internal static EvalCoord2f glEvalCoord2f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void EvalCoord2fv(Single* u); - internal unsafe static EvalCoord2fv glEvalCoord2fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EvalCoord2xOES(int u, int v); - internal static EvalCoord2xOES glEvalCoord2xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void EvalCoord2xvOES(int* coords); - internal unsafe static EvalCoord2xvOES glEvalCoord2xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EvalMapsNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators mode); - internal static EvalMapsNV glEvalMapsNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EvalMesh1(OpenTK.Graphics.OpenGL.MeshMode1 mode, Int32 i1, Int32 i2); - internal static EvalMesh1 glEvalMesh1; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EvalMesh2(OpenTK.Graphics.OpenGL.MeshMode2 mode, Int32 i1, Int32 i2, Int32 j1, Int32 j2); - internal static EvalMesh2 glEvalMesh2; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EvalPoint1(Int32 i); - internal static EvalPoint1 glEvalPoint1; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EvalPoint2(Int32 i, Int32 j); - internal static EvalPoint2 glEvalPoint2; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ExecuteProgramNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, Single* @params); - internal unsafe static ExecuteProgramNV glExecuteProgramNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ExtractComponentEXT(UInt32 res, UInt32 src, UInt32 num); - internal static ExtractComponentEXT glExtractComponentEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void FeedbackBuffer(Int32 size, OpenTK.Graphics.OpenGL.FeedbackType type, [OutAttribute] Single* buffer); - internal unsafe static FeedbackBuffer glFeedbackBuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void FeedbackBufferxOES(Int32 n, OpenTK.Graphics.OpenGL.OesFixedPoint type, int* buffer); - internal unsafe static FeedbackBufferxOES glFeedbackBufferxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr FenceSync(OpenTK.Graphics.OpenGL.SyncCondition condition, OpenTK.Graphics.OpenGL.WaitSyncFlags flags); - internal static FenceSync glFenceSync; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FinalCombinerInputNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners input, OpenTK.Graphics.OpenGL.NvRegisterCombiners mapping, OpenTK.Graphics.OpenGL.NvRegisterCombiners componentUsage); - internal static FinalCombinerInputNV glFinalCombinerInputNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Finish(); - internal static Finish glFinish; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Int32 FinishAsyncSGIX([OutAttribute] UInt32* markerp); - internal unsafe static FinishAsyncSGIX glFinishAsyncSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FinishFenceAPPLE(UInt32 fence); - internal static FinishFenceAPPLE glFinishFenceAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FinishFenceNV(UInt32 fence); - internal static FinishFenceNV glFinishFenceNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FinishObjectAPPLE(OpenTK.Graphics.OpenGL.AppleFence @object, Int32 name); - internal static FinishObjectAPPLE glFinishObjectAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FinishTextureSUNX(); - internal static FinishTextureSUNX glFinishTextureSUNX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Flush(); - internal static Flush glFlush; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FlushMappedBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr length); - internal static FlushMappedBufferRange glFlushMappedBufferRange; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FlushMappedBufferRangeAPPLE(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size); - internal static FlushMappedBufferRangeAPPLE glFlushMappedBufferRangeAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FlushMappedNamedBufferRangeEXT(UInt32 buffer, IntPtr offset, IntPtr length); - internal static FlushMappedNamedBufferRangeEXT glFlushMappedNamedBufferRangeEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FlushPixelDataRangeNV(OpenTK.Graphics.OpenGL.NvPixelDataRange target); - internal static FlushPixelDataRangeNV glFlushPixelDataRangeNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FlushRasterSGIX(); - internal static FlushRasterSGIX glFlushRasterSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FlushStaticDataIBM(OpenTK.Graphics.OpenGL.IbmStaticData target); - internal static FlushStaticDataIBM glFlushStaticDataIBM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FlushVertexArrayRangeAPPLE(Int32 length, [OutAttribute] IntPtr pointer); - internal static FlushVertexArrayRangeAPPLE glFlushVertexArrayRangeAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FlushVertexArrayRangeNV(); - internal static FlushVertexArrayRangeNV glFlushVertexArrayRangeNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FogCoordd(Double coord); - internal static FogCoordd glFogCoordd; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FogCoorddEXT(Double coord); - internal static FogCoorddEXT glFogCoorddEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void FogCoorddv(Double* coord); - internal unsafe static FogCoorddv glFogCoorddv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void FogCoorddvEXT(Double* coord); - internal unsafe static FogCoorddvEXT glFogCoorddvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FogCoordf(Single coord); - internal static FogCoordf glFogCoordf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FogCoordfEXT(Single coord); - internal static FogCoordfEXT glFogCoordfEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FogCoordFormatNV(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); - internal static FogCoordFormatNV glFogCoordFormatNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void FogCoordfv(Single* coord); - internal unsafe static FogCoordfv glFogCoordfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void FogCoordfvEXT(Single* coord); - internal unsafe static FogCoordfvEXT glFogCoordfvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FogCoordhNV(Half fog); - internal static FogCoordhNV glFogCoordhNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void FogCoordhvNV(Half* fog); - internal unsafe static FogCoordhvNV glFogCoordhvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, IntPtr pointer); - internal static FogCoordPointer glFogCoordPointer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FogCoordPointerEXT(OpenTK.Graphics.OpenGL.FogPointerTypeExt type, Int32 stride, IntPtr pointer); - internal static FogCoordPointerEXT glFogCoordPointerEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FogCoordPointerListIBM(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); - internal static FogCoordPointerListIBM glFogCoordPointerListIBM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Fogf(OpenTK.Graphics.OpenGL.FogParameter pname, Single param); - internal static Fogf glFogf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void FogFuncSGIS(Int32 n, Single* points); - internal unsafe static FogFuncSGIS glFogFuncSGIS; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Fogfv(OpenTK.Graphics.OpenGL.FogParameter pname, Single* @params); - internal unsafe static Fogfv glFogfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Fogi(OpenTK.Graphics.OpenGL.FogParameter pname, Int32 param); - internal static Fogi glFogi; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Fogiv(OpenTK.Graphics.OpenGL.FogParameter pname, Int32* @params); - internal unsafe static Fogiv glFogiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FogxOES(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); - internal static FogxOES glFogxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void FogxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* param); - internal unsafe static FogxvOES glFogxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FragmentColorMaterialSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter mode); - internal static FragmentColorMaterialSGIX glFragmentColorMaterialSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FragmentLightfSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single param); - internal static FragmentLightfSGIX glFragmentLightfSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void FragmentLightfvSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single* @params); - internal unsafe static FragmentLightfvSGIX glFragmentLightfvSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FragmentLightiSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param); - internal static FragmentLightiSGIX glFragmentLightiSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void FragmentLightivSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32* @params); - internal unsafe static FragmentLightivSGIX glFragmentLightivSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FragmentLightModelfSGIX(OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix pname, Single param); - internal static FragmentLightModelfSGIX glFragmentLightModelfSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void FragmentLightModelfvSGIX(OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix pname, Single* @params); - internal unsafe static FragmentLightModelfvSGIX glFragmentLightModelfvSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FragmentLightModeliSGIX(OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix pname, Int32 param); - internal static FragmentLightModeliSGIX glFragmentLightModeliSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void FragmentLightModelivSGIX(OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix pname, Int32* @params); - internal unsafe static FragmentLightModelivSGIX glFragmentLightModelivSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FragmentMaterialfSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single param); - internal static FragmentMaterialfSGIX glFragmentMaterialfSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void FragmentMaterialfvSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single* @params); - internal unsafe static FragmentMaterialfvSGIX glFragmentMaterialfvSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FragmentMaterialiSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32 param); - internal static FragmentMaterialiSGIX glFragmentMaterialiSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void FragmentMaterialivSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32* @params); - internal unsafe static FragmentMaterialivSGIX glFragmentMaterialivSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferDrawBufferEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.DrawBufferMode mode); - internal static FramebufferDrawBufferEXT glFramebufferDrawBufferEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void FramebufferDrawBuffersEXT(UInt32 framebuffer, Int32 n, OpenTK.Graphics.OpenGL.DrawBufferMode* bufs); - internal unsafe static FramebufferDrawBuffersEXT glFramebufferDrawBuffersEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferParameteri(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferDefaultParameter pname, Int32 param); - internal static FramebufferParameteri glFramebufferParameteri; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferReadBufferEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ReadBufferMode mode); - internal static FramebufferReadBufferEXT glFramebufferReadBufferEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferRenderbuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); - internal static FramebufferRenderbuffer glFramebufferRenderbuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferRenderbufferEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); - internal static FramebufferRenderbufferEXT glFramebufferRenderbufferEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTexture(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level); - internal static FramebufferTexture glFramebufferTexture; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTexture1D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); - internal static FramebufferTexture1D glFramebufferTexture1D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTexture1DEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); - internal static FramebufferTexture1DEXT glFramebufferTexture1DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTexture2D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); - internal static FramebufferTexture2D glFramebufferTexture2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTexture2DEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); - internal static FramebufferTexture2DEXT glFramebufferTexture2DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTexture3D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset); - internal static FramebufferTexture3D glFramebufferTexture3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTexture3DEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset); - internal static FramebufferTexture3DEXT glFramebufferTexture3DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTextureARB(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level); - internal static FramebufferTextureARB glFramebufferTextureARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTextureEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level); - internal static FramebufferTextureEXT glFramebufferTextureEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTextureFaceARB(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face); - internal static FramebufferTextureFaceARB glFramebufferTextureFaceARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTextureFaceEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face); - internal static FramebufferTextureFaceEXT glFramebufferTextureFaceEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTextureLayer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); - internal static FramebufferTextureLayer glFramebufferTextureLayer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTextureLayerARB(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); - internal static FramebufferTextureLayerARB glFramebufferTextureLayerARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTextureLayerEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); - internal static FramebufferTextureLayerEXT glFramebufferTextureLayerEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FrameTerminatorGREMEDY(); - internal static FrameTerminatorGREMEDY glFrameTerminatorGREMEDY; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FrameZoomSGIX(Int32 factor); - internal static FrameZoomSGIX glFrameZoomSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FreeObjectBufferATI(UInt32 buffer); - internal static FreeObjectBufferATI glFreeObjectBufferATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FrontFace(OpenTK.Graphics.OpenGL.FrontFaceDirection mode); - internal static FrontFace glFrontFace; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Frustum(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); - internal static Frustum glFrustum; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FrustumfOES(Single l, Single r, Single b, Single t, Single n, Single f); - internal static FrustumfOES glFrustumfOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FrustumxOES(int l, int r, int b, int t, int n, int f); - internal static FrustumxOES glFrustumxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GenAsyncMarkersSGIX(Int32 range); - internal static GenAsyncMarkersSGIX glGenAsyncMarkersSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers); - internal unsafe static GenBuffers glGenBuffers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenBuffersARB(Int32 n, [OutAttribute] UInt32* buffers); - internal unsafe static GenBuffersARB glGenBuffersARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GenerateMipmap(OpenTK.Graphics.OpenGL.GenerateMipmapTarget target); - internal static GenerateMipmap glGenerateMipmap; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GenerateMipmapEXT(OpenTK.Graphics.OpenGL.GenerateMipmapTarget target); - internal static GenerateMipmapEXT glGenerateMipmapEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GenerateMultiTexMipmapEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target); - internal static GenerateMultiTexMipmapEXT glGenerateMultiTexMipmapEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GenerateTextureMipmapEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target); - internal static GenerateTextureMipmapEXT glGenerateTextureMipmapEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenFencesAPPLE(Int32 n, [OutAttribute] UInt32* fences); - internal unsafe static GenFencesAPPLE glGenFencesAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenFencesNV(Int32 n, [OutAttribute] UInt32* fences); - internal unsafe static GenFencesNV glGenFencesNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GenFragmentShadersATI(UInt32 range); - internal static GenFragmentShadersATI glGenFragmentShadersATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers); - internal unsafe static GenFramebuffers glGenFramebuffers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenFramebuffersEXT(Int32 n, [OutAttribute] UInt32* framebuffers); - internal unsafe static GenFramebuffersEXT glGenFramebuffersEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GenLists(Int32 range); - internal static GenLists glGenLists; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenNamesAMD(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 num, [OutAttribute] UInt32* names); - internal unsafe static GenNamesAMD glGenNamesAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenOcclusionQueriesNV(Int32 n, [OutAttribute] UInt32* ids); - internal unsafe static GenOcclusionQueriesNV glGenOcclusionQueriesNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GenPathsNV(Int32 range); - internal static GenPathsNV glGenPathsNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenPerfMonitorsAMD(Int32 n, [OutAttribute] UInt32* monitors); - internal unsafe static GenPerfMonitorsAMD glGenPerfMonitorsAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenProgramPipelines(Int32 n, [OutAttribute] UInt32* pipelines); - internal unsafe static GenProgramPipelines glGenProgramPipelines; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenProgramPipelinesEXT(Int32 n, [OutAttribute] UInt32* pipelines); - internal unsafe static GenProgramPipelinesEXT glGenProgramPipelinesEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenProgramsARB(Int32 n, [OutAttribute] UInt32* programs); - internal unsafe static GenProgramsARB glGenProgramsARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenProgramsNV(Int32 n, [OutAttribute] UInt32* programs); - internal unsafe static GenProgramsNV glGenProgramsNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenQueries(Int32 n, [OutAttribute] UInt32* ids); - internal unsafe static GenQueries glGenQueries; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenQueriesARB(Int32 n, [OutAttribute] UInt32* ids); - internal unsafe static GenQueriesARB glGenQueriesARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers); - internal unsafe static GenRenderbuffers glGenRenderbuffers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenRenderbuffersEXT(Int32 n, [OutAttribute] UInt32* renderbuffers); - internal unsafe static GenRenderbuffersEXT glGenRenderbuffersEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenSamplers(Int32 count, [OutAttribute] UInt32* samplers); - internal unsafe static GenSamplers glGenSamplers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GenSymbolsEXT(OpenTK.Graphics.OpenGL.ExtVertexShader datatype, OpenTK.Graphics.OpenGL.ExtVertexShader storagetype, OpenTK.Graphics.OpenGL.ExtVertexShader range, UInt32 components); - internal static GenSymbolsEXT glGenSymbolsEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenTextures(Int32 n, [OutAttribute] UInt32* textures); - internal unsafe static GenTextures glGenTextures; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenTexturesEXT(Int32 n, [OutAttribute] UInt32* textures); - internal unsafe static GenTexturesEXT glGenTexturesEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32* ids); - internal unsafe static GenTransformFeedbacks glGenTransformFeedbacks; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenTransformFeedbacksNV(Int32 n, [OutAttribute] UInt32* ids); - internal unsafe static GenTransformFeedbacksNV glGenTransformFeedbacksNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays); - internal unsafe static GenVertexArrays glGenVertexArrays; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenVertexArraysAPPLE(Int32 n, [OutAttribute] UInt32* arrays); - internal unsafe static GenVertexArraysAPPLE glGenVertexArraysAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GenVertexShadersEXT(UInt32 range); - internal static GenVertexShadersEXT glGenVertexShadersEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveAtomicCounterBufferiv(UInt32 program, UInt32 bufferIndex, OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetActiveAtomicCounterBufferiv glGetActiveAtomicCounterBufferiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveAttribType* type, [OutAttribute] StringBuilder name); - internal unsafe static GetActiveAttrib glGetActiveAttrib; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ArbVertexShader* type, [OutAttribute] StringBuilder name); - internal unsafe static GetActiveAttribARB glGetActiveAttribARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveSubroutineName(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name); - internal unsafe static GetActiveSubroutineName glGetActiveSubroutineName; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveSubroutineUniformiv(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter pname, [OutAttribute] Int32* values); - internal unsafe static GetActiveSubroutineUniformiv glGetActiveSubroutineUniformiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveSubroutineUniformName(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name); - internal unsafe static GetActiveSubroutineUniformName glGetActiveSubroutineUniformName; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveUniformType* type, [OutAttribute] StringBuilder name); - internal unsafe static GetActiveUniform glGetActiveUniform; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ArbShaderObjects* type, [OutAttribute] StringBuilder name); - internal unsafe static GetActiveUniformARB glGetActiveUniformARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveUniformBlockiv(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetActiveUniformBlockiv glGetActiveUniformBlockiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName); - internal unsafe static GetActiveUniformBlockName glGetActiveUniformBlockName; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformName); - internal unsafe static GetActiveUniformName glGetActiveUniformName; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveUniformsiv(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, OpenTK.Graphics.OpenGL.ActiveUniformParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetActiveUniformsiv glGetActiveUniformsiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.NvTransformFeedback* type, [OutAttribute] StringBuilder name); - internal unsafe static GetActiveVaryingNV glGetActiveVaryingNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetArrayObjectfvATI(OpenTK.Graphics.OpenGL.EnableCap array, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params); - internal unsafe static GetArrayObjectfvATI glGetArrayObjectfvATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetArrayObjectivATI(OpenTK.Graphics.OpenGL.EnableCap array, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params); - internal unsafe static GetArrayObjectivATI glGetArrayObjectivATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetAttachedObjectsARB(UInt32 containerObj, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* obj); - internal unsafe static GetAttachedObjectsARB glGetAttachedObjectsARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders); - internal unsafe static GetAttachedShaders glGetAttachedShaders; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetAttribLocation(UInt32 program, String name); - internal static GetAttribLocation glGetAttribLocation; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetAttribLocationARB(UInt32 programObj, String name); - internal static GetAttribLocationARB glGetAttribLocationARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetBooleani_v(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] bool* data); - internal unsafe static GetBooleani_v glGetBooleani_v; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetBooleanIndexedvEXT(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] bool* data); - internal unsafe static GetBooleanIndexedvEXT glGetBooleanIndexedvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetBooleanv(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] bool* data); - internal unsafe static GetBooleanv glGetBooleanv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetBufferParameteri64v(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [OutAttribute] Int64* @params); - internal unsafe static GetBufferParameteri64v glGetBufferParameteri64v; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetBufferParameteriv(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [OutAttribute] Int32* @params); - internal unsafe static GetBufferParameteriv glGetBufferParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetBufferParameterivARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] Int32* @params); - internal unsafe static GetBufferParameterivARB glGetBufferParameterivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetBufferParameterui64vNV(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] UInt64* @params); - internal unsafe static GetBufferParameterui64vNV glGetBufferParameterui64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetBufferPointerv(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferPointer pname, [OutAttribute] IntPtr @params); - internal static GetBufferPointerv glGetBufferPointerv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetBufferPointervARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [OutAttribute] IntPtr @params); - internal static GetBufferPointervARB glGetBufferPointervARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data); - internal static GetBufferSubData glGetBufferSubData; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetBufferSubDataARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data); - internal static GetBufferSubDataARB glGetBufferSubDataARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, [OutAttribute] Double* equation); - internal unsafe static GetClipPlane glGetClipPlane; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetClipPlanefOES(OpenTK.Graphics.OpenGL.OesSinglePrecision plane, [OutAttribute] Single* equation); - internal unsafe static GetClipPlanefOES glGetClipPlanefOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetClipPlanexOES(OpenTK.Graphics.OpenGL.OesFixedPoint plane, [OutAttribute] int* equation); - internal unsafe static GetClipPlanexOES glGetClipPlanexOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr table); - internal static GetColorTable glGetColorTable; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetColorTableEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr data); - internal static GetColorTableEXT glGetColorTableEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetColorTableParameterfv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Single* @params); - internal unsafe static GetColorTableParameterfv glGetColorTableParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetColorTableParameterfvEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Single* @params); - internal unsafe static GetColorTableParameterfvEXT glGetColorTableParameterfvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetColorTableParameterfvSGI(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi pname, [OutAttribute] Single* @params); - internal unsafe static GetColorTableParameterfvSGI glGetColorTableParameterfvSGI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetColorTableParameteriv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Int32* @params); - internal unsafe static GetColorTableParameteriv glGetColorTableParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetColorTableParameterivEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Int32* @params); - internal unsafe static GetColorTableParameterivEXT glGetColorTableParameterivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetColorTableParameterivSGI(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi pname, [OutAttribute] Int32* @params); - internal unsafe static GetColorTableParameterivSGI glGetColorTableParameterivSGI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetColorTableSGI(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr table); - internal static GetColorTableSGI glGetColorTableSGI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetCombinerInputParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single* @params); - internal unsafe static GetCombinerInputParameterfvNV glGetCombinerInputParameterfvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetCombinerInputParameterivNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32* @params); - internal unsafe static GetCombinerInputParameterivNV glGetCombinerInputParameterivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetCombinerOutputParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single* @params); - internal unsafe static GetCombinerOutputParameterfvNV glGetCombinerOutputParameterfvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetCombinerOutputParameterivNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32* @params); - internal unsafe static GetCombinerOutputParameterivNV glGetCombinerOutputParameterivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetCombinerStageParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, [OutAttribute] Single* @params); - internal unsafe static GetCombinerStageParameterfvNV glGetCombinerStageParameterfvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetCompressedMultiTexImageEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [OutAttribute] IntPtr img); - internal static GetCompressedMultiTexImageEXT glGetCompressedMultiTexImageEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [OutAttribute] IntPtr img); - internal static GetCompressedTexImage glGetCompressedTexImage; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetCompressedTexImageARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [OutAttribute] IntPtr img); - internal static GetCompressedTexImageARB glGetCompressedTexImageARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetCompressedTextureImageEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [OutAttribute] IntPtr img); - internal static GetCompressedTextureImageEXT glGetCompressedTextureImageEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr image); - internal static GetConvolutionFilter glGetConvolutionFilter; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetConvolutionFilterEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr image); - internal static GetConvolutionFilterEXT glGetConvolutionFilterEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetConvolutionParameterfv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] Single* @params); - internal unsafe static GetConvolutionParameterfv glGetConvolutionParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetConvolutionParameterfvEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, [OutAttribute] Single* @params); - internal unsafe static GetConvolutionParameterfvEXT glGetConvolutionParameterfvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetConvolutionParameteriv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] Int32* @params); - internal unsafe static GetConvolutionParameteriv glGetConvolutionParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetConvolutionParameterivEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, [OutAttribute] Int32* @params); - internal unsafe static GetConvolutionParameterivEXT glGetConvolutionParameterivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetConvolutionParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params); - internal unsafe static GetConvolutionParameterxvOES glGetConvolutionParameterxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSource* sources, [OutAttribute] OpenTK.Graphics.OpenGL.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); - internal unsafe static GetDebugMessageLog glGetDebugMessageLog; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Int32 GetDebugMessageLogAMD(UInt32 count, Int32 bufsize, [OutAttribute] OpenTK.Graphics.OpenGL.AmdDebugOutput* categories, [OutAttribute] UInt32* severities, [OutAttribute] UInt32* ids, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder message); - internal unsafe static GetDebugMessageLogAMD glGetDebugMessageLogAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Int32 GetDebugMessageLogARB(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* sources, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); - internal unsafe static GetDebugMessageLogARB glGetDebugMessageLogARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Int32 GetDebugMessageLogKHR(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug* sources, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); - internal unsafe static GetDebugMessageLogKHR glGetDebugMessageLogKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetDetailTexFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, [OutAttribute] Single* points); - internal unsafe static GetDetailTexFuncSGIS glGetDetailTexFuncSGIS; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetDoublei_v(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Double* data); - internal unsafe static GetDoublei_v glGetDoublei_v; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetDoublei_vEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [OutAttribute] Double* @params); - internal unsafe static GetDoublei_vEXT glGetDoublei_vEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetDoubleIndexedvEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Double* data); - internal unsafe static GetDoubleIndexedvEXT glGetDoubleIndexedvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetDoublev(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Double* data); - internal unsafe static GetDoublev glGetDoublev; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate OpenTK.Graphics.OpenGL.ErrorCode GetError(); - internal static GetError glGetError; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFenceivNV(UInt32 fence, OpenTK.Graphics.OpenGL.NvFence pname, [OutAttribute] Int32* @params); - internal unsafe static GetFenceivNV glGetFenceivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFinalCombinerInputParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single* @params); - internal unsafe static GetFinalCombinerInputParameterfvNV glGetFinalCombinerInputParameterfvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFinalCombinerInputParameterivNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32* @params); - internal unsafe static GetFinalCombinerInputParameterivNV glGetFinalCombinerInputParameterivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFixedvOES(OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params); - internal unsafe static GetFixedvOES glGetFixedvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFloati_v(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Single* data); - internal unsafe static GetFloati_v glGetFloati_v; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFloati_vEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [OutAttribute] Single* @params); - internal unsafe static GetFloati_vEXT glGetFloati_vEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFloatIndexedvEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Single* data); - internal unsafe static GetFloatIndexedvEXT glGetFloatIndexedvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFloatv(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Single* data); - internal unsafe static GetFloatv glGetFloatv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFogFuncSGIS([OutAttribute] Single* points); - internal unsafe static GetFogFuncSGIS glGetFogFuncSGIS; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetFragDataIndex(UInt32 program, String name); - internal static GetFragDataIndex glGetFragDataIndex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetFragDataLocation(UInt32 program, String name); - internal static GetFragDataLocation glGetFragDataLocation; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetFragDataLocationEXT(UInt32 program, String name); - internal static GetFragDataLocationEXT glGetFragDataLocationEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFragmentLightfvSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [OutAttribute] Single* @params); - internal unsafe static GetFragmentLightfvSGIX glGetFragmentLightfvSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFragmentLightivSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [OutAttribute] Int32* @params); - internal unsafe static GetFragmentLightivSGIX glGetFragmentLightivSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFragmentMaterialfvSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Single* @params); - internal unsafe static GetFragmentMaterialfvSGIX glGetFragmentMaterialfvSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFragmentMaterialivSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetFragmentMaterialivSGIX glGetFragmentMaterialivSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFramebufferAttachmentParameteriv(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, [OutAttribute] Int32* @params); - internal unsafe static GetFramebufferAttachmentParameteriv glGetFramebufferAttachmentParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFramebufferAttachmentParameterivEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, [OutAttribute] Int32* @params); - internal unsafe static GetFramebufferAttachmentParameterivEXT glGetFramebufferAttachmentParameterivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFramebufferParameteriv(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferDefaultParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetFramebufferParameteriv glGetFramebufferParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFramebufferParameterivEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params); - internal unsafe static GetFramebufferParameterivEXT glGetFramebufferParameterivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate OpenTK.Graphics.OpenGL.ArbRobustness GetGraphicsResetStatusARB(); - internal static GetGraphicsResetStatusARB glGetGraphicsResetStatusARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetHandleARB(OpenTK.Graphics.OpenGL.ArbShaderObjects pname); - internal static GetHandleARB glGetHandleARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values); - internal static GetHistogram glGetHistogram; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetHistogramEXT(OpenTK.Graphics.OpenGL.HistogramTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values); - internal static GetHistogramEXT glGetHistogramEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetHistogramParameterfv(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] Single* @params); - internal unsafe static GetHistogramParameterfv glGetHistogramParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetHistogramParameterfvEXT(OpenTK.Graphics.OpenGL.HistogramTargetExt target, OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt pname, [OutAttribute] Single* @params); - internal unsafe static GetHistogramParameterfvEXT glGetHistogramParameterfvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetHistogramParameteriv(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] Int32* @params); - internal unsafe static GetHistogramParameteriv glGetHistogramParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetHistogramParameterivEXT(OpenTK.Graphics.OpenGL.HistogramTargetExt target, OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt pname, [OutAttribute] Int32* @params); - internal unsafe static GetHistogramParameterivEXT glGetHistogramParameterivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetHistogramParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params); - internal unsafe static GetHistogramParameterxvOES glGetHistogramParameterxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int64 GetImageHandleARB(UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.ArbBindlessTexture format); - internal static GetImageHandleARB glGetImageHandleARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int64 GetImageHandleNV(UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.NvBindlessTexture format); - internal static GetImageHandleNV glGetImageHandleNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetImageTransformParameterfvHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [OutAttribute] Single* @params); - internal unsafe static GetImageTransformParameterfvHP glGetImageTransformParameterfvHP; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetImageTransformParameterivHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [OutAttribute] Int32* @params); - internal unsafe static GetImageTransformParameterivHP glGetImageTransformParameterivHP; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetInfoLogARB(UInt32 obj, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); - internal unsafe static GetInfoLogARB glGetInfoLogARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetInstrumentsSGIX(); - internal static GetInstrumentsSGIX glGetInstrumentsSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetInteger64i_v(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int64* data); - internal unsafe static GetInteger64i_v glGetInteger64i_v; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetInteger64v(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Int64* data); - internal unsafe static GetInteger64v glGetInteger64v; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetIntegeri_v(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data); - internal unsafe static GetIntegeri_v glGetIntegeri_v; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetIntegerIndexedvEXT(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data); - internal unsafe static GetIntegerIndexedvEXT glGetIntegerIndexedvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetIntegerui64i_vNV(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory value, UInt32 index, [OutAttribute] UInt64* result); - internal unsafe static GetIntegerui64i_vNV glGetIntegerui64i_vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetIntegerui64vNV(OpenTK.Graphics.OpenGL.NvShaderBufferLoad value, [OutAttribute] UInt64* result); - internal unsafe static GetIntegerui64vNV glGetIntegerui64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetIntegerv(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Int32* data); - internal unsafe static GetIntegerv glGetIntegerv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetInternalformati64v(OpenTK.Graphics.OpenGL.ImageTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int64* @params); - internal unsafe static GetInternalformati64v glGetInternalformati64v; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetInternalformativ(OpenTK.Graphics.OpenGL.ImageTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int32* @params); - internal unsafe static GetInternalformativ glGetInternalformativ; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetInvariantBooleanvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data); - internal unsafe static GetInvariantBooleanvEXT glGetInvariantBooleanvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetInvariantFloatvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data); - internal unsafe static GetInvariantFloatvEXT glGetInvariantFloatvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetInvariantIntegervEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data); - internal unsafe static GetInvariantIntegervEXT glGetInvariantIntegervEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetLightfv(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [OutAttribute] Single* @params); - internal unsafe static GetLightfv glGetLightfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetLightiv(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetLightiv glGetLightiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetLightxOES(OpenTK.Graphics.OpenGL.OesFixedPoint light, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params); - internal unsafe static GetLightxOES glGetLightxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetLightxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint light, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params); - internal unsafe static GetLightxvOES glGetLightxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetListParameterfvSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Single* @params); - internal unsafe static GetListParameterfvSGIX glGetListParameterfvSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetListParameterivSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Int32* @params); - internal unsafe static GetListParameterivSGIX glGetListParameterivSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetLocalConstantBooleanvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data); - internal unsafe static GetLocalConstantBooleanvEXT glGetLocalConstantBooleanvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetLocalConstantFloatvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data); - internal unsafe static GetLocalConstantFloatvEXT glGetLocalConstantFloatvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetLocalConstantIntegervEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data); - internal unsafe static GetLocalConstantIntegervEXT glGetLocalConstantIntegervEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMapAttribParameterfvNV(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Single* @params); - internal unsafe static GetMapAttribParameterfvNV glGetMapAttribParameterfvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMapAttribParameterivNV(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Int32* @params); - internal unsafe static GetMapAttribParameterivNV glGetMapAttribParameterivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetMapControlPointsNV(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [OutAttribute] IntPtr points); - internal static GetMapControlPointsNV glGetMapControlPointsNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMapdv(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Double* v); - internal unsafe static GetMapdv glGetMapdv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMapfv(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Single* v); - internal unsafe static GetMapfv glGetMapfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMapiv(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Int32* v); - internal unsafe static GetMapiv glGetMapiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMapParameterfvNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Single* @params); - internal unsafe static GetMapParameterfvNV glGetMapParameterfvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMapParameterivNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Int32* @params); - internal unsafe static GetMapParameterivNV glGetMapParameterivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMapxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint query, [OutAttribute] int* v); - internal unsafe static GetMapxvOES glGetMapxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMaterialfv(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Single* @params); - internal unsafe static GetMaterialfv glGetMaterialfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMaterialiv(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetMaterialiv glGetMaterialiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetMaterialxOES(OpenTK.Graphics.OpenGL.OesFixedPoint face, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); - internal static GetMaterialxOES glGetMaterialxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMaterialxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint face, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params); - internal unsafe static GetMaterialxvOES glGetMaterialxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values); - internal static GetMinmax glGetMinmax; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetMinmaxEXT(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values); - internal static GetMinmaxEXT glGetMinmaxEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMinmaxParameterfv(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] Single* @params); - internal unsafe static GetMinmaxParameterfv glGetMinmaxParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMinmaxParameterfvEXT(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt pname, [OutAttribute] Single* @params); - internal unsafe static GetMinmaxParameterfvEXT glGetMinmaxParameterfvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMinmaxParameteriv(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] Int32* @params); - internal unsafe static GetMinmaxParameteriv glGetMinmaxParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMinmaxParameterivEXT(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt pname, [OutAttribute] Int32* @params); - internal unsafe static GetMinmaxParameterivEXT glGetMinmaxParameterivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMultisamplefv(OpenTK.Graphics.OpenGL.GetMultisamplePName pname, UInt32 index, [OutAttribute] Single* val); - internal unsafe static GetMultisamplefv glGetMultisamplefv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMultisamplefvNV(OpenTK.Graphics.OpenGL.NvExplicitMultisample pname, UInt32 index, [OutAttribute] Single* val); - internal unsafe static GetMultisamplefvNV glGetMultisamplefvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMultiTexEnvfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Single* @params); - internal unsafe static GetMultiTexEnvfvEXT glGetMultiTexEnvfvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMultiTexEnvivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetMultiTexEnvivEXT glGetMultiTexEnvivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMultiTexGendvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Double* @params); - internal unsafe static GetMultiTexGendvEXT glGetMultiTexGendvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMultiTexGenfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Single* @params); - internal unsafe static GetMultiTexGenfvEXT glGetMultiTexGenfvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMultiTexGenivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetMultiTexGenivEXT glGetMultiTexGenivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetMultiTexImageEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels); - internal static GetMultiTexImageEXT glGetMultiTexImageEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMultiTexLevelParameterfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params); - internal unsafe static GetMultiTexLevelParameterfvEXT glGetMultiTexLevelParameterfvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMultiTexLevelParameterivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetMultiTexLevelParameterivEXT glGetMultiTexLevelParameterivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMultiTexParameterfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params); - internal unsafe static GetMultiTexParameterfvEXT glGetMultiTexParameterfvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMultiTexParameterIivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetMultiTexParameterIivEXT glGetMultiTexParameterIivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMultiTexParameterIuivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params); - internal unsafe static GetMultiTexParameterIuivEXT glGetMultiTexParameterIuivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMultiTexParameterivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetMultiTexParameterivEXT glGetMultiTexParameterivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetNamedBufferParameterivEXT(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params); - internal unsafe static GetNamedBufferParameterivEXT glGetNamedBufferParameterivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetNamedBufferParameterui64vNV(UInt32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] UInt64* @params); - internal unsafe static GetNamedBufferParameterui64vNV glGetNamedBufferParameterui64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetNamedBufferPointervEXT(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr @params); - internal static GetNamedBufferPointervEXT glGetNamedBufferPointervEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetNamedBufferSubDataEXT(UInt32 buffer, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data); - internal static GetNamedBufferSubDataEXT glGetNamedBufferSubDataEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetNamedFramebufferAttachmentParameterivEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params); - internal unsafe static GetNamedFramebufferAttachmentParameterivEXT glGetNamedFramebufferAttachmentParameterivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetNamedFramebufferParameterivEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params); - internal unsafe static GetNamedFramebufferParameterivEXT glGetNamedFramebufferParameterivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetNamedProgramivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ProgramProperty pname, [OutAttribute] Int32* @params); - internal unsafe static GetNamedProgramivEXT glGetNamedProgramivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetNamedProgramLocalParameterdvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Double* @params); - internal unsafe static GetNamedProgramLocalParameterdvEXT glGetNamedProgramLocalParameterdvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetNamedProgramLocalParameterfvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Single* @params); - internal unsafe static GetNamedProgramLocalParameterfvEXT glGetNamedProgramLocalParameterfvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetNamedProgramLocalParameterIivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Int32* @params); - internal unsafe static GetNamedProgramLocalParameterIivEXT glGetNamedProgramLocalParameterIivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetNamedProgramLocalParameterIuivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] UInt32* @params); - internal unsafe static GetNamedProgramLocalParameterIuivEXT glGetNamedProgramLocalParameterIuivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetNamedProgramStringEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr @string); - internal static GetNamedProgramStringEXT glGetNamedProgramStringEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetNamedRenderbufferParameterivEXT(UInt32 renderbuffer, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32* @params); - internal unsafe static GetNamedRenderbufferParameterivEXT glGetNamedRenderbufferParameterivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetNamedStringARB(Int32 namelen, String name, Int32 bufSize, [OutAttribute] Int32* stringlen, [OutAttribute] StringBuilder @string); - internal unsafe static GetNamedStringARB glGetNamedStringARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetNamedStringivARB(Int32 namelen, String name, OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude pname, [OutAttribute] Int32* @params); - internal unsafe static GetNamedStringivARB glGetNamedStringivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetnColorTableARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr table); - internal static GetnColorTableARB glGetnColorTableARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetnCompressedTexImageARB(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 lod, Int32 bufSize, [OutAttribute] IntPtr img); - internal static GetnCompressedTexImageARB glGetnCompressedTexImageARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetnConvolutionFilterARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr image); - internal static GetnConvolutionFilterARB glGetnConvolutionFilterARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetnHistogramARB(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr values); - internal static GetnHistogramARB glGetnHistogramARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetnMapdvARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Double* v); - internal unsafe static GetnMapdvARB glGetnMapdvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetnMapfvARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Single* v); - internal unsafe static GetnMapfvARB glGetnMapfvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetnMapivARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Int32* v); - internal unsafe static GetnMapivARB glGetnMapivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetnMinmaxARB(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr values); - internal static GetnMinmaxARB glGetnMinmaxARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetnPixelMapfvARB(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] Single* values); - internal unsafe static GetnPixelMapfvARB glGetnPixelMapfvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetnPixelMapuivARB(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] UInt32* values); - internal unsafe static GetnPixelMapuivARB glGetnPixelMapuivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetnPixelMapusvARB(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] UInt16* values); - internal unsafe static GetnPixelMapusvARB glGetnPixelMapusvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetnPolygonStippleARB(Int32 bufSize, [OutAttribute] Byte* pattern); - internal unsafe static GetnPolygonStippleARB glGetnPolygonStippleARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetnSeparableFilterARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 rowBufSize, [OutAttribute] IntPtr row, Int32 columnBufSize, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span); - internal static GetnSeparableFilterARB glGetnSeparableFilterARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetnTexImageARB(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 level, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr img); - internal static GetnTexImageARB glGetnTexImageARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetnUniformdvARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Double* @params); - internal unsafe static GetnUniformdvARB glGetnUniformdvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetnUniformfvARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params); - internal unsafe static GetnUniformfvARB glGetnUniformfvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetnUniformivARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params); - internal unsafe static GetnUniformivARB glGetnUniformivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetnUniformuivARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] UInt32* @params); - internal unsafe static GetnUniformuivARB glGetnUniformuivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetObjectBufferfvATI(UInt32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params); - internal unsafe static GetObjectBufferfvATI glGetObjectBufferfvATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetObjectBufferivATI(UInt32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params); - internal unsafe static GetObjectBufferivATI glGetObjectBufferivATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetObjectLabel(OpenTK.Graphics.OpenGL.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - internal unsafe static GetObjectLabel glGetObjectLabel; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetObjectLabelEXT(OpenTK.Graphics.OpenGL.ExtDebugLabel type, UInt32 @object, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - internal unsafe static GetObjectLabelEXT glGetObjectLabelEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetObjectLabelKHR(OpenTK.Graphics.OpenGL.KhrDebug identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - internal unsafe static GetObjectLabelKHR glGetObjectLabelKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetObjectParameterfvARB(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Single* @params); - internal unsafe static GetObjectParameterfvARB glGetObjectParameterfvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetObjectParameterivAPPLE(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable pname, [OutAttribute] Int32* @params); - internal unsafe static GetObjectParameterivAPPLE glGetObjectParameterivAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetObjectParameterivARB(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Int32* @params); - internal unsafe static GetObjectParameterivARB glGetObjectParameterivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - internal unsafe static GetObjectPtrLabel glGetObjectPtrLabel; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetObjectPtrLabelKHR(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - internal unsafe static GetObjectPtrLabelKHR glGetObjectPtrLabelKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetOcclusionQueryivNV(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] Int32* @params); - internal unsafe static GetOcclusionQueryivNV glGetOcclusionQueryivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetOcclusionQueryuivNV(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] UInt32* @params); - internal unsafe static GetOcclusionQueryuivNV glGetOcclusionQueryuivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPathColorGenfvNV(OpenTK.Graphics.OpenGL.NvPathRendering color, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Single* value); - internal unsafe static GetPathColorGenfvNV glGetPathColorGenfvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPathColorGenivNV(OpenTK.Graphics.OpenGL.NvPathRendering color, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Int32* value); - internal unsafe static GetPathColorGenivNV glGetPathColorGenivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPathCommandsNV(UInt32 path, [OutAttribute] Byte* commands); - internal unsafe static GetPathCommandsNV glGetPathCommandsNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPathCoordsNV(UInt32 path, [OutAttribute] Single* coords); - internal unsafe static GetPathCoordsNV glGetPathCoordsNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPathDashArrayNV(UInt32 path, [OutAttribute] Single* dashArray); - internal unsafe static GetPathDashArrayNV glGetPathDashArrayNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Single GetPathLengthNV(UInt32 path, Int32 startSegment, Int32 numSegments); - internal static GetPathLengthNV glGetPathLengthNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPathMetricRangeNV(UInt32 metricQueryMask, UInt32 firstPathName, Int32 numPaths, Int32 stride, [OutAttribute] Single* metrics); - internal unsafe static GetPathMetricRangeNV glGetPathMetricRangeNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPathMetricsNV(UInt32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, Int32 stride, [OutAttribute] Single* metrics); - internal unsafe static GetPathMetricsNV glGetPathMetricsNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPathParameterfvNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Single* value); - internal unsafe static GetPathParameterfvNV glGetPathParameterfvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPathParameterivNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Int32* value); - internal unsafe static GetPathParameterivNV glGetPathParameterivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPathSpacingNV(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single* returnedSpacing); - internal unsafe static GetPathSpacingNV glGetPathSpacingNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPathTexGenfvNV(OpenTK.Graphics.OpenGL.TextureUnit texCoordSet, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Single* value); - internal unsafe static GetPathTexGenfvNV glGetPathTexGenfvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPathTexGenivNV(OpenTK.Graphics.OpenGL.TextureUnit texCoordSet, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Int32* value); - internal unsafe static GetPathTexGenivNV glGetPathTexGenivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] UInt32* data, [OutAttribute] Int32* bytesWritten); - internal unsafe static GetPerfMonitorCounterDataAMD glGetPerfMonitorCounterDataAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [OutAttribute] IntPtr data); - internal static GetPerfMonitorCounterInfoAMD glGetPerfMonitorCounterInfoAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPerfMonitorCountersAMD(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters); - internal unsafe static GetPerfMonitorCountersAMD glGetPerfMonitorCountersAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPerfMonitorCounterStringAMD(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString); - internal unsafe static GetPerfMonitorCounterStringAMD glGetPerfMonitorCounterStringAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPerfMonitorGroupsAMD([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups); - internal unsafe static GetPerfMonitorGroupsAMD glGetPerfMonitorGroupsAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString); - internal unsafe static GetPerfMonitorGroupStringAMD glGetPerfMonitorGroupStringAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPixelMapfv(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] Single* values); - internal unsafe static GetPixelMapfv glGetPixelMapfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPixelMapuiv(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] UInt32* values); - internal unsafe static GetPixelMapuiv glGetPixelMapuiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPixelMapusv(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] UInt16* values); - internal unsafe static GetPixelMapusv glGetPixelMapusv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPixelMapxv(OpenTK.Graphics.OpenGL.OesFixedPoint map, Int32 size, [OutAttribute] int* values); - internal unsafe static GetPixelMapxv glGetPixelMapxv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPixelTexGenParameterfvSGIS(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, [OutAttribute] Single* @params); - internal unsafe static GetPixelTexGenParameterfvSGIS glGetPixelTexGenParameterfvSGIS; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPixelTexGenParameterivSGIS(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, [OutAttribute] Int32* @params); - internal unsafe static GetPixelTexGenParameterivSGIS glGetPixelTexGenParameterivSGIS; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPixelTransformParameterfvEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, [OutAttribute] Single* @params); - internal unsafe static GetPixelTransformParameterfvEXT glGetPixelTransformParameterfvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPixelTransformParameterivEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, [OutAttribute] Int32* @params); - internal unsafe static GetPixelTransformParameterivEXT glGetPixelTransformParameterivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetPointeri_vEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [OutAttribute] IntPtr @params); - internal static GetPointeri_vEXT glGetPointeri_vEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetPointerIndexedvEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] IntPtr data); - internal static GetPointerIndexedvEXT glGetPointerIndexedvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetPointerv(OpenTK.Graphics.OpenGL.GetPointervPName pname, [OutAttribute] IntPtr @params); - internal static GetPointerv glGetPointerv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetPointervEXT(OpenTK.Graphics.OpenGL.GetPointervPName pname, [OutAttribute] IntPtr @params); - internal static GetPointervEXT glGetPointervEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetPointervKHR(OpenTK.Graphics.OpenGL.KhrDebug pname, [OutAttribute] IntPtr @params); - internal static GetPointervKHR glGetPointervKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPolygonStipple([OutAttribute] Byte* mask); - internal unsafe static GetPolygonStipple glGetPolygonStipple; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [OutAttribute] IntPtr binary); - internal unsafe static GetProgramBinary glGetProgramBinary; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramEnvParameterdvARB(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Double* @params); - internal unsafe static GetProgramEnvParameterdvARB glGetProgramEnvParameterdvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramEnvParameterfvARB(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Single* @params); - internal unsafe static GetProgramEnvParameterfvARB glGetProgramEnvParameterfvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramEnvParameterIivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] Int32* @params); - internal unsafe static GetProgramEnvParameterIivNV glGetProgramEnvParameterIivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramEnvParameterIuivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] UInt32* @params); - internal unsafe static GetProgramEnvParameterIuivNV glGetProgramEnvParameterIuivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); - internal unsafe static GetProgramInfoLog glGetProgramInfoLog; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramInterfaceiv(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, OpenTK.Graphics.OpenGL.ProgramInterfaceParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetProgramInterfaceiv glGetProgramInterfaceiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramiv(UInt32 program, OpenTK.Graphics.OpenGL.GetProgramParameterName pname, [OutAttribute] Int32* @params); - internal unsafe static GetProgramiv glGetProgramiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramivARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Int32* @params); - internal unsafe static GetProgramivARB glGetProgramivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramivNV(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Int32* @params); - internal unsafe static GetProgramivNV glGetProgramivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramLocalParameterdvARB(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Double* @params); - internal unsafe static GetProgramLocalParameterdvARB glGetProgramLocalParameterdvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramLocalParameterfvARB(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Single* @params); - internal unsafe static GetProgramLocalParameterfvARB glGetProgramLocalParameterfvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramLocalParameterIivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] Int32* @params); - internal unsafe static GetProgramLocalParameterIivNV glGetProgramLocalParameterIivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramLocalParameterIuivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] UInt32* @params); - internal unsafe static GetProgramLocalParameterIuivNV glGetProgramLocalParameterIuivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramNamedParameterdvNV(UInt32 id, Int32 len, Byte* name, [OutAttribute] Double* @params); - internal unsafe static GetProgramNamedParameterdvNV glGetProgramNamedParameterdvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramNamedParameterfvNV(UInt32 id, Int32 len, Byte* name, [OutAttribute] Single* @params); - internal unsafe static GetProgramNamedParameterfvNV glGetProgramNamedParameterfvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramParameterdvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Double* @params); - internal unsafe static GetProgramParameterdvNV glGetProgramParameterdvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramParameterfvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Single* @params); - internal unsafe static GetProgramParameterfvNV glGetProgramParameterfvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); - internal unsafe static GetProgramPipelineInfoLog glGetProgramPipelineInfoLog; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramPipelineInfoLogEXT(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); - internal unsafe static GetProgramPipelineInfoLogEXT glGetProgramPipelineInfoLogEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramPipelineiv(UInt32 pipeline, OpenTK.Graphics.OpenGL.ProgramPipelineParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetProgramPipelineiv glGetProgramPipelineiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramPipelineivEXT(UInt32 pipeline, OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects pname, [OutAttribute] Int32* @params); - internal unsafe static GetProgramPipelineivEXT glGetProgramPipelineivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetProgramResourceIndex(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name); - internal static GetProgramResourceIndex glGetProgramResourceIndex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramResourceiv(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 propCount, OpenTK.Graphics.OpenGL.ProgramProperty* props, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* @params); - internal unsafe static GetProgramResourceiv glGetProgramResourceiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetProgramResourceLocation(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name); - internal static GetProgramResourceLocation glGetProgramResourceLocation; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetProgramResourceLocationIndex(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name); - internal static GetProgramResourceLocationIndex glGetProgramResourceLocationIndex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name); - internal unsafe static GetProgramResourceName glGetProgramResourceName; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramStageiv(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ProgramStageParameter pname, [OutAttribute] Int32* values); - internal unsafe static GetProgramStageiv glGetProgramStageiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetProgramStringARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] IntPtr @string); - internal static GetProgramStringARB glGetProgramStringARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramStringNV(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Byte* program); - internal unsafe static GetProgramStringNV glGetProgramStringNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramSubroutineParameteruivNV(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, UInt32 index, [OutAttribute] UInt32* param); - internal unsafe static GetProgramSubroutineParameteruivNV glGetProgramSubroutineParameteruivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryIndexediv(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] Int32* @params); - internal unsafe static GetQueryIndexediv glGetQueryIndexediv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryiv(OpenTK.Graphics.OpenGL.QueryTarget target, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] Int32* @params); - internal unsafe static GetQueryiv glGetQueryiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryivARB(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32* @params); - internal unsafe static GetQueryivARB glGetQueryivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryObjecti64v(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int64* @params); - internal unsafe static GetQueryObjecti64v glGetQueryObjecti64v; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryObjecti64vEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] Int64* @params); - internal unsafe static GetQueryObjecti64vEXT glGetQueryObjecti64vEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryObjectiv(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int32* @params); - internal unsafe static GetQueryObjectiv glGetQueryObjectiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryObjectivARB(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32* @params); - internal unsafe static GetQueryObjectivARB glGetQueryObjectivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryObjectui64v(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] UInt64* @params); - internal unsafe static GetQueryObjectui64v glGetQueryObjectui64v; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryObjectui64vEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] UInt64* @params); - internal unsafe static GetQueryObjectui64vEXT glGetQueryObjectui64vEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryObjectuiv(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] UInt32* @params); - internal unsafe static GetQueryObjectuiv glGetQueryObjectuiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryObjectuivARB(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] UInt32* @params); - internal unsafe static GetQueryObjectuivARB glGetQueryObjectuivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetRenderbufferParameteriv(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32* @params); - internal unsafe static GetRenderbufferParameteriv glGetRenderbufferParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetRenderbufferParameterivEXT(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32* @params); - internal unsafe static GetRenderbufferParameterivEXT glGetRenderbufferParameterivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetSamplerParameterfv(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] Single* @params); - internal unsafe static GetSamplerParameterfv glGetSamplerParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetSamplerParameterIiv(UInt32 sampler, OpenTK.Graphics.OpenGL.All pname, [OutAttribute] Int32* @params); - internal unsafe static GetSamplerParameterIiv glGetSamplerParameterIiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetSamplerParameterIuiv(UInt32 sampler, OpenTK.Graphics.OpenGL.All pname, [OutAttribute] UInt32* @params); - internal unsafe static GetSamplerParameterIuiv glGetSamplerParameterIuiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetSamplerParameteriv(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] Int32* @params); - internal unsafe static GetSamplerParameteriv glGetSamplerParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span); - internal static GetSeparableFilter glGetSeparableFilter; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetSeparableFilterEXT(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span); - internal static GetSeparableFilterEXT glGetSeparableFilterEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); - internal unsafe static GetShaderInfoLog glGetShaderInfoLog; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetShaderiv(UInt32 shader, OpenTK.Graphics.OpenGL.ShaderParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetShaderiv glGetShaderiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetShaderPrecisionFormat(OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision); - internal unsafe static GetShaderPrecisionFormat glGetShaderPrecisionFormat; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); - internal unsafe static GetShaderSource glGetShaderSource; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetShaderSourceARB(UInt32 obj, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); - internal unsafe static GetShaderSourceARB glGetShaderSourceARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetSharpenTexFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, [OutAttribute] Single* points); - internal unsafe static GetSharpenTexFuncSGIS glGetSharpenTexFuncSGIS; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr GetString(OpenTK.Graphics.OpenGL.StringName name); - internal static GetString glGetString; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr GetStringi(OpenTK.Graphics.OpenGL.StringNameIndexed name, UInt32 index); - internal static GetStringi glGetStringi; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetSubroutineIndex(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, String name); - internal static GetSubroutineIndex glGetSubroutineIndex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetSubroutineUniformLocation(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, String name); - internal static GetSubroutineUniformLocation glGetSubroutineUniformLocation; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetSynciv(IntPtr sync, OpenTK.Graphics.OpenGL.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); - internal unsafe static GetSynciv glGetSynciv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexBumpParameterfvATI(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] Single* param); - internal unsafe static GetTexBumpParameterfvATI glGetTexBumpParameterfvATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexBumpParameterivATI(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] Int32* param); - internal unsafe static GetTexBumpParameterivATI glGetTexBumpParameterivATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexEnvfv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Single* @params); - internal unsafe static GetTexEnvfv glGetTexEnvfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexEnviv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetTexEnviv glGetTexEnviv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexEnvxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params); - internal unsafe static GetTexEnvxvOES glGetTexEnvxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexFilterFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, [OutAttribute] Single* weights); - internal unsafe static GetTexFilterFuncSGIS glGetTexFilterFuncSGIS; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexGendv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Double* @params); - internal unsafe static GetTexGendv glGetTexGendv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexGenfv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Single* @params); - internal unsafe static GetTexGenfv glGetTexGenfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexGeniv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetTexGeniv glGetTexGeniv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexGenxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint coord, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params); - internal unsafe static GetTexGenxvOES glGetTexGenxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels); - internal static GetTexImage glGetTexImage; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexLevelParameterfv(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params); - internal unsafe static GetTexLevelParameterfv glGetTexLevelParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexLevelParameteriv(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetTexLevelParameteriv glGetTexLevelParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexLevelParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, Int32 level, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params); - internal unsafe static GetTexLevelParameterxvOES glGetTexLevelParameterxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexParameterfv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params); - internal unsafe static GetTexParameterfv glGetTexParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexParameterIiv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetTexParameterIiv glGetTexParameterIiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexParameterIivEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetTexParameterIivEXT glGetTexParameterIivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexParameterIuiv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params); - internal unsafe static GetTexParameterIuiv glGetTexParameterIuiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexParameterIuivEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params); - internal unsafe static GetTexParameterIuivEXT glGetTexParameterIuivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexParameteriv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetTexParameteriv glGetTexParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetTexParameterPointervAPPLE(OpenTK.Graphics.OpenGL.AppleTextureRange target, OpenTK.Graphics.OpenGL.AppleTextureRange pname, [OutAttribute] IntPtr @params); - internal static GetTexParameterPointervAPPLE glGetTexParameterPointervAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params); - internal unsafe static GetTexParameterxvOES glGetTexParameterxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int64 GetTextureHandleARB(UInt32 texture); - internal static GetTextureHandleARB glGetTextureHandleARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int64 GetTextureHandleNV(UInt32 texture); - internal static GetTextureHandleNV glGetTextureHandleNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetTextureImageEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels); - internal static GetTextureImageEXT glGetTextureImageEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTextureLevelParameterfvEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params); - internal unsafe static GetTextureLevelParameterfvEXT glGetTextureLevelParameterfvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTextureLevelParameterivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetTextureLevelParameterivEXT glGetTextureLevelParameterivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTextureParameterfvEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params); - internal unsafe static GetTextureParameterfvEXT glGetTextureParameterfvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTextureParameterIivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetTextureParameterIivEXT glGetTextureParameterIivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTextureParameterIuivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params); - internal unsafe static GetTextureParameterIuivEXT glGetTextureParameterIuivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTextureParameterivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetTextureParameterivEXT glGetTextureParameterivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int64 GetTextureSamplerHandleARB(UInt32 texture, UInt32 sampler); - internal static GetTextureSamplerHandleARB glGetTextureSamplerHandleARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int64 GetTextureSamplerHandleNV(UInt32 texture, UInt32 sampler); - internal static GetTextureSamplerHandleNV glGetTextureSamplerHandleNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTrackMatrixivNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Int32* @params); - internal unsafe static GetTrackMatrixivNV glGetTrackMatrixivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.TransformFeedbackType* type, [OutAttribute] StringBuilder name); - internal unsafe static GetTransformFeedbackVarying glGetTransformFeedbackVarying; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTransformFeedbackVaryingEXT(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ExtTransformFeedback* type, [OutAttribute] StringBuilder name); - internal unsafe static GetTransformFeedbackVaryingEXT glGetTransformFeedbackVaryingEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTransformFeedbackVaryingNV(UInt32 program, UInt32 index, [OutAttribute] Int32* location); - internal unsafe static GetTransformFeedbackVaryingNV glGetTransformFeedbackVaryingNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetUniformBlockIndex(UInt32 program, String uniformBlockName); - internal static GetUniformBlockIndex glGetUniformBlockIndex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetUniformBufferSizeEXT(UInt32 program, Int32 location); - internal static GetUniformBufferSizeEXT glGetUniformBufferSizeEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetUniformdv(UInt32 program, Int32 location, [OutAttribute] Double* @params); - internal unsafe static GetUniformdv glGetUniformdv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetUniformfv(UInt32 program, Int32 location, [OutAttribute] Single* @params); - internal unsafe static GetUniformfv glGetUniformfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetUniformfvARB(UInt32 programObj, Int32 location, [OutAttribute] Single* @params); - internal unsafe static GetUniformfvARB glGetUniformfvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetUniformi64vNV(UInt32 program, Int32 location, [OutAttribute] Int64* @params); - internal unsafe static GetUniformi64vNV glGetUniformi64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] UInt32* uniformIndices); - internal unsafe static GetUniformIndices glGetUniformIndices; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetUniformiv(UInt32 program, Int32 location, [OutAttribute] Int32* @params); - internal unsafe static GetUniformiv glGetUniformiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetUniformivARB(UInt32 programObj, Int32 location, [OutAttribute] Int32* @params); - internal unsafe static GetUniformivARB glGetUniformivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetUniformLocation(UInt32 program, String name); - internal static GetUniformLocation glGetUniformLocation; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetUniformLocationARB(UInt32 programObj, String name); - internal static GetUniformLocationARB glGetUniformLocationARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr GetUniformOffsetEXT(UInt32 program, Int32 location); - internal static GetUniformOffsetEXT glGetUniformOffsetEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetUniformSubroutineuiv(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 location, [OutAttribute] UInt32* @params); - internal unsafe static GetUniformSubroutineuiv glGetUniformSubroutineuiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetUniformui64vNV(UInt32 program, Int32 location, [OutAttribute] UInt64* @params); - internal unsafe static GetUniformui64vNV glGetUniformui64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetUniformuiv(UInt32 program, Int32 location, [OutAttribute] UInt32* @params); - internal unsafe static GetUniformuiv glGetUniformuiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetUniformuivEXT(UInt32 program, Int32 location, [OutAttribute] UInt32* @params); - internal unsafe static GetUniformuivEXT glGetUniformuivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVariantArrayObjectfvATI(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params); - internal unsafe static GetVariantArrayObjectfvATI glGetVariantArrayObjectfvATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVariantArrayObjectivATI(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params); - internal unsafe static GetVariantArrayObjectivATI glGetVariantArrayObjectivATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVariantBooleanvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data); - internal unsafe static GetVariantBooleanvEXT glGetVariantBooleanvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVariantFloatvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data); - internal unsafe static GetVariantFloatvEXT glGetVariantFloatvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVariantIntegervEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data); - internal unsafe static GetVariantIntegervEXT glGetVariantIntegervEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetVariantPointervEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] IntPtr data); - internal static GetVariantPointervEXT glGetVariantPointervEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetVaryingLocationNV(UInt32 program, String name); - internal static GetVaryingLocationNV glGetVaryingLocationNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexArrayIntegeri_vEXT(UInt32 vaobj, UInt32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* param); - internal unsafe static GetVertexArrayIntegeri_vEXT glGetVertexArrayIntegeri_vEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexArrayIntegervEXT(UInt32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* param); - internal unsafe static GetVertexArrayIntegervEXT glGetVertexArrayIntegervEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetVertexArrayPointeri_vEXT(UInt32 vaobj, UInt32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr param); - internal static GetVertexArrayPointeri_vEXT glGetVertexArrayPointeri_vEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetVertexArrayPointervEXT(UInt32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr param); - internal static GetVertexArrayPointervEXT glGetVertexArrayPointervEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribArrayObjectfvATI(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Single* @params); - internal unsafe static GetVertexAttribArrayObjectfvATI glGetVertexAttribArrayObjectfvATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribArrayObjectivATI(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Int32* @params); - internal unsafe static GetVertexAttribArrayObjectivATI glGetVertexAttribArrayObjectivATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribdv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double* @params); - internal unsafe static GetVertexAttribdv glGetVertexAttribdv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribdvARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Double* @params); - internal unsafe static GetVertexAttribdvARB glGetVertexAttribdvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribdvNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Double* @params); - internal unsafe static GetVertexAttribdvNV glGetVertexAttribdvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribfv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Single* @params); - internal unsafe static GetVertexAttribfv glGetVertexAttribfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribfvARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Single* @params); - internal unsafe static GetVertexAttribfvARB glGetVertexAttribfvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribfvNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Single* @params); - internal unsafe static GetVertexAttribfvNV glGetVertexAttribfvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribIiv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetVertexAttribIiv glGetVertexAttribIiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribIivEXT(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [OutAttribute] Int32* @params); - internal unsafe static GetVertexAttribIivEXT glGetVertexAttribIivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribIuiv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] UInt32* @params); - internal unsafe static GetVertexAttribIuiv glGetVertexAttribIuiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribIuivEXT(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [OutAttribute] UInt32* @params); - internal unsafe static GetVertexAttribIuivEXT glGetVertexAttribIuivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribiv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetVertexAttribiv glGetVertexAttribiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribivARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Int32* @params); - internal unsafe static GetVertexAttribivARB glGetVertexAttribivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribivNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Int32* @params); - internal unsafe static GetVertexAttribivNV glGetVertexAttribivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribLdv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double* @params); - internal unsafe static GetVertexAttribLdv glGetVertexAttribLdv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribLdvEXT(UInt32 index, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit pname, [OutAttribute] Double* @params); - internal unsafe static GetVertexAttribLdvEXT glGetVertexAttribLdvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribLi64vNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] Int64* @params); - internal unsafe static GetVertexAttribLi64vNV glGetVertexAttribLi64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribLui64vARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] UInt64* @params); - internal unsafe static GetVertexAttribLui64vARB glGetVertexAttribLui64vARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribLui64vNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] UInt64* @params); - internal unsafe static GetVertexAttribLui64vNV glGetVertexAttribLui64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer); - internal static GetVertexAttribPointerv glGetVertexAttribPointerv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetVertexAttribPointervARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [OutAttribute] IntPtr pointer); - internal static GetVertexAttribPointervARB glGetVertexAttribPointervARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetVertexAttribPointervNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] IntPtr pointer); - internal static GetVertexAttribPointervNV glGetVertexAttribPointervNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVideoCaptureivNV(UInt32 video_capture_slot, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32* @params); - internal unsafe static GetVideoCaptureivNV glGetVideoCaptureivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVideoCaptureStreamdvNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Double* @params); - internal unsafe static GetVideoCaptureStreamdvNV glGetVideoCaptureStreamdvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVideoCaptureStreamfvNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Single* @params); - internal unsafe static GetVideoCaptureStreamfvNV glGetVideoCaptureStreamfvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVideoCaptureStreamivNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32* @params); - internal unsafe static GetVideoCaptureStreamivNV glGetVideoCaptureStreamivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVideoi64vNV(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int64* @params); - internal unsafe static GetVideoi64vNV glGetVideoi64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVideoivNV(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int32* @params); - internal unsafe static GetVideoivNV glGetVideoivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVideoui64vNV(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] UInt64* @params); - internal unsafe static GetVideoui64vNV glGetVideoui64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVideouivNV(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] UInt32* @params); - internal unsafe static GetVideouivNV glGetVideouivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GlobalAlphaFactorbSUN(SByte factor); - internal static GlobalAlphaFactorbSUN glGlobalAlphaFactorbSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GlobalAlphaFactordSUN(Double factor); - internal static GlobalAlphaFactordSUN glGlobalAlphaFactordSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GlobalAlphaFactorfSUN(Single factor); - internal static GlobalAlphaFactorfSUN glGlobalAlphaFactorfSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GlobalAlphaFactoriSUN(Int32 factor); - internal static GlobalAlphaFactoriSUN glGlobalAlphaFactoriSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GlobalAlphaFactorsSUN(Int16 factor); - internal static GlobalAlphaFactorsSUN glGlobalAlphaFactorsSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GlobalAlphaFactorubSUN(Byte factor); - internal static GlobalAlphaFactorubSUN glGlobalAlphaFactorubSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GlobalAlphaFactoruiSUN(UInt32 factor); - internal static GlobalAlphaFactoruiSUN glGlobalAlphaFactoruiSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GlobalAlphaFactorusSUN(UInt16 factor); - internal static GlobalAlphaFactorusSUN glGlobalAlphaFactorusSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Hint(OpenTK.Graphics.OpenGL.HintTarget target, OpenTK.Graphics.OpenGL.HintMode mode); - internal static Hint glHint; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void HintPGI(OpenTK.Graphics.OpenGL.PgiMiscHints target, Int32 mode); - internal static HintPGI glHintPGI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Histogram(OpenTK.Graphics.OpenGL.HistogramTarget target, Int32 width, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); - internal static Histogram glHistogram; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void HistogramEXT(OpenTK.Graphics.OpenGL.HistogramTargetExt target, Int32 width, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); - internal static HistogramEXT glHistogramEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void IglooInterfaceSGIX(OpenTK.Graphics.OpenGL.SgixIglooInterface pname, IntPtr @params); - internal static IglooInterfaceSGIX glIglooInterfaceSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ImageTransformParameterfHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Single param); - internal static ImageTransformParameterfHP glImageTransformParameterfHP; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ImageTransformParameterfvHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Single* @params); - internal unsafe static ImageTransformParameterfvHP glImageTransformParameterfvHP; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ImageTransformParameteriHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Int32 param); - internal static ImageTransformParameteriHP glImageTransformParameteriHP; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ImageTransformParameterivHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Int32* @params); - internal unsafe static ImageTransformParameterivHP glImageTransformParameterivHP; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr ImportSyncEXT(OpenTK.Graphics.OpenGL.ExtX11SyncObject external_sync_type, IntPtr external_sync, UInt32 flags); - internal static ImportSyncEXT glImportSyncEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Indexd(Double c); - internal static Indexd glIndexd; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Indexdv(Double* c); - internal unsafe static Indexdv glIndexdv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Indexf(Single c); - internal static Indexf glIndexf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void IndexFormatNV(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); - internal static IndexFormatNV glIndexFormatNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void IndexFuncEXT(OpenTK.Graphics.OpenGL.ExtIndexFunc func, Single @ref); - internal static IndexFuncEXT glIndexFuncEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Indexfv(Single* c); - internal unsafe static Indexfv glIndexfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Indexi(Int32 c); - internal static Indexi glIndexi; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Indexiv(Int32* c); - internal unsafe static Indexiv glIndexiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void IndexMask(UInt32 mask); - internal static IndexMask glIndexMask; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void IndexMaterialEXT(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.ExtIndexMaterial mode); - internal static IndexMaterialEXT glIndexMaterialEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, IntPtr pointer); - internal static IndexPointer glIndexPointer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void IndexPointerEXT(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, Int32 count, IntPtr pointer); - internal static IndexPointerEXT glIndexPointerEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void IndexPointerListIBM(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); - internal static IndexPointerListIBM glIndexPointerListIBM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Indexs(Int16 c); - internal static Indexs glIndexs; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Indexsv(Int16* c); - internal unsafe static Indexsv glIndexsv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Indexub(Byte c); - internal static Indexub glIndexub; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Indexubv(Byte* c); - internal unsafe static Indexubv glIndexubv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void IndexxOES(int component); - internal static IndexxOES glIndexxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void IndexxvOES(int* component); - internal unsafe static IndexxvOES glIndexxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void InitNames(); - internal static InitNames glInitNames; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void InsertComponentEXT(UInt32 res, UInt32 src, UInt32 num); - internal static InsertComponentEXT glInsertComponentEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void InsertEventMarkerEXT(Int32 length, String marker); - internal static InsertEventMarkerEXT glInsertEventMarkerEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void InstrumentsBufferSGIX(Int32 size, [OutAttribute] Int32* buffer); - internal unsafe static InstrumentsBufferSGIX glInstrumentsBufferSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void InterleavedArrays(OpenTK.Graphics.OpenGL.InterleavedArrayFormat format, Int32 stride, IntPtr pointer); - internal static InterleavedArrays glInterleavedArrays; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void InterpolatePathsNV(UInt32 resultPath, UInt32 pathA, UInt32 pathB, Single weight); - internal static InterpolatePathsNV glInterpolatePathsNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void InvalidateBufferData(UInt32 buffer); - internal static InvalidateBufferData glInvalidateBufferData; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void InvalidateBufferSubData(UInt32 buffer, IntPtr offset, IntPtr length); - internal static InvalidateBufferSubData glInvalidateBufferSubData; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void InvalidateFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.OpenGL.FramebufferAttachment* attachments); - internal unsafe static InvalidateFramebuffer glInvalidateFramebuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void InvalidateSubFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.OpenGL.FramebufferAttachment* attachments, Int32 x, Int32 y, Int32 width, Int32 height); - internal unsafe static InvalidateSubFramebuffer glInvalidateSubFramebuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void InvalidateTexImage(UInt32 texture, Int32 level); - internal static InvalidateTexImage glInvalidateTexImage; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void InvalidateTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth); - internal static InvalidateTexSubImage glInvalidateTexSubImage; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsAsyncMarkerSGIX(UInt32 marker); - internal static IsAsyncMarkerSGIX glIsAsyncMarkerSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsBuffer(UInt32 buffer); - internal static IsBuffer glIsBuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsBufferARB(UInt32 buffer); - internal static IsBufferARB glIsBufferARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsBufferResidentNV(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target); - internal static IsBufferResidentNV glIsBufferResidentNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsEnabled(OpenTK.Graphics.OpenGL.EnableCap cap); - internal static IsEnabled glIsEnabled; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsEnabledi(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); - internal static IsEnabledi glIsEnabledi; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsEnabledIndexedEXT(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); - internal static IsEnabledIndexedEXT glIsEnabledIndexedEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsFenceAPPLE(UInt32 fence); - internal static IsFenceAPPLE glIsFenceAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsFenceNV(UInt32 fence); - internal static IsFenceNV glIsFenceNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsFramebuffer(UInt32 framebuffer); - internal static IsFramebuffer glIsFramebuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsFramebufferEXT(UInt32 framebuffer); - internal static IsFramebufferEXT glIsFramebufferEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsImageHandleResidentARB(UInt64 handle); - internal static IsImageHandleResidentARB glIsImageHandleResidentARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsImageHandleResidentNV(UInt64 handle); - internal static IsImageHandleResidentNV glIsImageHandleResidentNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsList(UInt32 list); - internal static IsList glIsList; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsNameAMD(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 name); - internal static IsNameAMD glIsNameAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsNamedBufferResidentNV(UInt32 buffer); - internal static IsNamedBufferResidentNV glIsNamedBufferResidentNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsNamedStringARB(Int32 namelen, String name); - internal static IsNamedStringARB glIsNamedStringARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsObjectBufferATI(UInt32 buffer); - internal static IsObjectBufferATI glIsObjectBufferATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsOcclusionQueryNV(UInt32 id); - internal static IsOcclusionQueryNV glIsOcclusionQueryNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsPathNV(UInt32 path); - internal static IsPathNV glIsPathNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsPointInFillPathNV(UInt32 path, UInt32 mask, Single x, Single y); - internal static IsPointInFillPathNV glIsPointInFillPathNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsPointInStrokePathNV(UInt32 path, Single x, Single y); - internal static IsPointInStrokePathNV glIsPointInStrokePathNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsProgram(UInt32 program); - internal static IsProgram glIsProgram; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsProgramARB(UInt32 program); - internal static IsProgramARB glIsProgramARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsProgramNV(UInt32 id); - internal static IsProgramNV glIsProgramNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsProgramPipeline(UInt32 pipeline); - internal static IsProgramPipeline glIsProgramPipeline; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsProgramPipelineEXT(UInt32 pipeline); - internal static IsProgramPipelineEXT glIsProgramPipelineEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsQuery(UInt32 id); - internal static IsQuery glIsQuery; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsQueryARB(UInt32 id); - internal static IsQueryARB glIsQueryARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsRenderbuffer(UInt32 renderbuffer); - internal static IsRenderbuffer glIsRenderbuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsRenderbufferEXT(UInt32 renderbuffer); - internal static IsRenderbufferEXT glIsRenderbufferEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsSampler(UInt32 sampler); - internal static IsSampler glIsSampler; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsShader(UInt32 shader); - internal static IsShader glIsShader; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsSync(IntPtr sync); - internal static IsSync glIsSync; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsTexture(UInt32 texture); - internal static IsTexture glIsTexture; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsTextureEXT(UInt32 texture); - internal static IsTextureEXT glIsTextureEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsTextureHandleResidentARB(UInt64 handle); - internal static IsTextureHandleResidentARB glIsTextureHandleResidentARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsTextureHandleResidentNV(UInt64 handle); - internal static IsTextureHandleResidentNV glIsTextureHandleResidentNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsTransformFeedback(UInt32 id); - internal static IsTransformFeedback glIsTransformFeedback; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsTransformFeedbackNV(UInt32 id); - internal static IsTransformFeedbackNV glIsTransformFeedbackNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsVariantEnabledEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader cap); - internal static IsVariantEnabledEXT glIsVariantEnabledEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsVertexArray(UInt32 array); - internal static IsVertexArray glIsVertexArray; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsVertexArrayAPPLE(UInt32 array); - internal static IsVertexArrayAPPLE glIsVertexArrayAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsVertexAttribEnabledAPPLE(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname); - internal static IsVertexAttribEnabledAPPLE glIsVertexAttribEnabledAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LabelObjectEXT(OpenTK.Graphics.OpenGL.ExtDebugLabel type, UInt32 @object, Int32 length, String label); - internal static LabelObjectEXT glLabelObjectEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LightEnviSGIX(OpenTK.Graphics.OpenGL.LightEnvParameterSgix pname, Int32 param); - internal static LightEnviSGIX glLightEnviSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Lightf(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Single param); - internal static Lightf glLightf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Lightfv(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Single* @params); - internal unsafe static Lightfv glLightfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Lighti(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Int32 param); - internal static Lighti glLighti; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Lightiv(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Int32* @params); - internal unsafe static Lightiv glLightiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LightModelf(OpenTK.Graphics.OpenGL.LightModelParameter pname, Single param); - internal static LightModelf glLightModelf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void LightModelfv(OpenTK.Graphics.OpenGL.LightModelParameter pname, Single* @params); - internal unsafe static LightModelfv glLightModelfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LightModeli(OpenTK.Graphics.OpenGL.LightModelParameter pname, Int32 param); - internal static LightModeli glLightModeli; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void LightModeliv(OpenTK.Graphics.OpenGL.LightModelParameter pname, Int32* @params); - internal unsafe static LightModeliv glLightModeliv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LightModelxOES(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); - internal static LightModelxOES glLightModelxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void LightModelxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* param); - internal unsafe static LightModelxvOES glLightModelxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LightxOES(OpenTK.Graphics.OpenGL.OesFixedPoint light, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); - internal static LightxOES glLightxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void LightxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint light, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params); - internal unsafe static LightxvOES glLightxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LineStipple(Int32 factor, UInt16 pattern); - internal static LineStipple glLineStipple; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LineWidth(Single width); - internal static LineWidth glLineWidth; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LineWidthxOES(int width); - internal static LineWidthxOES glLineWidthxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LinkProgram(UInt32 program); - internal static LinkProgram glLinkProgram; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LinkProgramARB(UInt32 programObj); - internal static LinkProgramARB glLinkProgramARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ListBase(UInt32 @base); - internal static ListBase glListBase; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ListParameterfSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single param); - internal static ListParameterfSGIX glListParameterfSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ListParameterfvSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single* @params); - internal unsafe static ListParameterfvSGIX glListParameterfvSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ListParameteriSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32 param); - internal static ListParameteriSGIX glListParameteriSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ListParameterivSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32* @params); - internal unsafe static ListParameterivSGIX glListParameterivSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LoadIdentity(); - internal static LoadIdentity glLoadIdentity; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LoadIdentityDeformationMapSGIX(OpenTK.Graphics.OpenGL.FfdMaskSgix mask); - internal static LoadIdentityDeformationMapSGIX glLoadIdentityDeformationMapSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void LoadMatrixd(Double* m); - internal unsafe static LoadMatrixd glLoadMatrixd; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void LoadMatrixf(Single* m); - internal unsafe static LoadMatrixf glLoadMatrixf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void LoadMatrixxOES(int* m); - internal unsafe static LoadMatrixxOES glLoadMatrixxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LoadName(UInt32 name); - internal static LoadName glLoadName; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void LoadProgramNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, Int32 len, Byte* program); - internal unsafe static LoadProgramNV glLoadProgramNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void LoadTransposeMatrixd(Double* m); - internal unsafe static LoadTransposeMatrixd glLoadTransposeMatrixd; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void LoadTransposeMatrixdARB(Double* m); - internal unsafe static LoadTransposeMatrixdARB glLoadTransposeMatrixdARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void LoadTransposeMatrixf(Single* m); - internal unsafe static LoadTransposeMatrixf glLoadTransposeMatrixf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void LoadTransposeMatrixfARB(Single* m); - internal unsafe static LoadTransposeMatrixfARB glLoadTransposeMatrixfARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void LoadTransposeMatrixxOES(int* m); - internal unsafe static LoadTransposeMatrixxOES glLoadTransposeMatrixxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LockArraysEXT(Int32 first, Int32 count); - internal static LockArraysEXT glLockArraysEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LogicOp(OpenTK.Graphics.OpenGL.LogicOp opcode); - internal static LogicOp glLogicOp; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MakeBufferNonResidentNV(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target); - internal static MakeBufferNonResidentNV glMakeBufferNonResidentNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MakeBufferResidentNV(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad access); - internal static MakeBufferResidentNV glMakeBufferResidentNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MakeImageHandleNonResidentARB(UInt64 handle); - internal static MakeImageHandleNonResidentARB glMakeImageHandleNonResidentARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MakeImageHandleNonResidentNV(UInt64 handle); - internal static MakeImageHandleNonResidentNV glMakeImageHandleNonResidentNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MakeImageHandleResidentARB(UInt64 handle, OpenTK.Graphics.OpenGL.ArbBindlessTexture access); - internal static MakeImageHandleResidentARB glMakeImageHandleResidentARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MakeImageHandleResidentNV(UInt64 handle, OpenTK.Graphics.OpenGL.NvBindlessTexture access); - internal static MakeImageHandleResidentNV glMakeImageHandleResidentNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MakeNamedBufferNonResidentNV(UInt32 buffer); - internal static MakeNamedBufferNonResidentNV glMakeNamedBufferNonResidentNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MakeNamedBufferResidentNV(UInt32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad access); - internal static MakeNamedBufferResidentNV glMakeNamedBufferResidentNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MakeTextureHandleNonResidentARB(UInt64 handle); - internal static MakeTextureHandleNonResidentARB glMakeTextureHandleNonResidentARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MakeTextureHandleNonResidentNV(UInt64 handle); - internal static MakeTextureHandleNonResidentNV glMakeTextureHandleNonResidentNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MakeTextureHandleResidentARB(UInt64 handle); - internal static MakeTextureHandleResidentARB glMakeTextureHandleResidentARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MakeTextureHandleResidentNV(UInt64 handle); - internal static MakeTextureHandleResidentNV glMakeTextureHandleResidentNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Map1d(OpenTK.Graphics.OpenGL.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, Double* points); - internal unsafe static Map1d glMap1d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Map1f(OpenTK.Graphics.OpenGL.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, Single* points); - internal unsafe static Map1f glMap1f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Map1xOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, int u1, int u2, Int32 stride, Int32 order, int points); - internal static Map1xOES glMap1xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Map2d(OpenTK.Graphics.OpenGL.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points); - internal unsafe static Map2d glMap2d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Map2f(OpenTK.Graphics.OpenGL.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points); - internal unsafe static Map2f glMap2f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Map2xOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, int u1, int u2, Int32 ustride, Int32 uorder, int v1, int v2, Int32 vstride, Int32 vorder, int points); - internal static Map2xOES glMap2xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr MapBuffer(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferAccess access); - internal static MapBuffer glMapBuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr MapBufferARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferAccessArb access); - internal static MapBufferARB glMapBufferARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr MapBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.OpenGL.BufferAccessMask access); - internal static MapBufferRange glMapBufferRange; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MapControlPointsNV(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, IntPtr points); - internal static MapControlPointsNV glMapControlPointsNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MapGrid1d(Int32 un, Double u1, Double u2); - internal static MapGrid1d glMapGrid1d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MapGrid1f(Int32 un, Single u1, Single u2); - internal static MapGrid1f glMapGrid1f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MapGrid1xOES(Int32 n, int u1, int u2); - internal static MapGrid1xOES glMapGrid1xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MapGrid2d(Int32 un, Double u1, Double u2, Int32 vn, Double v1, Double v2); - internal static MapGrid2d glMapGrid2d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MapGrid2f(Int32 un, Single u1, Single u2, Int32 vn, Single v1, Single v2); - internal static MapGrid2f glMapGrid2f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MapGrid2xOES(Int32 n, int u1, int u2, int v1, int v2); - internal static MapGrid2xOES glMapGrid2xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr MapNamedBufferEXT(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess access); - internal static MapNamedBufferEXT glMapNamedBufferEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr MapNamedBufferRangeEXT(UInt32 buffer, IntPtr offset, IntPtr length, OpenTK.Graphics.OpenGL.BufferAccessMask access); - internal static MapNamedBufferRangeEXT glMapNamedBufferRangeEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr MapObjectBufferATI(UInt32 buffer); - internal static MapObjectBufferATI glMapObjectBufferATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MapParameterfvNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, Single* @params); - internal unsafe static MapParameterfvNV glMapParameterfvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MapParameterivNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, Int32* @params); - internal unsafe static MapParameterivNV glMapParameterivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate IntPtr MapTexture2DINTEL(UInt32 texture, Int32 level, UInt32 access, [OutAttribute] Int32* stride, [OutAttribute] OpenTK.Graphics.OpenGL.IntelMapTexture* layout); - internal unsafe static MapTexture2DINTEL glMapTexture2DINTEL; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MapVertexAttrib1dAPPLE(UInt32 index, UInt32 size, Double u1, Double u2, Int32 stride, Int32 order, Double* points); - internal unsafe static MapVertexAttrib1dAPPLE glMapVertexAttrib1dAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MapVertexAttrib1fAPPLE(UInt32 index, UInt32 size, Single u1, Single u2, Int32 stride, Int32 order, Single* points); - internal unsafe static MapVertexAttrib1fAPPLE glMapVertexAttrib1fAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MapVertexAttrib2dAPPLE(UInt32 index, UInt32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points); - internal unsafe static MapVertexAttrib2dAPPLE glMapVertexAttrib2dAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MapVertexAttrib2fAPPLE(UInt32 index, UInt32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points); - internal unsafe static MapVertexAttrib2fAPPLE glMapVertexAttrib2fAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Materialf(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single param); - internal static Materialf glMaterialf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Materialfv(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single* @params); - internal unsafe static Materialfv glMaterialfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Materiali(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32 param); - internal static Materiali glMateriali; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Materialiv(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32* @params); - internal unsafe static Materialiv glMaterialiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MaterialxOES(OpenTK.Graphics.OpenGL.OesFixedPoint face, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); - internal static MaterialxOES glMaterialxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MaterialxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint face, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* param); - internal unsafe static MaterialxvOES glMaterialxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MatrixFrustumEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); - internal static MatrixFrustumEXT glMatrixFrustumEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MatrixIndexPointerARB(Int32 size, OpenTK.Graphics.OpenGL.ArbMatrixPalette type, Int32 stride, IntPtr pointer); - internal static MatrixIndexPointerARB glMatrixIndexPointerARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MatrixIndexubvARB(Int32 size, Byte* indices); - internal unsafe static MatrixIndexubvARB glMatrixIndexubvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MatrixIndexuivARB(Int32 size, UInt32* indices); - internal unsafe static MatrixIndexuivARB glMatrixIndexuivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MatrixIndexusvARB(Int32 size, UInt16* indices); - internal unsafe static MatrixIndexusvARB glMatrixIndexusvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MatrixLoaddEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m); - internal unsafe static MatrixLoaddEXT glMatrixLoaddEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MatrixLoadfEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m); - internal unsafe static MatrixLoadfEXT glMatrixLoadfEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MatrixLoadIdentityEXT(OpenTK.Graphics.OpenGL.MatrixMode mode); - internal static MatrixLoadIdentityEXT glMatrixLoadIdentityEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MatrixLoadTransposedEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m); - internal unsafe static MatrixLoadTransposedEXT glMatrixLoadTransposedEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MatrixLoadTransposefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m); - internal unsafe static MatrixLoadTransposefEXT glMatrixLoadTransposefEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MatrixMode(OpenTK.Graphics.OpenGL.MatrixMode mode); - internal static MatrixMode glMatrixMode; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MatrixMultdEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m); - internal unsafe static MatrixMultdEXT glMatrixMultdEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MatrixMultfEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m); - internal unsafe static MatrixMultfEXT glMatrixMultfEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MatrixMultTransposedEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m); - internal unsafe static MatrixMultTransposedEXT glMatrixMultTransposedEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MatrixMultTransposefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m); - internal unsafe static MatrixMultTransposefEXT glMatrixMultTransposefEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MatrixOrthoEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); - internal static MatrixOrthoEXT glMatrixOrthoEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MatrixPopEXT(OpenTK.Graphics.OpenGL.MatrixMode mode); - internal static MatrixPopEXT glMatrixPopEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MatrixPushEXT(OpenTK.Graphics.OpenGL.MatrixMode mode); - internal static MatrixPushEXT glMatrixPushEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MatrixRotatedEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double angle, Double x, Double y, Double z); - internal static MatrixRotatedEXT glMatrixRotatedEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MatrixRotatefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single angle, Single x, Single y, Single z); - internal static MatrixRotatefEXT glMatrixRotatefEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MatrixScaledEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double x, Double y, Double z); - internal static MatrixScaledEXT glMatrixScaledEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MatrixScalefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single x, Single y, Single z); - internal static MatrixScalefEXT glMatrixScalefEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MatrixTranslatedEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double x, Double y, Double z); - internal static MatrixTranslatedEXT glMatrixTranslatedEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MatrixTranslatefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single x, Single y, Single z); - internal static MatrixTranslatefEXT glMatrixTranslatefEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MemoryBarrier(OpenTK.Graphics.OpenGL.MemoryBarrierFlags barriers); - internal static MemoryBarrier glMemoryBarrier; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MemoryBarrierEXT(UInt32 barriers); - internal static MemoryBarrierEXT glMemoryBarrierEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Minmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); - internal static Minmax glMinmax; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MinmaxEXT(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); - internal static MinmaxEXT glMinmaxEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MinSampleShading(Single value); - internal static MinSampleShading glMinSampleShading; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MinSampleShadingARB(Single value); - internal static MinSampleShadingARB glMinSampleShadingARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiDrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* first, Int32* count, Int32 drawcount); - internal unsafe static MultiDrawArrays glMultiDrawArrays; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiDrawArraysEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount); - internal unsafe static MultiDrawArraysEXT glMultiDrawArraysEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, IntPtr indirect, Int32 drawcount, Int32 stride); - internal static MultiDrawArraysIndirect glMultiDrawArraysIndirect; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiDrawArraysIndirectAMD(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, IntPtr indirect, Int32 primcount, Int32 stride); - internal static MultiDrawArraysIndirectAMD glMultiDrawArraysIndirectAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiDrawArraysIndirectBindlessNV(OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect mode, IntPtr indirect, Int32 drawCount, Int32 stride, Int32 vertexBufferCount); - internal static MultiDrawArraysIndirectBindlessNV glMultiDrawArraysIndirectBindlessNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiDrawArraysIndirectCountARB(OpenTK.Graphics.OpenGL.ArbIndirectParameters mode, IntPtr indirect, IntPtr drawcount, Int32 maxdrawcount, Int32 stride); - internal static MultiDrawArraysIndirectCountARB glMultiDrawArraysIndirectCountARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiDrawElementArrayAPPLE(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount); - internal unsafe static MultiDrawElementArrayAPPLE glMultiDrawElementArrayAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount); - internal unsafe static MultiDrawElements glMultiDrawElements; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount, Int32* basevertex); - internal unsafe static MultiDrawElementsBaseVertex glMultiDrawElementsBaseVertex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiDrawElementsEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); - internal unsafe static MultiDrawElementsEXT glMultiDrawElementsEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL.All mode, OpenTK.Graphics.OpenGL.All type, IntPtr indirect, Int32 drawcount, Int32 stride); - internal static MultiDrawElementsIndirect glMultiDrawElementsIndirect; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiDrawElementsIndirectAMD(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect type, IntPtr indirect, Int32 primcount, Int32 stride); - internal static MultiDrawElementsIndirectAMD glMultiDrawElementsIndirectAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiDrawElementsIndirectBindlessNV(OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect type, IntPtr indirect, Int32 drawCount, Int32 stride, Int32 vertexBufferCount); - internal static MultiDrawElementsIndirectBindlessNV glMultiDrawElementsIndirectBindlessNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiDrawElementsIndirectCountARB(OpenTK.Graphics.OpenGL.ArbIndirectParameters mode, OpenTK.Graphics.OpenGL.ArbIndirectParameters type, IntPtr indirect, IntPtr drawcount, Int32 maxdrawcount, Int32 stride); - internal static MultiDrawElementsIndirectCountARB glMultiDrawElementsIndirectCountARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiDrawRangeElementArrayAPPLE(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32* first, Int32* count, Int32 primcount); - internal unsafe static MultiDrawRangeElementArrayAPPLE glMultiDrawRangeElementArrayAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiModeDrawArraysIBM(OpenTK.Graphics.OpenGL.PrimitiveType* mode, Int32* first, Int32* count, Int32 primcount, Int32 modestride); - internal unsafe static MultiModeDrawArraysIBM glMultiModeDrawArraysIBM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiModeDrawElementsIBM(OpenTK.Graphics.OpenGL.PrimitiveType* mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride); - internal unsafe static MultiModeDrawElementsIBM glMultiModeDrawElementsIBM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexBufferEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, UInt32 buffer); - internal static MultiTexBufferEXT glMultiTexBufferEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord1bOES(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte s); - internal static MultiTexCoord1bOES glMultiTexCoord1bOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord1bvOES(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte* coords); - internal unsafe static MultiTexCoord1bvOES glMultiTexCoord1bvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord1d(OpenTK.Graphics.OpenGL.TextureUnit target, Double s); - internal static MultiTexCoord1d glMultiTexCoord1d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord1dARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double s); - internal static MultiTexCoord1dARB glMultiTexCoord1dARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord1dv(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); - internal unsafe static MultiTexCoord1dv glMultiTexCoord1dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord1dvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); - internal unsafe static MultiTexCoord1dvARB glMultiTexCoord1dvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord1f(OpenTK.Graphics.OpenGL.TextureUnit target, Single s); - internal static MultiTexCoord1f glMultiTexCoord1f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord1fARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single s); - internal static MultiTexCoord1fARB glMultiTexCoord1fARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord1fv(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); - internal unsafe static MultiTexCoord1fv glMultiTexCoord1fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord1fvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); - internal unsafe static MultiTexCoord1fvARB glMultiTexCoord1fvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord1hNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half s); - internal static MultiTexCoord1hNV glMultiTexCoord1hNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord1hvNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v); - internal unsafe static MultiTexCoord1hvNV glMultiTexCoord1hvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord1i(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s); - internal static MultiTexCoord1i glMultiTexCoord1i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord1iARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s); - internal static MultiTexCoord1iARB glMultiTexCoord1iARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord1iv(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); - internal unsafe static MultiTexCoord1iv glMultiTexCoord1iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord1ivARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); - internal unsafe static MultiTexCoord1ivARB glMultiTexCoord1ivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord1s(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s); - internal static MultiTexCoord1s glMultiTexCoord1s; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord1sARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s); - internal static MultiTexCoord1sARB glMultiTexCoord1sARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord1sv(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); - internal unsafe static MultiTexCoord1sv glMultiTexCoord1sv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord1svARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); - internal unsafe static MultiTexCoord1svARB glMultiTexCoord1svARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord1xOES(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int s); - internal static MultiTexCoord1xOES glMultiTexCoord1xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord1xvOES(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int* coords); - internal unsafe static MultiTexCoord1xvOES glMultiTexCoord1xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord2bOES(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte s, SByte t); - internal static MultiTexCoord2bOES glMultiTexCoord2bOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord2bvOES(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte* coords); - internal unsafe static MultiTexCoord2bvOES glMultiTexCoord2bvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord2d(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t); - internal static MultiTexCoord2d glMultiTexCoord2d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord2dARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t); - internal static MultiTexCoord2dARB glMultiTexCoord2dARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord2dv(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); - internal unsafe static MultiTexCoord2dv glMultiTexCoord2dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord2dvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); - internal unsafe static MultiTexCoord2dvARB glMultiTexCoord2dvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord2f(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t); - internal static MultiTexCoord2f glMultiTexCoord2f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord2fARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t); - internal static MultiTexCoord2fARB glMultiTexCoord2fARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord2fv(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); - internal unsafe static MultiTexCoord2fv glMultiTexCoord2fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord2fvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); - internal unsafe static MultiTexCoord2fvARB glMultiTexCoord2fvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord2hNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half s, Half t); - internal static MultiTexCoord2hNV glMultiTexCoord2hNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord2hvNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v); - internal unsafe static MultiTexCoord2hvNV glMultiTexCoord2hvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord2i(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t); - internal static MultiTexCoord2i glMultiTexCoord2i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord2iARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t); - internal static MultiTexCoord2iARB glMultiTexCoord2iARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord2iv(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); - internal unsafe static MultiTexCoord2iv glMultiTexCoord2iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord2ivARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); - internal unsafe static MultiTexCoord2ivARB glMultiTexCoord2ivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord2s(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t); - internal static MultiTexCoord2s glMultiTexCoord2s; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord2sARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t); - internal static MultiTexCoord2sARB glMultiTexCoord2sARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord2sv(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); - internal unsafe static MultiTexCoord2sv glMultiTexCoord2sv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord2svARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); - internal unsafe static MultiTexCoord2svARB glMultiTexCoord2svARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord2xOES(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int s, int t); - internal static MultiTexCoord2xOES glMultiTexCoord2xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord2xvOES(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int* coords); - internal unsafe static MultiTexCoord2xvOES glMultiTexCoord2xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord3bOES(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte s, SByte t, SByte r); - internal static MultiTexCoord3bOES glMultiTexCoord3bOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord3bvOES(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte* coords); - internal unsafe static MultiTexCoord3bvOES glMultiTexCoord3bvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord3d(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r); - internal static MultiTexCoord3d glMultiTexCoord3d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord3dARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r); - internal static MultiTexCoord3dARB glMultiTexCoord3dARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord3dv(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); - internal unsafe static MultiTexCoord3dv glMultiTexCoord3dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord3dvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); - internal unsafe static MultiTexCoord3dvARB glMultiTexCoord3dvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord3f(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r); - internal static MultiTexCoord3f glMultiTexCoord3f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord3fARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r); - internal static MultiTexCoord3fARB glMultiTexCoord3fARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord3fv(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); - internal unsafe static MultiTexCoord3fv glMultiTexCoord3fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord3fvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); - internal unsafe static MultiTexCoord3fvARB glMultiTexCoord3fvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord3hNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half s, Half t, Half r); - internal static MultiTexCoord3hNV glMultiTexCoord3hNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord3hvNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v); - internal unsafe static MultiTexCoord3hvNV glMultiTexCoord3hvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord3i(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r); - internal static MultiTexCoord3i glMultiTexCoord3i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord3iARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r); - internal static MultiTexCoord3iARB glMultiTexCoord3iARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord3iv(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); - internal unsafe static MultiTexCoord3iv glMultiTexCoord3iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord3ivARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); - internal unsafe static MultiTexCoord3ivARB glMultiTexCoord3ivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord3s(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r); - internal static MultiTexCoord3s glMultiTexCoord3s; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord3sARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r); - internal static MultiTexCoord3sARB glMultiTexCoord3sARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord3sv(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); - internal unsafe static MultiTexCoord3sv glMultiTexCoord3sv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord3svARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); - internal unsafe static MultiTexCoord3svARB glMultiTexCoord3svARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord3xOES(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int s, int t, int r); - internal static MultiTexCoord3xOES glMultiTexCoord3xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord3xvOES(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int* coords); - internal unsafe static MultiTexCoord3xvOES glMultiTexCoord3xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord4bOES(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte s, SByte t, SByte r, SByte q); - internal static MultiTexCoord4bOES glMultiTexCoord4bOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord4bvOES(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte* coords); - internal unsafe static MultiTexCoord4bvOES glMultiTexCoord4bvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord4d(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r, Double q); - internal static MultiTexCoord4d glMultiTexCoord4d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord4dARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r, Double q); - internal static MultiTexCoord4dARB glMultiTexCoord4dARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord4dv(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); - internal unsafe static MultiTexCoord4dv glMultiTexCoord4dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord4dvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); - internal unsafe static MultiTexCoord4dvARB glMultiTexCoord4dvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord4f(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r, Single q); - internal static MultiTexCoord4f glMultiTexCoord4f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord4fARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r, Single q); - internal static MultiTexCoord4fARB glMultiTexCoord4fARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord4fv(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); - internal unsafe static MultiTexCoord4fv glMultiTexCoord4fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord4fvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); - internal unsafe static MultiTexCoord4fvARB glMultiTexCoord4fvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord4hNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half s, Half t, Half r, Half q); - internal static MultiTexCoord4hNV glMultiTexCoord4hNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord4hvNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v); - internal unsafe static MultiTexCoord4hvNV glMultiTexCoord4hvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord4i(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q); - internal static MultiTexCoord4i glMultiTexCoord4i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord4iARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q); - internal static MultiTexCoord4iARB glMultiTexCoord4iARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord4iv(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); - internal unsafe static MultiTexCoord4iv glMultiTexCoord4iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord4ivARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); - internal unsafe static MultiTexCoord4ivARB glMultiTexCoord4ivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord4s(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q); - internal static MultiTexCoord4s glMultiTexCoord4s; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord4sARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q); - internal static MultiTexCoord4sARB glMultiTexCoord4sARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord4sv(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); - internal unsafe static MultiTexCoord4sv glMultiTexCoord4sv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord4svARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); - internal unsafe static MultiTexCoord4svARB glMultiTexCoord4svARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord4xOES(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int s, int t, int r, int q); - internal static MultiTexCoord4xOES glMultiTexCoord4xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord4xvOES(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int* coords); - internal unsafe static MultiTexCoord4xvOES glMultiTexCoord4xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoordP1ui(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); - internal static MultiTexCoordP1ui glMultiTexCoordP1ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoordP1uiv(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); - internal unsafe static MultiTexCoordP1uiv glMultiTexCoordP1uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoordP2ui(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); - internal static MultiTexCoordP2ui glMultiTexCoordP2ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoordP2uiv(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); - internal unsafe static MultiTexCoordP2uiv glMultiTexCoordP2uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoordP3ui(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); - internal static MultiTexCoordP3ui glMultiTexCoordP3ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoordP3uiv(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); - internal unsafe static MultiTexCoordP3uiv glMultiTexCoordP3uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoordP4ui(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); - internal static MultiTexCoordP4ui glMultiTexCoordP4ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoordP4uiv(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); - internal unsafe static MultiTexCoordP4uiv glMultiTexCoordP4uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoordPointerEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer); - internal static MultiTexCoordPointerEXT glMultiTexCoordPointerEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexEnvfEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single param); - internal static MultiTexEnvfEXT glMultiTexEnvfEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexEnvfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single* @params); - internal unsafe static MultiTexEnvfvEXT glMultiTexEnvfvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexEnviEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32 param); - internal static MultiTexEnviEXT glMultiTexEnviEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexEnvivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32* @params); - internal unsafe static MultiTexEnvivEXT glMultiTexEnvivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexGendEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double param); - internal static MultiTexGendEXT glMultiTexGendEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexGendvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double* @params); - internal unsafe static MultiTexGendvEXT glMultiTexGendvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexGenfEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single param); - internal static MultiTexGenfEXT glMultiTexGenfEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexGenfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single* @params); - internal unsafe static MultiTexGenfvEXT glMultiTexGenfvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexGeniEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32 param); - internal static MultiTexGeniEXT glMultiTexGeniEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexGenivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32* @params); - internal unsafe static MultiTexGenivEXT glMultiTexGenivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - internal static MultiTexImage1DEXT glMultiTexImage1DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - internal static MultiTexImage2DEXT glMultiTexImage2DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - internal static MultiTexImage3DEXT glMultiTexImage3DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexParameterfEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param); - internal static MultiTexParameterfEXT glMultiTexParameterfEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexParameterfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params); - internal unsafe static MultiTexParameterfvEXT glMultiTexParameterfvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexParameteriEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param); - internal static MultiTexParameteriEXT glMultiTexParameteriEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexParameterIivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); - internal unsafe static MultiTexParameterIivEXT glMultiTexParameterIivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexParameterIuivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params); - internal unsafe static MultiTexParameterIuivEXT glMultiTexParameterIuivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexParameterivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); - internal unsafe static MultiTexParameterivEXT glMultiTexParameterivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexRenderbufferEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer); - internal static MultiTexRenderbufferEXT glMultiTexRenderbufferEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - internal static MultiTexSubImage1DEXT glMultiTexSubImage1DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - internal static MultiTexSubImage2DEXT glMultiTexSubImage2DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - internal static MultiTexSubImage3DEXT glMultiTexSubImage3DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultMatrixd(Double* m); - internal unsafe static MultMatrixd glMultMatrixd; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultMatrixf(Single* m); - internal unsafe static MultMatrixf glMultMatrixf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultMatrixxOES(int* m); - internal unsafe static MultMatrixxOES glMultMatrixxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultTransposeMatrixd(Double* m); - internal unsafe static MultTransposeMatrixd glMultTransposeMatrixd; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultTransposeMatrixdARB(Double* m); - internal unsafe static MultTransposeMatrixdARB glMultTransposeMatrixdARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultTransposeMatrixf(Single* m); - internal unsafe static MultTransposeMatrixf glMultTransposeMatrixf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultTransposeMatrixfARB(Single* m); - internal unsafe static MultTransposeMatrixfARB glMultTransposeMatrixfARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultTransposeMatrixxOES(int* m); - internal unsafe static MultTransposeMatrixxOES glMultTransposeMatrixxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedBufferDataEXT(UInt32 buffer, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage); - internal static NamedBufferDataEXT glNamedBufferDataEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedBufferStorageEXT(UInt32 buffer, IntPtr size, IntPtr data, UInt32 flags); - internal static NamedBufferStorageEXT glNamedBufferStorageEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedBufferSubDataEXT(UInt32 buffer, IntPtr offset, IntPtr size, IntPtr data); - internal static NamedBufferSubDataEXT glNamedBufferSubDataEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedCopyBufferSubDataEXT(UInt32 readBuffer, UInt32 writeBuffer, IntPtr readOffset, IntPtr writeOffset, IntPtr size); - internal static NamedCopyBufferSubDataEXT glNamedCopyBufferSubDataEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedFramebufferParameteriEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, Int32 param); - internal static NamedFramebufferParameteriEXT glNamedFramebufferParameteriEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedFramebufferRenderbufferEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); - internal static NamedFramebufferRenderbufferEXT glNamedFramebufferRenderbufferEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedFramebufferTexture1DEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); - internal static NamedFramebufferTexture1DEXT glNamedFramebufferTexture1DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedFramebufferTexture2DEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); - internal static NamedFramebufferTexture2DEXT glNamedFramebufferTexture2DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedFramebufferTexture3DEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset); - internal static NamedFramebufferTexture3DEXT glNamedFramebufferTexture3DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedFramebufferTextureEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level); - internal static NamedFramebufferTextureEXT glNamedFramebufferTextureEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedFramebufferTextureFaceEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face); - internal static NamedFramebufferTextureFaceEXT glNamedFramebufferTextureFaceEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedFramebufferTextureLayerEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); - internal static NamedFramebufferTextureLayerEXT glNamedFramebufferTextureLayerEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedProgramLocalParameter4dEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Double x, Double y, Double z, Double w); - internal static NamedProgramLocalParameter4dEXT glNamedProgramLocalParameter4dEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void NamedProgramLocalParameter4dvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Double* @params); - internal unsafe static NamedProgramLocalParameter4dvEXT glNamedProgramLocalParameter4dvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedProgramLocalParameter4fEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Single x, Single y, Single z, Single w); - internal static NamedProgramLocalParameter4fEXT glNamedProgramLocalParameter4fEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void NamedProgramLocalParameter4fvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Single* @params); - internal unsafe static NamedProgramLocalParameter4fvEXT glNamedProgramLocalParameter4fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedProgramLocalParameterI4iEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); - internal static NamedProgramLocalParameterI4iEXT glNamedProgramLocalParameterI4iEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void NamedProgramLocalParameterI4ivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32* @params); - internal unsafe static NamedProgramLocalParameterI4ivEXT glNamedProgramLocalParameterI4ivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedProgramLocalParameterI4uiEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); - internal static NamedProgramLocalParameterI4uiEXT glNamedProgramLocalParameterI4uiEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void NamedProgramLocalParameterI4uivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, UInt32* @params); - internal unsafe static NamedProgramLocalParameterI4uivEXT glNamedProgramLocalParameterI4uivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void NamedProgramLocalParameters4fvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, Single* @params); - internal unsafe static NamedProgramLocalParameters4fvEXT glNamedProgramLocalParameters4fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void NamedProgramLocalParametersI4ivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, Int32* @params); - internal unsafe static NamedProgramLocalParametersI4ivEXT glNamedProgramLocalParametersI4ivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void NamedProgramLocalParametersI4uivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, UInt32* @params); - internal unsafe static NamedProgramLocalParametersI4uivEXT glNamedProgramLocalParametersI4uivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedProgramStringEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, IntPtr @string); - internal static NamedProgramStringEXT glNamedProgramStringEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedRenderbufferStorageEXT(UInt32 renderbuffer, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height); - internal static NamedRenderbufferStorageEXT glNamedRenderbufferStorageEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedRenderbufferStorageMultisampleCoverageEXT(UInt32 renderbuffer, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height); - internal static NamedRenderbufferStorageMultisampleCoverageEXT glNamedRenderbufferStorageMultisampleCoverageEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedRenderbufferStorageMultisampleEXT(UInt32 renderbuffer, Int32 samples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height); - internal static NamedRenderbufferStorageMultisampleEXT glNamedRenderbufferStorageMultisampleEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedStringARB(OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude type, Int32 namelen, String name, Int32 stringlen, String @string); - internal static NamedStringARB glNamedStringARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NewList(UInt32 list, OpenTK.Graphics.OpenGL.ListMode mode); - internal static NewList glNewList; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 NewObjectBufferATI(Int32 size, IntPtr pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject usage); - internal static NewObjectBufferATI glNewObjectBufferATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Normal3b(SByte nx, SByte ny, SByte nz); - internal static Normal3b glNormal3b; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Normal3bv(SByte* v); - internal unsafe static Normal3bv glNormal3bv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Normal3d(Double nx, Double ny, Double nz); - internal static Normal3d glNormal3d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Normal3dv(Double* v); - internal unsafe static Normal3dv glNormal3dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Normal3f(Single nx, Single ny, Single nz); - internal static Normal3f glNormal3f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Normal3fv(Single* v); - internal unsafe static Normal3fv glNormal3fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Normal3fVertex3fSUN(Single nx, Single ny, Single nz, Single x, Single y, Single z); - internal static Normal3fVertex3fSUN glNormal3fVertex3fSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Normal3fVertex3fvSUN(Single* n, Single* v); - internal unsafe static Normal3fVertex3fvSUN glNormal3fVertex3fvSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Normal3hNV(Half nx, Half ny, Half nz); - internal static Normal3hNV glNormal3hNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Normal3hvNV(Half* v); - internal unsafe static Normal3hvNV glNormal3hvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Normal3i(Int32 nx, Int32 ny, Int32 nz); - internal static Normal3i glNormal3i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Normal3iv(Int32* v); - internal unsafe static Normal3iv glNormal3iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Normal3s(Int16 nx, Int16 ny, Int16 nz); - internal static Normal3s glNormal3s; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Normal3sv(Int16* v); - internal unsafe static Normal3sv glNormal3sv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Normal3xOES(int nx, int ny, int nz); - internal static Normal3xOES glNormal3xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Normal3xvOES(int* coords); - internal unsafe static Normal3xvOES glNormal3xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NormalFormatNV(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); - internal static NormalFormatNV glNormalFormatNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NormalP3ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); - internal static NormalP3ui glNormalP3ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void NormalP3uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); - internal unsafe static NormalP3uiv glNormalP3uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer); - internal static NormalPointer glNormalPointer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NormalPointerEXT(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, Int32 count, IntPtr pointer); - internal static NormalPointerEXT glNormalPointerEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NormalPointerListIBM(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); - internal static NormalPointerListIBM glNormalPointerListIBM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NormalPointervINTEL(OpenTK.Graphics.OpenGL.NormalPointerType type, IntPtr pointer); - internal static NormalPointervINTEL glNormalPointervINTEL; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NormalStream3bATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, SByte nx, SByte ny, SByte nz); - internal static NormalStream3bATI glNormalStream3bATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void NormalStream3bvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, SByte* coords); - internal unsafe static NormalStream3bvATI glNormalStream3bvATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NormalStream3dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double nx, Double ny, Double nz); - internal static NormalStream3dATI glNormalStream3dATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void NormalStream3dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); - internal unsafe static NormalStream3dvATI glNormalStream3dvATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NormalStream3fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single nx, Single ny, Single nz); - internal static NormalStream3fATI glNormalStream3fATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void NormalStream3fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); - internal unsafe static NormalStream3fvATI glNormalStream3fvATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NormalStream3iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 nx, Int32 ny, Int32 nz); - internal static NormalStream3iATI glNormalStream3iATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void NormalStream3ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); - internal unsafe static NormalStream3ivATI glNormalStream3ivATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NormalStream3sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 nx, Int16 ny, Int16 nz); - internal static NormalStream3sATI glNormalStream3sATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void NormalStream3svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); - internal unsafe static NormalStream3svATI glNormalStream3svATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ObjectLabel(OpenTK.Graphics.OpenGL.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label); - internal static ObjectLabel glObjectLabel; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ObjectLabelKHR(OpenTK.Graphics.OpenGL.KhrDebug identifier, UInt32 name, Int32 length, String label); - internal static ObjectLabelKHR glObjectLabelKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ObjectPtrLabel(IntPtr ptr, Int32 length, String label); - internal static ObjectPtrLabel glObjectPtrLabel; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ObjectPtrLabelKHR(IntPtr ptr, Int32 length, String label); - internal static ObjectPtrLabelKHR glObjectPtrLabelKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate OpenTK.Graphics.OpenGL.AppleObjectPurgeable ObjectPurgeableAPPLE(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable option); - internal static ObjectPurgeableAPPLE glObjectPurgeableAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate OpenTK.Graphics.OpenGL.AppleObjectPurgeable ObjectUnpurgeableAPPLE(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable option); - internal static ObjectUnpurgeableAPPLE glObjectUnpurgeableAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Ortho(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); - internal static Ortho glOrtho; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void OrthofOES(Single l, Single r, Single b, Single t, Single n, Single f); - internal static OrthofOES glOrthofOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void OrthoxOES(int l, int r, int b, int t, int n, int f); - internal static OrthoxOES glOrthoxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PassTexCoordATI(UInt32 dst, UInt32 coord, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle); - internal static PassTexCoordATI glPassTexCoordATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PassThrough(Single token); - internal static PassThrough glPassThrough; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PassThroughxOES(int token); - internal static PassThroughxOES glPassThroughxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PatchParameterfv(OpenTK.Graphics.OpenGL.PatchParameterFloat pname, Single* values); - internal unsafe static PatchParameterfv glPatchParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PatchParameteri(OpenTK.Graphics.OpenGL.PatchParameterInt pname, Int32 value); - internal static PatchParameteri glPatchParameteri; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PathColorGenNV(OpenTK.Graphics.OpenGL.NvPathRendering color, OpenTK.Graphics.OpenGL.NvPathRendering genMode, OpenTK.Graphics.OpenGL.NvPathRendering colorFormat, Single* coeffs); - internal unsafe static PathColorGenNV glPathColorGenNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PathCommandsNV(UInt32 path, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords); - internal unsafe static PathCommandsNV glPathCommandsNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PathCoordsNV(UInt32 path, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords); - internal static PathCoordsNV glPathCoordsNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PathCoverDepthFuncNV(OpenTK.Graphics.OpenGL.DepthFunction func); - internal static PathCoverDepthFuncNV glPathCoverDepthFuncNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PathDashArrayNV(UInt32 path, Int32 dashCount, Single* dashArray); - internal unsafe static PathDashArrayNV glPathDashArrayNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PathFogGenNV(OpenTK.Graphics.OpenGL.NvPathRendering genMode); - internal static PathFogGenNV glPathFogGenNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PathGlyphRangeNV(UInt32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, IntPtr fontName, UInt32 fontStyle, UInt32 firstGlyph, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, UInt32 pathParameterTemplate, Single emScale); - internal static PathGlyphRangeNV glPathGlyphRangeNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PathGlyphsNV(UInt32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, IntPtr fontName, UInt32 fontStyle, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering type, IntPtr charcodes, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, UInt32 pathParameterTemplate, Single emScale); - internal static PathGlyphsNV glPathGlyphsNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PathParameterfNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Single value); - internal static PathParameterfNV glPathParameterfNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PathParameterfvNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Single* value); - internal unsafe static PathParameterfvNV glPathParameterfvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PathParameteriNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Int32 value); - internal static PathParameteriNV glPathParameteriNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PathParameterivNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Int32* value); - internal unsafe static PathParameterivNV glPathParameterivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PathStencilDepthOffsetNV(Single factor, Single units); - internal static PathStencilDepthOffsetNV glPathStencilDepthOffsetNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PathStencilFuncNV(OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask); - internal static PathStencilFuncNV glPathStencilFuncNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PathStringNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering format, Int32 length, IntPtr pathString); - internal static PathStringNV glPathStringNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PathSubCommandsNV(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords); - internal unsafe static PathSubCommandsNV glPathSubCommandsNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PathSubCoordsNV(UInt32 path, Int32 coordStart, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords); - internal static PathSubCoordsNV glPathSubCoordsNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PathTexGenNV(OpenTK.Graphics.OpenGL.NvPathRendering texCoordSet, OpenTK.Graphics.OpenGL.NvPathRendering genMode, Int32 components, Single* coeffs); - internal unsafe static PathTexGenNV glPathTexGenNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PauseTransformFeedback(); - internal static PauseTransformFeedback glPauseTransformFeedback; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PauseTransformFeedbackNV(); - internal static PauseTransformFeedbackNV glPauseTransformFeedbackNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelDataRangeNV(OpenTK.Graphics.OpenGL.NvPixelDataRange target, Int32 length, IntPtr pointer); - internal static PixelDataRangeNV glPixelDataRangeNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PixelMapfv(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, Single* values); - internal unsafe static PixelMapfv glPixelMapfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PixelMapuiv(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, UInt32* values); - internal unsafe static PixelMapuiv glPixelMapuiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PixelMapusv(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, UInt16* values); - internal unsafe static PixelMapusv glPixelMapusv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PixelMapx(OpenTK.Graphics.OpenGL.OesFixedPoint map, Int32 size, int* values); - internal unsafe static PixelMapx glPixelMapx; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelStoref(OpenTK.Graphics.OpenGL.PixelStoreParameter pname, Single param); - internal static PixelStoref glPixelStoref; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelStorei(OpenTK.Graphics.OpenGL.PixelStoreParameter pname, Int32 param); - internal static PixelStorei glPixelStorei; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelStorex(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); - internal static PixelStorex glPixelStorex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelTexGenParameterfSGIS(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, Single param); - internal static PixelTexGenParameterfSGIS glPixelTexGenParameterfSGIS; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PixelTexGenParameterfvSGIS(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, Single* @params); - internal unsafe static PixelTexGenParameterfvSGIS glPixelTexGenParameterfvSGIS; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelTexGenParameteriSGIS(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, Int32 param); - internal static PixelTexGenParameteriSGIS glPixelTexGenParameteriSGIS; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PixelTexGenParameterivSGIS(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, Int32* @params); - internal unsafe static PixelTexGenParameterivSGIS glPixelTexGenParameterivSGIS; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelTexGenSGIX(OpenTK.Graphics.OpenGL.SgixPixelTexture mode); - internal static PixelTexGenSGIX glPixelTexGenSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelTransferf(OpenTK.Graphics.OpenGL.PixelTransferParameter pname, Single param); - internal static PixelTransferf glPixelTransferf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelTransferi(OpenTK.Graphics.OpenGL.PixelTransferParameter pname, Int32 param); - internal static PixelTransferi glPixelTransferi; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelTransferxOES(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); - internal static PixelTransferxOES glPixelTransferxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelTransformParameterfEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Single param); - internal static PixelTransformParameterfEXT glPixelTransformParameterfEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PixelTransformParameterfvEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Single* @params); - internal unsafe static PixelTransformParameterfvEXT glPixelTransformParameterfvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelTransformParameteriEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Int32 param); - internal static PixelTransformParameteriEXT glPixelTransformParameteriEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PixelTransformParameterivEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Int32* @params); - internal unsafe static PixelTransformParameterivEXT glPixelTransformParameterivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelZoom(Single xfactor, Single yfactor); - internal static PixelZoom glPixelZoom; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelZoomxOES(int xfactor, int yfactor); - internal static PixelZoomxOES glPixelZoomxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PNTrianglesfATI(OpenTK.Graphics.OpenGL.AtiPnTriangles pname, Single param); - internal static PNTrianglesfATI glPNTrianglesfATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PNTrianglesiATI(OpenTK.Graphics.OpenGL.AtiPnTriangles pname, Int32 param); - internal static PNTrianglesiATI glPNTrianglesiATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate bool PointAlongPathNV(UInt32 path, Int32 startSegment, Int32 numSegments, Single distance, [OutAttribute] Single* x, [OutAttribute] Single* y, [OutAttribute] Single* tangentX, [OutAttribute] Single* tangentY); - internal unsafe static PointAlongPathNV glPointAlongPathNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PointParameterf(OpenTK.Graphics.OpenGL.PointParameterName pname, Single param); - internal static PointParameterf glPointParameterf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PointParameterfARB(OpenTK.Graphics.OpenGL.ArbPointParameters pname, Single param); - internal static PointParameterfARB glPointParameterfARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PointParameterfEXT(OpenTK.Graphics.OpenGL.ExtPointParameters pname, Single param); - internal static PointParameterfEXT glPointParameterfEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PointParameterfSGIS(OpenTK.Graphics.OpenGL.SgisPointParameters pname, Single param); - internal static PointParameterfSGIS glPointParameterfSGIS; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PointParameterfv(OpenTK.Graphics.OpenGL.PointParameterName pname, Single* @params); - internal unsafe static PointParameterfv glPointParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PointParameterfvARB(OpenTK.Graphics.OpenGL.ArbPointParameters pname, Single* @params); - internal unsafe static PointParameterfvARB glPointParameterfvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PointParameterfvEXT(OpenTK.Graphics.OpenGL.ExtPointParameters pname, Single* @params); - internal unsafe static PointParameterfvEXT glPointParameterfvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PointParameterfvSGIS(OpenTK.Graphics.OpenGL.SgisPointParameters pname, Single* @params); - internal unsafe static PointParameterfvSGIS glPointParameterfvSGIS; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PointParameteri(OpenTK.Graphics.OpenGL.PointParameterName pname, Int32 param); - internal static PointParameteri glPointParameteri; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PointParameteriNV(OpenTK.Graphics.OpenGL.NvPointSprite pname, Int32 param); - internal static PointParameteriNV glPointParameteriNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PointParameteriv(OpenTK.Graphics.OpenGL.PointParameterName pname, Int32* @params); - internal unsafe static PointParameteriv glPointParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PointParameterivNV(OpenTK.Graphics.OpenGL.NvPointSprite pname, Int32* @params); - internal unsafe static PointParameterivNV glPointParameterivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PointParameterxOES(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); - internal static PointParameterxOES glPointParameterxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PointParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params); - internal unsafe static PointParameterxvOES glPointParameterxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PointSize(Single size); - internal static PointSize glPointSize; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PointSizexOES(int size); - internal static PointSizexOES glPointSizexOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Int32 PollAsyncSGIX([OutAttribute] UInt32* markerp); - internal unsafe static PollAsyncSGIX glPollAsyncSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Int32 PollInstrumentsSGIX([OutAttribute] Int32* marker_p); - internal unsafe static PollInstrumentsSGIX glPollInstrumentsSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PolygonMode(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.PolygonMode mode); - internal static PolygonMode glPolygonMode; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PolygonOffset(Single factor, Single units); - internal static PolygonOffset glPolygonOffset; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PolygonOffsetEXT(Single factor, Single bias); - internal static PolygonOffsetEXT glPolygonOffsetEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PolygonOffsetxOES(int factor, int units); - internal static PolygonOffsetxOES glPolygonOffsetxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PolygonStipple(Byte* mask); - internal unsafe static PolygonStipple glPolygonStipple; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PopAttrib(); - internal static PopAttrib glPopAttrib; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PopClientAttrib(); - internal static PopClientAttrib glPopClientAttrib; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PopDebugGroup(); - internal static PopDebugGroup glPopDebugGroup; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PopDebugGroupKHR(); - internal static PopDebugGroupKHR glPopDebugGroupKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PopGroupMarkerEXT(); - internal static PopGroupMarkerEXT glPopGroupMarkerEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PopMatrix(); - internal static PopMatrix glPopMatrix; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PopName(); - internal static PopName glPopName; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PresentFrameDualFillNV(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.OpenGL.NvPresentVideo type, OpenTK.Graphics.OpenGL.NvPresentVideo target0, UInt32 fill0, OpenTK.Graphics.OpenGL.NvPresentVideo target1, UInt32 fill1, OpenTK.Graphics.OpenGL.NvPresentVideo target2, UInt32 fill2, OpenTK.Graphics.OpenGL.NvPresentVideo target3, UInt32 fill3); - internal static PresentFrameDualFillNV glPresentFrameDualFillNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PresentFrameKeyedNV(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.OpenGL.NvPresentVideo type, OpenTK.Graphics.OpenGL.NvPresentVideo target0, UInt32 fill0, UInt32 key0, OpenTK.Graphics.OpenGL.NvPresentVideo target1, UInt32 fill1, UInt32 key1); - internal static PresentFrameKeyedNV glPresentFrameKeyedNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PrimitiveRestartIndex(UInt32 index); - internal static PrimitiveRestartIndex glPrimitiveRestartIndex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PrimitiveRestartIndexNV(UInt32 index); - internal static PrimitiveRestartIndexNV glPrimitiveRestartIndexNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PrimitiveRestartNV(); - internal static PrimitiveRestartNV glPrimitiveRestartNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PrioritizeTextures(Int32 n, UInt32* textures, Single* priorities); - internal unsafe static PrioritizeTextures glPrioritizeTextures; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PrioritizeTexturesEXT(Int32 n, UInt32* textures, Single* priorities); - internal unsafe static PrioritizeTexturesEXT glPrioritizeTexturesEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PrioritizeTexturesxOES(Int32 n, UInt32* textures, int* priorities); - internal unsafe static PrioritizeTexturesxOES glPrioritizeTexturesxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, IntPtr binary, Int32 length); - internal static ProgramBinary glProgramBinary; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramBufferParametersfvNV(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, Single* @params); - internal unsafe static ProgramBufferParametersfvNV glProgramBufferParametersfvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramBufferParametersIivNV(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, Int32* @params); - internal unsafe static ProgramBufferParametersIivNV glProgramBufferParametersIivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramBufferParametersIuivNV(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, UInt32* @params); - internal unsafe static ProgramBufferParametersIuivNV glProgramBufferParametersIuivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramEnvParameter4dARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w); - internal static ProgramEnvParameter4dARB glProgramEnvParameter4dARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramEnvParameter4dvARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* @params); - internal unsafe static ProgramEnvParameter4dvARB glProgramEnvParameter4dvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramEnvParameter4fARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w); - internal static ProgramEnvParameter4fARB glProgramEnvParameter4fARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramEnvParameter4fvARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* @params); - internal unsafe static ProgramEnvParameter4fvARB glProgramEnvParameter4fvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramEnvParameterI4iNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); - internal static ProgramEnvParameterI4iNV glProgramEnvParameterI4iNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramEnvParameterI4ivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32* @params); - internal unsafe static ProgramEnvParameterI4ivNV glProgramEnvParameterI4ivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramEnvParameterI4uiNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); - internal static ProgramEnvParameterI4uiNV glProgramEnvParameterI4uiNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramEnvParameterI4uivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32* @params); - internal unsafe static ProgramEnvParameterI4uivNV glProgramEnvParameterI4uivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramEnvParameters4fvEXT(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params); - internal unsafe static ProgramEnvParameters4fvEXT glProgramEnvParameters4fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramEnvParametersI4ivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params); - internal unsafe static ProgramEnvParametersI4ivNV glProgramEnvParametersI4ivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramEnvParametersI4uivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params); - internal unsafe static ProgramEnvParametersI4uivNV glProgramEnvParametersI4uivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramLocalParameter4dARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w); - internal static ProgramLocalParameter4dARB glProgramLocalParameter4dARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramLocalParameter4dvARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* @params); - internal unsafe static ProgramLocalParameter4dvARB glProgramLocalParameter4dvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramLocalParameter4fARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w); - internal static ProgramLocalParameter4fARB glProgramLocalParameter4fARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramLocalParameter4fvARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* @params); - internal unsafe static ProgramLocalParameter4fvARB glProgramLocalParameter4fvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramLocalParameterI4iNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); - internal static ProgramLocalParameterI4iNV glProgramLocalParameterI4iNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramLocalParameterI4ivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32* @params); - internal unsafe static ProgramLocalParameterI4ivNV glProgramLocalParameterI4ivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramLocalParameterI4uiNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); - internal static ProgramLocalParameterI4uiNV glProgramLocalParameterI4uiNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramLocalParameterI4uivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32* @params); - internal unsafe static ProgramLocalParameterI4uivNV glProgramLocalParameterI4uivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramLocalParameters4fvEXT(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params); - internal unsafe static ProgramLocalParameters4fvEXT glProgramLocalParameters4fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramLocalParametersI4ivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params); - internal unsafe static ProgramLocalParametersI4ivNV glProgramLocalParametersI4ivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramLocalParametersI4uivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params); - internal unsafe static ProgramLocalParametersI4uivNV glProgramLocalParametersI4uivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramNamedParameter4dNV(UInt32 id, Int32 len, Byte* name, Double x, Double y, Double z, Double w); - internal unsafe static ProgramNamedParameter4dNV glProgramNamedParameter4dNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramNamedParameter4dvNV(UInt32 id, Int32 len, Byte* name, Double* v); - internal unsafe static ProgramNamedParameter4dvNV glProgramNamedParameter4dvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramNamedParameter4fNV(UInt32 id, Int32 len, Byte* name, Single x, Single y, Single z, Single w); - internal unsafe static ProgramNamedParameter4fNV glProgramNamedParameter4fNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramNamedParameter4fvNV(UInt32 id, Int32 len, Byte* name, Single* v); - internal unsafe static ProgramNamedParameter4fvNV glProgramNamedParameter4fvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramParameter4dNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w); - internal static ProgramParameter4dNV glProgramParameter4dNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramParameter4dvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* v); - internal unsafe static ProgramParameter4dvNV glProgramParameter4dvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramParameter4fNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w); - internal static ProgramParameter4fNV glProgramParameter4fNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramParameter4fvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* v); - internal unsafe static ProgramParameter4fvNV glProgramParameter4fvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramParameteri(UInt32 program, OpenTK.Graphics.OpenGL.ProgramParameterName pname, Int32 value); - internal static ProgramParameteri glProgramParameteri; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramParameteriARB(UInt32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value); - internal static ProgramParameteriARB glProgramParameteriARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramParameteriEXT(UInt32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value); - internal static ProgramParameteriEXT glProgramParameteriEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramParameters4dvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Int32 count, Double* v); - internal unsafe static ProgramParameters4dvNV glProgramParameters4dvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramParameters4fvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Int32 count, Single* v); - internal unsafe static ProgramParameters4fvNV glProgramParameters4fvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramStringARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.All format, Int32 len, IntPtr @string); - internal static ProgramStringARB glProgramStringARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramSubroutineParametersuivNV(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 count, UInt32* @params); - internal unsafe static ProgramSubroutineParametersuivNV glProgramSubroutineParametersuivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform1d(UInt32 program, Int32 location, Double v0); - internal static ProgramUniform1d glProgramUniform1d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform1dEXT(UInt32 program, Int32 location, Double x); - internal static ProgramUniform1dEXT glProgramUniform1dEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform1dv(UInt32 program, Int32 location, Int32 count, Double* value); - internal unsafe static ProgramUniform1dv glProgramUniform1dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform1dvEXT(UInt32 program, Int32 location, Int32 count, Double* value); - internal unsafe static ProgramUniform1dvEXT glProgramUniform1dvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform1f(UInt32 program, Int32 location, Single v0); - internal static ProgramUniform1f glProgramUniform1f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform1fEXT(UInt32 program, Int32 location, Single v0); - internal static ProgramUniform1fEXT glProgramUniform1fEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform1fv(UInt32 program, Int32 location, Int32 count, Single* value); - internal unsafe static ProgramUniform1fv glProgramUniform1fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform1fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); - internal unsafe static ProgramUniform1fvEXT glProgramUniform1fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform1i(UInt32 program, Int32 location, Int32 v0); - internal static ProgramUniform1i glProgramUniform1i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform1i64NV(UInt32 program, Int32 location, Int64 x); - internal static ProgramUniform1i64NV glProgramUniform1i64NV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform1i64vNV(UInt32 program, Int32 location, Int32 count, Int64* value); - internal unsafe static ProgramUniform1i64vNV glProgramUniform1i64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform1iEXT(UInt32 program, Int32 location, Int32 v0); - internal static ProgramUniform1iEXT glProgramUniform1iEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform1iv(UInt32 program, Int32 location, Int32 count, Int32* value); - internal unsafe static ProgramUniform1iv glProgramUniform1iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform1ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); - internal unsafe static ProgramUniform1ivEXT glProgramUniform1ivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform1ui(UInt32 program, Int32 location, UInt32 v0); - internal static ProgramUniform1ui glProgramUniform1ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform1ui64NV(UInt32 program, Int32 location, UInt64 x); - internal static ProgramUniform1ui64NV glProgramUniform1ui64NV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform1ui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value); - internal unsafe static ProgramUniform1ui64vNV glProgramUniform1ui64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform1uiEXT(UInt32 program, Int32 location, UInt32 v0); - internal static ProgramUniform1uiEXT glProgramUniform1uiEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform1uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); - internal unsafe static ProgramUniform1uiv glProgramUniform1uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform1uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); - internal unsafe static ProgramUniform1uivEXT glProgramUniform1uivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform2d(UInt32 program, Int32 location, Double v0, Double v1); - internal static ProgramUniform2d glProgramUniform2d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform2dEXT(UInt32 program, Int32 location, Double x, Double y); - internal static ProgramUniform2dEXT glProgramUniform2dEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform2dv(UInt32 program, Int32 location, Int32 count, Double* value); - internal unsafe static ProgramUniform2dv glProgramUniform2dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform2dvEXT(UInt32 program, Int32 location, Int32 count, Double* value); - internal unsafe static ProgramUniform2dvEXT glProgramUniform2dvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform2f(UInt32 program, Int32 location, Single v0, Single v1); - internal static ProgramUniform2f glProgramUniform2f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform2fEXT(UInt32 program, Int32 location, Single v0, Single v1); - internal static ProgramUniform2fEXT glProgramUniform2fEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform2fv(UInt32 program, Int32 location, Int32 count, Single* value); - internal unsafe static ProgramUniform2fv glProgramUniform2fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform2fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); - internal unsafe static ProgramUniform2fvEXT glProgramUniform2fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform2i(UInt32 program, Int32 location, Int32 v0, Int32 v1); - internal static ProgramUniform2i glProgramUniform2i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform2i64NV(UInt32 program, Int32 location, Int64 x, Int64 y); - internal static ProgramUniform2i64NV glProgramUniform2i64NV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform2i64vNV(UInt32 program, Int32 location, Int32 count, Int64* value); - internal unsafe static ProgramUniform2i64vNV glProgramUniform2i64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform2iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1); - internal static ProgramUniform2iEXT glProgramUniform2iEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform2iv(UInt32 program, Int32 location, Int32 count, Int32* value); - internal unsafe static ProgramUniform2iv glProgramUniform2iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform2ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); - internal unsafe static ProgramUniform2ivEXT glProgramUniform2ivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform2ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1); - internal static ProgramUniform2ui glProgramUniform2ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform2ui64NV(UInt32 program, Int32 location, UInt64 x, UInt64 y); - internal static ProgramUniform2ui64NV glProgramUniform2ui64NV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform2ui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value); - internal unsafe static ProgramUniform2ui64vNV glProgramUniform2ui64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform2uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1); - internal static ProgramUniform2uiEXT glProgramUniform2uiEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform2uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); - internal unsafe static ProgramUniform2uiv glProgramUniform2uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform2uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); - internal unsafe static ProgramUniform2uivEXT glProgramUniform2uivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform3d(UInt32 program, Int32 location, Double v0, Double v1, Double v2); - internal static ProgramUniform3d glProgramUniform3d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform3dEXT(UInt32 program, Int32 location, Double x, Double y, Double z); - internal static ProgramUniform3dEXT glProgramUniform3dEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform3dv(UInt32 program, Int32 location, Int32 count, Double* value); - internal unsafe static ProgramUniform3dv glProgramUniform3dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform3dvEXT(UInt32 program, Int32 location, Int32 count, Double* value); - internal unsafe static ProgramUniform3dvEXT glProgramUniform3dvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform3f(UInt32 program, Int32 location, Single v0, Single v1, Single v2); - internal static ProgramUniform3f glProgramUniform3f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform3fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2); - internal static ProgramUniform3fEXT glProgramUniform3fEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform3fv(UInt32 program, Int32 location, Int32 count, Single* value); - internal unsafe static ProgramUniform3fv glProgramUniform3fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform3fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); - internal unsafe static ProgramUniform3fvEXT glProgramUniform3fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform3i(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2); - internal static ProgramUniform3i glProgramUniform3i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform3i64NV(UInt32 program, Int32 location, Int64 x, Int64 y, Int64 z); - internal static ProgramUniform3i64NV glProgramUniform3i64NV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform3i64vNV(UInt32 program, Int32 location, Int32 count, Int64* value); - internal unsafe static ProgramUniform3i64vNV glProgramUniform3i64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform3iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2); - internal static ProgramUniform3iEXT glProgramUniform3iEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform3iv(UInt32 program, Int32 location, Int32 count, Int32* value); - internal unsafe static ProgramUniform3iv glProgramUniform3iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform3ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); - internal unsafe static ProgramUniform3ivEXT glProgramUniform3ivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform3ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); - internal static ProgramUniform3ui glProgramUniform3ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform3ui64NV(UInt32 program, Int32 location, UInt64 x, UInt64 y, UInt64 z); - internal static ProgramUniform3ui64NV glProgramUniform3ui64NV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform3ui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value); - internal unsafe static ProgramUniform3ui64vNV glProgramUniform3ui64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform3uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); - internal static ProgramUniform3uiEXT glProgramUniform3uiEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform3uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); - internal unsafe static ProgramUniform3uiv glProgramUniform3uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform3uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); - internal unsafe static ProgramUniform3uivEXT glProgramUniform3uivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform4d(UInt32 program, Int32 location, Double v0, Double v1, Double v2, Double v3); - internal static ProgramUniform4d glProgramUniform4d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform4dEXT(UInt32 program, Int32 location, Double x, Double y, Double z, Double w); - internal static ProgramUniform4dEXT glProgramUniform4dEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform4dv(UInt32 program, Int32 location, Int32 count, Double* value); - internal unsafe static ProgramUniform4dv glProgramUniform4dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform4dvEXT(UInt32 program, Int32 location, Int32 count, Double* value); - internal unsafe static ProgramUniform4dvEXT glProgramUniform4dvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform4f(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3); - internal static ProgramUniform4f glProgramUniform4f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform4fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3); - internal static ProgramUniform4fEXT glProgramUniform4fEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform4fv(UInt32 program, Int32 location, Int32 count, Single* value); - internal unsafe static ProgramUniform4fv glProgramUniform4fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform4fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); - internal unsafe static ProgramUniform4fvEXT glProgramUniform4fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform4i(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); - internal static ProgramUniform4i glProgramUniform4i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform4i64NV(UInt32 program, Int32 location, Int64 x, Int64 y, Int64 z, Int64 w); - internal static ProgramUniform4i64NV glProgramUniform4i64NV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform4i64vNV(UInt32 program, Int32 location, Int32 count, Int64* value); - internal unsafe static ProgramUniform4i64vNV glProgramUniform4i64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform4iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); - internal static ProgramUniform4iEXT glProgramUniform4iEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform4iv(UInt32 program, Int32 location, Int32 count, Int32* value); - internal unsafe static ProgramUniform4iv glProgramUniform4iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform4ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); - internal unsafe static ProgramUniform4ivEXT glProgramUniform4ivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform4ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); - internal static ProgramUniform4ui glProgramUniform4ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform4ui64NV(UInt32 program, Int32 location, UInt64 x, UInt64 y, UInt64 z, UInt64 w); - internal static ProgramUniform4ui64NV glProgramUniform4ui64NV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform4ui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value); - internal unsafe static ProgramUniform4ui64vNV glProgramUniform4ui64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform4uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); - internal static ProgramUniform4uiEXT glProgramUniform4uiEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform4uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); - internal unsafe static ProgramUniform4uiv glProgramUniform4uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform4uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); - internal unsafe static ProgramUniform4uivEXT glProgramUniform4uivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniformHandleui64ARB(UInt32 program, Int32 location, UInt64 value); - internal static ProgramUniformHandleui64ARB glProgramUniformHandleui64ARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniformHandleui64NV(UInt32 program, Int32 location, UInt64 value); - internal static ProgramUniformHandleui64NV glProgramUniformHandleui64NV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformHandleui64vARB(UInt32 program, Int32 location, Int32 count, UInt64* values); - internal unsafe static ProgramUniformHandleui64vARB glProgramUniformHandleui64vARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformHandleui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* values); - internal unsafe static ProgramUniformHandleui64vNV glProgramUniformHandleui64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static ProgramUniformMatrix2dv glProgramUniformMatrix2dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix2dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static ProgramUniformMatrix2dvEXT glProgramUniformMatrix2dvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix2fv glProgramUniformMatrix2fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix2fvEXT glProgramUniformMatrix2fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix2x3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static ProgramUniformMatrix2x3dv glProgramUniformMatrix2x3dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix2x3dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static ProgramUniformMatrix2x3dvEXT glProgramUniformMatrix2x3dvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix2x3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix2x3fv glProgramUniformMatrix2x3fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix2x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix2x3fvEXT glProgramUniformMatrix2x3fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix2x4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static ProgramUniformMatrix2x4dv glProgramUniformMatrix2x4dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix2x4dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static ProgramUniformMatrix2x4dvEXT glProgramUniformMatrix2x4dvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix2x4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix2x4fv glProgramUniformMatrix2x4fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix2x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix2x4fvEXT glProgramUniformMatrix2x4fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static ProgramUniformMatrix3dv glProgramUniformMatrix3dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix3dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static ProgramUniformMatrix3dvEXT glProgramUniformMatrix3dvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix3fv glProgramUniformMatrix3fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix3fvEXT glProgramUniformMatrix3fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix3x2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static ProgramUniformMatrix3x2dv glProgramUniformMatrix3x2dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix3x2dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static ProgramUniformMatrix3x2dvEXT glProgramUniformMatrix3x2dvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix3x2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix3x2fv glProgramUniformMatrix3x2fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix3x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix3x2fvEXT glProgramUniformMatrix3x2fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix3x4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static ProgramUniformMatrix3x4dv glProgramUniformMatrix3x4dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix3x4dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static ProgramUniformMatrix3x4dvEXT glProgramUniformMatrix3x4dvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix3x4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix3x4fv glProgramUniformMatrix3x4fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix3x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix3x4fvEXT glProgramUniformMatrix3x4fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static ProgramUniformMatrix4dv glProgramUniformMatrix4dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix4dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static ProgramUniformMatrix4dvEXT glProgramUniformMatrix4dvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix4fv glProgramUniformMatrix4fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix4fvEXT glProgramUniformMatrix4fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix4x2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static ProgramUniformMatrix4x2dv glProgramUniformMatrix4x2dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix4x2dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static ProgramUniformMatrix4x2dvEXT glProgramUniformMatrix4x2dvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix4x2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix4x2fv glProgramUniformMatrix4x2fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix4x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix4x2fvEXT glProgramUniformMatrix4x2fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix4x3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static ProgramUniformMatrix4x3dv glProgramUniformMatrix4x3dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix4x3dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static ProgramUniformMatrix4x3dvEXT glProgramUniformMatrix4x3dvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix4x3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix4x3fv glProgramUniformMatrix4x3fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix4x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix4x3fvEXT glProgramUniformMatrix4x3fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniformui64NV(UInt32 program, Int32 location, UInt64 value); - internal static ProgramUniformui64NV glProgramUniformui64NV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value); - internal unsafe static ProgramUniformui64vNV glProgramUniformui64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramVertexLimitNV(OpenTK.Graphics.OpenGL.NvGeometryProgram4 target, Int32 limit); - internal static ProgramVertexLimitNV glProgramVertexLimitNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProvokingVertex(OpenTK.Graphics.OpenGL.ProvokingVertexMode mode); - internal static ProvokingVertex glProvokingVertex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProvokingVertexEXT(OpenTK.Graphics.OpenGL.ExtProvokingVertex mode); - internal static ProvokingVertexEXT glProvokingVertexEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PushAttrib(OpenTK.Graphics.OpenGL.AttribMask mask); - internal static PushAttrib glPushAttrib; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PushClientAttrib(OpenTK.Graphics.OpenGL.ClientAttribMask mask); - internal static PushClientAttrib glPushClientAttrib; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PushClientAttribDefaultEXT(OpenTK.Graphics.OpenGL.ClientAttribMask mask); - internal static PushClientAttribDefaultEXT glPushClientAttribDefaultEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PushDebugGroup(OpenTK.Graphics.OpenGL.DebugSourceExternal source, UInt32 id, Int32 length, String message); - internal static PushDebugGroup glPushDebugGroup; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PushDebugGroupKHR(OpenTK.Graphics.OpenGL.KhrDebug source, UInt32 id, Int32 length, String message); - internal static PushDebugGroupKHR glPushDebugGroupKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PushGroupMarkerEXT(Int32 length, String marker); - internal static PushGroupMarkerEXT glPushGroupMarkerEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PushMatrix(); - internal static PushMatrix glPushMatrix; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PushName(UInt32 name); - internal static PushName glPushName; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void QueryCounter(UInt32 id, OpenTK.Graphics.OpenGL.QueryCounterTarget target); - internal static QueryCounter glQueryCounter; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Int32 QueryMatrixxOES([OutAttribute] int* mantissa, [OutAttribute] Int32* exponent); - internal unsafe static QueryMatrixxOES glQueryMatrixxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void QueryObjectParameteruiAMD(OpenTK.Graphics.OpenGL.AmdOcclusionQueryEvent target, UInt32 id, OpenTK.Graphics.OpenGL.AmdOcclusionQueryEvent pname, OpenTK.Graphics.OpenGL.OcclusionQueryEventMaskAmd param); - internal static QueryObjectParameteruiAMD glQueryObjectParameteruiAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RasterPos2d(Double x, Double y); - internal static RasterPos2d glRasterPos2d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void RasterPos2dv(Double* v); - internal unsafe static RasterPos2dv glRasterPos2dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RasterPos2f(Single x, Single y); - internal static RasterPos2f glRasterPos2f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void RasterPos2fv(Single* v); - internal unsafe static RasterPos2fv glRasterPos2fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RasterPos2i(Int32 x, Int32 y); - internal static RasterPos2i glRasterPos2i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void RasterPos2iv(Int32* v); - internal unsafe static RasterPos2iv glRasterPos2iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RasterPos2s(Int16 x, Int16 y); - internal static RasterPos2s glRasterPos2s; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void RasterPos2sv(Int16* v); - internal unsafe static RasterPos2sv glRasterPos2sv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RasterPos2xOES(int x, int y); - internal static RasterPos2xOES glRasterPos2xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void RasterPos2xvOES(int* coords); - internal unsafe static RasterPos2xvOES glRasterPos2xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RasterPos3d(Double x, Double y, Double z); - internal static RasterPos3d glRasterPos3d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void RasterPos3dv(Double* v); - internal unsafe static RasterPos3dv glRasterPos3dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RasterPos3f(Single x, Single y, Single z); - internal static RasterPos3f glRasterPos3f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void RasterPos3fv(Single* v); - internal unsafe static RasterPos3fv glRasterPos3fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RasterPos3i(Int32 x, Int32 y, Int32 z); - internal static RasterPos3i glRasterPos3i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void RasterPos3iv(Int32* v); - internal unsafe static RasterPos3iv glRasterPos3iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RasterPos3s(Int16 x, Int16 y, Int16 z); - internal static RasterPos3s glRasterPos3s; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void RasterPos3sv(Int16* v); - internal unsafe static RasterPos3sv glRasterPos3sv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RasterPos3xOES(int x, int y, int z); - internal static RasterPos3xOES glRasterPos3xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void RasterPos3xvOES(int* coords); - internal unsafe static RasterPos3xvOES glRasterPos3xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RasterPos4d(Double x, Double y, Double z, Double w); - internal static RasterPos4d glRasterPos4d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void RasterPos4dv(Double* v); - internal unsafe static RasterPos4dv glRasterPos4dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RasterPos4f(Single x, Single y, Single z, Single w); - internal static RasterPos4f glRasterPos4f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void RasterPos4fv(Single* v); - internal unsafe static RasterPos4fv glRasterPos4fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RasterPos4i(Int32 x, Int32 y, Int32 z, Int32 w); - internal static RasterPos4i glRasterPos4i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void RasterPos4iv(Int32* v); - internal unsafe static RasterPos4iv glRasterPos4iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RasterPos4s(Int16 x, Int16 y, Int16 z, Int16 w); - internal static RasterPos4s glRasterPos4s; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void RasterPos4sv(Int16* v); - internal unsafe static RasterPos4sv glRasterPos4sv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RasterPos4xOES(int x, int y, int z, int w); - internal static RasterPos4xOES glRasterPos4xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void RasterPos4xvOES(int* coords); - internal unsafe static RasterPos4xvOES glRasterPos4xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReadBuffer(OpenTK.Graphics.OpenGL.ReadBufferMode mode); - internal static ReadBuffer glReadBuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReadInstrumentsSGIX(Int32 marker); - internal static ReadInstrumentsSGIX glReadInstrumentsSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReadnPixelsARB(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr data); - internal static ReadnPixelsARB glReadnPixelsARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels); - internal static ReadPixels glReadPixels; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Rectd(Double x1, Double y1, Double x2, Double y2); - internal static Rectd glRectd; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Rectdv(Double* v1, Double* v2); - internal unsafe static Rectdv glRectdv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Rectf(Single x1, Single y1, Single x2, Single y2); - internal static Rectf glRectf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Rectfv(Single* v1, Single* v2); - internal unsafe static Rectfv glRectfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Recti(Int32 x1, Int32 y1, Int32 x2, Int32 y2); - internal static Recti glRecti; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Rectiv(Int32* v1, Int32* v2); - internal unsafe static Rectiv glRectiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Rects(Int16 x1, Int16 y1, Int16 x2, Int16 y2); - internal static Rects glRects; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Rectsv(Int16* v1, Int16* v2); - internal unsafe static Rectsv glRectsv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RectxOES(int x1, int y1, int x2, int y2); - internal static RectxOES glRectxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void RectxvOES(int* v1, int* v2); - internal unsafe static RectxvOES glRectxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ReferencePlaneSGIX(Double* equation); - internal unsafe static ReferencePlaneSGIX glReferencePlaneSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReleaseShaderCompiler(); - internal static ReleaseShaderCompiler glReleaseShaderCompiler; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RenderbufferStorage(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height); - internal static RenderbufferStorage glRenderbufferStorage; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RenderbufferStorageEXT(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height); - internal static RenderbufferStorageEXT glRenderbufferStorageEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RenderbufferStorageMultisample(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height); - internal static RenderbufferStorageMultisample glRenderbufferStorageMultisample; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RenderbufferStorageMultisampleCoverageNV(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height); - internal static RenderbufferStorageMultisampleCoverageNV glRenderbufferStorageMultisampleCoverageNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RenderbufferStorageMultisampleEXT(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height); - internal static RenderbufferStorageMultisampleEXT glRenderbufferStorageMultisampleEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 RenderMode(OpenTK.Graphics.OpenGL.RenderingMode mode); - internal static RenderMode glRenderMode; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReplacementCodePointerSUN(OpenTK.Graphics.OpenGL.SunTriangleList type, Int32 stride, IntPtr pointer); - internal static ReplacementCodePointerSUN glReplacementCodePointerSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReplacementCodeubSUN(Byte code); - internal static ReplacementCodeubSUN glReplacementCodeubSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ReplacementCodeubvSUN(Byte* code); - internal unsafe static ReplacementCodeubvSUN glReplacementCodeubvSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReplacementCodeuiColor3fVertex3fSUN(UInt32 rc, Single r, Single g, Single b, Single x, Single y, Single z); - internal static ReplacementCodeuiColor3fVertex3fSUN glReplacementCodeuiColor3fVertex3fSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ReplacementCodeuiColor3fVertex3fvSUN(UInt32* rc, Single* c, Single* v); - internal unsafe static ReplacementCodeuiColor3fVertex3fvSUN glReplacementCodeuiColor3fVertex3fvSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReplacementCodeuiColor4fNormal3fVertex3fSUN(UInt32 rc, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z); - internal static ReplacementCodeuiColor4fNormal3fVertex3fSUN glReplacementCodeuiColor4fNormal3fVertex3fSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32* rc, Single* c, Single* n, Single* v); - internal unsafe static ReplacementCodeuiColor4fNormal3fVertex3fvSUN glReplacementCodeuiColor4fNormal3fVertex3fvSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReplacementCodeuiColor4ubVertex3fSUN(UInt32 rc, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z); - internal static ReplacementCodeuiColor4ubVertex3fSUN glReplacementCodeuiColor4ubVertex3fSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ReplacementCodeuiColor4ubVertex3fvSUN(UInt32* rc, Byte* c, Single* v); - internal unsafe static ReplacementCodeuiColor4ubVertex3fvSUN glReplacementCodeuiColor4ubVertex3fvSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReplacementCodeuiNormal3fVertex3fSUN(UInt32 rc, Single nx, Single ny, Single nz, Single x, Single y, Single z); - internal static ReplacementCodeuiNormal3fVertex3fSUN glReplacementCodeuiNormal3fVertex3fSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ReplacementCodeuiNormal3fVertex3fvSUN(UInt32* rc, Single* n, Single* v); - internal unsafe static ReplacementCodeuiNormal3fVertex3fvSUN glReplacementCodeuiNormal3fVertex3fvSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReplacementCodeuiSUN(UInt32 code); - internal static ReplacementCodeuiSUN glReplacementCodeuiSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN(UInt32 rc, Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z); - internal static ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32* rc, Single* tc, Single* c, Single* n, Single* v); - internal unsafe static ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN(UInt32 rc, Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z); - internal static ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32* rc, Single* tc, Single* n, Single* v); - internal unsafe static ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReplacementCodeuiTexCoord2fVertex3fSUN(UInt32 rc, Single s, Single t, Single x, Single y, Single z); - internal static ReplacementCodeuiTexCoord2fVertex3fSUN glReplacementCodeuiTexCoord2fVertex3fSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ReplacementCodeuiTexCoord2fVertex3fvSUN(UInt32* rc, Single* tc, Single* v); - internal unsafe static ReplacementCodeuiTexCoord2fVertex3fvSUN glReplacementCodeuiTexCoord2fVertex3fvSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReplacementCodeuiVertex3fSUN(UInt32 rc, Single x, Single y, Single z); - internal static ReplacementCodeuiVertex3fSUN glReplacementCodeuiVertex3fSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ReplacementCodeuiVertex3fvSUN(UInt32* rc, Single* v); - internal unsafe static ReplacementCodeuiVertex3fvSUN glReplacementCodeuiVertex3fvSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ReplacementCodeuivSUN(UInt32* code); - internal unsafe static ReplacementCodeuivSUN glReplacementCodeuivSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReplacementCodeusSUN(UInt16 code); - internal static ReplacementCodeusSUN glReplacementCodeusSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ReplacementCodeusvSUN(UInt16* code); - internal unsafe static ReplacementCodeusvSUN glReplacementCodeusvSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void RequestResidentProgramsNV(Int32 n, UInt32* programs); - internal unsafe static RequestResidentProgramsNV glRequestResidentProgramsNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ResetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target); - internal static ResetHistogram glResetHistogram; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ResetHistogramEXT(OpenTK.Graphics.OpenGL.HistogramTargetExt target); - internal static ResetHistogramEXT glResetHistogramEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ResetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target); - internal static ResetMinmax glResetMinmax; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ResetMinmaxEXT(OpenTK.Graphics.OpenGL.MinmaxTargetExt target); - internal static ResetMinmaxEXT glResetMinmaxEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ResizeBuffersMESA(); - internal static ResizeBuffersMESA glResizeBuffersMESA; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ResumeTransformFeedback(); - internal static ResumeTransformFeedback glResumeTransformFeedback; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ResumeTransformFeedbackNV(); - internal static ResumeTransformFeedbackNV glResumeTransformFeedbackNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Rotated(Double angle, Double x, Double y, Double z); - internal static Rotated glRotated; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Rotatef(Single angle, Single x, Single y, Single z); - internal static Rotatef glRotatef; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RotatexOES(int angle, int x, int y, int z); - internal static RotatexOES glRotatexOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SampleCoverage(Single value, bool invert); - internal static SampleCoverage glSampleCoverage; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SampleCoverageARB(Single value, bool invert); - internal static SampleCoverageARB glSampleCoverageARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SampleCoverageOES(int value, bool invert); - internal static SampleCoverageOES glSampleCoverageOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SampleCoveragexOES(int value, bool invert); - internal static SampleCoveragexOES glSampleCoveragexOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SampleMapATI(UInt32 dst, UInt32 interp, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle); - internal static SampleMapATI glSampleMapATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SampleMaskEXT(Single value, bool invert); - internal static SampleMaskEXT glSampleMaskEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SampleMaski(UInt32 index, UInt32 mask); - internal static SampleMaski glSampleMaski; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SampleMaskIndexedNV(UInt32 index, UInt32 mask); - internal static SampleMaskIndexedNV glSampleMaskIndexedNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SampleMaskSGIS(Single value, bool invert); - internal static SampleMaskSGIS glSampleMaskSGIS; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SamplePatternEXT(OpenTK.Graphics.OpenGL.ExtMultisample pattern); - internal static SamplePatternEXT glSamplePatternEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SamplePatternSGIS(OpenTK.Graphics.OpenGL.SamplePatternSgis pattern); - internal static SamplePatternSGIS glSamplePatternSGIS; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SamplerParameterf(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Single param); - internal static SamplerParameterf glSamplerParameterf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SamplerParameterfv(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Single* param); - internal unsafe static SamplerParameterfv glSamplerParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SamplerParameteri(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32 param); - internal static SamplerParameteri glSamplerParameteri; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SamplerParameterIiv(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32* param); - internal unsafe static SamplerParameterIiv glSamplerParameterIiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SamplerParameterIuiv(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, UInt32* param); - internal unsafe static SamplerParameterIuiv glSamplerParameterIuiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SamplerParameteriv(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32* param); - internal unsafe static SamplerParameteriv glSamplerParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Scaled(Double x, Double y, Double z); - internal static Scaled glScaled; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Scalef(Single x, Single y, Single z); - internal static Scalef glScalef; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ScalexOES(int x, int y, int z); - internal static ScalexOES glScalexOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Scissor(Int32 x, Int32 y, Int32 width, Int32 height); - internal static Scissor glScissor; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ScissorArrayv(UInt32 first, Int32 count, Int32* v); - internal unsafe static ScissorArrayv glScissorArrayv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ScissorIndexed(UInt32 index, Int32 left, Int32 bottom, Int32 width, Int32 height); - internal static ScissorIndexed glScissorIndexed; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ScissorIndexedv(UInt32 index, Int32* v); - internal unsafe static ScissorIndexedv glScissorIndexedv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SecondaryColor3b(SByte red, SByte green, SByte blue); - internal static SecondaryColor3b glSecondaryColor3b; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SecondaryColor3bEXT(SByte red, SByte green, SByte blue); - internal static SecondaryColor3bEXT glSecondaryColor3bEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SecondaryColor3bv(SByte* v); - internal unsafe static SecondaryColor3bv glSecondaryColor3bv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SecondaryColor3bvEXT(SByte* v); - internal unsafe static SecondaryColor3bvEXT glSecondaryColor3bvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SecondaryColor3d(Double red, Double green, Double blue); - internal static SecondaryColor3d glSecondaryColor3d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SecondaryColor3dEXT(Double red, Double green, Double blue); - internal static SecondaryColor3dEXT glSecondaryColor3dEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SecondaryColor3dv(Double* v); - internal unsafe static SecondaryColor3dv glSecondaryColor3dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SecondaryColor3dvEXT(Double* v); - internal unsafe static SecondaryColor3dvEXT glSecondaryColor3dvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SecondaryColor3f(Single red, Single green, Single blue); - internal static SecondaryColor3f glSecondaryColor3f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SecondaryColor3fEXT(Single red, Single green, Single blue); - internal static SecondaryColor3fEXT glSecondaryColor3fEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SecondaryColor3fv(Single* v); - internal unsafe static SecondaryColor3fv glSecondaryColor3fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SecondaryColor3fvEXT(Single* v); - internal unsafe static SecondaryColor3fvEXT glSecondaryColor3fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SecondaryColor3hNV(Half red, Half green, Half blue); - internal static SecondaryColor3hNV glSecondaryColor3hNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SecondaryColor3hvNV(Half* v); - internal unsafe static SecondaryColor3hvNV glSecondaryColor3hvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SecondaryColor3i(Int32 red, Int32 green, Int32 blue); - internal static SecondaryColor3i glSecondaryColor3i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SecondaryColor3iEXT(Int32 red, Int32 green, Int32 blue); - internal static SecondaryColor3iEXT glSecondaryColor3iEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SecondaryColor3iv(Int32* v); - internal unsafe static SecondaryColor3iv glSecondaryColor3iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SecondaryColor3ivEXT(Int32* v); - internal unsafe static SecondaryColor3ivEXT glSecondaryColor3ivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SecondaryColor3s(Int16 red, Int16 green, Int16 blue); - internal static SecondaryColor3s glSecondaryColor3s; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SecondaryColor3sEXT(Int16 red, Int16 green, Int16 blue); - internal static SecondaryColor3sEXT glSecondaryColor3sEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SecondaryColor3sv(Int16* v); - internal unsafe static SecondaryColor3sv glSecondaryColor3sv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SecondaryColor3svEXT(Int16* v); - internal unsafe static SecondaryColor3svEXT glSecondaryColor3svEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SecondaryColor3ub(Byte red, Byte green, Byte blue); - internal static SecondaryColor3ub glSecondaryColor3ub; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SecondaryColor3ubEXT(Byte red, Byte green, Byte blue); - internal static SecondaryColor3ubEXT glSecondaryColor3ubEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SecondaryColor3ubv(Byte* v); - internal unsafe static SecondaryColor3ubv glSecondaryColor3ubv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SecondaryColor3ubvEXT(Byte* v); - internal unsafe static SecondaryColor3ubvEXT glSecondaryColor3ubvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SecondaryColor3ui(UInt32 red, UInt32 green, UInt32 blue); - internal static SecondaryColor3ui glSecondaryColor3ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SecondaryColor3uiEXT(UInt32 red, UInt32 green, UInt32 blue); - internal static SecondaryColor3uiEXT glSecondaryColor3uiEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SecondaryColor3uiv(UInt32* v); - internal unsafe static SecondaryColor3uiv glSecondaryColor3uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SecondaryColor3uivEXT(UInt32* v); - internal unsafe static SecondaryColor3uivEXT glSecondaryColor3uivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SecondaryColor3us(UInt16 red, UInt16 green, UInt16 blue); - internal static SecondaryColor3us glSecondaryColor3us; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SecondaryColor3usEXT(UInt16 red, UInt16 green, UInt16 blue); - internal static SecondaryColor3usEXT glSecondaryColor3usEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SecondaryColor3usv(UInt16* v); - internal unsafe static SecondaryColor3usv glSecondaryColor3usv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SecondaryColor3usvEXT(UInt16* v); - internal unsafe static SecondaryColor3usvEXT glSecondaryColor3usvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SecondaryColorFormatNV(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); - internal static SecondaryColorFormatNV glSecondaryColorFormatNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SecondaryColorP3ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 color); - internal static SecondaryColorP3ui glSecondaryColorP3ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SecondaryColorP3uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* color); - internal unsafe static SecondaryColorP3uiv glSecondaryColorP3uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer); - internal static SecondaryColorPointer glSecondaryColorPointer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SecondaryColorPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer); - internal static SecondaryColorPointerEXT glSecondaryColorPointerEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SecondaryColorPointerListIBM(Int32 size, OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, IntPtr pointer, Int32 ptrstride); - internal static SecondaryColorPointerListIBM glSecondaryColorPointerListIBM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SelectBuffer(Int32 size, [OutAttribute] UInt32* buffer); - internal unsafe static SelectBuffer glSelectBuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SelectPerfMonitorCountersAMD(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32* counterList); - internal unsafe static SelectPerfMonitorCountersAMD glSelectPerfMonitorCountersAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, IntPtr column); - internal static SeparableFilter2D glSeparableFilter2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SeparableFilter2DEXT(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, IntPtr column); - internal static SeparableFilter2DEXT glSeparableFilter2DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SetFenceAPPLE(UInt32 fence); - internal static SetFenceAPPLE glSetFenceAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SetFenceNV(UInt32 fence, OpenTK.Graphics.OpenGL.NvFence condition); - internal static SetFenceNV glSetFenceNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SetFragmentShaderConstantATI(UInt32 dst, Single* value); - internal unsafe static SetFragmentShaderConstantATI glSetFragmentShaderConstantATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SetInvariantEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, IntPtr addr); - internal static SetInvariantEXT glSetInvariantEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SetLocalConstantEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, IntPtr addr); - internal static SetLocalConstantEXT glSetLocalConstantEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SetMultisamplefvAMD(OpenTK.Graphics.OpenGL.AmdSamplePositions pname, UInt32 index, Single* val); - internal unsafe static SetMultisamplefvAMD glSetMultisamplefvAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ShadeModel(OpenTK.Graphics.OpenGL.ShadingModel mode); - internal static ShadeModel glShadeModel; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, IntPtr binary, Int32 length); - internal unsafe static ShaderBinary glShaderBinary; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ShaderOp1EXT(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1); - internal static ShaderOp1EXT glShaderOp1EXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ShaderOp2EXT(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2); - internal static ShaderOp2EXT glShaderOp2EXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ShaderOp3EXT(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2, UInt32 arg3); - internal static ShaderOp3EXT glShaderOp3EXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length); - internal unsafe static ShaderSource glShaderSource; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ShaderSourceARB(UInt32 shaderObj, Int32 count, String[] @string, Int32* length); - internal unsafe static ShaderSourceARB glShaderSourceARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ShaderStorageBlockBinding(UInt32 program, UInt32 storageBlockIndex, UInt32 storageBlockBinding); - internal static ShaderStorageBlockBinding glShaderStorageBlockBinding; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SharpenTexFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, Single* points); - internal unsafe static SharpenTexFuncSGIS glSharpenTexFuncSGIS; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SpriteParameterfSGIX(OpenTK.Graphics.OpenGL.SgixSprite pname, Single param); - internal static SpriteParameterfSGIX glSpriteParameterfSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SpriteParameterfvSGIX(OpenTK.Graphics.OpenGL.SgixSprite pname, Single* @params); - internal unsafe static SpriteParameterfvSGIX glSpriteParameterfvSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SpriteParameteriSGIX(OpenTK.Graphics.OpenGL.SgixSprite pname, Int32 param); - internal static SpriteParameteriSGIX glSpriteParameteriSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SpriteParameterivSGIX(OpenTK.Graphics.OpenGL.SgixSprite pname, Int32* @params); - internal unsafe static SpriteParameterivSGIX glSpriteParameterivSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StartInstrumentsSGIX(); - internal static StartInstrumentsSGIX glStartInstrumentsSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilClearTagEXT(Int32 stencilTagBits, UInt32 stencilClearTag); - internal static StencilClearTagEXT glStencilClearTagEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void StencilFillPathInstancedNV(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues); - internal unsafe static StencilFillPathInstancedNV glStencilFillPathInstancedNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilFillPathNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask); - internal static StencilFillPathNV glStencilFillPathNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilFunc(OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask); - internal static StencilFunc glStencilFunc; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilFuncSeparate(OpenTK.Graphics.OpenGL.StencilFace face, OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask); - internal static StencilFuncSeparate glStencilFuncSeparate; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilFuncSeparateATI(OpenTK.Graphics.OpenGL.StencilFunction frontfunc, OpenTK.Graphics.OpenGL.StencilFunction backfunc, Int32 @ref, UInt32 mask); - internal static StencilFuncSeparateATI glStencilFuncSeparateATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilMask(UInt32 mask); - internal static StencilMask glStencilMask; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilMaskSeparate(OpenTK.Graphics.OpenGL.StencilFace face, UInt32 mask); - internal static StencilMaskSeparate glStencilMaskSeparate; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilOp(OpenTK.Graphics.OpenGL.StencilOp fail, OpenTK.Graphics.OpenGL.StencilOp zfail, OpenTK.Graphics.OpenGL.StencilOp zpass); - internal static StencilOp glStencilOp; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilOpSeparate(OpenTK.Graphics.OpenGL.StencilFace face, OpenTK.Graphics.OpenGL.StencilOp sfail, OpenTK.Graphics.OpenGL.StencilOp dpfail, OpenTK.Graphics.OpenGL.StencilOp dppass); - internal static StencilOpSeparate glStencilOpSeparate; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilOpSeparateATI(OpenTK.Graphics.OpenGL.AtiSeparateStencil face, OpenTK.Graphics.OpenGL.StencilOp sfail, OpenTK.Graphics.OpenGL.StencilOp dpfail, OpenTK.Graphics.OpenGL.StencilOp dppass); - internal static StencilOpSeparateATI glStencilOpSeparateATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilOpValueAMD(OpenTK.Graphics.OpenGL.AmdStencilOperationExtended face, UInt32 value); - internal static StencilOpValueAMD glStencilOpValueAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void StencilStrokePathInstancedNV(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, Int32 reference, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues); - internal unsafe static StencilStrokePathInstancedNV glStencilStrokePathInstancedNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilStrokePathNV(UInt32 path, Int32 reference, UInt32 mask); - internal static StencilStrokePathNV glStencilStrokePathNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StopInstrumentsSGIX(Int32 marker); - internal static StopInstrumentsSGIX glStopInstrumentsSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StringMarkerGREMEDY(Int32 len, IntPtr @string); - internal static StringMarkerGREMEDY glStringMarkerGREMEDY; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SwizzleEXT(UInt32 res, UInt32 @in, OpenTK.Graphics.OpenGL.ExtVertexShader outX, OpenTK.Graphics.OpenGL.ExtVertexShader outY, OpenTK.Graphics.OpenGL.ExtVertexShader outZ, OpenTK.Graphics.OpenGL.ExtVertexShader outW); - internal static SwizzleEXT glSwizzleEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SyncTextureINTEL(UInt32 texture); - internal static SyncTextureINTEL glSyncTextureINTEL; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TagSampleBufferSGIX(); - internal static TagSampleBufferSGIX glTagSampleBufferSGIX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Tangent3bEXT(SByte tx, SByte ty, SByte tz); - internal static Tangent3bEXT glTangent3bEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Tangent3bvEXT(SByte* v); - internal unsafe static Tangent3bvEXT glTangent3bvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Tangent3dEXT(Double tx, Double ty, Double tz); - internal static Tangent3dEXT glTangent3dEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Tangent3dvEXT(Double* v); - internal unsafe static Tangent3dvEXT glTangent3dvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Tangent3fEXT(Single tx, Single ty, Single tz); - internal static Tangent3fEXT glTangent3fEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Tangent3fvEXT(Single* v); - internal unsafe static Tangent3fvEXT glTangent3fvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Tangent3iEXT(Int32 tx, Int32 ty, Int32 tz); - internal static Tangent3iEXT glTangent3iEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Tangent3ivEXT(Int32* v); - internal unsafe static Tangent3ivEXT glTangent3ivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Tangent3sEXT(Int16 tx, Int16 ty, Int16 tz); - internal static Tangent3sEXT glTangent3sEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Tangent3svEXT(Int16* v); - internal unsafe static Tangent3svEXT glTangent3svEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TangentPointerEXT(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer); - internal static TangentPointerEXT glTangentPointerEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TbufferMask3DFX(UInt32 mask); - internal static TbufferMask3DFX glTbufferMask3DFX; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TessellationFactorAMD(Single factor); - internal static TessellationFactorAMD glTessellationFactorAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TessellationModeAMD(OpenTK.Graphics.OpenGL.AmdVertexShaderTessellator mode); - internal static TessellationModeAMD glTessellationModeAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool TestFenceAPPLE(UInt32 fence); - internal static TestFenceAPPLE glTestFenceAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool TestFenceNV(UInt32 fence); - internal static TestFenceNV glTestFenceNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool TestObjectAPPLE(OpenTK.Graphics.OpenGL.AppleFence @object, UInt32 name); - internal static TestObjectAPPLE glTestObjectAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexBuffer(OpenTK.Graphics.OpenGL.TextureBufferTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, UInt32 buffer); - internal static TexBuffer glTexBuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexBufferARB(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ArbTextureBufferObject internalformat, UInt32 buffer); - internal static TexBufferARB glTexBufferARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexBufferEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtTextureBufferObject internalformat, UInt32 buffer); - internal static TexBufferEXT glTexBufferEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexBufferRange(OpenTK.Graphics.OpenGL.TextureBufferTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, UInt32 buffer, IntPtr offset, IntPtr size); - internal static TexBufferRange glTexBufferRange; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexBumpParameterfvATI(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, Single* param); - internal unsafe static TexBumpParameterfvATI glTexBumpParameterfvATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexBumpParameterivATI(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, Int32* param); - internal unsafe static TexBumpParameterivATI glTexBumpParameterivATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord1bOES(SByte s); - internal static TexCoord1bOES glTexCoord1bOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord1bvOES(SByte* coords); - internal unsafe static TexCoord1bvOES glTexCoord1bvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord1d(Double s); - internal static TexCoord1d glTexCoord1d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord1dv(Double* v); - internal unsafe static TexCoord1dv glTexCoord1dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord1f(Single s); - internal static TexCoord1f glTexCoord1f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord1fv(Single* v); - internal unsafe static TexCoord1fv glTexCoord1fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord1hNV(Half s); - internal static TexCoord1hNV glTexCoord1hNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord1hvNV(Half* v); - internal unsafe static TexCoord1hvNV glTexCoord1hvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord1i(Int32 s); - internal static TexCoord1i glTexCoord1i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord1iv(Int32* v); - internal unsafe static TexCoord1iv glTexCoord1iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord1s(Int16 s); - internal static TexCoord1s glTexCoord1s; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord1sv(Int16* v); - internal unsafe static TexCoord1sv glTexCoord1sv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord1xOES(int s); - internal static TexCoord1xOES glTexCoord1xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord1xvOES(int* coords); - internal unsafe static TexCoord1xvOES glTexCoord1xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord2bOES(SByte s, SByte t); - internal static TexCoord2bOES glTexCoord2bOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord2bvOES(SByte* coords); - internal unsafe static TexCoord2bvOES glTexCoord2bvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord2d(Double s, Double t); - internal static TexCoord2d glTexCoord2d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord2dv(Double* v); - internal unsafe static TexCoord2dv glTexCoord2dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord2f(Single s, Single t); - internal static TexCoord2f glTexCoord2f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord2fColor3fVertex3fSUN(Single s, Single t, Single r, Single g, Single b, Single x, Single y, Single z); - internal static TexCoord2fColor3fVertex3fSUN glTexCoord2fColor3fVertex3fSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord2fColor3fVertex3fvSUN(Single* tc, Single* c, Single* v); - internal unsafe static TexCoord2fColor3fVertex3fvSUN glTexCoord2fColor3fVertex3fvSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord2fColor4fNormal3fVertex3fSUN(Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z); - internal static TexCoord2fColor4fNormal3fVertex3fSUN glTexCoord2fColor4fNormal3fVertex3fSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord2fColor4fNormal3fVertex3fvSUN(Single* tc, Single* c, Single* n, Single* v); - internal unsafe static TexCoord2fColor4fNormal3fVertex3fvSUN glTexCoord2fColor4fNormal3fVertex3fvSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord2fColor4ubVertex3fSUN(Single s, Single t, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z); - internal static TexCoord2fColor4ubVertex3fSUN glTexCoord2fColor4ubVertex3fSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord2fColor4ubVertex3fvSUN(Single* tc, Byte* c, Single* v); - internal unsafe static TexCoord2fColor4ubVertex3fvSUN glTexCoord2fColor4ubVertex3fvSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord2fNormal3fVertex3fSUN(Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z); - internal static TexCoord2fNormal3fVertex3fSUN glTexCoord2fNormal3fVertex3fSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord2fNormal3fVertex3fvSUN(Single* tc, Single* n, Single* v); - internal unsafe static TexCoord2fNormal3fVertex3fvSUN glTexCoord2fNormal3fVertex3fvSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord2fv(Single* v); - internal unsafe static TexCoord2fv glTexCoord2fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord2fVertex3fSUN(Single s, Single t, Single x, Single y, Single z); - internal static TexCoord2fVertex3fSUN glTexCoord2fVertex3fSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord2fVertex3fvSUN(Single* tc, Single* v); - internal unsafe static TexCoord2fVertex3fvSUN glTexCoord2fVertex3fvSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord2hNV(Half s, Half t); - internal static TexCoord2hNV glTexCoord2hNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord2hvNV(Half* v); - internal unsafe static TexCoord2hvNV glTexCoord2hvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord2i(Int32 s, Int32 t); - internal static TexCoord2i glTexCoord2i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord2iv(Int32* v); - internal unsafe static TexCoord2iv glTexCoord2iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord2s(Int16 s, Int16 t); - internal static TexCoord2s glTexCoord2s; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord2sv(Int16* v); - internal unsafe static TexCoord2sv glTexCoord2sv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord2xOES(int s, int t); - internal static TexCoord2xOES glTexCoord2xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord2xvOES(int* coords); - internal unsafe static TexCoord2xvOES glTexCoord2xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord3bOES(SByte s, SByte t, SByte r); - internal static TexCoord3bOES glTexCoord3bOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord3bvOES(SByte* coords); - internal unsafe static TexCoord3bvOES glTexCoord3bvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord3d(Double s, Double t, Double r); - internal static TexCoord3d glTexCoord3d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord3dv(Double* v); - internal unsafe static TexCoord3dv glTexCoord3dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord3f(Single s, Single t, Single r); - internal static TexCoord3f glTexCoord3f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord3fv(Single* v); - internal unsafe static TexCoord3fv glTexCoord3fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord3hNV(Half s, Half t, Half r); - internal static TexCoord3hNV glTexCoord3hNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord3hvNV(Half* v); - internal unsafe static TexCoord3hvNV glTexCoord3hvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord3i(Int32 s, Int32 t, Int32 r); - internal static TexCoord3i glTexCoord3i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord3iv(Int32* v); - internal unsafe static TexCoord3iv glTexCoord3iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord3s(Int16 s, Int16 t, Int16 r); - internal static TexCoord3s glTexCoord3s; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord3sv(Int16* v); - internal unsafe static TexCoord3sv glTexCoord3sv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord3xOES(int s, int t, int r); - internal static TexCoord3xOES glTexCoord3xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord3xvOES(int* coords); - internal unsafe static TexCoord3xvOES glTexCoord3xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord4bOES(SByte s, SByte t, SByte r, SByte q); - internal static TexCoord4bOES glTexCoord4bOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord4bvOES(SByte* coords); - internal unsafe static TexCoord4bvOES glTexCoord4bvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord4d(Double s, Double t, Double r, Double q); - internal static TexCoord4d glTexCoord4d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord4dv(Double* v); - internal unsafe static TexCoord4dv glTexCoord4dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord4f(Single s, Single t, Single r, Single q); - internal static TexCoord4f glTexCoord4f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord4fColor4fNormal3fVertex4fSUN(Single s, Single t, Single p, Single q, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z, Single w); - internal static TexCoord4fColor4fNormal3fVertex4fSUN glTexCoord4fColor4fNormal3fVertex4fSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord4fColor4fNormal3fVertex4fvSUN(Single* tc, Single* c, Single* n, Single* v); - internal unsafe static TexCoord4fColor4fNormal3fVertex4fvSUN glTexCoord4fColor4fNormal3fVertex4fvSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord4fv(Single* v); - internal unsafe static TexCoord4fv glTexCoord4fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord4fVertex4fSUN(Single s, Single t, Single p, Single q, Single x, Single y, Single z, Single w); - internal static TexCoord4fVertex4fSUN glTexCoord4fVertex4fSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord4fVertex4fvSUN(Single* tc, Single* v); - internal unsafe static TexCoord4fVertex4fvSUN glTexCoord4fVertex4fvSUN; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord4hNV(Half s, Half t, Half r, Half q); - internal static TexCoord4hNV glTexCoord4hNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord4hvNV(Half* v); - internal unsafe static TexCoord4hvNV glTexCoord4hvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord4i(Int32 s, Int32 t, Int32 r, Int32 q); - internal static TexCoord4i glTexCoord4i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord4iv(Int32* v); - internal unsafe static TexCoord4iv glTexCoord4iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord4s(Int16 s, Int16 t, Int16 r, Int16 q); - internal static TexCoord4s glTexCoord4s; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord4sv(Int16* v); - internal unsafe static TexCoord4sv glTexCoord4sv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoord4xOES(int s, int t, int r, int q); - internal static TexCoord4xOES glTexCoord4xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoord4xvOES(int* coords); - internal unsafe static TexCoord4xvOES glTexCoord4xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoordFormatNV(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); - internal static TexCoordFormatNV glTexCoordFormatNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoordP1ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); - internal static TexCoordP1ui glTexCoordP1ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoordP1uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); - internal unsafe static TexCoordP1uiv glTexCoordP1uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoordP2ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); - internal static TexCoordP2ui glTexCoordP2ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoordP2uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); - internal unsafe static TexCoordP2uiv glTexCoordP2uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoordP3ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); - internal static TexCoordP3ui glTexCoordP3ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoordP3uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); - internal unsafe static TexCoordP3uiv glTexCoordP3uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoordP4ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords); - internal static TexCoordP4ui glTexCoordP4ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoordP4uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords); - internal unsafe static TexCoordP4uiv glTexCoordP4uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer); - internal static TexCoordPointer glTexCoordPointer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoordPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, Int32 count, IntPtr pointer); - internal static TexCoordPointerEXT glTexCoordPointerEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoordPointerListIBM(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); - internal static TexCoordPointerListIBM glTexCoordPointerListIBM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoordPointervINTEL(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer); - internal static TexCoordPointervINTEL glTexCoordPointervINTEL; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexEnvf(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single param); - internal static TexEnvf glTexEnvf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexEnvfv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single* @params); - internal unsafe static TexEnvfv glTexEnvfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexEnvi(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32 param); - internal static TexEnvi glTexEnvi; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexEnviv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32* @params); - internal unsafe static TexEnviv glTexEnviv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexEnvxOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); - internal static TexEnvxOES glTexEnvxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexEnvxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params); - internal unsafe static TexEnvxvOES glTexEnvxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexFilterFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, Int32 n, Single* weights); - internal unsafe static TexFilterFuncSGIS glTexFilterFuncSGIS; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexGend(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double param); - internal static TexGend glTexGend; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexGendv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double* @params); - internal unsafe static TexGendv glTexGendv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexGenf(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single param); - internal static TexGenf glTexGenf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexGenfv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single* @params); - internal unsafe static TexGenfv glTexGenfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexGeni(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32 param); - internal static TexGeni glTexGeni; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexGeniv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32* @params); - internal unsafe static TexGeniv glTexGeniv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexGenxOES(OpenTK.Graphics.OpenGL.OesFixedPoint coord, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); - internal static TexGenxOES glTexGenxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexGenxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint coord, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params); - internal unsafe static TexGenxvOES glTexGenxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - internal static TexImage1D glTexImage1D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - internal static TexImage2D glTexImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexImage2DMultisample(OpenTK.Graphics.OpenGL.TextureTargetMultisample target, Int32 samples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, bool fixedsamplelocations); - internal static TexImage2DMultisample glTexImage2DMultisample; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexImage2DMultisampleCoverageNV(OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations); - internal static TexImage2DMultisampleCoverageNV glTexImage2DMultisampleCoverageNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - internal static TexImage3D glTexImage3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexImage3DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - internal static TexImage3DEXT glTexImage3DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexImage3DMultisample(OpenTK.Graphics.OpenGL.TextureTargetMultisample target, Int32 samples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations); - internal static TexImage3DMultisample glTexImage3DMultisample; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexImage3DMultisampleCoverageNV(OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations); - internal static TexImage3DMultisampleCoverageNV glTexImage3DMultisampleCoverageNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexImage4DSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - internal static TexImage4DSGIS glTexImage4DSGIS; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexPageCommitmentARB(OpenTK.Graphics.OpenGL.ArbSparseTexture target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, bool resident); - internal static TexPageCommitmentARB glTexPageCommitmentARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexParameterf(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param); - internal static TexParameterf glTexParameterf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexParameterfv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params); - internal unsafe static TexParameterfv glTexParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexParameteri(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param); - internal static TexParameteri glTexParameteri; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexParameterIiv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); - internal unsafe static TexParameterIiv glTexParameterIiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexParameterIivEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); - internal unsafe static TexParameterIivEXT glTexParameterIivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexParameterIuiv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params); - internal unsafe static TexParameterIuiv glTexParameterIuiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexParameterIuivEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params); - internal unsafe static TexParameterIuivEXT glTexParameterIuivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexParameteriv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); - internal unsafe static TexParameteriv glTexParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexParameterxOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); - internal static TexParameterxOES glTexParameterxOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params); - internal unsafe static TexParameterxvOES glTexParameterxvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexRenderbufferNV(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer); - internal static TexRenderbufferNV glTexRenderbufferNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexStorage1D(OpenTK.Graphics.OpenGL.TextureTarget1d target, Int32 levels, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 width); - internal static TexStorage1D glTexStorage1D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexStorage2D(OpenTK.Graphics.OpenGL.TextureTarget2d target, Int32 levels, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 width, Int32 height); - internal static TexStorage2D glTexStorage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexStorage2DMultisample(OpenTK.Graphics.OpenGL.TextureTargetMultisample2d target, Int32 samples, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 width, Int32 height, bool fixedsamplelocations); - internal static TexStorage2DMultisample glTexStorage2DMultisample; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexStorage3D(OpenTK.Graphics.OpenGL.TextureTarget3d target, Int32 levels, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth); - internal static TexStorage3D glTexStorage3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexStorage3DMultisample(OpenTK.Graphics.OpenGL.TextureTargetMultisample3d target, Int32 samples, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations); - internal static TexStorage3DMultisample glTexStorage3DMultisample; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexStorageSparseAMD(OpenTK.Graphics.OpenGL.AmdSparseTexture target, OpenTK.Graphics.OpenGL.AmdSparseTexture internalFormat, Int32 width, Int32 height, Int32 depth, Int32 layers, UInt32 flags); - internal static TexStorageSparseAMD glTexStorageSparseAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - internal static TexSubImage1D glTexSubImage1D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - internal static TexSubImage1DEXT glTexSubImage1DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - internal static TexSubImage2D glTexSubImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - internal static TexSubImage2DEXT glTexSubImage2DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - internal static TexSubImage3D glTexSubImage3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - internal static TexSubImage3DEXT glTexSubImage3DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexSubImage4DSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - internal static TexSubImage4DSGIS glTexSubImage4DSGIS; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureBarrierNV(); - internal static TextureBarrierNV glTextureBarrierNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureBufferEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, UInt32 buffer); - internal static TextureBufferEXT glTextureBufferEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureBufferRangeEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, UInt32 buffer, IntPtr offset, IntPtr size); - internal static TextureBufferRangeEXT glTextureBufferRangeEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureColorMaskSGIS(bool red, bool green, bool blue, bool alpha); - internal static TextureColorMaskSGIS glTextureColorMaskSGIS; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - internal static TextureImage1DEXT glTextureImage1DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - internal static TextureImage2DEXT glTextureImage2DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureImage2DMultisampleCoverageNV(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations); - internal static TextureImage2DMultisampleCoverageNV glTextureImage2DMultisampleCoverageNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureImage2DMultisampleNV(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 samples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations); - internal static TextureImage2DMultisampleNV glTextureImage2DMultisampleNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - internal static TextureImage3DEXT glTextureImage3DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureImage3DMultisampleCoverageNV(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations); - internal static TextureImage3DMultisampleCoverageNV glTextureImage3DMultisampleCoverageNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureImage3DMultisampleNV(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 samples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations); - internal static TextureImage3DMultisampleNV glTextureImage3DMultisampleNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureLightEXT(OpenTK.Graphics.OpenGL.ExtLightTexture pname); - internal static TextureLightEXT glTextureLightEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureMaterialEXT(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter mode); - internal static TextureMaterialEXT glTextureMaterialEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureNormalEXT(OpenTK.Graphics.OpenGL.ExtTexturePerturbNormal mode); - internal static TextureNormalEXT glTextureNormalEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexturePageCommitmentEXT(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, bool resident); - internal static TexturePageCommitmentEXT glTexturePageCommitmentEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureParameterfEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param); - internal static TextureParameterfEXT glTextureParameterfEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TextureParameterfvEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params); - internal unsafe static TextureParameterfvEXT glTextureParameterfvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureParameteriEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param); - internal static TextureParameteriEXT glTextureParameteriEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TextureParameterIivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); - internal unsafe static TextureParameterIivEXT glTextureParameterIivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TextureParameterIuivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params); - internal unsafe static TextureParameterIuivEXT glTextureParameterIuivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TextureParameterivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); - internal unsafe static TextureParameterivEXT glTextureParameterivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureRangeAPPLE(OpenTK.Graphics.OpenGL.AppleTextureRange target, Int32 length, IntPtr pointer); - internal static TextureRangeAPPLE glTextureRangeAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureRenderbufferEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer); - internal static TextureRenderbufferEXT glTextureRenderbufferEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureStorage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 levels, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width); - internal static TextureStorage1DEXT glTextureStorage1DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureStorage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 levels, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height); - internal static TextureStorage2DEXT glTextureStorage2DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureStorage2DMultisampleEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 samples, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, bool fixedsamplelocations); - internal static TextureStorage2DMultisampleEXT glTextureStorage2DMultisampleEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureStorage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 levels, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth); - internal static TextureStorage3DEXT glTextureStorage3DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureStorage3DMultisampleEXT(UInt32 texture, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 samples, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations); - internal static TextureStorage3DMultisampleEXT glTextureStorage3DMultisampleEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureStorageSparseAMD(UInt32 texture, OpenTK.Graphics.OpenGL.AmdSparseTexture target, OpenTK.Graphics.OpenGL.AmdSparseTexture internalFormat, Int32 width, Int32 height, Int32 depth, Int32 layers, UInt32 flags); - internal static TextureStorageSparseAMD glTextureStorageSparseAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureSubImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - internal static TextureSubImage1DEXT glTextureSubImage1DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureSubImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - internal static TextureSubImage2DEXT glTextureSubImage2DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureSubImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); - internal static TextureSubImage3DEXT glTextureSubImage3DEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureView(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 origtexture, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, UInt32 minlevel, UInt32 numlevels, UInt32 minlayer, UInt32 numlayers); - internal static TextureView glTextureView; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TrackMatrixNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.OpenGL.NvVertexProgram matrix, OpenTK.Graphics.OpenGL.NvVertexProgram transform); - internal static TrackMatrixNV glTrackMatrixNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TransformFeedbackAttribsNV(UInt32 count, Int32* attribs, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode); - internal unsafe static TransformFeedbackAttribsNV glTransformFeedbackAttribsNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TransformFeedbackStreamAttribsNV(Int32 count, Int32* attribs, Int32 nbuffers, Int32* bufstreams, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode); - internal unsafe static TransformFeedbackStreamAttribsNV glTransformFeedbackStreamAttribsNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL.TransformFeedbackMode bufferMode); - internal static TransformFeedbackVaryings glTransformFeedbackVaryings; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TransformFeedbackVaryingsEXT(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL.ExtTransformFeedback bufferMode); - internal static TransformFeedbackVaryingsEXT glTransformFeedbackVaryingsEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TransformFeedbackVaryingsNV(UInt32 program, Int32 count, Int32* locations, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode); - internal unsafe static TransformFeedbackVaryingsNV glTransformFeedbackVaryingsNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TransformPathNV(UInt32 resultPath, UInt32 srcPath, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues); - internal unsafe static TransformPathNV glTransformPathNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Translated(Double x, Double y, Double z); - internal static Translated glTranslated; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Translatef(Single x, Single y, Single z); - internal static Translatef glTranslatef; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TranslatexOES(int x, int y, int z); - internal static TranslatexOES glTranslatexOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform1d(Int32 location, Double x); - internal static Uniform1d glUniform1d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform1dv(Int32 location, Int32 count, Double* value); - internal unsafe static Uniform1dv glUniform1dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform1f(Int32 location, Single v0); - internal static Uniform1f glUniform1f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform1fARB(Int32 location, Single v0); - internal static Uniform1fARB glUniform1fARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform1fv(Int32 location, Int32 count, Single* value); - internal unsafe static Uniform1fv glUniform1fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform1fvARB(Int32 location, Int32 count, Single* value); - internal unsafe static Uniform1fvARB glUniform1fvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform1i(Int32 location, Int32 v0); - internal static Uniform1i glUniform1i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform1i64NV(Int32 location, Int64 x); - internal static Uniform1i64NV glUniform1i64NV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform1i64vNV(Int32 location, Int32 count, Int64* value); - internal unsafe static Uniform1i64vNV glUniform1i64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform1iARB(Int32 location, Int32 v0); - internal static Uniform1iARB glUniform1iARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform1iv(Int32 location, Int32 count, Int32* value); - internal unsafe static Uniform1iv glUniform1iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform1ivARB(Int32 location, Int32 count, Int32* value); - internal unsafe static Uniform1ivARB glUniform1ivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform1ui(Int32 location, UInt32 v0); - internal static Uniform1ui glUniform1ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform1ui64NV(Int32 location, UInt64 x); - internal static Uniform1ui64NV glUniform1ui64NV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform1ui64vNV(Int32 location, Int32 count, UInt64* value); - internal unsafe static Uniform1ui64vNV glUniform1ui64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform1uiEXT(Int32 location, UInt32 v0); - internal static Uniform1uiEXT glUniform1uiEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform1uiv(Int32 location, Int32 count, UInt32* value); - internal unsafe static Uniform1uiv glUniform1uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform1uivEXT(Int32 location, Int32 count, UInt32* value); - internal unsafe static Uniform1uivEXT glUniform1uivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform2d(Int32 location, Double x, Double y); - internal static Uniform2d glUniform2d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform2dv(Int32 location, Int32 count, Double* value); - internal unsafe static Uniform2dv glUniform2dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform2f(Int32 location, Single v0, Single v1); - internal static Uniform2f glUniform2f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform2fARB(Int32 location, Single v0, Single v1); - internal static Uniform2fARB glUniform2fARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform2fv(Int32 location, Int32 count, Single* value); - internal unsafe static Uniform2fv glUniform2fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform2fvARB(Int32 location, Int32 count, Single* value); - internal unsafe static Uniform2fvARB glUniform2fvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform2i(Int32 location, Int32 v0, Int32 v1); - internal static Uniform2i glUniform2i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform2i64NV(Int32 location, Int64 x, Int64 y); - internal static Uniform2i64NV glUniform2i64NV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform2i64vNV(Int32 location, Int32 count, Int64* value); - internal unsafe static Uniform2i64vNV glUniform2i64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform2iARB(Int32 location, Int32 v0, Int32 v1); - internal static Uniform2iARB glUniform2iARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform2iv(Int32 location, Int32 count, Int32* value); - internal unsafe static Uniform2iv glUniform2iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform2ivARB(Int32 location, Int32 count, Int32* value); - internal unsafe static Uniform2ivARB glUniform2ivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform2ui(Int32 location, UInt32 v0, UInt32 v1); - internal static Uniform2ui glUniform2ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform2ui64NV(Int32 location, UInt64 x, UInt64 y); - internal static Uniform2ui64NV glUniform2ui64NV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform2ui64vNV(Int32 location, Int32 count, UInt64* value); - internal unsafe static Uniform2ui64vNV glUniform2ui64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform2uiEXT(Int32 location, UInt32 v0, UInt32 v1); - internal static Uniform2uiEXT glUniform2uiEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform2uiv(Int32 location, Int32 count, UInt32* value); - internal unsafe static Uniform2uiv glUniform2uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform2uivEXT(Int32 location, Int32 count, UInt32* value); - internal unsafe static Uniform2uivEXT glUniform2uivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform3d(Int32 location, Double x, Double y, Double z); - internal static Uniform3d glUniform3d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform3dv(Int32 location, Int32 count, Double* value); - internal unsafe static Uniform3dv glUniform3dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform3f(Int32 location, Single v0, Single v1, Single v2); - internal static Uniform3f glUniform3f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform3fARB(Int32 location, Single v0, Single v1, Single v2); - internal static Uniform3fARB glUniform3fARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform3fv(Int32 location, Int32 count, Single* value); - internal unsafe static Uniform3fv glUniform3fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform3fvARB(Int32 location, Int32 count, Single* value); - internal unsafe static Uniform3fvARB glUniform3fvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform3i(Int32 location, Int32 v0, Int32 v1, Int32 v2); - internal static Uniform3i glUniform3i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform3i64NV(Int32 location, Int64 x, Int64 y, Int64 z); - internal static Uniform3i64NV glUniform3i64NV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform3i64vNV(Int32 location, Int32 count, Int64* value); - internal unsafe static Uniform3i64vNV glUniform3i64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform3iARB(Int32 location, Int32 v0, Int32 v1, Int32 v2); - internal static Uniform3iARB glUniform3iARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform3iv(Int32 location, Int32 count, Int32* value); - internal unsafe static Uniform3iv glUniform3iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform3ivARB(Int32 location, Int32 count, Int32* value); - internal unsafe static Uniform3ivARB glUniform3ivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform3ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); - internal static Uniform3ui glUniform3ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform3ui64NV(Int32 location, UInt64 x, UInt64 y, UInt64 z); - internal static Uniform3ui64NV glUniform3ui64NV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform3ui64vNV(Int32 location, Int32 count, UInt64* value); - internal unsafe static Uniform3ui64vNV glUniform3ui64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform3uiEXT(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); - internal static Uniform3uiEXT glUniform3uiEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform3uiv(Int32 location, Int32 count, UInt32* value); - internal unsafe static Uniform3uiv glUniform3uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform3uivEXT(Int32 location, Int32 count, UInt32* value); - internal unsafe static Uniform3uivEXT glUniform3uivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform4d(Int32 location, Double x, Double y, Double z, Double w); - internal static Uniform4d glUniform4d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform4dv(Int32 location, Int32 count, Double* value); - internal unsafe static Uniform4dv glUniform4dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform4f(Int32 location, Single v0, Single v1, Single v2, Single v3); - internal static Uniform4f glUniform4f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform4fARB(Int32 location, Single v0, Single v1, Single v2, Single v3); - internal static Uniform4fARB glUniform4fARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform4fv(Int32 location, Int32 count, Single* value); - internal unsafe static Uniform4fv glUniform4fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform4fvARB(Int32 location, Int32 count, Single* value); - internal unsafe static Uniform4fvARB glUniform4fvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform4i(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); - internal static Uniform4i glUniform4i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform4i64NV(Int32 location, Int64 x, Int64 y, Int64 z, Int64 w); - internal static Uniform4i64NV glUniform4i64NV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform4i64vNV(Int32 location, Int32 count, Int64* value); - internal unsafe static Uniform4i64vNV glUniform4i64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform4iARB(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); - internal static Uniform4iARB glUniform4iARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform4iv(Int32 location, Int32 count, Int32* value); - internal unsafe static Uniform4iv glUniform4iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform4ivARB(Int32 location, Int32 count, Int32* value); - internal unsafe static Uniform4ivARB glUniform4ivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform4ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); - internal static Uniform4ui glUniform4ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform4ui64NV(Int32 location, UInt64 x, UInt64 y, UInt64 z, UInt64 w); - internal static Uniform4ui64NV glUniform4ui64NV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform4ui64vNV(Int32 location, Int32 count, UInt64* value); - internal unsafe static Uniform4ui64vNV glUniform4ui64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform4uiEXT(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); - internal static Uniform4uiEXT glUniform4uiEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform4uiv(Int32 location, Int32 count, UInt32* value); - internal unsafe static Uniform4uiv glUniform4uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform4uivEXT(Int32 location, Int32 count, UInt32* value); - internal unsafe static Uniform4uivEXT glUniform4uivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void UniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding); - internal static UniformBlockBinding glUniformBlockBinding; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void UniformBufferEXT(UInt32 program, Int32 location, UInt32 buffer); - internal static UniformBufferEXT glUniformBufferEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void UniformHandleui64ARB(Int32 location, UInt64 value); - internal static UniformHandleui64ARB glUniformHandleui64ARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void UniformHandleui64NV(Int32 location, UInt64 value); - internal static UniformHandleui64NV glUniformHandleui64NV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformHandleui64vARB(Int32 location, Int32 count, UInt64* value); - internal unsafe static UniformHandleui64vARB glUniformHandleui64vARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformHandleui64vNV(Int32 location, Int32 count, UInt64* value); - internal unsafe static UniformHandleui64vNV glUniformHandleui64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix2dv(Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static UniformMatrix2dv glUniformMatrix2dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix2fv(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix2fv glUniformMatrix2fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix2fvARB(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix2fvARB glUniformMatrix2fvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix2x3dv(Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static UniformMatrix2x3dv glUniformMatrix2x3dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix2x3fv(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix2x3fv glUniformMatrix2x3fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix2x4dv(Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static UniformMatrix2x4dv glUniformMatrix2x4dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix2x4fv(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix2x4fv glUniformMatrix2x4fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix3dv(Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static UniformMatrix3dv glUniformMatrix3dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix3fv(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix3fv glUniformMatrix3fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix3fvARB(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix3fvARB glUniformMatrix3fvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix3x2dv(Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static UniformMatrix3x2dv glUniformMatrix3x2dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix3x2fv(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix3x2fv glUniformMatrix3x2fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix3x4dv(Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static UniformMatrix3x4dv glUniformMatrix3x4dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix3x4fv(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix3x4fv glUniformMatrix3x4fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix4dv(Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static UniformMatrix4dv glUniformMatrix4dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix4fv(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix4fv glUniformMatrix4fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix4fvARB(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix4fvARB glUniformMatrix4fvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix4x2dv(Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static UniformMatrix4x2dv glUniformMatrix4x2dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix4x2fv(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix4x2fv glUniformMatrix4x2fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix4x3dv(Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static UniformMatrix4x3dv glUniformMatrix4x3dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix4x3fv(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix4x3fv glUniformMatrix4x3fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformSubroutinesuiv(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 count, UInt32* indices); - internal unsafe static UniformSubroutinesuiv glUniformSubroutinesuiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniformui64NV(Int32 location, UInt64 value); - internal static Uniformui64NV glUniformui64NV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniformui64vNV(Int32 location, Int32 count, UInt64* value); - internal unsafe static Uniformui64vNV glUniformui64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void UnlockArraysEXT(); - internal static UnlockArraysEXT glUnlockArraysEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool UnmapBuffer(OpenTK.Graphics.OpenGL.BufferTarget target); - internal static UnmapBuffer glUnmapBuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool UnmapBufferARB(OpenTK.Graphics.OpenGL.BufferTargetArb target); - internal static UnmapBufferARB glUnmapBufferARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool UnmapNamedBufferEXT(UInt32 buffer); - internal static UnmapNamedBufferEXT glUnmapNamedBufferEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void UnmapObjectBufferATI(UInt32 buffer); - internal static UnmapObjectBufferATI glUnmapObjectBufferATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void UnmapTexture2DINTEL(UInt32 texture, Int32 level); - internal static UnmapTexture2DINTEL glUnmapTexture2DINTEL; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void UpdateObjectBufferATI(UInt32 buffer, UInt32 offset, Int32 size, IntPtr pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve); - internal static UpdateObjectBufferATI glUpdateObjectBufferATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void UseProgram(UInt32 program); - internal static UseProgram glUseProgram; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void UseProgramObjectARB(UInt32 programObj); - internal static UseProgramObjectARB glUseProgramObjectARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void UseProgramStages(UInt32 pipeline, OpenTK.Graphics.OpenGL.ProgramStageMask stages, UInt32 program); - internal static UseProgramStages glUseProgramStages; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void UseProgramStagesEXT(UInt32 pipeline, UInt32 stages, UInt32 program); - internal static UseProgramStagesEXT glUseProgramStagesEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void UseShaderProgramEXT(OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects type, UInt32 program); - internal static UseShaderProgramEXT glUseShaderProgramEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ValidateProgram(UInt32 program); - internal static ValidateProgram glValidateProgram; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ValidateProgramARB(UInt32 programObj); - internal static ValidateProgramARB glValidateProgramARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ValidateProgramPipeline(UInt32 pipeline); - internal static ValidateProgramPipeline glValidateProgramPipeline; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ValidateProgramPipelineEXT(UInt32 pipeline); - internal static ValidateProgramPipelineEXT glValidateProgramPipelineEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VariantArrayObjectATI(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset); - internal static VariantArrayObjectATI glVariantArrayObjectATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VariantbvEXT(UInt32 id, SByte* addr); - internal unsafe static VariantbvEXT glVariantbvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VariantdvEXT(UInt32 id, Double* addr); - internal unsafe static VariantdvEXT glVariantdvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VariantfvEXT(UInt32 id, Single* addr); - internal unsafe static VariantfvEXT glVariantfvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VariantivEXT(UInt32 id, Int32* addr); - internal unsafe static VariantivEXT glVariantivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VariantPointerEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, UInt32 stride, IntPtr addr); - internal static VariantPointerEXT glVariantPointerEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VariantsvEXT(UInt32 id, Int16* addr); - internal unsafe static VariantsvEXT glVariantsvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VariantubvEXT(UInt32 id, Byte* addr); - internal unsafe static VariantubvEXT glVariantubvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VariantuivEXT(UInt32 id, UInt32* addr); - internal unsafe static VariantuivEXT glVariantuivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VariantusvEXT(UInt32 id, UInt16* addr); - internal unsafe static VariantusvEXT glVariantusvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VDPAUFiniNV(); - internal static VDPAUFiniNV glVDPAUFiniNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VDPAUGetSurfaceivNV(IntPtr surface, OpenTK.Graphics.OpenGL.NvVdpauInterop pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); - internal unsafe static VDPAUGetSurfaceivNV glVDPAUGetSurfaceivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VDPAUInitNV(IntPtr vdpDevice, IntPtr getProcAddress); - internal static VDPAUInitNV glVDPAUInitNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VDPAUIsSurfaceNV(IntPtr surface); - internal static VDPAUIsSurfaceNV glVDPAUIsSurfaceNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VDPAUMapSurfacesNV(Int32 numSurfaces, IntPtr* surfaces); - internal unsafe static VDPAUMapSurfacesNV glVDPAUMapSurfacesNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate IntPtr VDPAURegisterOutputSurfaceNV(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames); - internal unsafe static VDPAURegisterOutputSurfaceNV glVDPAURegisterOutputSurfaceNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate IntPtr VDPAURegisterVideoSurfaceNV(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames); - internal unsafe static VDPAURegisterVideoSurfaceNV glVDPAURegisterVideoSurfaceNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VDPAUSurfaceAccessNV(IntPtr surface, OpenTK.Graphics.OpenGL.NvVdpauInterop access); - internal static VDPAUSurfaceAccessNV glVDPAUSurfaceAccessNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VDPAUUnmapSurfacesNV(Int32 numSurface, IntPtr* surfaces); - internal unsafe static VDPAUUnmapSurfacesNV glVDPAUUnmapSurfacesNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VDPAUUnregisterSurfaceNV(IntPtr surface); - internal static VDPAUUnregisterSurfaceNV glVDPAUUnregisterSurfaceNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Vertex2bOES(SByte x); - internal static Vertex2bOES glVertex2bOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Vertex2bvOES(SByte* coords); - internal unsafe static Vertex2bvOES glVertex2bvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Vertex2d(Double x, Double y); - internal static Vertex2d glVertex2d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Vertex2dv(Double* v); - internal unsafe static Vertex2dv glVertex2dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Vertex2f(Single x, Single y); - internal static Vertex2f glVertex2f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Vertex2fv(Single* v); - internal unsafe static Vertex2fv glVertex2fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Vertex2hNV(Half x, Half y); - internal static Vertex2hNV glVertex2hNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Vertex2hvNV(Half* v); - internal unsafe static Vertex2hvNV glVertex2hvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Vertex2i(Int32 x, Int32 y); - internal static Vertex2i glVertex2i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Vertex2iv(Int32* v); - internal unsafe static Vertex2iv glVertex2iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Vertex2s(Int16 x, Int16 y); - internal static Vertex2s glVertex2s; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Vertex2sv(Int16* v); - internal unsafe static Vertex2sv glVertex2sv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Vertex2xOES(int x); - internal static Vertex2xOES glVertex2xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Vertex2xvOES(int* coords); - internal unsafe static Vertex2xvOES glVertex2xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Vertex3bOES(SByte x, SByte y); - internal static Vertex3bOES glVertex3bOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Vertex3bvOES(SByte* coords); - internal unsafe static Vertex3bvOES glVertex3bvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Vertex3d(Double x, Double y, Double z); - internal static Vertex3d glVertex3d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Vertex3dv(Double* v); - internal unsafe static Vertex3dv glVertex3dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Vertex3f(Single x, Single y, Single z); - internal static Vertex3f glVertex3f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Vertex3fv(Single* v); - internal unsafe static Vertex3fv glVertex3fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Vertex3hNV(Half x, Half y, Half z); - internal static Vertex3hNV glVertex3hNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Vertex3hvNV(Half* v); - internal unsafe static Vertex3hvNV glVertex3hvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Vertex3i(Int32 x, Int32 y, Int32 z); - internal static Vertex3i glVertex3i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Vertex3iv(Int32* v); - internal unsafe static Vertex3iv glVertex3iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Vertex3s(Int16 x, Int16 y, Int16 z); - internal static Vertex3s glVertex3s; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Vertex3sv(Int16* v); - internal unsafe static Vertex3sv glVertex3sv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Vertex3xOES(int x, int y); - internal static Vertex3xOES glVertex3xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Vertex3xvOES(int* coords); - internal unsafe static Vertex3xvOES glVertex3xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Vertex4bOES(SByte x, SByte y, SByte z); - internal static Vertex4bOES glVertex4bOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Vertex4bvOES(SByte* coords); - internal unsafe static Vertex4bvOES glVertex4bvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Vertex4d(Double x, Double y, Double z, Double w); - internal static Vertex4d glVertex4d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Vertex4dv(Double* v); - internal unsafe static Vertex4dv glVertex4dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Vertex4f(Single x, Single y, Single z, Single w); - internal static Vertex4f glVertex4f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Vertex4fv(Single* v); - internal unsafe static Vertex4fv glVertex4fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Vertex4hNV(Half x, Half y, Half z, Half w); - internal static Vertex4hNV glVertex4hNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Vertex4hvNV(Half* v); - internal unsafe static Vertex4hvNV glVertex4hvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Vertex4i(Int32 x, Int32 y, Int32 z, Int32 w); - internal static Vertex4i glVertex4i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Vertex4iv(Int32* v); - internal unsafe static Vertex4iv glVertex4iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Vertex4s(Int16 x, Int16 y, Int16 z, Int16 w); - internal static Vertex4s glVertex4s; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Vertex4sv(Int16* v); - internal unsafe static Vertex4sv glVertex4sv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Vertex4xOES(int x, int y, int z); - internal static Vertex4xOES glVertex4xOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Vertex4xvOES(int* coords); - internal unsafe static Vertex4xvOES glVertex4xvOES; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexArrayBindVertexBufferEXT(UInt32 vaobj, UInt32 bindingindex, UInt32 buffer, IntPtr offset, Int32 stride); - internal static VertexArrayBindVertexBufferEXT glVertexArrayBindVertexBufferEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexArrayColorOffsetEXT(UInt32 vaobj, UInt32 buffer, Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr offset); - internal static VertexArrayColorOffsetEXT glVertexArrayColorOffsetEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexArrayEdgeFlagOffsetEXT(UInt32 vaobj, UInt32 buffer, Int32 stride, IntPtr offset); - internal static VertexArrayEdgeFlagOffsetEXT glVertexArrayEdgeFlagOffsetEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexArrayFogCoordOffsetEXT(UInt32 vaobj, UInt32 buffer, OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, IntPtr offset); - internal static VertexArrayFogCoordOffsetEXT glVertexArrayFogCoordOffsetEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexArrayIndexOffsetEXT(UInt32 vaobj, UInt32 buffer, OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, IntPtr offset); - internal static VertexArrayIndexOffsetEXT glVertexArrayIndexOffsetEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexArrayMultiTexCoordOffsetEXT(UInt32 vaobj, UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess texunit, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr offset); - internal static VertexArrayMultiTexCoordOffsetEXT glVertexArrayMultiTexCoordOffsetEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexArrayNormalOffsetEXT(UInt32 vaobj, UInt32 buffer, OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr offset); - internal static VertexArrayNormalOffsetEXT glVertexArrayNormalOffsetEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexArrayParameteriAPPLE(OpenTK.Graphics.OpenGL.AppleVertexArrayRange pname, Int32 param); - internal static VertexArrayParameteriAPPLE glVertexArrayParameteriAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexArrayRangeAPPLE(Int32 length, [OutAttribute] IntPtr pointer); - internal static VertexArrayRangeAPPLE glVertexArrayRangeAPPLE; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexArrayRangeNV(Int32 length, IntPtr pointer); - internal static VertexArrayRangeNV glVertexArrayRangeNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexArraySecondaryColorOffsetEXT(UInt32 vaobj, UInt32 buffer, Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr offset); - internal static VertexArraySecondaryColorOffsetEXT glVertexArraySecondaryColorOffsetEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexArrayTexCoordOffsetEXT(UInt32 vaobj, UInt32 buffer, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr offset); - internal static VertexArrayTexCoordOffsetEXT glVertexArrayTexCoordOffsetEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexArrayVertexAttribBindingEXT(UInt32 vaobj, UInt32 attribindex, UInt32 bindingindex); - internal static VertexArrayVertexAttribBindingEXT glVertexArrayVertexAttribBindingEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexArrayVertexAttribDivisorEXT(UInt32 vaobj, UInt32 index, UInt32 divisor); - internal static VertexArrayVertexAttribDivisorEXT glVertexArrayVertexAttribDivisorEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexArrayVertexAttribFormatEXT(UInt32 vaobj, UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, bool normalized, UInt32 relativeoffset); - internal static VertexArrayVertexAttribFormatEXT glVertexArrayVertexAttribFormatEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexArrayVertexAttribIFormatEXT(UInt32 vaobj, UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, UInt32 relativeoffset); - internal static VertexArrayVertexAttribIFormatEXT glVertexArrayVertexAttribIFormatEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexArrayVertexAttribIOffsetEXT(UInt32 vaobj, UInt32 buffer, UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, Int32 stride, IntPtr offset); - internal static VertexArrayVertexAttribIOffsetEXT glVertexArrayVertexAttribIOffsetEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexArrayVertexAttribLFormatEXT(UInt32 vaobj, UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, UInt32 relativeoffset); - internal static VertexArrayVertexAttribLFormatEXT glVertexArrayVertexAttribLFormatEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexArrayVertexAttribLOffsetEXT(UInt32 vaobj, UInt32 buffer, UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, Int32 stride, IntPtr offset); - internal static VertexArrayVertexAttribLOffsetEXT glVertexArrayVertexAttribLOffsetEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexArrayVertexAttribOffsetEXT(UInt32 vaobj, UInt32 buffer, UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr offset); - internal static VertexArrayVertexAttribOffsetEXT glVertexArrayVertexAttribOffsetEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexArrayVertexBindingDivisorEXT(UInt32 vaobj, UInt32 bindingindex, UInt32 divisor); - internal static VertexArrayVertexBindingDivisorEXT glVertexArrayVertexBindingDivisorEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexArrayVertexOffsetEXT(UInt32 vaobj, UInt32 buffer, Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, IntPtr offset); - internal static VertexArrayVertexOffsetEXT glVertexArrayVertexOffsetEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib1d(UInt32 index, Double x); - internal static VertexAttrib1d glVertexAttrib1d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib1dARB(UInt32 index, Double x); - internal static VertexAttrib1dARB glVertexAttrib1dARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib1dNV(UInt32 index, Double x); - internal static VertexAttrib1dNV glVertexAttrib1dNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib1dv(UInt32 index, Double* v); - internal unsafe static VertexAttrib1dv glVertexAttrib1dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib1dvARB(UInt32 index, Double* v); - internal unsafe static VertexAttrib1dvARB glVertexAttrib1dvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib1dvNV(UInt32 index, Double* v); - internal unsafe static VertexAttrib1dvNV glVertexAttrib1dvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib1f(UInt32 index, Single x); - internal static VertexAttrib1f glVertexAttrib1f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib1fARB(UInt32 index, Single x); - internal static VertexAttrib1fARB glVertexAttrib1fARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib1fNV(UInt32 index, Single x); - internal static VertexAttrib1fNV glVertexAttrib1fNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib1fv(UInt32 index, Single* v); - internal unsafe static VertexAttrib1fv glVertexAttrib1fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib1fvARB(UInt32 index, Single* v); - internal unsafe static VertexAttrib1fvARB glVertexAttrib1fvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib1fvNV(UInt32 index, Single* v); - internal unsafe static VertexAttrib1fvNV glVertexAttrib1fvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib1hNV(UInt32 index, Half x); - internal static VertexAttrib1hNV glVertexAttrib1hNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib1hvNV(UInt32 index, Half* v); - internal unsafe static VertexAttrib1hvNV glVertexAttrib1hvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib1s(UInt32 index, Int16 x); - internal static VertexAttrib1s glVertexAttrib1s; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib1sARB(UInt32 index, Int16 x); - internal static VertexAttrib1sARB glVertexAttrib1sARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib1sNV(UInt32 index, Int16 x); - internal static VertexAttrib1sNV glVertexAttrib1sNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib1sv(UInt32 index, Int16* v); - internal unsafe static VertexAttrib1sv glVertexAttrib1sv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib1svARB(UInt32 index, Int16* v); - internal unsafe static VertexAttrib1svARB glVertexAttrib1svARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib1svNV(UInt32 index, Int16* v); - internal unsafe static VertexAttrib1svNV glVertexAttrib1svNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib2d(UInt32 index, Double x, Double y); - internal static VertexAttrib2d glVertexAttrib2d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib2dARB(UInt32 index, Double x, Double y); - internal static VertexAttrib2dARB glVertexAttrib2dARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib2dNV(UInt32 index, Double x, Double y); - internal static VertexAttrib2dNV glVertexAttrib2dNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib2dv(UInt32 index, Double* v); - internal unsafe static VertexAttrib2dv glVertexAttrib2dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib2dvARB(UInt32 index, Double* v); - internal unsafe static VertexAttrib2dvARB glVertexAttrib2dvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib2dvNV(UInt32 index, Double* v); - internal unsafe static VertexAttrib2dvNV glVertexAttrib2dvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib2f(UInt32 index, Single x, Single y); - internal static VertexAttrib2f glVertexAttrib2f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib2fARB(UInt32 index, Single x, Single y); - internal static VertexAttrib2fARB glVertexAttrib2fARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib2fNV(UInt32 index, Single x, Single y); - internal static VertexAttrib2fNV glVertexAttrib2fNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib2fv(UInt32 index, Single* v); - internal unsafe static VertexAttrib2fv glVertexAttrib2fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib2fvARB(UInt32 index, Single* v); - internal unsafe static VertexAttrib2fvARB glVertexAttrib2fvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib2fvNV(UInt32 index, Single* v); - internal unsafe static VertexAttrib2fvNV glVertexAttrib2fvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib2hNV(UInt32 index, Half x, Half y); - internal static VertexAttrib2hNV glVertexAttrib2hNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib2hvNV(UInt32 index, Half* v); - internal unsafe static VertexAttrib2hvNV glVertexAttrib2hvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib2s(UInt32 index, Int16 x, Int16 y); - internal static VertexAttrib2s glVertexAttrib2s; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib2sARB(UInt32 index, Int16 x, Int16 y); - internal static VertexAttrib2sARB glVertexAttrib2sARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib2sNV(UInt32 index, Int16 x, Int16 y); - internal static VertexAttrib2sNV glVertexAttrib2sNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib2sv(UInt32 index, Int16* v); - internal unsafe static VertexAttrib2sv glVertexAttrib2sv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib2svARB(UInt32 index, Int16* v); - internal unsafe static VertexAttrib2svARB glVertexAttrib2svARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib2svNV(UInt32 index, Int16* v); - internal unsafe static VertexAttrib2svNV glVertexAttrib2svNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib3d(UInt32 index, Double x, Double y, Double z); - internal static VertexAttrib3d glVertexAttrib3d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib3dARB(UInt32 index, Double x, Double y, Double z); - internal static VertexAttrib3dARB glVertexAttrib3dARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib3dNV(UInt32 index, Double x, Double y, Double z); - internal static VertexAttrib3dNV glVertexAttrib3dNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib3dv(UInt32 index, Double* v); - internal unsafe static VertexAttrib3dv glVertexAttrib3dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib3dvARB(UInt32 index, Double* v); - internal unsafe static VertexAttrib3dvARB glVertexAttrib3dvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib3dvNV(UInt32 index, Double* v); - internal unsafe static VertexAttrib3dvNV glVertexAttrib3dvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib3f(UInt32 index, Single x, Single y, Single z); - internal static VertexAttrib3f glVertexAttrib3f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib3fARB(UInt32 index, Single x, Single y, Single z); - internal static VertexAttrib3fARB glVertexAttrib3fARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib3fNV(UInt32 index, Single x, Single y, Single z); - internal static VertexAttrib3fNV glVertexAttrib3fNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib3fv(UInt32 index, Single* v); - internal unsafe static VertexAttrib3fv glVertexAttrib3fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib3fvARB(UInt32 index, Single* v); - internal unsafe static VertexAttrib3fvARB glVertexAttrib3fvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib3fvNV(UInt32 index, Single* v); - internal unsafe static VertexAttrib3fvNV glVertexAttrib3fvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib3hNV(UInt32 index, Half x, Half y, Half z); - internal static VertexAttrib3hNV glVertexAttrib3hNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib3hvNV(UInt32 index, Half* v); - internal unsafe static VertexAttrib3hvNV glVertexAttrib3hvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib3s(UInt32 index, Int16 x, Int16 y, Int16 z); - internal static VertexAttrib3s glVertexAttrib3s; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib3sARB(UInt32 index, Int16 x, Int16 y, Int16 z); - internal static VertexAttrib3sARB glVertexAttrib3sARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib3sNV(UInt32 index, Int16 x, Int16 y, Int16 z); - internal static VertexAttrib3sNV glVertexAttrib3sNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib3sv(UInt32 index, Int16* v); - internal unsafe static VertexAttrib3sv glVertexAttrib3sv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib3svARB(UInt32 index, Int16* v); - internal unsafe static VertexAttrib3svARB glVertexAttrib3svARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib3svNV(UInt32 index, Int16* v); - internal unsafe static VertexAttrib3svNV glVertexAttrib3svNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4bv(UInt32 index, SByte* v); - internal unsafe static VertexAttrib4bv glVertexAttrib4bv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4bvARB(UInt32 index, SByte* v); - internal unsafe static VertexAttrib4bvARB glVertexAttrib4bvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib4d(UInt32 index, Double x, Double y, Double z, Double w); - internal static VertexAttrib4d glVertexAttrib4d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib4dARB(UInt32 index, Double x, Double y, Double z, Double w); - internal static VertexAttrib4dARB glVertexAttrib4dARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib4dNV(UInt32 index, Double x, Double y, Double z, Double w); - internal static VertexAttrib4dNV glVertexAttrib4dNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4dv(UInt32 index, Double* v); - internal unsafe static VertexAttrib4dv glVertexAttrib4dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4dvARB(UInt32 index, Double* v); - internal unsafe static VertexAttrib4dvARB glVertexAttrib4dvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4dvNV(UInt32 index, Double* v); - internal unsafe static VertexAttrib4dvNV glVertexAttrib4dvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib4f(UInt32 index, Single x, Single y, Single z, Single w); - internal static VertexAttrib4f glVertexAttrib4f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib4fARB(UInt32 index, Single x, Single y, Single z, Single w); - internal static VertexAttrib4fARB glVertexAttrib4fARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib4fNV(UInt32 index, Single x, Single y, Single z, Single w); - internal static VertexAttrib4fNV glVertexAttrib4fNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4fv(UInt32 index, Single* v); - internal unsafe static VertexAttrib4fv glVertexAttrib4fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4fvARB(UInt32 index, Single* v); - internal unsafe static VertexAttrib4fvARB glVertexAttrib4fvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4fvNV(UInt32 index, Single* v); - internal unsafe static VertexAttrib4fvNV glVertexAttrib4fvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib4hNV(UInt32 index, Half x, Half y, Half z, Half w); - internal static VertexAttrib4hNV glVertexAttrib4hNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4hvNV(UInt32 index, Half* v); - internal unsafe static VertexAttrib4hvNV glVertexAttrib4hvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4iv(UInt32 index, Int32* v); - internal unsafe static VertexAttrib4iv glVertexAttrib4iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4ivARB(UInt32 index, Int32* v); - internal unsafe static VertexAttrib4ivARB glVertexAttrib4ivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4Nbv(UInt32 index, SByte* v); - internal unsafe static VertexAttrib4Nbv glVertexAttrib4Nbv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4NbvARB(UInt32 index, SByte* v); - internal unsafe static VertexAttrib4NbvARB glVertexAttrib4NbvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4Niv(UInt32 index, Int32* v); - internal unsafe static VertexAttrib4Niv glVertexAttrib4Niv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4NivARB(UInt32 index, Int32* v); - internal unsafe static VertexAttrib4NivARB glVertexAttrib4NivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4Nsv(UInt32 index, Int16* v); - internal unsafe static VertexAttrib4Nsv glVertexAttrib4Nsv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4NsvARB(UInt32 index, Int16* v); - internal unsafe static VertexAttrib4NsvARB glVertexAttrib4NsvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib4Nub(UInt32 index, Byte x, Byte y, Byte z, Byte w); - internal static VertexAttrib4Nub glVertexAttrib4Nub; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib4NubARB(UInt32 index, Byte x, Byte y, Byte z, Byte w); - internal static VertexAttrib4NubARB glVertexAttrib4NubARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4Nubv(UInt32 index, Byte* v); - internal unsafe static VertexAttrib4Nubv glVertexAttrib4Nubv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4NubvARB(UInt32 index, Byte* v); - internal unsafe static VertexAttrib4NubvARB glVertexAttrib4NubvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4Nuiv(UInt32 index, UInt32* v); - internal unsafe static VertexAttrib4Nuiv glVertexAttrib4Nuiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4NuivARB(UInt32 index, UInt32* v); - internal unsafe static VertexAttrib4NuivARB glVertexAttrib4NuivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4Nusv(UInt32 index, UInt16* v); - internal unsafe static VertexAttrib4Nusv glVertexAttrib4Nusv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4NusvARB(UInt32 index, UInt16* v); - internal unsafe static VertexAttrib4NusvARB glVertexAttrib4NusvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib4s(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w); - internal static VertexAttrib4s glVertexAttrib4s; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib4sARB(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w); - internal static VertexAttrib4sARB glVertexAttrib4sARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib4sNV(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w); - internal static VertexAttrib4sNV glVertexAttrib4sNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4sv(UInt32 index, Int16* v); - internal unsafe static VertexAttrib4sv glVertexAttrib4sv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4svARB(UInt32 index, Int16* v); - internal unsafe static VertexAttrib4svARB glVertexAttrib4svARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4svNV(UInt32 index, Int16* v); - internal unsafe static VertexAttrib4svNV glVertexAttrib4svNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib4ubNV(UInt32 index, Byte x, Byte y, Byte z, Byte w); - internal static VertexAttrib4ubNV glVertexAttrib4ubNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4ubv(UInt32 index, Byte* v); - internal unsafe static VertexAttrib4ubv glVertexAttrib4ubv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4ubvARB(UInt32 index, Byte* v); - internal unsafe static VertexAttrib4ubvARB glVertexAttrib4ubvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4ubvNV(UInt32 index, Byte* v); - internal unsafe static VertexAttrib4ubvNV glVertexAttrib4ubvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4uiv(UInt32 index, UInt32* v); - internal unsafe static VertexAttrib4uiv glVertexAttrib4uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4uivARB(UInt32 index, UInt32* v); - internal unsafe static VertexAttrib4uivARB glVertexAttrib4uivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4usv(UInt32 index, UInt16* v); - internal unsafe static VertexAttrib4usv glVertexAttrib4usv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4usvARB(UInt32 index, UInt16* v); - internal unsafe static VertexAttrib4usvARB glVertexAttrib4usvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribArrayObjectATI(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, UInt32 buffer, UInt32 offset); - internal static VertexAttribArrayObjectATI glVertexAttribArrayObjectATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribBinding(UInt32 attribindex, UInt32 bindingindex); - internal static VertexAttribBinding glVertexAttribBinding; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribDivisor(UInt32 index, UInt32 divisor); - internal static VertexAttribDivisor glVertexAttribDivisor; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribDivisorARB(UInt32 index, UInt32 divisor); - internal static VertexAttribDivisorARB glVertexAttribDivisorARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribType type, bool normalized, UInt32 relativeoffset); - internal static VertexAttribFormat glVertexAttribFormat; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribFormatNV(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, bool normalized, Int32 stride); - internal static VertexAttribFormatNV glVertexAttribFormatNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribI1i(UInt32 index, Int32 x); - internal static VertexAttribI1i glVertexAttribI1i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribI1iEXT(UInt32 index, Int32 x); - internal static VertexAttribI1iEXT glVertexAttribI1iEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI1iv(UInt32 index, Int32* v); - internal unsafe static VertexAttribI1iv glVertexAttribI1iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI1ivEXT(UInt32 index, Int32* v); - internal unsafe static VertexAttribI1ivEXT glVertexAttribI1ivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribI1ui(UInt32 index, UInt32 x); - internal static VertexAttribI1ui glVertexAttribI1ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribI1uiEXT(UInt32 index, UInt32 x); - internal static VertexAttribI1uiEXT glVertexAttribI1uiEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI1uiv(UInt32 index, UInt32* v); - internal unsafe static VertexAttribI1uiv glVertexAttribI1uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI1uivEXT(UInt32 index, UInt32* v); - internal unsafe static VertexAttribI1uivEXT glVertexAttribI1uivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribI2i(UInt32 index, Int32 x, Int32 y); - internal static VertexAttribI2i glVertexAttribI2i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribI2iEXT(UInt32 index, Int32 x, Int32 y); - internal static VertexAttribI2iEXT glVertexAttribI2iEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI2iv(UInt32 index, Int32* v); - internal unsafe static VertexAttribI2iv glVertexAttribI2iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI2ivEXT(UInt32 index, Int32* v); - internal unsafe static VertexAttribI2ivEXT glVertexAttribI2ivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribI2ui(UInt32 index, UInt32 x, UInt32 y); - internal static VertexAttribI2ui glVertexAttribI2ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribI2uiEXT(UInt32 index, UInt32 x, UInt32 y); - internal static VertexAttribI2uiEXT glVertexAttribI2uiEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI2uiv(UInt32 index, UInt32* v); - internal unsafe static VertexAttribI2uiv glVertexAttribI2uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI2uivEXT(UInt32 index, UInt32* v); - internal unsafe static VertexAttribI2uivEXT glVertexAttribI2uivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribI3i(UInt32 index, Int32 x, Int32 y, Int32 z); - internal static VertexAttribI3i glVertexAttribI3i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribI3iEXT(UInt32 index, Int32 x, Int32 y, Int32 z); - internal static VertexAttribI3iEXT glVertexAttribI3iEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI3iv(UInt32 index, Int32* v); - internal unsafe static VertexAttribI3iv glVertexAttribI3iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI3ivEXT(UInt32 index, Int32* v); - internal unsafe static VertexAttribI3ivEXT glVertexAttribI3ivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribI3ui(UInt32 index, UInt32 x, UInt32 y, UInt32 z); - internal static VertexAttribI3ui glVertexAttribI3ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribI3uiEXT(UInt32 index, UInt32 x, UInt32 y, UInt32 z); - internal static VertexAttribI3uiEXT glVertexAttribI3uiEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI3uiv(UInt32 index, UInt32* v); - internal unsafe static VertexAttribI3uiv glVertexAttribI3uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI3uivEXT(UInt32 index, UInt32* v); - internal unsafe static VertexAttribI3uivEXT glVertexAttribI3uivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI4bv(UInt32 index, SByte* v); - internal unsafe static VertexAttribI4bv glVertexAttribI4bv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI4bvEXT(UInt32 index, SByte* v); - internal unsafe static VertexAttribI4bvEXT glVertexAttribI4bvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribI4i(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); - internal static VertexAttribI4i glVertexAttribI4i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribI4iEXT(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); - internal static VertexAttribI4iEXT glVertexAttribI4iEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI4iv(UInt32 index, Int32* v); - internal unsafe static VertexAttribI4iv glVertexAttribI4iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI4ivEXT(UInt32 index, Int32* v); - internal unsafe static VertexAttribI4ivEXT glVertexAttribI4ivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI4sv(UInt32 index, Int16* v); - internal unsafe static VertexAttribI4sv glVertexAttribI4sv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI4svEXT(UInt32 index, Int16* v); - internal unsafe static VertexAttribI4svEXT glVertexAttribI4svEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI4ubv(UInt32 index, Byte* v); - internal unsafe static VertexAttribI4ubv glVertexAttribI4ubv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI4ubvEXT(UInt32 index, Byte* v); - internal unsafe static VertexAttribI4ubvEXT glVertexAttribI4ubvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribI4ui(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); - internal static VertexAttribI4ui glVertexAttribI4ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribI4uiEXT(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); - internal static VertexAttribI4uiEXT glVertexAttribI4uiEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI4uiv(UInt32 index, UInt32* v); - internal unsafe static VertexAttribI4uiv glVertexAttribI4uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI4uivEXT(UInt32 index, UInt32* v); - internal unsafe static VertexAttribI4uivEXT glVertexAttribI4uivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI4usv(UInt32 index, UInt16* v); - internal unsafe static VertexAttribI4usv glVertexAttribI4usv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI4usvEXT(UInt32 index, UInt16* v); - internal unsafe static VertexAttribI4usvEXT glVertexAttribI4usvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribIFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, UInt32 relativeoffset); - internal static VertexAttribIFormat glVertexAttribIFormat; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribIFormatNV(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); - internal static VertexAttribIFormatNV glVertexAttribIFormatNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, IntPtr pointer); - internal static VertexAttribIPointer glVertexAttribIPointer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribIPointerEXT(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, IntPtr pointer); - internal static VertexAttribIPointerEXT glVertexAttribIPointerEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribL1d(UInt32 index, Double x); - internal static VertexAttribL1d glVertexAttribL1d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribL1dEXT(UInt32 index, Double x); - internal static VertexAttribL1dEXT glVertexAttribL1dEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribL1dv(UInt32 index, Double* v); - internal unsafe static VertexAttribL1dv glVertexAttribL1dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribL1dvEXT(UInt32 index, Double* v); - internal unsafe static VertexAttribL1dvEXT glVertexAttribL1dvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribL1i64NV(UInt32 index, Int64 x); - internal static VertexAttribL1i64NV glVertexAttribL1i64NV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribL1i64vNV(UInt32 index, Int64* v); - internal unsafe static VertexAttribL1i64vNV glVertexAttribL1i64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribL1ui64ARB(UInt32 index, UInt64 x); - internal static VertexAttribL1ui64ARB glVertexAttribL1ui64ARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribL1ui64NV(UInt32 index, UInt64 x); - internal static VertexAttribL1ui64NV glVertexAttribL1ui64NV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribL1ui64vARB(UInt32 index, UInt64* v); - internal unsafe static VertexAttribL1ui64vARB glVertexAttribL1ui64vARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribL1ui64vNV(UInt32 index, UInt64* v); - internal unsafe static VertexAttribL1ui64vNV glVertexAttribL1ui64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribL2d(UInt32 index, Double x, Double y); - internal static VertexAttribL2d glVertexAttribL2d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribL2dEXT(UInt32 index, Double x, Double y); - internal static VertexAttribL2dEXT glVertexAttribL2dEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribL2dv(UInt32 index, Double* v); - internal unsafe static VertexAttribL2dv glVertexAttribL2dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribL2dvEXT(UInt32 index, Double* v); - internal unsafe static VertexAttribL2dvEXT glVertexAttribL2dvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribL2i64NV(UInt32 index, Int64 x, Int64 y); - internal static VertexAttribL2i64NV glVertexAttribL2i64NV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribL2i64vNV(UInt32 index, Int64* v); - internal unsafe static VertexAttribL2i64vNV glVertexAttribL2i64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribL2ui64NV(UInt32 index, UInt64 x, UInt64 y); - internal static VertexAttribL2ui64NV glVertexAttribL2ui64NV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribL2ui64vNV(UInt32 index, UInt64* v); - internal unsafe static VertexAttribL2ui64vNV glVertexAttribL2ui64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribL3d(UInt32 index, Double x, Double y, Double z); - internal static VertexAttribL3d glVertexAttribL3d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribL3dEXT(UInt32 index, Double x, Double y, Double z); - internal static VertexAttribL3dEXT glVertexAttribL3dEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribL3dv(UInt32 index, Double* v); - internal unsafe static VertexAttribL3dv glVertexAttribL3dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribL3dvEXT(UInt32 index, Double* v); - internal unsafe static VertexAttribL3dvEXT glVertexAttribL3dvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribL3i64NV(UInt32 index, Int64 x, Int64 y, Int64 z); - internal static VertexAttribL3i64NV glVertexAttribL3i64NV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribL3i64vNV(UInt32 index, Int64* v); - internal unsafe static VertexAttribL3i64vNV glVertexAttribL3i64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribL3ui64NV(UInt32 index, UInt64 x, UInt64 y, UInt64 z); - internal static VertexAttribL3ui64NV glVertexAttribL3ui64NV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribL3ui64vNV(UInt32 index, UInt64* v); - internal unsafe static VertexAttribL3ui64vNV glVertexAttribL3ui64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribL4d(UInt32 index, Double x, Double y, Double z, Double w); - internal static VertexAttribL4d glVertexAttribL4d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribL4dEXT(UInt32 index, Double x, Double y, Double z, Double w); - internal static VertexAttribL4dEXT glVertexAttribL4dEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribL4dv(UInt32 index, Double* v); - internal unsafe static VertexAttribL4dv glVertexAttribL4dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribL4dvEXT(UInt32 index, Double* v); - internal unsafe static VertexAttribL4dvEXT glVertexAttribL4dvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribL4i64NV(UInt32 index, Int64 x, Int64 y, Int64 z, Int64 w); - internal static VertexAttribL4i64NV glVertexAttribL4i64NV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribL4i64vNV(UInt32 index, Int64* v); - internal unsafe static VertexAttribL4i64vNV glVertexAttribL4i64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribL4ui64NV(UInt32 index, UInt64 x, UInt64 y, UInt64 z, UInt64 w); - internal static VertexAttribL4ui64NV glVertexAttribL4ui64NV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribL4ui64vNV(UInt32 index, UInt64* v); - internal unsafe static VertexAttribL4ui64vNV glVertexAttribL4ui64vNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribLFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, UInt32 relativeoffset); - internal static VertexAttribLFormat glVertexAttribLFormat; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribLFormatNV(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit type, Int32 stride); - internal static VertexAttribLFormatNV glVertexAttribLFormatNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, IntPtr pointer); - internal static VertexAttribLPointer glVertexAttribLPointer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribLPointerEXT(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, IntPtr pointer); - internal static VertexAttribLPointerEXT glVertexAttribLPointerEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribP1ui(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value); - internal static VertexAttribP1ui glVertexAttribP1ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribP1uiv(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value); - internal unsafe static VertexAttribP1uiv glVertexAttribP1uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribP2ui(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value); - internal static VertexAttribP2ui glVertexAttribP2ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribP2uiv(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value); - internal unsafe static VertexAttribP2uiv glVertexAttribP2uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribP3ui(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value); - internal static VertexAttribP3ui glVertexAttribP3ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribP3uiv(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value); - internal unsafe static VertexAttribP3uiv glVertexAttribP3uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribP4ui(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value); - internal static VertexAttribP4ui glVertexAttribP4ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribP4uiv(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value); - internal unsafe static VertexAttribP4uiv glVertexAttribP4uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribParameteriAMD(UInt32 index, OpenTK.Graphics.OpenGL.AmdInterleavedElements pname, Int32 param); - internal static VertexAttribParameteriAMD glVertexAttribParameteriAMD; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer); - internal static VertexAttribPointer glVertexAttribPointer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribPointerARB(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer); - internal static VertexAttribPointerARB glVertexAttribPointerARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribPointerNV(UInt32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, IntPtr pointer); - internal static VertexAttribPointerNV glVertexAttribPointerNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribs1dvNV(UInt32 index, Int32 count, Double* v); - internal unsafe static VertexAttribs1dvNV glVertexAttribs1dvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribs1fvNV(UInt32 index, Int32 count, Single* v); - internal unsafe static VertexAttribs1fvNV glVertexAttribs1fvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribs1hvNV(UInt32 index, Int32 n, Half* v); - internal unsafe static VertexAttribs1hvNV glVertexAttribs1hvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribs1svNV(UInt32 index, Int32 count, Int16* v); - internal unsafe static VertexAttribs1svNV glVertexAttribs1svNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribs2dvNV(UInt32 index, Int32 count, Double* v); - internal unsafe static VertexAttribs2dvNV glVertexAttribs2dvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribs2fvNV(UInt32 index, Int32 count, Single* v); - internal unsafe static VertexAttribs2fvNV glVertexAttribs2fvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribs2hvNV(UInt32 index, Int32 n, Half* v); - internal unsafe static VertexAttribs2hvNV glVertexAttribs2hvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribs2svNV(UInt32 index, Int32 count, Int16* v); - internal unsafe static VertexAttribs2svNV glVertexAttribs2svNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribs3dvNV(UInt32 index, Int32 count, Double* v); - internal unsafe static VertexAttribs3dvNV glVertexAttribs3dvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribs3fvNV(UInt32 index, Int32 count, Single* v); - internal unsafe static VertexAttribs3fvNV glVertexAttribs3fvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribs3hvNV(UInt32 index, Int32 n, Half* v); - internal unsafe static VertexAttribs3hvNV glVertexAttribs3hvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribs3svNV(UInt32 index, Int32 count, Int16* v); - internal unsafe static VertexAttribs3svNV glVertexAttribs3svNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribs4dvNV(UInt32 index, Int32 count, Double* v); - internal unsafe static VertexAttribs4dvNV glVertexAttribs4dvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribs4fvNV(UInt32 index, Int32 count, Single* v); - internal unsafe static VertexAttribs4fvNV glVertexAttribs4fvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribs4hvNV(UInt32 index, Int32 n, Half* v); - internal unsafe static VertexAttribs4hvNV glVertexAttribs4hvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribs4svNV(UInt32 index, Int32 count, Int16* v); - internal unsafe static VertexAttribs4svNV glVertexAttribs4svNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribs4ubvNV(UInt32 index, Int32 count, Byte* v); - internal unsafe static VertexAttribs4ubvNV glVertexAttribs4ubvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexBindingDivisor(UInt32 bindingindex, UInt32 divisor); - internal static VertexBindingDivisor glVertexBindingDivisor; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexBlendARB(Int32 count); - internal static VertexBlendARB glVertexBlendARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexBlendEnvfATI(OpenTK.Graphics.OpenGL.AtiVertexStreams pname, Single param); - internal static VertexBlendEnvfATI glVertexBlendEnvfATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexBlendEnviATI(OpenTK.Graphics.OpenGL.AtiVertexStreams pname, Int32 param); - internal static VertexBlendEnviATI glVertexBlendEnviATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexFormatNV(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); - internal static VertexFormatNV glVertexFormatNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexP2ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 value); - internal static VertexP2ui glVertexP2ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexP2uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* value); - internal unsafe static VertexP2uiv glVertexP2uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexP3ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 value); - internal static VertexP3ui glVertexP3ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexP3uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* value); - internal unsafe static VertexP3uiv glVertexP3uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexP4ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 value); - internal static VertexP4ui glVertexP4ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexP4uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* value); - internal unsafe static VertexP4uiv glVertexP4uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, IntPtr pointer); - internal static VertexPointer glVertexPointer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, Int32 count, IntPtr pointer); - internal static VertexPointerEXT glVertexPointerEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexPointerListIBM(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); - internal static VertexPointerListIBM glVertexPointerListIBM; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexPointervINTEL(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer); - internal static VertexPointervINTEL glVertexPointervINTEL; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexStream1dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x); - internal static VertexStream1dATI glVertexStream1dATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexStream1dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); - internal unsafe static VertexStream1dvATI glVertexStream1dvATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexStream1fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x); - internal static VertexStream1fATI glVertexStream1fATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexStream1fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); - internal unsafe static VertexStream1fvATI glVertexStream1fvATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexStream1iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x); - internal static VertexStream1iATI glVertexStream1iATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexStream1ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); - internal unsafe static VertexStream1ivATI glVertexStream1ivATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexStream1sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x); - internal static VertexStream1sATI glVertexStream1sATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexStream1svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); - internal unsafe static VertexStream1svATI glVertexStream1svATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexStream2dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y); - internal static VertexStream2dATI glVertexStream2dATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexStream2dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); - internal unsafe static VertexStream2dvATI glVertexStream2dvATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexStream2fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y); - internal static VertexStream2fATI glVertexStream2fATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexStream2fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); - internal unsafe static VertexStream2fvATI glVertexStream2fvATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexStream2iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y); - internal static VertexStream2iATI glVertexStream2iATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexStream2ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); - internal unsafe static VertexStream2ivATI glVertexStream2ivATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexStream2sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y); - internal static VertexStream2sATI glVertexStream2sATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexStream2svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); - internal unsafe static VertexStream2svATI glVertexStream2svATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexStream3dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y, Double z); - internal static VertexStream3dATI glVertexStream3dATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexStream3dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); - internal unsafe static VertexStream3dvATI glVertexStream3dvATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexStream3fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y, Single z); - internal static VertexStream3fATI glVertexStream3fATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexStream3fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); - internal unsafe static VertexStream3fvATI glVertexStream3fvATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexStream3iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z); - internal static VertexStream3iATI glVertexStream3iATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexStream3ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); - internal unsafe static VertexStream3ivATI glVertexStream3ivATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexStream3sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z); - internal static VertexStream3sATI glVertexStream3sATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexStream3svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); - internal unsafe static VertexStream3svATI glVertexStream3svATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexStream4dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y, Double z, Double w); - internal static VertexStream4dATI glVertexStream4dATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexStream4dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); - internal unsafe static VertexStream4dvATI glVertexStream4dvATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexStream4fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y, Single z, Single w); - internal static VertexStream4fATI glVertexStream4fATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexStream4fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); - internal unsafe static VertexStream4fvATI glVertexStream4fvATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexStream4iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z, Int32 w); - internal static VertexStream4iATI glVertexStream4iATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexStream4ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); - internal unsafe static VertexStream4ivATI glVertexStream4ivATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexStream4sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z, Int16 w); - internal static VertexStream4sATI glVertexStream4sATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexStream4svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); - internal unsafe static VertexStream4svATI glVertexStream4svATI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexWeightfEXT(Single weight); - internal static VertexWeightfEXT glVertexWeightfEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexWeightfvEXT(Single* weight); - internal unsafe static VertexWeightfvEXT glVertexWeightfvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexWeighthNV(Half weight); - internal static VertexWeighthNV glVertexWeighthNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexWeighthvNV(Half* weight); - internal unsafe static VertexWeighthvNV glVertexWeighthvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexWeightPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.ExtVertexWeighting type, Int32 stride, IntPtr pointer); - internal static VertexWeightPointerEXT glVertexWeightPointerEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate OpenTK.Graphics.OpenGL.NvVideoCapture VideoCaptureNV(UInt32 video_capture_slot, [OutAttribute] UInt32* sequence_num, [OutAttribute] UInt64* capture_time); - internal unsafe static VideoCaptureNV glVideoCaptureNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VideoCaptureStreamParameterdvNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Double* @params); - internal unsafe static VideoCaptureStreamParameterdvNV glVideoCaptureStreamParameterdvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VideoCaptureStreamParameterfvNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Single* @params); - internal unsafe static VideoCaptureStreamParameterfvNV glVideoCaptureStreamParameterfvNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VideoCaptureStreamParameterivNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Int32* @params); - internal unsafe static VideoCaptureStreamParameterivNV glVideoCaptureStreamParameterivNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Viewport(Int32 x, Int32 y, Int32 width, Int32 height); - internal static Viewport glViewport; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ViewportArrayv(UInt32 first, Int32 count, Single* v); - internal unsafe static ViewportArrayv glViewportArrayv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ViewportIndexedf(UInt32 index, Single x, Single y, Single w, Single h); - internal static ViewportIndexedf glViewportIndexedf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ViewportIndexedfv(UInt32 index, Single* v); - internal unsafe static ViewportIndexedfv glViewportIndexedfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate OpenTK.Graphics.OpenGL.WaitSyncStatus WaitSync(IntPtr sync, OpenTK.Graphics.OpenGL.WaitSyncFlags flags, UInt64 timeout); - internal static WaitSync glWaitSync; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WeightbvARB(Int32 size, SByte* weights); - internal unsafe static WeightbvARB glWeightbvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WeightdvARB(Int32 size, Double* weights); - internal unsafe static WeightdvARB glWeightdvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WeightfvARB(Int32 size, Single* weights); - internal unsafe static WeightfvARB glWeightfvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WeightivARB(Int32 size, Int32* weights); - internal unsafe static WeightivARB glWeightivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WeightPathsNV(UInt32 resultPath, Int32 numPaths, UInt32* paths, Single* weights); - internal unsafe static WeightPathsNV glWeightPathsNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WeightPointerARB(Int32 size, OpenTK.Graphics.OpenGL.ArbVertexBlend type, Int32 stride, IntPtr pointer); - internal static WeightPointerARB glWeightPointerARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WeightsvARB(Int32 size, Int16* weights); - internal unsafe static WeightsvARB glWeightsvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WeightubvARB(Int32 size, Byte* weights); - internal unsafe static WeightubvARB glWeightubvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WeightuivARB(Int32 size, UInt32* weights); - internal unsafe static WeightuivARB glWeightuivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WeightusvARB(Int32 size, UInt16* weights); - internal unsafe static WeightusvARB glWeightusvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WindowPos2d(Double x, Double y); - internal static WindowPos2d glWindowPos2d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WindowPos2dARB(Double x, Double y); - internal static WindowPos2dARB glWindowPos2dARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WindowPos2dMESA(Double x, Double y); - internal static WindowPos2dMESA glWindowPos2dMESA; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WindowPos2dv(Double* v); - internal unsafe static WindowPos2dv glWindowPos2dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WindowPos2dvARB(Double* v); - internal unsafe static WindowPos2dvARB glWindowPos2dvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WindowPos2dvMESA(Double* v); - internal unsafe static WindowPos2dvMESA glWindowPos2dvMESA; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WindowPos2f(Single x, Single y); - internal static WindowPos2f glWindowPos2f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WindowPos2fARB(Single x, Single y); - internal static WindowPos2fARB glWindowPos2fARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WindowPos2fMESA(Single x, Single y); - internal static WindowPos2fMESA glWindowPos2fMESA; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WindowPos2fv(Single* v); - internal unsafe static WindowPos2fv glWindowPos2fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WindowPos2fvARB(Single* v); - internal unsafe static WindowPos2fvARB glWindowPos2fvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WindowPos2fvMESA(Single* v); - internal unsafe static WindowPos2fvMESA glWindowPos2fvMESA; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WindowPos2i(Int32 x, Int32 y); - internal static WindowPos2i glWindowPos2i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WindowPos2iARB(Int32 x, Int32 y); - internal static WindowPos2iARB glWindowPos2iARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WindowPos2iMESA(Int32 x, Int32 y); - internal static WindowPos2iMESA glWindowPos2iMESA; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WindowPos2iv(Int32* v); - internal unsafe static WindowPos2iv glWindowPos2iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WindowPos2ivARB(Int32* v); - internal unsafe static WindowPos2ivARB glWindowPos2ivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WindowPos2ivMESA(Int32* v); - internal unsafe static WindowPos2ivMESA glWindowPos2ivMESA; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WindowPos2s(Int16 x, Int16 y); - internal static WindowPos2s glWindowPos2s; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WindowPos2sARB(Int16 x, Int16 y); - internal static WindowPos2sARB glWindowPos2sARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WindowPos2sMESA(Int16 x, Int16 y); - internal static WindowPos2sMESA glWindowPos2sMESA; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WindowPos2sv(Int16* v); - internal unsafe static WindowPos2sv glWindowPos2sv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WindowPos2svARB(Int16* v); - internal unsafe static WindowPos2svARB glWindowPos2svARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WindowPos2svMESA(Int16* v); - internal unsafe static WindowPos2svMESA glWindowPos2svMESA; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WindowPos3d(Double x, Double y, Double z); - internal static WindowPos3d glWindowPos3d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WindowPos3dARB(Double x, Double y, Double z); - internal static WindowPos3dARB glWindowPos3dARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WindowPos3dMESA(Double x, Double y, Double z); - internal static WindowPos3dMESA glWindowPos3dMESA; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WindowPos3dv(Double* v); - internal unsafe static WindowPos3dv glWindowPos3dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WindowPos3dvARB(Double* v); - internal unsafe static WindowPos3dvARB glWindowPos3dvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WindowPos3dvMESA(Double* v); - internal unsafe static WindowPos3dvMESA glWindowPos3dvMESA; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WindowPos3f(Single x, Single y, Single z); - internal static WindowPos3f glWindowPos3f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WindowPos3fARB(Single x, Single y, Single z); - internal static WindowPos3fARB glWindowPos3fARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WindowPos3fMESA(Single x, Single y, Single z); - internal static WindowPos3fMESA glWindowPos3fMESA; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WindowPos3fv(Single* v); - internal unsafe static WindowPos3fv glWindowPos3fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WindowPos3fvARB(Single* v); - internal unsafe static WindowPos3fvARB glWindowPos3fvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WindowPos3fvMESA(Single* v); - internal unsafe static WindowPos3fvMESA glWindowPos3fvMESA; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WindowPos3i(Int32 x, Int32 y, Int32 z); - internal static WindowPos3i glWindowPos3i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WindowPos3iARB(Int32 x, Int32 y, Int32 z); - internal static WindowPos3iARB glWindowPos3iARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WindowPos3iMESA(Int32 x, Int32 y, Int32 z); - internal static WindowPos3iMESA glWindowPos3iMESA; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WindowPos3iv(Int32* v); - internal unsafe static WindowPos3iv glWindowPos3iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WindowPos3ivARB(Int32* v); - internal unsafe static WindowPos3ivARB glWindowPos3ivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WindowPos3ivMESA(Int32* v); - internal unsafe static WindowPos3ivMESA glWindowPos3ivMESA; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WindowPos3s(Int16 x, Int16 y, Int16 z); - internal static WindowPos3s glWindowPos3s; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WindowPos3sARB(Int16 x, Int16 y, Int16 z); - internal static WindowPos3sARB glWindowPos3sARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WindowPos3sMESA(Int16 x, Int16 y, Int16 z); - internal static WindowPos3sMESA glWindowPos3sMESA; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WindowPos3sv(Int16* v); - internal unsafe static WindowPos3sv glWindowPos3sv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WindowPos3svARB(Int16* v); - internal unsafe static WindowPos3svARB glWindowPos3svARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WindowPos3svMESA(Int16* v); - internal unsafe static WindowPos3svMESA glWindowPos3svMESA; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WindowPos4dMESA(Double x, Double y, Double z, Double w); - internal static WindowPos4dMESA glWindowPos4dMESA; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WindowPos4dvMESA(Double* v); - internal unsafe static WindowPos4dvMESA glWindowPos4dvMESA; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WindowPos4fMESA(Single x, Single y, Single z, Single w); - internal static WindowPos4fMESA glWindowPos4fMESA; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WindowPos4fvMESA(Single* v); - internal unsafe static WindowPos4fvMESA glWindowPos4fvMESA; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WindowPos4iMESA(Int32 x, Int32 y, Int32 z, Int32 w); - internal static WindowPos4iMESA glWindowPos4iMESA; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WindowPos4ivMESA(Int32* v); - internal unsafe static WindowPos4ivMESA glWindowPos4ivMESA; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WindowPos4sMESA(Int16 x, Int16 y, Int16 z, Int16 w); - internal static WindowPos4sMESA glWindowPos4sMESA; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void WindowPos4svMESA(Int16* v); - internal unsafe static WindowPos4svMESA glWindowPos4svMESA; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WriteMaskEXT(UInt32 res, UInt32 @in, OpenTK.Graphics.OpenGL.ExtVertexShader outX, OpenTK.Graphics.OpenGL.ExtVertexShader outY, OpenTK.Graphics.OpenGL.ExtVertexShader outZ, OpenTK.Graphics.OpenGL.ExtVertexShader outW); - internal static WriteMaskEXT glWriteMaskEXT; - } - } -} diff --git a/Source/OpenTK/Graphics/OpenGL/GLHelper.cs b/Source/OpenTK/Graphics/OpenGL/GLHelper.cs index 789db93d..15991a5a 100644 --- a/Source/OpenTK/Graphics/OpenGL/GLHelper.cs +++ b/Source/OpenTK/Graphics/OpenGL/GLHelper.cs @@ -1,11 +1,31 @@ -#region --- License --- -/* Copyright (c) 2006-2008 the OpenTK team. - * See license.txt for license info - * - * Contributions by Andy Gill. - */ +#region License +// +// The Open Toolkit Library License +// +// Copyright (c) 2006 - 2013 Stefanos Apostolopoulos for the Open Toolkit Library +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do +// so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +// OTHER DEALINGS IN THE SOFTWARE. +// #endregion + #region --- Using Directives --- using System; @@ -58,12 +78,20 @@ namespace OpenTK.Graphics.OpenGL static SortedList AvailableExtensions = new SortedList(); static readonly object sync_root = new object(); + static IntPtr[] EntryPoints; + static string[] EntryPointNames; + #endregion - #region --- Constructor --- + #region Constructors - static GL() + /// + /// Constructs a new instance. + /// + public GL() { + EntryPointsInstance = EntryPoints; + EntryPointNamesInstance = EntryPointNames; } #endregion @@ -1106,28 +1134,24 @@ namespace OpenTK.Graphics.OpenGL #region Obsolete - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glDisableClientState")] [Obsolete("Use DisableClientState(ArrayCap) instead")] public static void DisableClientState(OpenTK.Graphics.OpenGL.EnableCap array) { DisableClientState((ArrayCap)array); } - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEnableClientState")] [Obsolete("Use EnableClientState(ArrayCap) instead.")] public static void EnableClientState(OpenTK.Graphics.OpenGL.EnableCap array) { EnableClientState((ArrayCap)array); } - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] [Obsolete("Use GetActiveUniforms(..., ActiveUniformParameter, ...) instead.")] public static void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32[] uniformIndices, ArbUniformBufferObject pname, [OutAttribute] Int32[] @params) { GetActiveUniforms(program, uniformCount, uniformIndices, (ActiveUniformParameter)pname, @params); } - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] [Obsolete("Use GetActiveUniforms(..., ActiveUniformParameter, ...) instead.")] public static void GetActiveUniforms(Int32 program, Int32 uniformCount, ref Int32 uniformIndices, ArbUniformBufferObject pname, [OutAttribute] out Int32 @params) { @@ -1135,7 +1159,6 @@ namespace OpenTK.Graphics.OpenGL } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] [Obsolete("Use GetActiveUniforms(..., ActiveUniformParameter, ...) instead.")] public static unsafe void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32* uniformIndices, ArbUniformBufferObject pname, [OutAttribute] Int32* @params) { @@ -1143,7 +1166,6 @@ namespace OpenTK.Graphics.OpenGL } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] [Obsolete("Use GetActiveUniforms(..., ActiveUniformParameter, ...) instead.")] public static void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32[] uniformIndices, ArbUniformBufferObject pname, [OutAttribute] Int32[] @params) { @@ -1151,7 +1173,6 @@ namespace OpenTK.Graphics.OpenGL } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] [Obsolete("Use GetActiveUniforms(..., ActiveUniformParameter, ...) instead.")] public static void GetActiveUniforms(UInt32 program, Int32 uniformCount, ref UInt32 uniformIndices, ArbUniformBufferObject pname, [OutAttribute] out Int32 @params) { @@ -1159,7 +1180,6 @@ namespace OpenTK.Graphics.OpenGL } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] [Obsolete("Use GetActiveUniforms(..., ActiveUniformParameter, ...) instead.")] public static unsafe void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, ArbUniformBufferObject pname, [OutAttribute] Int32* @params) { @@ -1205,14 +1225,12 @@ namespace OpenTK.Graphics.OpenGL public static partial class Arb { - [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glProgramParameteriARB")] [Obsolete("Use ProgramParameter(..., AssemblyProgramParameterArb, ...) instead.")] public static void ProgramParameter(Int32 program, ArbGeometryShader4 pname, Int32 value) { ProgramParameter(program, (AssemblyProgramParameterArb)pname, value); } - [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glProgramParameteriARB")] [Obsolete("Use ProgramParameter(..., AssemblyProgramParameterArb, ...) instead.")] [CLSCompliant(false)] public static void ProgramParameter(UInt32 program, ArbGeometryShader4 pname, Int32 value) @@ -1223,14 +1241,12 @@ namespace OpenTK.Graphics.OpenGL public static partial class Ext { - [AutoGenerated(Category = "EXT_geometry_shader4", Version = "2.0", EntryPoint = "glProgramParameteriEXT")] [Obsolete("Use ProgramParameter(..., AssemblyProgramParameterArb, ...) instead.")] public static void ProgramParameter(Int32 program, ExtGeometryShader4 pname, Int32 value) { ProgramParameter(program, (AssemblyProgramParameterArb)pname, value); } - [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glProgramParameteriARB")] [Obsolete("Use ProgramParameter(..., AssemblyProgramParameterArb, ...) instead.")] [CLSCompliant(false)] public static void ProgramParameter(UInt32 program, ExtGeometryShader4 pname, Int32 value) diff --git a/Source/OpenTK/Graphics/OpenGL/GLObsolete.cs b/Source/OpenTK/Graphics/OpenGL/GLObsolete.cs index 08778500..3edd10bd 100644 --- a/Source/OpenTK/Graphics/OpenGL/GLObsolete.cs +++ b/Source/OpenTK/Graphics/OpenGL/GLObsolete.cs @@ -1,5095 +1,2820 @@ +#region License +// +// The Open Toolkit Library License +// +// Copyright (c) 2006 - 2013 Stefanos Apostolopoulos for the Open Toolkit Library +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do +// so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +// OTHER DEALINGS IN THE SOFTWARE. +// +#endregion + using System; using System.Runtime.InteropServices; namespace OpenTK.Graphics.OpenGL { - partial class GL + #pragma warning disable 626 + #pragma warning disable 1591 + + partial class GL { - /// - /// Returns the handles of the shader objects attached to a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the size of the array for storing the returned object names. - /// - /// - /// - /// - /// Returns the number of names actually returned in objects. - /// - /// - /// - /// - /// Specifies an array that is used to return the names of attached shader objects. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - [Obsolete("Use GetAttachedShaders out/array overload instead")] - public static - unsafe void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] Int32[] obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Int32* obj_ptr = obj) - { - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr); - } - #if DEBUG - } - #endif - } - - /// - /// Returns the handles of the shader objects attached to a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the size of the array for storing the returned object names. - /// - /// - /// - /// - /// Returns the number of names actually returned in objects. - /// - /// - /// - /// - /// Specifies an array that is used to return the names of attached shader objects. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - [Obsolete("Use GetAttachedShaders out/array overload instead")] - public static - unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32[] obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (UInt32* obj_ptr = obj) - { - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr); - } - #if DEBUG - } - #endif - } - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - [Obsolete("Use GetSeparableFilter overload instead")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] T5[] span) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - [Obsolete("Use GetSeparableFilter overload instead")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] T5[,] span) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - [Obsolete("Use GetSeparableFilter overload instead")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] T5[,,] span) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - [Obsolete("Use GetSeparableFilter overload instead")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] ref T5 span) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); - span = (T5)span_ptr.Target; - } - finally - { - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - [Obsolete("Use GetSeparableFilter overload instead")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [InAttribute, OutAttribute] T4[] column, [InAttribute, OutAttribute] T5[,,] span) - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - [Obsolete("Use GetSeparableFilter overload instead")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [InAttribute, OutAttribute] T4[,] column, [InAttribute, OutAttribute] T5[,,] span) - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - [Obsolete("Use GetSeparableFilter overload instead")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - [Obsolete("Use GetSeparableFilter overload instead")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [InAttribute, OutAttribute] ref T4 column, [InAttribute, OutAttribute] T5[,,] span) - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - column = (T4)column_ptr.Target; - } - finally - { - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - [Obsolete("Use GetSeparableFilter overload with equal array dimensions instead")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) - where T3 : struct - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - [Obsolete("Use GetSeparableFilter overload with equal array dimensions instead")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) - where T3 : struct - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - [Obsolete("Use GetSeparableFilter with three ref arguments instead")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) - where T3 : struct - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - row = (T3)row_ptr.Target; - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glGetSynciv")] - [Obsolete("Use out/array overload instead")] - public static - unsafe void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL.ArbSync pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Int32* values_ptr = values) - { - Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.OpenGL.SyncParameterName)pname, (Int32)bufSize, (Int32*)length, (Int32*)values_ptr); - } - #if DEBUG - } - #endif - } - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] - [Obsolete("Use overload with equal array dimensions instead")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, [InAttribute, OutAttribute] T7[] column) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2D((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] - [Obsolete("Use overload with equal array dimensions instead")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, [InAttribute, OutAttribute] T7[,] column) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2D((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] - [Obsolete("Use overload with equal array dimensions instead")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, [InAttribute, OutAttribute] T7[,,] column) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2D((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] - [Obsolete("Use overload with equal array dimensions instead")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, [InAttribute, OutAttribute] ref T7 column) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2D((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); - column = (T7)column_ptr.Target; - } - finally - { - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] - [Obsolete("Use overload with equal array dimensions instead")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] row, [InAttribute, OutAttribute] T7[,,] column) - where T6 : struct - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2D((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] - [Obsolete("Use overload with equal array dimensions instead")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] row, [InAttribute, OutAttribute] T7[,,] column) - where T6 : struct - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2D((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] - [Obsolete("Use overload with equal array dimensions instead")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 row, [InAttribute, OutAttribute] T7[,,] column) - where T6 : struct - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2D((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); - row = (T6)row_ptr.Target; - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - partial class Amd - { - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - [Obsolete("Use ref/array overloads instead")] - public static - unsafe void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] Int32[] data, [OutAttribute] Int32* bytesWritten) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Int32* data_ptr = data) - { - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - [Obsolete("Use ref/array overloads instead")] - public static - unsafe void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] UInt32[] data, [OutAttribute] Int32* bytesWritten) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (UInt32* data_ptr = data) - { - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - [Obsolete("Use ref/array overloads instead")] - public static - unsafe void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] UInt32[] data, [OutAttribute] Int32* bytesWritten) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (UInt32* data_ptr = data) - { - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] - [Obsolete("Use ref/array overloads instead")] - public static - unsafe void GetPerfMonitorCounters(Int32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] Int32[] counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Int32* counters_ptr = counters) - { - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] - [Obsolete("Use ref/array overloads instead")] - public static - unsafe void GetPerfMonitorCounters(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32[] counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (UInt32* counters_ptr = counters) - { - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters_ptr); - } - #if DEBUG - } - #endif - } - - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] - [Obsolete("Use GetPerfMonitorGroups instead")] - public static - void GetPerfMonitorGroup([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] out Int32 groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* numGroups_ptr = &numGroups) - fixed (Int32* groups_ptr = &groups) - { - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr); - numGroups = *numGroups_ptr; - groups = *groups_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] - [Obsolete("Use GetPerfMonitorGroups instead")] - public static - void GetPerfMonitorGroup([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] out UInt32 groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* numGroups_ptr = &numGroups) - fixed (UInt32* groups_ptr = &groups) - { - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr); - numGroups = *numGroups_ptr; - groups = *groups_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] - [Obsolete("Use GetPerfMonitorGroups instead")] - public static - unsafe void GetPerfMonitorGroup([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] Int32[] groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Int32* groups_ptr = groups) - { - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] - [Obsolete("Use GetPerfMonitorGroups instead")] - public static - unsafe void GetPerfMonitorGroup([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] Int32* groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] - [Obsolete("Use GetPerfMonitorGroups instead")] - public static - unsafe void GetPerfMonitorGroup([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32[] groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (UInt32* groups_ptr = groups) - { - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] - [Obsolete("Use GetPerfMonitorGroups instead")] - public static - unsafe void GetPerfMonitorGroup([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups); - #if DEBUG - } - #endif - } - } - - partial class Arb - { - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")] - [Obsolete("Use ref/array overloads instead")] - public static - unsafe void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] Int32[] obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Int32* obj_ptr = obj) - { - Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")] - [Obsolete("Use ref/array overloads instead")] - public static - unsafe void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32[] obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (UInt32* obj_ptr = obj) - { - Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr); - } - #if DEBUG - } - #endif - } - } - - partial class Ati - { - [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glPassTexCoordATI")] - [Obsolete("Use PassTexCoord instead")] - public static - void PassTexCoor(Int32 dst, Int32 coord, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPassTexCoordATI((UInt32)dst, (UInt32)coord, (OpenTK.Graphics.OpenGL.AtiFragmentShader)swizzle); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glPassTexCoordATI")] - [Obsolete("Use PassTexCoord instead")] - public static - void PassTexCoor(UInt32 dst, UInt32 coord, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPassTexCoordATI((UInt32)dst, (UInt32)coord, (OpenTK.Graphics.OpenGL.AtiFragmentShader)swizzle); - #if DEBUG - } - #endif - } - } - - partial class Ext - { - [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] - [Obsolete("Use GetQueryObject overload instead")] - public static - void GetQueryObjecti64(Int32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] - [Obsolete("Use GetQueryObject overload instead")] - public static - void GetQueryObjecti64(Int32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] - [Obsolete("Use GetQueryObject overload instead")] - public static - unsafe void GetQueryObjecti64(Int32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (Int64*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] - [Obsolete("Use GetQueryObject overload instead")] - public static - void GetQueryObjecti64(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] - [Obsolete("Use GetQueryObject overload instead")] - public static - void GetQueryObjecti64(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] - [Obsolete("Use GetQueryObject overload instead")] - public static - unsafe void GetQueryObjecti64(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (Int64*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] - [Obsolete("Use GetQueryObject overload instead")] - public static - void GetQueryObjectui64(Int32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (UInt64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] - [Obsolete("Use GetQueryObject overload instead")] - public static - void GetQueryObjectui64(Int32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (UInt64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] - [Obsolete("Use GetQueryObject overload instead")] - public static - unsafe void GetQueryObjectui64(Int32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (UInt64*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] - [Obsolete("Use GetQueryObject overload instead")] - public static - void GetQueryObjectui64(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] UInt64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = @params) - { - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (UInt64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] - [Obsolete("Use GetQueryObject overload instead")] - public static - void GetQueryObjectui64(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] out UInt64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = &@params) - { - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (UInt64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] - [Obsolete("Use GetQueryObject overload instead")] - public static - unsafe void GetQueryObjectui64(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] UInt64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (UInt64*)@params); - #if DEBUG - } - #endif - } - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - [Obsolete("Use GetSeparableFilter overloads instead")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] T5[] span) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - [Obsolete("Use GetSeparableFilter(SeparableTargetExt) overloads instead")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] IntPtr span) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span); - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - [Obsolete("Use GetSeparableFilter overloads instead")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] T5[,] span) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - [Obsolete("Use GetSeparableFilter overloads instead")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] T5[,,] span) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - [Obsolete("Use GetSeparableFilter overloads instead")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] ref T5 span) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); - span = (T5)span_ptr.Target; - } - finally - { - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - [Obsolete("Use GetSeparableFilter overloads instead")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [InAttribute, OutAttribute] T4[] column, [InAttribute, OutAttribute] T5[,,] span) - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - [Obsolete("Use GetSeparableFilter overloads instead")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [InAttribute, OutAttribute] T4[,] column, [InAttribute, OutAttribute] T5[,,] span) - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - [Obsolete("Use GetSeparableFilter overloads instead")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - [Obsolete("Use GetSeparableFilter overloads instead")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [InAttribute, OutAttribute] ref T4 column, [InAttribute, OutAttribute] T5[,,] span) - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - column = (T4)column_ptr.Target; - } - finally - { - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - [Obsolete("Use ref/array overloads instead")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) - where T3 : struct - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - [Obsolete("Use ref/array overloads instead")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) - where T3 : struct - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - [Obsolete("Use SeparableTargetExt overloads instead")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 row, [InAttribute, OutAttribute] ref T4 column, [InAttribute, OutAttribute] ref T5 span) - where T3 : struct - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - [Obsolete("Use SeparableTargetExt overloads instead")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] row, [InAttribute, OutAttribute] T4[] column, [InAttribute, OutAttribute] T5[] span) - where T3 : struct - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - [Obsolete("Use SeparableTargetExt overloads instead")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] row, [InAttribute, OutAttribute] T4[,] column, [InAttribute, OutAttribute] T5[,] span) - where T3 : struct - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - [Obsolete("Use SeparableTargetExt overloads instead")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,,] row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) - where T3 : struct - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - [Obsolete("Use ref/array overloads instead")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) - where T3 : struct - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] - [Obsolete("Use SeparableFilter2D overloads instead")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, [InAttribute, OutAttribute] T7[] column) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] - [Obsolete("Use SeparableFilter2D overloads instead")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, [InAttribute, OutAttribute] T7[,] column) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] - [Obsolete("Use SeparableFilter2D overloads instead")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, [InAttribute, OutAttribute] T7[,,] column) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] - [Obsolete("Use SeparableFilter2D overloads instead")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, [InAttribute, OutAttribute] ref T7 column) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); - column = (T7)column_ptr.Target; - } - finally - { - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] - [Obsolete("Use ref/array overloads instead")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] IntPtr row, [InAttribute, OutAttribute] IntPtr column) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column); - #if DEBUG - } - #endif - } - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] - [Obsolete("Use ref/array overloads instead")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] row, [InAttribute, OutAttribute] T7[] column) - where T6 : struct - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] - [Obsolete("Use ref/array overloads instead")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 row, [InAttribute, OutAttribute] ref T7 column) - where T6 : struct - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] - [Obsolete("Use ref/array overloads instead")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] row, [InAttribute, OutAttribute] T7[,] column) - where T6 : struct - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] - [Obsolete("Use ref/array overloads instead")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,,] row, [InAttribute, OutAttribute] T7[,,] column) - where T6 : struct - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] - [Obsolete("Use ref/array overloads instead")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 row, [InAttribute, OutAttribute] T7[,,] column) - where T6 : struct - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] - [Obsolete("Use ref/array overloads instead")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] row, [InAttribute, OutAttribute] T7[,,] column) - where T6 : struct - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] - [Obsolete("Use ref/array overloads instead")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] row, [InAttribute, OutAttribute] T7[,,] column) - where T6 : struct - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - } - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] - [Obsolete("Use ref/array overloads instead")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 row, [InAttribute, OutAttribute] T7[,,] column) - where T6 : struct - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); - row = (T6)row_ptr.Target; - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - partial class Ibm - { - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawArraysIBM")] - [Obsolete("Use PrimitiveType overload instead")] - public static - void MultiModeDrawArrays(OpenTK.Graphics.OpenGL.BeginMode[] mode, Int32[] first, Int32[] count, Int32 primcount, Int32 modestride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.BeginMode* mode_ptr = mode) - fixed (Int32* first_ptr = first) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiModeDrawArraysIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode_ptr, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawArraysIBM")] - [Obsolete("Use PrimitiveType overload instead")] - public static - void MultiModeDrawArrays(ref OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 first, ref Int32 count, Int32 primcount, Int32 modestride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.BeginMode* mode_ptr = &mode) - fixed (Int32* first_ptr = &first) - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiModeDrawArraysIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode_ptr, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawArraysIBM")] - [Obsolete("Use PrimitiveType overload instead")] - public static - unsafe void MultiModeDrawArrays(OpenTK.Graphics.OpenGL.BeginMode* mode, Int32* first, Int32* count, Int32 primcount, Int32 modestride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiModeDrawArraysIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode, (Int32*)first, (Int32*)count, (Int32)primcount, (Int32)modestride); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - [Obsolete("Use PrimitiveType overload instead")] - public static - void MultiModeDrawElements(OpenTK.Graphics.OpenGL.BeginMode[] mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.BeginMode* mode_ptr = mode) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - [Obsolete("Use PrimitiveType overload instead")] - public static - void MultiModeDrawElements(OpenTK.Graphics.OpenGL.BeginMode[] mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount, Int32 modestride) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.BeginMode* mode_ptr = mode) - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - [Obsolete("Use PrimitiveType overload instead")] - public static - void MultiModeDrawElements(OpenTK.Graphics.OpenGL.BeginMode[] mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount, Int32 modestride) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.BeginMode* mode_ptr = mode) - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - [Obsolete("Use PrimitiveType overload instead")] - public static - void MultiModeDrawElements(OpenTK.Graphics.OpenGL.BeginMode[] mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount, Int32 modestride) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.BeginMode* mode_ptr = mode) - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - [Obsolete("Use PrimitiveType overload instead")] - public static - void MultiModeDrawElements(OpenTK.Graphics.OpenGL.BeginMode[] mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount, Int32 modestride) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.BeginMode* mode_ptr = mode) - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - [Obsolete("Use PrimitiveType overload instead")] - public static - void MultiModeDrawElements(ref OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.BeginMode* mode_ptr = &mode) - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - [Obsolete("Use PrimitiveType overload instead")] - public static - void MultiModeDrawElements(ref OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount, Int32 modestride) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.BeginMode* mode_ptr = &mode) - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - [Obsolete("Use PrimitiveType overload instead")] - public static - void MultiModeDrawElements(ref OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount, Int32 modestride) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.BeginMode* mode_ptr = &mode) - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - [Obsolete("Use PrimitiveType overload instead")] - public static - void MultiModeDrawElements(ref OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount, Int32 modestride) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.BeginMode* mode_ptr = &mode) - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - [Obsolete("Use PrimitiveType overload instead")] - public static - void MultiModeDrawElements(ref OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount, Int32 modestride) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL.BeginMode* mode_ptr = &mode) - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - [Obsolete("Use PrimitiveType overload instead")] - public static - unsafe void MultiModeDrawElements(OpenTK.Graphics.OpenGL.BeginMode* mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - [Obsolete("Use PrimitiveType overload instead")] - public static - unsafe void MultiModeDrawElements(OpenTK.Graphics.OpenGL.BeginMode* mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount, Int32 modestride) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - [Obsolete("Use PrimitiveType overload instead")] - public static - unsafe void MultiModeDrawElements(OpenTK.Graphics.OpenGL.BeginMode* mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount, Int32 modestride) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - [Obsolete("Use PrimitiveType overload instead")] - public static - unsafe void MultiModeDrawElements(OpenTK.Graphics.OpenGL.BeginMode* mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount, Int32 modestride) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - [Obsolete("Use PrimitiveType overload instead")] - public static - unsafe void MultiModeDrawElements(OpenTK.Graphics.OpenGL.BeginMode* mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount, Int32 modestride) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - } - - partial class NV - { - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] - [Obsolete("Use DeleteTransformFeedbacks overload instead")] - public static - void DeleteTransformFeedback(Int32 n, Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] - [Obsolete("Use DeleteTransformFeedbacks overload instead")] - public static - void DeleteTransformFeedback(Int32 n, ref Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] - [Obsolete("Use DeleteTransformFeedbacks overload instead")] - public static - unsafe void DeleteTransformFeedback(Int32 n, Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] - [Obsolete("Use DeleteTransformFeedbacks overload instead")] - public static - void DeleteTransformFeedback(Int32 n, UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] - [Obsolete("Use DeleteTransformFeedbacks overload instead")] - public static - void DeleteTransformFeedback(Int32 n, ref UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] - [Obsolete("Use DeleteTransformFeedbacks overload instead")] - public static - unsafe void DeleteTransformFeedback(Int32 n, UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } - - - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] - [Obsolete("Use GenTransformFeedbacks overload instead")] - public static - void GenTransformFeedback(Int32 n, [OutAttribute] Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] - [Obsolete("Use GenTransformFeedbacks overload instead")] - public static - void GenTransformFeedback(Int32 n, [OutAttribute] out Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] - [Obsolete("Use GenTransformFeedbacks overload instead")] - public static - unsafe void GenTransformFeedback(Int32 n, [OutAttribute] Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] - [Obsolete("Use GenTransformFeedbacks overload instead")] - public static - void GenTransformFeedback(Int32 n, [OutAttribute] UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] - [Obsolete("Use GenTransformFeedbacks overload instead")] - public static - void GenTransformFeedback(Int32 n, [OutAttribute] out UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] - [Obsolete("Use GenTransformFeedbacks overload instead")] - public static - unsafe void GenTransformFeedback(Int32 n, [OutAttribute] UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] - [Obsolete("Use ref/array overload instead")] - public static - unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Double* @params_ptr = @params) - { - Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] - [Obsolete("Use ref/array overload instead")] - public static - unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Double* @params_ptr = @params) - { - Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterfvNV")] - [Obsolete("Use ref/array overload instead")] - public static - unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* @params_ptr = @params) - { - Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterfvNV")] - [Obsolete("Use ref/array overload instead")] - public static - unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* @params_ptr = @params) - { - Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params_ptr); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] - [Obsolete("Use GetVideo overload instead")] - public static - void GetVideoi64(Int32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] - [Obsolete("Use GetVideo overload instead")] - public static - void GetVideoi64(Int32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] - [Obsolete("Use GetVideo overload instead")] - public static - unsafe void GetVideoi64(Int32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (Int64*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] - [Obsolete("Use GetVideo overload instead")] - public static - void GetVideoi64(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] - [Obsolete("Use GetVideo overload instead")] - public static - void GetVideoi64(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] - [Obsolete("Use GetVideo overload instead")] - public static - unsafe void GetVideoi64(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (Int64*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] - [Obsolete("Use GetVideo overload instead")] - public static - void GetVideoui64(Int32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetVideoui64vNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (UInt64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] - [Obsolete("Use GetVideo overload instead")] - public static - void GetVideoui64(Int32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetVideoui64vNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (UInt64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] - [Obsolete("Use GetVideo overload instead")] - public static - unsafe void GetVideoui64(Int32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVideoui64vNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (UInt64*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] - [Obsolete("Use GetVideo overload instead")] - public static - void GetVideoui64(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] UInt64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = @params) - { - Delegates.glGetVideoui64vNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (UInt64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] - [Obsolete("Use GetVideo overload instead")] - public static - void GetVideoui64(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] out UInt64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = &@params) - { - Delegates.glGetVideoui64vNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (UInt64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] - [Obsolete("Use GetVideo overload instead")] - public static - unsafe void GetVideoui64(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] UInt64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVideoui64vNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (UInt64*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] - [Obsolete("Use ref/array overload instead")] - public static - unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Double* v_ptr = v) - { - Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] - [Obsolete("Use ref/array overload instead")] - public static - unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Double* v_ptr = v) - { - Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fvNV")] - [Obsolete("Use ref/array overload instead")] - public static - unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* v_ptr = v) - { - Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fvNV")] - [Obsolete("Use ref/array overload instead")] - public static - unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* v_ptr = v) - { - Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - } - - partial class Sun - { - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] - [Obsolete("Use ref/array overload instead")] - public static - unsafe void ReplacementCodeuiColor3fVertex3(Int32* rc, Single[] c, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* c_ptr = c) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] - [Obsolete("Use ref/array overload instead")] - public static - unsafe void ReplacementCodeuiColor3fVertex3(UInt32* rc, Single[] c, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* c_ptr = c) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] - [Obsolete("Use ref/array overload instead")] - public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single[] c, Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* c_ptr = c) - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] - [Obsolete("Use ref/array overload instead")] - public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single[] c, Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* c_ptr = c) - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] - [Obsolete("Use ref/array overload instead")] - public static - unsafe void ReplacementCodeuiColor4ubVertex3(Int32* rc, Byte[] c, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Byte* c_ptr = c) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c_ptr, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] - [Obsolete("Use ref/array overload instead")] - public static - unsafe void ReplacementCodeuiColor4ubVertex3(UInt32* rc, Byte[] c, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Byte* c_ptr = c) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c_ptr, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] - [Obsolete("Use ref/array overload instead")] - public static - unsafe void ReplacementCodeuiNormal3fVertex3(Int32* rc, Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n_ptr, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] - [Obsolete("Use ref/array overload instead")] - public static - unsafe void ReplacementCodeuiNormal3fVertex3(UInt32* rc, Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n_ptr, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] - [Obsolete("Use ref/array overload instead")] - public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single[] tc, Single[] c, Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* tc_ptr = tc) - fixed (Single* c_ptr = c) - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] - [Obsolete("Use ref/array overload instead")] - public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single[] tc, Single[] c, Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* tc_ptr = tc) - fixed (Single* c_ptr = c) - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] - [Obsolete("Use ref/array overload instead")] - public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single[] tc, Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* tc_ptr = tc) - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] - [Obsolete("Use ref/array overload instead")] - public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, Single[] tc, Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* tc_ptr = tc) - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] - [Obsolete("Use ref/array overload instead")] - public static - unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32* rc, Single[] tc, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* tc_ptr = tc) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] - [Obsolete("Use ref/array overload instead")] - public static - unsafe void ReplacementCodeuiTexCoord2fVertex3(UInt32* rc, Single[] tc, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* tc_ptr = tc) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] - [Obsolete("Use ref/array overload instead")] - public static - unsafe void ReplacementCodeuiVertex3(Int32* rc, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] - [Obsolete("Use ref/array overload instead")] - public static - unsafe void ReplacementCodeuiVertex3(UInt32* rc, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - } + /// + /// Returns the handles of the shader objects attached to a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the size of the array for storing the returned object names. + /// + /// + /// + /// + /// Returns the number of names actually returned in objects. + /// + /// + /// + /// + /// Specifies an array that is used to return the names of attached shader objects. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttachedShaders")] + [Obsolete("Use GetAttachedShaders out/array overload instead")] + public static extern + unsafe void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] Int32[] obj); + + + /// + /// Returns the handles of the shader objects attached to a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the size of the array for storing the returned object names. + /// + /// + /// + /// + /// Returns the number of names actually returned in objects. + /// + /// + /// + /// + /// Specifies an array that is used to return the names of attached shader objects. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttachedShaders")] + [Obsolete("Use GetAttachedShaders out/array overload instead")] + public static extern + unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32[] obj); + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + [Obsolete("Use GetSeparableFilter overload instead")] + public static extern + void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] T5[] span) + where T5 : struct; + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + [Obsolete("Use GetSeparableFilter overload instead")] + public static extern + void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] T5[,] span) + where T5 : struct; + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + [Obsolete("Use GetSeparableFilter overload instead")] + public static extern + void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] T5[,,] span) + where T5 : struct; + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + [Obsolete("Use GetSeparableFilter overload instead")] + public static extern + void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] ref T5 span) + where T5 : struct; + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + [Obsolete("Use GetSeparableFilter overload instead")] + public static extern + void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [InAttribute, OutAttribute] T4[] column, [InAttribute, OutAttribute] T5[,,] span) + where T4 : struct + where T5 : struct; + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + [Obsolete("Use GetSeparableFilter overload instead")] + public static extern + void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [InAttribute, OutAttribute] T4[,] column, [InAttribute, OutAttribute] T5[,,] span) + where T4 : struct + where T5 : struct; + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + [Obsolete("Use GetSeparableFilter overload instead")] + public static extern + void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) + where T4 : struct + where T5 : struct; + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + [Obsolete("Use GetSeparableFilter overload instead")] + public static extern + void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [InAttribute, OutAttribute] ref T4 column, [InAttribute, OutAttribute] T5[,,] span) + where T4 : struct + where T5 : struct; + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + [Obsolete("Use GetSeparableFilter overload with equal array dimensions instead")] + public static extern + void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct; + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + [Obsolete("Use GetSeparableFilter overload with equal array dimensions instead")] + public static extern + void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct; + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + [Obsolete("Use GetSeparableFilter with three ref arguments instead")] + public static extern + void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct; + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glGetSynciv")] + [Obsolete("Use out/array overload instead")] + public static extern + unsafe void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL.ArbSync pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32[] values); + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + [Obsolete("Use overload with equal array dimensions instead")] + public static extern + void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, [InAttribute, OutAttribute] T7[] column) + where T7 : struct; + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + [Obsolete("Use overload with equal array dimensions instead")] + public static extern + void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, [InAttribute, OutAttribute] T7[,] column) + where T7 : struct; + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + [Obsolete("Use overload with equal array dimensions instead")] + public static extern + void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, [InAttribute, OutAttribute] T7[,,] column) + where T7 : struct; + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + [Obsolete("Use overload with equal array dimensions instead")] + public static extern + void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, [InAttribute, OutAttribute] ref T7 column) + where T7 : struct; + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + [Obsolete("Use overload with equal array dimensions instead")] + public static extern + void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] row, [InAttribute, OutAttribute] T7[,,] column) + where T6 : struct + where T7 : struct; + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + [Obsolete("Use overload with equal array dimensions instead")] + public static extern + void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] row, [InAttribute, OutAttribute] T7[,,] column) + where T6 : struct + where T7 : struct; + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + [Obsolete("Use overload with equal array dimensions instead")] + public static extern + void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 row, [InAttribute, OutAttribute] T7[,,] column) + where T6 : struct + where T7 : struct; + + partial class Amd + { + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] + [Obsolete("Use ref/array overloads instead")] + public static extern + unsafe void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] Int32[] data, [OutAttribute] Int32* bytesWritten); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] + [Obsolete("Use ref/array overloads instead")] + public static extern + unsafe void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] UInt32[] data, [OutAttribute] Int32* bytesWritten); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] + [Obsolete("Use ref/array overloads instead")] + public static extern + unsafe void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] UInt32[] data, [OutAttribute] Int32* bytesWritten); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] + [Obsolete("Use ref/array overloads instead")] + public static extern + unsafe void GetPerfMonitorCounters(Int32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] Int32[] counters); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] + [Obsolete("Use ref/array overloads instead")] + public static extern + unsafe void GetPerfMonitorCounters(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32[] counters); + + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] + [Obsolete("Use GetPerfMonitorGroups instead")] + public static extern + void GetPerfMonitorGroup([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] out Int32 groups); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] + [Obsolete("Use GetPerfMonitorGroups instead")] + public static extern + void GetPerfMonitorGroup([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] out UInt32 groups); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] + [Obsolete("Use GetPerfMonitorGroups instead")] + public static extern + unsafe void GetPerfMonitorGroup([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] Int32[] groups); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] + [Obsolete("Use GetPerfMonitorGroups instead")] + public static extern + unsafe void GetPerfMonitorGroup([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] Int32* groups); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] + [Obsolete("Use GetPerfMonitorGroups instead")] + public static extern + unsafe void GetPerfMonitorGroup([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32[] groups); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] + [Obsolete("Use GetPerfMonitorGroups instead")] + public static extern + unsafe void GetPerfMonitorGroup([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups); + } + + partial class Arb + { + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")] + [Obsolete("Use ref/array overloads instead")] + public static extern + unsafe void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] Int32[] obj); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")] + [Obsolete("Use ref/array overloads instead")] + public static extern + unsafe void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32[] obj); + } + + partial class Ati + { + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glPassTexCoordATI")] + [Obsolete("Use PassTexCoord instead")] + public static extern + void PassTexCoor(Int32 dst, Int32 coord, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glPassTexCoordATI")] + [Obsolete("Use PassTexCoord instead")] + public static extern + void PassTexCoor(UInt32 dst, UInt32 coord, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle); + } + + partial class Ext + { + [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] + [Obsolete("Use GetQueryObject overload instead")] + public static extern + void GetQueryObjecti64(Int32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] Int64[] @params); + + + [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] + [Obsolete("Use GetQueryObject overload instead")] + public static extern + void GetQueryObjecti64(Int32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] out Int64 @params); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] + [Obsolete("Use GetQueryObject overload instead")] + public static extern + unsafe void GetQueryObjecti64(Int32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] Int64* @params); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] + [Obsolete("Use GetQueryObject overload instead")] + public static extern + void GetQueryObjecti64(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] Int64[] @params); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] + [Obsolete("Use GetQueryObject overload instead")] + public static extern + void GetQueryObjecti64(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] out Int64 @params); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] + [Obsolete("Use GetQueryObject overload instead")] + public static extern + unsafe void GetQueryObjecti64(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] Int64* @params); + + + [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] + [Obsolete("Use GetQueryObject overload instead")] + public static extern + void GetQueryObjectui64(Int32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] Int64[] @params); + + + [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] + [Obsolete("Use GetQueryObject overload instead")] + public static extern + void GetQueryObjectui64(Int32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] out Int64 @params); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] + [Obsolete("Use GetQueryObject overload instead")] + public static extern + unsafe void GetQueryObjectui64(Int32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] Int64* @params); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] + [Obsolete("Use GetQueryObject overload instead")] + public static extern + void GetQueryObjectui64(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] UInt64[] @params); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] + [Obsolete("Use GetQueryObject overload instead")] + public static extern + void GetQueryObjectui64(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] out UInt64 @params); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] + [Obsolete("Use GetQueryObject overload instead")] + public static extern + unsafe void GetQueryObjectui64(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] UInt64* @params); + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + [Obsolete("Use GetSeparableFilter overloads instead")] + public static extern + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] IntPtr span); + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + [Obsolete("Use GetSeparableFilter overloads instead")] + public static extern + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, ref T4 row, ref T5 column, ref T6 span) + where T4 : struct + where T5 : struct + where T6 : struct; + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + [Obsolete("Use GetSeparableFilter overloads instead")] + public static extern + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] T4[] row, [OutAttribute] T5[] column, [InAttribute, OutAttribute] T6[] span) + where T4 : struct + where T5 : struct + where T6 : struct; + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + [Obsolete("Use GetSeparableFilter overloads instead")] + public static extern + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] T4[,] row, [OutAttribute] T5[,] column, [InAttribute, OutAttribute] T6[,] span) + where T4 : struct + where T5 : struct + where T6 : struct; + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + [Obsolete("Use GetSeparableFilter overloads instead")] + public static extern + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] T4[,,] row, [OutAttribute] T5[,,] column, [InAttribute, OutAttribute] T6[,,] span) + where T4 : struct + where T5 : struct + where T6 : struct; + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + [Obsolete("Use GetSeparableFilter overloads instead")] + public static extern + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] T5[] span) + where T5 : struct; + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + [Obsolete("Use GetSeparableFilter overloads instead")] + public static extern + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] T5[,] span) + where T5 : struct; + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + [Obsolete("Use GetSeparableFilter overloads instead")] + public static extern + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] T5[,,] span) + where T5 : struct; + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + [Obsolete("Use GetSeparableFilter overloads instead")] + public static extern + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] ref T5 span) + where T5 : struct; + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + [Obsolete("Use GetSeparableFilter overloads instead")] + public static extern + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [InAttribute, OutAttribute] T4[] column, [InAttribute, OutAttribute] T5[,,] span) + where T4 : struct + where T5 : struct; + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + [Obsolete("Use GetSeparableFilter overloads instead")] + public static extern + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [InAttribute, OutAttribute] T4[,] column, [InAttribute, OutAttribute] T5[,,] span) + where T4 : struct + where T5 : struct; + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + [Obsolete("Use GetSeparableFilter overloads instead")] + public static extern + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) + where T4 : struct + where T5 : struct; + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + [Obsolete("Use GetSeparableFilter overloads instead")] + public static extern + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [InAttribute, OutAttribute] ref T4 column, [InAttribute, OutAttribute] T5[,,] span) + where T4 : struct + where T5 : struct; + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + [Obsolete("Use ref/array overloads instead")] + public static extern + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct; + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + [Obsolete("Use ref/array overloads instead")] + public static extern + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct; + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + [Obsolete("Use ref/array overloads instead")] + public static extern + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct; + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + [Obsolete("Use SeparableFilter2D overloads instead")] + public static extern + void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, [InAttribute, OutAttribute] IntPtr column); + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + [Obsolete("Use ref/array overloads instead")] + public static extern + void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 row, [InAttribute, OutAttribute] ref T7 column) + where T6 : struct + where T7 : struct; + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + [Obsolete("Use ref/array overloads instead")] + public static extern + void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] row, [InAttribute, OutAttribute] T7[] column) + where T6 : struct + where T7 : struct; + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + [Obsolete("Use ref/array overloads instead")] + public static extern + void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] row, [InAttribute, OutAttribute] T7[,] column) + where T6 : struct + where T7 : struct; + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + [Obsolete("Use ref/array overloads instead")] + public static extern + void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,,] row, [InAttribute, OutAttribute] T7[,,] column) + where T6 : struct + where T7 : struct; + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + [Obsolete("Use SeparableFilter2D overloads instead")] + public static extern + void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, [InAttribute, OutAttribute] T7[] column) + where T7 : struct; + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + [Obsolete("Use SeparableFilter2D overloads instead")] + public static extern + void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, [InAttribute, OutAttribute] T7[,] column) + where T7 : struct; + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + [Obsolete("Use SeparableFilter2D overloads instead")] + public static extern + void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, [InAttribute, OutAttribute] T7[,,] column) + where T7 : struct; + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + [Obsolete("Use SeparableFilter2D overloads instead")] + public static extern + void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, [InAttribute, OutAttribute] ref T7 column) + where T7 : struct; + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + [Obsolete("Use ref/array overloads instead")] + public static extern + void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] row, [InAttribute, OutAttribute] T7[,,] column) + where T6 : struct + where T7 : struct; + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + [Obsolete("Use ref/array overloads instead")] + public static extern + void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] row, [InAttribute, OutAttribute] T7[,,] column) + where T6 : struct + where T7 : struct; + } + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + [Obsolete("Use ref/array overloads instead")] + public static extern + void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 row, [InAttribute, OutAttribute] T7[,,] column) + where T6 : struct + where T7 : struct; + + + partial class Ibm + { + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawArraysIBM")] + [Obsolete("Use PrimitiveType overload instead")] + public static extern + void MultiModeDrawArrays(OpenTK.Graphics.OpenGL.BeginMode[] mode, Int32[] first, Int32[] count, Int32 primcount, Int32 modestride); + + + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawArraysIBM")] + [Obsolete("Use PrimitiveType overload instead")] + public static extern + void MultiModeDrawArrays(ref OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 first, ref Int32 count, Int32 primcount, Int32 modestride); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawArraysIBM")] + [Obsolete("Use PrimitiveType overload instead")] + public static extern + unsafe void MultiModeDrawArrays(OpenTK.Graphics.OpenGL.BeginMode* mode, Int32* first, Int32* count, Int32 primcount, Int32 modestride); + + + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + [Obsolete("Use PrimitiveType overload instead")] + public static extern + void MultiModeDrawElements(OpenTK.Graphics.OpenGL.BeginMode[] mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride); + + + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + [Obsolete("Use PrimitiveType overload instead")] + public static extern + void MultiModeDrawElements(OpenTK.Graphics.OpenGL.BeginMode[] mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount, Int32 modestride) + where T3 : struct; + + + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + [Obsolete("Use PrimitiveType overload instead")] + public static extern + void MultiModeDrawElements(OpenTK.Graphics.OpenGL.BeginMode[] mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount, Int32 modestride) + where T3 : struct; + + + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + [Obsolete("Use PrimitiveType overload instead")] + public static extern + void MultiModeDrawElements(OpenTK.Graphics.OpenGL.BeginMode[] mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount, Int32 modestride) + where T3 : struct; + + + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + [Obsolete("Use PrimitiveType overload instead")] + public static extern + void MultiModeDrawElements(OpenTK.Graphics.OpenGL.BeginMode[] mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount, Int32 modestride) + where T3 : struct; + + + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + [Obsolete("Use PrimitiveType overload instead")] + public static extern + void MultiModeDrawElements(ref OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride); + + + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + [Obsolete("Use PrimitiveType overload instead")] + public static extern + void MultiModeDrawElements(ref OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount, Int32 modestride) + where T3 : struct; + + + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + [Obsolete("Use PrimitiveType overload instead")] + public static extern + void MultiModeDrawElements(ref OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount, Int32 modestride) + where T3 : struct; + + + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + [Obsolete("Use PrimitiveType overload instead")] + public static extern + void MultiModeDrawElements(ref OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount, Int32 modestride) + where T3 : struct; + + + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + [Obsolete("Use PrimitiveType overload instead")] + public static extern + void MultiModeDrawElements(ref OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount, Int32 modestride) + where T3 : struct; + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + [Obsolete("Use PrimitiveType overload instead")] + public static extern + unsafe void MultiModeDrawElements(OpenTK.Graphics.OpenGL.BeginMode* mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + [Obsolete("Use PrimitiveType overload instead")] + public static extern + unsafe void MultiModeDrawElements(OpenTK.Graphics.OpenGL.BeginMode* mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount, Int32 modestride) + where T3 : struct; + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + [Obsolete("Use PrimitiveType overload instead")] + public static extern + unsafe void MultiModeDrawElements(OpenTK.Graphics.OpenGL.BeginMode* mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount, Int32 modestride) + where T3 : struct; + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + [Obsolete("Use PrimitiveType overload instead")] + public static extern + unsafe void MultiModeDrawElements(OpenTK.Graphics.OpenGL.BeginMode* mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount, Int32 modestride) + where T3 : struct; + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + [Obsolete("Use PrimitiveType overload instead")] + public static extern + unsafe void MultiModeDrawElements(OpenTK.Graphics.OpenGL.BeginMode* mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount, Int32 modestride) + where T3 : struct; + } + + partial class NV + { + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] + [Obsolete("Use DeleteTransformFeedbacks overload instead")] + public static extern + void DeleteTransformFeedback(Int32 n, Int32[] ids); + + + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] + [Obsolete("Use DeleteTransformFeedbacks overload instead")] + public static extern + void DeleteTransformFeedback(Int32 n, ref Int32 ids); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] + [Obsolete("Use DeleteTransformFeedbacks overload instead")] + public static extern + unsafe void DeleteTransformFeedback(Int32 n, Int32* ids); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] + [Obsolete("Use DeleteTransformFeedbacks overload instead")] + public static extern + void DeleteTransformFeedback(Int32 n, UInt32[] ids); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] + [Obsolete("Use DeleteTransformFeedbacks overload instead")] + public static extern + void DeleteTransformFeedback(Int32 n, ref UInt32 ids); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] + [Obsolete("Use DeleteTransformFeedbacks overload instead")] + public static extern + unsafe void DeleteTransformFeedback(Int32 n, UInt32* ids); + + + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] + [Obsolete("Use GenTransformFeedbacks overload instead")] + public static extern + void GenTransformFeedback(Int32 n, [OutAttribute] Int32[] ids); + + + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] + [Obsolete("Use GenTransformFeedbacks overload instead")] + public static extern + void GenTransformFeedback(Int32 n, [OutAttribute] out Int32 ids); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] + [Obsolete("Use GenTransformFeedbacks overload instead")] + public static extern + unsafe void GenTransformFeedback(Int32 n, [OutAttribute] Int32* ids); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] + [Obsolete("Use GenTransformFeedbacks overload instead")] + public static extern + void GenTransformFeedback(Int32 n, [OutAttribute] UInt32[] ids); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] + [Obsolete("Use GenTransformFeedbacks overload instead")] + public static extern + void GenTransformFeedback(Int32 n, [OutAttribute] out UInt32 ids); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] + [Obsolete("Use GenTransformFeedbacks overload instead")] + public static extern + unsafe void GenTransformFeedback(Int32 n, [OutAttribute] UInt32* ids); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] + [Obsolete("Use ref/array overload instead")] + public static extern + unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [OutAttribute] Double[] @params); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] + [Obsolete("Use ref/array overload instead")] + public static extern + unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [OutAttribute] Double[] @params); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterfvNV")] + [Obsolete("Use ref/array overload instead")] + public static extern + unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [OutAttribute] Single[] @params); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterfvNV")] + [Obsolete("Use ref/array overload instead")] + public static extern + unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [OutAttribute] Single[] @params); + + + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] + [Obsolete("Use GetVideo overload instead")] + public static extern + void GetVideoi64(Int32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int64[] @params); + + + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] + [Obsolete("Use GetVideo overload instead")] + public static extern + void GetVideoi64(Int32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] out Int64 @params); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] + [Obsolete("Use GetVideo overload instead")] + public static extern + unsafe void GetVideoi64(Int32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int64* @params); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] + [Obsolete("Use GetVideo overload instead")] + public static extern + void GetVideoi64(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int64[] @params); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] + [Obsolete("Use GetVideo overload instead")] + public static extern + void GetVideoi64(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] out Int64 @params); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] + [Obsolete("Use GetVideo overload instead")] + public static extern + unsafe void GetVideoi64(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int64* @params); + + + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] + [Obsolete("Use GetVideo overload instead")] + public static extern + void GetVideoui64(Int32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int64[] @params); + + + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] + [Obsolete("Use GetVideo overload instead")] + public static extern + void GetVideoui64(Int32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] out Int64 @params); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] + [Obsolete("Use GetVideo overload instead")] + public static extern + unsafe void GetVideoui64(Int32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int64* @params); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] + [Obsolete("Use GetVideo overload instead")] + public static extern + void GetVideoui64(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] UInt64[] @params); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] + [Obsolete("Use GetVideo overload instead")] + public static extern + void GetVideoui64(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] out UInt64 @params); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] + [Obsolete("Use GetVideo overload instead")] + public static extern + unsafe void GetVideoui64(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] UInt64* @params); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] + [Obsolete("Use ref/array overload instead")] + public static extern + unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Double[] v); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] + [Obsolete("Use ref/array overload instead")] + public static extern + unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Double[] v); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fvNV")] + [Obsolete("Use ref/array overload instead")] + public static extern + unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Single[] v); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fvNV")] + [Obsolete("Use ref/array overload instead")] + public static extern + unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Single[] v); + } + + partial class Sun + { + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] + [Obsolete("Use ref/array overload instead")] + public static extern + unsafe void ReplacementCodeuiColor3fVertex3(Int32* rc, Single[] c, Single[] v); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] + [Obsolete("Use ref/array overload instead")] + public static extern + unsafe void ReplacementCodeuiColor3fVertex3(UInt32* rc, Single[] c, Single[] v); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] + [Obsolete("Use ref/array overload instead")] + public static extern + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single[] c, Single[] n, Single[] v); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] + [Obsolete("Use ref/array overload instead")] + public static extern + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single[] c, Single[] n, Single[] v); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] + [Obsolete("Use ref/array overload instead")] + public static extern + unsafe void ReplacementCodeuiColor4ubVertex3(Int32* rc, Byte[] c, Single[] v); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] + [Obsolete("Use ref/array overload instead")] + public static extern + unsafe void ReplacementCodeuiColor4ubVertex3(UInt32* rc, Byte[] c, Single[] v); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] + [Obsolete("Use ref/array overload instead")] + public static extern + unsafe void ReplacementCodeuiNormal3fVertex3(Int32* rc, Single[] n, Single[] v); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] + [Obsolete("Use ref/array overload instead")] + public static extern + unsafe void ReplacementCodeuiNormal3fVertex3(UInt32* rc, Single[] n, Single[] v); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] + [Obsolete("Use ref/array overload instead")] + public static extern + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single[] tc, Single[] c, Single[] n, Single[] v); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] + [Obsolete("Use ref/array overload instead")] + public static extern + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single[] tc, Single[] c, Single[] n, Single[] v); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] + [Obsolete("Use ref/array overload instead")] + public static extern + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single[] tc, Single[] n, Single[] v); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] + [Obsolete("Use ref/array overload instead")] + public static extern + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, Single[] tc, Single[] n, Single[] v); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] + [Obsolete("Use ref/array overload instead")] + public static extern + unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32* rc, Single[] tc, Single[] v); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] + [Obsolete("Use ref/array overload instead")] + public static extern + unsafe void ReplacementCodeuiTexCoord2fVertex3(UInt32* rc, Single[] tc, Single[] v); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] + [Obsolete("Use ref/array overload instead")] + public static extern + unsafe void ReplacementCodeuiVertex3(Int32* rc, Single[] v); + + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] + [Obsolete("Use ref/array overload instead")] + public static extern + unsafe void ReplacementCodeuiVertex3(UInt32* rc, Single[] v); + } } } - diff --git a/Source/OpenTK/Graphics/OpenGL4/GL4.cs b/Source/OpenTK/Graphics/OpenGL4/GL4.cs index b2a9a8a4..2a631175 100644 --- a/Source/OpenTK/Graphics/OpenGL4/GL4.cs +++ b/Source/OpenTK/Graphics/OpenGL4/GL4.cs @@ -34,9 +34,689 @@ namespace OpenTK.Graphics.OpenGL4 #pragma warning disable 1591 #pragma warning disable 1572 #pragma warning disable 1573 + #pragma warning disable 626 partial class GL { + static GL() + { + EntryPointNames = new string[] + { + "glActiveShaderProgram", + "glActiveTexture", + "glAttachShader", + "glBeginConditionalRender", + "glBeginQuery", + "glBeginQueryIndexed", + "glBeginTransformFeedback", + "glBindAttribLocation", + "glBindBuffer", + "glBindBufferBase", + "glBindBufferRange", + "glBindBuffersBase", + "glBindBuffersRange", + "glBindFragDataLocation", + "glBindFragDataLocationIndexed", + "glBindFramebuffer", + "glBindImageTexture", + "glBindImageTextures", + "glBindProgramPipeline", + "glBindRenderbuffer", + "glBindSampler", + "glBindSamplers", + "glBindTexture", + "glBindTextures", + "glBindTransformFeedback", + "glBindVertexArray", + "glBindVertexBuffer", + "glBindVertexBuffers", + "glBlendColor", + "glBlendEquation", + "glBlendEquationi", + "glBlendEquationiARB", + "glBlendEquationSeparate", + "glBlendEquationSeparatei", + "glBlendEquationSeparateiARB", + "glBlendFunc", + "glBlendFunci", + "glBlendFunciARB", + "glBlendFuncSeparate", + "glBlendFuncSeparatei", + "glBlendFuncSeparateiARB", + "glBlitFramebuffer", + "glBufferData", + "glBufferStorage", + "glBufferSubData", + "glCheckFramebufferStatus", + "glClampColor", + "glClear", + "glClearBufferData", + "glClearBufferfi", + "glClearBufferfv", + "glClearBufferiv", + "glClearBufferSubData", + "glClearBufferuiv", + "glClearColor", + "glClearDepth", + "glClearDepthf", + "glClearStencil", + "glClearTexImage", + "glClearTexSubImage", + "glClientWaitSync", + "glColorMask", + "glColorMaski", + "glColorP3ui", + "glColorP3uiv", + "glColorP4ui", + "glColorP4uiv", + "glColorSubTable", + "glColorTable", + "glColorTableParameterfv", + "glColorTableParameteriv", + "glCompileShader", + "glCompileShaderIncludeARB", + "glCompressedTexImage1D", + "glCompressedTexImage2D", + "glCompressedTexImage3D", + "glCompressedTexSubImage1D", + "glCompressedTexSubImage2D", + "glCompressedTexSubImage3D", + "glConvolutionFilter1D", + "glConvolutionFilter2D", + "glConvolutionParameterf", + "glConvolutionParameterfv", + "glConvolutionParameteri", + "glConvolutionParameteriv", + "glCopyBufferSubData", + "glCopyColorSubTable", + "glCopyColorTable", + "glCopyConvolutionFilter1D", + "glCopyConvolutionFilter2D", + "glCopyImageSubData", + "glCopyTexImage1D", + "glCopyTexImage2D", + "glCopyTexSubImage1D", + "glCopyTexSubImage2D", + "glCopyTexSubImage3D", + "glCreateProgram", + "glCreateShader", + "glCreateShaderProgramv", + "glCreateSyncFromCLeventARB", + "glCullFace", + "glDebugMessageCallback", + "glDebugMessageCallbackARB", + "glDebugMessageCallbackKHR", + "glDebugMessageControl", + "glDebugMessageControlARB", + "glDebugMessageControlKHR", + "glDebugMessageInsert", + "glDebugMessageInsertARB", + "glDebugMessageInsertKHR", + "glDeleteBuffers", + "glDeleteFramebuffers", + "glDeleteNamedStringARB", + "glDeleteProgram", + "glDeleteProgramPipelines", + "glDeleteQueries", + "glDeleteRenderbuffers", + "glDeleteSamplers", + "glDeleteShader", + "glDeleteSync", + "glDeleteTextures", + "glDeleteTransformFeedbacks", + "glDeleteVertexArrays", + "glDepthFunc", + "glDepthMask", + "glDepthRange", + "glDepthRangeArrayv", + "glDepthRangef", + "glDepthRangeIndexed", + "glDetachShader", + "glDisable", + "glDisablei", + "glDisableVertexAttribArray", + "glDispatchCompute", + "glDispatchComputeGroupSizeARB", + "glDispatchComputeIndirect", + "glDrawArrays", + "glDrawArraysIndirect", + "glDrawArraysInstanced", + "glDrawArraysInstancedBaseInstance", + "glDrawBuffer", + "glDrawBuffers", + "glDrawElements", + "glDrawElementsBaseVertex", + "glDrawElementsIndirect", + "glDrawElementsInstanced", + "glDrawElementsInstancedBaseInstance", + "glDrawElementsInstancedBaseVertex", + "glDrawElementsInstancedBaseVertexBaseInstance", + "glDrawRangeElements", + "glDrawRangeElementsBaseVertex", + "glDrawTransformFeedback", + "glDrawTransformFeedbackInstanced", + "glDrawTransformFeedbackStream", + "glDrawTransformFeedbackStreamInstanced", + "glEnable", + "glEnablei", + "glEnableVertexAttribArray", + "glEndConditionalRender", + "glEndQuery", + "glEndQueryIndexed", + "glEndTransformFeedback", + "glFenceSync", + "glFinish", + "glFlush", + "glFlushMappedBufferRange", + "glFramebufferParameteri", + "glFramebufferRenderbuffer", + "glFramebufferTexture", + "glFramebufferTexture1D", + "glFramebufferTexture2D", + "glFramebufferTexture3D", + "glFramebufferTextureLayer", + "glFrontFace", + "glGenBuffers", + "glGenerateMipmap", + "glGenFramebuffers", + "glGenProgramPipelines", + "glGenQueries", + "glGenRenderbuffers", + "glGenSamplers", + "glGenTextures", + "glGenTransformFeedbacks", + "glGenVertexArrays", + "glGetActiveAtomicCounterBufferiv", + "glGetActiveAttrib", + "glGetActiveSubroutineName", + "glGetActiveSubroutineUniformiv", + "glGetActiveSubroutineUniformName", + "glGetActiveUniform", + "glGetActiveUniformBlockiv", + "glGetActiveUniformBlockName", + "glGetActiveUniformName", + "glGetActiveUniformsiv", + "glGetAttachedShaders", + "glGetAttribLocation", + "glGetBooleani_v", + "glGetBooleanv", + "glGetBufferParameteri64v", + "glGetBufferParameteriv", + "glGetBufferPointerv", + "glGetBufferSubData", + "glGetColorTable", + "glGetColorTableParameterfv", + "glGetColorTableParameteriv", + "glGetCompressedTexImage", + "glGetConvolutionFilter", + "glGetConvolutionParameterfv", + "glGetConvolutionParameteriv", + "glGetDebugMessageLog", + "glGetDebugMessageLogARB", + "glGetDebugMessageLogKHR", + "glGetDoublei_v", + "glGetDoublev", + "glGetError", + "glGetFloati_v", + "glGetFloatv", + "glGetFragDataIndex", + "glGetFragDataLocation", + "glGetFramebufferAttachmentParameteriv", + "glGetFramebufferParameteriv", + "glGetGraphicsResetStatusARB", + "glGetHistogram", + "glGetHistogramParameterfv", + "glGetHistogramParameteriv", + "glGetImageHandleARB", + "glGetInteger64i_v", + "glGetInteger64v", + "glGetIntegeri_v", + "glGetIntegerv", + "glGetInternalformati64v", + "glGetInternalformativ", + "glGetMinmax", + "glGetMinmaxParameterfv", + "glGetMinmaxParameteriv", + "glGetMultisamplefv", + "glGetNamedStringARB", + "glGetNamedStringivARB", + "glGetnColorTableARB", + "glGetnCompressedTexImageARB", + "glGetnConvolutionFilterARB", + "glGetnHistogramARB", + "glGetnMapdvARB", + "glGetnMapfvARB", + "glGetnMapivARB", + "glGetnMinmaxARB", + "glGetnPixelMapfvARB", + "glGetnPixelMapuivARB", + "glGetnPixelMapusvARB", + "glGetnPolygonStippleARB", + "glGetnSeparableFilterARB", + "glGetnTexImageARB", + "glGetnUniformdvARB", + "glGetnUniformfvARB", + "glGetnUniformivARB", + "glGetnUniformuivARB", + "glGetObjectLabel", + "glGetObjectLabelKHR", + "glGetObjectPtrLabel", + "glGetObjectPtrLabelKHR", + "glGetPointerv", + "glGetPointervKHR", + "glGetProgramBinary", + "glGetProgramInfoLog", + "glGetProgramInterfaceiv", + "glGetProgramiv", + "glGetProgramPipelineInfoLog", + "glGetProgramPipelineiv", + "glGetProgramResourceIndex", + "glGetProgramResourceiv", + "glGetProgramResourceLocation", + "glGetProgramResourceLocationIndex", + "glGetProgramResourceName", + "glGetProgramStageiv", + "glGetQueryIndexediv", + "glGetQueryiv", + "glGetQueryObjecti64v", + "glGetQueryObjectiv", + "glGetQueryObjectui64v", + "glGetQueryObjectuiv", + "glGetRenderbufferParameteriv", + "glGetSamplerParameterfv", + "glGetSamplerParameterIiv", + "glGetSamplerParameterIuiv", + "glGetSamplerParameteriv", + "glGetSeparableFilter", + "glGetShaderInfoLog", + "glGetShaderiv", + "glGetShaderPrecisionFormat", + "glGetShaderSource", + "glGetString", + "glGetStringi", + "glGetSubroutineIndex", + "glGetSubroutineUniformLocation", + "glGetSynciv", + "glGetTexImage", + "glGetTexLevelParameterfv", + "glGetTexLevelParameteriv", + "glGetTexParameterfv", + "glGetTexParameterIiv", + "glGetTexParameterIuiv", + "glGetTexParameteriv", + "glGetTextureHandleARB", + "glGetTextureSamplerHandleARB", + "glGetTransformFeedbackVarying", + "glGetUniformBlockIndex", + "glGetUniformdv", + "glGetUniformfv", + "glGetUniformIndices", + "glGetUniformiv", + "glGetUniformLocation", + "glGetUniformSubroutineuiv", + "glGetUniformuiv", + "glGetVertexAttribdv", + "glGetVertexAttribfv", + "glGetVertexAttribIiv", + "glGetVertexAttribIuiv", + "glGetVertexAttribiv", + "glGetVertexAttribLdv", + "glGetVertexAttribLui64vARB", + "glGetVertexAttribPointerv", + "glHint", + "glHistogram", + "glInvalidateBufferData", + "glInvalidateBufferSubData", + "glInvalidateFramebuffer", + "glInvalidateSubFramebuffer", + "glInvalidateTexImage", + "glInvalidateTexSubImage", + "glIsBuffer", + "glIsEnabled", + "glIsEnabledi", + "glIsFramebuffer", + "glIsImageHandleResidentARB", + "glIsNamedStringARB", + "glIsProgram", + "glIsProgramPipeline", + "glIsQuery", + "glIsRenderbuffer", + "glIsSampler", + "glIsShader", + "glIsSync", + "glIsTexture", + "glIsTextureHandleResidentARB", + "glIsTransformFeedback", + "glIsVertexArray", + "glLineWidth", + "glLinkProgram", + "glLogicOp", + "glMakeImageHandleNonResidentARB", + "glMakeImageHandleResidentARB", + "glMakeTextureHandleNonResidentARB", + "glMakeTextureHandleResidentARB", + "glMapBuffer", + "glMapBufferRange", + "glMemoryBarrier", + "glMinmax", + "glMinSampleShading", + "glMinSampleShadingARB", + "glMultiDrawArrays", + "glMultiDrawArraysIndirect", + "glMultiDrawArraysIndirectCountARB", + "glMultiDrawElements", + "glMultiDrawElementsBaseVertex", + "glMultiDrawElementsIndirect", + "glMultiDrawElementsIndirectCountARB", + "glMultiTexCoordP1ui", + "glMultiTexCoordP1uiv", + "glMultiTexCoordP2ui", + "glMultiTexCoordP2uiv", + "glMultiTexCoordP3ui", + "glMultiTexCoordP3uiv", + "glMultiTexCoordP4ui", + "glMultiTexCoordP4uiv", + "glNamedStringARB", + "glNormalP3ui", + "glNormalP3uiv", + "glObjectLabel", + "glObjectLabelKHR", + "glObjectPtrLabel", + "glObjectPtrLabelKHR", + "glPatchParameterfv", + "glPatchParameteri", + "glPauseTransformFeedback", + "glPixelStoref", + "glPixelStorei", + "glPointParameterf", + "glPointParameterfv", + "glPointParameteri", + "glPointParameteriv", + "glPointSize", + "glPolygonMode", + "glPolygonOffset", + "glPopDebugGroup", + "glPopDebugGroupKHR", + "glPrimitiveRestartIndex", + "glProgramBinary", + "glProgramParameteri", + "glProgramUniform1d", + "glProgramUniform1dv", + "glProgramUniform1f", + "glProgramUniform1fv", + "glProgramUniform1i", + "glProgramUniform1iv", + "glProgramUniform1ui", + "glProgramUniform1uiv", + "glProgramUniform2d", + "glProgramUniform2dv", + "glProgramUniform2f", + "glProgramUniform2fv", + "glProgramUniform2i", + "glProgramUniform2iv", + "glProgramUniform2ui", + "glProgramUniform2uiv", + "glProgramUniform3d", + "glProgramUniform3dv", + "glProgramUniform3f", + "glProgramUniform3fv", + "glProgramUniform3i", + "glProgramUniform3iv", + "glProgramUniform3ui", + "glProgramUniform3uiv", + "glProgramUniform4d", + "glProgramUniform4dv", + "glProgramUniform4f", + "glProgramUniform4fv", + "glProgramUniform4i", + "glProgramUniform4iv", + "glProgramUniform4ui", + "glProgramUniform4uiv", + "glProgramUniformHandleui64ARB", + "glProgramUniformHandleui64vARB", + "glProgramUniformMatrix2dv", + "glProgramUniformMatrix2fv", + "glProgramUniformMatrix2x3dv", + "glProgramUniformMatrix2x3fv", + "glProgramUniformMatrix2x4dv", + "glProgramUniformMatrix2x4fv", + "glProgramUniformMatrix3dv", + "glProgramUniformMatrix3fv", + "glProgramUniformMatrix3x2dv", + "glProgramUniformMatrix3x2fv", + "glProgramUniformMatrix3x4dv", + "glProgramUniformMatrix3x4fv", + "glProgramUniformMatrix4dv", + "glProgramUniformMatrix4fv", + "glProgramUniformMatrix4x2dv", + "glProgramUniformMatrix4x2fv", + "glProgramUniformMatrix4x3dv", + "glProgramUniformMatrix4x3fv", + "glProvokingVertex", + "glPushDebugGroup", + "glPushDebugGroupKHR", + "glQueryCounter", + "glReadBuffer", + "glReadnPixelsARB", + "glReadPixels", + "glReleaseShaderCompiler", + "glRenderbufferStorage", + "glRenderbufferStorageMultisample", + "glResetHistogram", + "glResetMinmax", + "glResumeTransformFeedback", + "glSampleCoverage", + "glSampleMaski", + "glSamplerParameterf", + "glSamplerParameterfv", + "glSamplerParameteri", + "glSamplerParameterIiv", + "glSamplerParameterIuiv", + "glSamplerParameteriv", + "glScissor", + "glScissorArrayv", + "glScissorIndexed", + "glScissorIndexedv", + "glSecondaryColorP3ui", + "glSecondaryColorP3uiv", + "glSeparableFilter2D", + "glShaderBinary", + "glShaderSource", + "glShaderStorageBlockBinding", + "glStencilFunc", + "glStencilFuncSeparate", + "glStencilMask", + "glStencilMaskSeparate", + "glStencilOp", + "glStencilOpSeparate", + "glTexBuffer", + "glTexBufferRange", + "glTexCoordP1ui", + "glTexCoordP1uiv", + "glTexCoordP2ui", + "glTexCoordP2uiv", + "glTexCoordP3ui", + "glTexCoordP3uiv", + "glTexCoordP4ui", + "glTexCoordP4uiv", + "glTexImage1D", + "glTexImage2D", + "glTexImage2DMultisample", + "glTexImage3D", + "glTexImage3DMultisample", + "glTexPageCommitmentARB", + "glTexParameterf", + "glTexParameterfv", + "glTexParameteri", + "glTexParameterIiv", + "glTexParameterIuiv", + "glTexParameteriv", + "glTexStorage1D", + "glTexStorage2D", + "glTexStorage2DMultisample", + "glTexStorage3D", + "glTexStorage3DMultisample", + "glTexSubImage1D", + "glTexSubImage2D", + "glTexSubImage3D", + "glTextureView", + "glTransformFeedbackVaryings", + "glUniform1d", + "glUniform1dv", + "glUniform1f", + "glUniform1fv", + "glUniform1i", + "glUniform1iv", + "glUniform1ui", + "glUniform1uiv", + "glUniform2d", + "glUniform2dv", + "glUniform2f", + "glUniform2fv", + "glUniform2i", + "glUniform2iv", + "glUniform2ui", + "glUniform2uiv", + "glUniform3d", + "glUniform3dv", + "glUniform3f", + "glUniform3fv", + "glUniform3i", + "glUniform3iv", + "glUniform3ui", + "glUniform3uiv", + "glUniform4d", + "glUniform4dv", + "glUniform4f", + "glUniform4fv", + "glUniform4i", + "glUniform4iv", + "glUniform4ui", + "glUniform4uiv", + "glUniformBlockBinding", + "glUniformHandleui64ARB", + "glUniformHandleui64vARB", + "glUniformMatrix2dv", + "glUniformMatrix2fv", + "glUniformMatrix2x3dv", + "glUniformMatrix2x3fv", + "glUniformMatrix2x4dv", + "glUniformMatrix2x4fv", + "glUniformMatrix3dv", + "glUniformMatrix3fv", + "glUniformMatrix3x2dv", + "glUniformMatrix3x2fv", + "glUniformMatrix3x4dv", + "glUniformMatrix3x4fv", + "glUniformMatrix4dv", + "glUniformMatrix4fv", + "glUniformMatrix4x2dv", + "glUniformMatrix4x2fv", + "glUniformMatrix4x3dv", + "glUniformMatrix4x3fv", + "glUniformSubroutinesuiv", + "glUnmapBuffer", + "glUseProgram", + "glUseProgramStages", + "glValidateProgram", + "glValidateProgramPipeline", + "glVertexAttrib1d", + "glVertexAttrib1dv", + "glVertexAttrib1f", + "glVertexAttrib1fv", + "glVertexAttrib1s", + "glVertexAttrib1sv", + "glVertexAttrib2d", + "glVertexAttrib2dv", + "glVertexAttrib2f", + "glVertexAttrib2fv", + "glVertexAttrib2s", + "glVertexAttrib2sv", + "glVertexAttrib3d", + "glVertexAttrib3dv", + "glVertexAttrib3f", + "glVertexAttrib3fv", + "glVertexAttrib3s", + "glVertexAttrib3sv", + "glVertexAttrib4bv", + "glVertexAttrib4d", + "glVertexAttrib4dv", + "glVertexAttrib4f", + "glVertexAttrib4fv", + "glVertexAttrib4iv", + "glVertexAttrib4Nbv", + "glVertexAttrib4Niv", + "glVertexAttrib4Nsv", + "glVertexAttrib4Nub", + "glVertexAttrib4Nubv", + "glVertexAttrib4Nuiv", + "glVertexAttrib4Nusv", + "glVertexAttrib4s", + "glVertexAttrib4sv", + "glVertexAttrib4ubv", + "glVertexAttrib4uiv", + "glVertexAttrib4usv", + "glVertexAttribBinding", + "glVertexAttribDivisor", + "glVertexAttribFormat", + "glVertexAttribI1i", + "glVertexAttribI1iv", + "glVertexAttribI1ui", + "glVertexAttribI1uiv", + "glVertexAttribI2i", + "glVertexAttribI2iv", + "glVertexAttribI2ui", + "glVertexAttribI2uiv", + "glVertexAttribI3i", + "glVertexAttribI3iv", + "glVertexAttribI3ui", + "glVertexAttribI3uiv", + "glVertexAttribI4bv", + "glVertexAttribI4i", + "glVertexAttribI4iv", + "glVertexAttribI4sv", + "glVertexAttribI4ubv", + "glVertexAttribI4ui", + "glVertexAttribI4uiv", + "glVertexAttribI4usv", + "glVertexAttribIFormat", + "glVertexAttribIPointer", + "glVertexAttribL1d", + "glVertexAttribL1dv", + "glVertexAttribL1ui64ARB", + "glVertexAttribL1ui64vARB", + "glVertexAttribL2d", + "glVertexAttribL2dv", + "glVertexAttribL3d", + "glVertexAttribL3dv", + "glVertexAttribL4d", + "glVertexAttribL4dv", + "glVertexAttribLFormat", + "glVertexAttribLPointer", + "glVertexAttribP1ui", + "glVertexAttribP1uiv", + "glVertexAttribP2ui", + "glVertexAttribP2uiv", + "glVertexAttribP3ui", + "glVertexAttribP3uiv", + "glVertexAttribP4ui", + "glVertexAttribP4uiv", + "glVertexAttribPointer", + "glVertexBindingDivisor", + "glVertexP2ui", + "glVertexP2uiv", + "glVertexP3ui", + "glVertexP3uiv", + "glVertexP4ui", + "glVertexP4uiv", + "glViewport", + "glViewportArrayv", + "glViewportIndexedf", + "glViewportIndexedfv", + "glWaitSync", + }; + EntryPoints = new IntPtr[EntryPointNames.Length]; + } public static partial class Arb { @@ -54,18 +734,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "", EntryPoint = "glBlendEquationiARB")] - public static - void BlendEquation(Int32 buf, OpenTK.Graphics.OpenGL4.BlendEquationMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationiARB((UInt32)buf, (OpenTK.Graphics.OpenGL4.BlendEquationMode)mode); - #if DEBUG - } - #endif - } + public static extern void BlendEquation(Int32 buf, OpenTK.Graphics.OpenGL4.BlendEquationMode mode); /// [requires: ARB_draw_buffers_blend] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -82,18 +751,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "", EntryPoint = "glBlendEquationiARB")] - public static - void BlendEquation(UInt32 buf, OpenTK.Graphics.OpenGL4.BlendEquationMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationiARB((UInt32)buf, (OpenTK.Graphics.OpenGL4.BlendEquationMode)mode); - #if DEBUG - } - #endif - } + public static extern void BlendEquation(UInt32 buf, OpenTK.Graphics.OpenGL4.BlendEquationMode mode); /// [requires: ARB_draw_buffers_blend] /// Set the RGB blend equation and the alpha blend equation separately @@ -114,18 +772,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "", EntryPoint = "glBlendEquationSeparateiARB")] - public static - void BlendEquationSeparate(Int32 buf, OpenTK.Graphics.OpenGL4.All modeRGB, OpenTK.Graphics.OpenGL4.All modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationSeparateiARB((UInt32)buf, (OpenTK.Graphics.OpenGL4.All)modeRGB, (OpenTK.Graphics.OpenGL4.All)modeAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendEquationSeparate(Int32 buf, OpenTK.Graphics.OpenGL4.All modeRGB, OpenTK.Graphics.OpenGL4.All modeAlpha); /// [requires: ARB_draw_buffers_blend] /// Set the RGB blend equation and the alpha blend equation separately @@ -147,18 +794,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "", EntryPoint = "glBlendEquationSeparateiARB")] - public static - void BlendEquationSeparate(UInt32 buf, OpenTK.Graphics.OpenGL4.All modeRGB, OpenTK.Graphics.OpenGL4.All modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationSeparateiARB((UInt32)buf, (OpenTK.Graphics.OpenGL4.All)modeRGB, (OpenTK.Graphics.OpenGL4.All)modeAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendEquationSeparate(UInt32 buf, OpenTK.Graphics.OpenGL4.All modeRGB, OpenTK.Graphics.OpenGL4.All modeAlpha); /// [requires: ARB_draw_buffers_blend] /// Specify pixel arithmetic @@ -179,18 +815,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "", EntryPoint = "glBlendFunciARB")] - public static - void BlendFunc(Int32 buf, OpenTK.Graphics.OpenGL4.All src, OpenTK.Graphics.OpenGL4.All dst) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFunciARB((UInt32)buf, (OpenTK.Graphics.OpenGL4.All)src, (OpenTK.Graphics.OpenGL4.All)dst); - #if DEBUG - } - #endif - } + public static extern void BlendFunc(Int32 buf, OpenTK.Graphics.OpenGL4.All src, OpenTK.Graphics.OpenGL4.All dst); /// [requires: ARB_draw_buffers_blend] /// Specify pixel arithmetic @@ -212,18 +837,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "", EntryPoint = "glBlendFunciARB")] - public static - void BlendFunc(UInt32 buf, OpenTK.Graphics.OpenGL4.All src, OpenTK.Graphics.OpenGL4.All dst) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFunciARB((UInt32)buf, (OpenTK.Graphics.OpenGL4.All)src, (OpenTK.Graphics.OpenGL4.All)dst); - #if DEBUG - } - #endif - } + public static extern void BlendFunc(UInt32 buf, OpenTK.Graphics.OpenGL4.All src, OpenTK.Graphics.OpenGL4.All dst); /// [requires: ARB_draw_buffers_blend] /// Specify pixel arithmetic for RGB and alpha components separately @@ -254,18 +868,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "", EntryPoint = "glBlendFuncSeparateiARB")] - public static - void BlendFuncSeparate(Int32 buf, OpenTK.Graphics.OpenGL4.All srcRGB, OpenTK.Graphics.OpenGL4.All dstRGB, OpenTK.Graphics.OpenGL4.All srcAlpha, OpenTK.Graphics.OpenGL4.All dstAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFuncSeparateiARB((UInt32)buf, (OpenTK.Graphics.OpenGL4.All)srcRGB, (OpenTK.Graphics.OpenGL4.All)dstRGB, (OpenTK.Graphics.OpenGL4.All)srcAlpha, (OpenTK.Graphics.OpenGL4.All)dstAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendFuncSeparate(Int32 buf, OpenTK.Graphics.OpenGL4.All srcRGB, OpenTK.Graphics.OpenGL4.All dstRGB, OpenTK.Graphics.OpenGL4.All srcAlpha, OpenTK.Graphics.OpenGL4.All dstAlpha); /// [requires: ARB_draw_buffers_blend] /// Specify pixel arithmetic for RGB and alpha components separately @@ -297,264 +900,63 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "", EntryPoint = "glBlendFuncSeparateiARB")] - public static - void BlendFuncSeparate(UInt32 buf, OpenTK.Graphics.OpenGL4.All srcRGB, OpenTK.Graphics.OpenGL4.All dstRGB, OpenTK.Graphics.OpenGL4.All srcAlpha, OpenTK.Graphics.OpenGL4.All dstAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFuncSeparateiARB((UInt32)buf, (OpenTK.Graphics.OpenGL4.All)srcRGB, (OpenTK.Graphics.OpenGL4.All)dstRGB, (OpenTK.Graphics.OpenGL4.All)srcAlpha, (OpenTK.Graphics.OpenGL4.All)dstAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendFuncSeparate(UInt32 buf, OpenTK.Graphics.OpenGL4.All srcRGB, OpenTK.Graphics.OpenGL4.All dstRGB, OpenTK.Graphics.OpenGL4.All srcAlpha, OpenTK.Graphics.OpenGL4.All dstAlpha); /// [requires: ARB_shading_language_include] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glCompileShaderIncludeARB")] - public static - void CompileShaderInclude(Int32 shader, Int32 count, String[] path, Int32[] length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glCompileShaderIncludeARB((UInt32)shader, (Int32)count, (String[])path, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void CompileShaderInclude(Int32 shader, Int32 count, String[] path, Int32[] length); /// [requires: ARB_shading_language_include] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glCompileShaderIncludeARB")] - public static - void CompileShaderInclude(Int32 shader, Int32 count, String[] path, ref Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glCompileShaderIncludeARB((UInt32)shader, (Int32)count, (String[])path, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void CompileShaderInclude(Int32 shader, Int32 count, String[] path, ref Int32 length); /// [requires: ARB_shading_language_include] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glCompileShaderIncludeARB")] - public static - unsafe void CompileShaderInclude(Int32 shader, Int32 count, String[] path, Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompileShaderIncludeARB((UInt32)shader, (Int32)count, (String[])path, (Int32*)length); - #if DEBUG - } - #endif - } + public static extern unsafe void CompileShaderInclude(Int32 shader, Int32 count, String[] path, Int32* length); /// [requires: ARB_shading_language_include] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glCompileShaderIncludeARB")] - public static - void CompileShaderInclude(UInt32 shader, Int32 count, String[] path, Int32[] length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glCompileShaderIncludeARB((UInt32)shader, (Int32)count, (String[])path, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void CompileShaderInclude(UInt32 shader, Int32 count, String[] path, Int32[] length); /// [requires: ARB_shading_language_include] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glCompileShaderIncludeARB")] - public static - void CompileShaderInclude(UInt32 shader, Int32 count, String[] path, ref Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glCompileShaderIncludeARB((UInt32)shader, (Int32)count, (String[])path, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void CompileShaderInclude(UInt32 shader, Int32 count, String[] path, ref Int32 length); /// [requires: ARB_shading_language_include] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glCompileShaderIncludeARB")] - public static - unsafe void CompileShaderInclude(UInt32 shader, Int32 count, String[] path, Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompileShaderIncludeARB((UInt32)shader, (Int32)count, (String[])path, (Int32*)length); - #if DEBUG - } - #endif - } + public static extern unsafe void CompileShaderInclude(UInt32 shader, Int32 count, String[] path, Int32* length); /// [requires: ARB_cl_event] [AutoGenerated(Category = "ARB_cl_event", Version = "", EntryPoint = "glCreateSyncFromCLeventARB")] - public static - IntPtr CreateSyncFromCLevent([OutAttribute] IntPtr[] context, [OutAttribute] IntPtr[] @event, Int32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (IntPtr* context_ptr = context) - fixed (IntPtr* @event_ptr = @event) - { - return Delegates.glCreateSyncFromCLeventARB((IntPtr*)context_ptr, (IntPtr*)@event_ptr, (UInt32)flags); - } - } - #if DEBUG - } - #endif - } + public static extern IntPtr CreateSyncFromCLevent([OutAttribute] IntPtr[] context, [OutAttribute] IntPtr[] @event, Int32 flags); /// [requires: ARB_cl_event] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_cl_event", Version = "", EntryPoint = "glCreateSyncFromCLeventARB")] - public static - IntPtr CreateSyncFromCLevent([OutAttribute] IntPtr[] context, [OutAttribute] IntPtr[] @event, UInt32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (IntPtr* context_ptr = context) - fixed (IntPtr* @event_ptr = @event) - { - return Delegates.glCreateSyncFromCLeventARB((IntPtr*)context_ptr, (IntPtr*)@event_ptr, (UInt32)flags); - } - } - #if DEBUG - } - #endif - } + public static extern IntPtr CreateSyncFromCLevent([OutAttribute] IntPtr[] context, [OutAttribute] IntPtr[] @event, UInt32 flags); /// [requires: ARB_cl_event] [AutoGenerated(Category = "ARB_cl_event", Version = "", EntryPoint = "glCreateSyncFromCLeventARB")] - public static - IntPtr CreateSyncFromCLevent([OutAttribute] out IntPtr context, [OutAttribute] out IntPtr @event, Int32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (IntPtr* context_ptr = &context) - fixed (IntPtr* @event_ptr = &@event) - { - IntPtr retval = Delegates.glCreateSyncFromCLeventARB((IntPtr*)context_ptr, (IntPtr*)@event_ptr, (UInt32)flags); - context = *context_ptr; - @event = *@event_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern IntPtr CreateSyncFromCLevent([OutAttribute] out IntPtr context, [OutAttribute] out IntPtr @event, Int32 flags); /// [requires: ARB_cl_event] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_cl_event", Version = "", EntryPoint = "glCreateSyncFromCLeventARB")] - public static - IntPtr CreateSyncFromCLevent([OutAttribute] out IntPtr context, [OutAttribute] out IntPtr @event, UInt32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (IntPtr* context_ptr = &context) - fixed (IntPtr* @event_ptr = &@event) - { - IntPtr retval = Delegates.glCreateSyncFromCLeventARB((IntPtr*)context_ptr, (IntPtr*)@event_ptr, (UInt32)flags); - context = *context_ptr; - @event = *@event_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern IntPtr CreateSyncFromCLevent([OutAttribute] out IntPtr context, [OutAttribute] out IntPtr @event, UInt32 flags); /// [requires: ARB_cl_event] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_cl_event", Version = "", EntryPoint = "glCreateSyncFromCLeventARB")] - public static - unsafe IntPtr CreateSyncFromCLevent([OutAttribute] IntPtr* context, [OutAttribute] IntPtr* @event, Int32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCreateSyncFromCLeventARB((IntPtr*)context, (IntPtr*)@event, (UInt32)flags); - #if DEBUG - } - #endif - } + public static extern unsafe IntPtr CreateSyncFromCLevent([OutAttribute] IntPtr* context, [OutAttribute] IntPtr* @event, Int32 flags); /// [requires: ARB_cl_event] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_cl_event", Version = "", EntryPoint = "glCreateSyncFromCLeventARB")] - public static - unsafe IntPtr CreateSyncFromCLevent([OutAttribute] IntPtr* context, [OutAttribute] IntPtr* @event, UInt32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCreateSyncFromCLeventARB((IntPtr*)context, (IntPtr*)@event, (UInt32)flags); - #if DEBUG - } - #endif - } + public static extern unsafe IntPtr CreateSyncFromCLevent([OutAttribute] IntPtr* context, [OutAttribute] IntPtr* @event, UInt32 flags); /// [requires: ARB_debug_output] /// Specify a callback to receive debugging messages from the GL @@ -570,18 +972,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageCallbackARB")] - public static - void DebugMessageCallback(DebugProcArb callback, IntPtr userParam) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageCallbackARB((DebugProcArb)callback, (IntPtr)userParam); - #if DEBUG - } - #endif - } + public static extern void DebugMessageCallback(DebugProcArb callback, IntPtr userParam); /// [requires: ARB_debug_output] /// Specify a callback to receive debugging messages from the GL @@ -597,27 +988,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageCallbackARB")] - public static - void DebugMessageCallback(DebugProcArb callback, [InAttribute, OutAttribute] T1[] userParam) + public static extern void DebugMessageCallback(DebugProcArb callback, [InAttribute, OutAttribute] T1[] userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallbackARB((DebugProcArb)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_debug_output] /// Specify a callback to receive debugging messages from the GL @@ -633,27 +1006,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageCallbackARB")] - public static - void DebugMessageCallback(DebugProcArb callback, [InAttribute, OutAttribute] T1[,] userParam) + public static extern void DebugMessageCallback(DebugProcArb callback, [InAttribute, OutAttribute] T1[,] userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallbackARB((DebugProcArb)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_debug_output] /// Specify a callback to receive debugging messages from the GL @@ -669,27 +1024,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageCallbackARB")] - public static - void DebugMessageCallback(DebugProcArb callback, [InAttribute, OutAttribute] T1[,,] userParam) + public static extern void DebugMessageCallback(DebugProcArb callback, [InAttribute, OutAttribute] T1[,,] userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallbackARB((DebugProcArb)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_debug_output] /// Specify a callback to receive debugging messages from the GL @@ -705,28 +1042,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageCallbackARB")] - public static - void DebugMessageCallback(DebugProcArb callback, [InAttribute, OutAttribute] ref T1 userParam) + public static extern void DebugMessageCallback(DebugProcArb callback, [InAttribute, OutAttribute] ref T1 userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallbackARB((DebugProcArb)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - userParam = (T1)userParam_ptr.Target; - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_debug_output] /// Control the reporting of debug messages in a debug context @@ -762,24 +1080,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageControlARB")] - public static - void DebugMessageControl(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, OpenTK.Graphics.OpenGL4.All severity, Int32 count, Int32[] ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glDebugMessageControlARB((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, OpenTK.Graphics.OpenGL4.All severity, Int32 count, Int32[] ids, bool enabled); /// [requires: ARB_debug_output] /// Control the reporting of debug messages in a debug context @@ -815,24 +1116,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageControlARB")] - public static - void DebugMessageControl(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, OpenTK.Graphics.OpenGL4.All severity, Int32 count, ref Int32 ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glDebugMessageControlARB((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, OpenTK.Graphics.OpenGL4.All severity, Int32 count, ref Int32 ids, bool enabled); /// [requires: ARB_debug_output] /// Control the reporting of debug messages in a debug context @@ -869,18 +1153,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageControlARB")] - public static - unsafe void DebugMessageControl(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, OpenTK.Graphics.OpenGL4.All severity, Int32 count, Int32* ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageControlARB((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - #if DEBUG - } - #endif - } + public static extern unsafe void DebugMessageControl(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, OpenTK.Graphics.OpenGL4.All severity, Int32 count, Int32* ids, bool enabled); /// [requires: ARB_debug_output] /// Control the reporting of debug messages in a debug context @@ -917,24 +1190,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageControlARB")] - public static - void DebugMessageControl(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, OpenTK.Graphics.OpenGL4.All severity, Int32 count, UInt32[] ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glDebugMessageControlARB((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, OpenTK.Graphics.OpenGL4.All severity, Int32 count, UInt32[] ids, bool enabled); /// [requires: ARB_debug_output] /// Control the reporting of debug messages in a debug context @@ -971,24 +1227,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageControlARB")] - public static - void DebugMessageControl(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, OpenTK.Graphics.OpenGL4.All severity, Int32 count, ref UInt32 ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glDebugMessageControlARB((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, OpenTK.Graphics.OpenGL4.All severity, Int32 count, ref UInt32 ids, bool enabled); /// [requires: ARB_debug_output] /// Control the reporting of debug messages in a debug context @@ -1025,18 +1264,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageControlARB")] - public static - unsafe void DebugMessageControl(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, OpenTK.Graphics.OpenGL4.All severity, Int32 count, UInt32* ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageControlARB((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - #if DEBUG - } - #endif - } + public static extern unsafe void DebugMessageControl(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, OpenTK.Graphics.OpenGL4.All severity, Int32 count, UInt32* ids, bool enabled); /// [requires: ARB_debug_output] /// Inject an application-supplied message into the debug message queue @@ -1072,18 +1300,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageInsertARB")] - public static - void DebugMessageInsert(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, Int32 id, OpenTK.Graphics.OpenGL4.All severity, Int32 length, String buf) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageInsertARB((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (UInt32)id, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)length, (String)buf); - #if DEBUG - } - #endif - } + public static extern void DebugMessageInsert(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, Int32 id, OpenTK.Graphics.OpenGL4.All severity, Int32 length, String buf); /// [requires: ARB_debug_output] /// Inject an application-supplied message into the debug message queue @@ -1120,64 +1337,20 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glDebugMessageInsertARB")] - public static - void DebugMessageInsert(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, UInt32 id, OpenTK.Graphics.OpenGL4.All severity, Int32 length, String buf) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageInsertARB((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (UInt32)id, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)length, (String)buf); - #if DEBUG - } - #endif - } + public static extern void DebugMessageInsert(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, UInt32 id, OpenTK.Graphics.OpenGL4.All severity, Int32 length, String buf); /// [requires: ARB_shading_language_include] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glDeleteNamedStringARB")] - public static - void DeleteNamedString(Int32 namelen, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteNamedStringARB((Int32)namelen, (String)name); - #if DEBUG - } - #endif - } + public static extern void DeleteNamedString(Int32 namelen, String name); /// [requires: ARB_compute_variable_group_size] [AutoGenerated(Category = "ARB_compute_variable_group_size", Version = "", EntryPoint = "glDispatchComputeGroupSizeARB")] - public static - void DispatchComputeGroupSize(Int32 num_groups_x, Int32 num_groups_y, Int32 num_groups_z, Int32 group_size_x, Int32 group_size_y, Int32 group_size_z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDispatchComputeGroupSizeARB((UInt32)num_groups_x, (UInt32)num_groups_y, (UInt32)num_groups_z, (UInt32)group_size_x, (UInt32)group_size_y, (UInt32)group_size_z); - #if DEBUG - } - #endif - } + public static extern void DispatchComputeGroupSize(Int32 num_groups_x, Int32 num_groups_y, Int32 num_groups_z, Int32 group_size_x, Int32 group_size_y, Int32 group_size_z); /// [requires: ARB_compute_variable_group_size] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_compute_variable_group_size", Version = "", EntryPoint = "glDispatchComputeGroupSizeARB")] - public static - void DispatchComputeGroupSize(UInt32 num_groups_x, UInt32 num_groups_y, UInt32 num_groups_z, UInt32 group_size_x, UInt32 group_size_y, UInt32 group_size_z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDispatchComputeGroupSizeARB((UInt32)num_groups_x, (UInt32)num_groups_y, (UInt32)num_groups_z, (UInt32)group_size_x, (UInt32)group_size_y, (UInt32)group_size_z); - #if DEBUG - } - #endif - } + public static extern void DispatchComputeGroupSize(UInt32 num_groups_x, UInt32 num_groups_y, UInt32 num_groups_z, UInt32 group_size_x, UInt32 group_size_y, UInt32 group_size_z); /// [requires: ARB_debug_output] /// Retrieve messages from the debug message log @@ -1223,28 +1396,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogARB")] - public static - Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL4.All* sources_ptr = sources) - fixed (OpenTK.Graphics.OpenGL4.All* types_ptr = types) - fixed (Int32* ids_ptr = ids) - fixed (OpenTK.Graphics.OpenGL4.All* severities_ptr = severities) - fixed (Int32* lengths_ptr = lengths) - { - return Delegates.glGetDebugMessageLogARB((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.All*)sources_ptr, (OpenTK.Graphics.OpenGL4.All*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL4.All*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog); /// [requires: ARB_debug_output] /// Retrieve messages from the debug message log @@ -1290,34 +1442,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogARB")] - public static - Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL4.All sources, [OutAttribute] out OpenTK.Graphics.OpenGL4.All types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL4.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL4.All* sources_ptr = &sources) - fixed (OpenTK.Graphics.OpenGL4.All* types_ptr = &types) - fixed (Int32* ids_ptr = &ids) - fixed (OpenTK.Graphics.OpenGL4.All* severities_ptr = &severities) - fixed (Int32* lengths_ptr = &lengths) - { - Int32 retval = Delegates.glGetDebugMessageLogARB((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.All*)sources_ptr, (OpenTK.Graphics.OpenGL4.All*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL4.All*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL4.All sources, [OutAttribute] out OpenTK.Graphics.OpenGL4.All types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL4.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog); /// [requires: ARB_debug_output] /// Retrieve messages from the debug message log @@ -1364,18 +1489,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogARB")] - public static - unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetDebugMessageLogARB((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.All*)sources, (OpenTK.Graphics.OpenGL4.All*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL4.All*)severities, (Int32*)lengths, (StringBuilder)messageLog); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); /// [requires: ARB_debug_output] /// Retrieve messages from the debug message log @@ -1422,28 +1536,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogARB")] - public static - Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL4.All* sources_ptr = sources) - fixed (OpenTK.Graphics.OpenGL4.All* types_ptr = types) - fixed (UInt32* ids_ptr = ids) - fixed (OpenTK.Graphics.OpenGL4.All* severities_ptr = severities) - fixed (Int32* lengths_ptr = lengths) - { - return Delegates.glGetDebugMessageLogARB((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.All*)sources_ptr, (OpenTK.Graphics.OpenGL4.All*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL4.All*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog); /// [requires: ARB_debug_output] /// Retrieve messages from the debug message log @@ -1490,34 +1583,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogARB")] - public static - Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL4.All sources, [OutAttribute] out OpenTK.Graphics.OpenGL4.All types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL4.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL4.All* sources_ptr = &sources) - fixed (OpenTK.Graphics.OpenGL4.All* types_ptr = &types) - fixed (UInt32* ids_ptr = &ids) - fixed (OpenTK.Graphics.OpenGL4.All* severities_ptr = &severities) - fixed (Int32* lengths_ptr = &lengths) - { - Int32 retval = Delegates.glGetDebugMessageLogARB((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.All*)sources_ptr, (OpenTK.Graphics.OpenGL4.All*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL4.All*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL4.All sources, [OutAttribute] out OpenTK.Graphics.OpenGL4.All types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL4.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog); /// [requires: ARB_debug_output] /// Retrieve messages from the debug message log @@ -1564,2332 +1630,574 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_debug_output", Version = "", EntryPoint = "glGetDebugMessageLogARB")] - public static - unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetDebugMessageLogARB((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.All*)sources, (OpenTK.Graphics.OpenGL4.All*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL4.All*)severities, (Int32*)lengths, (StringBuilder)messageLog); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetGraphicsResetStatusARB")] - public static - OpenTK.Graphics.OpenGL4.All GetGraphicsResetStatus() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetGraphicsResetStatusARB(); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.OpenGL4.All GetGraphicsResetStatus(); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetImageHandleARB")] - public static - Int64 GetImageHandle(Int32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL4.All format) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetImageHandleARB((UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL4.All)format); - #if DEBUG - } - #endif - } + public static extern Int64 GetImageHandle(Int32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL4.All format); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetImageHandleARB")] - public static - Int64 GetImageHandle(UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL4.All format) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetImageHandleARB((UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL4.All)format); - #if DEBUG - } - #endif - } + public static extern Int64 GetImageHandle(UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL4.All format); /// [requires: ARB_shading_language_include] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glGetNamedStringARB")] - public static - void GetNamedString(Int32 namelen, String name, Int32 bufSize, [OutAttribute] out Int32 stringlen, [OutAttribute] StringBuilder @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* stringlen_ptr = &stringlen) - { - Delegates.glGetNamedStringARB((Int32)namelen, (String)name, (Int32)bufSize, (Int32*)stringlen_ptr, (StringBuilder)@string); - stringlen = *stringlen_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedString(Int32 namelen, String name, Int32 bufSize, [OutAttribute] out Int32 stringlen, [OutAttribute] StringBuilder @string); /// [requires: ARB_shading_language_include] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glGetNamedStringARB")] - public static - unsafe void GetNamedString(Int32 namelen, String name, Int32 bufSize, [OutAttribute] Int32* stringlen, [OutAttribute] StringBuilder @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedStringARB((Int32)namelen, (String)name, (Int32)bufSize, (Int32*)stringlen, (StringBuilder)@string); - #if DEBUG - } - #endif - } + public static extern unsafe void GetNamedString(Int32 namelen, String name, Int32 bufSize, [OutAttribute] Int32* stringlen, [OutAttribute] StringBuilder @string); /// [requires: ARB_shading_language_include] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glGetNamedStringivARB")] - public static - void GetNamedString(Int32 namelen, String name, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetNamedStringivARB((Int32)namelen, (String)name, (OpenTK.Graphics.OpenGL4.All)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedString(Int32 namelen, String name, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] Int32[] @params); /// [requires: ARB_shading_language_include] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glGetNamedStringivARB")] - public static - void GetNamedString(Int32 namelen, String name, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetNamedStringivARB((Int32)namelen, (String)name, (OpenTK.Graphics.OpenGL4.All)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetNamedString(Int32 namelen, String name, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] out Int32 @params); /// [requires: ARB_shading_language_include] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glGetNamedStringivARB")] - public static - unsafe void GetNamedString(Int32 namelen, String name, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedStringivARB((Int32)namelen, (String)name, (OpenTK.Graphics.OpenGL4.All)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetNamedString(Int32 namelen, String name, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] Int32* @params); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnColorTableARB")] - public static - void GetnColorTable(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr table) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnColorTableARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)table); - #if DEBUG - } - #endif - } + public static extern void GetnColorTable(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr table); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnColorTableARB")] - public static - void GetnColorTable(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T4[] table) + public static extern void GetnColorTable(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T4[] table) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetnColorTableARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnColorTableARB")] - public static - void GetnColorTable(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T4[,] table) + public static extern void GetnColorTable(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T4[,] table) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetnColorTableARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnColorTableARB")] - public static - void GetnColorTable(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T4[,,] table) + public static extern void GetnColorTable(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T4[,,] table) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetnColorTableARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnColorTableARB")] - public static - void GetnColorTable(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] ref T4 table) + public static extern void GetnColorTable(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] ref T4 table) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetnColorTableARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)table_ptr.AddrOfPinnedObject()); - table = (T4)table_ptr.Target; - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnCompressedTexImageARB")] - public static - void GetnCompressedTexImage(OpenTK.Graphics.OpenGL4.All target, Int32 lod, Int32 bufSize, [OutAttribute] IntPtr img) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnCompressedTexImageARB((OpenTK.Graphics.OpenGL4.All)target, (Int32)lod, (Int32)bufSize, (IntPtr)img); - #if DEBUG - } - #endif - } + public static extern void GetnCompressedTexImage(OpenTK.Graphics.OpenGL4.All target, Int32 lod, Int32 bufSize, [OutAttribute] IntPtr img); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnCompressedTexImageARB")] - public static - void GetnCompressedTexImage(OpenTK.Graphics.OpenGL4.All target, Int32 lod, Int32 bufSize, [InAttribute, OutAttribute] T3[] img) + public static extern void GetnCompressedTexImage(OpenTK.Graphics.OpenGL4.All target, Int32 lod, Int32 bufSize, [InAttribute, OutAttribute] T3[] img) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetnCompressedTexImageARB((OpenTK.Graphics.OpenGL4.All)target, (Int32)lod, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnCompressedTexImageARB")] - public static - void GetnCompressedTexImage(OpenTK.Graphics.OpenGL4.All target, Int32 lod, Int32 bufSize, [InAttribute, OutAttribute] T3[,] img) + public static extern void GetnCompressedTexImage(OpenTK.Graphics.OpenGL4.All target, Int32 lod, Int32 bufSize, [InAttribute, OutAttribute] T3[,] img) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetnCompressedTexImageARB((OpenTK.Graphics.OpenGL4.All)target, (Int32)lod, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnCompressedTexImageARB")] - public static - void GetnCompressedTexImage(OpenTK.Graphics.OpenGL4.All target, Int32 lod, Int32 bufSize, [InAttribute, OutAttribute] T3[,,] img) + public static extern void GetnCompressedTexImage(OpenTK.Graphics.OpenGL4.All target, Int32 lod, Int32 bufSize, [InAttribute, OutAttribute] T3[,,] img) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetnCompressedTexImageARB((OpenTK.Graphics.OpenGL4.All)target, (Int32)lod, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnCompressedTexImageARB")] - public static - void GetnCompressedTexImage(OpenTK.Graphics.OpenGL4.All target, Int32 lod, Int32 bufSize, [InAttribute, OutAttribute] ref T3 img) + public static extern void GetnCompressedTexImage(OpenTK.Graphics.OpenGL4.All target, Int32 lod, Int32 bufSize, [InAttribute, OutAttribute] ref T3 img) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetnCompressedTexImageARB((OpenTK.Graphics.OpenGL4.All)target, (Int32)lod, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject()); - img = (T3)img_ptr.Target; - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnConvolutionFilterARB")] - public static - void GetnConvolutionFilter(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnConvolutionFilterARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)image); - #if DEBUG - } - #endif - } + public static extern void GetnConvolutionFilter(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr image); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnConvolutionFilterARB")] - public static - void GetnConvolutionFilter(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T4[] image) + public static extern void GetnConvolutionFilter(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T4[] image) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetnConvolutionFilterARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnConvolutionFilterARB")] - public static - void GetnConvolutionFilter(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T4[,] image) + public static extern void GetnConvolutionFilter(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T4[,] image) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetnConvolutionFilterARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnConvolutionFilterARB")] - public static - void GetnConvolutionFilter(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T4[,,] image) + public static extern void GetnConvolutionFilter(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T4[,,] image) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetnConvolutionFilterARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnConvolutionFilterARB")] - public static - void GetnConvolutionFilter(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] ref T4 image) + public static extern void GetnConvolutionFilter(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] ref T4 image) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetnConvolutionFilterARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)image_ptr.AddrOfPinnedObject()); - image = (T4)image_ptr.Target; - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnHistogramARB")] - public static - void GetnHistogram(OpenTK.Graphics.OpenGL4.All target, bool reset, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnHistogramARB((OpenTK.Graphics.OpenGL4.All)target, (bool)reset, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)values); - #if DEBUG - } - #endif - } + public static extern void GetnHistogram(OpenTK.Graphics.OpenGL4.All target, bool reset, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr values); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnHistogramARB")] - public static - void GetnHistogram(OpenTK.Graphics.OpenGL4.All target, bool reset, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T5[] values) + public static extern void GetnHistogram(OpenTK.Graphics.OpenGL4.All target, bool reset, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T5[] values) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetnHistogramARB((OpenTK.Graphics.OpenGL4.All)target, (bool)reset, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnHistogramARB")] - public static - void GetnHistogram(OpenTK.Graphics.OpenGL4.All target, bool reset, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T5[,] values) + public static extern void GetnHistogram(OpenTK.Graphics.OpenGL4.All target, bool reset, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T5[,] values) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetnHistogramARB((OpenTK.Graphics.OpenGL4.All)target, (bool)reset, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnHistogramARB")] - public static - void GetnHistogram(OpenTK.Graphics.OpenGL4.All target, bool reset, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T5[,,] values) + public static extern void GetnHistogram(OpenTK.Graphics.OpenGL4.All target, bool reset, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T5[,,] values) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetnHistogramARB((OpenTK.Graphics.OpenGL4.All)target, (bool)reset, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnHistogramARB")] - public static - void GetnHistogram(OpenTK.Graphics.OpenGL4.All target, bool reset, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] ref T5 values) + public static extern void GetnHistogram(OpenTK.Graphics.OpenGL4.All target, bool reset, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] ref T5 values) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetnHistogramARB((OpenTK.Graphics.OpenGL4.All)target, (bool)reset, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject()); - values = (T5)values_ptr.Target; - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapdvARB")] - public static - void GetnMap(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All query, Int32 bufSize, [OutAttribute] Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glGetnMapdvARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)query, (Int32)bufSize, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnMap(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All query, Int32 bufSize, [OutAttribute] Double[] v); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapdvARB")] - public static - void GetnMap(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All query, Int32 bufSize, [OutAttribute] out Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glGetnMapdvARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)query, (Int32)bufSize, (Double*)v_ptr); - v = *v_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnMap(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All query, Int32 bufSize, [OutAttribute] out Double v); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapdvARB")] - public static - unsafe void GetnMap(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All query, Int32 bufSize, [OutAttribute] Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnMapdvARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)query, (Int32)bufSize, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnMap(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All query, Int32 bufSize, [OutAttribute] Double* v); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapfvARB")] - public static - void GetnMap(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All query, Int32 bufSize, [OutAttribute] Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glGetnMapfvARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)query, (Int32)bufSize, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnMap(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All query, Int32 bufSize, [OutAttribute] Single[] v); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapfvARB")] - public static - void GetnMap(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All query, Int32 bufSize, [OutAttribute] out Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glGetnMapfvARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)query, (Int32)bufSize, (Single*)v_ptr); - v = *v_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnMap(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All query, Int32 bufSize, [OutAttribute] out Single v); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapfvARB")] - public static - unsafe void GetnMap(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All query, Int32 bufSize, [OutAttribute] Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnMapfvARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)query, (Int32)bufSize, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnMap(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All query, Int32 bufSize, [OutAttribute] Single* v); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapivARB")] - public static - void GetnMap(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All query, Int32 bufSize, [OutAttribute] Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glGetnMapivARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)query, (Int32)bufSize, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnMap(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All query, Int32 bufSize, [OutAttribute] Int32[] v); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapivARB")] - public static - void GetnMap(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All query, Int32 bufSize, [OutAttribute] out Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glGetnMapivARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)query, (Int32)bufSize, (Int32*)v_ptr); - v = *v_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnMap(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All query, Int32 bufSize, [OutAttribute] out Int32 v); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMapivARB")] - public static - unsafe void GetnMap(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All query, Int32 bufSize, [OutAttribute] Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnMapivARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)query, (Int32)bufSize, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnMap(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All query, Int32 bufSize, [OutAttribute] Int32* v); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMinmaxARB")] - public static - void GetnMinmax(OpenTK.Graphics.OpenGL4.All target, bool reset, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnMinmaxARB((OpenTK.Graphics.OpenGL4.All)target, (bool)reset, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)values); - #if DEBUG - } - #endif - } + public static extern void GetnMinmax(OpenTK.Graphics.OpenGL4.All target, bool reset, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr values); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMinmaxARB")] - public static - void GetnMinmax(OpenTK.Graphics.OpenGL4.All target, bool reset, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T5[] values) + public static extern void GetnMinmax(OpenTK.Graphics.OpenGL4.All target, bool reset, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T5[] values) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetnMinmaxARB((OpenTK.Graphics.OpenGL4.All)target, (bool)reset, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMinmaxARB")] - public static - void GetnMinmax(OpenTK.Graphics.OpenGL4.All target, bool reset, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T5[,] values) + public static extern void GetnMinmax(OpenTK.Graphics.OpenGL4.All target, bool reset, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T5[,] values) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetnMinmaxARB((OpenTK.Graphics.OpenGL4.All)target, (bool)reset, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMinmaxARB")] - public static - void GetnMinmax(OpenTK.Graphics.OpenGL4.All target, bool reset, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T5[,,] values) + public static extern void GetnMinmax(OpenTK.Graphics.OpenGL4.All target, bool reset, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T5[,,] values) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetnMinmaxARB((OpenTK.Graphics.OpenGL4.All)target, (bool)reset, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnMinmaxARB")] - public static - void GetnMinmax(OpenTK.Graphics.OpenGL4.All target, bool reset, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] ref T5 values) + public static extern void GetnMinmax(OpenTK.Graphics.OpenGL4.All target, bool reset, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] ref T5 values) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetnMinmaxARB((OpenTK.Graphics.OpenGL4.All)target, (bool)reset, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)values_ptr.AddrOfPinnedObject()); - values = (T5)values_ptr.Target; - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapfvARB")] - public static - void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] Single[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* values_ptr = values) - { - Delegates.glGetnPixelMapfvARB((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (Single*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] Single[] values); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapfvARB")] - public static - void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] out Single values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* values_ptr = &values) - { - Delegates.glGetnPixelMapfvARB((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (Single*)values_ptr); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] out Single values); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapfvARB")] - public static - unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] Single* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnPixelMapfvARB((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (Single*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] Single* values); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapuivARB")] - public static - void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] Int32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* values_ptr = values) - { - Delegates.glGetnPixelMapuivARB((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (UInt32*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] Int32[] values); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapuivARB")] - public static - void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] out Int32 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* values_ptr = &values) - { - Delegates.glGetnPixelMapuivARB((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (UInt32*)values_ptr); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] out Int32 values); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapuivARB")] - public static - unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] Int32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnPixelMapuivARB((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (UInt32*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] Int32* values); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapuivARB")] - public static - void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] UInt32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* values_ptr = values) - { - Delegates.glGetnPixelMapuivARB((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (UInt32*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] UInt32[] values); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapuivARB")] - public static - void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] out UInt32 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* values_ptr = &values) - { - Delegates.glGetnPixelMapuivARB((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (UInt32*)values_ptr); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] out UInt32 values); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapuivARB")] - public static - unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] UInt32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnPixelMapuivARB((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (UInt32*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] UInt32* values); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapusvARB")] - public static - void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] Int16[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* values_ptr = values) - { - Delegates.glGetnPixelMapusvARB((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (UInt16*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] Int16[] values); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapusvARB")] - public static - void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] out Int16 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* values_ptr = &values) - { - Delegates.glGetnPixelMapusvARB((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (UInt16*)values_ptr); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] out Int16 values); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapusvARB")] - public static - unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] Int16* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnPixelMapusvARB((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (UInt16*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] Int16* values); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapusvARB")] - public static - void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] UInt16[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* values_ptr = values) - { - Delegates.glGetnPixelMapusvARB((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (UInt16*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] UInt16[] values); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapusvARB")] - public static - void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] out UInt16 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* values_ptr = &values) - { - Delegates.glGetnPixelMapusvARB((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (UInt16*)values_ptr); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] out UInt16 values); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPixelMapusvARB")] - public static - unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] UInt16* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnPixelMapusvARB((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (UInt16*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnPixelMap(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] UInt16* values); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPolygonStippleARB")] - public static - Byte GetnPolygonStipple() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 bufSize = 1; - Byte retval; - Byte* pattern_ptr = &retval; - Delegates.glGetnPolygonStippleARB((Int32)bufSize, (Byte*)pattern_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Byte GetnPolygonStipple(); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPolygonStippleARB")] - public static - void GetnPolygonStipple(Int32 bufSize, [OutAttribute] Byte[] pattern) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* pattern_ptr = pattern) - { - Delegates.glGetnPolygonStippleARB((Int32)bufSize, (Byte*)pattern_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnPolygonStipple(Int32 bufSize, [OutAttribute] Byte[] pattern); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPolygonStippleARB")] - public static - void GetnPolygonStipple(Int32 bufSize, [OutAttribute] out Byte pattern) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* pattern_ptr = &pattern) - { - Delegates.glGetnPolygonStippleARB((Int32)bufSize, (Byte*)pattern_ptr); - pattern = *pattern_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnPolygonStipple(Int32 bufSize, [OutAttribute] out Byte pattern); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnPolygonStippleARB")] - public static - unsafe void GetnPolygonStipple(Int32 bufSize, [OutAttribute] Byte* pattern) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnPolygonStippleARB((Int32)bufSize, (Byte*)pattern); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnPolygonStipple(Int32 bufSize, [OutAttribute] Byte* pattern); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnSeparableFilterARB")] - public static - void GetnSeparableFilter(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 rowBufSize, [OutAttribute] IntPtr row, Int32 columnBufSize, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnSeparableFilterARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)rowBufSize, (IntPtr)row, (Int32)columnBufSize, (IntPtr)column, (IntPtr)span); - #if DEBUG - } - #endif - } + public static extern void GetnSeparableFilter(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 rowBufSize, [OutAttribute] IntPtr row, Int32 columnBufSize, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnSeparableFilterARB")] - public static - void GetnSeparableFilter(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 rowBufSize, [InAttribute, OutAttribute] T4[] row, Int32 columnBufSize, [InAttribute, OutAttribute] T6[] column, [InAttribute, OutAttribute] T7[] span) + public static extern void GetnSeparableFilter(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 rowBufSize, [InAttribute, OutAttribute] T4[] row, Int32 columnBufSize, [InAttribute, OutAttribute] T6[] column, [InAttribute, OutAttribute] T7[] span) where T4 : struct where T6 : struct where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetnSeparableFilterARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)rowBufSize, (IntPtr)row_ptr.AddrOfPinnedObject(), (Int32)columnBufSize, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnSeparableFilterARB")] - public static - void GetnSeparableFilter(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 rowBufSize, [InAttribute, OutAttribute] T4[,] row, Int32 columnBufSize, [InAttribute, OutAttribute] T6[,] column, [InAttribute, OutAttribute] T7[,] span) + public static extern void GetnSeparableFilter(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 rowBufSize, [InAttribute, OutAttribute] T4[,] row, Int32 columnBufSize, [InAttribute, OutAttribute] T6[,] column, [InAttribute, OutAttribute] T7[,] span) where T4 : struct where T6 : struct where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetnSeparableFilterARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)rowBufSize, (IntPtr)row_ptr.AddrOfPinnedObject(), (Int32)columnBufSize, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnSeparableFilterARB")] - public static - void GetnSeparableFilter(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 rowBufSize, [InAttribute, OutAttribute] T4[,,] row, Int32 columnBufSize, [InAttribute, OutAttribute] T6[,,] column, [InAttribute, OutAttribute] T7[,,] span) + public static extern void GetnSeparableFilter(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 rowBufSize, [InAttribute, OutAttribute] T4[,,] row, Int32 columnBufSize, [InAttribute, OutAttribute] T6[,,] column, [InAttribute, OutAttribute] T7[,,] span) where T4 : struct where T6 : struct where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetnSeparableFilterARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)rowBufSize, (IntPtr)row_ptr.AddrOfPinnedObject(), (Int32)columnBufSize, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnSeparableFilterARB")] - public static - void GetnSeparableFilter(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 rowBufSize, [InAttribute, OutAttribute] ref T4 row, Int32 columnBufSize, [InAttribute, OutAttribute] ref T6 column, [InAttribute, OutAttribute] ref T7 span) + public static extern void GetnSeparableFilter(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 rowBufSize, [InAttribute, OutAttribute] ref T4 row, Int32 columnBufSize, [InAttribute, OutAttribute] ref T6 column, [InAttribute, OutAttribute] ref T7 span) where T4 : struct where T6 : struct where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetnSeparableFilterARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)rowBufSize, (IntPtr)row_ptr.AddrOfPinnedObject(), (Int32)columnBufSize, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - row = (T4)row_ptr.Target; - column = (T6)column_ptr.Target; - span = (T7)span_ptr.Target; - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnTexImageARB")] - public static - void GetnTexImage(OpenTK.Graphics.OpenGL4.All target, Int32 level, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr img) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnTexImageARB((OpenTK.Graphics.OpenGL4.All)target, (Int32)level, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)img); - #if DEBUG - } - #endif - } + public static extern void GetnTexImage(OpenTK.Graphics.OpenGL4.All target, Int32 level, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr img); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnTexImageARB")] - public static - void GetnTexImage(OpenTK.Graphics.OpenGL4.All target, Int32 level, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T5[] img) + public static extern void GetnTexImage(OpenTK.Graphics.OpenGL4.All target, Int32 level, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T5[] img) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetnTexImageARB((OpenTK.Graphics.OpenGL4.All)target, (Int32)level, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnTexImageARB")] - public static - void GetnTexImage(OpenTK.Graphics.OpenGL4.All target, Int32 level, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T5[,] img) + public static extern void GetnTexImage(OpenTK.Graphics.OpenGL4.All target, Int32 level, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T5[,] img) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetnTexImageARB((OpenTK.Graphics.OpenGL4.All)target, (Int32)level, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnTexImageARB")] - public static - void GetnTexImage(OpenTK.Graphics.OpenGL4.All target, Int32 level, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T5[,,] img) + public static extern void GetnTexImage(OpenTK.Graphics.OpenGL4.All target, Int32 level, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T5[,,] img) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetnTexImageARB((OpenTK.Graphics.OpenGL4.All)target, (Int32)level, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnTexImageARB")] - public static - void GetnTexImage(OpenTK.Graphics.OpenGL4.All target, Int32 level, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] ref T5 img) + public static extern void GetnTexImage(OpenTK.Graphics.OpenGL4.All target, Int32 level, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] ref T5 img) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetnTexImageARB((OpenTK.Graphics.OpenGL4.All)target, (Int32)level, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)img_ptr.AddrOfPinnedObject()); - img = (T5)img_ptr.Target; - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformdvARB")] - public static - void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetnUniformdvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Double[] @params); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformdvARB")] - public static - void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetnUniformdvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] out Double @params); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformdvARB")] - public static - unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnUniformdvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Double* @params); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformdvARB")] - public static - void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetnUniformdvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Double[] @params); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformdvARB")] - public static - void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetnUniformdvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] out Double @params); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformdvARB")] - public static - unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnUniformdvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Double* @params); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformfvARB")] - public static - void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetnUniformfvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Single[] @params); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformfvARB")] - public static - void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetnUniformfvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] out Single @params); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformfvARB")] - public static - unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnUniformfvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformfvARB")] - public static - void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetnUniformfvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single[] @params); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformfvARB")] - public static - void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetnUniformfvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] out Single @params); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformfvARB")] - public static - unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnUniformfvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformivARB")] - public static - void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetnUniformivARB((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32[] @params); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformivARB")] - public static - void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetnUniformivARB((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] out Int32 @params); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformivARB")] - public static - unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnUniformivARB((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformivARB")] - public static - void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetnUniformivARB((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32[] @params); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformivARB")] - public static - void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetnUniformivARB((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] out Int32 @params); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformivARB")] - public static - unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnUniformivARB((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformuivARB")] - public static - void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetnUniformuivARB((UInt32)program, (Int32)location, (Int32)bufSize, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] UInt32[] @params); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformuivARB")] - public static - void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetnUniformuivARB((UInt32)program, (Int32)location, (Int32)bufSize, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] out UInt32 @params); /// [requires: ARB_robustness] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glGetnUniformuivARB")] - public static - unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetnUniformuivARB((UInt32)program, (Int32)location, (Int32)bufSize, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] UInt32* @params); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetTextureHandleARB")] - public static - Int64 GetTextureHandle(Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetTextureHandleARB((UInt32)texture); - #if DEBUG - } - #endif - } + public static extern Int64 GetTextureHandle(Int32 texture); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetTextureHandleARB")] - public static - Int64 GetTextureHandle(UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetTextureHandleARB((UInt32)texture); - #if DEBUG - } - #endif - } + public static extern Int64 GetTextureHandle(UInt32 texture); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetTextureSamplerHandleARB")] - public static - Int64 GetTextureSamplerHandle(Int32 texture, Int32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetTextureSamplerHandleARB((UInt32)texture, (UInt32)sampler); - #if DEBUG - } - #endif - } + public static extern Int64 GetTextureSamplerHandle(Int32 texture, Int32 sampler); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetTextureSamplerHandleARB")] - public static - Int64 GetTextureSamplerHandle(UInt32 texture, UInt32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetTextureSamplerHandleARB((UInt32)texture, (UInt32)sampler); - #if DEBUG - } - #endif - } + public static extern Int64 GetTextureSamplerHandle(UInt32 texture, UInt32 sampler); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetVertexAttribLui64vARB")] - public static - void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameterArb pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetVertexAttribLui64vARB((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameterArb)pname, (UInt64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameterArb pname, [OutAttribute] Int64[] @params); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetVertexAttribLui64vARB")] - public static - void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameterArb pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetVertexAttribLui64vARB((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameterArb)pname, (UInt64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameterArb pname, [OutAttribute] out Int64 @params); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetVertexAttribLui64vARB")] - public static - unsafe void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameterArb pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribLui64vARB((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameterArb)pname, (UInt64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameterArb pname, [OutAttribute] Int64* @params); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetVertexAttribLui64vARB")] - public static - void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameterArb pname, [OutAttribute] UInt64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = @params) - { - Delegates.glGetVertexAttribLui64vARB((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameterArb)pname, (UInt64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameterArb pname, [OutAttribute] UInt64[] @params); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetVertexAttribLui64vARB")] - public static - void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameterArb pname, [OutAttribute] out UInt64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = &@params) - { - Delegates.glGetVertexAttribLui64vARB((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameterArb)pname, (UInt64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameterArb pname, [OutAttribute] out UInt64 @params); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glGetVertexAttribLui64vARB")] - public static - unsafe void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameterArb pname, [OutAttribute] UInt64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribLui64vARB((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameterArb)pname, (UInt64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameterArb pname, [OutAttribute] UInt64* @params); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glIsImageHandleResidentARB")] - public static - bool IsImageHandleResident(Int64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsImageHandleResidentARB((UInt64)handle); - #if DEBUG - } - #endif - } + public static extern bool IsImageHandleResident(Int64 handle); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glIsImageHandleResidentARB")] - public static - bool IsImageHandleResident(UInt64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsImageHandleResidentARB((UInt64)handle); - #if DEBUG - } - #endif - } + public static extern bool IsImageHandleResident(UInt64 handle); /// [requires: ARB_shading_language_include] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glIsNamedStringARB")] - public static - bool IsNamedString(Int32 namelen, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsNamedStringARB((Int32)namelen, (String)name); - #if DEBUG - } - #endif - } + public static extern bool IsNamedString(Int32 namelen, String name); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glIsTextureHandleResidentARB")] - public static - bool IsTextureHandleResident(Int64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsTextureHandleResidentARB((UInt64)handle); - #if DEBUG - } - #endif - } + public static extern bool IsTextureHandleResident(Int64 handle); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glIsTextureHandleResidentARB")] - public static - bool IsTextureHandleResident(UInt64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsTextureHandleResidentARB((UInt64)handle); - #if DEBUG - } - #endif - } + public static extern bool IsTextureHandleResident(UInt64 handle); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glMakeImageHandleNonResidentARB")] - public static - void MakeImageHandleNonResident(Int64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMakeImageHandleNonResidentARB((UInt64)handle); - #if DEBUG - } - #endif - } + public static extern void MakeImageHandleNonResident(Int64 handle); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glMakeImageHandleNonResidentARB")] - public static - void MakeImageHandleNonResident(UInt64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMakeImageHandleNonResidentARB((UInt64)handle); - #if DEBUG - } - #endif - } + public static extern void MakeImageHandleNonResident(UInt64 handle); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glMakeImageHandleResidentARB")] - public static - void MakeImageHandleResident(Int64 handle, OpenTK.Graphics.OpenGL4.All access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMakeImageHandleResidentARB((UInt64)handle, (OpenTK.Graphics.OpenGL4.All)access); - #if DEBUG - } - #endif - } + public static extern void MakeImageHandleResident(Int64 handle, OpenTK.Graphics.OpenGL4.All access); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glMakeImageHandleResidentARB")] - public static - void MakeImageHandleResident(UInt64 handle, OpenTK.Graphics.OpenGL4.All access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMakeImageHandleResidentARB((UInt64)handle, (OpenTK.Graphics.OpenGL4.All)access); - #if DEBUG - } - #endif - } + public static extern void MakeImageHandleResident(UInt64 handle, OpenTK.Graphics.OpenGL4.All access); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glMakeTextureHandleNonResidentARB")] - public static - void MakeTextureHandleNonResident(Int64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMakeTextureHandleNonResidentARB((UInt64)handle); - #if DEBUG - } - #endif - } + public static extern void MakeTextureHandleNonResident(Int64 handle); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glMakeTextureHandleNonResidentARB")] - public static - void MakeTextureHandleNonResident(UInt64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMakeTextureHandleNonResidentARB((UInt64)handle); - #if DEBUG - } - #endif - } + public static extern void MakeTextureHandleNonResident(UInt64 handle); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glMakeTextureHandleResidentARB")] - public static - void MakeTextureHandleResident(Int64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMakeTextureHandleResidentARB((UInt64)handle); - #if DEBUG - } - #endif - } + public static extern void MakeTextureHandleResident(Int64 handle); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glMakeTextureHandleResidentARB")] - public static - void MakeTextureHandleResident(UInt64 handle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMakeTextureHandleResidentARB((UInt64)handle); - #if DEBUG - } - #endif - } + public static extern void MakeTextureHandleResident(UInt64 handle); /// [requires: ARB_sample_shading] /// Specifies minimum rate at which sample shaing takes place @@ -3900,594 +2208,153 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sample_shading", Version = "", EntryPoint = "glMinSampleShadingARB")] - public static - void MinSampleShading(Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMinSampleShadingARB((Single)value); - #if DEBUG - } - #endif - } + public static extern void MinSampleShading(Single value); /// [requires: ARB_indirect_parameters] [AutoGenerated(Category = "ARB_indirect_parameters", Version = "", EntryPoint = "glMultiDrawArraysIndirectCountARB")] - public static - void MultiDrawArraysIndirectCount(OpenTK.Graphics.OpenGL4.All mode, IntPtr indirect, IntPtr drawcount, Int32 maxdrawcount, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawArraysIndirectCountARB((OpenTK.Graphics.OpenGL4.All)mode, (IntPtr)indirect, (IntPtr)drawcount, (Int32)maxdrawcount, (Int32)stride); - #if DEBUG - } - #endif - } + public static extern void MultiDrawArraysIndirectCount(OpenTK.Graphics.OpenGL4.All mode, IntPtr indirect, IntPtr drawcount, Int32 maxdrawcount, Int32 stride); /// [requires: ARB_indirect_parameters] [AutoGenerated(Category = "ARB_indirect_parameters", Version = "", EntryPoint = "glMultiDrawElementsIndirectCountARB")] - public static - void MultiDrawElementsIndirectCount(OpenTK.Graphics.OpenGL4.All mode, OpenTK.Graphics.OpenGL4.All type, IntPtr indirect, IntPtr drawcount, Int32 maxdrawcount, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawElementsIndirectCountARB((OpenTK.Graphics.OpenGL4.All)mode, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)indirect, (IntPtr)drawcount, (Int32)maxdrawcount, (Int32)stride); - #if DEBUG - } - #endif - } + public static extern void MultiDrawElementsIndirectCount(OpenTK.Graphics.OpenGL4.All mode, OpenTK.Graphics.OpenGL4.All type, IntPtr indirect, IntPtr drawcount, Int32 maxdrawcount, Int32 stride); /// [requires: ARB_shading_language_include] [AutoGenerated(Category = "ARB_shading_language_include", Version = "", EntryPoint = "glNamedStringARB")] - public static - void NamedString(OpenTK.Graphics.OpenGL4.All type, Int32 namelen, String name, Int32 stringlen, String @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedStringARB((OpenTK.Graphics.OpenGL4.All)type, (Int32)namelen, (String)name, (Int32)stringlen, (String)@string); - #if DEBUG - } - #endif - } + public static extern void NamedString(OpenTK.Graphics.OpenGL4.All type, Int32 namelen, String name, Int32 stringlen, String @string); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64ARB")] - public static - void ProgramUniformHandle(Int32 program, Int32 location, Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformHandleui64ARB((UInt32)program, (Int32)location, (UInt64)value); - #if DEBUG - } - #endif - } + public static extern void ProgramUniformHandle(Int32 program, Int32 location, Int64 value); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64ARB")] - public static - void ProgramUniformHandle(UInt32 program, Int32 location, UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformHandleui64ARB((UInt32)program, (Int32)location, (UInt64)value); - #if DEBUG - } - #endif - } + public static extern void ProgramUniformHandle(UInt32 program, Int32 location, UInt64 value); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vARB")] - public static - void ProgramUniformHandle(Int32 program, Int32 location, Int32 count, Int64[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* values_ptr = values) - { - Delegates.glProgramUniformHandleui64vARB((UInt32)program, (Int32)location, (Int32)count, (UInt64*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformHandle(Int32 program, Int32 location, Int32 count, Int64[] values); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vARB")] - public static - void ProgramUniformHandle(Int32 program, Int32 location, Int32 count, ref Int64 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* values_ptr = &values) - { - Delegates.glProgramUniformHandleui64vARB((UInt32)program, (Int32)location, (Int32)count, (UInt64*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformHandle(Int32 program, Int32 location, Int32 count, ref Int64 values); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vARB")] - public static - unsafe void ProgramUniformHandle(Int32 program, Int32 location, Int32 count, Int64* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformHandleui64vARB((UInt32)program, (Int32)location, (Int32)count, (UInt64*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformHandle(Int32 program, Int32 location, Int32 count, Int64* values); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vARB")] - public static - void ProgramUniformHandle(UInt32 program, Int32 location, Int32 count, UInt64[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* values_ptr = values) - { - Delegates.glProgramUniformHandleui64vARB((UInt32)program, (Int32)location, (Int32)count, (UInt64*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformHandle(UInt32 program, Int32 location, Int32 count, UInt64[] values); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vARB")] - public static - void ProgramUniformHandle(UInt32 program, Int32 location, Int32 count, ref UInt64 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* values_ptr = &values) - { - Delegates.glProgramUniformHandleui64vARB((UInt32)program, (Int32)location, (Int32)count, (UInt64*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformHandle(UInt32 program, Int32 location, Int32 count, ref UInt64 values); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64vARB")] - public static - unsafe void ProgramUniformHandle(UInt32 program, Int32 location, Int32 count, UInt64* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformHandleui64vARB((UInt32)program, (Int32)location, (Int32)count, (UInt64*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformHandle(UInt32 program, Int32 location, Int32 count, UInt64* values); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glReadnPixelsARB")] - public static - void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReadnPixelsARB((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr data); /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glReadnPixelsARB")] - public static - void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T7[] data) + public static extern void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T7[] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glReadnPixelsARB((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glReadnPixelsARB")] - public static - void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T7[,] data) + public static extern void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T7[,] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glReadnPixelsARB((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glReadnPixelsARB")] - public static - void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T7[,,] data) + public static extern void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] T7[,,] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glReadnPixelsARB((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_robustness] [AutoGenerated(Category = "ARB_robustness", Version = "", EntryPoint = "glReadnPixelsARB")] - public static - void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] ref T7 data) + public static extern void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [InAttribute, OutAttribute] ref T7 data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glReadnPixelsARB((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T7)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: ARB_sparse_texture] [AutoGenerated(Category = "ARB_sparse_texture", Version = "", EntryPoint = "glTexPageCommitmentARB")] - public static - void TexPageCommitment(OpenTK.Graphics.OpenGL4.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, bool resident) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexPageCommitmentARB((OpenTK.Graphics.OpenGL4.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (bool)resident); - #if DEBUG - } - #endif - } + public static extern void TexPageCommitment(OpenTK.Graphics.OpenGL4.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, bool resident); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64ARB")] - public static - void UniformHandle(Int32 location, Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformHandleui64ARB((Int32)location, (UInt64)value); - #if DEBUG - } - #endif - } + public static extern void UniformHandle(Int32 location, Int64 value); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64ARB")] - public static - void UniformHandle(Int32 location, UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformHandleui64ARB((Int32)location, (UInt64)value); - #if DEBUG - } - #endif - } + public static extern void UniformHandle(Int32 location, UInt64 value); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vARB")] - public static - void UniformHandle(Int32 location, Int32 count, Int64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = value) - { - Delegates.glUniformHandleui64vARB((Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformHandle(Int32 location, Int32 count, Int64[] value); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vARB")] - public static - void UniformHandle(Int32 location, Int32 count, ref Int64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* value_ptr = &value) - { - Delegates.glUniformHandleui64vARB((Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformHandle(Int32 location, Int32 count, ref Int64 value); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vARB")] - public static - unsafe void UniformHandle(Int32 location, Int32 count, Int64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformHandleui64vARB((Int32)location, (Int32)count, (UInt64*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformHandle(Int32 location, Int32 count, Int64* value); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vARB")] - public static - void UniformHandle(Int32 location, Int32 count, UInt64[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = value) - { - Delegates.glUniformHandleui64vARB((Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformHandle(Int32 location, Int32 count, UInt64[] value); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vARB")] - public static - void UniformHandle(Int32 location, Int32 count, ref UInt64 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* value_ptr = &value) - { - Delegates.glUniformHandleui64vARB((Int32)location, (Int32)count, (UInt64*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformHandle(Int32 location, Int32 count, ref UInt64 value); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glUniformHandleui64vARB")] - public static - unsafe void UniformHandle(Int32 location, Int32 count, UInt64* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformHandleui64vARB((Int32)location, (Int32)count, (UInt64*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformHandle(Int32 location, Int32 count, UInt64* value); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glVertexAttribL1ui64ARB")] - public static - void VertexAttribL1(Int32 index, Int64 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL1ui64ARB((UInt32)index, (UInt64)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL1(Int32 index, Int64 x); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glVertexAttribL1ui64ARB")] - public static - void VertexAttribL1(UInt32 index, UInt64 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL1ui64ARB((UInt32)index, (UInt64)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL1(UInt32 index, UInt64 x); /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glVertexAttribL1ui64vARB")] - public static - void VertexAttribL1(Int32 index, Int64[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* v_ptr = v) - { - Delegates.glVertexAttribL1ui64vARB((UInt32)index, (UInt64*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL1(Int32 index, Int64[] v); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glVertexAttribL1ui64vARB")] - public static - unsafe void VertexAttribL1(Int32 index, Int64* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL1ui64vARB((UInt32)index, (UInt64*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL1(Int32 index, Int64* v); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glVertexAttribL1ui64vARB")] - public static - void VertexAttribL1(UInt32 index, UInt64[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* v_ptr = v) - { - Delegates.glVertexAttribL1ui64vARB((UInt32)index, (UInt64*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL1(UInt32 index, UInt64[] v); /// [requires: ARB_bindless_texture] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glVertexAttribL1ui64vARB")] - public static - unsafe void VertexAttribL1(UInt32 index, UInt64* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL1ui64vARB((UInt32)index, (UInt64*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL1(UInt32 index, UInt64* v); } @@ -4505,18 +2372,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glActiveShaderProgram")] - public static - void ActiveShaderProgram(Int32 pipeline, Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glActiveShaderProgram((UInt32)pipeline, (UInt32)program); - #if DEBUG - } - #endif - } + public static extern void ActiveShaderProgram(Int32 pipeline, Int32 program); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Set the active program object for a program pipeline object @@ -4533,18 +2389,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glActiveShaderProgram")] - public static - void ActiveShaderProgram(UInt32 pipeline, UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glActiveShaderProgram((UInt32)pipeline, (UInt32)program); - #if DEBUG - } - #endif - } + public static extern void ActiveShaderProgram(UInt32 pipeline, UInt32 program); /// [requires: v1.3] /// Select active texture unit @@ -4555,18 +2400,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glActiveTexture")] - public static - void ActiveTexture(OpenTK.Graphics.OpenGL4.TextureUnit texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glActiveTexture((OpenTK.Graphics.OpenGL4.TextureUnit)texture); - #if DEBUG - } - #endif - } + public static extern void ActiveTexture(OpenTK.Graphics.OpenGL4.TextureUnit texture); /// [requires: v2.0] /// Attaches a shader object to a program object @@ -4582,18 +2416,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glAttachShader")] - public static - void AttachShader(Int32 program, Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAttachShader((UInt32)program, (UInt32)shader); - #if DEBUG - } - #endif - } + public static extern void AttachShader(Int32 program, Int32 shader); /// [requires: v2.0] /// Attaches a shader object to a program object @@ -4610,18 +2433,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glAttachShader")] - public static - void AttachShader(UInt32 program, UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAttachShader((UInt32)program, (UInt32)shader); - #if DEBUG - } - #endif - } + public static extern void AttachShader(UInt32 program, UInt32 shader); /// [requires: v3.0] /// Start conditional rendering @@ -4637,18 +2449,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBeginConditionalRender")] - public static - void BeginConditionalRender(Int32 id, OpenTK.Graphics.OpenGL4.ConditionalRenderType mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginConditionalRender((UInt32)id, (OpenTK.Graphics.OpenGL4.ConditionalRenderType)mode); - #if DEBUG - } - #endif - } + public static extern void BeginConditionalRender(Int32 id, OpenTK.Graphics.OpenGL4.ConditionalRenderType mode); /// [requires: v3.0] /// Start conditional rendering @@ -4665,18 +2466,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBeginConditionalRender")] - public static - void BeginConditionalRender(UInt32 id, OpenTK.Graphics.OpenGL4.ConditionalRenderType mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginConditionalRender((UInt32)id, (OpenTK.Graphics.OpenGL4.ConditionalRenderType)mode); - #if DEBUG - } - #endif - } + public static extern void BeginConditionalRender(UInt32 id, OpenTK.Graphics.OpenGL4.ConditionalRenderType mode); /// [requires: v1.5] /// Delimit the boundaries of a query object @@ -4692,18 +2482,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBeginQuery")] - public static - void BeginQuery(OpenTK.Graphics.OpenGL4.QueryTarget target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginQuery((OpenTK.Graphics.OpenGL4.QueryTarget)target, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BeginQuery(OpenTK.Graphics.OpenGL4.QueryTarget target, Int32 id); /// [requires: v1.5] /// Delimit the boundaries of a query object @@ -4720,18 +2499,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBeginQuery")] - public static - void BeginQuery(OpenTK.Graphics.OpenGL4.QueryTarget target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginQuery((OpenTK.Graphics.OpenGL4.QueryTarget)target, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BeginQuery(OpenTK.Graphics.OpenGL4.QueryTarget target, UInt32 id); /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Delimit the boundaries of a query object on an indexed target @@ -4752,18 +2520,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glBeginQueryIndexed")] - public static - void BeginQueryIndexed(OpenTK.Graphics.OpenGL4.QueryTarget target, Int32 index, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginQueryIndexed((OpenTK.Graphics.OpenGL4.QueryTarget)target, (UInt32)index, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BeginQueryIndexed(OpenTK.Graphics.OpenGL4.QueryTarget target, Int32 index, Int32 id); /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Delimit the boundaries of a query object on an indexed target @@ -4785,18 +2542,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glBeginQueryIndexed")] - public static - void BeginQueryIndexed(OpenTK.Graphics.OpenGL4.QueryTarget target, UInt32 index, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginQueryIndexed((OpenTK.Graphics.OpenGL4.QueryTarget)target, (UInt32)index, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BeginQueryIndexed(OpenTK.Graphics.OpenGL4.QueryTarget target, UInt32 index, UInt32 id); /// [requires: v3.0] /// Start transform feedback operation @@ -4807,18 +2553,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBeginTransformFeedback")] - public static - void BeginTransformFeedback(OpenTK.Graphics.OpenGL4.TransformFeedbackPrimitiveType primitiveMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginTransformFeedback((OpenTK.Graphics.OpenGL4.TransformFeedbackPrimitiveType)primitiveMode); - #if DEBUG - } - #endif - } + public static extern void BeginTransformFeedback(OpenTK.Graphics.OpenGL4.TransformFeedbackPrimitiveType primitiveMode); /// [requires: v2.0] /// Associates a generic vertex attribute index with a named attribute variable @@ -4839,18 +2574,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glBindAttribLocation")] - public static - void BindAttribLocation(Int32 program, Int32 index, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name); - #if DEBUG - } - #endif - } + public static extern void BindAttribLocation(Int32 program, Int32 index, String name); /// [requires: v2.0] /// Associates a generic vertex attribute index with a named attribute variable @@ -4872,18 +2596,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glBindAttribLocation")] - public static - void BindAttribLocation(UInt32 program, UInt32 index, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name); - #if DEBUG - } - #endif - } + public static extern void BindAttribLocation(UInt32 program, UInt32 index, String name); /// [requires: v1.5] /// Bind a named buffer object @@ -4899,18 +2612,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBindBuffer")] - public static - void BindBuffer(OpenTK.Graphics.OpenGL4.BufferTarget target, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBuffer((OpenTK.Graphics.OpenGL4.BufferTarget)target, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void BindBuffer(OpenTK.Graphics.OpenGL4.BufferTarget target, Int32 buffer); /// [requires: v1.5] /// Bind a named buffer object @@ -4927,18 +2629,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBindBuffer")] - public static - void BindBuffer(OpenTK.Graphics.OpenGL4.BufferTarget target, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBuffer((OpenTK.Graphics.OpenGL4.BufferTarget)target, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void BindBuffer(OpenTK.Graphics.OpenGL4.BufferTarget target, UInt32 buffer); /// [requires: v3.0] /// Bind a buffer object to an indexed buffer target @@ -4959,18 +2650,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferBase")] - public static - void BindBufferBase(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, Int32 index, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferBase((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void BindBufferBase(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, Int32 index, Int32 buffer); /// [requires: v3.0] /// Bind a buffer object to an indexed buffer target @@ -4992,18 +2672,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferBase")] - public static - void BindBufferBase(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 index, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferBase((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void BindBufferBase(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 index, UInt32 buffer); /// [requires: v3.0] /// Bind a range within a buffer object to an indexed buffer target @@ -5034,18 +2703,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferRange")] - public static - void BindBufferRange(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferRange((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } + public static extern void BindBufferRange(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size); /// [requires: v3.0] /// Bind a range within a buffer object to an indexed buffer target @@ -5077,18 +2735,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferRange")] - public static - void BindBufferRange(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferRange((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } + public static extern void BindBufferRange(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more buffer objects to a sequence of indexed buffer targets @@ -5114,24 +2761,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersBase")] - public static - void BindBuffersBase(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, Int32 first, Int32 count, Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - Delegates.glBindBuffersBase((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)first, (Int32)count, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindBuffersBase(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, Int32 first, Int32 count, Int32[] buffers); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more buffer objects to a sequence of indexed buffer targets @@ -5157,24 +2787,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersBase")] - public static - void BindBuffersBase(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, Int32 first, Int32 count, ref Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - { - Delegates.glBindBuffersBase((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)first, (Int32)count, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindBuffersBase(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, Int32 first, Int32 count, ref Int32 buffers); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more buffer objects to a sequence of indexed buffer targets @@ -5201,18 +2814,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersBase")] - public static - unsafe void BindBuffersBase(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, Int32 first, Int32 count, Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBuffersBase((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)first, (Int32)count, (UInt32*)buffers); - #if DEBUG - } - #endif - } + public static extern unsafe void BindBuffersBase(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, Int32 first, Int32 count, Int32* buffers); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more buffer objects to a sequence of indexed buffer targets @@ -5239,24 +2841,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersBase")] - public static - void BindBuffersBase(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 first, Int32 count, UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - Delegates.glBindBuffersBase((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)first, (Int32)count, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindBuffersBase(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 first, Int32 count, UInt32[] buffers); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more buffer objects to a sequence of indexed buffer targets @@ -5283,24 +2868,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersBase")] - public static - void BindBuffersBase(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 first, Int32 count, ref UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - { - Delegates.glBindBuffersBase((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)first, (Int32)count, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindBuffersBase(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 first, Int32 count, ref UInt32 buffers); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more buffer objects to a sequence of indexed buffer targets @@ -5327,18 +2895,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersBase")] - public static - unsafe void BindBuffersBase(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 first, Int32 count, UInt32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBuffersBase((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)first, (Int32)count, (UInt32*)buffers); - #if DEBUG - } - #endif - } + public static extern unsafe void BindBuffersBase(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 first, Int32 count, UInt32* buffers); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind ranges of one or more buffer objects to a sequence of indexed buffer targets @@ -5364,26 +2921,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersRange")] - public static - void BindBuffersRange(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, Int32 first, Int32 count, Int32[] buffers, IntPtr[] offsets, IntPtr[] sizes) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - fixed (IntPtr* offsets_ptr = offsets) - fixed (IntPtr* sizes_ptr = sizes) - { - Delegates.glBindBuffersRange((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)first, (Int32)count, (UInt32*)buffers_ptr, (IntPtr*)offsets_ptr, (IntPtr*)sizes_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindBuffersRange(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, Int32 first, Int32 count, Int32[] buffers, IntPtr[] offsets, IntPtr[] sizes); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind ranges of one or more buffer objects to a sequence of indexed buffer targets @@ -5409,26 +2947,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersRange")] - public static - void BindBuffersRange(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, Int32 first, Int32 count, ref Int32 buffers, ref IntPtr offsets, ref IntPtr sizes) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - fixed (IntPtr* offsets_ptr = &offsets) - fixed (IntPtr* sizes_ptr = &sizes) - { - Delegates.glBindBuffersRange((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)first, (Int32)count, (UInt32*)buffers_ptr, (IntPtr*)offsets_ptr, (IntPtr*)sizes_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindBuffersRange(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, Int32 first, Int32 count, ref Int32 buffers, ref IntPtr offsets, ref IntPtr sizes); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind ranges of one or more buffer objects to a sequence of indexed buffer targets @@ -5455,18 +2974,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersRange")] - public static - unsafe void BindBuffersRange(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, Int32 first, Int32 count, Int32* buffers, IntPtr* offsets, IntPtr* sizes) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBuffersRange((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)first, (Int32)count, (UInt32*)buffers, (IntPtr*)offsets, (IntPtr*)sizes); - #if DEBUG - } - #endif - } + public static extern unsafe void BindBuffersRange(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, Int32 first, Int32 count, Int32* buffers, IntPtr* offsets, IntPtr* sizes); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind ranges of one or more buffer objects to a sequence of indexed buffer targets @@ -5493,26 +3001,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersRange")] - public static - void BindBuffersRange(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 first, Int32 count, UInt32[] buffers, IntPtr[] offsets, IntPtr[] sizes) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - fixed (IntPtr* offsets_ptr = offsets) - fixed (IntPtr* sizes_ptr = sizes) - { - Delegates.glBindBuffersRange((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)first, (Int32)count, (UInt32*)buffers_ptr, (IntPtr*)offsets_ptr, (IntPtr*)sizes_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindBuffersRange(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 first, Int32 count, UInt32[] buffers, IntPtr[] offsets, IntPtr[] sizes); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind ranges of one or more buffer objects to a sequence of indexed buffer targets @@ -5539,26 +3028,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersRange")] - public static - void BindBuffersRange(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 first, Int32 count, ref UInt32 buffers, ref IntPtr offsets, ref IntPtr sizes) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - fixed (IntPtr* offsets_ptr = &offsets) - fixed (IntPtr* sizes_ptr = &sizes) - { - Delegates.glBindBuffersRange((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)first, (Int32)count, (UInt32*)buffers_ptr, (IntPtr*)offsets_ptr, (IntPtr*)sizes_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindBuffersRange(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 first, Int32 count, ref UInt32 buffers, ref IntPtr offsets, ref IntPtr sizes); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind ranges of one or more buffer objects to a sequence of indexed buffer targets @@ -5585,18 +3055,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindBuffersRange")] - public static - unsafe void BindBuffersRange(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 first, Int32 count, UInt32* buffers, IntPtr* offsets, IntPtr* sizes) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBuffersRange((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)first, (Int32)count, (UInt32*)buffers, (IntPtr*)offsets, (IntPtr*)sizes); - #if DEBUG - } - #endif - } + public static extern unsafe void BindBuffersRange(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 first, Int32 count, UInt32* buffers, IntPtr* offsets, IntPtr* sizes); /// [requires: v3.0] /// Bind a user-defined varying out variable to a fragment shader color number @@ -5617,18 +3076,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindFragDataLocation")] - public static - void BindFragDataLocation(Int32 program, Int32 color, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFragDataLocation((UInt32)program, (UInt32)color, (String)name); - #if DEBUG - } - #endif - } + public static extern void BindFragDataLocation(Int32 program, Int32 color, String name); /// [requires: v3.0] /// Bind a user-defined varying out variable to a fragment shader color number @@ -5650,18 +3098,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindFragDataLocation")] - public static - void BindFragDataLocation(UInt32 program, UInt32 color, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFragDataLocation((UInt32)program, (UInt32)color, (String)name); - #if DEBUG - } - #endif - } + public static extern void BindFragDataLocation(UInt32 program, UInt32 color, String name); /// [requires: v3.3 and ARB_blend_func_extended|VERSION_3_3] /// Bind a user-defined varying out variable to a fragment shader color number and index @@ -5687,18 +3124,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_blend_func_extended|VERSION_3_3", Version = "3.3", EntryPoint = "glBindFragDataLocationIndexed")] - public static - void BindFragDataLocationIndexed(Int32 program, Int32 colorNumber, Int32 index, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFragDataLocationIndexed((UInt32)program, (UInt32)colorNumber, (UInt32)index, (String)name); - #if DEBUG - } - #endif - } + public static extern void BindFragDataLocationIndexed(Int32 program, Int32 colorNumber, Int32 index, String name); /// [requires: v3.3 and ARB_blend_func_extended|VERSION_3_3] /// Bind a user-defined varying out variable to a fragment shader color number and index @@ -5725,18 +3151,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_blend_func_extended|VERSION_3_3", Version = "3.3", EntryPoint = "glBindFragDataLocationIndexed")] - public static - void BindFragDataLocationIndexed(UInt32 program, UInt32 colorNumber, UInt32 index, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFragDataLocationIndexed((UInt32)program, (UInt32)colorNumber, (UInt32)index, (String)name); - #if DEBUG - } - #endif - } + public static extern void BindFragDataLocationIndexed(UInt32 program, UInt32 colorNumber, UInt32 index, String name); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Bind a framebuffer to a framebuffer target @@ -5752,18 +3167,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glBindFramebuffer")] - public static - void BindFramebuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, Int32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFramebuffer((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (UInt32)framebuffer); - #if DEBUG - } - #endif - } + public static extern void BindFramebuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, Int32 framebuffer); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Bind a framebuffer to a framebuffer target @@ -5780,18 +3184,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glBindFramebuffer")] - public static - void BindFramebuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, UInt32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFramebuffer((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (UInt32)framebuffer); - #if DEBUG - } - #endif - } + public static extern void BindFramebuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, UInt32 framebuffer); /// [requires: v4.2 and ARB_shader_image_load_store|VERSION_4_2] /// Bind a level of a texture to an image unit @@ -5832,18 +3225,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_shader_image_load_store|VERSION_4_2", Version = "4.2", EntryPoint = "glBindImageTexture")] - public static - void BindImageTexture(Int32 unit, Int32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL4.TextureAccess access, OpenTK.Graphics.OpenGL4.SizedInternalFormat format) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindImageTexture((UInt32)unit, (UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL4.TextureAccess)access, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)format); - #if DEBUG - } - #endif - } + public static extern void BindImageTexture(Int32 unit, Int32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL4.TextureAccess access, OpenTK.Graphics.OpenGL4.SizedInternalFormat format); /// [requires: v4.2 and ARB_shader_image_load_store|VERSION_4_2] /// Bind a level of a texture to an image unit @@ -5885,18 +3267,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_image_load_store|VERSION_4_2", Version = "4.2", EntryPoint = "glBindImageTexture")] - public static - void BindImageTexture(UInt32 unit, UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL4.TextureAccess access, OpenTK.Graphics.OpenGL4.SizedInternalFormat format) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindImageTexture((UInt32)unit, (UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL4.TextureAccess)access, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)format); - #if DEBUG - } - #endif - } + public static extern void BindImageTexture(UInt32 unit, UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL4.TextureAccess access, OpenTK.Graphics.OpenGL4.SizedInternalFormat format); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named texture images to a sequence of consecutive image units @@ -5917,24 +3288,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindImageTextures")] - public static - void BindImageTextures(Int32 first, Int32 count, Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - Delegates.glBindImageTextures((UInt32)first, (Int32)count, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindImageTextures(Int32 first, Int32 count, Int32[] textures); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named texture images to a sequence of consecutive image units @@ -5955,24 +3309,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindImageTextures")] - public static - void BindImageTextures(Int32 first, Int32 count, ref Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - Delegates.glBindImageTextures((UInt32)first, (Int32)count, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindImageTextures(Int32 first, Int32 count, ref Int32 textures); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named texture images to a sequence of consecutive image units @@ -5994,18 +3331,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindImageTextures")] - public static - unsafe void BindImageTextures(Int32 first, Int32 count, Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindImageTextures((UInt32)first, (Int32)count, (UInt32*)textures); - #if DEBUG - } - #endif - } + public static extern unsafe void BindImageTextures(Int32 first, Int32 count, Int32* textures); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named texture images to a sequence of consecutive image units @@ -6027,24 +3353,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindImageTextures")] - public static - void BindImageTextures(UInt32 first, Int32 count, UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - Delegates.glBindImageTextures((UInt32)first, (Int32)count, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindImageTextures(UInt32 first, Int32 count, UInt32[] textures); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named texture images to a sequence of consecutive image units @@ -6066,24 +3375,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindImageTextures")] - public static - void BindImageTextures(UInt32 first, Int32 count, ref UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - Delegates.glBindImageTextures((UInt32)first, (Int32)count, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindImageTextures(UInt32 first, Int32 count, ref UInt32 textures); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named texture images to a sequence of consecutive image units @@ -6105,18 +3397,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindImageTextures")] - public static - unsafe void BindImageTextures(UInt32 first, Int32 count, UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindImageTextures((UInt32)first, (Int32)count, (UInt32*)textures); - #if DEBUG - } - #endif - } + public static extern unsafe void BindImageTextures(UInt32 first, Int32 count, UInt32* textures); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Bind a program pipeline to the current context @@ -6127,18 +3408,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glBindProgramPipeline")] - public static - void BindProgramPipeline(Int32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindProgramPipeline((UInt32)pipeline); - #if DEBUG - } - #endif - } + public static extern void BindProgramPipeline(Int32 pipeline); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Bind a program pipeline to the current context @@ -6150,18 +3420,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glBindProgramPipeline")] - public static - void BindProgramPipeline(UInt32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindProgramPipeline((UInt32)pipeline); - #if DEBUG - } - #endif - } + public static extern void BindProgramPipeline(UInt32 pipeline); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Bind a renderbuffer to a renderbuffer target @@ -6177,18 +3436,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glBindRenderbuffer")] - public static - void BindRenderbuffer(OpenTK.Graphics.OpenGL4.RenderbufferTarget target, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindRenderbuffer((OpenTK.Graphics.OpenGL4.RenderbufferTarget)target, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void BindRenderbuffer(OpenTK.Graphics.OpenGL4.RenderbufferTarget target, Int32 renderbuffer); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Bind a renderbuffer to a renderbuffer target @@ -6205,18 +3453,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glBindRenderbuffer")] - public static - void BindRenderbuffer(OpenTK.Graphics.OpenGL4.RenderbufferTarget target, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindRenderbuffer((OpenTK.Graphics.OpenGL4.RenderbufferTarget)target, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void BindRenderbuffer(OpenTK.Graphics.OpenGL4.RenderbufferTarget target, UInt32 renderbuffer); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Bind a named sampler to a texturing target @@ -6232,18 +3469,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glBindSampler")] - public static - void BindSampler(Int32 unit, Int32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindSampler((UInt32)unit, (UInt32)sampler); - #if DEBUG - } - #endif - } + public static extern void BindSampler(Int32 unit, Int32 sampler); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Bind a named sampler to a texturing target @@ -6260,18 +3486,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glBindSampler")] - public static - void BindSampler(UInt32 unit, UInt32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindSampler((UInt32)unit, (UInt32)sampler); - #if DEBUG - } - #endif - } + public static extern void BindSampler(UInt32 unit, UInt32 sampler); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named sampler objects to a sequence of consecutive sampler units @@ -6292,24 +3507,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindSamplers")] - public static - void BindSamplers(Int32 first, Int32 count, Int32[] samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* samplers_ptr = samplers) - { - Delegates.glBindSamplers((UInt32)first, (Int32)count, (UInt32*)samplers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindSamplers(Int32 first, Int32 count, Int32[] samplers); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named sampler objects to a sequence of consecutive sampler units @@ -6330,24 +3528,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindSamplers")] - public static - void BindSamplers(Int32 first, Int32 count, ref Int32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* samplers_ptr = &samplers) - { - Delegates.glBindSamplers((UInt32)first, (Int32)count, (UInt32*)samplers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindSamplers(Int32 first, Int32 count, ref Int32 samplers); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named sampler objects to a sequence of consecutive sampler units @@ -6369,18 +3550,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindSamplers")] - public static - unsafe void BindSamplers(Int32 first, Int32 count, Int32* samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindSamplers((UInt32)first, (Int32)count, (UInt32*)samplers); - #if DEBUG - } - #endif - } + public static extern unsafe void BindSamplers(Int32 first, Int32 count, Int32* samplers); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named sampler objects to a sequence of consecutive sampler units @@ -6402,24 +3572,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindSamplers")] - public static - void BindSamplers(UInt32 first, Int32 count, UInt32[] samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* samplers_ptr = samplers) - { - Delegates.glBindSamplers((UInt32)first, (Int32)count, (UInt32*)samplers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindSamplers(UInt32 first, Int32 count, UInt32[] samplers); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named sampler objects to a sequence of consecutive sampler units @@ -6441,24 +3594,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindSamplers")] - public static - void BindSamplers(UInt32 first, Int32 count, ref UInt32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* samplers_ptr = &samplers) - { - Delegates.glBindSamplers((UInt32)first, (Int32)count, (UInt32*)samplers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindSamplers(UInt32 first, Int32 count, ref UInt32 samplers); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named sampler objects to a sequence of consecutive sampler units @@ -6480,18 +3616,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindSamplers")] - public static - unsafe void BindSamplers(UInt32 first, Int32 count, UInt32* samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindSamplers((UInt32)first, (Int32)count, (UInt32*)samplers); - #if DEBUG - } - #endif - } + public static extern unsafe void BindSamplers(UInt32 first, Int32 count, UInt32* samplers); /// [requires: v1.1] /// Bind a named texture to a texturing target @@ -6507,18 +3632,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glBindTexture")] - public static - void BindTexture(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTexture((OpenTK.Graphics.OpenGL4.TextureTarget)target, (UInt32)texture); - #if DEBUG - } - #endif - } + public static extern void BindTexture(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 texture); /// [requires: v1.1] /// Bind a named texture to a texturing target @@ -6535,18 +3649,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glBindTexture")] - public static - void BindTexture(OpenTK.Graphics.OpenGL4.TextureTarget target, UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTexture((OpenTK.Graphics.OpenGL4.TextureTarget)target, (UInt32)texture); - #if DEBUG - } - #endif - } + public static extern void BindTexture(OpenTK.Graphics.OpenGL4.TextureTarget target, UInt32 texture); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named textures to a sequence of consecutive texture units @@ -6567,24 +3670,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindTextures")] - public static - void BindTextures(Int32 first, Int32 count, Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - Delegates.glBindTextures((UInt32)first, (Int32)count, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindTextures(Int32 first, Int32 count, Int32[] textures); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named textures to a sequence of consecutive texture units @@ -6605,24 +3691,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindTextures")] - public static - void BindTextures(Int32 first, Int32 count, ref Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - Delegates.glBindTextures((UInt32)first, (Int32)count, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindTextures(Int32 first, Int32 count, ref Int32 textures); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named textures to a sequence of consecutive texture units @@ -6644,18 +3713,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindTextures")] - public static - unsafe void BindTextures(Int32 first, Int32 count, Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTextures((UInt32)first, (Int32)count, (UInt32*)textures); - #if DEBUG - } - #endif - } + public static extern unsafe void BindTextures(Int32 first, Int32 count, Int32* textures); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named textures to a sequence of consecutive texture units @@ -6677,24 +3735,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindTextures")] - public static - void BindTextures(UInt32 first, Int32 count, UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - Delegates.glBindTextures((UInt32)first, (Int32)count, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindTextures(UInt32 first, Int32 count, UInt32[] textures); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named textures to a sequence of consecutive texture units @@ -6716,24 +3757,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindTextures")] - public static - void BindTextures(UInt32 first, Int32 count, ref UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - Delegates.glBindTextures((UInt32)first, (Int32)count, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindTextures(UInt32 first, Int32 count, ref UInt32 textures); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named textures to a sequence of consecutive texture units @@ -6755,18 +3779,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindTextures")] - public static - unsafe void BindTextures(UInt32 first, Int32 count, UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTextures((UInt32)first, (Int32)count, (UInt32*)textures); - #if DEBUG - } - #endif - } + public static extern unsafe void BindTextures(UInt32 first, Int32 count, UInt32* textures); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Bind a transform feedback object @@ -6782,18 +3795,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glBindTransformFeedback")] - public static - void BindTransformFeedback(OpenTK.Graphics.OpenGL4.TransformFeedbackTarget target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTransformFeedback((OpenTK.Graphics.OpenGL4.TransformFeedbackTarget)target, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BindTransformFeedback(OpenTK.Graphics.OpenGL4.TransformFeedbackTarget target, Int32 id); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Bind a transform feedback object @@ -6810,18 +3812,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glBindTransformFeedback")] - public static - void BindTransformFeedback(OpenTK.Graphics.OpenGL4.TransformFeedbackTarget target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTransformFeedback((OpenTK.Graphics.OpenGL4.TransformFeedbackTarget)target, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void BindTransformFeedback(OpenTK.Graphics.OpenGL4.TransformFeedbackTarget target, UInt32 id); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Bind a vertex array object @@ -6832,18 +3823,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glBindVertexArray")] - public static - void BindVertexArray(Int32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindVertexArray((UInt32)array); - #if DEBUG - } - #endif - } + public static extern void BindVertexArray(Int32 array); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Bind a vertex array object @@ -6855,18 +3835,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glBindVertexArray")] - public static - void BindVertexArray(UInt32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindVertexArray((UInt32)array); - #if DEBUG - } - #endif - } + public static extern void BindVertexArray(UInt32 array); /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] /// Bind a buffer to a vertex buffer bind point @@ -6892,18 +3861,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glBindVertexBuffer")] - public static - void BindVertexBuffer(Int32 bindingindex, Int32 buffer, IntPtr offset, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindVertexBuffer((UInt32)bindingindex, (UInt32)buffer, (IntPtr)offset, (Int32)stride); - #if DEBUG - } - #endif - } + public static extern void BindVertexBuffer(Int32 bindingindex, Int32 buffer, IntPtr offset, Int32 stride); /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] /// Bind a buffer to a vertex buffer bind point @@ -6930,18 +3888,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glBindVertexBuffer")] - public static - void BindVertexBuffer(UInt32 bindingindex, UInt32 buffer, IntPtr offset, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindVertexBuffer((UInt32)bindingindex, (UInt32)buffer, (IntPtr)offset, (Int32)stride); - #if DEBUG - } - #endif - } + public static extern void BindVertexBuffer(UInt32 bindingindex, UInt32 buffer, IntPtr offset, Int32 stride); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named buffer objects to a sequence of consecutive vertex buffer binding points @@ -6972,26 +3919,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindVertexBuffers")] - public static - void BindVertexBuffers(Int32 first, Int32 count, Int32[] buffers, IntPtr[] offsets, Int32[] strides) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - fixed (IntPtr* offsets_ptr = offsets) - fixed (Int32* strides_ptr = strides) - { - Delegates.glBindVertexBuffers((UInt32)first, (Int32)count, (UInt32*)buffers_ptr, (IntPtr*)offsets_ptr, (Int32*)strides_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindVertexBuffers(Int32 first, Int32 count, Int32[] buffers, IntPtr[] offsets, Int32[] strides); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named buffer objects to a sequence of consecutive vertex buffer binding points @@ -7022,26 +3950,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindVertexBuffers")] - public static - void BindVertexBuffers(Int32 first, Int32 count, ref Int32 buffers, ref IntPtr offsets, ref Int32 strides) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - fixed (IntPtr* offsets_ptr = &offsets) - fixed (Int32* strides_ptr = &strides) - { - Delegates.glBindVertexBuffers((UInt32)first, (Int32)count, (UInt32*)buffers_ptr, (IntPtr*)offsets_ptr, (Int32*)strides_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindVertexBuffers(Int32 first, Int32 count, ref Int32 buffers, ref IntPtr offsets, ref Int32 strides); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named buffer objects to a sequence of consecutive vertex buffer binding points @@ -7073,18 +3982,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindVertexBuffers")] - public static - unsafe void BindVertexBuffers(Int32 first, Int32 count, Int32* buffers, IntPtr* offsets, Int32* strides) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindVertexBuffers((UInt32)first, (Int32)count, (UInt32*)buffers, (IntPtr*)offsets, (Int32*)strides); - #if DEBUG - } - #endif - } + public static extern unsafe void BindVertexBuffers(Int32 first, Int32 count, Int32* buffers, IntPtr* offsets, Int32* strides); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named buffer objects to a sequence of consecutive vertex buffer binding points @@ -7116,26 +4014,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindVertexBuffers")] - public static - void BindVertexBuffers(UInt32 first, Int32 count, UInt32[] buffers, IntPtr[] offsets, Int32[] strides) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - fixed (IntPtr* offsets_ptr = offsets) - fixed (Int32* strides_ptr = strides) - { - Delegates.glBindVertexBuffers((UInt32)first, (Int32)count, (UInt32*)buffers_ptr, (IntPtr*)offsets_ptr, (Int32*)strides_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindVertexBuffers(UInt32 first, Int32 count, UInt32[] buffers, IntPtr[] offsets, Int32[] strides); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named buffer objects to a sequence of consecutive vertex buffer binding points @@ -7167,26 +4046,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindVertexBuffers")] - public static - void BindVertexBuffers(UInt32 first, Int32 count, ref UInt32 buffers, ref IntPtr offsets, ref Int32 strides) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - fixed (IntPtr* offsets_ptr = &offsets) - fixed (Int32* strides_ptr = &strides) - { - Delegates.glBindVertexBuffers((UInt32)first, (Int32)count, (UInt32*)buffers_ptr, (IntPtr*)offsets_ptr, (Int32*)strides_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void BindVertexBuffers(UInt32 first, Int32 count, ref UInt32 buffers, ref IntPtr offsets, ref Int32 strides); /// [requires: v4.4 and ARB_multi_bind|VERSION_4_4] /// Bind one or more named buffer objects to a sequence of consecutive vertex buffer binding points @@ -7218,18 +4078,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_multi_bind|VERSION_4_4", Version = "4.4", EntryPoint = "glBindVertexBuffers")] - public static - unsafe void BindVertexBuffers(UInt32 first, Int32 count, UInt32* buffers, IntPtr* offsets, Int32* strides) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindVertexBuffers((UInt32)first, (Int32)count, (UInt32*)buffers, (IntPtr*)offsets, (Int32*)strides); - #if DEBUG - } - #endif - } + public static extern unsafe void BindVertexBuffers(UInt32 first, Int32 count, UInt32* buffers, IntPtr* offsets, Int32* strides); /// [requires: v1.4 and ARB_imaging|VERSION_1_4] /// Set the blend color @@ -7240,18 +4089,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging|VERSION_1_4", Version = "1.4", EntryPoint = "glBlendColor")] - public static - void BlendColor(Single red, Single green, Single blue, Single alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendColor((Single)red, (Single)green, (Single)blue, (Single)alpha); - #if DEBUG - } - #endif - } + public static extern void BlendColor(Single red, Single green, Single blue, Single alpha); /// [requires: v1.4 and ARB_imaging|VERSION_1_4] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -7267,18 +4105,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging|VERSION_1_4", Version = "1.4", EntryPoint = "glBlendEquation")] - public static - void BlendEquation(OpenTK.Graphics.OpenGL4.BlendEquationMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquation((OpenTK.Graphics.OpenGL4.BlendEquationMode)mode); - #if DEBUG - } - #endif - } + public static extern void BlendEquation(OpenTK.Graphics.OpenGL4.BlendEquationMode mode); /// [requires: v4.0] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -7294,18 +4121,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendEquationi")] - public static - void BlendEquation(Int32 buf, OpenTK.Graphics.OpenGL4.BlendEquationMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationi((UInt32)buf, (OpenTK.Graphics.OpenGL4.BlendEquationMode)mode); - #if DEBUG - } - #endif - } + public static extern void BlendEquation(Int32 buf, OpenTK.Graphics.OpenGL4.BlendEquationMode mode); /// [requires: v4.0] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation @@ -7322,18 +4138,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendEquationi")] - public static - void BlendEquation(UInt32 buf, OpenTK.Graphics.OpenGL4.BlendEquationMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationi((UInt32)buf, (OpenTK.Graphics.OpenGL4.BlendEquationMode)mode); - #if DEBUG - } - #endif - } + public static extern void BlendEquation(UInt32 buf, OpenTK.Graphics.OpenGL4.BlendEquationMode mode); /// [requires: v2.0] /// Set the RGB blend equation and the alpha blend equation separately @@ -7354,18 +4159,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glBlendEquationSeparate")] - public static - void BlendEquationSeparate(OpenTK.Graphics.OpenGL4.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL4.BlendEquationMode modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationSeparate((OpenTK.Graphics.OpenGL4.BlendEquationMode)modeRGB, (OpenTK.Graphics.OpenGL4.BlendEquationMode)modeAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendEquationSeparate(OpenTK.Graphics.OpenGL4.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL4.BlendEquationMode modeAlpha); /// [requires: v4.0] /// Set the RGB blend equation and the alpha blend equation separately @@ -7386,18 +4180,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendEquationSeparatei")] - public static - void BlendEquationSeparate(Int32 buf, OpenTK.Graphics.OpenGL4.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL4.BlendEquationMode modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationSeparatei((UInt32)buf, (OpenTK.Graphics.OpenGL4.BlendEquationMode)modeRGB, (OpenTK.Graphics.OpenGL4.BlendEquationMode)modeAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendEquationSeparate(Int32 buf, OpenTK.Graphics.OpenGL4.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL4.BlendEquationMode modeAlpha); /// [requires: v4.0] /// Set the RGB blend equation and the alpha blend equation separately @@ -7419,18 +4202,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendEquationSeparatei")] - public static - void BlendEquationSeparate(UInt32 buf, OpenTK.Graphics.OpenGL4.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL4.BlendEquationMode modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationSeparatei((UInt32)buf, (OpenTK.Graphics.OpenGL4.BlendEquationMode)modeRGB, (OpenTK.Graphics.OpenGL4.BlendEquationMode)modeAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendEquationSeparate(UInt32 buf, OpenTK.Graphics.OpenGL4.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL4.BlendEquationMode modeAlpha); /// [requires: v1.0] /// Specify pixel arithmetic @@ -7451,18 +4223,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glBlendFunc")] - public static - void BlendFunc(OpenTK.Graphics.OpenGL4.BlendingFactorSrc sfactor, OpenTK.Graphics.OpenGL4.BlendingFactorDest dfactor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFunc((OpenTK.Graphics.OpenGL4.BlendingFactorSrc)sfactor, (OpenTK.Graphics.OpenGL4.BlendingFactorDest)dfactor); - #if DEBUG - } - #endif - } + public static extern void BlendFunc(OpenTK.Graphics.OpenGL4.BlendingFactorSrc sfactor, OpenTK.Graphics.OpenGL4.BlendingFactorDest dfactor); /// [requires: v4.0] /// Specify pixel arithmetic @@ -7483,18 +4244,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendFunci")] - public static - void BlendFunc(Int32 buf, OpenTK.Graphics.OpenGL4.BlendingFactorSrc src, OpenTK.Graphics.OpenGL4.BlendingFactorDest dst) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFunci((UInt32)buf, (OpenTK.Graphics.OpenGL4.BlendingFactorSrc)src, (OpenTK.Graphics.OpenGL4.BlendingFactorDest)dst); - #if DEBUG - } - #endif - } + public static extern void BlendFunc(Int32 buf, OpenTK.Graphics.OpenGL4.BlendingFactorSrc src, OpenTK.Graphics.OpenGL4.BlendingFactorDest dst); /// [requires: v4.0] /// Specify pixel arithmetic @@ -7516,18 +4266,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendFunci")] - public static - void BlendFunc(UInt32 buf, OpenTK.Graphics.OpenGL4.BlendingFactorSrc src, OpenTK.Graphics.OpenGL4.BlendingFactorDest dst) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFunci((UInt32)buf, (OpenTK.Graphics.OpenGL4.BlendingFactorSrc)src, (OpenTK.Graphics.OpenGL4.BlendingFactorDest)dst); - #if DEBUG - } - #endif - } + public static extern void BlendFunc(UInt32 buf, OpenTK.Graphics.OpenGL4.BlendingFactorSrc src, OpenTK.Graphics.OpenGL4.BlendingFactorDest dst); /// [requires: v1.4] /// Specify pixel arithmetic for RGB and alpha components separately @@ -7558,18 +4297,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glBlendFuncSeparate")] - public static - void BlendFuncSeparate(OpenTK.Graphics.OpenGL4.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.OpenGL4.BlendingFactorDest dfactorRGB, OpenTK.Graphics.OpenGL4.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.OpenGL4.BlendingFactorDest dfactorAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFuncSeparate((OpenTK.Graphics.OpenGL4.BlendingFactorSrc)sfactorRGB, (OpenTK.Graphics.OpenGL4.BlendingFactorDest)dfactorRGB, (OpenTK.Graphics.OpenGL4.BlendingFactorSrc)sfactorAlpha, (OpenTK.Graphics.OpenGL4.BlendingFactorDest)dfactorAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendFuncSeparate(OpenTK.Graphics.OpenGL4.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.OpenGL4.BlendingFactorDest dfactorRGB, OpenTK.Graphics.OpenGL4.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.OpenGL4.BlendingFactorDest dfactorAlpha); /// [requires: v4.0] /// Specify pixel arithmetic for RGB and alpha components separately @@ -7600,18 +4328,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendFuncSeparatei")] - public static - void BlendFuncSeparate(Int32 buf, OpenTK.Graphics.OpenGL4.BlendingFactorSrc srcRGB, OpenTK.Graphics.OpenGL4.BlendingFactorDest dstRGB, OpenTK.Graphics.OpenGL4.BlendingFactorSrc srcAlpha, OpenTK.Graphics.OpenGL4.BlendingFactorDest dstAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFuncSeparatei((UInt32)buf, (OpenTK.Graphics.OpenGL4.BlendingFactorSrc)srcRGB, (OpenTK.Graphics.OpenGL4.BlendingFactorDest)dstRGB, (OpenTK.Graphics.OpenGL4.BlendingFactorSrc)srcAlpha, (OpenTK.Graphics.OpenGL4.BlendingFactorDest)dstAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendFuncSeparate(Int32 buf, OpenTK.Graphics.OpenGL4.BlendingFactorSrc srcRGB, OpenTK.Graphics.OpenGL4.BlendingFactorDest dstRGB, OpenTK.Graphics.OpenGL4.BlendingFactorSrc srcAlpha, OpenTK.Graphics.OpenGL4.BlendingFactorDest dstAlpha); /// [requires: v4.0] /// Specify pixel arithmetic for RGB and alpha components separately @@ -7643,18 +4360,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glBlendFuncSeparatei")] - public static - void BlendFuncSeparate(UInt32 buf, OpenTK.Graphics.OpenGL4.BlendingFactorSrc srcRGB, OpenTK.Graphics.OpenGL4.BlendingFactorDest dstRGB, OpenTK.Graphics.OpenGL4.BlendingFactorSrc srcAlpha, OpenTK.Graphics.OpenGL4.BlendingFactorDest dstAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFuncSeparatei((UInt32)buf, (OpenTK.Graphics.OpenGL4.BlendingFactorSrc)srcRGB, (OpenTK.Graphics.OpenGL4.BlendingFactorDest)dstRGB, (OpenTK.Graphics.OpenGL4.BlendingFactorSrc)srcAlpha, (OpenTK.Graphics.OpenGL4.BlendingFactorDest)dstAlpha); - #if DEBUG - } - #endif - } + public static extern void BlendFuncSeparate(UInt32 buf, OpenTK.Graphics.OpenGL4.BlendingFactorSrc srcRGB, OpenTK.Graphics.OpenGL4.BlendingFactorDest dstRGB, OpenTK.Graphics.OpenGL4.BlendingFactorSrc srcAlpha, OpenTK.Graphics.OpenGL4.BlendingFactorDest dstAlpha); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Copy a block of pixels from the read framebuffer to the draw framebuffer @@ -7680,18 +4386,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glBlitFramebuffer")] - public static - void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL4.ClearBufferMask mask, OpenTK.Graphics.OpenGL4.BlitFramebufferFilter filter) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlitFramebuffer((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.OpenGL4.ClearBufferMask)mask, (OpenTK.Graphics.OpenGL4.BlitFramebufferFilter)filter); - #if DEBUG - } - #endif - } + public static extern void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL4.ClearBufferMask mask, OpenTK.Graphics.OpenGL4.BlitFramebufferFilter filter); /// [requires: v1.5] /// Creates and initializes a buffer object's data store @@ -7717,18 +4412,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL4.BufferUsageHint usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBufferData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.OpenGL4.BufferUsageHint)usage); - #if DEBUG - } - #endif - } + public static extern void BufferData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL4.BufferUsageHint usage); /// [requires: v1.5] /// Creates and initializes a buffer object's data store @@ -7754,27 +4438,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.OpenGL4.BufferUsageHint usage) + public static extern void BufferData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.OpenGL4.BufferUsageHint usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL4.BufferUsageHint)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.5] /// Creates and initializes a buffer object's data store @@ -7800,27 +4466,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.OpenGL4.BufferUsageHint usage) + public static extern void BufferData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.OpenGL4.BufferUsageHint usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL4.BufferUsageHint)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.5] /// Creates and initializes a buffer object's data store @@ -7846,27 +4494,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.OpenGL4.BufferUsageHint usage) + public static extern void BufferData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.OpenGL4.BufferUsageHint usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL4.BufferUsageHint)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.5] /// Creates and initializes a buffer object's data store @@ -7892,28 +4522,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.OpenGL4.BufferUsageHint usage) + public static extern void BufferData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.OpenGL4.BufferUsageHint usage) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL4.BufferUsageHint)usage); - data = (T2)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_buffer_storage|VERSION_4_4] /// Creates and initializes a buffer object's immutable data store @@ -7939,18 +4550,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_buffer_storage|VERSION_4_4", Version = "4.4", EntryPoint = "glBufferStorage")] - public static - void BufferStorage(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL4.BufferStorageFlags flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBufferStorage((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.OpenGL4.BufferStorageFlags)flags); - #if DEBUG - } - #endif - } + public static extern void BufferStorage(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL4.BufferStorageFlags flags); /// [requires: v4.4 and ARB_buffer_storage|VERSION_4_4] /// Creates and initializes a buffer object's immutable data store @@ -7976,27 +4576,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_buffer_storage|VERSION_4_4", Version = "4.4", EntryPoint = "glBufferStorage")] - public static - void BufferStorage(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.OpenGL4.BufferStorageFlags flags) + public static extern void BufferStorage(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.OpenGL4.BufferStorageFlags flags) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferStorage((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL4.BufferStorageFlags)flags); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_buffer_storage|VERSION_4_4] /// Creates and initializes a buffer object's immutable data store @@ -8022,27 +4604,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_buffer_storage|VERSION_4_4", Version = "4.4", EntryPoint = "glBufferStorage")] - public static - void BufferStorage(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.OpenGL4.BufferStorageFlags flags) + public static extern void BufferStorage(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.OpenGL4.BufferStorageFlags flags) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferStorage((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL4.BufferStorageFlags)flags); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_buffer_storage|VERSION_4_4] /// Creates and initializes a buffer object's immutable data store @@ -8068,27 +4632,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_buffer_storage|VERSION_4_4", Version = "4.4", EntryPoint = "glBufferStorage")] - public static - void BufferStorage(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.OpenGL4.BufferStorageFlags flags) + public static extern void BufferStorage(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.OpenGL4.BufferStorageFlags flags) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferStorage((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL4.BufferStorageFlags)flags); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_buffer_storage|VERSION_4_4] /// Creates and initializes a buffer object's immutable data store @@ -8114,28 +4660,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_buffer_storage|VERSION_4_4", Version = "4.4", EntryPoint = "glBufferStorage")] - public static - void BufferStorage(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.OpenGL4.BufferStorageFlags flags) + public static extern void BufferStorage(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.OpenGL4.BufferStorageFlags flags) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferStorage((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL4.BufferStorageFlags)flags); - data = (T2)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.5] /// Updates a subset of a buffer object's data store @@ -8161,18 +4688,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBufferSubData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void BufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data); /// [requires: v1.5] /// Updates a subset of a buffer object's data store @@ -8198,27 +4714,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) + public static extern void BufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.5] /// Updates a subset of a buffer object's data store @@ -8244,27 +4742,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) + public static extern void BufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.5] /// Updates a subset of a buffer object's data store @@ -8290,27 +4770,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) + public static extern void BufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.5] /// Updates a subset of a buffer object's data store @@ -8336,28 +4798,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) + public static extern void BufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T3)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Check the completeness status of a framebuffer @@ -8368,18 +4811,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glCheckFramebufferStatus")] - public static - OpenTK.Graphics.OpenGL4.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.OpenGL4.FramebufferTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCheckFramebufferStatus((OpenTK.Graphics.OpenGL4.FramebufferTarget)target); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.OpenGL4.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.OpenGL4.FramebufferTarget target); /// [requires: v3.0] /// Specify whether data read via glReadPixels should be clamped @@ -8395,18 +4827,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClampColor")] - public static - void ClampColor(OpenTK.Graphics.OpenGL4.ClampColorTarget target, OpenTK.Graphics.OpenGL4.ClampColorMode clamp) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClampColor((OpenTK.Graphics.OpenGL4.ClampColorTarget)target, (OpenTK.Graphics.OpenGL4.ClampColorMode)clamp); - #if DEBUG - } - #endif - } + public static extern void ClampColor(OpenTK.Graphics.OpenGL4.ClampColorTarget target, OpenTK.Graphics.OpenGL4.ClampColorMode clamp); /// [requires: v1.0] /// Clear buffers to preset values @@ -8417,18 +4838,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glClear")] - public static - void Clear(OpenTK.Graphics.OpenGL4.ClearBufferMask mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClear((OpenTK.Graphics.OpenGL4.ClearBufferMask)mask); - #if DEBUG - } - #endif - } + public static extern void Clear(OpenTK.Graphics.OpenGL4.ClearBufferMask mask); /// [requires: v4.3 and ARB_clear_buffer_object|VERSION_4_3] /// Fill a buffer object's data store with a fixed value @@ -8464,18 +4874,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferData")] - public static - void ClearBufferData(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.All type, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearBufferData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void ClearBufferData(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.All type, IntPtr data); /// [requires: v4.3 and ARB_clear_buffer_object|VERSION_4_3] /// Fill a buffer object's data store with a fixed value @@ -8511,27 +4910,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferData")] - public static - void ClearBufferData(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.All type, [InAttribute, OutAttribute] T4[] data) + public static extern void ClearBufferData(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.All type, [InAttribute, OutAttribute] T4[] data) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearBufferData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and ARB_clear_buffer_object|VERSION_4_3] /// Fill a buffer object's data store with a fixed value @@ -8567,27 +4948,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferData")] - public static - void ClearBufferData(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.All type, [InAttribute, OutAttribute] T4[,] data) + public static extern void ClearBufferData(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.All type, [InAttribute, OutAttribute] T4[,] data) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearBufferData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and ARB_clear_buffer_object|VERSION_4_3] /// Fill a buffer object's data store with a fixed value @@ -8623,27 +4986,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferData")] - public static - void ClearBufferData(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.All type, [InAttribute, OutAttribute] T4[,,] data) + public static extern void ClearBufferData(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.All type, [InAttribute, OutAttribute] T4[,,] data) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearBufferData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and ARB_clear_buffer_object|VERSION_4_3] /// Fill a buffer object's data store with a fixed value @@ -8679,28 +5024,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferData")] - public static - void ClearBufferData(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.All type, [InAttribute, OutAttribute] ref T4 data) + public static extern void ClearBufferData(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.All type, [InAttribute, OutAttribute] ref T4 data) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearBufferData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T4)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -8731,18 +5057,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfi")] - public static - void ClearBuffer(OpenTK.Graphics.OpenGL4.ClearBufferCombined buffer, Int32 drawbuffer, Single depth, Int32 stencil) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearBufferfi((OpenTK.Graphics.OpenGL4.ClearBufferCombined)buffer, (Int32)drawbuffer, (Single)depth, (Int32)stencil); - #if DEBUG - } - #endif - } + public static extern void ClearBuffer(OpenTK.Graphics.OpenGL4.ClearBufferCombined buffer, Int32 drawbuffer, Single depth, Int32 stencil); /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -8773,24 +5088,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfv")] - public static - void ClearBuffer(OpenTK.Graphics.OpenGL4.ClearBuffer buffer, Int32 drawbuffer, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glClearBufferfv((OpenTK.Graphics.OpenGL4.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClearBuffer(OpenTK.Graphics.OpenGL4.ClearBuffer buffer, Int32 drawbuffer, Single[] value); /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -8821,24 +5119,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfv")] - public static - void ClearBuffer(OpenTK.Graphics.OpenGL4.ClearBuffer buffer, Int32 drawbuffer, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glClearBufferfv((OpenTK.Graphics.OpenGL4.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClearBuffer(OpenTK.Graphics.OpenGL4.ClearBuffer buffer, Int32 drawbuffer, ref Single value); /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -8870,18 +5151,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferfv")] - public static - unsafe void ClearBuffer(OpenTK.Graphics.OpenGL4.ClearBuffer buffer, Int32 drawbuffer, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearBufferfv((OpenTK.Graphics.OpenGL4.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ClearBuffer(OpenTK.Graphics.OpenGL4.ClearBuffer buffer, Int32 drawbuffer, Single* value); /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -8912,24 +5182,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferiv")] - public static - void ClearBuffer(OpenTK.Graphics.OpenGL4.ClearBuffer buffer, Int32 drawbuffer, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glClearBufferiv((OpenTK.Graphics.OpenGL4.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClearBuffer(OpenTK.Graphics.OpenGL4.ClearBuffer buffer, Int32 drawbuffer, Int32[] value); /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -8960,24 +5213,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferiv")] - public static - void ClearBuffer(OpenTK.Graphics.OpenGL4.ClearBuffer buffer, Int32 drawbuffer, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glClearBufferiv((OpenTK.Graphics.OpenGL4.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClearBuffer(OpenTK.Graphics.OpenGL4.ClearBuffer buffer, Int32 drawbuffer, ref Int32 value); /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -9009,18 +5245,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferiv")] - public static - unsafe void ClearBuffer(OpenTK.Graphics.OpenGL4.ClearBuffer buffer, Int32 drawbuffer, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearBufferiv((OpenTK.Graphics.OpenGL4.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ClearBuffer(OpenTK.Graphics.OpenGL4.ClearBuffer buffer, Int32 drawbuffer, Int32* value); /// [requires: v4.3 and ARB_clear_buffer_object|VERSION_4_3] /// Fill all or part of buffer object's data store with a fixed value @@ -9061,18 +5286,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferSubData")] - public static - void ClearBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.All type, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearBufferSubData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (IntPtr)offset, (IntPtr)size, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void ClearBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.All type, IntPtr data); /// [requires: v4.3 and ARB_clear_buffer_object|VERSION_4_3] /// Fill all or part of buffer object's data store with a fixed value @@ -9113,27 +5327,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferSubData")] - public static - void ClearBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.All type, [InAttribute, OutAttribute] T6[] data) + public static extern void ClearBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.All type, [InAttribute, OutAttribute] T6[] data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearBufferSubData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (IntPtr)offset, (IntPtr)size, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and ARB_clear_buffer_object|VERSION_4_3] /// Fill all or part of buffer object's data store with a fixed value @@ -9174,27 +5370,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferSubData")] - public static - void ClearBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.All type, [InAttribute, OutAttribute] T6[,] data) + public static extern void ClearBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.All type, [InAttribute, OutAttribute] T6[,] data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearBufferSubData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (IntPtr)offset, (IntPtr)size, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and ARB_clear_buffer_object|VERSION_4_3] /// Fill all or part of buffer object's data store with a fixed value @@ -9235,27 +5413,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferSubData")] - public static - void ClearBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.All type, [InAttribute, OutAttribute] T6[,,] data) + public static extern void ClearBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.All type, [InAttribute, OutAttribute] T6[,,] data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearBufferSubData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (IntPtr)offset, (IntPtr)size, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and ARB_clear_buffer_object|VERSION_4_3] /// Fill all or part of buffer object's data store with a fixed value @@ -9296,28 +5456,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glClearBufferSubData")] - public static - void ClearBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.All type, [InAttribute, OutAttribute] ref T6 data) + public static extern void ClearBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.All type, [InAttribute, OutAttribute] ref T6 data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearBufferSubData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (IntPtr)offset, (IntPtr)size, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T6)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -9349,24 +5490,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferuiv")] - public static - void ClearBuffer(OpenTK.Graphics.OpenGL4.ClearBuffer buffer, Int32 drawbuffer, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glClearBufferuiv((OpenTK.Graphics.OpenGL4.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClearBuffer(OpenTK.Graphics.OpenGL4.ClearBuffer buffer, Int32 drawbuffer, UInt32[] value); /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -9398,24 +5522,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferuiv")] - public static - void ClearBuffer(OpenTK.Graphics.OpenGL4.ClearBuffer buffer, Int32 drawbuffer, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glClearBufferuiv((OpenTK.Graphics.OpenGL4.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ClearBuffer(OpenTK.Graphics.OpenGL4.ClearBuffer buffer, Int32 drawbuffer, ref UInt32 value); /// [requires: v3.0] /// Clear individual buffers of the currently bound draw framebuffer @@ -9447,18 +5554,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glClearBufferuiv")] - public static - unsafe void ClearBuffer(OpenTK.Graphics.OpenGL4.ClearBuffer buffer, Int32 drawbuffer, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearBufferuiv((OpenTK.Graphics.OpenGL4.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ClearBuffer(OpenTK.Graphics.OpenGL4.ClearBuffer buffer, Int32 drawbuffer, UInt32* value); /// [requires: v1.0] /// Specify clear values for the color buffers @@ -9469,18 +5565,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glClearColor")] - public static - void ClearColor(Single red, Single green, Single blue, Single alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearColor((Single)red, (Single)green, (Single)blue, (Single)alpha); - #if DEBUG - } - #endif - } + public static extern void ClearColor(Single red, Single green, Single blue, Single alpha); /// [requires: v1.0] /// Specify the clear value for the depth buffer @@ -9491,18 +5576,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glClearDepth")] - public static - void ClearDepth(Double depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearDepth((Double)depth); - #if DEBUG - } - #endif - } + public static extern void ClearDepth(Double depth); /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Specify the clear value for the depth buffer @@ -9513,18 +5587,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glClearDepthf")] - public static - void ClearDepth(Single d) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearDepthf((Single)d); - #if DEBUG - } - #endif - } + public static extern void ClearDepth(Single d); /// [requires: v1.0] /// Specify the clear value for the stencil buffer @@ -9535,18 +5598,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glClearStencil")] - public static - void ClearStencil(Int32 s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearStencil((Int32)s); - #if DEBUG - } - #endif - } + public static extern void ClearStencil(Int32 s); /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all a texture image with a constant value @@ -9577,18 +5629,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static - void ClearTexImage(Int32 texture, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearTexImage((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void ClearTexImage(Int32 texture, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr data); /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all a texture image with a constant value @@ -9619,27 +5660,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static - void ClearTexImage(Int32 texture, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T4[] data) + public static extern void ClearTexImage(Int32 texture, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T4[] data) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearTexImage((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all a texture image with a constant value @@ -9670,27 +5693,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static - void ClearTexImage(Int32 texture, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T4[,] data) + public static extern void ClearTexImage(Int32 texture, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T4[,] data) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearTexImage((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all a texture image with a constant value @@ -9721,27 +5726,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static - void ClearTexImage(Int32 texture, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T4[,,] data) + public static extern void ClearTexImage(Int32 texture, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T4[,,] data) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearTexImage((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all a texture image with a constant value @@ -9772,28 +5759,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static - void ClearTexImage(Int32 texture, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T4 data) + public static extern void ClearTexImage(Int32 texture, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T4 data) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearTexImage((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T4)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all a texture image with a constant value @@ -9825,18 +5793,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static - void ClearTexImage(UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearTexImage((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void ClearTexImage(UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr data); /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all a texture image with a constant value @@ -9868,27 +5825,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static - void ClearTexImage(UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T4[] data) + public static extern void ClearTexImage(UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T4[] data) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearTexImage((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all a texture image with a constant value @@ -9920,27 +5859,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static - void ClearTexImage(UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T4[,] data) + public static extern void ClearTexImage(UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T4[,] data) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearTexImage((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all a texture image with a constant value @@ -9972,27 +5893,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static - void ClearTexImage(UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T4[,,] data) + public static extern void ClearTexImage(UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T4[,,] data) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearTexImage((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all a texture image with a constant value @@ -10024,28 +5927,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexImage")] - public static - void ClearTexImage(UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T4 data) + public static extern void ClearTexImage(UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T4 data) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearTexImage((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T4)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all or part of a texture image with a constant value @@ -10106,18 +5990,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static - void ClearTexSubImage(Int32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearTexSubImage((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void ClearTexSubImage(Int32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr data); /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all or part of a texture image with a constant value @@ -10178,27 +6051,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static - void ClearTexSubImage(Int32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T10[] data) + public static extern void ClearTexSubImage(Int32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T10[] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearTexSubImage((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all or part of a texture image with a constant value @@ -10259,27 +6114,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static - void ClearTexSubImage(Int32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T10[,] data) + public static extern void ClearTexSubImage(Int32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T10[,] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearTexSubImage((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all or part of a texture image with a constant value @@ -10340,27 +6177,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static - void ClearTexSubImage(Int32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T10[,,] data) + public static extern void ClearTexSubImage(Int32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T10[,,] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearTexSubImage((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all or part of a texture image with a constant value @@ -10421,28 +6240,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static - void ClearTexSubImage(Int32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T10 data) + public static extern void ClearTexSubImage(Int32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T10 data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearTexSubImage((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T10)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all or part of a texture image with a constant value @@ -10504,18 +6304,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static - void ClearTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearTexSubImage((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void ClearTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr data); /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all or part of a texture image with a constant value @@ -10577,27 +6366,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static - void ClearTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T10[] data) + public static extern void ClearTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T10[] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearTexSubImage((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all or part of a texture image with a constant value @@ -10659,27 +6430,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static - void ClearTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T10[,] data) + public static extern void ClearTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T10[,] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearTexSubImage((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all or part of a texture image with a constant value @@ -10741,27 +6494,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static - void ClearTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T10[,,] data) + public static extern void ClearTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T10[,,] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearTexSubImage((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.4 and ARB_clear_texture|VERSION_4_4] /// Fills all or part of a texture image with a constant value @@ -10823,28 +6558,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_clear_texture|VERSION_4_4", Version = "4.4", EntryPoint = "glClearTexSubImage")] - public static - void ClearTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T10 data) + public static extern void ClearTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T10 data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glClearTexSubImage((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T10)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Block and wait for a sync object to become signaled @@ -10865,18 +6581,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glClientWaitSync")] - public static - OpenTK.Graphics.OpenGL4.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.OpenGL4.ClientWaitSyncFlags flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glClientWaitSync((IntPtr)sync, (OpenTK.Graphics.OpenGL4.ClientWaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.OpenGL4.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.OpenGL4.ClientWaitSyncFlags flags, Int64 timeout); /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Block and wait for a sync object to become signaled @@ -10898,18 +6603,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glClientWaitSync")] - public static - OpenTK.Graphics.OpenGL4.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.OpenGL4.ClientWaitSyncFlags flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glClientWaitSync((IntPtr)sync, (OpenTK.Graphics.OpenGL4.ClientWaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.OpenGL4.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.OpenGL4.ClientWaitSyncFlags flags, UInt64 timeout); /// [requires: v1.0] /// Enable and disable writing of frame buffer color components @@ -10925,18 +6619,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glColorMask")] - public static - void ColorMask(bool red, bool green, bool blue, bool alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorMask((bool)red, (bool)green, (bool)blue, (bool)alpha); - #if DEBUG - } - #endif - } + public static extern void ColorMask(bool red, bool green, bool blue, bool alpha); /// [requires: v3.0] /// Enable and disable writing of frame buffer color components @@ -10952,18 +6635,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glColorMaski")] - public static - void ColorMask(Int32 index, bool r, bool g, bool b, bool a) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorMaski((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a); - #if DEBUG - } - #endif - } + public static extern void ColorMask(Int32 index, bool r, bool g, bool b, bool a); /// [requires: v3.0] /// Enable and disable writing of frame buffer color components @@ -10980,144 +6652,45 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glColorMaski")] - public static - void ColorMask(UInt32 index, bool r, bool g, bool b, bool a) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorMaski((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a); - #if DEBUG - } - #endif - } + public static extern void ColorMask(UInt32 index, bool r, bool g, bool b, bool a); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glColorP3ui")] - public static - void ColorP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorP3ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)color); - #if DEBUG - } - #endif - } + public static extern void ColorP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 color); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glColorP3ui")] - public static - void ColorP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorP3ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)color); - #if DEBUG - } - #endif - } + public static extern void ColorP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 color); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glColorP3uiv")] - public static - unsafe void ColorP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorP3uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)color); - #if DEBUG - } - #endif - } + public static extern unsafe void ColorP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* color); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glColorP3uiv")] - public static - unsafe void ColorP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorP3uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)color); - #if DEBUG - } - #endif - } + public static extern unsafe void ColorP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* color); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glColorP4ui")] - public static - void ColorP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorP4ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)color); - #if DEBUG - } - #endif - } + public static extern void ColorP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 color); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glColorP4ui")] - public static - void ColorP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorP4ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)color); - #if DEBUG - } - #endif - } + public static extern void ColorP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 color); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glColorP4uiv")] - public static - unsafe void ColorP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorP4uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)color); - #if DEBUG - } - #endif - } + public static extern unsafe void ColorP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* color); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glColorP4uiv")] - public static - unsafe void ColorP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorP4uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)color); - #if DEBUG - } - #endif - } + public static extern unsafe void ColorP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* color); /// /// Respecify a portion of a color table @@ -11153,18 +6726,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorSubTable")] - public static - void ColorSubTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorSubTable((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void ColorSubTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr data); /// /// Respecify a portion of a color table @@ -11200,27 +6762,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorSubTable")] - public static - void ColorSubTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T5[] data) + public static extern void ColorSubTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T5[] data) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glColorSubTable((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Respecify a portion of a color table @@ -11256,27 +6800,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorSubTable")] - public static - void ColorSubTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T5[,] data) + public static extern void ColorSubTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T5[,] data) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glColorSubTable((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Respecify a portion of a color table @@ -11312,27 +6838,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorSubTable")] - public static - void ColorSubTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T5[,,] data) + public static extern void ColorSubTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T5[,,] data) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glColorSubTable((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Respecify a portion of a color table @@ -11368,28 +6876,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorSubTable")] - public static - void ColorSubTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T5 data) + public static extern void ColorSubTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T5 data) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glColorSubTable((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T5)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Define a color lookup table @@ -11425,18 +6914,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTable")] - public static - void ColorTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr table) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorTable((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)table); - #if DEBUG - } - #endif - } + public static extern void ColorTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr table); /// /// Define a color lookup table @@ -11472,27 +6950,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTable")] - public static - void ColorTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T5[] table) + public static extern void ColorTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T5[] table) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTable((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Define a color lookup table @@ -11528,27 +6988,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTable")] - public static - void ColorTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T5[,] table) + public static extern void ColorTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T5[,] table) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTable((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Define a color lookup table @@ -11584,27 +7026,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTable")] - public static - void ColorTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T5[,,] table) + public static extern void ColorTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T5[,,] table) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTable((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Define a color lookup table @@ -11640,28 +7064,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTable")] - public static - void ColorTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T5 table) + public static extern void ColorTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T5 table) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTable((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - table = (T5)table_ptr.Target; - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Set color lookup table parameters @@ -11682,24 +7087,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTableParameterfv")] - public static - void ColorTableParameter(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.ColorTableParameterPName pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glColorTableParameterfv((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.ColorTableParameterPName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ColorTableParameter(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.ColorTableParameterPName pname, Single[] @params); /// /// Set color lookup table parameters @@ -11720,24 +7108,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTableParameterfv")] - public static - void ColorTableParameter(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.ColorTableParameterPName pname, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glColorTableParameterfv((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.ColorTableParameterPName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ColorTableParameter(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.ColorTableParameterPName pname, ref Single @params); /// /// Set color lookup table parameters @@ -11759,18 +7130,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTableParameterfv")] - public static - unsafe void ColorTableParameter(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.ColorTableParameterPName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorTableParameterfv((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.ColorTableParameterPName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ColorTableParameter(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.ColorTableParameterPName pname, Single* @params); /// /// Set color lookup table parameters @@ -11791,24 +7151,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTableParameteriv")] - public static - void ColorTableParameter(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.ColorTableParameterPName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glColorTableParameteriv((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.ColorTableParameterPName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ColorTableParameter(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.ColorTableParameterPName pname, Int32[] @params); /// /// Set color lookup table parameters @@ -11829,24 +7172,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTableParameteriv")] - public static - void ColorTableParameter(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.ColorTableParameterPName pname, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glColorTableParameteriv((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.ColorTableParameterPName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ColorTableParameter(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.ColorTableParameterPName pname, ref Int32 @params); /// /// Set color lookup table parameters @@ -11868,18 +7194,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glColorTableParameteriv")] - public static - unsafe void ColorTableParameter(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.ColorTableParameterPName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorTableParameteriv((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.ColorTableParameterPName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ColorTableParameter(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.ColorTableParameterPName pname, Int32* @params); /// [requires: v2.0] /// Compiles a shader object @@ -11890,18 +7205,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glCompileShader")] - public static - void CompileShader(Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompileShader((UInt32)shader); - #if DEBUG - } - #endif - } + public static extern void CompileShader(Int32 shader); /// [requires: v2.0] /// Compiles a shader object @@ -11913,18 +7217,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glCompileShader")] - public static - void CompileShader(UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompileShader((UInt32)shader); - #if DEBUG - } - #endif - } + public static extern void CompileShader(UInt32 shader); /// [requires: v1.3] /// Specify a one-dimensional texture image in a compressed format @@ -11965,18 +7258,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] - public static - void CompressedTexImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexImage1D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data); /// [requires: v1.3] /// Specify a one-dimensional texture image in a compressed format @@ -12017,27 +7299,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] - public static - void CompressedTexImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T6[] data) + public static extern void CompressedTexImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T6[] data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage1D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a one-dimensional texture image in a compressed format @@ -12078,27 +7342,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] - public static - void CompressedTexImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T6[,] data) + public static extern void CompressedTexImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T6[,] data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage1D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a one-dimensional texture image in a compressed format @@ -12139,27 +7385,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] - public static - void CompressedTexImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T6[,,] data) + public static extern void CompressedTexImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T6[,,] data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage1D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a one-dimensional texture image in a compressed format @@ -12200,28 +7428,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] - public static - void CompressedTexImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T6 data) + public static extern void CompressedTexImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T6 data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage1D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T6)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a two-dimensional texture image in a compressed format @@ -12267,18 +7476,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); /// [requires: v1.3] /// Specify a two-dimensional texture image in a compressed format @@ -12324,27 +7522,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a two-dimensional texture image in a compressed format @@ -12390,27 +7570,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a two-dimensional texture image in a compressed format @@ -12456,27 +7618,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a two-dimensional texture image in a compressed format @@ -12522,28 +7666,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data) + public static extern void CompressedTexImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T7)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a three-dimensional texture image in a compressed format @@ -12594,18 +7719,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] - public static - void CompressedTexImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexImage3D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); /// [requires: v1.3] /// Specify a three-dimensional texture image in a compressed format @@ -12656,27 +7770,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] - public static - void CompressedTexImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a three-dimensional texture image in a compressed format @@ -12727,27 +7823,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] - public static - void CompressedTexImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a three-dimensional texture image in a compressed format @@ -12798,27 +7876,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] - public static - void CompressedTexImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a three-dimensional texture image in a compressed format @@ -12869,28 +7929,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] - public static - void CompressedTexImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) + public static extern void CompressedTexImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T8)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a one-dimensional texture subimage in a compressed format @@ -12931,18 +7972,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] - public static - void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, IntPtr data); /// [requires: v1.3] /// Specify a one-dimensional texture subimage in a compressed format @@ -12983,27 +8013,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] - public static - void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T6[] data) + public static extern void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T6[] data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a one-dimensional texture subimage in a compressed format @@ -13044,27 +8056,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] - public static - void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T6[,] data) + public static extern void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T6[,] data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a one-dimensional texture subimage in a compressed format @@ -13105,27 +8099,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] - public static - void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T6[,,] data) + public static extern void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T6[,,] data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a one-dimensional texture subimage in a compressed format @@ -13166,28 +8142,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] - public static - void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T6 data) + public static extern void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T6 data) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T6)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a two-dimensional texture subimage in a compressed format @@ -13238,18 +8195,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, IntPtr data); /// [requires: v1.3] /// Specify a two-dimensional texture subimage in a compressed format @@ -13300,27 +8246,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a two-dimensional texture subimage in a compressed format @@ -13371,27 +8299,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a two-dimensional texture subimage in a compressed format @@ -13442,27 +8352,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a two-dimensional texture subimage in a compressed format @@ -13513,28 +8405,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) + public static extern void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T8)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a three-dimensional texture subimage in a compressed format @@ -13590,18 +8463,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, IntPtr data); /// [requires: v1.3] /// Specify a three-dimensional texture subimage in a compressed format @@ -13657,27 +8519,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[] data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a three-dimensional texture subimage in a compressed format @@ -13733,27 +8577,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[,] data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[,] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a three-dimensional texture subimage in a compressed format @@ -13809,27 +8635,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[,,] data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[,,] data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Specify a three-dimensional texture subimage in a compressed format @@ -13885,28 +8693,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T10 data) + public static extern void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T10 data) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T10)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Define a one-dimensional convolution filter @@ -13942,18 +8731,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter1D")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionFilter1D((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)image); - #if DEBUG - } - #endif - } + public static extern void ConvolutionFilter1D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr image); /// /// Define a one-dimensional convolution filter @@ -13989,27 +8767,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter1D")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T5[] image) + public static extern void ConvolutionFilter1D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T5[] image) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter1D((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Define a one-dimensional convolution filter @@ -14045,27 +8805,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter1D")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T5[,] image) + public static extern void ConvolutionFilter1D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T5[,] image) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter1D((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Define a one-dimensional convolution filter @@ -14101,27 +8843,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter1D")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T5[,,] image) + public static extern void ConvolutionFilter1D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T5[,,] image) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter1D((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Define a one-dimensional convolution filter @@ -14157,28 +8881,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter1D")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T5 image) + public static extern void ConvolutionFilter1D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T5 image) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter1D((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - image = (T5)image_ptr.Target; - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Define a two-dimensional convolution filter @@ -14219,18 +8924,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter2D")] - public static - void ConvolutionFilter2D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionFilter2D((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)image); - #if DEBUG - } - #endif - } + public static extern void ConvolutionFilter2D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr image); /// /// Define a two-dimensional convolution filter @@ -14271,27 +8965,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter2D")] - public static - void ConvolutionFilter2D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T6[] image) + public static extern void ConvolutionFilter2D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T6[] image) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter2D((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Define a two-dimensional convolution filter @@ -14332,27 +9008,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter2D")] - public static - void ConvolutionFilter2D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T6[,] image) + public static extern void ConvolutionFilter2D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T6[,] image) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter2D((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Define a two-dimensional convolution filter @@ -14393,27 +9051,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter2D")] - public static - void ConvolutionFilter2D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T6[,,] image) + public static extern void ConvolutionFilter2D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T6[,,] image) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter2D((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Define a two-dimensional convolution filter @@ -14454,28 +9094,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionFilter2D")] - public static - void ConvolutionFilter2D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T6 image) + public static extern void ConvolutionFilter2D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T6 image) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter2D((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - image = (T6)image_ptr.Target; - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Set convolution parameters @@ -14499,18 +9120,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionParameterf")] - public static - void ConvolutionParameter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.ConvolutionParameter pname, Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionParameterf((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.ConvolutionParameter)pname, (Single)@params); - #if DEBUG - } - #endif - } + public static extern void ConvolutionParameter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.ConvolutionParameter pname, Single @params); /// /// Set convolution parameters @@ -14534,24 +9144,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionParameterfv")] - public static - void ConvolutionParameter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.ConvolutionParameter pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glConvolutionParameterfv((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.ConvolutionParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ConvolutionParameter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.ConvolutionParameter pname, Single[] @params); /// /// Set convolution parameters @@ -14576,18 +9169,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionParameterfv")] - public static - unsafe void ConvolutionParameter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.ConvolutionParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionParameterfv((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.ConvolutionParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ConvolutionParameter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.ConvolutionParameter pname, Single* @params); /// /// Set convolution parameters @@ -14611,18 +9193,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionParameteri")] - public static - void ConvolutionParameter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.ConvolutionParameter pname, Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionParameteri((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.ConvolutionParameter)pname, (Int32)@params); - #if DEBUG - } - #endif - } + public static extern void ConvolutionParameter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.ConvolutionParameter pname, Int32 @params); /// /// Set convolution parameters @@ -14646,24 +9217,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionParameteriv")] - public static - void ConvolutionParameter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.ConvolutionParameter pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glConvolutionParameteriv((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.ConvolutionParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ConvolutionParameter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.ConvolutionParameter pname, Int32[] @params); /// /// Set convolution parameters @@ -14688,18 +9242,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glConvolutionParameteriv")] - public static - unsafe void ConvolutionParameter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.ConvolutionParameter pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionParameteriv((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.ConvolutionParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void ConvolutionParameter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.ConvolutionParameter pname, Int32* @params); /// [requires: v3.1 and ARB_copy_buffer|VERSION_3_1] /// Copy part of the data store of a buffer object to the data store of another buffer object @@ -14730,18 +9273,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_copy_buffer|VERSION_3_1", Version = "3.1", EntryPoint = "glCopyBufferSubData")] - public static - void CopyBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget readTarget, OpenTK.Graphics.OpenGL4.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyBufferSubData((OpenTK.Graphics.OpenGL4.BufferTarget)readTarget, (OpenTK.Graphics.OpenGL4.BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size); - #if DEBUG - } - #endif - } + public static extern void CopyBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget readTarget, OpenTK.Graphics.OpenGL4.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size); /// /// Respecify a portion of a color table @@ -14767,18 +9299,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glCopyColorSubTable")] - public static - void CopyColorSubTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyColorSubTable((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (Int32)start, (Int32)x, (Int32)y, (Int32)width); - #if DEBUG - } - #endif - } + public static extern void CopyColorSubTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width); /// /// Copy pixels into a color table @@ -14809,18 +9330,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glCopyColorTable")] - public static - void CopyColorTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyColorTable((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); - #if DEBUG - } - #endif - } + public static extern void CopyColorTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); /// /// Copy pixels into a one-dimensional convolution filter @@ -14846,18 +9356,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glCopyConvolutionFilter1D")] - public static - void CopyConvolutionFilter1D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyConvolutionFilter1D((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); - #if DEBUG - } - #endif - } + public static extern void CopyConvolutionFilter1D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); /// /// Copy pixels into a two-dimensional convolution filter @@ -14888,18 +9387,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glCopyConvolutionFilter2D")] - public static - void CopyConvolutionFilter2D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyConvolutionFilter2D((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void CopyConvolutionFilter2D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v4.3 and ARB_copy_image|VERSION_4_3] /// Perform a raw data copy between two images @@ -14975,18 +9463,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_copy_image|VERSION_4_3", Version = "4.3", EntryPoint = "glCopyImageSubData")] - public static - void CopyImageSubData(Int32 srcName, OpenTK.Graphics.OpenGL4.ImageTarget srcTarget, Int32 srcLevel, Int32 srcX, Int32 srcY, Int32 srcZ, Int32 dstName, OpenTK.Graphics.OpenGL4.ImageTarget dstTarget, Int32 dstLevel, Int32 dstX, Int32 dstY, Int32 dstZ, Int32 srcWidth, Int32 srcHeight, Int32 srcDepth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyImageSubData((UInt32)srcName, (OpenTK.Graphics.OpenGL4.ImageTarget)srcTarget, (Int32)srcLevel, (Int32)srcX, (Int32)srcY, (Int32)srcZ, (UInt32)dstName, (OpenTK.Graphics.OpenGL4.ImageTarget)dstTarget, (Int32)dstLevel, (Int32)dstX, (Int32)dstY, (Int32)dstZ, (Int32)srcWidth, (Int32)srcHeight, (Int32)srcDepth); - #if DEBUG - } - #endif - } + public static extern void CopyImageSubData(Int32 srcName, OpenTK.Graphics.OpenGL4.ImageTarget srcTarget, Int32 srcLevel, Int32 srcX, Int32 srcY, Int32 srcZ, Int32 dstName, OpenTK.Graphics.OpenGL4.ImageTarget dstTarget, Int32 dstLevel, Int32 dstX, Int32 dstY, Int32 dstZ, Int32 srcWidth, Int32 srcHeight, Int32 srcDepth); /// [requires: v4.3 and ARB_copy_image|VERSION_4_3] /// Perform a raw data copy between two images @@ -15063,18 +9540,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_copy_image|VERSION_4_3", Version = "4.3", EntryPoint = "glCopyImageSubData")] - public static - void CopyImageSubData(UInt32 srcName, OpenTK.Graphics.OpenGL4.ImageTarget srcTarget, Int32 srcLevel, Int32 srcX, Int32 srcY, Int32 srcZ, UInt32 dstName, OpenTK.Graphics.OpenGL4.ImageTarget dstTarget, Int32 dstLevel, Int32 dstX, Int32 dstY, Int32 dstZ, Int32 srcWidth, Int32 srcHeight, Int32 srcDepth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyImageSubData((UInt32)srcName, (OpenTK.Graphics.OpenGL4.ImageTarget)srcTarget, (Int32)srcLevel, (Int32)srcX, (Int32)srcY, (Int32)srcZ, (UInt32)dstName, (OpenTK.Graphics.OpenGL4.ImageTarget)dstTarget, (Int32)dstLevel, (Int32)dstX, (Int32)dstY, (Int32)dstZ, (Int32)srcWidth, (Int32)srcHeight, (Int32)srcDepth); - #if DEBUG - } - #endif - } + public static extern void CopyImageSubData(UInt32 srcName, OpenTK.Graphics.OpenGL4.ImageTarget srcTarget, Int32 srcLevel, Int32 srcX, Int32 srcY, Int32 srcZ, UInt32 dstName, OpenTK.Graphics.OpenGL4.ImageTarget dstTarget, Int32 dstLevel, Int32 dstX, Int32 dstY, Int32 dstZ, Int32 srcWidth, Int32 srcHeight, Int32 srcDepth); /// [requires: v1.1] /// Copy pixels into a 1D texture image @@ -15110,18 +9576,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glCopyTexImage1D")] - public static - void CopyTexImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexImage1D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); - #if DEBUG - } - #endif - } + public static extern void CopyTexImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border); /// [requires: v1.1] /// Copy pixels into a 2D texture image @@ -15162,18 +9617,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glCopyTexImage2D")] - public static - void CopyTexImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); - #if DEBUG - } - #endif - } + public static extern void CopyTexImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); /// [requires: v1.1] /// Copy a one-dimensional texture subimage @@ -15204,18 +9648,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glCopyTexSubImage1D")] - public static - void CopyTexSubImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexSubImage1D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); - #if DEBUG - } - #endif - } + public static extern void CopyTexSubImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); /// [requires: v1.1] /// Copy a two-dimensional texture subimage @@ -15256,18 +9689,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glCopyTexSubImage2D")] - public static - void CopyTexSubImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexSubImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void CopyTexSubImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v1.2] /// Copy a three-dimensional texture subimage @@ -15313,35 +9735,13 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glCopyTexSubImage3D")] - public static - void CopyTexSubImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexSubImage3D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void CopyTexSubImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v2.0] /// Creates a program object /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glCreateProgram")] - public static - Int32 CreateProgram() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCreateProgram(); - #if DEBUG - } - #endif - } + public static extern Int32 CreateProgram(); /// [requires: v2.0] /// Creates a shader object @@ -15352,18 +9752,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glCreateShader")] - public static - Int32 CreateShader(OpenTK.Graphics.OpenGL4.ShaderType type) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCreateShader((OpenTK.Graphics.OpenGL4.ShaderType)type); - #if DEBUG - } - #endif - } + public static extern Int32 CreateShader(OpenTK.Graphics.OpenGL4.ShaderType type); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Create a stand-alone program from an array of null-terminated source code strings @@ -15384,18 +9773,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glCreateShaderProgramv")] - public static - Int32 CreateShaderProgram(OpenTK.Graphics.OpenGL4.ShaderType type, Int32 count, String[] strings) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCreateShaderProgramv((OpenTK.Graphics.OpenGL4.ShaderType)type, (Int32)count, (String[])strings); - #if DEBUG - } - #endif - } + public static extern Int32 CreateShaderProgram(OpenTK.Graphics.OpenGL4.ShaderType type, Int32 count, String[] strings); /// [requires: v1.0] /// Specify whether front- or back-facing facets can be culled @@ -15406,18 +9784,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glCullFace")] - public static - void CullFace(OpenTK.Graphics.OpenGL4.CullFaceMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCullFace((OpenTK.Graphics.OpenGL4.CullFaceMode)mode); - #if DEBUG - } - #endif - } + public static extern void CullFace(OpenTK.Graphics.OpenGL4.CullFaceMode mode); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Specify a callback to receive debugging messages from the GL @@ -15433,18 +9800,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageCallback")] - public static - void DebugMessageCallback(DebugProc callback, IntPtr userParam) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageCallback((DebugProc)callback, (IntPtr)userParam); - #if DEBUG - } - #endif - } + public static extern void DebugMessageCallback(DebugProc callback, IntPtr userParam); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Specify a callback to receive debugging messages from the GL @@ -15460,27 +9816,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageCallback")] - public static - void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] T1[] userParam) + public static extern void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] T1[] userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallback((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Specify a callback to receive debugging messages from the GL @@ -15496,27 +9834,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageCallback")] - public static - void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] T1[,] userParam) + public static extern void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] T1[,] userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallback((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Specify a callback to receive debugging messages from the GL @@ -15532,27 +9852,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageCallback")] - public static - void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] T1[,,] userParam) + public static extern void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] T1[,,] userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallback((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Specify a callback to receive debugging messages from the GL @@ -15568,28 +9870,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageCallback")] - public static - void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] ref T1 userParam) + public static extern void DebugMessageCallback(DebugProc callback, [InAttribute, OutAttribute] ref T1 userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallback((DebugProc)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - userParam = (T1)userParam_ptr.Target; - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Control the reporting of debug messages in a debug context @@ -15625,24 +9908,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageControl")] - public static - void DebugMessageControl(OpenTK.Graphics.OpenGL4.DebugSourceControl source, OpenTK.Graphics.OpenGL4.DebugTypeControl type, OpenTK.Graphics.OpenGL4.DebugSeverityControl severity, Int32 count, Int32[] ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glDebugMessageControl((OpenTK.Graphics.OpenGL4.DebugSourceControl)source, (OpenTK.Graphics.OpenGL4.DebugTypeControl)type, (OpenTK.Graphics.OpenGL4.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.OpenGL4.DebugSourceControl source, OpenTK.Graphics.OpenGL4.DebugTypeControl type, OpenTK.Graphics.OpenGL4.DebugSeverityControl severity, Int32 count, Int32[] ids, bool enabled); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Control the reporting of debug messages in a debug context @@ -15678,24 +9944,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageControl")] - public static - void DebugMessageControl(OpenTK.Graphics.OpenGL4.DebugSourceControl source, OpenTK.Graphics.OpenGL4.DebugTypeControl type, OpenTK.Graphics.OpenGL4.DebugSeverityControl severity, Int32 count, ref Int32 ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glDebugMessageControl((OpenTK.Graphics.OpenGL4.DebugSourceControl)source, (OpenTK.Graphics.OpenGL4.DebugTypeControl)type, (OpenTK.Graphics.OpenGL4.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.OpenGL4.DebugSourceControl source, OpenTK.Graphics.OpenGL4.DebugTypeControl type, OpenTK.Graphics.OpenGL4.DebugSeverityControl severity, Int32 count, ref Int32 ids, bool enabled); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Control the reporting of debug messages in a debug context @@ -15732,18 +9981,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageControl")] - public static - unsafe void DebugMessageControl(OpenTK.Graphics.OpenGL4.DebugSourceControl source, OpenTK.Graphics.OpenGL4.DebugTypeControl type, OpenTK.Graphics.OpenGL4.DebugSeverityControl severity, Int32 count, Int32* ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageControl((OpenTK.Graphics.OpenGL4.DebugSourceControl)source, (OpenTK.Graphics.OpenGL4.DebugTypeControl)type, (OpenTK.Graphics.OpenGL4.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - #if DEBUG - } - #endif - } + public static extern unsafe void DebugMessageControl(OpenTK.Graphics.OpenGL4.DebugSourceControl source, OpenTK.Graphics.OpenGL4.DebugTypeControl type, OpenTK.Graphics.OpenGL4.DebugSeverityControl severity, Int32 count, Int32* ids, bool enabled); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Control the reporting of debug messages in a debug context @@ -15780,24 +10018,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageControl")] - public static - void DebugMessageControl(OpenTK.Graphics.OpenGL4.DebugSourceControl source, OpenTK.Graphics.OpenGL4.DebugTypeControl type, OpenTK.Graphics.OpenGL4.DebugSeverityControl severity, Int32 count, UInt32[] ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glDebugMessageControl((OpenTK.Graphics.OpenGL4.DebugSourceControl)source, (OpenTK.Graphics.OpenGL4.DebugTypeControl)type, (OpenTK.Graphics.OpenGL4.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.OpenGL4.DebugSourceControl source, OpenTK.Graphics.OpenGL4.DebugTypeControl type, OpenTK.Graphics.OpenGL4.DebugSeverityControl severity, Int32 count, UInt32[] ids, bool enabled); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Control the reporting of debug messages in a debug context @@ -15834,24 +10055,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageControl")] - public static - void DebugMessageControl(OpenTK.Graphics.OpenGL4.DebugSourceControl source, OpenTK.Graphics.OpenGL4.DebugTypeControl type, OpenTK.Graphics.OpenGL4.DebugSeverityControl severity, Int32 count, ref UInt32 ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glDebugMessageControl((OpenTK.Graphics.OpenGL4.DebugSourceControl)source, (OpenTK.Graphics.OpenGL4.DebugTypeControl)type, (OpenTK.Graphics.OpenGL4.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.OpenGL4.DebugSourceControl source, OpenTK.Graphics.OpenGL4.DebugTypeControl type, OpenTK.Graphics.OpenGL4.DebugSeverityControl severity, Int32 count, ref UInt32 ids, bool enabled); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Control the reporting of debug messages in a debug context @@ -15888,18 +10092,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageControl")] - public static - unsafe void DebugMessageControl(OpenTK.Graphics.OpenGL4.DebugSourceControl source, OpenTK.Graphics.OpenGL4.DebugTypeControl type, OpenTK.Graphics.OpenGL4.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageControl((OpenTK.Graphics.OpenGL4.DebugSourceControl)source, (OpenTK.Graphics.OpenGL4.DebugTypeControl)type, (OpenTK.Graphics.OpenGL4.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - #if DEBUG - } - #endif - } + public static extern unsafe void DebugMessageControl(OpenTK.Graphics.OpenGL4.DebugSourceControl source, OpenTK.Graphics.OpenGL4.DebugTypeControl type, OpenTK.Graphics.OpenGL4.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Inject an application-supplied message into the debug message queue @@ -15935,18 +10128,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageInsert")] - public static - void DebugMessageInsert(OpenTK.Graphics.OpenGL4.DebugSourceExternal source, OpenTK.Graphics.OpenGL4.DebugType type, Int32 id, OpenTK.Graphics.OpenGL4.DebugSeverity severity, Int32 length, String buf) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageInsert((OpenTK.Graphics.OpenGL4.DebugSourceExternal)source, (OpenTK.Graphics.OpenGL4.DebugType)type, (UInt32)id, (OpenTK.Graphics.OpenGL4.DebugSeverity)severity, (Int32)length, (String)buf); - #if DEBUG - } - #endif - } + public static extern void DebugMessageInsert(OpenTK.Graphics.OpenGL4.DebugSourceExternal source, OpenTK.Graphics.OpenGL4.DebugType type, Int32 id, OpenTK.Graphics.OpenGL4.DebugSeverity severity, Int32 length, String buf); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Inject an application-supplied message into the debug message queue @@ -15983,18 +10165,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glDebugMessageInsert")] - public static - void DebugMessageInsert(OpenTK.Graphics.OpenGL4.DebugSourceExternal source, OpenTK.Graphics.OpenGL4.DebugType type, UInt32 id, OpenTK.Graphics.OpenGL4.DebugSeverity severity, Int32 length, String buf) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageInsert((OpenTK.Graphics.OpenGL4.DebugSourceExternal)source, (OpenTK.Graphics.OpenGL4.DebugType)type, (UInt32)id, (OpenTK.Graphics.OpenGL4.DebugSeverity)severity, (Int32)length, (String)buf); - #if DEBUG - } - #endif - } + public static extern void DebugMessageInsert(OpenTK.Graphics.OpenGL4.DebugSourceExternal source, OpenTK.Graphics.OpenGL4.DebugType type, UInt32 id, OpenTK.Graphics.OpenGL4.DebugSeverity severity, Int32 length, String buf); /// [requires: v1.5] /// Delete named buffer objects @@ -16010,23 +10181,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffer(Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* buffers_ptr = (UInt32*)&buffers; - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffer(Int32 buffers); /// [requires: v1.5] /// Delete named buffer objects @@ -16043,23 +10198,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffer(UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* buffers_ptr = (UInt32*)&buffers; - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffer(UInt32 buffers); /// [requires: v1.5] /// Delete named buffer objects @@ -16075,24 +10214,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffers(Int32 n, Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffers(Int32 n, Int32[] buffers); /// [requires: v1.5] /// Delete named buffer objects @@ -16108,24 +10230,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffers(Int32 n, ref Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - { - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffers(Int32 n, ref Int32 buffers); /// [requires: v1.5] /// Delete named buffer objects @@ -16142,18 +10247,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static - unsafe void DeleteBuffers(Int32 n, Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteBuffers(Int32 n, Int32* buffers); /// [requires: v1.5] /// Delete named buffer objects @@ -16170,24 +10264,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffers(Int32 n, UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffers(Int32 n, UInt32[] buffers); /// [requires: v1.5] /// Delete named buffer objects @@ -16204,24 +10281,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffers(Int32 n, ref UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - { - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteBuffers(Int32 n, ref UInt32 buffers); /// [requires: v1.5] /// Delete named buffer objects @@ -16238,18 +10298,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static - unsafe void DeleteBuffers(Int32 n, UInt32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteBuffers(Int32 n, UInt32* buffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete framebuffer objects @@ -16265,23 +10314,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static - void DeleteFramebuffer(Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* framebuffers_ptr = (UInt32*)&framebuffers; - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffer(Int32 framebuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete framebuffer objects @@ -16298,23 +10331,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static - void DeleteFramebuffer(UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* framebuffers_ptr = (UInt32*)&framebuffers; - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffer(UInt32 framebuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete framebuffer objects @@ -16330,24 +10347,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static - void DeleteFramebuffers(Int32 n, Int32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffers(Int32 n, Int32[] framebuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete framebuffer objects @@ -16363,24 +10363,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static - void DeleteFramebuffers(Int32 n, ref Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - { - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffers(Int32 n, ref Int32 framebuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete framebuffer objects @@ -16397,18 +10380,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static - unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete framebuffer objects @@ -16425,24 +10397,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static - void DeleteFramebuffers(Int32 n, UInt32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = framebuffers) - { - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffers(Int32 n, UInt32[] framebuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete framebuffer objects @@ -16459,24 +10414,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static - void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = &framebuffers) - { - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete framebuffer objects @@ -16493,18 +10431,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static - unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers); /// [requires: v2.0] /// Deletes a program object @@ -16515,18 +10442,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteProgram")] - public static - void DeleteProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void DeleteProgram(Int32 program); /// [requires: v2.0] /// Deletes a program object @@ -16538,18 +10454,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteProgram")] - public static - void DeleteProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void DeleteProgram(UInt32 program); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Delete program pipeline objects @@ -16565,23 +10470,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] - public static - void DeleteProgramPipeline(Int32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* pipelines_ptr = (UInt32*)&pipelines; - Delegates.glDeleteProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgramPipeline(Int32 pipelines); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Delete program pipeline objects @@ -16598,23 +10487,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] - public static - void DeleteProgramPipeline(UInt32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* pipelines_ptr = (UInt32*)&pipelines; - Delegates.glDeleteProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgramPipeline(UInt32 pipelines); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Delete program pipeline objects @@ -16630,24 +10503,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] - public static - void DeleteProgramPipelines(Int32 n, Int32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = pipelines) - { - Delegates.glDeleteProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgramPipelines(Int32 n, Int32[] pipelines); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Delete program pipeline objects @@ -16663,24 +10519,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] - public static - void DeleteProgramPipelines(Int32 n, ref Int32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = &pipelines) - { - Delegates.glDeleteProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgramPipelines(Int32 n, ref Int32 pipelines); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Delete program pipeline objects @@ -16697,18 +10536,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] - public static - unsafe void DeleteProgramPipelines(Int32 n, Int32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteProgramPipelines((Int32)n, (UInt32*)pipelines); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteProgramPipelines(Int32 n, Int32* pipelines); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Delete program pipeline objects @@ -16725,24 +10553,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] - public static - void DeleteProgramPipelines(Int32 n, UInt32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = pipelines) - { - Delegates.glDeleteProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgramPipelines(Int32 n, UInt32[] pipelines); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Delete program pipeline objects @@ -16759,24 +10570,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] - public static - void DeleteProgramPipelines(Int32 n, ref UInt32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = &pipelines) - { - Delegates.glDeleteProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteProgramPipelines(Int32 n, ref UInt32 pipelines); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Delete program pipeline objects @@ -16793,18 +10587,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glDeleteProgramPipelines")] - public static - unsafe void DeleteProgramPipelines(Int32 n, UInt32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteProgramPipelines((Int32)n, (UInt32*)pipelines); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteProgramPipelines(Int32 n, UInt32* pipelines); /// [requires: v1.5] /// Delete named query objects @@ -16820,23 +10603,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static - void DeleteQuery(Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteQuery(Int32 ids); /// [requires: v1.5] /// Delete named query objects @@ -16853,23 +10620,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static - void DeleteQuery(UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteQuery(UInt32 ids); /// [requires: v1.5] /// Delete named query objects @@ -16885,24 +10636,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static - void DeleteQueries(Int32 n, Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteQueries(Int32 n, Int32[] ids); /// [requires: v1.5] /// Delete named query objects @@ -16918,24 +10652,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static - void DeleteQueries(Int32 n, ref Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteQueries(Int32 n, ref Int32 ids); /// [requires: v1.5] /// Delete named query objects @@ -16952,18 +10669,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static - unsafe void DeleteQueries(Int32 n, Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteQueries(Int32 n, Int32* ids); /// [requires: v1.5] /// Delete named query objects @@ -16980,24 +10686,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static - void DeleteQueries(Int32 n, UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteQueries(Int32 n, UInt32[] ids); /// [requires: v1.5] /// Delete named query objects @@ -17014,24 +10703,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static - void DeleteQueries(Int32 n, ref UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteQueries(Int32 n, ref UInt32 ids); /// [requires: v1.5] /// Delete named query objects @@ -17048,18 +10720,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static - unsafe void DeleteQueries(Int32 n, UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteQueries(Int32 n, UInt32* ids); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete renderbuffer objects @@ -17075,23 +10736,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static - void DeleteRenderbuffer(Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* renderbuffers_ptr = (UInt32*)&renderbuffers; - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffer(Int32 renderbuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete renderbuffer objects @@ -17108,23 +10753,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static - void DeleteRenderbuffer(UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* renderbuffers_ptr = (UInt32*)&renderbuffers; - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffer(UInt32 renderbuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete renderbuffer objects @@ -17140,24 +10769,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static - void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = renderbuffers) - { - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete renderbuffer objects @@ -17173,24 +10785,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static - void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete renderbuffer objects @@ -17207,18 +10802,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static - unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete renderbuffer objects @@ -17235,24 +10819,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static - void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = renderbuffers) - { - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete renderbuffer objects @@ -17269,24 +10836,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static - void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Delete renderbuffer objects @@ -17303,18 +10853,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static - unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Delete named sampler objects @@ -17330,23 +10869,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")] - public static - void DeleteSampler(Int32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 count = 1; - UInt32* samplers_ptr = (UInt32*)&samplers; - Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteSampler(Int32 samplers); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Delete named sampler objects @@ -17363,23 +10886,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")] - public static - void DeleteSampler(UInt32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 count = 1; - UInt32* samplers_ptr = (UInt32*)&samplers; - Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteSampler(UInt32 samplers); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Delete named sampler objects @@ -17395,24 +10902,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")] - public static - void DeleteSamplers(Int32 count, Int32[] samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* samplers_ptr = samplers) - { - Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteSamplers(Int32 count, Int32[] samplers); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Delete named sampler objects @@ -17428,24 +10918,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")] - public static - void DeleteSamplers(Int32 count, ref Int32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* samplers_ptr = &samplers) - { - Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteSamplers(Int32 count, ref Int32 samplers); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Delete named sampler objects @@ -17462,18 +10935,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")] - public static - unsafe void DeleteSamplers(Int32 count, Int32* samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteSamplers(Int32 count, Int32* samplers); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Delete named sampler objects @@ -17490,24 +10952,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")] - public static - void DeleteSamplers(Int32 count, UInt32[] samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* samplers_ptr = samplers) - { - Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteSamplers(Int32 count, UInt32[] samplers); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Delete named sampler objects @@ -17524,24 +10969,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")] - public static - void DeleteSamplers(Int32 count, ref UInt32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* samplers_ptr = &samplers) - { - Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteSamplers(Int32 count, ref UInt32 samplers); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Delete named sampler objects @@ -17558,18 +10986,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glDeleteSamplers")] - public static - unsafe void DeleteSamplers(Int32 count, UInt32* samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteSamplers(Int32 count, UInt32* samplers); /// [requires: v2.0] /// Deletes a shader object @@ -17580,18 +10997,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteShader")] - public static - void DeleteShader(Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteShader((UInt32)shader); - #if DEBUG - } - #endif - } + public static extern void DeleteShader(Int32 shader); /// [requires: v2.0] /// Deletes a shader object @@ -17603,18 +11009,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDeleteShader")] - public static - void DeleteShader(UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteShader((UInt32)shader); - #if DEBUG - } - #endif - } + public static extern void DeleteShader(UInt32 shader); /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Delete a sync object @@ -17625,18 +11020,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glDeleteSync")] - public static - void DeleteSync(IntPtr sync) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteSync((IntPtr)sync); - #if DEBUG - } - #endif - } + public static extern void DeleteSync(IntPtr sync); /// [requires: v1.1] /// Delete named textures @@ -17652,23 +11036,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static - void DeleteTexture(Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* textures_ptr = (UInt32*)&textures; - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteTexture(Int32 textures); /// [requires: v1.1] /// Delete named textures @@ -17685,23 +11053,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static - void DeleteTexture(UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* textures_ptr = (UInt32*)&textures; - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteTexture(UInt32 textures); /// [requires: v1.1] /// Delete named textures @@ -17717,24 +11069,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static - void DeleteTextures(Int32 n, Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTextures(Int32 n, Int32[] textures); /// [requires: v1.1] /// Delete named textures @@ -17750,24 +11085,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static - void DeleteTextures(Int32 n, ref Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTextures(Int32 n, ref Int32 textures); /// [requires: v1.1] /// Delete named textures @@ -17784,18 +11102,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static - unsafe void DeleteTextures(Int32 n, Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteTextures(Int32 n, Int32* textures); /// [requires: v1.1] /// Delete named textures @@ -17812,24 +11119,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static - void DeleteTextures(Int32 n, UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTextures(Int32 n, UInt32[] textures); /// [requires: v1.1] /// Delete named textures @@ -17846,24 +11136,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static - void DeleteTextures(Int32 n, ref UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTextures(Int32 n, ref UInt32 textures); /// [requires: v1.1] /// Delete named textures @@ -17880,18 +11153,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static - unsafe void DeleteTextures(Int32 n, UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteTextures(Int32 n, UInt32* textures); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Delete transform feedback objects @@ -17907,23 +11169,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static - void DeleteTransformFeedback(Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteTransformFeedback(Int32 ids); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Delete transform feedback objects @@ -17940,23 +11186,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static - void DeleteTransformFeedback(UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* ids_ptr = (UInt32*)&ids; - Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteTransformFeedback(UInt32 ids); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Delete transform feedback objects @@ -17972,24 +11202,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static - void DeleteTransformFeedbacks(Int32 n, Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTransformFeedbacks(Int32 n, Int32[] ids); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Delete transform feedback objects @@ -18005,24 +11218,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static - void DeleteTransformFeedbacks(Int32 n, ref Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTransformFeedbacks(Int32 n, ref Int32 ids); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Delete transform feedback objects @@ -18039,18 +11235,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static - unsafe void DeleteTransformFeedbacks(Int32 n, Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteTransformFeedbacks(Int32 n, Int32* ids); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Delete transform feedback objects @@ -18067,24 +11252,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static - void DeleteTransformFeedbacks(Int32 n, UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTransformFeedbacks(Int32 n, UInt32[] ids); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Delete transform feedback objects @@ -18101,24 +11269,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static - void DeleteTransformFeedbacks(Int32 n, ref UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteTransformFeedbacks(Int32 n, ref UInt32 ids); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Delete transform feedback objects @@ -18135,18 +11286,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDeleteTransformFeedbacks")] - public static - unsafe void DeleteTransformFeedbacks(Int32 n, UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteTransformFeedbacks(Int32 n, UInt32* ids); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Delete vertex array objects @@ -18162,23 +11302,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static - void DeleteVertexArray(Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* arrays_ptr = (UInt32*)&arrays; - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArray(Int32 arrays); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Delete vertex array objects @@ -18195,23 +11319,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static - void DeleteVertexArray(UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - UInt32* arrays_ptr = (UInt32*)&arrays; - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArray(UInt32 arrays); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Delete vertex array objects @@ -18227,24 +11335,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static - void DeleteVertexArrays(Int32 n, Int32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArrays(Int32 n, Int32[] arrays); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Delete vertex array objects @@ -18260,24 +11351,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static - void DeleteVertexArrays(Int32 n, ref Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = &arrays) - { - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArrays(Int32 n, ref Int32 arrays); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Delete vertex array objects @@ -18294,18 +11368,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static - unsafe void DeleteVertexArrays(Int32 n, Int32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteVertexArrays(Int32 n, Int32* arrays); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Delete vertex array objects @@ -18322,24 +11385,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static - void DeleteVertexArrays(Int32 n, UInt32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = arrays) - { - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArrays(Int32 n, UInt32[] arrays); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Delete vertex array objects @@ -18356,24 +11402,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static - void DeleteVertexArrays(Int32 n, ref UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = &arrays) - { - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DeleteVertexArrays(Int32 n, ref UInt32 arrays); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Delete vertex array objects @@ -18390,18 +11419,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static - unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } + public static extern unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays); /// [requires: v1.0] /// Specify the value used for depth buffer comparisons @@ -18412,18 +11430,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDepthFunc")] - public static - void DepthFunc(OpenTK.Graphics.OpenGL4.DepthFunction func) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthFunc((OpenTK.Graphics.OpenGL4.DepthFunction)func); - #if DEBUG - } - #endif - } + public static extern void DepthFunc(OpenTK.Graphics.OpenGL4.DepthFunction func); /// [requires: v1.0] /// Enable or disable writing into the depth buffer @@ -18434,18 +11441,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDepthMask")] - public static - void DepthMask(bool flag) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthMask((bool)flag); - #if DEBUG - } - #endif - } + public static extern void DepthMask(bool flag); /// [requires: v1.0] /// Specify mapping of depth values from normalized device coordinates to window coordinates @@ -18461,18 +11457,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDepthRange")] - public static - void DepthRange(Double near, Double far) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthRange((Double)near, (Double)far); - #if DEBUG - } - #endif - } + public static extern void DepthRange(Double near, Double far); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Specify mapping of depth values from normalized device coordinates to window coordinates for a specified set of viewports @@ -18493,24 +11478,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangeArrayv")] - public static - void DepthRangeArray(Int32 first, Int32 count, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glDepthRangeArrayv((UInt32)first, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DepthRangeArray(Int32 first, Int32 count, Double[] v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Specify mapping of depth values from normalized device coordinates to window coordinates for a specified set of viewports @@ -18531,24 +11499,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangeArrayv")] - public static - void DepthRangeArray(Int32 first, Int32 count, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glDepthRangeArrayv((UInt32)first, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DepthRangeArray(Int32 first, Int32 count, ref Double v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Specify mapping of depth values from normalized device coordinates to window coordinates for a specified set of viewports @@ -18570,18 +11521,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangeArrayv")] - public static - unsafe void DepthRangeArray(Int32 first, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthRangeArrayv((UInt32)first, (Int32)count, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void DepthRangeArray(Int32 first, Int32 count, Double* v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Specify mapping of depth values from normalized device coordinates to window coordinates for a specified set of viewports @@ -18603,24 +11543,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangeArrayv")] - public static - void DepthRangeArray(UInt32 first, Int32 count, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glDepthRangeArrayv((UInt32)first, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DepthRangeArray(UInt32 first, Int32 count, Double[] v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Specify mapping of depth values from normalized device coordinates to window coordinates for a specified set of viewports @@ -18642,24 +11565,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangeArrayv")] - public static - void DepthRangeArray(UInt32 first, Int32 count, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glDepthRangeArrayv((UInt32)first, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DepthRangeArray(UInt32 first, Int32 count, ref Double v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Specify mapping of depth values from normalized device coordinates to window coordinates for a specified set of viewports @@ -18681,18 +11587,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangeArrayv")] - public static - unsafe void DepthRangeArray(UInt32 first, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthRangeArrayv((UInt32)first, (Int32)count, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void DepthRangeArray(UInt32 first, Int32 count, Double* v); /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Specify mapping of depth values from normalized device coordinates to window coordinates @@ -18708,18 +11603,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangef")] - public static - void DepthRange(Single n, Single f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthRangef((Single)n, (Single)f); - #if DEBUG - } - #endif - } + public static extern void DepthRange(Single n, Single f); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Specify mapping of depth values from normalized device coordinates to window coordinates for a specified viewport @@ -18740,18 +11624,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangeIndexed")] - public static - void DepthRangeIndexed(Int32 index, Double n, Double f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthRangeIndexed((UInt32)index, (Double)n, (Double)f); - #if DEBUG - } - #endif - } + public static extern void DepthRangeIndexed(Int32 index, Double n, Double f); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Specify mapping of depth values from normalized device coordinates to window coordinates for a specified viewport @@ -18773,18 +11646,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glDepthRangeIndexed")] - public static - void DepthRangeIndexed(UInt32 index, Double n, Double f) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthRangeIndexed((UInt32)index, (Double)n, (Double)f); - #if DEBUG - } - #endif - } + public static extern void DepthRangeIndexed(UInt32 index, Double n, Double f); /// [requires: v2.0] /// Detaches a shader object from a program object to which it is attached @@ -18800,18 +11662,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDetachShader")] - public static - void DetachShader(Int32 program, Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDetachShader((UInt32)program, (UInt32)shader); - #if DEBUG - } - #endif - } + public static extern void DetachShader(Int32 program, Int32 shader); /// [requires: v2.0] /// Detaches a shader object from a program object to which it is attached @@ -18828,95 +11679,29 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDetachShader")] - public static - void DetachShader(UInt32 program, UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDetachShader((UInt32)program, (UInt32)shader); - #if DEBUG - } - #endif - } + public static extern void DetachShader(UInt32 program, UInt32 shader); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDisable")] - public static - void Disable(OpenTK.Graphics.OpenGL4.EnableCap cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisable((OpenTK.Graphics.OpenGL4.EnableCap)cap); - #if DEBUG - } - #endif - } + public static extern void Disable(OpenTK.Graphics.OpenGL4.EnableCap cap); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glDisablei")] - public static - void Disable(OpenTK.Graphics.OpenGL4.IndexedEnableCap target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisablei((OpenTK.Graphics.OpenGL4.IndexedEnableCap)target, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void Disable(OpenTK.Graphics.OpenGL4.IndexedEnableCap target, Int32 index); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glDisablei")] - public static - void Disable(OpenTK.Graphics.OpenGL4.IndexedEnableCap target, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisablei((OpenTK.Graphics.OpenGL4.IndexedEnableCap)target, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void Disable(OpenTK.Graphics.OpenGL4.IndexedEnableCap target, UInt32 index); /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")] - public static - void DisableVertexAttribArray(Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableVertexAttribArray((UInt32)index); - #if DEBUG - } - #endif - } + public static extern void DisableVertexAttribArray(Int32 index); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")] - public static - void DisableVertexAttribArray(UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableVertexAttribArray((UInt32)index); - #if DEBUG - } - #endif - } + public static extern void DisableVertexAttribArray(UInt32 index); /// [requires: v4.3 and ARB_compute_shader|VERSION_4_3] /// Launch one or more compute work groups @@ -18937,18 +11722,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_compute_shader|VERSION_4_3", Version = "4.3", EntryPoint = "glDispatchCompute")] - public static - void DispatchCompute(Int32 num_groups_x, Int32 num_groups_y, Int32 num_groups_z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDispatchCompute((UInt32)num_groups_x, (UInt32)num_groups_y, (UInt32)num_groups_z); - #if DEBUG - } - #endif - } + public static extern void DispatchCompute(Int32 num_groups_x, Int32 num_groups_y, Int32 num_groups_z); /// [requires: v4.3 and ARB_compute_shader|VERSION_4_3] /// Launch one or more compute work groups @@ -18970,18 +11744,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_compute_shader|VERSION_4_3", Version = "4.3", EntryPoint = "glDispatchCompute")] - public static - void DispatchCompute(UInt32 num_groups_x, UInt32 num_groups_y, UInt32 num_groups_z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDispatchCompute((UInt32)num_groups_x, (UInt32)num_groups_y, (UInt32)num_groups_z); - #if DEBUG - } - #endif - } + public static extern void DispatchCompute(UInt32 num_groups_x, UInt32 num_groups_y, UInt32 num_groups_z); /// [requires: v4.3 and ARB_compute_shader|VERSION_4_3] /// Launch one or more compute work groups using parameters stored in a buffer @@ -18992,18 +11755,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_compute_shader|VERSION_4_3", Version = "4.3", EntryPoint = "glDispatchComputeIndirect")] - public static - void DispatchComputeIndirect(IntPtr indirect) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDispatchComputeIndirect((IntPtr)indirect); - #if DEBUG - } - #endif - } + public static extern void DispatchComputeIndirect(IntPtr indirect); /// [requires: v1.1] /// Render primitives from array data @@ -19024,18 +11776,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawArrays")] - public static - void DrawArrays(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArrays((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)first, (Int32)count); - #if DEBUG - } - #endif - } + public static extern void DrawArrays(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 first, Int32 count); /// [requires: v4.0 and ARB_draw_indirect|VERSION_4_0] /// Render primitives from array data, taking parameters from memory @@ -19051,18 +11792,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawArraysIndirect")] - public static - void DrawArraysIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, IntPtr indirect) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArraysIndirect((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)indirect); - #if DEBUG - } - #endif - } + public static extern void DrawArraysIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, IntPtr indirect); /// [requires: v4.0 and ARB_draw_indirect|VERSION_4_0] /// Render primitives from array data, taking parameters from memory @@ -19078,27 +11808,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawArraysIndirect")] - public static - void DrawArraysIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, [InAttribute, OutAttribute] T1[] indirect) + public static extern void DrawArraysIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, [InAttribute, OutAttribute] T1[] indirect) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glDrawArraysIndirect((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject()); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.0 and ARB_draw_indirect|VERSION_4_0] /// Render primitives from array data, taking parameters from memory @@ -19114,27 +11826,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawArraysIndirect")] - public static - void DrawArraysIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, [InAttribute, OutAttribute] T1[,] indirect) + public static extern void DrawArraysIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, [InAttribute, OutAttribute] T1[,] indirect) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glDrawArraysIndirect((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject()); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.0 and ARB_draw_indirect|VERSION_4_0] /// Render primitives from array data, taking parameters from memory @@ -19150,27 +11844,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawArraysIndirect")] - public static - void DrawArraysIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, [InAttribute, OutAttribute] T1[,,] indirect) + public static extern void DrawArraysIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, [InAttribute, OutAttribute] T1[,,] indirect) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glDrawArraysIndirect((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject()); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.0 and ARB_draw_indirect|VERSION_4_0] /// Render primitives from array data, taking parameters from memory @@ -19186,28 +11862,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawArraysIndirect")] - public static - void DrawArraysIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, [InAttribute, OutAttribute] ref T1 indirect) + public static extern void DrawArraysIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, [InAttribute, OutAttribute] ref T1 indirect) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glDrawArraysIndirect((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject()); - indirect = (T1)indirect_ptr.Target; - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.1] /// Draw multiple instances of a range of elements @@ -19233,18 +11890,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawArraysInstanced")] - public static - void DrawArraysInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArraysInstanced((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)instancecount); - #if DEBUG - } - #endif - } + public static extern void DrawArraysInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount); /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Draw multiple instances of a range of elements with offset applied to instanced attributes @@ -19275,18 +11921,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawArraysInstancedBaseInstance")] - public static - void DrawArraysInstancedBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount, Int32 baseinstance) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArraysInstancedBaseInstance((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)instancecount, (UInt32)baseinstance); - #if DEBUG - } - #endif - } + public static extern void DrawArraysInstancedBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount, Int32 baseinstance); /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Draw multiple instances of a range of elements with offset applied to instanced attributes @@ -19318,18 +11953,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawArraysInstancedBaseInstance")] - public static - void DrawArraysInstancedBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount, UInt32 baseinstance) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArraysInstancedBaseInstance((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)instancecount, (UInt32)baseinstance); - #if DEBUG - } - #endif - } + public static extern void DrawArraysInstancedBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount, UInt32 baseinstance); /// [requires: v1.0] /// Specify which color buffers are to be drawn into @@ -19340,18 +11964,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glDrawBuffer")] - public static - void DrawBuffer(OpenTK.Graphics.OpenGL4.DrawBufferMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawBuffer((OpenTK.Graphics.OpenGL4.DrawBufferMode)mode); - #if DEBUG - } - #endif - } + public static extern void DrawBuffer(OpenTK.Graphics.OpenGL4.DrawBufferMode mode); /// [requires: v2.0] /// Specifies a list of color buffers to be drawn into @@ -19367,24 +11980,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDrawBuffers")] - public static - void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL4.DrawBuffersEnum[] bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL4.DrawBuffersEnum* bufs_ptr = bufs) - { - Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.OpenGL4.DrawBuffersEnum*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL4.DrawBuffersEnum[] bufs); /// [requires: v2.0] /// Specifies a list of color buffers to be drawn into @@ -19400,24 +11996,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDrawBuffers")] - public static - void DrawBuffers(Int32 n, ref OpenTK.Graphics.OpenGL4.DrawBuffersEnum bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL4.DrawBuffersEnum* bufs_ptr = &bufs) - { - Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.OpenGL4.DrawBuffersEnum*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void DrawBuffers(Int32 n, ref OpenTK.Graphics.OpenGL4.DrawBuffersEnum bufs); /// [requires: v2.0] /// Specifies a list of color buffers to be drawn into @@ -19434,18 +12013,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glDrawBuffers")] - public static - unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL4.DrawBuffersEnum* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.OpenGL4.DrawBuffersEnum*)bufs); - #if DEBUG - } - #endif - } + public static extern unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL4.DrawBuffersEnum* bufs); /// [requires: v1.1] /// Render primitives from array data @@ -19471,18 +12039,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices); - #if DEBUG - } - #endif - } + public static extern void DrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices); /// [requires: v1.1] /// Render primitives from array data @@ -19508,27 +12065,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices) + public static extern void DrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1] /// Render primitives from array data @@ -19554,27 +12093,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices) + public static extern void DrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1] /// Render primitives from array data @@ -19600,27 +12121,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices) + public static extern void DrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1] /// Render primitives from array data @@ -19646,28 +12149,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices) + public static extern void DrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -19698,18 +12182,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")] - public static - void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 basevertex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); - #if DEBUG - } - #endif - } + public static extern void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 basevertex); /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -19740,27 +12213,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")] - public static - void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 basevertex) + public static extern void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -19791,27 +12246,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")] - public static - void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 basevertex) + public static extern void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -19842,27 +12279,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")] - public static - void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 basevertex) + public static extern void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -19893,28 +12312,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")] - public static - void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 basevertex) + public static extern void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.0 and ARB_draw_indirect|VERSION_4_0] /// Render indexed primitives from array data, taking parameters from memory @@ -19935,18 +12335,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawElementsIndirect")] - public static - void DrawElementsIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, OpenTK.Graphics.OpenGL4.All type, IntPtr indirect) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsIndirect((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)indirect); - #if DEBUG - } - #endif - } + public static extern void DrawElementsIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, OpenTK.Graphics.OpenGL4.All type, IntPtr indirect); /// [requires: v4.0 and ARB_draw_indirect|VERSION_4_0] /// Render indexed primitives from array data, taking parameters from memory @@ -19967,27 +12356,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawElementsIndirect")] - public static - void DrawElementsIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, OpenTK.Graphics.OpenGL4.All type, [InAttribute, OutAttribute] T2[] indirect) + public static extern void DrawElementsIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, OpenTK.Graphics.OpenGL4.All type, [InAttribute, OutAttribute] T2[] indirect) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsIndirect((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject()); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.0 and ARB_draw_indirect|VERSION_4_0] /// Render indexed primitives from array data, taking parameters from memory @@ -20008,27 +12379,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawElementsIndirect")] - public static - void DrawElementsIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, OpenTK.Graphics.OpenGL4.All type, [InAttribute, OutAttribute] T2[,] indirect) + public static extern void DrawElementsIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, OpenTK.Graphics.OpenGL4.All type, [InAttribute, OutAttribute] T2[,] indirect) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsIndirect((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject()); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.0 and ARB_draw_indirect|VERSION_4_0] /// Render indexed primitives from array data, taking parameters from memory @@ -20049,27 +12402,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawElementsIndirect")] - public static - void DrawElementsIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, OpenTK.Graphics.OpenGL4.All type, [InAttribute, OutAttribute] T2[,,] indirect) + public static extern void DrawElementsIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, OpenTK.Graphics.OpenGL4.All type, [InAttribute, OutAttribute] T2[,,] indirect) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsIndirect((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject()); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.0 and ARB_draw_indirect|VERSION_4_0] /// Render indexed primitives from array data, taking parameters from memory @@ -20090,28 +12425,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_indirect|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawElementsIndirect")] - public static - void DrawElementsIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, OpenTK.Graphics.OpenGL4.All type, [InAttribute, OutAttribute] ref T2 indirect) + public static extern void DrawElementsIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, OpenTK.Graphics.OpenGL4.All type, [InAttribute, OutAttribute] ref T2 indirect) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsIndirect((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject()); - indirect = (T2)indirect_ptr.Target; - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.1] /// Draw multiple instances of a set of elements @@ -20142,18 +12458,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 instancecount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstanced((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount); - #if DEBUG - } - #endif - } + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 instancecount); /// [requires: v3.1] /// Draw multiple instances of a set of elements @@ -20184,27 +12489,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstanced((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.1] /// Draw multiple instances of a set of elements @@ -20235,27 +12522,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstanced((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.1] /// Draw multiple instances of a set of elements @@ -20286,27 +12555,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstanced((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.1] /// Draw multiple instances of a set of elements @@ -20337,28 +12588,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static - void DrawElementsInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount) + public static extern void DrawElementsInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstanced((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Draw multiple instances of a set of elements with offset applied to instanced attributes @@ -20394,18 +12626,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static - void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 baseinstance) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (UInt32)baseinstance); - #if DEBUG - } - #endif - } + public static extern void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 baseinstance); /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Draw multiple instances of a set of elements with offset applied to instanced attributes @@ -20442,18 +12663,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static - void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 instancecount, UInt32 baseinstance) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (UInt32)baseinstance); - #if DEBUG - } - #endif - } + public static extern void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 instancecount, UInt32 baseinstance); /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Draw multiple instances of a set of elements with offset applied to instanced attributes @@ -20489,27 +12699,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static - void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount, Int32 baseinstance) + public static extern void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount, Int32 baseinstance) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Draw multiple instances of a set of elements with offset applied to instanced attributes @@ -20546,27 +12738,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static - void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount, UInt32 baseinstance) + public static extern void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount, UInt32 baseinstance) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Draw multiple instances of a set of elements with offset applied to instanced attributes @@ -20602,27 +12776,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static - void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount, Int32 baseinstance) + public static extern void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount, Int32 baseinstance) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Draw multiple instances of a set of elements with offset applied to instanced attributes @@ -20659,27 +12815,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static - void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount, UInt32 baseinstance) + public static extern void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount, UInt32 baseinstance) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Draw multiple instances of a set of elements with offset applied to instanced attributes @@ -20715,27 +12853,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static - void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount, Int32 baseinstance) + public static extern void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount, Int32 baseinstance) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Draw multiple instances of a set of elements with offset applied to instanced attributes @@ -20772,27 +12892,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static - void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount, UInt32 baseinstance) + public static extern void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount, UInt32 baseinstance) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Draw multiple instances of a set of elements with offset applied to instanced attributes @@ -20828,28 +12930,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static - void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount, Int32 baseinstance) + public static extern void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount, Int32 baseinstance) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Draw multiple instances of a set of elements with offset applied to instanced attributes @@ -20886,28 +12969,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] - public static - void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount, UInt32 baseinstance) + public static extern void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount, UInt32 baseinstance) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -20943,18 +13007,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] - public static - void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (Int32)basevertex); - #if DEBUG - } - #endif - } + public static extern void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex); /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -20990,27 +13043,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] - public static - void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount, Int32 basevertex) + public static extern void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount, Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -21046,27 +13081,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] - public static - void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount, Int32 basevertex) + public static extern void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount, Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -21102,27 +13119,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] - public static - void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount, Int32 basevertex) + public static extern void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount, Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -21158,28 +13157,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] - public static - void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount, Int32 basevertex) + public static extern void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount, Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -21220,18 +13200,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static - void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex, Int32 baseinstance) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); - #if DEBUG - } - #endif - } + public static extern void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex, Int32 baseinstance); /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -21273,18 +13242,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static - void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); - #if DEBUG - } - #endif - } + public static extern void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance); /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -21325,27 +13283,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static - void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount, Int32 basevertex, Int32 baseinstance) + public static extern void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount, Int32 basevertex, Int32 baseinstance) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -21387,27 +13327,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static - void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance) + public static extern void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -21448,27 +13370,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static - void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount, Int32 basevertex, Int32 baseinstance) + public static extern void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount, Int32 basevertex, Int32 baseinstance) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -21510,27 +13414,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static - void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance) + public static extern void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -21571,27 +13457,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static - void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount, Int32 basevertex, Int32 baseinstance) + public static extern void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount, Int32 basevertex, Int32 baseinstance) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -21633,27 +13501,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static - void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance) + public static extern void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -21694,28 +13544,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static - void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount, Int32 basevertex, Int32 baseinstance) + public static extern void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount, Int32 basevertex, Int32 baseinstance) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.2 and ARB_base_instance|VERSION_4_2] /// Render multiple instances of a set of primitives from array data with a per-element offset @@ -21757,28 +13588,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] - public static - void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance) + public static extern void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Render primitives from array data @@ -21814,18 +13626,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices); - #if DEBUG - } - #endif - } + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices); /// [requires: v1.2] /// Render primitives from array data @@ -21861,27 +13662,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Render primitives from array data @@ -21917,27 +13700,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Render primitives from array data @@ -21973,27 +13738,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Render primitives from array data @@ -22029,28 +13776,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - indices = (T5)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Render primitives from array data @@ -22087,18 +13815,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices); - #if DEBUG - } - #endif - } + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices); /// [requires: v1.2] /// Render primitives from array data @@ -22135,27 +13852,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Render primitives from array data @@ -22192,27 +13891,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Render primitives from array data @@ -22249,27 +13930,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Render primitives from array data @@ -22306,28 +13969,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices) + public static extern void DrawRangeElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - indices = (T5)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -22368,18 +14012,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 basevertex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); - #if DEBUG - } - #endif - } + public static extern void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 basevertex); /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -22420,27 +14053,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices, Int32 basevertex) + public static extern void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices, Int32 basevertex) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -22481,27 +14096,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices, Int32 basevertex) + public static extern void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices, Int32 basevertex) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -22542,27 +14139,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices, Int32 basevertex) + public static extern void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices, Int32 basevertex) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -22603,28 +14182,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices, Int32 basevertex) + public static extern void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices, Int32 basevertex) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - indices = (T5)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -22666,18 +14226,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 basevertex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); - #if DEBUG - } - #endif - } + public static extern void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 basevertex); /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -22719,27 +14268,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices, Int32 basevertex) + public static extern void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices, Int32 basevertex) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -22781,27 +14312,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices, Int32 basevertex) + public static extern void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices, Int32 basevertex) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -22843,27 +14356,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices, Int32 basevertex) + public static extern void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices, Int32 basevertex) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render primitives from array data with a per-element offset @@ -22905,28 +14400,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices, Int32 basevertex) + public static extern void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices, Int32 basevertex) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - indices = (T5)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Render primitives using a count derived from a transform feedback object @@ -22942,18 +14418,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawTransformFeedback")] - public static - void DrawTransformFeedback(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawTransformFeedback((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void DrawTransformFeedback(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 id); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Render primitives using a count derived from a transform feedback object @@ -22970,18 +14435,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawTransformFeedback")] - public static - void DrawTransformFeedback(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawTransformFeedback((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)id); - #if DEBUG - } - #endif - } + public static extern void DrawTransformFeedback(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 id); /// [requires: v4.2 and ARB_transform_feedback_instanced|VERSION_4_2] /// Render multiple instances of primitives using a count derived from a transform feedback object @@ -23002,18 +14456,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_transform_feedback_instanced|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawTransformFeedbackInstanced")] - public static - void DrawTransformFeedbackInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 id, Int32 instancecount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawTransformFeedbackInstanced((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)id, (Int32)instancecount); - #if DEBUG - } - #endif - } + public static extern void DrawTransformFeedbackInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 id, Int32 instancecount); /// [requires: v4.2 and ARB_transform_feedback_instanced|VERSION_4_2] /// Render multiple instances of primitives using a count derived from a transform feedback object @@ -23035,18 +14478,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback_instanced|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawTransformFeedbackInstanced")] - public static - void DrawTransformFeedbackInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 id, Int32 instancecount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawTransformFeedbackInstanced((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)id, (Int32)instancecount); - #if DEBUG - } - #endif - } + public static extern void DrawTransformFeedbackInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 id, Int32 instancecount); /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Render primitives using a count derived from a specifed stream of a transform feedback object @@ -23067,18 +14499,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawTransformFeedbackStream")] - public static - void DrawTransformFeedbackStream(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 id, Int32 stream) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawTransformFeedbackStream((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)id, (UInt32)stream); - #if DEBUG - } - #endif - } + public static extern void DrawTransformFeedbackStream(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 id, Int32 stream); /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Render primitives using a count derived from a specifed stream of a transform feedback object @@ -23100,18 +14521,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glDrawTransformFeedbackStream")] - public static - void DrawTransformFeedbackStream(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 id, UInt32 stream) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawTransformFeedbackStream((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)id, (UInt32)stream); - #if DEBUG - } - #endif - } + public static extern void DrawTransformFeedbackStream(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 id, UInt32 stream); /// [requires: v4.2 and ARB_transform_feedback_instanced|VERSION_4_2] /// Render multiple instances of primitives using a count derived from a specifed stream of a transform feedback object @@ -23137,18 +14547,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_transform_feedback_instanced|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawTransformFeedbackStreamInstanced")] - public static - void DrawTransformFeedbackStreamInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 id, Int32 stream, Int32 instancecount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawTransformFeedbackStreamInstanced((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)id, (UInt32)stream, (Int32)instancecount); - #if DEBUG - } - #endif - } + public static extern void DrawTransformFeedbackStreamInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 id, Int32 stream, Int32 instancecount); /// [requires: v4.2 and ARB_transform_feedback_instanced|VERSION_4_2] /// Render multiple instances of primitives using a count derived from a specifed stream of a transform feedback object @@ -23175,18 +14574,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback_instanced|VERSION_4_2", Version = "4.2", EntryPoint = "glDrawTransformFeedbackStreamInstanced")] - public static - void DrawTransformFeedbackStreamInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 id, UInt32 stream, Int32 instancecount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawTransformFeedbackStreamInstanced((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)id, (UInt32)stream, (Int32)instancecount); - #if DEBUG - } - #endif - } + public static extern void DrawTransformFeedbackStreamInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 id, UInt32 stream, Int32 instancecount); /// [requires: v1.0] /// Enable or disable server-side GL capabilities @@ -23202,18 +14590,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEnable")] - public static - void Enable(OpenTK.Graphics.OpenGL4.EnableCap cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnable((OpenTK.Graphics.OpenGL4.EnableCap)cap); - #if DEBUG - } - #endif - } + public static extern void Enable(OpenTK.Graphics.OpenGL4.EnableCap cap); /// [requires: v3.0] /// Enable or disable server-side GL capabilities @@ -23229,18 +14606,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glEnablei")] - public static - void Enable(OpenTK.Graphics.OpenGL4.IndexedEnableCap target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnablei((OpenTK.Graphics.OpenGL4.IndexedEnableCap)target, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void Enable(OpenTK.Graphics.OpenGL4.IndexedEnableCap target, Int32 index); /// [requires: v3.0] /// Enable or disable server-side GL capabilities @@ -23257,18 +14623,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glEnablei")] - public static - void Enable(OpenTK.Graphics.OpenGL4.IndexedEnableCap target, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnablei((OpenTK.Graphics.OpenGL4.IndexedEnableCap)target, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void Enable(OpenTK.Graphics.OpenGL4.IndexedEnableCap target, UInt32 index); /// [requires: v2.0] /// Enable or disable a generic vertex attribute array @@ -23279,18 +14634,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")] - public static - void EnableVertexAttribArray(Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableVertexAttribArray((UInt32)index); - #if DEBUG - } - #endif - } + public static extern void EnableVertexAttribArray(Int32 index); /// [requires: v2.0] /// Enable or disable a generic vertex attribute array @@ -23302,94 +14646,28 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")] - public static - void EnableVertexAttribArray(UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableVertexAttribArray((UInt32)index); - #if DEBUG - } - #endif - } + public static extern void EnableVertexAttribArray(UInt32 index); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glEndConditionalRender")] - public static - void EndConditionalRender() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndConditionalRender(); - #if DEBUG - } - #endif - } + public static extern void EndConditionalRender(); /// [requires: v1.5] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glEndQuery")] - public static - void EndQuery(OpenTK.Graphics.OpenGL4.QueryTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndQuery((OpenTK.Graphics.OpenGL4.QueryTarget)target); - #if DEBUG - } - #endif - } + public static extern void EndQuery(OpenTK.Graphics.OpenGL4.QueryTarget target); /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glEndQueryIndexed")] - public static - void EndQueryIndexed(OpenTK.Graphics.OpenGL4.QueryTarget target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndQueryIndexed((OpenTK.Graphics.OpenGL4.QueryTarget)target, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void EndQueryIndexed(OpenTK.Graphics.OpenGL4.QueryTarget target, Int32 index); /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glEndQueryIndexed")] - public static - void EndQueryIndexed(OpenTK.Graphics.OpenGL4.QueryTarget target, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndQueryIndexed((OpenTK.Graphics.OpenGL4.QueryTarget)target, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern void EndQueryIndexed(OpenTK.Graphics.OpenGL4.QueryTarget target, UInt32 index); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glEndTransformFeedback")] - public static - void EndTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndTransformFeedback(); - #if DEBUG - } - #endif - } + public static extern void EndTransformFeedback(); /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Create a new sync object and insert it into the GL command stream @@ -23405,52 +14683,19 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glFenceSync")] - public static - IntPtr FenceSync(OpenTK.Graphics.OpenGL4.SyncCondition condition, OpenTK.Graphics.OpenGL4.WaitSyncFlags flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glFenceSync((OpenTK.Graphics.OpenGL4.SyncCondition)condition, (OpenTK.Graphics.OpenGL4.WaitSyncFlags)flags); - #if DEBUG - } - #endif - } + public static extern IntPtr FenceSync(OpenTK.Graphics.OpenGL4.SyncCondition condition, OpenTK.Graphics.OpenGL4.WaitSyncFlags flags); /// [requires: v1.0] /// Block until all GL execution is complete /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFinish")] - public static - void Finish() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFinish(); - #if DEBUG - } - #endif - } + public static extern void Finish(); /// [requires: v1.0] /// Force execution of GL commands in finite time /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFlush")] - public static - void Flush() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFlush(); - #if DEBUG - } - #endif - } + public static extern void Flush(); /// [requires: v3.0 and ARB_map_buffer_range|VERSION_3_0] /// Indicate modifications to a range of a mapped buffer @@ -23471,18 +14716,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_map_buffer_range|VERSION_3_0", Version = "3.0", EntryPoint = "glFlushMappedBufferRange")] - public static - void FlushMappedBufferRange(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFlushMappedBufferRange((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)offset, (IntPtr)length); - #if DEBUG - } - #endif - } + public static extern void FlushMappedBufferRange(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr length); /// [requires: v4.3 and ARB_framebuffer_no_attachments|VERSION_4_3] /// Set a named parameter of a framebuffer @@ -23503,18 +14737,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_no_attachments|VERSION_4_3", Version = "4.3", EntryPoint = "glFramebufferParameteri")] - public static - void FramebufferParameter(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferDefaultParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferParameteri((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferDefaultParameter)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void FramebufferParameter(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferDefaultParameter pname, Int32 param); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -23540,18 +14763,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferRenderbuffer")] - public static - void FramebufferRenderbuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.RenderbufferTarget renderbuffertarget, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL4.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void FramebufferRenderbuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.RenderbufferTarget renderbuffertarget, Int32 renderbuffer); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object @@ -23578,18 +14790,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferRenderbuffer")] - public static - void FramebufferRenderbuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL4.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern void FramebufferRenderbuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); /// [requires: v3.2] /// Attach a level of a texture object as a logical buffer to the currently bound framebuffer object @@ -23620,18 +14821,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glFramebufferTexture")] - public static - void FramebufferTexture(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, Int32 texture, Int32 level); /// [requires: v3.2] /// Attach a level of a texture object as a logical buffer to the currently bound framebuffer object @@ -23663,111 +14853,34 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glFramebufferTexture")] - public static - void FramebufferTexture(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, UInt32 texture, Int32 level); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTexture1D")] - public static - void FramebufferTexture1D(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.TextureTarget textarget, Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture1D((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL4.TextureTarget)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture1D(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.TextureTarget textarget, Int32 texture, Int32 level); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTexture1D")] - public static - void FramebufferTexture1D(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.TextureTarget textarget, UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture1D((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL4.TextureTarget)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture1D(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.TextureTarget textarget, UInt32 texture, Int32 level); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTexture2D")] - public static - void FramebufferTexture2D(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.TextureTarget textarget, Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2D((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL4.TextureTarget)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture2D(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.TextureTarget textarget, Int32 texture, Int32 level); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTexture2D")] - public static - void FramebufferTexture2D(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.TextureTarget textarget, UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2D((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL4.TextureTarget)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture2D(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.TextureTarget textarget, UInt32 texture, Int32 level); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTexture3D")] - public static - void FramebufferTexture3D(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.TextureTarget textarget, Int32 texture, Int32 level, Int32 zoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture3D((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL4.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture3D(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.TextureTarget textarget, Int32 texture, Int32 level, Int32 zoffset); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTexture3D")] - public static - void FramebufferTexture3D(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture3D((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL4.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); - #if DEBUG - } - #endif - } + public static extern void FramebufferTexture3D(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Attach a single layer of a texture to a framebuffer @@ -23798,18 +14911,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTextureLayer")] - public static - void FramebufferTextureLayer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTextureLayer((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); - #if DEBUG - } - #endif - } + public static extern void FramebufferTextureLayer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Attach a single layer of a texture to a framebuffer @@ -23841,18 +14943,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTextureLayer")] - public static - void FramebufferTextureLayer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTextureLayer((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); - #if DEBUG - } - #endif - } + public static extern void FramebufferTextureLayer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); /// [requires: v1.0] /// Define front- and back-facing polygons @@ -23863,18 +14954,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glFrontFace")] - public static - void FrontFace(OpenTK.Graphics.OpenGL4.FrontFaceDirection mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFrontFace((OpenTK.Graphics.OpenGL4.FrontFaceDirection)mode); - #if DEBUG - } - #endif - } + public static extern void FrontFace(OpenTK.Graphics.OpenGL4.FrontFaceDirection mode); /// [requires: v1.5] /// Generate buffer object names @@ -23890,25 +14970,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenBuffers")] - public static - Int32 GenBuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* buffers_ptr = &retval; - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenBuffer(); /// [requires: v1.5] /// Generate buffer object names @@ -23924,24 +14986,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenBuffers")] - public static - void GenBuffers(Int32 n, [OutAttribute] Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenBuffers(Int32 n, [OutAttribute] Int32[] buffers); /// [requires: v1.5] /// Generate buffer object names @@ -23957,25 +15002,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenBuffers")] - public static - void GenBuffers(Int32 n, [OutAttribute] out Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - { - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - buffers = *buffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenBuffers(Int32 n, [OutAttribute] out Int32 buffers); /// [requires: v1.5] /// Generate buffer object names @@ -23992,18 +15019,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenBuffers")] - public static - unsafe void GenBuffers(Int32 n, [OutAttribute] Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenBuffers(Int32 n, [OutAttribute] Int32* buffers); /// [requires: v1.5] /// Generate buffer object names @@ -24020,24 +15036,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenBuffers")] - public static - void GenBuffers(Int32 n, [OutAttribute] UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenBuffers(Int32 n, [OutAttribute] UInt32[] buffers); /// [requires: v1.5] /// Generate buffer object names @@ -24054,25 +15053,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenBuffers")] - public static - void GenBuffers(Int32 n, [OutAttribute] out UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - { - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - buffers = *buffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenBuffers(Int32 n, [OutAttribute] out UInt32 buffers); /// [requires: v1.5] /// Generate buffer object names @@ -24089,18 +15070,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenBuffers")] - public static - unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate mipmaps for a specified texture target @@ -24111,18 +15081,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenerateMipmap")] - public static - void GenerateMipmap(OpenTK.Graphics.OpenGL4.GenerateMipmapTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenerateMipmap((OpenTK.Graphics.OpenGL4.GenerateMipmapTarget)target); - #if DEBUG - } - #endif - } + public static extern void GenerateMipmap(OpenTK.Graphics.OpenGL4.GenerateMipmapTarget target); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate framebuffer object names @@ -24138,25 +15097,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static - Int32 GenFramebuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* framebuffers_ptr = &retval; - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenFramebuffer(); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate framebuffer object names @@ -24172,24 +15113,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static - void GenFramebuffers(Int32 n, [OutAttribute] Int32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenFramebuffers(Int32 n, [OutAttribute] Int32[] framebuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate framebuffer object names @@ -24205,25 +15129,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static - void GenFramebuffers(Int32 n, [OutAttribute] out Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - { - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - framebuffers = *framebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenFramebuffers(Int32 n, [OutAttribute] out Int32 framebuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate framebuffer object names @@ -24240,18 +15146,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static - unsafe void GenFramebuffers(Int32 n, [OutAttribute] Int32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenFramebuffers(Int32 n, [OutAttribute] Int32* framebuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate framebuffer object names @@ -24268,24 +15163,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static - void GenFramebuffers(Int32 n, [OutAttribute] UInt32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = framebuffers) - { - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenFramebuffers(Int32 n, [OutAttribute] UInt32[] framebuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate framebuffer object names @@ -24302,25 +15180,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static - void GenFramebuffers(Int32 n, [OutAttribute] out UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = &framebuffers) - { - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - framebuffers = *framebuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenFramebuffers(Int32 n, [OutAttribute] out UInt32 framebuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate framebuffer object names @@ -24337,18 +15197,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static - unsafe void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Reserve program pipeline object names @@ -24364,25 +15213,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGenProgramPipelines")] - public static - Int32 GenProgramPipeline() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* pipelines_ptr = &retval; - Delegates.glGenProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenProgramPipeline(); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Reserve program pipeline object names @@ -24398,24 +15229,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGenProgramPipelines")] - public static - void GenProgramPipelines(Int32 n, [OutAttribute] Int32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = pipelines) - { - Delegates.glGenProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] Int32[] pipelines); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Reserve program pipeline object names @@ -24431,25 +15245,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGenProgramPipelines")] - public static - void GenProgramPipelines(Int32 n, [OutAttribute] out Int32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* pipelines_ptr = &pipelines) - { - Delegates.glGenProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); - pipelines = *pipelines_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] out Int32 pipelines); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Reserve program pipeline object names @@ -24466,18 +15262,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGenProgramPipelines")] - public static - unsafe void GenProgramPipelines(Int32 n, [OutAttribute] Int32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenProgramPipelines((Int32)n, (UInt32*)pipelines); - #if DEBUG - } - #endif - } + public static extern unsafe void GenProgramPipelines(Int32 n, [OutAttribute] Int32* pipelines); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Reserve program pipeline object names @@ -24494,24 +15279,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGenProgramPipelines")] - public static - void GenProgramPipelines(Int32 n, [OutAttribute] UInt32[] pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = pipelines) - { - Delegates.glGenProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] UInt32[] pipelines); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Reserve program pipeline object names @@ -24528,25 +15296,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGenProgramPipelines")] - public static - void GenProgramPipelines(Int32 n, [OutAttribute] out UInt32 pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* pipelines_ptr = &pipelines) - { - Delegates.glGenProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); - pipelines = *pipelines_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenProgramPipelines(Int32 n, [OutAttribute] out UInt32 pipelines); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Reserve program pipeline object names @@ -24563,18 +15313,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGenProgramPipelines")] - public static - unsafe void GenProgramPipelines(Int32 n, [OutAttribute] UInt32* pipelines) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenProgramPipelines((Int32)n, (UInt32*)pipelines); - #if DEBUG - } - #endif - } + public static extern unsafe void GenProgramPipelines(Int32 n, [OutAttribute] UInt32* pipelines); /// [requires: v1.5] /// Generate query object names @@ -24590,25 +15329,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenQueries")] - public static - Int32 GenQuery() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* ids_ptr = &retval; - Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenQuery(); /// [requires: v1.5] /// Generate query object names @@ -24624,24 +15345,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenQueries")] - public static - void GenQueries(Int32 n, [OutAttribute] Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenQueries(Int32 n, [OutAttribute] Int32[] ids); /// [requires: v1.5] /// Generate query object names @@ -24657,25 +15361,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenQueries")] - public static - void GenQueries(Int32 n, [OutAttribute] out Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenQueries(Int32 n, [OutAttribute] out Int32 ids); /// [requires: v1.5] /// Generate query object names @@ -24692,18 +15378,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenQueries")] - public static - unsafe void GenQueries(Int32 n, [OutAttribute] Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenQueries((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void GenQueries(Int32 n, [OutAttribute] Int32* ids); /// [requires: v1.5] /// Generate query object names @@ -24720,24 +15395,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenQueries")] - public static - void GenQueries(Int32 n, [OutAttribute] UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenQueries(Int32 n, [OutAttribute] UInt32[] ids); /// [requires: v1.5] /// Generate query object names @@ -24754,25 +15412,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenQueries")] - public static - void GenQueries(Int32 n, [OutAttribute] out UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenQueries(Int32 n, [OutAttribute] out UInt32 ids); /// [requires: v1.5] /// Generate query object names @@ -24789,18 +15429,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGenQueries")] - public static - unsafe void GenQueries(Int32 n, [OutAttribute] UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenQueries((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void GenQueries(Int32 n, [OutAttribute] UInt32* ids); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate renderbuffer object names @@ -24816,25 +15445,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static - Int32 GenRenderbuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* renderbuffers_ptr = &retval; - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenRenderbuffer(); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate renderbuffer object names @@ -24850,24 +15461,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static - void GenRenderbuffers(Int32 n, [OutAttribute] Int32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = renderbuffers) - { - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] Int32[] renderbuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate renderbuffer object names @@ -24883,25 +15477,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static - void GenRenderbuffers(Int32 n, [OutAttribute] out Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - renderbuffers = *renderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] out Int32 renderbuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate renderbuffer object names @@ -24918,18 +15494,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static - unsafe void GenRenderbuffers(Int32 n, [OutAttribute] Int32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenRenderbuffers(Int32 n, [OutAttribute] Int32* renderbuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate renderbuffer object names @@ -24946,24 +15511,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static - void GenRenderbuffers(Int32 n, [OutAttribute] UInt32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = renderbuffers) - { - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] UInt32[] renderbuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate renderbuffer object names @@ -24980,25 +15528,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static - void GenRenderbuffers(Int32 n, [OutAttribute] out UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - renderbuffers = *renderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenRenderbuffers(Int32 n, [OutAttribute] out UInt32 renderbuffers); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Generate renderbuffer object names @@ -25015,18 +15545,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static - unsafe void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Generate sampler object names @@ -25042,25 +15561,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGenSamplers")] - public static - Int32 GenSampler() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 count = 1; - Int32 retval; - Int32* samplers_ptr = &retval; - Delegates.glGenSamplers((Int32)count, (UInt32*)samplers_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenSampler(); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Generate sampler object names @@ -25076,24 +15577,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGenSamplers")] - public static - void GenSamplers(Int32 count, [OutAttribute] Int32[] samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* samplers_ptr = samplers) - { - Delegates.glGenSamplers((Int32)count, (UInt32*)samplers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenSamplers(Int32 count, [OutAttribute] Int32[] samplers); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Generate sampler object names @@ -25109,25 +15593,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGenSamplers")] - public static - void GenSamplers(Int32 count, [OutAttribute] out Int32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* samplers_ptr = &samplers) - { - Delegates.glGenSamplers((Int32)count, (UInt32*)samplers_ptr); - samplers = *samplers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenSamplers(Int32 count, [OutAttribute] out Int32 samplers); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Generate sampler object names @@ -25144,18 +15610,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGenSamplers")] - public static - unsafe void GenSamplers(Int32 count, [OutAttribute] Int32* samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenSamplers((Int32)count, (UInt32*)samplers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenSamplers(Int32 count, [OutAttribute] Int32* samplers); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Generate sampler object names @@ -25172,24 +15627,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGenSamplers")] - public static - void GenSamplers(Int32 count, [OutAttribute] UInt32[] samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* samplers_ptr = samplers) - { - Delegates.glGenSamplers((Int32)count, (UInt32*)samplers_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenSamplers(Int32 count, [OutAttribute] UInt32[] samplers); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Generate sampler object names @@ -25206,25 +15644,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGenSamplers")] - public static - void GenSamplers(Int32 count, [OutAttribute] out UInt32 samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* samplers_ptr = &samplers) - { - Delegates.glGenSamplers((Int32)count, (UInt32*)samplers_ptr); - samplers = *samplers_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenSamplers(Int32 count, [OutAttribute] out UInt32 samplers); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Generate sampler object names @@ -25241,18 +15661,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGenSamplers")] - public static - unsafe void GenSamplers(Int32 count, [OutAttribute] UInt32* samplers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenSamplers((Int32)count, (UInt32*)samplers); - #if DEBUG - } - #endif - } + public static extern unsafe void GenSamplers(Int32 count, [OutAttribute] UInt32* samplers); /// [requires: v1.1] /// Generate texture names @@ -25268,25 +15677,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGenTextures")] - public static - Int32 GenTexture() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* textures_ptr = &retval; - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenTexture(); /// [requires: v1.1] /// Generate texture names @@ -25302,24 +15693,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGenTextures")] - public static - void GenTextures(Int32 n, [OutAttribute] Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenTextures(Int32 n, [OutAttribute] Int32[] textures); /// [requires: v1.1] /// Generate texture names @@ -25335,25 +15709,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGenTextures")] - public static - void GenTextures(Int32 n, [OutAttribute] out Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - textures = *textures_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenTextures(Int32 n, [OutAttribute] out Int32 textures); /// [requires: v1.1] /// Generate texture names @@ -25370,18 +15726,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGenTextures")] - public static - unsafe void GenTextures(Int32 n, [OutAttribute] Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenTextures((Int32)n, (UInt32*)textures); - #if DEBUG - } - #endif - } + public static extern unsafe void GenTextures(Int32 n, [OutAttribute] Int32* textures); /// [requires: v1.1] /// Generate texture names @@ -25398,24 +15743,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGenTextures")] - public static - void GenTextures(Int32 n, [OutAttribute] UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenTextures(Int32 n, [OutAttribute] UInt32[] textures); /// [requires: v1.1] /// Generate texture names @@ -25432,25 +15760,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGenTextures")] - public static - void GenTextures(Int32 n, [OutAttribute] out UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - textures = *textures_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenTextures(Int32 n, [OutAttribute] out UInt32 textures); /// [requires: v1.1] /// Generate texture names @@ -25467,18 +15777,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glGenTextures")] - public static - unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenTextures((Int32)n, (UInt32*)textures); - #if DEBUG - } - #endif - } + public static extern unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Reserve transform feedback object names @@ -25494,25 +15793,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glGenTransformFeedbacks")] - public static - Int32 GenTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* ids_ptr = &retval; - Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenTransformFeedback(); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Reserve transform feedback object names @@ -25528,24 +15809,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glGenTransformFeedbacks")] - public static - void GenTransformFeedbacks(Int32 n, [OutAttribute] Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenTransformFeedbacks(Int32 n, [OutAttribute] Int32[] ids); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Reserve transform feedback object names @@ -25561,25 +15825,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glGenTransformFeedbacks")] - public static - void GenTransformFeedbacks(Int32 n, [OutAttribute] out Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenTransformFeedbacks(Int32 n, [OutAttribute] out Int32 ids); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Reserve transform feedback object names @@ -25596,18 +15842,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glGenTransformFeedbacks")] - public static - unsafe void GenTransformFeedbacks(Int32 n, [OutAttribute] Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void GenTransformFeedbacks(Int32 n, [OutAttribute] Int32* ids); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Reserve transform feedback object names @@ -25624,24 +15859,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glGenTransformFeedbacks")] - public static - void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32[] ids); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Reserve transform feedback object names @@ -25658,25 +15876,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glGenTransformFeedbacks")] - public static - void GenTransformFeedbacks(Int32 n, [OutAttribute] out UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenTransformFeedbacks(Int32 n, [OutAttribute] out UInt32 ids); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Reserve transform feedback object names @@ -25693,18 +15893,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glGenTransformFeedbacks")] - public static - unsafe void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } + public static extern unsafe void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32* ids); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Generate vertex array object names @@ -25720,25 +15909,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static - Int32 GenVertexArray() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - const Int32 n = 1; - Int32 retval; - Int32* arrays_ptr = &retval; - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GenVertexArray(); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Generate vertex array object names @@ -25754,24 +15925,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static - void GenVertexArrays(Int32 n, [OutAttribute] Int32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenVertexArrays(Int32 n, [OutAttribute] Int32[] arrays); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Generate vertex array object names @@ -25787,25 +15941,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static - void GenVertexArrays(Int32 n, [OutAttribute] out Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = &arrays) - { - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr); - arrays = *arrays_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenVertexArrays(Int32 n, [OutAttribute] out Int32 arrays); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Generate vertex array object names @@ -25822,18 +15958,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static - unsafe void GenVertexArrays(Int32 n, [OutAttribute] Int32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } + public static extern unsafe void GenVertexArrays(Int32 n, [OutAttribute] Int32* arrays); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Generate vertex array object names @@ -25850,24 +15975,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static - void GenVertexArrays(Int32 n, [OutAttribute] UInt32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = arrays) - { - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GenVertexArrays(Int32 n, [OutAttribute] UInt32[] arrays); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Generate vertex array object names @@ -25884,25 +15992,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static - void GenVertexArrays(Int32 n, [OutAttribute] out UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = &arrays) - { - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr); - arrays = *arrays_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GenVertexArrays(Int32 n, [OutAttribute] out UInt32 arrays); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Generate vertex array object names @@ -25919,18 +16009,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static - unsafe void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } + public static extern unsafe void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays); /// [requires: v4.2 and ARB_shader_atomic_counters|VERSION_4_2] /// Retrieve information about the set of active atomic counter buffers for a program @@ -25956,24 +16035,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_shader_atomic_counters|VERSION_4_2", Version = "4.2", EntryPoint = "glGetActiveAtomicCounterBufferiv")] - public static - void GetActiveAtomicCounterBuffer(Int32 program, Int32 bufferIndex, OpenTK.Graphics.OpenGL4.AtomicCounterBufferParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetActiveAtomicCounterBufferiv((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL4.AtomicCounterBufferParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveAtomicCounterBuffer(Int32 program, Int32 bufferIndex, OpenTK.Graphics.OpenGL4.AtomicCounterBufferParameter pname, [OutAttribute] Int32[] @params); /// [requires: v4.2 and ARB_shader_atomic_counters|VERSION_4_2] /// Retrieve information about the set of active atomic counter buffers for a program @@ -25999,25 +16061,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_shader_atomic_counters|VERSION_4_2", Version = "4.2", EntryPoint = "glGetActiveAtomicCounterBufferiv")] - public static - void GetActiveAtomicCounterBuffer(Int32 program, Int32 bufferIndex, OpenTK.Graphics.OpenGL4.AtomicCounterBufferParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetActiveAtomicCounterBufferiv((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL4.AtomicCounterBufferParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveAtomicCounterBuffer(Int32 program, Int32 bufferIndex, OpenTK.Graphics.OpenGL4.AtomicCounterBufferParameter pname, [OutAttribute] out Int32 @params); /// [requires: v4.2 and ARB_shader_atomic_counters|VERSION_4_2] /// Retrieve information about the set of active atomic counter buffers for a program @@ -26044,18 +16088,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_atomic_counters|VERSION_4_2", Version = "4.2", EntryPoint = "glGetActiveAtomicCounterBufferiv")] - public static - unsafe void GetActiveAtomicCounterBuffer(Int32 program, Int32 bufferIndex, OpenTK.Graphics.OpenGL4.AtomicCounterBufferParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveAtomicCounterBufferiv((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL4.AtomicCounterBufferParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveAtomicCounterBuffer(Int32 program, Int32 bufferIndex, OpenTK.Graphics.OpenGL4.AtomicCounterBufferParameter pname, [OutAttribute] Int32* @params); /// [requires: v4.2 and ARB_shader_atomic_counters|VERSION_4_2] /// Retrieve information about the set of active atomic counter buffers for a program @@ -26082,24 +16115,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_atomic_counters|VERSION_4_2", Version = "4.2", EntryPoint = "glGetActiveAtomicCounterBufferiv")] - public static - void GetActiveAtomicCounterBuffer(UInt32 program, UInt32 bufferIndex, OpenTK.Graphics.OpenGL4.AtomicCounterBufferParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetActiveAtomicCounterBufferiv((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL4.AtomicCounterBufferParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveAtomicCounterBuffer(UInt32 program, UInt32 bufferIndex, OpenTK.Graphics.OpenGL4.AtomicCounterBufferParameter pname, [OutAttribute] Int32[] @params); /// [requires: v4.2 and ARB_shader_atomic_counters|VERSION_4_2] /// Retrieve information about the set of active atomic counter buffers for a program @@ -26126,25 +16142,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_atomic_counters|VERSION_4_2", Version = "4.2", EntryPoint = "glGetActiveAtomicCounterBufferiv")] - public static - void GetActiveAtomicCounterBuffer(UInt32 program, UInt32 bufferIndex, OpenTK.Graphics.OpenGL4.AtomicCounterBufferParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetActiveAtomicCounterBufferiv((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL4.AtomicCounterBufferParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveAtomicCounterBuffer(UInt32 program, UInt32 bufferIndex, OpenTK.Graphics.OpenGL4.AtomicCounterBufferParameter pname, [OutAttribute] out Int32 @params); /// [requires: v4.2 and ARB_shader_atomic_counters|VERSION_4_2] /// Retrieve information about the set of active atomic counter buffers for a program @@ -26171,18 +16169,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_atomic_counters|VERSION_4_2", Version = "4.2", EntryPoint = "glGetActiveAtomicCounterBufferiv")] - public static - unsafe void GetActiveAtomicCounterBuffer(UInt32 program, UInt32 bufferIndex, OpenTK.Graphics.OpenGL4.AtomicCounterBufferParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveAtomicCounterBufferiv((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL4.AtomicCounterBufferParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveAtomicCounterBuffer(UInt32 program, UInt32 bufferIndex, OpenTK.Graphics.OpenGL4.AtomicCounterBufferParameter pname, [OutAttribute] Int32* @params); /// [requires: v2.0] /// Returns information about an active attribute variable for the specified program object @@ -26223,29 +16210,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static - void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL4.ActiveAttribType type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.OpenGL4.ActiveAttribType* type_ptr = &type) - { - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL4.ActiveAttribType*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL4.ActiveAttribType type, [OutAttribute] StringBuilder name); /// [requires: v2.0] /// Returns information about an active attribute variable for the specified program object @@ -26287,18 +16252,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static - unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL4.ActiveAttribType* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL4.ActiveAttribType*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL4.ActiveAttribType* type, [OutAttribute] StringBuilder name); /// [requires: v2.0] /// Returns information about an active attribute variable for the specified program object @@ -26340,29 +16294,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static - void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL4.ActiveAttribType type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.OpenGL4.ActiveAttribType* type_ptr = &type) - { - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL4.ActiveAttribType*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL4.ActiveAttribType type, [OutAttribute] StringBuilder name); /// [requires: v2.0] /// Returns information about an active attribute variable for the specified program object @@ -26404,18 +16336,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static - unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL4.ActiveAttribType* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL4.ActiveAttribType*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL4.ActiveAttribType* type, [OutAttribute] StringBuilder name); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query the name of an active shader subroutine @@ -26451,25 +16372,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineName")] - public static - void GetActiveSubroutineName(Int32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetActiveSubroutineName((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)name); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveSubroutineName(Int32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder name); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query the name of an active shader subroutine @@ -26506,18 +16409,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineName")] - public static - unsafe void GetActiveSubroutineName(Int32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveSubroutineName((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (Int32*)length, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveSubroutineName(Int32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query the name of an active shader subroutine @@ -26554,25 +16446,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineName")] - public static - void GetActiveSubroutineName(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetActiveSubroutineName((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)name); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveSubroutineName(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder name); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query the name of an active shader subroutine @@ -26609,18 +16483,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineName")] - public static - unsafe void GetActiveSubroutineName(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveSubroutineName((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (Int32*)length, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveSubroutineName(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query a property of an active shader subroutine uniform @@ -26651,24 +16514,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformiv")] - public static - void GetActiveSubroutineUniform(Int32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 index, OpenTK.Graphics.OpenGL4.ActiveSubroutineUniformParameter pname, [OutAttribute] Int32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* values_ptr = values) - { - Delegates.glGetActiveSubroutineUniformiv((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (UInt32)index, (OpenTK.Graphics.OpenGL4.ActiveSubroutineUniformParameter)pname, (Int32*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveSubroutineUniform(Int32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 index, OpenTK.Graphics.OpenGL4.ActiveSubroutineUniformParameter pname, [OutAttribute] Int32[] values); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query a property of an active shader subroutine uniform @@ -26699,25 +16545,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformiv")] - public static - void GetActiveSubroutineUniform(Int32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 index, OpenTK.Graphics.OpenGL4.ActiveSubroutineUniformParameter pname, [OutAttribute] out Int32 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* values_ptr = &values) - { - Delegates.glGetActiveSubroutineUniformiv((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (UInt32)index, (OpenTK.Graphics.OpenGL4.ActiveSubroutineUniformParameter)pname, (Int32*)values_ptr); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveSubroutineUniform(Int32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 index, OpenTK.Graphics.OpenGL4.ActiveSubroutineUniformParameter pname, [OutAttribute] out Int32 values); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query a property of an active shader subroutine uniform @@ -26749,18 +16577,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformiv")] - public static - unsafe void GetActiveSubroutineUniform(Int32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 index, OpenTK.Graphics.OpenGL4.ActiveSubroutineUniformParameter pname, [OutAttribute] Int32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveSubroutineUniformiv((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (UInt32)index, (OpenTK.Graphics.OpenGL4.ActiveSubroutineUniformParameter)pname, (Int32*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveSubroutineUniform(Int32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 index, OpenTK.Graphics.OpenGL4.ActiveSubroutineUniformParameter pname, [OutAttribute] Int32* values); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query a property of an active shader subroutine uniform @@ -26792,24 +16609,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformiv")] - public static - void GetActiveSubroutineUniform(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, UInt32 index, OpenTK.Graphics.OpenGL4.ActiveSubroutineUniformParameter pname, [OutAttribute] Int32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* values_ptr = values) - { - Delegates.glGetActiveSubroutineUniformiv((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (UInt32)index, (OpenTK.Graphics.OpenGL4.ActiveSubroutineUniformParameter)pname, (Int32*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveSubroutineUniform(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, UInt32 index, OpenTK.Graphics.OpenGL4.ActiveSubroutineUniformParameter pname, [OutAttribute] Int32[] values); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query a property of an active shader subroutine uniform @@ -26841,25 +16641,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformiv")] - public static - void GetActiveSubroutineUniform(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, UInt32 index, OpenTK.Graphics.OpenGL4.ActiveSubroutineUniformParameter pname, [OutAttribute] out Int32 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* values_ptr = &values) - { - Delegates.glGetActiveSubroutineUniformiv((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (UInt32)index, (OpenTK.Graphics.OpenGL4.ActiveSubroutineUniformParameter)pname, (Int32*)values_ptr); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveSubroutineUniform(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, UInt32 index, OpenTK.Graphics.OpenGL4.ActiveSubroutineUniformParameter pname, [OutAttribute] out Int32 values); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query a property of an active shader subroutine uniform @@ -26891,18 +16673,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformiv")] - public static - unsafe void GetActiveSubroutineUniform(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, UInt32 index, OpenTK.Graphics.OpenGL4.ActiveSubroutineUniformParameter pname, [OutAttribute] Int32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveSubroutineUniformiv((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (UInt32)index, (OpenTK.Graphics.OpenGL4.ActiveSubroutineUniformParameter)pname, (Int32*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveSubroutineUniform(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, UInt32 index, OpenTK.Graphics.OpenGL4.ActiveSubroutineUniformParameter pname, [OutAttribute] Int32* values); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query the name of an active shader subroutine uniform @@ -26938,25 +16709,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformName")] - public static - void GetActiveSubroutineUniformName(Int32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetActiveSubroutineUniformName((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)name); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveSubroutineUniformName(Int32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder name); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query the name of an active shader subroutine uniform @@ -26993,18 +16746,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformName")] - public static - unsafe void GetActiveSubroutineUniformName(Int32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveSubroutineUniformName((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (Int32*)length, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveSubroutineUniformName(Int32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query the name of an active shader subroutine uniform @@ -27041,25 +16783,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformName")] - public static - void GetActiveSubroutineUniformName(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetActiveSubroutineUniformName((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)name); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveSubroutineUniformName(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder name); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Query the name of an active shader subroutine uniform @@ -27096,18 +16820,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetActiveSubroutineUniformName")] - public static - unsafe void GetActiveSubroutineUniformName(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveSubroutineUniformName((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (Int32*)length, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveSubroutineUniformName(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name); /// [requires: v2.0] /// Returns information about an active uniform variable for the specified program object @@ -27148,29 +16861,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static - void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL4.ActiveUniformType type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.OpenGL4.ActiveUniformType* type_ptr = &type) - { - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL4.ActiveUniformType*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL4.ActiveUniformType type, [OutAttribute] StringBuilder name); /// [requires: v2.0] /// Returns information about an active uniform variable for the specified program object @@ -27212,18 +16903,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static - unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL4.ActiveUniformType* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL4.ActiveUniformType*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL4.ActiveUniformType* type, [OutAttribute] StringBuilder name); /// [requires: v2.0] /// Returns information about an active uniform variable for the specified program object @@ -27265,29 +16945,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static - void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL4.ActiveUniformType type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.OpenGL4.ActiveUniformType* type_ptr = &type) - { - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL4.ActiveUniformType*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL4.ActiveUniformType type, [OutAttribute] StringBuilder name); /// [requires: v2.0] /// Returns information about an active uniform variable for the specified program object @@ -27329,18 +16987,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static - unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL4.ActiveUniformType* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL4.ActiveUniformType*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL4.ActiveUniformType* type, [OutAttribute] StringBuilder name); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query information about an active uniform block @@ -27366,24 +17013,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] - public static - void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.OpenGL4.ActiveUniformBlockParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.OpenGL4.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.OpenGL4.ActiveUniformBlockParameter pname, [OutAttribute] Int32[] @params); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query information about an active uniform block @@ -27409,25 +17039,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] - public static - void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.OpenGL4.ActiveUniformBlockParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.OpenGL4.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.OpenGL4.ActiveUniformBlockParameter pname, [OutAttribute] out Int32 @params); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query information about an active uniform block @@ -27454,18 +17066,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] - public static - unsafe void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.OpenGL4.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.OpenGL4.ActiveUniformBlockParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.OpenGL4.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query information about an active uniform block @@ -27492,24 +17093,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] - public static - void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.OpenGL4.ActiveUniformBlockParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.OpenGL4.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.OpenGL4.ActiveUniformBlockParameter pname, [OutAttribute] Int32[] @params); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query information about an active uniform block @@ -27536,25 +17120,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] - public static - void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.OpenGL4.ActiveUniformBlockParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.OpenGL4.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.OpenGL4.ActiveUniformBlockParameter pname, [OutAttribute] out Int32 @params); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query information about an active uniform block @@ -27581,18 +17147,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] - public static - unsafe void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.OpenGL4.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.OpenGL4.ActiveUniformBlockParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.OpenGL4.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the name of an active uniform block @@ -27623,25 +17178,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockName")] - public static - void GetActiveUniformBlockName(Int32 program, Int32 uniformBlockIndex, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)uniformBlockName); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniformBlockName(Int32 program, Int32 uniformBlockIndex, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder uniformBlockName); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the name of an active uniform block @@ -27673,18 +17210,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockName")] - public static - unsafe void GetActiveUniformBlockName(Int32 program, Int32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length, (StringBuilder)uniformBlockName); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniformBlockName(Int32 program, Int32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the name of an active uniform block @@ -27716,25 +17242,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockName")] - public static - void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)uniformBlockName); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder uniformBlockName); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the name of an active uniform block @@ -27766,18 +17274,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockName")] - public static - unsafe void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length, (StringBuilder)uniformBlockName); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query the name of an active uniform @@ -27808,25 +17305,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformName")] - public static - void GetActiveUniformName(Int32 program, Int32 uniformIndex, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder uniformName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetActiveUniformName((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)uniformName); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniformName(Int32 program, Int32 uniformIndex, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder uniformName); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query the name of an active uniform @@ -27858,18 +17337,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformName")] - public static - unsafe void GetActiveUniformName(Int32 program, Int32 uniformIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformName((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (Int32*)length, (StringBuilder)uniformName); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniformName(Int32 program, Int32 uniformIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformName); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query the name of an active uniform @@ -27901,25 +17369,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformName")] - public static - void GetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder uniformName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetActiveUniformName((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)uniformName); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder uniformName); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Query the name of an active uniform @@ -27951,18 +17401,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformName")] - public static - unsafe void GetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformName((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (Int32*)length, (StringBuilder)uniformName); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformName); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Returns information about several active uniform variables for the specified program object @@ -27993,25 +17432,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] - public static - void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32[] uniformIndices, OpenTK.Graphics.OpenGL4.ActiveUniformParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* uniformIndices_ptr = uniformIndices) - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.OpenGL4.ActiveUniformParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32[] uniformIndices, OpenTK.Graphics.OpenGL4.ActiveUniformParameter pname, [OutAttribute] Int32[] @params); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Returns information about several active uniform variables for the specified program object @@ -28042,26 +17463,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] - public static - void GetActiveUniforms(Int32 program, Int32 uniformCount, ref Int32 uniformIndices, OpenTK.Graphics.OpenGL4.ActiveUniformParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* uniformIndices_ptr = &uniformIndices) - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.OpenGL4.ActiveUniformParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniforms(Int32 program, Int32 uniformCount, ref Int32 uniformIndices, OpenTK.Graphics.OpenGL4.ActiveUniformParameter pname, [OutAttribute] out Int32 @params); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Returns information about several active uniform variables for the specified program object @@ -28093,18 +17495,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] - public static - unsafe void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32* uniformIndices, OpenTK.Graphics.OpenGL4.ActiveUniformParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices, (OpenTK.Graphics.OpenGL4.ActiveUniformParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32* uniformIndices, OpenTK.Graphics.OpenGL4.ActiveUniformParameter pname, [OutAttribute] Int32* @params); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Returns information about several active uniform variables for the specified program object @@ -28136,25 +17527,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] - public static - void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32[] uniformIndices, OpenTK.Graphics.OpenGL4.ActiveUniformParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* uniformIndices_ptr = uniformIndices) - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.OpenGL4.ActiveUniformParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32[] uniformIndices, OpenTK.Graphics.OpenGL4.ActiveUniformParameter pname, [OutAttribute] Int32[] @params); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Returns information about several active uniform variables for the specified program object @@ -28186,26 +17559,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] - public static - void GetActiveUniforms(UInt32 program, Int32 uniformCount, ref UInt32 uniformIndices, OpenTK.Graphics.OpenGL4.ActiveUniformParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* uniformIndices_ptr = &uniformIndices) - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.OpenGL4.ActiveUniformParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetActiveUniforms(UInt32 program, Int32 uniformCount, ref UInt32 uniformIndices, OpenTK.Graphics.OpenGL4.ActiveUniformParameter pname, [OutAttribute] out Int32 @params); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Returns information about several active uniform variables for the specified program object @@ -28237,18 +17591,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] - public static - unsafe void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, OpenTK.Graphics.OpenGL4.ActiveUniformParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices, (OpenTK.Graphics.OpenGL4.ActiveUniformParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, OpenTK.Graphics.OpenGL4.ActiveUniformParameter pname, [OutAttribute] Int32* @params); /// [requires: v2.0] /// Returns the handles of the shader objects attached to a program object @@ -28274,26 +17617,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static - void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] Int32[] shaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* shaders_ptr = shaders) - { - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)shaders_ptr); - count = *count_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] Int32[] shaders); /// [requires: v2.0] /// Returns the handles of the shader objects attached to a program object @@ -28319,27 +17643,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static - void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] out Int32 shaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* shaders_ptr = &shaders) - { - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)shaders_ptr); - count = *count_ptr; - shaders = *shaders_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] out Int32 shaders); /// [requires: v2.0] /// Returns the handles of the shader objects attached to a program object @@ -28366,18 +17670,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static - unsafe void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] Int32* shaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)shaders); - #if DEBUG - } - #endif - } + public static extern unsafe void GetAttachedShaders(Int32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] Int32* shaders); /// [requires: v2.0] /// Returns the handles of the shader objects attached to a program object @@ -28404,26 +17697,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static - void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] UInt32[] shaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (UInt32* shaders_ptr = shaders) - { - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)shaders_ptr); - count = *count_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] UInt32[] shaders); /// [requires: v2.0] /// Returns the handles of the shader objects attached to a program object @@ -28450,27 +17724,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static - void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] out UInt32 shaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (UInt32* shaders_ptr = &shaders) - { - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)shaders_ptr); - count = *count_ptr; - shaders = *shaders_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] out UInt32 shaders); /// [requires: v2.0] /// Returns the handles of the shader objects attached to a program object @@ -28497,18 +17751,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static - unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)shaders); - #if DEBUG - } - #endif - } + public static extern unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders); /// [requires: v2.0] /// Returns the location of an attribute variable @@ -28524,18 +17767,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttribLocation")] - public static - Int32 GetAttribLocation(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetAttribLocation((UInt32)program, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetAttribLocation(Int32 program, String name); /// [requires: v2.0] /// Returns the location of an attribute variable @@ -28552,218 +17784,52 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetAttribLocation")] - public static - Int32 GetAttribLocation(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetAttribLocation((UInt32)program, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetAttribLocation(UInt32 program, String name); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetBooleani_v")] - public static - void GetBoolean(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetBooleani_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetBoolean(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] bool[] data); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetBooleani_v")] - public static - void GetBoolean(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] out bool data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetBooleani_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (bool*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetBoolean(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] out bool data); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetBooleani_v")] - public static - unsafe void GetBoolean(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBooleani_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (bool*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetBoolean(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] bool* data); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetBooleani_v")] - public static - void GetBoolean(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetBooleani_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetBoolean(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] bool[] data); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetBooleani_v")] - public static - void GetBoolean(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] out bool data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetBooleani_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (bool*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetBoolean(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] out bool data); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetBooleani_v")] - public static - unsafe void GetBoolean(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBooleani_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (bool*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetBoolean(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] bool* data); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")] - public static - bool GetBoolean(OpenTK.Graphics.OpenGL4.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - bool retval; - bool* data_ptr = &retval; - Delegates.glGetBooleanv((OpenTK.Graphics.OpenGL4.GetPName)pname, (bool*)data_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern bool GetBoolean(OpenTK.Graphics.OpenGL4.GetPName pname); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")] - public static - void GetBoolean(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetBooleanv((OpenTK.Graphics.OpenGL4.GetPName)pname, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetBoolean(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] bool[] data); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")] - public static - void GetBoolean(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] out bool data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetBooleanv((OpenTK.Graphics.OpenGL4.GetPName)pname, (bool*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetBoolean(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] out bool data); /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")] - public static - unsafe void GetBoolean(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBooleanv((OpenTK.Graphics.OpenGL4.GetPName)pname, (bool*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetBoolean(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] bool* data); /// [requires: v3.2] /// Return parameters of a buffer object @@ -28784,24 +17850,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetBufferParameteri64v")] - public static - void GetBufferParameter(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferParameterName pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetBufferParameteri64v((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.BufferParameterName)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetBufferParameter(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferParameterName pname, [OutAttribute] Int64[] @params); /// [requires: v3.2] /// Return parameters of a buffer object @@ -28822,25 +17871,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetBufferParameteri64v")] - public static - void GetBufferParameter(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferParameterName pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetBufferParameteri64v((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.BufferParameterName)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetBufferParameter(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferParameterName pname, [OutAttribute] out Int64 @params); /// [requires: v3.2] /// Return parameters of a buffer object @@ -28862,18 +17893,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetBufferParameteri64v")] - public static - unsafe void GetBufferParameter(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferParameterName pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferParameteri64v((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.BufferParameterName)pname, (Int64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetBufferParameter(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferParameterName pname, [OutAttribute] Int64* @params); /// [requires: v1.5] /// Return parameters of a buffer object @@ -28894,24 +17914,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferParameteriv")] - public static - void GetBufferParameter(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetBufferParameteriv((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.BufferParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetBufferParameter(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferParameterName pname, [OutAttribute] Int32[] @params); /// [requires: v1.5] /// Return parameters of a buffer object @@ -28932,25 +17935,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferParameteriv")] - public static - void GetBufferParameter(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetBufferParameteriv((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.BufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetBufferParameter(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferParameterName pname, [OutAttribute] out Int32 @params); /// [requires: v1.5] /// Return parameters of a buffer object @@ -28972,18 +17957,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferParameteriv")] - public static - unsafe void GetBufferParameter(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferParameteriv((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.BufferParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetBufferParameter(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferParameterName pname, [OutAttribute] Int32* @params); /// [requires: v1.5] /// Return the pointer to a mapped buffer object's data store @@ -29004,18 +17978,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferPointerv")] - public static - void GetBufferPointer(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferPointer pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferPointerv((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.BufferPointer)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } + public static extern void GetBufferPointer(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferPointer pname, [OutAttribute] IntPtr @params); /// [requires: v1.5] /// Return the pointer to a mapped buffer object's data store @@ -29036,27 +17999,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferPointerv")] - public static - void GetBufferPointer(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferPointer pname, [InAttribute, OutAttribute] T2[] @params) + public static extern void GetBufferPointer(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferPointer pname, [InAttribute, OutAttribute] T2[] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointerv((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.5] /// Return the pointer to a mapped buffer object's data store @@ -29077,27 +18022,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferPointerv")] - public static - void GetBufferPointer(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferPointer pname, [InAttribute, OutAttribute] T2[,] @params) + public static extern void GetBufferPointer(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferPointer pname, [InAttribute, OutAttribute] T2[,] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointerv((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.5] /// Return the pointer to a mapped buffer object's data store @@ -29118,27 +18045,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferPointerv")] - public static - void GetBufferPointer(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferPointer pname, [InAttribute, OutAttribute] T2[,,] @params) + public static extern void GetBufferPointer(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferPointer pname, [InAttribute, OutAttribute] T2[,,] @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointerv((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.5] /// Return the pointer to a mapped buffer object's data store @@ -29159,28 +18068,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferPointerv")] - public static - void GetBufferPointer(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferPointer pname, [InAttribute, OutAttribute] ref T2 @params) + public static extern void GetBufferPointer(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferPointer pname, [InAttribute, OutAttribute] ref T2 @params) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointerv((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - @params = (T2)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.5] /// Returns a subset of a buffer object's data store @@ -29206,18 +18096,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferSubData")] - public static - void GetBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferSubData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } + public static extern void GetBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data); /// [requires: v1.5] /// Returns a subset of a buffer object's data store @@ -29243,27 +18122,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferSubData")] - public static - void GetBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) + public static extern void GetBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetBufferSubData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.5] /// Returns a subset of a buffer object's data store @@ -29289,27 +18150,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferSubData")] - public static - void GetBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) + public static extern void GetBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetBufferSubData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.5] /// Returns a subset of a buffer object's data store @@ -29335,27 +18178,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferSubData")] - public static - void GetBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) + public static extern void GetBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetBufferSubData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.5] /// Returns a subset of a buffer object's data store @@ -29381,28 +18206,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetBufferSubData")] - public static - void GetBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) + public static extern void GetBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetBufferSubData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - data = (T3)data_ptr.Target; - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Retrieve contents of a color lookup table @@ -29428,18 +18234,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTable")] - public static - void GetColorTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr table) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetColorTable((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)table); - #if DEBUG - } - #endif - } + public static extern void GetColorTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr table); /// /// Retrieve contents of a color lookup table @@ -29465,27 +18260,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTable")] - public static - void GetColorTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T3[] table) + public static extern void GetColorTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T3[] table) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetColorTable((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Retrieve contents of a color lookup table @@ -29511,27 +18288,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTable")] - public static - void GetColorTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T3[,] table) + public static extern void GetColorTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T3[,] table) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetColorTable((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Retrieve contents of a color lookup table @@ -29557,27 +18316,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTable")] - public static - void GetColorTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T3[,,] table) + public static extern void GetColorTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T3[,,] table) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetColorTable((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Retrieve contents of a color lookup table @@ -29603,28 +18344,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTable")] - public static - void GetColorTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T3 table) + public static extern void GetColorTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T3 table) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetColorTable((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - table = (T3)table_ptr.Target; - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Get color lookup table parameters @@ -29645,24 +18367,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTableParameterfv")] - public static - void GetColorTableParameter(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.GetColorTableParameterPName pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetColorTableParameterfv((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.GetColorTableParameterPName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetColorTableParameter(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.GetColorTableParameterPName pname, [OutAttribute] Single[] @params); /// /// Get color lookup table parameters @@ -29683,25 +18388,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTableParameterfv")] - public static - void GetColorTableParameter(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.GetColorTableParameterPName pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetColorTableParameterfv((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.GetColorTableParameterPName)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetColorTableParameter(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.GetColorTableParameterPName pname, [OutAttribute] out Single @params); /// /// Get color lookup table parameters @@ -29723,18 +18410,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTableParameterfv")] - public static - unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.GetColorTableParameterPName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetColorTableParameterfv((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.GetColorTableParameterPName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.GetColorTableParameterPName pname, [OutAttribute] Single* @params); /// /// Get color lookup table parameters @@ -29755,24 +18431,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTableParameteriv")] - public static - void GetColorTableParameter(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.GetColorTableParameterPName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetColorTableParameteriv((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.GetColorTableParameterPName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetColorTableParameter(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.GetColorTableParameterPName pname, [OutAttribute] Int32[] @params); /// /// Get color lookup table parameters @@ -29793,25 +18452,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTableParameteriv")] - public static - void GetColorTableParameter(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.GetColorTableParameterPName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetColorTableParameteriv((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.GetColorTableParameterPName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetColorTableParameter(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.GetColorTableParameterPName pname, [OutAttribute] out Int32 @params); /// /// Get color lookup table parameters @@ -29833,18 +18474,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetColorTableParameteriv")] - public static - unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.GetColorTableParameterPName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetColorTableParameteriv((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.GetColorTableParameterPName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.GetColorTableParameterPName pname, [OutAttribute] Int32* @params); /// [requires: v1.3] /// Return a compressed texture image @@ -29865,18 +18495,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] - public static - void GetCompressedTexImage(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, [OutAttribute] IntPtr img) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetCompressedTexImage((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (IntPtr)img); - #if DEBUG - } - #endif - } + public static extern void GetCompressedTexImage(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, [OutAttribute] IntPtr img); /// [requires: v1.3] /// Return a compressed texture image @@ -29897,27 +18516,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] - public static - void GetCompressedTexImage(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, [InAttribute, OutAttribute] T2[] img) + public static extern void GetCompressedTexImage(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, [InAttribute, OutAttribute] T2[] img) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTexImage((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Return a compressed texture image @@ -29938,27 +18539,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] - public static - void GetCompressedTexImage(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, [InAttribute, OutAttribute] T2[,] img) + public static extern void GetCompressedTexImage(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, [InAttribute, OutAttribute] T2[,] img) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTexImage((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Return a compressed texture image @@ -29979,27 +18562,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] - public static - void GetCompressedTexImage(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, [InAttribute, OutAttribute] T2[,,] img) + public static extern void GetCompressedTexImage(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, [InAttribute, OutAttribute] T2[,,] img) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTexImage((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.3] /// Return a compressed texture image @@ -30020,28 +18585,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] - public static - void GetCompressedTexImage(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, [InAttribute, OutAttribute] ref T2 img) + public static extern void GetCompressedTexImage(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, [InAttribute, OutAttribute] ref T2 img) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTexImage((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); - img = (T2)img_ptr.Target; - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Get current 1D or 2D convolution filter kernel @@ -30067,18 +18613,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionFilter")] - public static - void GetConvolutionFilter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetConvolutionFilter((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)image); - #if DEBUG - } - #endif - } + public static extern void GetConvolutionFilter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr image); /// /// Get current 1D or 2D convolution filter kernel @@ -30104,27 +18639,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionFilter")] - public static - void GetConvolutionFilter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T3[] image) + public static extern void GetConvolutionFilter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T3[] image) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetConvolutionFilter((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Get current 1D or 2D convolution filter kernel @@ -30150,27 +18667,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionFilter")] - public static - void GetConvolutionFilter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T3[,] image) + public static extern void GetConvolutionFilter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T3[,] image) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetConvolutionFilter((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Get current 1D or 2D convolution filter kernel @@ -30196,27 +18695,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionFilter")] - public static - void GetConvolutionFilter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T3[,,] image) + public static extern void GetConvolutionFilter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T3[,,] image) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetConvolutionFilter((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Get current 1D or 2D convolution filter kernel @@ -30242,28 +18723,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionFilter")] - public static - void GetConvolutionFilter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T3 image) + public static extern void GetConvolutionFilter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T3 image) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetConvolutionFilter((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - image = (T3)image_ptr.Target; - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Get convolution parameters @@ -30284,24 +18746,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionParameterfv")] - public static - void GetConvolutionParameter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetConvolutionParameterfv((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetConvolutionParameter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName pname, [OutAttribute] Single[] @params); /// /// Get convolution parameters @@ -30322,25 +18767,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionParameterfv")] - public static - void GetConvolutionParameter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetConvolutionParameterfv((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetConvolutionParameter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName pname, [OutAttribute] out Single @params); /// /// Get convolution parameters @@ -30362,18 +18789,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionParameterfv")] - public static - unsafe void GetConvolutionParameter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetConvolutionParameterfv((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetConvolutionParameter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName pname, [OutAttribute] Single* @params); /// /// Get convolution parameters @@ -30394,24 +18810,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionParameteriv")] - public static - void GetConvolutionParameter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetConvolutionParameter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName pname, [OutAttribute] Int32[] @params); /// /// Get convolution parameters @@ -30432,25 +18831,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionParameteriv")] - public static - void GetConvolutionParameter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetConvolutionParameter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName pname, [OutAttribute] out Int32 @params); /// /// Get convolution parameters @@ -30472,18 +18853,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetConvolutionParameteriv")] - public static - unsafe void GetConvolutionParameter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetConvolutionParameter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName pname, [OutAttribute] Int32* @params); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve messages from the debug message log @@ -30529,28 +18899,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")] - public static - Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSource[] sources, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugType[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL4.DebugSource* sources_ptr = sources) - fixed (OpenTK.Graphics.OpenGL4.DebugType* types_ptr = types) - fixed (Int32* ids_ptr = ids) - fixed (OpenTK.Graphics.OpenGL4.DebugSeverity* severities_ptr = severities) - fixed (Int32* lengths_ptr = lengths) - { - return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.DebugSource*)sources_ptr, (OpenTK.Graphics.OpenGL4.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL4.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSource[] sources, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugType[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve messages from the debug message log @@ -30596,34 +18945,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")] - public static - Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL4.DebugSource sources, [OutAttribute] out OpenTK.Graphics.OpenGL4.DebugType types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL4.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL4.DebugSource* sources_ptr = &sources) - fixed (OpenTK.Graphics.OpenGL4.DebugType* types_ptr = &types) - fixed (Int32* ids_ptr = &ids) - fixed (OpenTK.Graphics.OpenGL4.DebugSeverity* severities_ptr = &severities) - fixed (Int32* lengths_ptr = &lengths) - { - Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.DebugSource*)sources_ptr, (OpenTK.Graphics.OpenGL4.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL4.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL4.DebugSource sources, [OutAttribute] out OpenTK.Graphics.OpenGL4.DebugType types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL4.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve messages from the debug message log @@ -30670,18 +18992,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")] - public static - unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSource* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugType* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.DebugSource*)sources, (OpenTK.Graphics.OpenGL4.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL4.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSource* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugType* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve messages from the debug message log @@ -30728,28 +19039,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")] - public static - Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSource[] sources, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugType[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL4.DebugSource* sources_ptr = sources) - fixed (OpenTK.Graphics.OpenGL4.DebugType* types_ptr = types) - fixed (UInt32* ids_ptr = ids) - fixed (OpenTK.Graphics.OpenGL4.DebugSeverity* severities_ptr = severities) - fixed (Int32* lengths_ptr = lengths) - { - return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.DebugSource*)sources_ptr, (OpenTK.Graphics.OpenGL4.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL4.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSource[] sources, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugType[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve messages from the debug message log @@ -30796,34 +19086,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")] - public static - Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL4.DebugSource sources, [OutAttribute] out OpenTK.Graphics.OpenGL4.DebugType types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL4.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL4.DebugSource* sources_ptr = &sources) - fixed (OpenTK.Graphics.OpenGL4.DebugType* types_ptr = &types) - fixed (UInt32* ids_ptr = &ids) - fixed (OpenTK.Graphics.OpenGL4.DebugSeverity* severities_ptr = &severities) - fixed (Int32* lengths_ptr = &lengths) - { - Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.DebugSource*)sources_ptr, (OpenTK.Graphics.OpenGL4.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL4.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL4.DebugSource sources, [OutAttribute] out OpenTK.Graphics.OpenGL4.DebugType types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL4.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve messages from the debug message log @@ -30870,428 +19133,103 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")] - public static - unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSource* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.DebugSource*)sources, (OpenTK.Graphics.OpenGL4.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL4.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSource* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glGetDoublei_v")] - public static - void GetDouble(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] Double[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* data_ptr = data) - { - Delegates.glGetDoublei_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (Double*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetDouble(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] Double[] data); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glGetDoublei_v")] - public static - void GetDouble(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] out Double data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* data_ptr = &data) - { - Delegates.glGetDoublei_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (Double*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetDouble(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] out Double data); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glGetDoublei_v")] - public static - unsafe void GetDouble(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] Double* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetDoublei_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (Double*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetDouble(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] Double* data); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glGetDoublei_v")] - public static - void GetDouble(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Double[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* data_ptr = data) - { - Delegates.glGetDoublei_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (Double*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetDouble(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Double[] data); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glGetDoublei_v")] - public static - void GetDouble(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] out Double data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* data_ptr = &data) - { - Delegates.glGetDoublei_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (Double*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetDouble(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] out Double data); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glGetDoublei_v")] - public static - unsafe void GetDouble(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Double* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetDoublei_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (Double*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetDouble(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Double* data); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetDoublev")] - public static - Double GetDouble(OpenTK.Graphics.OpenGL4.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Double retval; - Double* data_ptr = &retval; - Delegates.glGetDoublev((OpenTK.Graphics.OpenGL4.GetPName)pname, (Double*)data_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Double GetDouble(OpenTK.Graphics.OpenGL4.GetPName pname); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetDoublev")] - public static - void GetDouble(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Double[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* data_ptr = data) - { - Delegates.glGetDoublev((OpenTK.Graphics.OpenGL4.GetPName)pname, (Double*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetDouble(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Double[] data); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetDoublev")] - public static - void GetDouble(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] out Double data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* data_ptr = &data) - { - Delegates.glGetDoublev((OpenTK.Graphics.OpenGL4.GetPName)pname, (Double*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetDouble(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] out Double data); /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetDoublev")] - public static - unsafe void GetDouble(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Double* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetDoublev((OpenTK.Graphics.OpenGL4.GetPName)pname, (Double*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetDouble(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Double* data); /// [requires: v1.0] /// Return error information /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetError")] - public static - OpenTK.Graphics.OpenGL4.ErrorCode GetError() - { - return Delegates.glGetError(); - } + public static extern OpenTK.Graphics.OpenGL4.ErrorCode GetError(); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glGetFloati_v")] - public static - void GetFloat(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - Delegates.glGetFloati_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (Single*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFloat(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] Single[] data); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glGetFloati_v")] - public static - void GetFloat(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] out Single data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = &data) - { - Delegates.glGetFloati_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (Single*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFloat(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] out Single data); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glGetFloati_v")] - public static - unsafe void GetFloat(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFloati_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (Single*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFloat(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] Single* data); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glGetFloati_v")] - public static - void GetFloat(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - Delegates.glGetFloati_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (Single*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFloat(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Single[] data); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glGetFloati_v")] - public static - void GetFloat(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] out Single data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = &data) - { - Delegates.glGetFloati_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (Single*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFloat(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] out Single data); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glGetFloati_v")] - public static - unsafe void GetFloat(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFloati_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (Single*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFloat(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Single* data); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetFloatv")] - public static - Single GetFloat(OpenTK.Graphics.OpenGL4.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Single retval; - Single* data_ptr = &retval; - Delegates.glGetFloatv((OpenTK.Graphics.OpenGL4.GetPName)pname, (Single*)data_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Single GetFloat(OpenTK.Graphics.OpenGL4.GetPName pname); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetFloatv")] - public static - void GetFloat(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - Delegates.glGetFloatv((OpenTK.Graphics.OpenGL4.GetPName)pname, (Single*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFloat(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Single[] data); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetFloatv")] - public static - void GetFloat(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] out Single data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = &data) - { - Delegates.glGetFloatv((OpenTK.Graphics.OpenGL4.GetPName)pname, (Single*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFloat(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] out Single data); /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetFloatv")] - public static - unsafe void GetFloat(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFloatv((OpenTK.Graphics.OpenGL4.GetPName)pname, (Single*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFloat(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Single* data); /// [requires: v3.3 and ARB_blend_func_extended|VERSION_3_3] /// Query the bindings of color indices to user-defined varying out variables @@ -31307,18 +19245,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_blend_func_extended|VERSION_3_3", Version = "3.3", EntryPoint = "glGetFragDataIndex")] - public static - Int32 GetFragDataIndex(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetFragDataIndex((UInt32)program, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetFragDataIndex(Int32 program, String name); /// [requires: v3.3 and ARB_blend_func_extended|VERSION_3_3] /// Query the bindings of color indices to user-defined varying out variables @@ -31335,18 +19262,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_blend_func_extended|VERSION_3_3", Version = "3.3", EntryPoint = "glGetFragDataIndex")] - public static - Int32 GetFragDataIndex(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetFragDataIndex((UInt32)program, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetFragDataIndex(UInt32 program, String name); /// [requires: v3.0] /// Query the bindings of color numbers to user-defined varying out variables @@ -31362,18 +19278,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetFragDataLocation")] - public static - Int32 GetFragDataLocation(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetFragDataLocation((UInt32)program, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetFragDataLocation(Int32 program, String name); /// [requires: v3.0] /// Query the bindings of color numbers to user-defined varying out variables @@ -31390,18 +19295,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetFragDataLocation")] - public static - Int32 GetFragDataLocation(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetFragDataLocation((UInt32)program, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetFragDataLocation(UInt32 program, String name); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Retrieve information about attachments of a bound framebuffer object @@ -31427,24 +19321,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static - void GetFramebufferAttachmentParameter(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.FramebufferParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL4.FramebufferParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFramebufferAttachmentParameter(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.FramebufferParameterName pname, [OutAttribute] Int32[] @params); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Retrieve information about attachments of a bound framebuffer object @@ -31470,25 +19347,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static - void GetFramebufferAttachmentParameter(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.FramebufferParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL4.FramebufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFramebufferAttachmentParameter(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.FramebufferParameterName pname, [OutAttribute] out Int32 @params); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Retrieve information about attachments of a bound framebuffer object @@ -31515,18 +19374,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static - unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.FramebufferParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL4.FramebufferParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.FramebufferParameterName pname, [OutAttribute] Int32* @params); /// [requires: v4.3 and ARB_framebuffer_no_attachments|VERSION_4_3] /// Retrieve a named parameter from a framebuffer @@ -31547,24 +19395,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_no_attachments|VERSION_4_3", Version = "4.3", EntryPoint = "glGetFramebufferParameteriv")] - public static - void GetFramebufferParameter(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferDefaultParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFramebufferParameteriv((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferDefaultParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetFramebufferParameter(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferDefaultParameter pname, [OutAttribute] Int32[] @params); /// [requires: v4.3 and ARB_framebuffer_no_attachments|VERSION_4_3] /// Retrieve a named parameter from a framebuffer @@ -31585,25 +19416,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_no_attachments|VERSION_4_3", Version = "4.3", EntryPoint = "glGetFramebufferParameteriv")] - public static - void GetFramebufferParameter(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferDefaultParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFramebufferParameteriv((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferDefaultParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetFramebufferParameter(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferDefaultParameter pname, [OutAttribute] out Int32 @params); /// [requires: v4.3 and ARB_framebuffer_no_attachments|VERSION_4_3] /// Retrieve a named parameter from a framebuffer @@ -31625,18 +19438,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_no_attachments|VERSION_4_3", Version = "4.3", EntryPoint = "glGetFramebufferParameteriv")] - public static - unsafe void GetFramebufferParameter(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferDefaultParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFramebufferParameteriv((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferDefaultParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetFramebufferParameter(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferDefaultParameter pname, [OutAttribute] Int32* @params); /// /// Get histogram table @@ -31667,18 +19469,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogram")] - public static - void GetHistogram(OpenTK.Graphics.OpenGL4.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetHistogram((OpenTK.Graphics.OpenGL4.HistogramTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)values); - #if DEBUG - } - #endif - } + public static extern void GetHistogram(OpenTK.Graphics.OpenGL4.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr values); /// /// Get histogram table @@ -31709,27 +19500,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogram")] - public static - void GetHistogram(OpenTK.Graphics.OpenGL4.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T4[] values) + public static extern void GetHistogram(OpenTK.Graphics.OpenGL4.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T4[] values) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetHistogram((OpenTK.Graphics.OpenGL4.HistogramTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Get histogram table @@ -31760,27 +19533,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogram")] - public static - void GetHistogram(OpenTK.Graphics.OpenGL4.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T4[,] values) + public static extern void GetHistogram(OpenTK.Graphics.OpenGL4.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T4[,] values) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetHistogram((OpenTK.Graphics.OpenGL4.HistogramTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Get histogram table @@ -31811,27 +19566,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogram")] - public static - void GetHistogram(OpenTK.Graphics.OpenGL4.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T4[,,] values) + public static extern void GetHistogram(OpenTK.Graphics.OpenGL4.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T4[,,] values) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetHistogram((OpenTK.Graphics.OpenGL4.HistogramTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Get histogram table @@ -31862,28 +19599,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogram")] - public static - void GetHistogram(OpenTK.Graphics.OpenGL4.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T4 values) + public static extern void GetHistogram(OpenTK.Graphics.OpenGL4.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T4 values) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetHistogram((OpenTK.Graphics.OpenGL4.HistogramTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - values = (T4)values_ptr.Target; - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Get histogram parameters @@ -31904,24 +19622,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogramParameterfv")] - public static - void GetHistogramParameter(OpenTK.Graphics.OpenGL4.HistogramTarget target, OpenTK.Graphics.OpenGL4.GetHistogramParameterPName pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetHistogramParameterfv((OpenTK.Graphics.OpenGL4.HistogramTarget)target, (OpenTK.Graphics.OpenGL4.GetHistogramParameterPName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetHistogramParameter(OpenTK.Graphics.OpenGL4.HistogramTarget target, OpenTK.Graphics.OpenGL4.GetHistogramParameterPName pname, [OutAttribute] Single[] @params); /// /// Get histogram parameters @@ -31942,25 +19643,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogramParameterfv")] - public static - void GetHistogramParameter(OpenTK.Graphics.OpenGL4.HistogramTarget target, OpenTK.Graphics.OpenGL4.GetHistogramParameterPName pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetHistogramParameterfv((OpenTK.Graphics.OpenGL4.HistogramTarget)target, (OpenTK.Graphics.OpenGL4.GetHistogramParameterPName)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetHistogramParameter(OpenTK.Graphics.OpenGL4.HistogramTarget target, OpenTK.Graphics.OpenGL4.GetHistogramParameterPName pname, [OutAttribute] out Single @params); /// /// Get histogram parameters @@ -31982,18 +19665,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogramParameterfv")] - public static - unsafe void GetHistogramParameter(OpenTK.Graphics.OpenGL4.HistogramTarget target, OpenTK.Graphics.OpenGL4.GetHistogramParameterPName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetHistogramParameterfv((OpenTK.Graphics.OpenGL4.HistogramTarget)target, (OpenTK.Graphics.OpenGL4.GetHistogramParameterPName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetHistogramParameter(OpenTK.Graphics.OpenGL4.HistogramTarget target, OpenTK.Graphics.OpenGL4.GetHistogramParameterPName pname, [OutAttribute] Single* @params); /// /// Get histogram parameters @@ -32014,24 +19686,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogramParameteriv")] - public static - void GetHistogramParameter(OpenTK.Graphics.OpenGL4.HistogramTarget target, OpenTK.Graphics.OpenGL4.GetHistogramParameterPName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetHistogramParameteriv((OpenTK.Graphics.OpenGL4.HistogramTarget)target, (OpenTK.Graphics.OpenGL4.GetHistogramParameterPName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetHistogramParameter(OpenTK.Graphics.OpenGL4.HistogramTarget target, OpenTK.Graphics.OpenGL4.GetHistogramParameterPName pname, [OutAttribute] Int32[] @params); /// /// Get histogram parameters @@ -32052,25 +19707,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogramParameteriv")] - public static - void GetHistogramParameter(OpenTK.Graphics.OpenGL4.HistogramTarget target, OpenTK.Graphics.OpenGL4.GetHistogramParameterPName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetHistogramParameteriv((OpenTK.Graphics.OpenGL4.HistogramTarget)target, (OpenTK.Graphics.OpenGL4.GetHistogramParameterPName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetHistogramParameter(OpenTK.Graphics.OpenGL4.HistogramTarget target, OpenTK.Graphics.OpenGL4.GetHistogramParameterPName pname, [OutAttribute] out Int32 @params); /// /// Get histogram parameters @@ -32092,477 +19729,110 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetHistogramParameteriv")] - public static - unsafe void GetHistogramParameter(OpenTK.Graphics.OpenGL4.HistogramTarget target, OpenTK.Graphics.OpenGL4.GetHistogramParameterPName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetHistogramParameteriv((OpenTK.Graphics.OpenGL4.HistogramTarget)target, (OpenTK.Graphics.OpenGL4.GetHistogramParameterPName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetHistogramParameter(OpenTK.Graphics.OpenGL4.HistogramTarget target, OpenTK.Graphics.OpenGL4.GetHistogramParameterPName pname, [OutAttribute] Int32* @params); /// [requires: v3.2] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static - void GetInteger64(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] Int64[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = data) - { - Delegates.glGetInteger64i_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] Int64[] data); /// [requires: v3.2] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static - void GetInteger64(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] out Int64 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = &data) - { - Delegates.glGetInteger64i_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] out Int64 data); /// [requires: v3.2] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static - unsafe void GetInteger64(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] Int64* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInteger64i_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (Int64*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger64(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] Int64* data); /// [requires: v3.2] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static - void GetInteger64(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Int64[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = data) - { - Delegates.glGetInteger64i_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Int64[] data); /// [requires: v3.2] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static - void GetInteger64(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] out Int64 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = &data) - { - Delegates.glGetInteger64i_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] out Int64 data); /// [requires: v3.2] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static - unsafe void GetInteger64(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Int64* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInteger64i_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (Int64*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger64(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Int64* data); /// [requires: v3.2 and ARB_sync|VERSION_3_2] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64v")] - public static - Int64 GetInteger64(OpenTK.Graphics.OpenGL4.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int64 retval; - Int64* data_ptr = &retval; - Delegates.glGetInteger64v((OpenTK.Graphics.OpenGL4.GetPName)pname, (Int64*)data_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int64 GetInteger64(OpenTK.Graphics.OpenGL4.GetPName pname); /// [requires: v3.2 and ARB_sync|VERSION_3_2] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64v")] - public static - void GetInteger64(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Int64[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = data) - { - Delegates.glGetInteger64v((OpenTK.Graphics.OpenGL4.GetPName)pname, (Int64*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Int64[] data); /// [requires: v3.2 and ARB_sync|VERSION_3_2] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64v")] - public static - void GetInteger64(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] out Int64 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = &data) - { - Delegates.glGetInteger64v((OpenTK.Graphics.OpenGL4.GetPName)pname, (Int64*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger64(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] out Int64 data); /// [requires: v3.2 and ARB_sync|VERSION_3_2] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64v")] - public static - unsafe void GetInteger64(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Int64* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInteger64v((OpenTK.Graphics.OpenGL4.GetPName)pname, (Int64*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger64(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Int64* data); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - void GetInteger(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegeri_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] Int32[] data); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - void GetInteger(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetIntegeri_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] out Int32 data); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - unsafe void GetInteger(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegeri_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (Int32*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger(OpenTK.Graphics.OpenGL4.GetIndexedPName target, Int32 index, [OutAttribute] Int32* data); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - void GetInteger(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegeri_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Int32[] data); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - void GetInteger(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetIntegeri_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] out Int32 data); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - unsafe void GetInteger(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegeri_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (Int32*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")] - public static - Int32 GetInteger(OpenTK.Graphics.OpenGL4.GetPName pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - Int32 retval; - Int32* data_ptr = &retval; - Delegates.glGetIntegerv((OpenTK.Graphics.OpenGL4.GetPName)pname, (Int32*)data_ptr); - return retval; - } - #if DEBUG - } - #endif - } + public static extern Int32 GetInteger(OpenTK.Graphics.OpenGL4.GetPName pname); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")] - public static - void GetInteger(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegerv((OpenTK.Graphics.OpenGL4.GetPName)pname, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Int32[] data); /// [requires: v1.0] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")] - public static - void GetInteger(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetIntegerv((OpenTK.Graphics.OpenGL4.GetPName)pname, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInteger(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] out Int32 data); /// [requires: v1.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")] - public static - unsafe void GetInteger(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegerv((OpenTK.Graphics.OpenGL4.GetPName)pname, (Int32*)data); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInteger(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Int32* data); /// [requires: v4.3 and ARB_internalformat_query2|VERSION_4_3] [AutoGenerated(Category = "ARB_internalformat_query2|VERSION_4_3", Version = "4.3", EntryPoint = "glGetInternalformati64v")] - public static - void GetInternalformat(OpenTK.Graphics.OpenGL4.ImageTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL4.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetInternalformati64v((OpenTK.Graphics.OpenGL4.ImageTarget)target, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (OpenTK.Graphics.OpenGL4.InternalFormatParameter)pname, (Int32)bufSize, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInternalformat(OpenTK.Graphics.OpenGL4.ImageTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL4.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int64[] @params); /// [requires: v4.3 and ARB_internalformat_query2|VERSION_4_3] [AutoGenerated(Category = "ARB_internalformat_query2|VERSION_4_3", Version = "4.3", EntryPoint = "glGetInternalformati64v")] - public static - void GetInternalformat(OpenTK.Graphics.OpenGL4.ImageTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL4.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetInternalformati64v((OpenTK.Graphics.OpenGL4.ImageTarget)target, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (OpenTK.Graphics.OpenGL4.InternalFormatParameter)pname, (Int32)bufSize, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInternalformat(OpenTK.Graphics.OpenGL4.ImageTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL4.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] out Int64 @params); /// [requires: v4.3 and ARB_internalformat_query2|VERSION_4_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_internalformat_query2|VERSION_4_3", Version = "4.3", EntryPoint = "glGetInternalformati64v")] - public static - unsafe void GetInternalformat(OpenTK.Graphics.OpenGL4.ImageTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL4.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInternalformati64v((OpenTK.Graphics.OpenGL4.ImageTarget)target, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (OpenTK.Graphics.OpenGL4.InternalFormatParameter)pname, (Int32)bufSize, (Int64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInternalformat(OpenTK.Graphics.OpenGL4.ImageTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL4.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int64* @params); /// [requires: v4.2 and ARB_internalformat_query|VERSION_4_2] /// Retrieve information about implementation-dependent support for internal formats @@ -32593,24 +19863,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_internalformat_query|VERSION_4_2", Version = "4.2", EntryPoint = "glGetInternalformativ")] - public static - void GetInternalformat(OpenTK.Graphics.OpenGL4.ImageTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL4.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetInternalformativ((OpenTK.Graphics.OpenGL4.ImageTarget)target, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (OpenTK.Graphics.OpenGL4.InternalFormatParameter)pname, (Int32)bufSize, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetInternalformat(OpenTK.Graphics.OpenGL4.ImageTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL4.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int32[] @params); /// [requires: v4.2 and ARB_internalformat_query|VERSION_4_2] /// Retrieve information about implementation-dependent support for internal formats @@ -32641,25 +19894,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_internalformat_query|VERSION_4_2", Version = "4.2", EntryPoint = "glGetInternalformativ")] - public static - void GetInternalformat(OpenTK.Graphics.OpenGL4.ImageTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL4.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetInternalformativ((OpenTK.Graphics.OpenGL4.ImageTarget)target, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (OpenTK.Graphics.OpenGL4.InternalFormatParameter)pname, (Int32)bufSize, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetInternalformat(OpenTK.Graphics.OpenGL4.ImageTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL4.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] out Int32 @params); /// [requires: v4.2 and ARB_internalformat_query|VERSION_4_2] /// Retrieve information about implementation-dependent support for internal formats @@ -32691,18 +19926,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_internalformat_query|VERSION_4_2", Version = "4.2", EntryPoint = "glGetInternalformativ")] - public static - unsafe void GetInternalformat(OpenTK.Graphics.OpenGL4.ImageTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL4.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInternalformativ((OpenTK.Graphics.OpenGL4.ImageTarget)target, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (OpenTK.Graphics.OpenGL4.InternalFormatParameter)pname, (Int32)bufSize, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetInternalformat(OpenTK.Graphics.OpenGL4.ImageTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL4.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int32* @params); /// /// Get minimum and maximum pixel values @@ -32733,18 +19957,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmax")] - public static - void GetMinmax(OpenTK.Graphics.OpenGL4.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMinmax((OpenTK.Graphics.OpenGL4.MinmaxTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)values); - #if DEBUG - } - #endif - } + public static extern void GetMinmax(OpenTK.Graphics.OpenGL4.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr values); /// /// Get minimum and maximum pixel values @@ -32775,27 +19988,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmax")] - public static - void GetMinmax(OpenTK.Graphics.OpenGL4.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T4[] values) + public static extern void GetMinmax(OpenTK.Graphics.OpenGL4.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T4[] values) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetMinmax((OpenTK.Graphics.OpenGL4.MinmaxTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Get minimum and maximum pixel values @@ -32826,27 +20021,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmax")] - public static - void GetMinmax(OpenTK.Graphics.OpenGL4.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T4[,] values) + public static extern void GetMinmax(OpenTK.Graphics.OpenGL4.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T4[,] values) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetMinmax((OpenTK.Graphics.OpenGL4.MinmaxTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Get minimum and maximum pixel values @@ -32877,27 +20054,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmax")] - public static - void GetMinmax(OpenTK.Graphics.OpenGL4.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T4[,,] values) + public static extern void GetMinmax(OpenTK.Graphics.OpenGL4.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T4[,,] values) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetMinmax((OpenTK.Graphics.OpenGL4.MinmaxTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Get minimum and maximum pixel values @@ -32928,28 +20087,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmax")] - public static - void GetMinmax(OpenTK.Graphics.OpenGL4.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T4 values) + public static extern void GetMinmax(OpenTK.Graphics.OpenGL4.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T4 values) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetMinmax((OpenTK.Graphics.OpenGL4.MinmaxTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - values = (T4)values_ptr.Target; - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Get minmax parameters @@ -32970,24 +20110,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmaxParameterfv")] - public static - void GetMinmaxParameter(OpenTK.Graphics.OpenGL4.MinmaxTarget target, OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetMinmaxParameterfv((OpenTK.Graphics.OpenGL4.MinmaxTarget)target, (OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMinmaxParameter(OpenTK.Graphics.OpenGL4.MinmaxTarget target, OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName pname, [OutAttribute] Single[] @params); /// /// Get minmax parameters @@ -33008,25 +20131,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmaxParameterfv")] - public static - void GetMinmaxParameter(OpenTK.Graphics.OpenGL4.MinmaxTarget target, OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetMinmaxParameterfv((OpenTK.Graphics.OpenGL4.MinmaxTarget)target, (OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMinmaxParameter(OpenTK.Graphics.OpenGL4.MinmaxTarget target, OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName pname, [OutAttribute] out Single @params); /// /// Get minmax parameters @@ -33048,18 +20153,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmaxParameterfv")] - public static - unsafe void GetMinmaxParameter(OpenTK.Graphics.OpenGL4.MinmaxTarget target, OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMinmaxParameterfv((OpenTK.Graphics.OpenGL4.MinmaxTarget)target, (OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMinmaxParameter(OpenTK.Graphics.OpenGL4.MinmaxTarget target, OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName pname, [OutAttribute] Single* @params); /// /// Get minmax parameters @@ -33080,24 +20174,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmaxParameteriv")] - public static - void GetMinmaxParameter(OpenTK.Graphics.OpenGL4.MinmaxTarget target, OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetMinmaxParameteriv((OpenTK.Graphics.OpenGL4.MinmaxTarget)target, (OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMinmaxParameter(OpenTK.Graphics.OpenGL4.MinmaxTarget target, OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName pname, [OutAttribute] Int32[] @params); /// /// Get minmax parameters @@ -33118,25 +20195,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmaxParameteriv")] - public static - void GetMinmaxParameter(OpenTK.Graphics.OpenGL4.MinmaxTarget target, OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetMinmaxParameteriv((OpenTK.Graphics.OpenGL4.MinmaxTarget)target, (OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMinmaxParameter(OpenTK.Graphics.OpenGL4.MinmaxTarget target, OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName pname, [OutAttribute] out Int32 @params); /// /// Get minmax parameters @@ -33158,18 +20217,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetMinmaxParameteriv")] - public static - unsafe void GetMinmaxParameter(OpenTK.Graphics.OpenGL4.MinmaxTarget target, OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMinmaxParameteriv((OpenTK.Graphics.OpenGL4.MinmaxTarget)target, (OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMinmaxParameter(OpenTK.Graphics.OpenGL4.MinmaxTarget target, OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName pname, [OutAttribute] Int32* @params); /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Retrieve the location of a sample @@ -33190,24 +20238,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glGetMultisamplefv")] - public static - void GetMultisample(OpenTK.Graphics.OpenGL4.GetMultisamplePName pname, Int32 index, [OutAttribute] Single[] val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* val_ptr = val) - { - Delegates.glGetMultisamplefv((OpenTK.Graphics.OpenGL4.GetMultisamplePName)pname, (UInt32)index, (Single*)val_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMultisample(OpenTK.Graphics.OpenGL4.GetMultisamplePName pname, Int32 index, [OutAttribute] Single[] val); /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Retrieve the location of a sample @@ -33228,25 +20259,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glGetMultisamplefv")] - public static - void GetMultisample(OpenTK.Graphics.OpenGL4.GetMultisamplePName pname, Int32 index, [OutAttribute] out Single val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* val_ptr = &val) - { - Delegates.glGetMultisamplefv((OpenTK.Graphics.OpenGL4.GetMultisamplePName)pname, (UInt32)index, (Single*)val_ptr); - val = *val_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMultisample(OpenTK.Graphics.OpenGL4.GetMultisamplePName pname, Int32 index, [OutAttribute] out Single val); /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Retrieve the location of a sample @@ -33268,18 +20281,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glGetMultisamplefv")] - public static - unsafe void GetMultisample(OpenTK.Graphics.OpenGL4.GetMultisamplePName pname, Int32 index, [OutAttribute] Single* val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultisamplefv((OpenTK.Graphics.OpenGL4.GetMultisamplePName)pname, (UInt32)index, (Single*)val); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMultisample(OpenTK.Graphics.OpenGL4.GetMultisamplePName pname, Int32 index, [OutAttribute] Single* val); /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Retrieve the location of a sample @@ -33301,24 +20303,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glGetMultisamplefv")] - public static - void GetMultisample(OpenTK.Graphics.OpenGL4.GetMultisamplePName pname, UInt32 index, [OutAttribute] Single[] val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* val_ptr = val) - { - Delegates.glGetMultisamplefv((OpenTK.Graphics.OpenGL4.GetMultisamplePName)pname, (UInt32)index, (Single*)val_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetMultisample(OpenTK.Graphics.OpenGL4.GetMultisamplePName pname, UInt32 index, [OutAttribute] Single[] val); /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Retrieve the location of a sample @@ -33340,25 +20325,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glGetMultisamplefv")] - public static - void GetMultisample(OpenTK.Graphics.OpenGL4.GetMultisamplePName pname, UInt32 index, [OutAttribute] out Single val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* val_ptr = &val) - { - Delegates.glGetMultisamplefv((OpenTK.Graphics.OpenGL4.GetMultisamplePName)pname, (UInt32)index, (Single*)val_ptr); - val = *val_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetMultisample(OpenTK.Graphics.OpenGL4.GetMultisamplePName pname, UInt32 index, [OutAttribute] out Single val); /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Retrieve the location of a sample @@ -33380,18 +20347,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glGetMultisamplefv")] - public static - unsafe void GetMultisample(OpenTK.Graphics.OpenGL4.GetMultisamplePName pname, UInt32 index, [OutAttribute] Single* val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultisamplefv((OpenTK.Graphics.OpenGL4.GetMultisamplePName)pname, (UInt32)index, (Single*)val); - #if DEBUG - } - #endif - } + public static extern unsafe void GetMultisample(OpenTK.Graphics.OpenGL4.GetMultisamplePName pname, UInt32 index, [OutAttribute] Single* val); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a named object identified within a namespace @@ -33422,24 +20378,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectLabel")] - public static - void GetObjectLabel(OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectLabel((OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a named object identified within a namespace @@ -33470,25 +20409,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectLabel")] - public static - void GetObjectLabel(OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectLabel((OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a named object identified within a namespace @@ -33520,18 +20441,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectLabel")] - public static - unsafe void GetObjectLabel(OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectLabel((OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectLabel(OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a named object identified within a namespace @@ -33563,24 +20473,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectLabel")] - public static - void GetObjectLabel(OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectLabel((OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a named object identified within a namespace @@ -33612,25 +20505,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectLabel")] - public static - void GetObjectLabel(OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectLabel((OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a named object identified within a namespace @@ -33662,18 +20537,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectLabel")] - public static - unsafe void GetObjectLabel(OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectLabel((OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectLabel(OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -33699,24 +20563,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -33742,25 +20589,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -33787,18 +20616,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static - unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectPtrLabel((IntPtr)ptr, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -33824,33 +20642,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -33876,34 +20670,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -33930,27 +20699,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static - unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + public static extern unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -33976,33 +20727,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -34028,34 +20755,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -34082,27 +20784,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static - unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + public static extern unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -34128,33 +20812,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -34180,34 +20840,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -34234,27 +20869,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static - unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + public static extern unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -34280,34 +20897,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - ptr = (T0)ptr_ptr.Target; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -34333,35 +20925,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - ptr = (T0)ptr_ptr.Target; - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Retrieve the label of a sync object identified by a pointer @@ -34388,28 +20954,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] - public static - unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + public static extern unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label); - ptr = (T0)ptr_ptr.Target; - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3|VERSION_4_3] /// Return the address of the specified pointer @@ -34425,18 +20972,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3|VERSION_4_3", Version = "4.3", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.OpenGL4.GetPointervPName pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPointerv((OpenTK.Graphics.OpenGL4.GetPointervPName)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } + public static extern void GetPointer(OpenTK.Graphics.OpenGL4.GetPointervPName pname, [OutAttribute] IntPtr @params); /// [requires: v4.3 and KHR_debug|VERSION_4_3|VERSION_4_3] /// Return the address of the specified pointer @@ -34452,27 +20988,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3|VERSION_4_3", Version = "4.3", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.OpenGL4.GetPointervPName pname, [InAttribute, OutAttribute] T1[] @params) + public static extern void GetPointer(OpenTK.Graphics.OpenGL4.GetPointervPName pname, [InAttribute, OutAttribute] T1[] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.OpenGL4.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3|VERSION_4_3] /// Return the address of the specified pointer @@ -34488,27 +21006,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3|VERSION_4_3", Version = "4.3", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.OpenGL4.GetPointervPName pname, [InAttribute, OutAttribute] T1[,] @params) + public static extern void GetPointer(OpenTK.Graphics.OpenGL4.GetPointervPName pname, [InAttribute, OutAttribute] T1[,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.OpenGL4.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3|VERSION_4_3] /// Return the address of the specified pointer @@ -34524,27 +21024,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3|VERSION_4_3", Version = "4.3", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.OpenGL4.GetPointervPName pname, [InAttribute, OutAttribute] T1[,,] @params) + public static extern void GetPointer(OpenTK.Graphics.OpenGL4.GetPointervPName pname, [InAttribute, OutAttribute] T1[,,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.OpenGL4.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3|VERSION_4_3] /// Return the address of the specified pointer @@ -34560,28 +21042,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3|VERSION_4_3", Version = "4.3", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.OpenGL4.GetPointervPName pname, [InAttribute, OutAttribute] ref T1 @params) + public static extern void GetPointer(OpenTK.Graphics.OpenGL4.GetPointervPName pname, [InAttribute, OutAttribute] ref T1 @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.OpenGL4.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - @params = (T1)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -34612,27 +21075,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [OutAttribute] IntPtr binary) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.OpenGL4.BinaryFormat* binaryFormat_ptr = &binaryFormat) - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat*)binaryFormat_ptr, (IntPtr)binary); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [OutAttribute] IntPtr binary); /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -34663,36 +21106,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T4[] binary) + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T4[] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.OpenGL4.BinaryFormat* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -34723,36 +21139,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T4[,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.OpenGL4.BinaryFormat* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -34783,36 +21172,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.OpenGL4.BinaryFormat* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -34843,37 +21205,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + public static extern void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [InAttribute, OutAttribute] ref T4 binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.OpenGL4.BinaryFormat* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - binary = (T4)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -34905,18 +21239,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL4.BinaryFormat* binaryFormat, [OutAttribute] IntPtr binary) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.OpenGL4.BinaryFormat*)binaryFormat, (IntPtr)binary); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL4.BinaryFormat* binaryFormat, [OutAttribute] IntPtr binary); /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -34948,27 +21271,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL4.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] T4[] binary) + public static extern unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL4.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] T4[] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.OpenGL4.BinaryFormat*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -35000,27 +21305,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL4.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + public static extern unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL4.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] T4[,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.OpenGL4.BinaryFormat*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -35052,27 +21339,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL4.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + public static extern unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL4.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.OpenGL4.BinaryFormat*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -35104,28 +21373,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL4.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + public static extern unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL4.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] ref T4 binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.OpenGL4.BinaryFormat*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - binary = (T4)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -35157,27 +21407,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [OutAttribute] IntPtr binary) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.OpenGL4.BinaryFormat* binaryFormat_ptr = &binaryFormat) - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat*)binaryFormat_ptr, (IntPtr)binary); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [OutAttribute] IntPtr binary); /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -35209,36 +21439,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T4[] binary) + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T4[] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.OpenGL4.BinaryFormat* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -35270,36 +21473,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T4[,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.OpenGL4.BinaryFormat* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -35331,36 +21507,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.OpenGL4.BinaryFormat* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -35392,37 +21541,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + public static extern void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [InAttribute, OutAttribute] ref T4 binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (OpenTK.Graphics.OpenGL4.BinaryFormat* binaryFormat_ptr = &binaryFormat) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); - length = *length_ptr; - binaryFormat = *binaryFormat_ptr; - binary = (T4)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -35454,18 +21575,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL4.BinaryFormat* binaryFormat, [OutAttribute] IntPtr binary) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.OpenGL4.BinaryFormat*)binaryFormat, (IntPtr)binary); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL4.BinaryFormat* binaryFormat, [OutAttribute] IntPtr binary); /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -35497,27 +21607,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL4.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] T4[] binary) + public static extern unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL4.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] T4[] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.OpenGL4.BinaryFormat*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -35549,27 +21641,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL4.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + public static extern unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL4.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] T4[,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.OpenGL4.BinaryFormat*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -35601,27 +21675,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL4.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + public static extern unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL4.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.OpenGL4.BinaryFormat*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Return a binary representation of a program object's compiled and linked executable source @@ -35653,28 +21709,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramBinary")] - public static - unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL4.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + public static extern unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL4.BinaryFormat* binaryFormat, [InAttribute, OutAttribute] ref T4 binary) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.OpenGL4.BinaryFormat*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); - binary = (T4)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0] /// Returns the information log for a program object @@ -35700,25 +21737,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static - void GetProgramInfoLog(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramInfoLog(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog); /// [requires: v2.0] /// Returns the information log for a program object @@ -35745,18 +21764,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static - unsafe void GetProgramInfoLog(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramInfoLog(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); /// [requires: v2.0] /// Returns the information log for a program object @@ -35783,25 +21791,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static - void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog); /// [requires: v2.0] /// Returns the information log for a program object @@ -35828,18 +21818,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static - unsafe void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query a property of an interface in a program @@ -35865,24 +21844,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramInterfaceiv")] - public static - void GetProgramInterface(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, OpenTK.Graphics.OpenGL4.ProgramInterfaceParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramInterfaceiv((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (OpenTK.Graphics.OpenGL4.ProgramInterfaceParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramInterface(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, OpenTK.Graphics.OpenGL4.ProgramInterfaceParameter pname, [OutAttribute] Int32[] @params); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query a property of an interface in a program @@ -35908,25 +21870,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramInterfaceiv")] - public static - void GetProgramInterface(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, OpenTK.Graphics.OpenGL4.ProgramInterfaceParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramInterfaceiv((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (OpenTK.Graphics.OpenGL4.ProgramInterfaceParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramInterface(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, OpenTK.Graphics.OpenGL4.ProgramInterfaceParameter pname, [OutAttribute] out Int32 @params); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query a property of an interface in a program @@ -35953,18 +21897,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramInterfaceiv")] - public static - unsafe void GetProgramInterface(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, OpenTK.Graphics.OpenGL4.ProgramInterfaceParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramInterfaceiv((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (OpenTK.Graphics.OpenGL4.ProgramInterfaceParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramInterface(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, OpenTK.Graphics.OpenGL4.ProgramInterfaceParameter pname, [OutAttribute] Int32* @params); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query a property of an interface in a program @@ -35991,24 +21924,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramInterfaceiv")] - public static - void GetProgramInterface(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, OpenTK.Graphics.OpenGL4.ProgramInterfaceParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramInterfaceiv((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (OpenTK.Graphics.OpenGL4.ProgramInterfaceParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramInterface(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, OpenTK.Graphics.OpenGL4.ProgramInterfaceParameter pname, [OutAttribute] Int32[] @params); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query a property of an interface in a program @@ -36035,25 +21951,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramInterfaceiv")] - public static - void GetProgramInterface(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, OpenTK.Graphics.OpenGL4.ProgramInterfaceParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramInterfaceiv((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (OpenTK.Graphics.OpenGL4.ProgramInterfaceParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramInterface(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, OpenTK.Graphics.OpenGL4.ProgramInterfaceParameter pname, [OutAttribute] out Int32 @params); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query a property of an interface in a program @@ -36080,18 +21978,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramInterfaceiv")] - public static - unsafe void GetProgramInterface(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, OpenTK.Graphics.OpenGL4.ProgramInterfaceParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramInterfaceiv((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (OpenTK.Graphics.OpenGL4.ProgramInterfaceParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramInterface(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, OpenTK.Graphics.OpenGL4.ProgramInterfaceParameter pname, [OutAttribute] Int32* @params); /// [requires: v2.0] /// Returns a parameter from a program object @@ -36112,24 +21999,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(Int32 program, OpenTK.Graphics.OpenGL4.GetProgramParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.OpenGL4.GetProgramParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(Int32 program, OpenTK.Graphics.OpenGL4.GetProgramParameterName pname, [OutAttribute] Int32[] @params); /// [requires: v2.0] /// Returns a parameter from a program object @@ -36150,25 +22020,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(Int32 program, OpenTK.Graphics.OpenGL4.GetProgramParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.OpenGL4.GetProgramParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(Int32 program, OpenTK.Graphics.OpenGL4.GetProgramParameterName pname, [OutAttribute] out Int32 @params); /// [requires: v2.0] /// Returns a parameter from a program object @@ -36190,18 +22042,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - unsafe void GetProgram(Int32 program, OpenTK.Graphics.OpenGL4.GetProgramParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.OpenGL4.GetProgramParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgram(Int32 program, OpenTK.Graphics.OpenGL4.GetProgramParameterName pname, [OutAttribute] Int32* @params); /// [requires: v2.0] /// Returns a parameter from a program object @@ -36223,24 +22064,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(UInt32 program, OpenTK.Graphics.OpenGL4.GetProgramParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.OpenGL4.GetProgramParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(UInt32 program, OpenTK.Graphics.OpenGL4.GetProgramParameterName pname, [OutAttribute] Int32[] @params); /// [requires: v2.0] /// Returns a parameter from a program object @@ -36262,25 +22086,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(UInt32 program, OpenTK.Graphics.OpenGL4.GetProgramParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.OpenGL4.GetProgramParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgram(UInt32 program, OpenTK.Graphics.OpenGL4.GetProgramParameterName pname, [OutAttribute] out Int32 @params); /// [requires: v2.0] /// Returns a parameter from a program object @@ -36302,18 +22108,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - unsafe void GetProgram(UInt32 program, OpenTK.Graphics.OpenGL4.GetProgramParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.OpenGL4.GetProgramParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgram(UInt32 program, OpenTK.Graphics.OpenGL4.GetProgramParameterName pname, [OutAttribute] Int32* @params); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve the info log string from a program pipeline object @@ -36339,25 +22134,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineInfoLog")] - public static - void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetProgramPipelineInfoLog((UInt32)pipeline, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve the info log string from a program pipeline object @@ -36384,18 +22161,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineInfoLog")] - public static - unsafe void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramPipelineInfoLog((UInt32)pipeline, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve the info log string from a program pipeline object @@ -36422,25 +22188,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineInfoLog")] - public static - void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetProgramPipelineInfoLog((UInt32)pipeline, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve the info log string from a program pipeline object @@ -36467,18 +22215,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineInfoLog")] - public static - unsafe void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramPipelineInfoLog((UInt32)pipeline, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve properties of a program pipeline object @@ -36499,24 +22236,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineiv")] - public static - void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.OpenGL4.ProgramPipelineParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramPipelineiv((UInt32)pipeline, (OpenTK.Graphics.OpenGL4.ProgramPipelineParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.OpenGL4.ProgramPipelineParameter pname, [OutAttribute] Int32[] @params); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve properties of a program pipeline object @@ -36537,25 +22257,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineiv")] - public static - void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.OpenGL4.ProgramPipelineParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramPipelineiv((UInt32)pipeline, (OpenTK.Graphics.OpenGL4.ProgramPipelineParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.OpenGL4.ProgramPipelineParameter pname, [OutAttribute] out Int32 @params); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve properties of a program pipeline object @@ -36577,18 +22279,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineiv")] - public static - unsafe void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.OpenGL4.ProgramPipelineParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramPipelineiv((UInt32)pipeline, (OpenTK.Graphics.OpenGL4.ProgramPipelineParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.OpenGL4.ProgramPipelineParameter pname, [OutAttribute] Int32* @params); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve properties of a program pipeline object @@ -36610,24 +22301,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineiv")] - public static - void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.OpenGL4.ProgramPipelineParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramPipelineiv((UInt32)pipeline, (OpenTK.Graphics.OpenGL4.ProgramPipelineParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.OpenGL4.ProgramPipelineParameter pname, [OutAttribute] Int32[] @params); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve properties of a program pipeline object @@ -36649,25 +22323,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineiv")] - public static - void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.OpenGL4.ProgramPipelineParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramPipelineiv((UInt32)pipeline, (OpenTK.Graphics.OpenGL4.ProgramPipelineParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.OpenGL4.ProgramPipelineParameter pname, [OutAttribute] out Int32 @params); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Retrieve properties of a program pipeline object @@ -36689,18 +22345,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineiv")] - public static - unsafe void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.OpenGL4.ProgramPipelineParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramPipelineiv((UInt32)pipeline, (OpenTK.Graphics.OpenGL4.ProgramPipelineParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.OpenGL4.ProgramPipelineParameter pname, [OutAttribute] Int32* @params); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the index of a named resource within a program @@ -36721,18 +22366,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceIndex")] - public static - Int32 GetProgramResourceIndex(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetProgramResourceIndex((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetProgramResourceIndex(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, String name); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the index of a named resource within a program @@ -36754,18 +22388,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceIndex")] - public static - Int32 GetProgramResourceIndex(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetProgramResourceIndex((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetProgramResourceIndex(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, String name); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Retrieve values for multiple properties of a single active resource within a program object @@ -36781,26 +22404,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] - public static - void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, Int32 index, Int32 propCount, OpenTK.Graphics.OpenGL4.ProgramProperty[] props, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL4.ProgramProperty* props_ptr = props) - fixed (Int32* length_ptr = length) - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramResourceiv((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (UInt32)index, (Int32)propCount, (OpenTK.Graphics.OpenGL4.ProgramProperty*)props_ptr, (Int32)bufSize, (Int32*)length_ptr, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, Int32 index, Int32 propCount, OpenTK.Graphics.OpenGL4.ProgramProperty[] props, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] @params); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Retrieve values for multiple properties of a single active resource within a program object @@ -36816,28 +22420,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] - public static - void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, Int32 index, Int32 propCount, ref OpenTK.Graphics.OpenGL4.ProgramProperty props, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL4.ProgramProperty* props_ptr = &props) - fixed (Int32* length_ptr = &length) - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramResourceiv((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (UInt32)index, (Int32)propCount, (OpenTK.Graphics.OpenGL4.ProgramProperty*)props_ptr, (Int32)bufSize, (Int32*)length_ptr, (Int32*)@params_ptr); - length = *length_ptr; - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, Int32 index, Int32 propCount, ref OpenTK.Graphics.OpenGL4.ProgramProperty props, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 @params); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Retrieve values for multiple properties of a single active resource within a program object @@ -36854,18 +22437,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] - public static - unsafe void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, Int32 index, Int32 propCount, OpenTK.Graphics.OpenGL4.ProgramProperty* props, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramResourceiv((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (UInt32)index, (Int32)propCount, (OpenTK.Graphics.OpenGL4.ProgramProperty*)props, (Int32)bufSize, (Int32*)length, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, Int32 index, Int32 propCount, OpenTK.Graphics.OpenGL4.ProgramProperty* props, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* @params); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Retrieve values for multiple properties of a single active resource within a program object @@ -36882,26 +22454,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] - public static - void GetProgramResource(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, UInt32 index, Int32 propCount, OpenTK.Graphics.OpenGL4.ProgramProperty[] props, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL4.ProgramProperty* props_ptr = props) - fixed (Int32* length_ptr = length) - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramResourceiv((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (UInt32)index, (Int32)propCount, (OpenTK.Graphics.OpenGL4.ProgramProperty*)props_ptr, (Int32)bufSize, (Int32*)length_ptr, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramResource(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, UInt32 index, Int32 propCount, OpenTK.Graphics.OpenGL4.ProgramProperty[] props, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] @params); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Retrieve values for multiple properties of a single active resource within a program object @@ -36918,28 +22471,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] - public static - void GetProgramResource(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, UInt32 index, Int32 propCount, ref OpenTK.Graphics.OpenGL4.ProgramProperty props, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL4.ProgramProperty* props_ptr = &props) - fixed (Int32* length_ptr = &length) - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramResourceiv((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (UInt32)index, (Int32)propCount, (OpenTK.Graphics.OpenGL4.ProgramProperty*)props_ptr, (Int32)bufSize, (Int32*)length_ptr, (Int32*)@params_ptr); - length = *length_ptr; - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramResource(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, UInt32 index, Int32 propCount, ref OpenTK.Graphics.OpenGL4.ProgramProperty props, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 @params); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Retrieve values for multiple properties of a single active resource within a program object @@ -36956,18 +22488,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] - public static - unsafe void GetProgramResource(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, UInt32 index, Int32 propCount, OpenTK.Graphics.OpenGL4.ProgramProperty* props, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramResourceiv((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (UInt32)index, (Int32)propCount, (OpenTK.Graphics.OpenGL4.ProgramProperty*)props, (Int32)bufSize, (Int32*)length, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramResource(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, UInt32 index, Int32 propCount, OpenTK.Graphics.OpenGL4.ProgramProperty* props, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* @params); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the location of a named resource within a program @@ -36988,18 +22509,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceLocation")] - public static - Int32 GetProgramResourceLocation(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetProgramResourceLocation((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetProgramResourceLocation(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, String name); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the location of a named resource within a program @@ -37021,18 +22531,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceLocation")] - public static - Int32 GetProgramResourceLocation(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetProgramResourceLocation((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetProgramResourceLocation(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, String name); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the fragment color index of a named variable within a program @@ -37053,18 +22552,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceLocationIndex")] - public static - Int32 GetProgramResourceLocationIndex(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetProgramResourceLocationIndex((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetProgramResourceLocationIndex(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, String name); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the fragment color index of a named variable within a program @@ -37086,18 +22574,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceLocationIndex")] - public static - Int32 GetProgramResourceLocationIndex(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetProgramResourceLocationIndex((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetProgramResourceLocationIndex(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, String name); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the name of an indexed resource within a program @@ -37133,24 +22610,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")] - public static - void GetProgramResourceName(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, Int32 index, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetProgramResourceName((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)name); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramResourceName(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, Int32 index, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder name); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the name of an indexed resource within a program @@ -37186,25 +22646,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")] - public static - void GetProgramResourceName(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetProgramResourceName((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)name); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramResourceName(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder name); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the name of an indexed resource within a program @@ -37241,18 +22683,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")] - public static - unsafe void GetProgramResourceName(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramResourceName((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (UInt32)index, (Int32)bufSize, (Int32*)length, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramResourceName(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the name of an indexed resource within a program @@ -37289,24 +22720,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")] - public static - void GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, UInt32 index, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetProgramResourceName((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)name); - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, UInt32 index, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder name); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the name of an indexed resource within a program @@ -37343,25 +22757,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")] - public static - void GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetProgramResourceName((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)name); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder name); /// [requires: v4.3 and ARB_program_interface_query|VERSION_4_3] /// Query the name of an indexed resource within a program @@ -37398,18 +22794,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")] - public static - unsafe void GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramResourceName((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (UInt32)index, (Int32)bufSize, (Int32*)length, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Retrieve properties of a program object corresponding to a specified shader stage @@ -37435,25 +22820,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetProgramStageiv")] - public static - void GetProgramStage(Int32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, OpenTK.Graphics.OpenGL4.ProgramStageParameter pname, [OutAttribute] out Int32 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* values_ptr = &values) - { - Delegates.glGetProgramStageiv((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (OpenTK.Graphics.OpenGL4.ProgramStageParameter)pname, (Int32*)values_ptr); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramStage(Int32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, OpenTK.Graphics.OpenGL4.ProgramStageParameter pname, [OutAttribute] out Int32 values); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Retrieve properties of a program object corresponding to a specified shader stage @@ -37480,18 +22847,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetProgramStageiv")] - public static - unsafe void GetProgramStage(Int32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, OpenTK.Graphics.OpenGL4.ProgramStageParameter pname, [OutAttribute] Int32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramStageiv((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (OpenTK.Graphics.OpenGL4.ProgramStageParameter)pname, (Int32*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramStage(Int32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, OpenTK.Graphics.OpenGL4.ProgramStageParameter pname, [OutAttribute] Int32* values); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Retrieve properties of a program object corresponding to a specified shader stage @@ -37518,25 +22874,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetProgramStageiv")] - public static - void GetProgramStage(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, OpenTK.Graphics.OpenGL4.ProgramStageParameter pname, [OutAttribute] out Int32 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* values_ptr = &values) - { - Delegates.glGetProgramStageiv((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (OpenTK.Graphics.OpenGL4.ProgramStageParameter)pname, (Int32*)values_ptr); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetProgramStage(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, OpenTK.Graphics.OpenGL4.ProgramStageParameter pname, [OutAttribute] out Int32 values); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Retrieve properties of a program object corresponding to a specified shader stage @@ -37563,18 +22901,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetProgramStageiv")] - public static - unsafe void GetProgramStage(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, OpenTK.Graphics.OpenGL4.ProgramStageParameter pname, [OutAttribute] Int32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramStageiv((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (OpenTK.Graphics.OpenGL4.ProgramStageParameter)pname, (Int32*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetProgramStage(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, OpenTK.Graphics.OpenGL4.ProgramStageParameter pname, [OutAttribute] Int32* values); /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Return parameters of an indexed query object target @@ -37600,24 +22927,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glGetQueryIndexediv")] - public static - void GetQueryIndexed(OpenTK.Graphics.OpenGL4.QueryTarget target, Int32 index, OpenTK.Graphics.OpenGL4.GetQueryParam pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryIndexediv((OpenTK.Graphics.OpenGL4.QueryTarget)target, (UInt32)index, (OpenTK.Graphics.OpenGL4.GetQueryParam)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryIndexed(OpenTK.Graphics.OpenGL4.QueryTarget target, Int32 index, OpenTK.Graphics.OpenGL4.GetQueryParam pname, [OutAttribute] Int32[] @params); /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Return parameters of an indexed query object target @@ -37643,25 +22953,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glGetQueryIndexediv")] - public static - void GetQueryIndexed(OpenTK.Graphics.OpenGL4.QueryTarget target, Int32 index, OpenTK.Graphics.OpenGL4.GetQueryParam pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryIndexediv((OpenTK.Graphics.OpenGL4.QueryTarget)target, (UInt32)index, (OpenTK.Graphics.OpenGL4.GetQueryParam)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryIndexed(OpenTK.Graphics.OpenGL4.QueryTarget target, Int32 index, OpenTK.Graphics.OpenGL4.GetQueryParam pname, [OutAttribute] out Int32 @params); /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Return parameters of an indexed query object target @@ -37688,18 +22980,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glGetQueryIndexediv")] - public static - unsafe void GetQueryIndexed(OpenTK.Graphics.OpenGL4.QueryTarget target, Int32 index, OpenTK.Graphics.OpenGL4.GetQueryParam pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryIndexediv((OpenTK.Graphics.OpenGL4.QueryTarget)target, (UInt32)index, (OpenTK.Graphics.OpenGL4.GetQueryParam)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryIndexed(OpenTK.Graphics.OpenGL4.QueryTarget target, Int32 index, OpenTK.Graphics.OpenGL4.GetQueryParam pname, [OutAttribute] Int32* @params); /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Return parameters of an indexed query object target @@ -37726,24 +23007,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glGetQueryIndexediv")] - public static - void GetQueryIndexed(OpenTK.Graphics.OpenGL4.QueryTarget target, UInt32 index, OpenTK.Graphics.OpenGL4.GetQueryParam pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryIndexediv((OpenTK.Graphics.OpenGL4.QueryTarget)target, (UInt32)index, (OpenTK.Graphics.OpenGL4.GetQueryParam)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryIndexed(OpenTK.Graphics.OpenGL4.QueryTarget target, UInt32 index, OpenTK.Graphics.OpenGL4.GetQueryParam pname, [OutAttribute] Int32[] @params); /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Return parameters of an indexed query object target @@ -37770,25 +23034,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glGetQueryIndexediv")] - public static - void GetQueryIndexed(OpenTK.Graphics.OpenGL4.QueryTarget target, UInt32 index, OpenTK.Graphics.OpenGL4.GetQueryParam pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryIndexediv((OpenTK.Graphics.OpenGL4.QueryTarget)target, (UInt32)index, (OpenTK.Graphics.OpenGL4.GetQueryParam)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryIndexed(OpenTK.Graphics.OpenGL4.QueryTarget target, UInt32 index, OpenTK.Graphics.OpenGL4.GetQueryParam pname, [OutAttribute] out Int32 @params); /// [requires: v4.0 and ARB_transform_feedback3|VERSION_4_0] /// Return parameters of an indexed query object target @@ -37815,18 +23061,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback3|VERSION_4_0", Version = "4.0", EntryPoint = "glGetQueryIndexediv")] - public static - unsafe void GetQueryIndexed(OpenTK.Graphics.OpenGL4.QueryTarget target, UInt32 index, OpenTK.Graphics.OpenGL4.GetQueryParam pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryIndexediv((OpenTK.Graphics.OpenGL4.QueryTarget)target, (UInt32)index, (OpenTK.Graphics.OpenGL4.GetQueryParam)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryIndexed(OpenTK.Graphics.OpenGL4.QueryTarget target, UInt32 index, OpenTK.Graphics.OpenGL4.GetQueryParam pname, [OutAttribute] Int32* @params); /// [requires: v1.5] /// Return parameters of a query object target @@ -37847,24 +23082,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryiv")] - public static - void GetQuery(OpenTK.Graphics.OpenGL4.QueryTarget target, OpenTK.Graphics.OpenGL4.GetQueryParam pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryiv((OpenTK.Graphics.OpenGL4.QueryTarget)target, (OpenTK.Graphics.OpenGL4.GetQueryParam)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQuery(OpenTK.Graphics.OpenGL4.QueryTarget target, OpenTK.Graphics.OpenGL4.GetQueryParam pname, [OutAttribute] Int32[] @params); /// [requires: v1.5] /// Return parameters of a query object target @@ -37885,25 +23103,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryiv")] - public static - void GetQuery(OpenTK.Graphics.OpenGL4.QueryTarget target, OpenTK.Graphics.OpenGL4.GetQueryParam pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryiv((OpenTK.Graphics.OpenGL4.QueryTarget)target, (OpenTK.Graphics.OpenGL4.GetQueryParam)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQuery(OpenTK.Graphics.OpenGL4.QueryTarget target, OpenTK.Graphics.OpenGL4.GetQueryParam pname, [OutAttribute] out Int32 @params); /// [requires: v1.5] /// Return parameters of a query object target @@ -37925,18 +23125,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryiv")] - public static - unsafe void GetQuery(OpenTK.Graphics.OpenGL4.QueryTarget target, OpenTK.Graphics.OpenGL4.GetQueryParam pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryiv((OpenTK.Graphics.OpenGL4.QueryTarget)target, (OpenTK.Graphics.OpenGL4.GetQueryParam)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQuery(OpenTK.Graphics.OpenGL4.QueryTarget target, OpenTK.Graphics.OpenGL4.GetQueryParam pname, [OutAttribute] Int32* @params); /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -37957,24 +23146,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjecti64v")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetQueryObjecti64v((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] Int64[] @params); /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -37995,25 +23167,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjecti64v")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetQueryObjecti64v((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] out Int64 @params); /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -38035,18 +23189,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjecti64v")] - public static - unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjecti64v((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (Int64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] Int64* @params); /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -38068,24 +23211,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjecti64v")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetQueryObjecti64v((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] Int64[] @params); /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -38107,25 +23233,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjecti64v")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetQueryObjecti64v((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] out Int64 @params); /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -38147,18 +23255,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjecti64v")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjecti64v((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (Int64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] Int64* @params); /// [requires: v1.5] /// Return parameters of a query object @@ -38179,24 +23276,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] Int32[] @params); /// [requires: v1.5] /// Return parameters of a query object @@ -38217,25 +23297,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] out Int32 @params); /// [requires: v1.5] /// Return parameters of a query object @@ -38257,18 +23319,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static - unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] Int32* @params); /// [requires: v1.5] /// Return parameters of a query object @@ -38290,24 +23341,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] Int32[] @params); /// [requires: v1.5] /// Return parameters of a query object @@ -38329,25 +23363,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] out Int32 @params); /// [requires: v1.5] /// Return parameters of a query object @@ -38369,18 +23385,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] Int32* @params); /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -38402,24 +23407,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjectui64v")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] UInt64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = @params) - { - Delegates.glGetQueryObjectui64v((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (UInt64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] UInt64[] @params); /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -38441,25 +23429,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjectui64v")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] out UInt64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = &@params) - { - Delegates.glGetQueryObjectui64v((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (UInt64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] out UInt64 @params); /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Return parameters of a query object @@ -38481,18 +23451,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glGetQueryObjectui64v")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] UInt64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectui64v((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (UInt64*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] UInt64* @params); /// [requires: v1.5] /// Return parameters of a query object @@ -38514,24 +23473,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectuiv")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] UInt32[] @params); /// [requires: v1.5] /// Return parameters of a query object @@ -38553,25 +23495,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectuiv")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] out UInt32 @params); /// [requires: v1.5] /// Return parameters of a query object @@ -38593,18 +23517,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glGetQueryObjectuiv")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] UInt32* @params); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Retrieve information about a bound renderbuffer object @@ -38625,24 +23538,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static - void GetRenderbufferParameter(OpenTK.Graphics.OpenGL4.RenderbufferTarget target, OpenTK.Graphics.OpenGL4.RenderbufferParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.OpenGL4.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL4.RenderbufferParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetRenderbufferParameter(OpenTK.Graphics.OpenGL4.RenderbufferTarget target, OpenTK.Graphics.OpenGL4.RenderbufferParameterName pname, [OutAttribute] Int32[] @params); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Retrieve information about a bound renderbuffer object @@ -38663,25 +23559,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static - void GetRenderbufferParameter(OpenTK.Graphics.OpenGL4.RenderbufferTarget target, OpenTK.Graphics.OpenGL4.RenderbufferParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.OpenGL4.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL4.RenderbufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetRenderbufferParameter(OpenTK.Graphics.OpenGL4.RenderbufferTarget target, OpenTK.Graphics.OpenGL4.RenderbufferParameterName pname, [OutAttribute] out Int32 @params); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Retrieve information about a bound renderbuffer object @@ -38703,18 +23581,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static - unsafe void GetRenderbufferParameter(OpenTK.Graphics.OpenGL4.RenderbufferTarget target, OpenTK.Graphics.OpenGL4.RenderbufferParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.OpenGL4.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL4.RenderbufferParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetRenderbufferParameter(OpenTK.Graphics.OpenGL4.RenderbufferTarget target, OpenTK.Graphics.OpenGL4.RenderbufferParameterName pname, [OutAttribute] Int32* @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -38735,24 +23602,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterfv")] - public static - void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] Single[] @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -38773,25 +23623,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterfv")] - public static - void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] out Single @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -38813,18 +23645,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterfv")] - public static - unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] Single* @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -38846,24 +23667,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterfv")] - public static - void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] Single[] @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -38885,25 +23689,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterfv")] - public static - void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] out Single @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -38925,199 +23711,50 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterfv")] - public static - unsafe void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] Single* @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterIiv")] - public static - void GetSamplerParameterI(Int32 sampler, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.All)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameterI(Int32 sampler, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] Int32[] @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterIiv")] - public static - void GetSamplerParameterI(Int32 sampler, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.All)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameterI(Int32 sampler, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] out Int32 @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterIiv")] - public static - unsafe void GetSamplerParameterI(Int32 sampler, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.All)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetSamplerParameterI(Int32 sampler, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] Int32* @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterIiv")] - public static - void GetSamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.All)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] Int32[] @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterIiv")] - public static - void GetSamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.All)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] out Int32 @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterIiv")] - public static - unsafe void GetSamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.All)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetSamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] Int32* @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterIuiv")] - public static - void GetSamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetSamplerParameterIuiv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.All)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] UInt32[] @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterIuiv")] - public static - void GetSamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetSamplerParameterIuiv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.All)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] out UInt32 @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameterIuiv")] - public static - unsafe void GetSamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSamplerParameterIuiv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.All)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetSamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] UInt32* @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -39138,24 +23775,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameteriv")] - public static - void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] Int32[] @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -39176,25 +23796,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameteriv")] - public static - void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] out Int32 @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -39216,18 +23818,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameteriv")] - public static - unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] Int32* @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -39249,24 +23840,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameteriv")] - public static - void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] Int32[] @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -39288,25 +23862,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameteriv")] - public static - void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] out Int32 @params); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Return sampler parameter values @@ -39328,18 +23884,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glGetSamplerParameteriv")] - public static - unsafe void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] Int32* @params); /// /// Get separable convolution filter kernel images @@ -39375,18 +23920,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL4.SeparableTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL4.SeparableTarget)target, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span); - #if DEBUG - } - #endif - } + public static extern void GetSeparableFilter(OpenTK.Graphics.OpenGL4.SeparableTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span); /// /// Get separable convolution filter kernel images @@ -39422,33 +23956,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL4.SeparableTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T3[] row, [InAttribute, OutAttribute] T4[] column, [InAttribute, OutAttribute] T5[] span) + public static extern void GetSeparableFilter(OpenTK.Graphics.OpenGL4.SeparableTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T3[] row, [InAttribute, OutAttribute] T4[] column, [InAttribute, OutAttribute] T5[] span) where T3 : struct where T4 : struct where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL4.SeparableTarget)target, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Get separable convolution filter kernel images @@ -39484,33 +23996,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL4.SeparableTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T3[,] row, [InAttribute, OutAttribute] T4[,] column, [InAttribute, OutAttribute] T5[,] span) + public static extern void GetSeparableFilter(OpenTK.Graphics.OpenGL4.SeparableTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T3[,] row, [InAttribute, OutAttribute] T4[,] column, [InAttribute, OutAttribute] T5[,] span) where T3 : struct where T4 : struct where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL4.SeparableTarget)target, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Get separable convolution filter kernel images @@ -39546,33 +24036,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL4.SeparableTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T3[,,] row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) + public static extern void GetSeparableFilter(OpenTK.Graphics.OpenGL4.SeparableTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T3[,,] row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) where T3 : struct where T4 : struct where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL4.SeparableTarget)target, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Get separable convolution filter kernel images @@ -39608,36 +24076,11 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL4.SeparableTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T3 row, [InAttribute, OutAttribute] ref T4 column, [InAttribute, OutAttribute] ref T5 span) + public static extern void GetSeparableFilter(OpenTK.Graphics.OpenGL4.SeparableTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T3 row, [InAttribute, OutAttribute] ref T4 column, [InAttribute, OutAttribute] ref T5 span) where T3 : struct where T4 : struct where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL4.SeparableTarget)target, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - row = (T3)row_ptr.Target; - column = (T4)column_ptr.Target; - span = (T5)span_ptr.Target; - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0] /// Returns the information log for a shader object @@ -39663,25 +24106,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static - void GetShaderInfoLog(Int32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShaderInfoLog(Int32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog); /// [requires: v2.0] /// Returns the information log for a shader object @@ -39708,18 +24133,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static - unsafe void GetShaderInfoLog(Int32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShaderInfoLog(Int32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); /// [requires: v2.0] /// Returns the information log for a shader object @@ -39746,25 +24160,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static - void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog); /// [requires: v2.0] /// Returns the information log for a shader object @@ -39791,18 +24187,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static - unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); /// [requires: v2.0] /// Returns a parameter from a shader object @@ -39823,24 +24208,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - void GetShader(Int32 shader, OpenTK.Graphics.OpenGL4.ShaderParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.OpenGL4.ShaderParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetShader(Int32 shader, OpenTK.Graphics.OpenGL4.ShaderParameter pname, [OutAttribute] Int32[] @params); /// [requires: v2.0] /// Returns a parameter from a shader object @@ -39861,25 +24229,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - void GetShader(Int32 shader, OpenTK.Graphics.OpenGL4.ShaderParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.OpenGL4.ShaderParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShader(Int32 shader, OpenTK.Graphics.OpenGL4.ShaderParameter pname, [OutAttribute] out Int32 @params); /// [requires: v2.0] /// Returns a parameter from a shader object @@ -39901,18 +24251,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - unsafe void GetShader(Int32 shader, OpenTK.Graphics.OpenGL4.ShaderParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.OpenGL4.ShaderParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShader(Int32 shader, OpenTK.Graphics.OpenGL4.ShaderParameter pname, [OutAttribute] Int32* @params); /// [requires: v2.0] /// Returns a parameter from a shader object @@ -39934,24 +24273,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - void GetShader(UInt32 shader, OpenTK.Graphics.OpenGL4.ShaderParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.OpenGL4.ShaderParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetShader(UInt32 shader, OpenTK.Graphics.OpenGL4.ShaderParameter pname, [OutAttribute] Int32[] @params); /// [requires: v2.0] /// Returns a parameter from a shader object @@ -39973,25 +24295,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - void GetShader(UInt32 shader, OpenTK.Graphics.OpenGL4.ShaderParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.OpenGL4.ShaderParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShader(UInt32 shader, OpenTK.Graphics.OpenGL4.ShaderParameter pname, [OutAttribute] out Int32 @params); /// [requires: v2.0] /// Returns a parameter from a shader object @@ -40013,18 +24317,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - unsafe void GetShader(UInt32 shader, OpenTK.Graphics.OpenGL4.ShaderParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.OpenGL4.ShaderParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShader(UInt32 shader, OpenTK.Graphics.OpenGL4.ShaderParameter pname, [OutAttribute] Int32* @params); /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -40050,25 +24343,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glGetShaderPrecisionFormat")] - public static - void GetShaderPrecisionFormat(OpenTK.Graphics.OpenGL4.ShaderType shadertype, OpenTK.Graphics.OpenGL4.ShaderPrecision precisiontype, [OutAttribute] Int32[] range, [OutAttribute] Int32[] precision) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* range_ptr = range) - fixed (Int32* precision_ptr = precision) - { - Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (OpenTK.Graphics.OpenGL4.ShaderPrecision)precisiontype, (Int32*)range_ptr, (Int32*)precision_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetShaderPrecisionFormat(OpenTK.Graphics.OpenGL4.ShaderType shadertype, OpenTK.Graphics.OpenGL4.ShaderPrecision precisiontype, [OutAttribute] Int32[] range, [OutAttribute] Int32[] precision); /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -40094,27 +24369,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glGetShaderPrecisionFormat")] - public static - void GetShaderPrecisionFormat(OpenTK.Graphics.OpenGL4.ShaderType shadertype, OpenTK.Graphics.OpenGL4.ShaderPrecision precisiontype, [OutAttribute] out Int32 range, [OutAttribute] out Int32 precision) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* range_ptr = &range) - fixed (Int32* precision_ptr = &precision) - { - Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (OpenTK.Graphics.OpenGL4.ShaderPrecision)precisiontype, (Int32*)range_ptr, (Int32*)precision_ptr); - range = *range_ptr; - precision = *precision_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShaderPrecisionFormat(OpenTK.Graphics.OpenGL4.ShaderType shadertype, OpenTK.Graphics.OpenGL4.ShaderPrecision precisiontype, [OutAttribute] out Int32 range, [OutAttribute] out Int32 precision); /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Retrieve the range and precision for numeric formats supported by the shader compiler @@ -40141,18 +24396,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glGetShaderPrecisionFormat")] - public static - unsafe void GetShaderPrecisionFormat(OpenTK.Graphics.OpenGL4.ShaderType shadertype, OpenTK.Graphics.OpenGL4.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (OpenTK.Graphics.OpenGL4.ShaderPrecision)precisiontype, (Int32*)range, (Int32*)precision); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShaderPrecisionFormat(OpenTK.Graphics.OpenGL4.ShaderType shadertype, OpenTK.Graphics.OpenGL4.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision); /// [requires: v2.0] /// Returns the source code string from a shader object @@ -40178,25 +24422,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static - void GetShaderSource(Int32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)source); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShaderSource(Int32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source); /// [requires: v2.0] /// Returns the source code string from a shader object @@ -40223,18 +24449,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static - unsafe void GetShaderSource(Int32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)source); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShaderSource(Int32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); /// [requires: v2.0] /// Returns the source code string from a shader object @@ -40261,25 +24476,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static - void GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)source); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source); /// [requires: v2.0] /// Returns the source code string from a shader object @@ -40306,18 +24503,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static - unsafe void GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)source); - #if DEBUG - } - #endif - } + public static extern unsafe void GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); /// [requires: v1.0] /// Return a string describing the current GL connection @@ -40333,18 +24519,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetString")] - public static - String GetString(OpenTK.Graphics.OpenGL4.StringName name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)Delegates.glGetString((OpenTK.Graphics.OpenGL4.StringName)name)); } - #if DEBUG - } - #endif - } + public static extern String GetString(OpenTK.Graphics.OpenGL4.StringName name); /// [requires: v3.0] /// Return a string describing the current GL connection @@ -40360,18 +24535,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetStringi")] - public static - String GetString(OpenTK.Graphics.OpenGL4.StringNameIndexed name, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)Delegates.glGetStringi((OpenTK.Graphics.OpenGL4.StringNameIndexed)name, (UInt32)index)); } - #if DEBUG - } - #endif - } + public static extern String GetString(OpenTK.Graphics.OpenGL4.StringNameIndexed name, Int32 index); /// [requires: v3.0] /// Return a string describing the current GL connection @@ -40388,18 +24552,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetStringi")] - public static - String GetString(OpenTK.Graphics.OpenGL4.StringNameIndexed name, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe { return new string((sbyte*)Delegates.glGetStringi((OpenTK.Graphics.OpenGL4.StringNameIndexed)name, (UInt32)index)); } - #if DEBUG - } - #endif - } + public static extern String GetString(OpenTK.Graphics.OpenGL4.StringNameIndexed name, UInt32 index); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Retrieve the index of a subroutine uniform of a given shader stage within a program @@ -40420,18 +24573,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetSubroutineIndex")] - public static - Int32 GetSubroutineIndex(Int32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetSubroutineIndex((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetSubroutineIndex(Int32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, String name); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Retrieve the index of a subroutine uniform of a given shader stage within a program @@ -40453,18 +24595,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetSubroutineIndex")] - public static - Int32 GetSubroutineIndex(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetSubroutineIndex((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetSubroutineIndex(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, String name); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Retrieve the location of a subroutine uniform of a given shader stage within a program @@ -40485,18 +24616,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetSubroutineUniformLocation")] - public static - Int32 GetSubroutineUniformLocation(Int32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetSubroutineUniformLocation((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetSubroutineUniformLocation(Int32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, String name); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Retrieve the location of a subroutine uniform of a given shader stage within a program @@ -40518,18 +24638,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetSubroutineUniformLocation")] - public static - Int32 GetSubroutineUniformLocation(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetSubroutineUniformLocation((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetSubroutineUniformLocation(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, String name); /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Query the properties of a sync object @@ -40560,26 +24669,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetSynciv")] - public static - void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL4.SyncParameterName pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] Int32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* values_ptr = values) - { - Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.OpenGL4.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL4.SyncParameterName pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] Int32[] values); /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Query the properties of a sync object @@ -40610,27 +24700,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetSynciv")] - public static - void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL4.SyncParameterName pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* values_ptr = &values) - { - Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.OpenGL4.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr); - length = *length_ptr; - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL4.SyncParameterName pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values); /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Query the properties of a sync object @@ -40662,18 +24732,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetSynciv")] - public static - unsafe void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL4.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.OpenGL4.SyncParameterName)pname, (Int32)bufSize, (Int32*)length, (Int32*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL4.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); /// [requires: v1.0] /// Return a texture image @@ -40704,18 +24763,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexImage")] - public static - void GetTexImage(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexImage((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void GetTexImage(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr pixels); /// [requires: v1.0] /// Return a texture image @@ -40746,27 +24794,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexImage")] - public static - void GetTexImage(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T4[] pixels) + public static extern void GetTexImage(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T4[] pixels) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTexImage((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Return a texture image @@ -40797,27 +24827,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexImage")] - public static - void GetTexImage(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T4[,] pixels) + public static extern void GetTexImage(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T4[,] pixels) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTexImage((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Return a texture image @@ -40848,27 +24860,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexImage")] - public static - void GetTexImage(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T4[,,] pixels) + public static extern void GetTexImage(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T4[,,] pixels) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTexImage((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Return a texture image @@ -40899,28 +24893,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexImage")] - public static - void GetTexImage(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T4 pixels) + public static extern void GetTexImage(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T4 pixels) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTexImage((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T4)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Return texture parameter values for a specific level of detail @@ -40946,24 +24921,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexLevelParameterfv")] - public static - void GetTexLevelParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTexLevelParameterfv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexLevelParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Single[] @params); /// [requires: v1.0] /// Return texture parameter values for a specific level of detail @@ -40989,25 +24947,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexLevelParameterfv")] - public static - void GetTexLevelParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetTexLevelParameterfv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexLevelParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] out Single @params); /// [requires: v1.0] /// Return texture parameter values for a specific level of detail @@ -41034,18 +24974,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexLevelParameterfv")] - public static - unsafe void GetTexLevelParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexLevelParameterfv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexLevelParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Single* @params); /// [requires: v1.0] /// Return texture parameter values for a specific level of detail @@ -41071,24 +25000,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexLevelParameteriv")] - public static - void GetTexLevelParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTexLevelParameteriv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexLevelParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Int32[] @params); /// [requires: v1.0] /// Return texture parameter values for a specific level of detail @@ -41114,25 +25026,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexLevelParameteriv")] - public static - void GetTexLevelParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTexLevelParameteriv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexLevelParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] out Int32 @params); /// [requires: v1.0] /// Return texture parameter values for a specific level of detail @@ -41159,18 +25053,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexLevelParameteriv")] - public static - unsafe void GetTexLevelParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexLevelParameteriv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexLevelParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Int32* @params); /// [requires: v1.0] /// Return texture parameter values @@ -41191,24 +25074,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexParameterfv")] - public static - void GetTexParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTexParameterfv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Single[] @params); /// [requires: v1.0] /// Return texture parameter values @@ -41229,25 +25095,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexParameterfv")] - public static - void GetTexParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetTexParameterfv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] out Single @params); /// [requires: v1.0] /// Return texture parameter values @@ -41269,138 +25117,35 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexParameterfv")] - public static - unsafe void GetTexParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameterfv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Single* @params); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTexParameterIiv")] - public static - void GetTexParameterI(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTexParameterIiv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameterI(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Int32[] @params); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTexParameterIiv")] - public static - void GetTexParameterI(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTexParameterIiv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameterI(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] out Int32 @params); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTexParameterIiv")] - public static - unsafe void GetTexParameterI(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameterIiv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexParameterI(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Int32* @params); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTexParameterIuiv")] - public static - void GetTexParameterI(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetTexParameterIuiv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameterI(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] UInt32[] @params); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTexParameterIuiv")] - public static - void GetTexParameterI(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetTexParameterIuiv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameterI(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] out UInt32 @params); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTexParameterIuiv")] - public static - unsafe void GetTexParameterI(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameterIuiv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexParameterI(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] UInt32* @params); /// [requires: v1.0] /// Return texture parameter values @@ -41421,24 +25166,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexParameteriv")] - public static - void GetTexParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTexParameteriv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Int32[] @params); /// [requires: v1.0] /// Return texture parameter values @@ -41459,25 +25187,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexParameteriv")] - public static - void GetTexParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTexParameteriv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTexParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] out Int32 @params); /// [requires: v1.0] /// Return texture parameter values @@ -41499,18 +25209,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glGetTexParameteriv")] - public static - unsafe void GetTexParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameteriv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTexParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Int32* @params); /// [requires: v3.0] /// Retrieve information about varying variables selected for transform feedback @@ -41551,29 +25250,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static - void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL4.TransformFeedbackType type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.OpenGL4.TransformFeedbackType* type_ptr = &type) - { - Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL4.TransformFeedbackType*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL4.TransformFeedbackType type, [OutAttribute] StringBuilder name); /// [requires: v3.0] /// Retrieve information about varying variables selected for transform feedback @@ -41615,18 +25292,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static - unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL4.TransformFeedbackType* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL4.TransformFeedbackType*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL4.TransformFeedbackType* type, [OutAttribute] StringBuilder name); /// [requires: v3.0] /// Retrieve information about varying variables selected for transform feedback @@ -41668,29 +25334,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static - void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL4.TransformFeedbackType type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.OpenGL4.TransformFeedbackType* type_ptr = &type) - { - Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL4.TransformFeedbackType*)type_ptr, (StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL4.TransformFeedbackType type, [OutAttribute] StringBuilder name); /// [requires: v3.0] /// Retrieve information about varying variables selected for transform feedback @@ -41732,18 +25376,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static - unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL4.TransformFeedbackType* type, [OutAttribute] StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL4.TransformFeedbackType*)type, (StringBuilder)name); - #if DEBUG - } - #endif - } + public static extern unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL4.TransformFeedbackType* type, [OutAttribute] StringBuilder name); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the index of a named uniform block @@ -41759,18 +25392,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetUniformBlockIndex")] - public static - Int32 GetUniformBlockIndex(Int32 program, String uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetUniformBlockIndex((UInt32)program, (String)uniformBlockName); - #if DEBUG - } - #endif - } + public static extern Int32 GetUniformBlockIndex(Int32 program, String uniformBlockName); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the index of a named uniform block @@ -41787,18 +25409,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetUniformBlockIndex")] - public static - Int32 GetUniformBlockIndex(UInt32 program, String uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetUniformBlockIndex((UInt32)program, (String)uniformBlockName); - #if DEBUG - } - #endif - } + public static extern Int32 GetUniformBlockIndex(UInt32 program, String uniformBlockName); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Returns the value of a uniform variable @@ -41819,24 +25430,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformdv")] - public static - void GetUniform(Int32 program, Int32 location, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetUniformdv((UInt32)program, (Int32)location, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] Double[] @params); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Returns the value of a uniform variable @@ -41857,25 +25451,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformdv")] - public static - void GetUniform(Int32 program, Int32 location, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetUniformdv((UInt32)program, (Int32)location, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] out Double @params); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Returns the value of a uniform variable @@ -41897,18 +25473,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformdv")] - public static - unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformdv((UInt32)program, (Int32)location, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Double* @params); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Returns the value of a uniform variable @@ -41930,24 +25495,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformdv")] - public static - void GetUniform(UInt32 program, Int32 location, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetUniformdv((UInt32)program, (Int32)location, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] Double[] @params); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Returns the value of a uniform variable @@ -41969,25 +25517,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformdv")] - public static - void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetUniformdv((UInt32)program, (Int32)location, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Double @params); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Returns the value of a uniform variable @@ -42009,18 +25539,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformdv")] - public static - unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformdv((UInt32)program, (Int32)location, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Double* @params); /// [requires: v2.0] /// Returns the value of a uniform variable @@ -42041,24 +25560,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static - void GetUniform(Int32 program, Int32 location, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] Single[] @params); /// [requires: v2.0] /// Returns the value of a uniform variable @@ -42079,25 +25581,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static - void GetUniform(Int32 program, Int32 location, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] out Single @params); /// [requires: v2.0] /// Returns the value of a uniform variable @@ -42119,18 +25603,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static - unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Single* @params); /// [requires: v2.0] /// Returns the value of a uniform variable @@ -42152,24 +25625,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static - void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single[] @params); /// [requires: v2.0] /// Returns the value of a uniform variable @@ -42191,25 +25647,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static - void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Single @params); /// [requires: v2.0] /// Returns the value of a uniform variable @@ -42231,18 +25669,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static - unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single* @params); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the index of a named uniform block @@ -42268,24 +25695,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetUniformIndices")] - public static - void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] Int32[] uniformIndices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* uniformIndices_ptr = uniformIndices) - { - Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] Int32[] uniformIndices); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the index of a named uniform block @@ -42311,25 +25721,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetUniformIndices")] - public static - void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] out Int32 uniformIndices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* uniformIndices_ptr = &uniformIndices) - { - Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices_ptr); - uniformIndices = *uniformIndices_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] out Int32 uniformIndices); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the index of a named uniform block @@ -42356,18 +25748,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetUniformIndices")] - public static - unsafe void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] Int32* uniformIndices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] Int32* uniformIndices); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the index of a named uniform block @@ -42394,24 +25775,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetUniformIndices")] - public static - void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] UInt32[] uniformIndices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* uniformIndices_ptr = uniformIndices) - { - Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] UInt32[] uniformIndices); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the index of a named uniform block @@ -42438,25 +25802,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetUniformIndices")] - public static - void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] out UInt32 uniformIndices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* uniformIndices_ptr = &uniformIndices) - { - Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices_ptr); - uniformIndices = *uniformIndices_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] out UInt32 uniformIndices); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Retrieve the index of a named uniform block @@ -42483,18 +25829,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glGetUniformIndices")] - public static - unsafe void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] UInt32* uniformIndices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] UInt32* uniformIndices); /// [requires: v2.0] /// Returns the value of a uniform variable @@ -42515,24 +25850,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static - void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32[] @params); /// [requires: v2.0] /// Returns the value of a uniform variable @@ -42553,25 +25871,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static - void GetUniform(Int32 program, Int32 location, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(Int32 program, Int32 location, [OutAttribute] out Int32 @params); /// [requires: v2.0] /// Returns the value of a uniform variable @@ -42593,18 +25893,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static - unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32* @params); /// [requires: v2.0] /// Returns the value of a uniform variable @@ -42626,24 +25915,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static - void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32[] @params); /// [requires: v2.0] /// Returns the value of a uniform variable @@ -42665,25 +25937,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static - void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Int32 @params); /// [requires: v2.0] /// Returns the value of a uniform variable @@ -42705,18 +25959,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static - unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32* @params); /// [requires: v2.0] /// Returns the location of a uniform variable @@ -42732,18 +25975,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformLocation")] - public static - Int32 GetUniformLocation(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetUniformLocation((UInt32)program, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetUniformLocation(Int32 program, String name); /// [requires: v2.0] /// Returns the location of a uniform variable @@ -42760,18 +25992,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetUniformLocation")] - public static - Int32 GetUniformLocation(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetUniformLocation((UInt32)program, (String)name); - #if DEBUG - } - #endif - } + public static extern Int32 GetUniformLocation(UInt32 program, String name); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Retrieve the value of a subroutine uniform of a given shader stage of the current program @@ -42792,25 +26013,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformSubroutineuiv")] - public static - void GetUniformSubroutine(OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 location, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetUniformSubroutineuiv((OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (Int32)location, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniformSubroutine(OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 location, [OutAttribute] out Int32 @params); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Retrieve the value of a subroutine uniform of a given shader stage of the current program @@ -42832,18 +26035,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformSubroutineuiv")] - public static - unsafe void GetUniformSubroutine(OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 location, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformSubroutineuiv((OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (Int32)location, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniformSubroutine(OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 location, [OutAttribute] Int32* @params); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Retrieve the value of a subroutine uniform of a given shader stage of the current program @@ -42865,25 +26057,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformSubroutineuiv")] - public static - void GetUniformSubroutine(OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 location, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetUniformSubroutineuiv((OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (Int32)location, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniformSubroutine(OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 location, [OutAttribute] out UInt32 @params); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Retrieve the value of a subroutine uniform of a given shader stage of the current program @@ -42905,18 +26079,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glGetUniformSubroutineuiv")] - public static - unsafe void GetUniformSubroutine(OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 location, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformSubroutineuiv((OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (Int32)location, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniformSubroutine(OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 location, [OutAttribute] UInt32* @params); /// [requires: v3.0] /// Returns the value of a uniform variable @@ -42938,24 +26101,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformuiv")] - public static - void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetUniformuiv((UInt32)program, (Int32)location, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt32[] @params); /// [requires: v3.0] /// Returns the value of a uniform variable @@ -42977,25 +26123,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformuiv")] - public static - void GetUniform(UInt32 program, Int32 location, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetUniformuiv((UInt32)program, (Int32)location, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetUniform(UInt32 program, Int32 location, [OutAttribute] out UInt32 @params); /// [requires: v3.0] /// Returns the value of a uniform variable @@ -43017,18 +26145,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetUniformuiv")] - public static - unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformuiv((UInt32)program, (Int32)location, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt32* @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -43049,24 +26166,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Double[] @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -43087,25 +26187,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] out Double @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -43127,18 +26209,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Double* @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -43160,24 +26231,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Double[] @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -43199,25 +26253,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] out Double @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -43239,18 +26275,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Double* @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -43271,24 +26296,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Single[] @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -43309,25 +26317,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] out Single @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -43349,18 +26339,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Single* @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -43382,24 +26361,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Single[] @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -43421,25 +26383,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] out Single @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -43461,134 +26405,36 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Single* @params); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] - public static - void GetVertexAttribI(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribI(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] out Int32 @params); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] - public static - unsafe void GetVertexAttribI(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttribI(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Int32* @params); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] - public static - void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] out Int32 @params); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] - public static - unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Int32* @params); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIuiv")] - public static - void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribIuiv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] out UInt32 @params); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glGetVertexAttribIuiv")] - public static - unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribIuiv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] UInt32* @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -43609,24 +26455,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Int32[] @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -43647,25 +26476,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] out Int32 @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -43687,18 +26498,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Int32* @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -43720,24 +26520,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Int32[] @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -43759,25 +26542,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] out Int32 @params); /// [requires: v2.0] /// Return a generic vertex attribute parameter @@ -43799,138 +26564,35 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Int32* @params); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glGetVertexAttribLdv")] - public static - void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetVertexAttribLdv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Double[] @params); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glGetVertexAttribLdv")] - public static - void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetVertexAttribLdv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] out Double @params); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glGetVertexAttribLdv")] - public static - unsafe void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribLdv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttribL(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Double* @params); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glGetVertexAttribLdv")] - public static - void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetVertexAttribLdv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Double[] @params); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glGetVertexAttribLdv")] - public static - void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetVertexAttribLdv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] out Double @params); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glGetVertexAttribLdv")] - public static - unsafe void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribLdv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Double*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void GetVertexAttribL(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Double* @params); /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -43951,18 +26613,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter)pname, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer); /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -43983,27 +26634,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[] pointer) + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -44024,27 +26657,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,] pointer) + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -44065,27 +26680,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,,] pointer) + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -44106,28 +26703,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] ref T2 pointer) + public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] ref T2 pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -44149,18 +26727,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter)pname, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer); /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -44182,27 +26749,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[] pointer) + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -44224,27 +26773,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,] pointer) + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -44266,27 +26797,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,,] pointer) + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,,] pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0] /// Return the address of the specified generic vertex attribute pointer @@ -44308,28 +26821,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] ref T2 pointer) + public static extern void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] ref T2 pointer) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T2)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify implementation-specific hints @@ -44345,18 +26839,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glHint")] - public static - void Hint(OpenTK.Graphics.OpenGL4.HintTarget target, OpenTK.Graphics.OpenGL4.HintMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glHint((OpenTK.Graphics.OpenGL4.HintTarget)target, (OpenTK.Graphics.OpenGL4.HintMode)mode); - #if DEBUG - } - #endif - } + public static extern void Hint(OpenTK.Graphics.OpenGL4.HintTarget target, OpenTK.Graphics.OpenGL4.HintMode mode); /// /// Define histogram table @@ -44382,18 +26865,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glHistogram")] - public static - void Histogram(OpenTK.Graphics.OpenGL4.HistogramTarget target, Int32 width, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, bool sink) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glHistogram((OpenTK.Graphics.OpenGL4.HistogramTarget)target, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (bool)sink); - #if DEBUG - } - #endif - } + public static extern void Histogram(OpenTK.Graphics.OpenGL4.HistogramTarget target, Int32 width, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, bool sink); /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate the content of a buffer object's data store @@ -44404,18 +26876,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateBufferData")] - public static - void InvalidateBufferData(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInvalidateBufferData((UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void InvalidateBufferData(Int32 buffer); /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate the content of a buffer object's data store @@ -44427,18 +26888,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateBufferData")] - public static - void InvalidateBufferData(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInvalidateBufferData((UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void InvalidateBufferData(UInt32 buffer); /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate a region of a buffer object's data store @@ -44459,18 +26909,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateBufferSubData")] - public static - void InvalidateBufferSubData(Int32 buffer, IntPtr offset, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInvalidateBufferSubData((UInt32)buffer, (IntPtr)offset, (IntPtr)length); - #if DEBUG - } - #endif - } + public static extern void InvalidateBufferSubData(Int32 buffer, IntPtr offset, IntPtr length); /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate a region of a buffer object's data store @@ -44492,18 +26931,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateBufferSubData")] - public static - void InvalidateBufferSubData(UInt32 buffer, IntPtr offset, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInvalidateBufferSubData((UInt32)buffer, (IntPtr)offset, (IntPtr)length); - #if DEBUG - } - #endif - } + public static extern void InvalidateBufferSubData(UInt32 buffer, IntPtr offset, IntPtr length); /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate the content some or all of a framebuffer object's attachments @@ -44524,24 +26952,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateFramebuffer")] - public static - void InvalidateFramebuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.OpenGL4.FramebufferAttachment[] attachments) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL4.FramebufferAttachment* attachments_ptr = attachments) - { - Delegates.glInvalidateFramebuffer((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.OpenGL4.FramebufferAttachment*)attachments_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void InvalidateFramebuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.OpenGL4.FramebufferAttachment[] attachments); /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate the content some or all of a framebuffer object's attachments @@ -44562,24 +26973,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateFramebuffer")] - public static - void InvalidateFramebuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, Int32 numAttachments, ref OpenTK.Graphics.OpenGL4.FramebufferAttachment attachments) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL4.FramebufferAttachment* attachments_ptr = &attachments) - { - Delegates.glInvalidateFramebuffer((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.OpenGL4.FramebufferAttachment*)attachments_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void InvalidateFramebuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, Int32 numAttachments, ref OpenTK.Graphics.OpenGL4.FramebufferAttachment attachments); /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate the content some or all of a framebuffer object's attachments @@ -44601,18 +26995,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateFramebuffer")] - public static - unsafe void InvalidateFramebuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.OpenGL4.FramebufferAttachment* attachments) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInvalidateFramebuffer((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.OpenGL4.FramebufferAttachment*)attachments); - #if DEBUG - } - #endif - } + public static extern unsafe void InvalidateFramebuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.OpenGL4.FramebufferAttachment* attachments); /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate the content of a region of some or all of a framebuffer object's attachments @@ -44653,24 +27036,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateSubFramebuffer")] - public static - void InvalidateSubFramebuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.OpenGL4.FramebufferAttachment[] attachments, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL4.FramebufferAttachment* attachments_ptr = attachments) - { - Delegates.glInvalidateSubFramebuffer((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.OpenGL4.FramebufferAttachment*)attachments_ptr, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - } - #if DEBUG - } - #endif - } + public static extern void InvalidateSubFramebuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.OpenGL4.FramebufferAttachment[] attachments, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate the content of a region of some or all of a framebuffer object's attachments @@ -44711,24 +27077,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateSubFramebuffer")] - public static - void InvalidateSubFramebuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, Int32 numAttachments, ref OpenTK.Graphics.OpenGL4.FramebufferAttachment attachments, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL4.FramebufferAttachment* attachments_ptr = &attachments) - { - Delegates.glInvalidateSubFramebuffer((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.OpenGL4.FramebufferAttachment*)attachments_ptr, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - } - #if DEBUG - } - #endif - } + public static extern void InvalidateSubFramebuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, Int32 numAttachments, ref OpenTK.Graphics.OpenGL4.FramebufferAttachment attachments, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate the content of a region of some or all of a framebuffer object's attachments @@ -44770,18 +27119,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateSubFramebuffer")] - public static - unsafe void InvalidateSubFramebuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.OpenGL4.FramebufferAttachment* attachments, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInvalidateSubFramebuffer((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.OpenGL4.FramebufferAttachment*)attachments, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern unsafe void InvalidateSubFramebuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.OpenGL4.FramebufferAttachment* attachments, Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate the entirety a texture image @@ -44797,18 +27135,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateTexImage")] - public static - void InvalidateTexImage(Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInvalidateTexImage((UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void InvalidateTexImage(Int32 texture, Int32 level); /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate the entirety a texture image @@ -44825,18 +27152,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateTexImage")] - public static - void InvalidateTexImage(UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInvalidateTexImage((UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } + public static extern void InvalidateTexImage(UInt32 texture, Int32 level); /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate a region of a texture image @@ -44882,18 +27198,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateTexSubImage")] - public static - void InvalidateTexSubImage(Int32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInvalidateTexSubImage((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth); - #if DEBUG - } - #endif - } + public static extern void InvalidateTexSubImage(Int32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth); /// [requires: v4.3 and ARB_invalidate_subdata|VERSION_4_3] /// Invalidate a region of a texture image @@ -44940,18 +27245,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_invalidate_subdata|VERSION_4_3", Version = "4.3", EntryPoint = "glInvalidateTexSubImage")] - public static - void InvalidateTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInvalidateTexSubImage((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth); - #if DEBUG - } - #endif - } + public static extern void InvalidateTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth); /// [requires: v1.5] /// Determine if a name corresponds to a buffer object @@ -44962,18 +27256,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glIsBuffer")] - public static - bool IsBuffer(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsBuffer((UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern bool IsBuffer(Int32 buffer); /// [requires: v1.5] /// Determine if a name corresponds to a buffer object @@ -44985,18 +27268,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glIsBuffer")] - public static - bool IsBuffer(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsBuffer((UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern bool IsBuffer(UInt32 buffer); /// [requires: v1.0] /// Test whether a capability is enabled @@ -45012,18 +27284,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glIsEnabled")] - public static - bool IsEnabled(OpenTK.Graphics.OpenGL4.EnableCap cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsEnabled((OpenTK.Graphics.OpenGL4.EnableCap)cap); - #if DEBUG - } - #endif - } + public static extern bool IsEnabled(OpenTK.Graphics.OpenGL4.EnableCap cap); /// [requires: v3.0] /// Test whether a capability is enabled @@ -45039,18 +27300,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glIsEnabledi")] - public static - bool IsEnabled(OpenTK.Graphics.OpenGL4.IndexedEnableCap target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsEnabledi((OpenTK.Graphics.OpenGL4.IndexedEnableCap)target, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern bool IsEnabled(OpenTK.Graphics.OpenGL4.IndexedEnableCap target, Int32 index); /// [requires: v3.0] /// Test whether a capability is enabled @@ -45067,18 +27317,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glIsEnabledi")] - public static - bool IsEnabled(OpenTK.Graphics.OpenGL4.IndexedEnableCap target, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsEnabledi((OpenTK.Graphics.OpenGL4.IndexedEnableCap)target, (UInt32)index); - #if DEBUG - } - #endif - } + public static extern bool IsEnabled(OpenTK.Graphics.OpenGL4.IndexedEnableCap target, UInt32 index); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Determine if a name corresponds to a framebuffer object @@ -45089,18 +27328,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glIsFramebuffer")] - public static - bool IsFramebuffer(Int32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsFramebuffer((UInt32)framebuffer); - #if DEBUG - } - #endif - } + public static extern bool IsFramebuffer(Int32 framebuffer); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Determine if a name corresponds to a framebuffer object @@ -45112,18 +27340,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glIsFramebuffer")] - public static - bool IsFramebuffer(UInt32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsFramebuffer((UInt32)framebuffer); - #if DEBUG - } - #endif - } + public static extern bool IsFramebuffer(UInt32 framebuffer); /// [requires: v2.0] /// Determines if a name corresponds to a program object @@ -45134,18 +27351,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glIsProgram")] - public static - bool IsProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern bool IsProgram(Int32 program); /// [requires: v2.0] /// Determines if a name corresponds to a program object @@ -45157,18 +27363,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glIsProgram")] - public static - bool IsProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern bool IsProgram(UInt32 program); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Determine if a name corresponds to a program pipeline object @@ -45179,18 +27374,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glIsProgramPipeline")] - public static - bool IsProgramPipeline(Int32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsProgramPipeline((UInt32)pipeline); - #if DEBUG - } - #endif - } + public static extern bool IsProgramPipeline(Int32 pipeline); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Determine if a name corresponds to a program pipeline object @@ -45202,18 +27386,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glIsProgramPipeline")] - public static - bool IsProgramPipeline(UInt32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsProgramPipeline((UInt32)pipeline); - #if DEBUG - } - #endif - } + public static extern bool IsProgramPipeline(UInt32 pipeline); /// [requires: v1.5] /// Determine if a name corresponds to a query object @@ -45224,18 +27397,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glIsQuery")] - public static - bool IsQuery(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsQuery((UInt32)id); - #if DEBUG - } - #endif - } + public static extern bool IsQuery(Int32 id); /// [requires: v1.5] /// Determine if a name corresponds to a query object @@ -45247,18 +27409,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glIsQuery")] - public static - bool IsQuery(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsQuery((UInt32)id); - #if DEBUG - } - #endif - } + public static extern bool IsQuery(UInt32 id); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Determine if a name corresponds to a renderbuffer object @@ -45269,18 +27420,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glIsRenderbuffer")] - public static - bool IsRenderbuffer(Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsRenderbuffer((UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern bool IsRenderbuffer(Int32 renderbuffer); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Determine if a name corresponds to a renderbuffer object @@ -45292,18 +27432,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glIsRenderbuffer")] - public static - bool IsRenderbuffer(UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsRenderbuffer((UInt32)renderbuffer); - #if DEBUG - } - #endif - } + public static extern bool IsRenderbuffer(UInt32 renderbuffer); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Determine if a name corresponds to a sampler object @@ -45314,18 +27443,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glIsSampler")] - public static - bool IsSampler(Int32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsSampler((UInt32)sampler); - #if DEBUG - } - #endif - } + public static extern bool IsSampler(Int32 sampler); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Determine if a name corresponds to a sampler object @@ -45337,18 +27455,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glIsSampler")] - public static - bool IsSampler(UInt32 sampler) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsSampler((UInt32)sampler); - #if DEBUG - } - #endif - } + public static extern bool IsSampler(UInt32 sampler); /// [requires: v2.0] /// Determines if a name corresponds to a shader object @@ -45359,18 +27466,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glIsShader")] - public static - bool IsShader(Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsShader((UInt32)shader); - #if DEBUG - } - #endif - } + public static extern bool IsShader(Int32 shader); /// [requires: v2.0] /// Determines if a name corresponds to a shader object @@ -45382,18 +27478,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glIsShader")] - public static - bool IsShader(UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsShader((UInt32)shader); - #if DEBUG - } - #endif - } + public static extern bool IsShader(UInt32 shader); /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Determine if a name corresponds to a sync object @@ -45404,18 +27489,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glIsSync")] - public static - bool IsSync(IntPtr sync) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsSync((IntPtr)sync); - #if DEBUG - } - #endif - } + public static extern bool IsSync(IntPtr sync); /// [requires: v1.1] /// Determine if a name corresponds to a texture @@ -45426,18 +27500,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glIsTexture")] - public static - bool IsTexture(Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsTexture((UInt32)texture); - #if DEBUG - } - #endif - } + public static extern bool IsTexture(Int32 texture); /// [requires: v1.1] /// Determine if a name corresponds to a texture @@ -45449,18 +27512,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glIsTexture")] - public static - bool IsTexture(UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsTexture((UInt32)texture); - #if DEBUG - } - #endif - } + public static extern bool IsTexture(UInt32 texture); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Determine if a name corresponds to a transform feedback object @@ -45471,18 +27523,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glIsTransformFeedback")] - public static - bool IsTransformFeedback(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsTransformFeedback((UInt32)id); - #if DEBUG - } - #endif - } + public static extern bool IsTransformFeedback(Int32 id); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Determine if a name corresponds to a transform feedback object @@ -45494,18 +27535,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glIsTransformFeedback")] - public static - bool IsTransformFeedback(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsTransformFeedback((UInt32)id); - #if DEBUG - } - #endif - } + public static extern bool IsTransformFeedback(UInt32 id); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Determine if a name corresponds to a vertex array object @@ -45516,18 +27546,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glIsVertexArray")] - public static - bool IsVertexArray(Int32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsVertexArray((UInt32)array); - #if DEBUG - } - #endif - } + public static extern bool IsVertexArray(Int32 array); /// [requires: v3.0 and ARB_vertex_array_object|VERSION_3_0] /// Determine if a name corresponds to a vertex array object @@ -45539,18 +27558,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_array_object|VERSION_3_0", Version = "3.0", EntryPoint = "glIsVertexArray")] - public static - bool IsVertexArray(UInt32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsVertexArray((UInt32)array); - #if DEBUG - } - #endif - } + public static extern bool IsVertexArray(UInt32 array); /// [requires: v1.0] /// Specify the width of rasterized lines @@ -45561,18 +27569,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLineWidth")] - public static - void LineWidth(Single width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLineWidth((Single)width); - #if DEBUG - } - #endif - } + public static extern void LineWidth(Single width); /// [requires: v2.0] /// Links a program object @@ -45583,18 +27580,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glLinkProgram")] - public static - void LinkProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLinkProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void LinkProgram(Int32 program); /// [requires: v2.0] /// Links a program object @@ -45606,18 +27592,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glLinkProgram")] - public static - void LinkProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLinkProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void LinkProgram(UInt32 program); /// [requires: v1.0] /// Specify a logical pixel operation for rendering @@ -45628,18 +27603,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glLogicOp")] - public static - void LogicOp(OpenTK.Graphics.OpenGL4.LogicOp opcode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLogicOp((OpenTK.Graphics.OpenGL4.LogicOp)opcode); - #if DEBUG - } - #endif - } + public static extern void LogicOp(OpenTK.Graphics.OpenGL4.LogicOp opcode); /// [requires: v1.5] /// Map a buffer object's data store @@ -45655,18 +27619,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glMapBuffer")] - public static - IntPtr MapBuffer(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferAccess access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glMapBuffer((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.BufferAccess)access); - #if DEBUG - } - #endif - } + public static extern IntPtr MapBuffer(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferAccess access); /// [requires: v3.0 and ARB_map_buffer_range|VERSION_3_0] /// Map a section of a buffer object's data store @@ -45692,18 +27645,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_map_buffer_range|VERSION_3_0", Version = "3.0", EntryPoint = "glMapBufferRange")] - public static - IntPtr MapBufferRange(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.OpenGL4.BufferAccessMask access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glMapBufferRange((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (OpenTK.Graphics.OpenGL4.BufferAccessMask)access); - #if DEBUG - } - #endif - } + public static extern IntPtr MapBufferRange(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.OpenGL4.BufferAccessMask access); /// [requires: v4.2 and ARB_shader_image_load_store|VERSION_4_2] /// Defines a barrier ordering memory transactions @@ -45714,18 +27656,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_shader_image_load_store|VERSION_4_2", Version = "4.2", EntryPoint = "glMemoryBarrier")] - public static - void MemoryBarrier(OpenTK.Graphics.OpenGL4.MemoryBarrierFlags barriers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMemoryBarrier((OpenTK.Graphics.OpenGL4.MemoryBarrierFlags)barriers); - #if DEBUG - } - #endif - } + public static extern void MemoryBarrier(OpenTK.Graphics.OpenGL4.MemoryBarrierFlags barriers); /// /// Define minmax table @@ -45746,18 +27677,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glMinmax")] - public static - void Minmax(OpenTK.Graphics.OpenGL4.MinmaxTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, bool sink) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMinmax((OpenTK.Graphics.OpenGL4.MinmaxTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (bool)sink); - #if DEBUG - } - #endif - } + public static extern void Minmax(OpenTK.Graphics.OpenGL4.MinmaxTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, bool sink); /// [requires: v4.0] /// Specifies minimum rate at which sample shaing takes place @@ -45768,18 +27688,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_4_0", Version = "4.0", EntryPoint = "glMinSampleShading")] - public static - void MinSampleShading(Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMinSampleShading((Single)value); - #if DEBUG - } - #endif - } + public static extern void MinSampleShading(Single value); /// [requires: v1.4] /// Render multiple sets of primitives from array data @@ -45805,25 +27714,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawArrays")] - public static - void MultiDrawArrays(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32[] first, Int32[] count, Int32 drawcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = first) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawArrays((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)drawcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawArrays(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32[] first, Int32[] count, Int32 drawcount); /// [requires: v1.4] /// Render multiple sets of primitives from array data @@ -45849,25 +27740,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawArrays")] - public static - void MultiDrawArrays(OpenTK.Graphics.OpenGL4.PrimitiveType mode, ref Int32 first, ref Int32 count, Int32 drawcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = &first) - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawArrays((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)drawcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawArrays(OpenTK.Graphics.OpenGL4.PrimitiveType mode, ref Int32 first, ref Int32 count, Int32 drawcount); /// [requires: v1.4] /// Render multiple sets of primitives from array data @@ -45894,18 +27767,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawArrays")] - public static - unsafe void MultiDrawArrays(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* first, Int32* count, Int32 drawcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawArrays((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)first, (Int32*)count, (Int32)drawcount); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiDrawArrays(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* first, Int32* count, Int32 drawcount); /// [requires: v4.3 and ARB_multi_draw_indirect|VERSION_4_3] /// Render multiple sets of primitives from array data, taking parameters from memory @@ -45931,18 +27793,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawArraysIndirect")] - public static - void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, IntPtr indirect, Int32 drawcount, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawArraysIndirect((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)indirect, (Int32)drawcount, (Int32)stride); - #if DEBUG - } - #endif - } + public static extern void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, IntPtr indirect, Int32 drawcount, Int32 stride); /// [requires: v4.3 and ARB_multi_draw_indirect|VERSION_4_3] /// Render multiple sets of primitives from array data, taking parameters from memory @@ -45968,27 +27819,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawArraysIndirect")] - public static - void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, [InAttribute, OutAttribute] T1[] indirect, Int32 drawcount, Int32 stride) + public static extern void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, [InAttribute, OutAttribute] T1[] indirect, Int32 drawcount, Int32 stride) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawArraysIndirect((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and ARB_multi_draw_indirect|VERSION_4_3] /// Render multiple sets of primitives from array data, taking parameters from memory @@ -46014,27 +27847,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawArraysIndirect")] - public static - void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, [InAttribute, OutAttribute] T1[,] indirect, Int32 drawcount, Int32 stride) + public static extern void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, [InAttribute, OutAttribute] T1[,] indirect, Int32 drawcount, Int32 stride) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawArraysIndirect((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and ARB_multi_draw_indirect|VERSION_4_3] /// Render multiple sets of primitives from array data, taking parameters from memory @@ -46060,27 +27875,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawArraysIndirect")] - public static - void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, [InAttribute, OutAttribute] T1[,,] indirect, Int32 drawcount, Int32 stride) + public static extern void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, [InAttribute, OutAttribute] T1[,,] indirect, Int32 drawcount, Int32 stride) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawArraysIndirect((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and ARB_multi_draw_indirect|VERSION_4_3] /// Render multiple sets of primitives from array data, taking parameters from memory @@ -46106,28 +27903,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawArraysIndirect")] - public static - void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, [InAttribute, OutAttribute] ref T1 indirect, Int32 drawcount, Int32 stride) + public static extern void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, [InAttribute, OutAttribute] ref T1 indirect, Int32 drawcount, Int32 stride) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawArraysIndirect((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride); - indirect = (T1)indirect_ptr.Target; - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -46158,24 +27936,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 drawcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 drawcount); /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -46206,33 +27967,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -46263,33 +28000,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -46320,33 +28033,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -46377,34 +28066,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -46435,24 +28099,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 drawcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 drawcount); /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -46483,33 +28130,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -46540,33 +28163,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -46597,33 +28196,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -46654,34 +28229,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount) + public static extern void MultiDrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -46713,18 +28263,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 drawcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 drawcount); /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -46756,27 +28295,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -46808,27 +28329,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -46860,27 +28363,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.4] /// Render multiple sets of primitives by specifying indices of array data elements @@ -46912,28 +28397,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount) + public static extern unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -46969,25 +28435,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 drawcount, Int32[] basevertex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - fixed (Int32* basevertex_ptr = basevertex) - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, (Int32*)basevertex_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 drawcount, Int32[] basevertex); /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -47023,34 +28471,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount, Int32[] basevertex) + public static extern void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount, Int32[] basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - fixed (Int32* basevertex_ptr = basevertex) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -47086,34 +28509,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount, Int32[] basevertex) + public static extern void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount, Int32[] basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - fixed (Int32* basevertex_ptr = basevertex) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -47149,34 +28547,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount, Int32[] basevertex) + public static extern void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount, Int32[] basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - fixed (Int32* basevertex_ptr = basevertex) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -47212,35 +28585,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount, Int32[] basevertex) + public static extern void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount, Int32[] basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - fixed (Int32* basevertex_ptr = basevertex) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -47276,25 +28623,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 drawcount, ref Int32 basevertex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* basevertex_ptr = &basevertex) - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, (Int32*)basevertex_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 drawcount, ref Int32 basevertex); /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -47330,34 +28659,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount, ref Int32 basevertex) + public static extern void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount, ref Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* basevertex_ptr = &basevertex) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -47393,34 +28697,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount, ref Int32 basevertex) + public static extern void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount, ref Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* basevertex_ptr = &basevertex) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -47456,34 +28735,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount, ref Int32 basevertex) + public static extern void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount, ref Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* basevertex_ptr = &basevertex) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -47519,35 +28773,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount, ref Int32 basevertex) + public static extern void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount, ref Int32 basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* basevertex_ptr = &basevertex) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -47584,18 +28812,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 drawcount, Int32* basevertex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, (Int32*)basevertex); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 drawcount, Int32* basevertex); /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -47632,27 +28849,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount, Int32* basevertex) + public static extern unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount, Int32* basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -47689,27 +28888,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount, Int32* basevertex) + public static extern unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount, Int32* basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -47746,27 +28927,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount, Int32* basevertex) + public static extern unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount, Int32* basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_draw_elements_base_vertex|VERSION_3_2] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index @@ -47803,28 +28966,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_draw_elements_base_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount, Int32* basevertex) + public static extern unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL4.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount, Int32* basevertex) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex); - indices = (T3)indices_ptr.Target; - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and ARB_multi_draw_indirect|VERSION_4_3] /// Render indexed primitives from array data, taking parameters from memory @@ -47855,18 +28999,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawElementsIndirect")] - public static - void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL4.All mode, OpenTK.Graphics.OpenGL4.All type, IntPtr indirect, Int32 drawcount, Int32 stride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawElementsIndirect((OpenTK.Graphics.OpenGL4.All)mode, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)indirect, (Int32)drawcount, (Int32)stride); - #if DEBUG - } - #endif - } + public static extern void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL4.All mode, OpenTK.Graphics.OpenGL4.All type, IntPtr indirect, Int32 drawcount, Int32 stride); /// [requires: v4.3 and ARB_multi_draw_indirect|VERSION_4_3] /// Render indexed primitives from array data, taking parameters from memory @@ -47897,27 +29030,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawElementsIndirect")] - public static - void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL4.All mode, OpenTK.Graphics.OpenGL4.All type, [InAttribute, OutAttribute] T2[] indirect, Int32 drawcount, Int32 stride) + public static extern void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL4.All mode, OpenTK.Graphics.OpenGL4.All type, [InAttribute, OutAttribute] T2[] indirect, Int32 drawcount, Int32 stride) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsIndirect((OpenTK.Graphics.OpenGL4.All)mode, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and ARB_multi_draw_indirect|VERSION_4_3] /// Render indexed primitives from array data, taking parameters from memory @@ -47948,27 +29063,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawElementsIndirect")] - public static - void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL4.All mode, OpenTK.Graphics.OpenGL4.All type, [InAttribute, OutAttribute] T2[,] indirect, Int32 drawcount, Int32 stride) + public static extern void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL4.All mode, OpenTK.Graphics.OpenGL4.All type, [InAttribute, OutAttribute] T2[,] indirect, Int32 drawcount, Int32 stride) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsIndirect((OpenTK.Graphics.OpenGL4.All)mode, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and ARB_multi_draw_indirect|VERSION_4_3] /// Render indexed primitives from array data, taking parameters from memory @@ -47999,27 +29096,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawElementsIndirect")] - public static - void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL4.All mode, OpenTK.Graphics.OpenGL4.All type, [InAttribute, OutAttribute] T2[,,] indirect, Int32 drawcount, Int32 stride) + public static extern void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL4.All mode, OpenTK.Graphics.OpenGL4.All type, [InAttribute, OutAttribute] T2[,,] indirect, Int32 drawcount, Int32 stride) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsIndirect((OpenTK.Graphics.OpenGL4.All)mode, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride); - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and ARB_multi_draw_indirect|VERSION_4_3] /// Render indexed primitives from array data, taking parameters from memory @@ -48050,343 +29129,104 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_multi_draw_indirect|VERSION_4_3", Version = "4.3", EntryPoint = "glMultiDrawElementsIndirect")] - public static - void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL4.All mode, OpenTK.Graphics.OpenGL4.All type, [InAttribute, OutAttribute] ref T2 indirect, Int32 drawcount, Int32 stride) + public static extern void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL4.All mode, OpenTK.Graphics.OpenGL4.All type, [InAttribute, OutAttribute] ref T2 indirect, Int32 drawcount, Int32 stride) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsIndirect((OpenTK.Graphics.OpenGL4.All)mode, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride); - indirect = (T2)indirect_ptr.Target; - } - finally - { - indirect_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glMultiTexCoordP1ui")] - public static - void MultiTexCoordP1(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordP1ui((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoordP1(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glMultiTexCoordP1ui")] - public static - void MultiTexCoordP1(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordP1ui((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoordP1(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glMultiTexCoordP1uiv")] - public static - unsafe void MultiTexCoordP1(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordP1uiv((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoordP1(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glMultiTexCoordP1uiv")] - public static - unsafe void MultiTexCoordP1(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordP1uiv((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoordP1(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glMultiTexCoordP2ui")] - public static - void MultiTexCoordP2(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordP2ui((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoordP2(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glMultiTexCoordP2ui")] - public static - void MultiTexCoordP2(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordP2ui((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoordP2(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glMultiTexCoordP2uiv")] - public static - unsafe void MultiTexCoordP2(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordP2uiv((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoordP2(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glMultiTexCoordP2uiv")] - public static - unsafe void MultiTexCoordP2(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordP2uiv((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoordP2(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glMultiTexCoordP3ui")] - public static - void MultiTexCoordP3(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordP3ui((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoordP3(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glMultiTexCoordP3ui")] - public static - void MultiTexCoordP3(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordP3ui((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoordP3(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glMultiTexCoordP3uiv")] - public static - unsafe void MultiTexCoordP3(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordP3uiv((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoordP3(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glMultiTexCoordP3uiv")] - public static - unsafe void MultiTexCoordP3(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordP3uiv((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoordP3(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glMultiTexCoordP4ui")] - public static - void MultiTexCoordP4(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordP4ui((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoordP4(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glMultiTexCoordP4ui")] - public static - void MultiTexCoordP4(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordP4ui((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void MultiTexCoordP4(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glMultiTexCoordP4uiv")] - public static - unsafe void MultiTexCoordP4(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordP4uiv((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoordP4(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glMultiTexCoordP4uiv")] - public static - unsafe void MultiTexCoordP4(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordP4uiv((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void MultiTexCoordP4(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glNormalP3ui")] - public static - void NormalP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalP3ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void NormalP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glNormalP3ui")] - public static - void NormalP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalP3ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void NormalP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glNormalP3uiv")] - public static - unsafe void NormalP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalP3uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void NormalP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glNormalP3uiv")] - public static - unsafe void NormalP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalP3uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void NormalP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Label a named object identified within a namespace @@ -48412,18 +29252,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glObjectLabel")] - public static - void ObjectLabel(OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier identifier, Int32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glObjectLabel((OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void ObjectLabel(OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier identifier, Int32 name, Int32 length, String label); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Label a named object identified within a namespace @@ -48450,18 +29279,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glObjectLabel")] - public static - void ObjectLabel(OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glObjectLabel((OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void ObjectLabel(OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Label a a sync object identified by a pointer @@ -48482,18 +29300,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glObjectPtrLabel")] - public static - void ObjectPtrLabel(IntPtr ptr, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glObjectPtrLabel((IntPtr)ptr, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void ObjectPtrLabel(IntPtr ptr, Int32 length, String label); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Label a a sync object identified by a pointer @@ -48514,27 +29321,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glObjectPtrLabel")] - public static - void ObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 length, String label) + public static extern void ObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 length, String label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Label a a sync object identified by a pointer @@ -48555,27 +29344,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glObjectPtrLabel")] - public static - void ObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 length, String label) + public static extern void ObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 length, String label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Label a a sync object identified by a pointer @@ -48596,27 +29367,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glObjectPtrLabel")] - public static - void ObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 length, String label) + public static extern void ObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 length, String label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Label a a sync object identified by a pointer @@ -48637,28 +29390,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glObjectPtrLabel")] - public static - void ObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 length, String label) + public static extern void ObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 length, String label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glObjectPtrLabel((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label); - ptr = (T0)ptr_ptr.Target; - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.0 and ARB_tessellation_shader|VERSION_4_0] /// Specifies the parameters for patch primitives @@ -48679,24 +29413,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_tessellation_shader|VERSION_4_0", Version = "4.0", EntryPoint = "glPatchParameterfv")] - public static - void PatchParameter(OpenTK.Graphics.OpenGL4.PatchParameterFloat pname, Single[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* values_ptr = values) - { - Delegates.glPatchParameterfv((OpenTK.Graphics.OpenGL4.PatchParameterFloat)pname, (Single*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PatchParameter(OpenTK.Graphics.OpenGL4.PatchParameterFloat pname, Single[] values); /// [requires: v4.0 and ARB_tessellation_shader|VERSION_4_0] /// Specifies the parameters for patch primitives @@ -48717,24 +29434,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_tessellation_shader|VERSION_4_0", Version = "4.0", EntryPoint = "glPatchParameterfv")] - public static - void PatchParameter(OpenTK.Graphics.OpenGL4.PatchParameterFloat pname, ref Single values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* values_ptr = &values) - { - Delegates.glPatchParameterfv((OpenTK.Graphics.OpenGL4.PatchParameterFloat)pname, (Single*)values_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PatchParameter(OpenTK.Graphics.OpenGL4.PatchParameterFloat pname, ref Single values); /// [requires: v4.0 and ARB_tessellation_shader|VERSION_4_0] /// Specifies the parameters for patch primitives @@ -48756,18 +29456,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_tessellation_shader|VERSION_4_0", Version = "4.0", EntryPoint = "glPatchParameterfv")] - public static - unsafe void PatchParameter(OpenTK.Graphics.OpenGL4.PatchParameterFloat pname, Single* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPatchParameterfv((OpenTK.Graphics.OpenGL4.PatchParameterFloat)pname, (Single*)values); - #if DEBUG - } - #endif - } + public static extern unsafe void PatchParameter(OpenTK.Graphics.OpenGL4.PatchParameterFloat pname, Single* values); /// [requires: v4.0 and ARB_tessellation_shader|VERSION_4_0] /// Specifies the parameters for patch primitives @@ -48788,35 +29477,13 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_tessellation_shader|VERSION_4_0", Version = "4.0", EntryPoint = "glPatchParameteri")] - public static - void PatchParameter(OpenTK.Graphics.OpenGL4.PatchParameterInt pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPatchParameteri((OpenTK.Graphics.OpenGL4.PatchParameterInt)pname, (Int32)value); - #if DEBUG - } - #endif - } + public static extern void PatchParameter(OpenTK.Graphics.OpenGL4.PatchParameterInt pname, Int32 value); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Pause transform feedback operations /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glPauseTransformFeedback")] - public static - void PauseTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPauseTransformFeedback(); - #if DEBUG - } - #endif - } + public static extern void PauseTransformFeedback(); /// [requires: v1.0] /// Set pixel storage modes @@ -48832,18 +29499,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelStoref")] - public static - void PixelStore(OpenTK.Graphics.OpenGL4.PixelStoreParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelStoref((OpenTK.Graphics.OpenGL4.PixelStoreParameter)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void PixelStore(OpenTK.Graphics.OpenGL4.PixelStoreParameter pname, Single param); /// [requires: v1.0] /// Set pixel storage modes @@ -48859,18 +29515,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPixelStorei")] - public static - void PixelStore(OpenTK.Graphics.OpenGL4.PixelStoreParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelStorei((OpenTK.Graphics.OpenGL4.PixelStoreParameter)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void PixelStore(OpenTK.Graphics.OpenGL4.PixelStoreParameter pname, Int32 param); /// [requires: v1.4] /// Specify point parameters @@ -48891,18 +29536,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glPointParameterf")] - public static - void PointParameter(OpenTK.Graphics.OpenGL4.PointParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameterf((OpenTK.Graphics.OpenGL4.PointParameterName)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void PointParameter(OpenTK.Graphics.OpenGL4.PointParameterName pname, Single param); /// [requires: v1.4] /// Specify point parameters @@ -48923,24 +29557,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glPointParameterfv")] - public static - void PointParameter(OpenTK.Graphics.OpenGL4.PointParameterName pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glPointParameterfv((OpenTK.Graphics.OpenGL4.PointParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PointParameter(OpenTK.Graphics.OpenGL4.PointParameterName pname, Single[] @params); /// [requires: v1.4] /// Specify point parameters @@ -48962,18 +29579,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glPointParameterfv")] - public static - unsafe void PointParameter(OpenTK.Graphics.OpenGL4.PointParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameterfv((OpenTK.Graphics.OpenGL4.PointParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void PointParameter(OpenTK.Graphics.OpenGL4.PointParameterName pname, Single* @params); /// [requires: v1.4] /// Specify point parameters @@ -48994,18 +29600,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glPointParameteri")] - public static - void PointParameter(OpenTK.Graphics.OpenGL4.PointParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameteri((OpenTK.Graphics.OpenGL4.PointParameterName)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void PointParameter(OpenTK.Graphics.OpenGL4.PointParameterName pname, Int32 param); /// [requires: v1.4] /// Specify point parameters @@ -49026,24 +29621,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glPointParameteriv")] - public static - void PointParameter(OpenTK.Graphics.OpenGL4.PointParameterName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glPointParameteriv((OpenTK.Graphics.OpenGL4.PointParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void PointParameter(OpenTK.Graphics.OpenGL4.PointParameterName pname, Int32[] @params); /// [requires: v1.4] /// Specify point parameters @@ -49065,18 +29643,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glPointParameteriv")] - public static - unsafe void PointParameter(OpenTK.Graphics.OpenGL4.PointParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameteriv((OpenTK.Graphics.OpenGL4.PointParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void PointParameter(OpenTK.Graphics.OpenGL4.PointParameterName pname, Int32* @params); /// [requires: v1.0] /// Specify the diameter of rasterized points @@ -49087,18 +29654,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPointSize")] - public static - void PointSize(Single size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointSize((Single)size); - #if DEBUG - } - #endif - } + public static extern void PointSize(Single size); /// [requires: v1.0] /// Select a polygon rasterization mode @@ -49114,18 +29670,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glPolygonMode")] - public static - void PolygonMode(OpenTK.Graphics.OpenGL4.MaterialFace face, OpenTK.Graphics.OpenGL4.PolygonMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPolygonMode((OpenTK.Graphics.OpenGL4.MaterialFace)face, (OpenTK.Graphics.OpenGL4.PolygonMode)mode); - #if DEBUG - } - #endif - } + public static extern void PolygonMode(OpenTK.Graphics.OpenGL4.MaterialFace face, OpenTK.Graphics.OpenGL4.PolygonMode mode); /// [requires: v1.1] /// Set the scale and units used to calculate depth values @@ -49141,35 +29686,13 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glPolygonOffset")] - public static - void PolygonOffset(Single factor, Single units) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPolygonOffset((Single)factor, (Single)units); - #if DEBUG - } - #endif - } + public static extern void PolygonOffset(Single factor, Single units); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Pop the active debug group /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glPopDebugGroup")] - public static - void PopDebugGroup() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPopDebugGroup(); - #if DEBUG - } - #endif - } + public static extern void PopDebugGroup(); /// [requires: v3.1] /// Specify the primitive restart index @@ -49180,18 +29703,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glPrimitiveRestartIndex")] - public static - void PrimitiveRestartIndex(Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPrimitiveRestartIndex((UInt32)index); - #if DEBUG - } - #endif - } + public static extern void PrimitiveRestartIndex(Int32 index); /// [requires: v3.1] /// Specify the primitive restart index @@ -49203,18 +29715,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glPrimitiveRestartIndex")] - public static - void PrimitiveRestartIndex(UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPrimitiveRestartIndex((UInt32)index); - #if DEBUG - } - #endif - } + public static extern void PrimitiveRestartIndex(UInt32 index); /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Load a program object with a program binary @@ -49240,18 +29741,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static - void ProgramBinary(Int32 program, OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryFormat, (IntPtr)binary, (Int32)length); - #if DEBUG - } - #endif - } + public static extern void ProgramBinary(Int32 program, OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, IntPtr binary, Int32 length); /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Load a program object with a program binary @@ -49277,27 +29767,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static - void ProgramBinary(Int32 program, OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T2[] binary, Int32 length) + public static extern void ProgramBinary(Int32 program, OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T2[] binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Load a program object with a program binary @@ -49323,27 +29795,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static - void ProgramBinary(Int32 program, OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T2[,] binary, Int32 length) + public static extern void ProgramBinary(Int32 program, OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T2[,] binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Load a program object with a program binary @@ -49369,27 +29823,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static - void ProgramBinary(Int32 program, OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T2[,,] binary, Int32 length) + public static extern void ProgramBinary(Int32 program, OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T2[,,] binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Load a program object with a program binary @@ -49415,28 +29851,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static - void ProgramBinary(Int32 program, OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [InAttribute, OutAttribute] ref T2 binary, Int32 length) + public static extern void ProgramBinary(Int32 program, OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [InAttribute, OutAttribute] ref T2 binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T2)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Load a program object with a program binary @@ -49463,18 +29880,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static - void ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryFormat, (IntPtr)binary, (Int32)length); - #if DEBUG - } - #endif - } + public static extern void ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, IntPtr binary, Int32 length); /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Load a program object with a program binary @@ -49501,27 +29907,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static - void ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T2[] binary, Int32 length) + public static extern void ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T2[] binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Load a program object with a program binary @@ -49548,27 +29936,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static - void ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T2[,] binary, Int32 length) + public static extern void ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T2[,] binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Load a program object with a program binary @@ -49595,27 +29965,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static - void ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T2[,,] binary, Int32 length) + public static extern void ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [InAttribute, OutAttribute] T2[,,] binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Load a program object with a program binary @@ -49642,28 +29994,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramBinary")] - public static - void ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [InAttribute, OutAttribute] ref T2 binary, Int32 length) + public static extern void ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, [InAttribute, OutAttribute] ref T2 binary, Int32 length) where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T2)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Specify a parameter for a program object @@ -49684,18 +30017,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramParameteri")] - public static - void ProgramParameter(Int32 program, OpenTK.Graphics.OpenGL4.ProgramParameterName pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameteri((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramParameterName)pname, (Int32)value); - #if DEBUG - } - #endif - } + public static extern void ProgramParameter(Int32 program, OpenTK.Graphics.OpenGL4.ProgramParameterName pname, Int32 value); /// [requires: v4.1 and ARB_get_program_binary|VERSION_4_1] /// Specify a parameter for a program object @@ -49717,18 +30039,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramParameteri")] - public static - void ProgramParameter(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramParameterName pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameteri((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramParameterName)pname, (Int32)value); - #if DEBUG - } - #endif - } + public static extern void ProgramParameter(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramParameterName pname, Int32 value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -49767,18 +30078,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1d")] - public static - void ProgramUniform1(Int32 program, Int32 location, Double v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1d((UInt32)program, (Int32)location, (Double)v0); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Double v0); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -49818,18 +30118,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1d")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Double v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1d((UInt32)program, (Int32)location, (Double)v0); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Double v0); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -49868,24 +30157,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1dv")] - public static - void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniform1dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -49925,18 +30197,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1dv")] - public static - unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -49976,24 +30237,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1dv")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniform1dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -50033,18 +30277,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1dv")] - public static - unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -50083,18 +30316,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1f")] - public static - void ProgramUniform1(Int32 program, Int32 location, Single v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1f((UInt32)program, (Int32)location, (Single)v0); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Single v0); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -50134,18 +30356,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1f")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Single v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1f((UInt32)program, (Int32)location, (Single)v0); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Single v0); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -50184,24 +30395,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1fv")] - public static - void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform1fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -50241,18 +30435,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1fv")] - public static - unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -50292,24 +30475,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1fv")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform1fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -50349,18 +30515,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1fv")] - public static - unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -50399,18 +30554,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1i")] - public static - void ProgramUniform1(Int32 program, Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1i((UInt32)program, (Int32)location, (Int32)v0); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 v0); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -50450,18 +30594,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1i")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1i((UInt32)program, (Int32)location, (Int32)v0); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 v0); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -50500,24 +30633,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1iv")] - public static - void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform1iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Int32 value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -50557,18 +30673,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1iv")] - public static - unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -50608,24 +30713,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1iv")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform1iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Int32 value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -50665,18 +30753,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1iv")] - public static - unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -50716,18 +30793,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1ui")] - public static - void ProgramUniform1(UInt32 program, Int32 location, UInt32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1ui((UInt32)program, (Int32)location, (UInt32)v0); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, UInt32 v0); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -50767,24 +30833,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1uiv")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glProgramUniform1uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref UInt32 value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -50824,18 +30873,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform1uiv")] - public static - unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -50874,18 +30912,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2d")] - public static - void ProgramUniform2(Int32 program, Int32 location, Double v0, Double v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2d((UInt32)program, (Int32)location, (Double)v0, (Double)v1); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Double v0, Double v1); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -50925,18 +30952,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2d")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Double v0, Double v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2d((UInt32)program, (Int32)location, (Double)v0, (Double)v1); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Double v0, Double v1); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -50975,24 +30991,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2dv")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniform2dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51031,24 +31030,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2dv")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniform2dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51088,18 +31070,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2dv")] - public static - unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51139,24 +31110,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2dv")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniform2dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51196,24 +31150,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2dv")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniform2dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51253,18 +31190,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2dv")] - public static - unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51303,18 +31229,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2f")] - public static - void ProgramUniform2(Int32 program, Int32 location, Single v0, Single v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2f((UInt32)program, (Int32)location, (Single)v0, (Single)v1); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Single v0, Single v1); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51354,18 +31269,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2f")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Single v0, Single v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2f((UInt32)program, (Int32)location, (Single)v0, (Single)v1); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Single v0, Single v1); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51404,24 +31308,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2fv")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform2fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51460,24 +31347,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2fv")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform2fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51517,18 +31387,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2fv")] - public static - unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51568,24 +31427,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2fv")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform2fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51625,24 +31467,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2fv")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform2fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51682,18 +31507,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2fv")] - public static - unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51732,18 +31546,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2i")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 v0, Int32 v1); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51783,18 +31586,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2i")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 v0, Int32 v1); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51833,24 +31625,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2iv")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform2iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51890,18 +31665,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2iv")] - public static - unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51941,24 +31705,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2iv")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform2iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -51998,18 +31745,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2iv")] - public static - unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52049,18 +31785,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2ui")] - public static - void ProgramUniform2(UInt32 program, Int32 location, UInt32 v0, UInt32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2ui((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, UInt32 v0, UInt32 v1); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52100,24 +31825,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2uiv")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glProgramUniform2uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52157,24 +31865,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2uiv")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glProgramUniform2uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref UInt32 value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52214,18 +31905,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform2uiv")] - public static - unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52264,18 +31944,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3d")] - public static - void ProgramUniform3(Int32 program, Int32 location, Double v0, Double v1, Double v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3d((UInt32)program, (Int32)location, (Double)v0, (Double)v1, (Double)v2); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Double v0, Double v1, Double v2); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52315,18 +31984,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3d")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Double v0, Double v1, Double v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3d((UInt32)program, (Int32)location, (Double)v0, (Double)v1, (Double)v2); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Double v0, Double v1, Double v2); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52365,24 +32023,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3dv")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniform3dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52421,24 +32062,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3dv")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniform3dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52478,18 +32102,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3dv")] - public static - unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52529,24 +32142,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3dv")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniform3dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52586,24 +32182,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3dv")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniform3dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52643,18 +32222,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3dv")] - public static - unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52693,18 +32261,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3f")] - public static - void ProgramUniform3(Int32 program, Int32 location, Single v0, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3f((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Single v0, Single v1, Single v2); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52744,18 +32301,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3f")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Single v0, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3f((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Single v0, Single v1, Single v2); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52794,24 +32340,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3fv")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform3fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52850,24 +32379,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3fv")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform3fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52907,18 +32419,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3fv")] - public static - unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -52958,24 +32459,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3fv")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform3fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53015,24 +32499,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3fv")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform3fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53072,18 +32539,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3fv")] - public static - unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53122,18 +32578,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3i")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53173,18 +32618,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3i")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53223,24 +32657,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3iv")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform3iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53279,24 +32696,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3iv")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform3iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Int32 value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53336,18 +32736,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3iv")] - public static - unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53387,24 +32776,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3iv")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform3iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53444,24 +32816,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3iv")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform3iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Int32 value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53501,18 +32856,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3iv")] - public static - unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53552,18 +32896,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3ui")] - public static - void ProgramUniform3(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3ui((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53603,24 +32936,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3uiv")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glProgramUniform3uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53660,24 +32976,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3uiv")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glProgramUniform3uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref UInt32 value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53717,18 +33016,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform3uiv")] - public static - unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53767,18 +33055,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4d")] - public static - void ProgramUniform4(Int32 program, Int32 location, Double v0, Double v1, Double v2, Double v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4d((UInt32)program, (Int32)location, (Double)v0, (Double)v1, (Double)v2, (Double)v3); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Double v0, Double v1, Double v2, Double v3); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53818,18 +33095,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4d")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Double v0, Double v1, Double v2, Double v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4d((UInt32)program, (Int32)location, (Double)v0, (Double)v1, (Double)v2, (Double)v3); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Double v0, Double v1, Double v2, Double v3); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53868,24 +33134,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4dv")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniform4dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53924,24 +33173,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4dv")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniform4dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -53981,18 +33213,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4dv")] - public static - unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54032,24 +33253,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4dv")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniform4dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54089,24 +33293,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4dv")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniform4dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54146,18 +33333,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4dv")] - public static - unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54196,18 +33372,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4f")] - public static - void ProgramUniform4(Int32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4f((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Single v0, Single v1, Single v2, Single v3); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54247,18 +33412,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4f")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4f((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54297,24 +33451,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4fv")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform4fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54353,24 +33490,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4fv")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform4fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54410,18 +33530,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4fv")] - public static - unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54461,24 +33570,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4fv")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform4fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54518,24 +33610,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4fv")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform4fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54575,18 +33650,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4fv")] - public static - unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54625,18 +33689,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4i")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54676,18 +33729,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4i")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54726,24 +33768,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4iv")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform4iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54782,24 +33807,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4iv")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform4iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Int32 value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54839,18 +33847,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4iv")] - public static - unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54890,24 +33887,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4iv")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform4iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -54947,24 +33927,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4iv")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform4iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Int32 value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -55004,18 +33967,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4iv")] - public static - unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -55055,18 +34007,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4ui")] - public static - void ProgramUniform4(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4ui((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -55106,24 +34047,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4uiv")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glProgramUniform4uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -55163,24 +34087,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4uiv")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glProgramUniform4uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref UInt32 value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Specify the value of a uniform variable for a specified program object @@ -55220,2142 +34127,511 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniform4uiv")] - public static - unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2dv")] - public static - void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2dv")] - public static - void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2dv")] - public static - unsafe void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2dv")] - public static - void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2dv")] - public static - void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2dv")] - public static - unsafe void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2fv")] - public static - void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2fv")] - public static - void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2fv")] - public static - unsafe void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2fv")] - public static - void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2fv")] - public static - void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2fv")] - public static - unsafe void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3dv")] - public static - void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3dv")] - public static - void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3dv")] - public static - unsafe void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3dv")] - public static - void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3dv")] - public static - void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3dv")] - public static - unsafe void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3fv")] - public static - void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3fv")] - public static - void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3fv")] - public static - unsafe void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3fv")] - public static - void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3fv")] - public static - void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x3fv")] - public static - unsafe void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4dv")] - public static - void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4dv")] - public static - void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4dv")] - public static - unsafe void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4dv")] - public static - void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4dv")] - public static - void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4dv")] - public static - unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4fv")] - public static - void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4fv")] - public static - void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4fv")] - public static - unsafe void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4fv")] - public static - void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4fv")] - public static - void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix2x4fv")] - public static - unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3dv")] - public static - void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3dv")] - public static - void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3dv")] - public static - unsafe void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3dv")] - public static - void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3dv")] - public static - void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3dv")] - public static - unsafe void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3fv")] - public static - void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3fv")] - public static - void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3fv")] - public static - unsafe void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3fv")] - public static - void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3fv")] - public static - void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3fv")] - public static - unsafe void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2dv")] - public static - void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2dv")] - public static - void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2dv")] - public static - unsafe void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2dv")] - public static - void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2dv")] - public static - void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2dv")] - public static - unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2fv")] - public static - void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2fv")] - public static - void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2fv")] - public static - unsafe void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2fv")] - public static - void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2fv")] - public static - void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x2fv")] - public static - unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4dv")] - public static - void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4dv")] - public static - void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4dv")] - public static - unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4dv")] - public static - void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4dv")] - public static - void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4dv")] - public static - unsafe void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4fv")] - public static - void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4fv")] - public static - void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4fv")] - public static - unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4fv")] - public static - void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4fv")] - public static - void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix3x4fv")] - public static - unsafe void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4dv")] - public static - void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4dv")] - public static - void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4dv")] - public static - unsafe void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4dv")] - public static - void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4dv")] - public static - void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4dv")] - public static - unsafe void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4fv")] - public static - void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4fv")] - public static - void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4fv")] - public static - unsafe void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4fv")] - public static - void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4fv")] - public static - void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4fv")] - public static - unsafe void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2dv")] - public static - void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2dv")] - public static - void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2dv")] - public static - unsafe void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2dv")] - public static - void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2dv")] - public static - void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2dv")] - public static - unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2fv")] - public static - void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2fv")] - public static - void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2fv")] - public static - unsafe void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2fv")] - public static - void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2fv")] - public static - void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x2fv")] - public static - unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3dv")] - public static - void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3dv")] - public static - void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3dv")] - public static - unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3dv")] - public static - void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3dv")] - public static - void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3dv")] - public static - unsafe void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3fv")] - public static - void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3fv")] - public static - void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3fv")] - public static - unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3fv")] - public static - void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3fv")] - public static - void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glProgramUniformMatrix4x3fv")] - public static - unsafe void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v3.2 and ARB_provoking_vertex|VERSION_3_2] /// Specifiy the vertex to be used as the source of data for flat shaded varyings @@ -57366,18 +34642,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_provoking_vertex|VERSION_3_2", Version = "3.2", EntryPoint = "glProvokingVertex")] - public static - void ProvokingVertex(OpenTK.Graphics.OpenGL4.ProvokingVertexMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProvokingVertex((OpenTK.Graphics.OpenGL4.ProvokingVertexMode)mode); - #if DEBUG - } - #endif - } + public static extern void ProvokingVertex(OpenTK.Graphics.OpenGL4.ProvokingVertexMode mode); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Push a named debug group into the command stream @@ -57403,18 +34668,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glPushDebugGroup")] - public static - void PushDebugGroup(OpenTK.Graphics.OpenGL4.DebugSourceExternal source, Int32 id, Int32 length, String message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPushDebugGroup((OpenTK.Graphics.OpenGL4.DebugSourceExternal)source, (UInt32)id, (Int32)length, (String)message); - #if DEBUG - } - #endif - } + public static extern void PushDebugGroup(OpenTK.Graphics.OpenGL4.DebugSourceExternal source, Int32 id, Int32 length, String message); /// [requires: v4.3 and KHR_debug|VERSION_4_3] /// Push a named debug group into the command stream @@ -57441,18 +34695,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glPushDebugGroup")] - public static - void PushDebugGroup(OpenTK.Graphics.OpenGL4.DebugSourceExternal source, UInt32 id, Int32 length, String message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPushDebugGroup((OpenTK.Graphics.OpenGL4.DebugSourceExternal)source, (UInt32)id, (Int32)length, (String)message); - #if DEBUG - } - #endif - } + public static extern void PushDebugGroup(OpenTK.Graphics.OpenGL4.DebugSourceExternal source, UInt32 id, Int32 length, String message); /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Record the GL time into a query object after all previous commands have reached the GL server but have not yet necessarily executed. @@ -57468,18 +34711,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glQueryCounter")] - public static - void QueryCounter(Int32 id, OpenTK.Graphics.OpenGL4.QueryCounterTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glQueryCounter((UInt32)id, (OpenTK.Graphics.OpenGL4.QueryCounterTarget)target); - #if DEBUG - } - #endif - } + public static extern void QueryCounter(Int32 id, OpenTK.Graphics.OpenGL4.QueryCounterTarget target); /// [requires: v3.3 and ARB_timer_query|VERSION_3_3] /// Record the GL time into a query object after all previous commands have reached the GL server but have not yet necessarily executed. @@ -57496,18 +34728,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_timer_query|VERSION_3_3", Version = "3.3", EntryPoint = "glQueryCounter")] - public static - void QueryCounter(UInt32 id, OpenTK.Graphics.OpenGL4.QueryCounterTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glQueryCounter((UInt32)id, (OpenTK.Graphics.OpenGL4.QueryCounterTarget)target); - #if DEBUG - } - #endif - } + public static extern void QueryCounter(UInt32 id, OpenTK.Graphics.OpenGL4.QueryCounterTarget target); /// [requires: v1.0] /// Select a color buffer source for pixels @@ -57518,18 +34739,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glReadBuffer")] - public static - void ReadBuffer(OpenTK.Graphics.OpenGL4.ReadBufferMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReadBuffer((OpenTK.Graphics.OpenGL4.ReadBufferMode)mode); - #if DEBUG - } - #endif - } + public static extern void ReadBuffer(OpenTK.Graphics.OpenGL4.ReadBufferMode mode); /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -57560,18 +34770,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr pixels); /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -57602,27 +34801,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T6[] pixels) + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T6[] pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -57653,27 +34834,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T6[,] pixels) + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T6[,] pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -57704,27 +34867,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T6[,,] pixels) + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T6[,,] pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Read a block of pixels from the frame buffer @@ -57755,45 +34900,15 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T6 pixels) + public static extern void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T6 pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T6)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Release resources consumed by the implementation's shader compiler /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glReleaseShaderCompiler")] - public static - void ReleaseShaderCompiler() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReleaseShaderCompiler(); - #if DEBUG - } - #endif - } + public static extern void ReleaseShaderCompiler(); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Establish data storage, format and dimensions of a renderbuffer object's image @@ -57819,18 +34934,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glRenderbufferStorage")] - public static - void RenderbufferStorage(OpenTK.Graphics.OpenGL4.RenderbufferTarget target, OpenTK.Graphics.OpenGL4.RenderbufferStorage internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorage((OpenTK.Graphics.OpenGL4.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL4.RenderbufferStorage)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorage(OpenTK.Graphics.OpenGL4.RenderbufferTarget target, OpenTK.Graphics.OpenGL4.RenderbufferStorage internalformat, Int32 width, Int32 height); /// [requires: v3.0 and ARB_framebuffer_object|VERSION_3_0] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image @@ -57861,18 +34965,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_framebuffer_object|VERSION_3_0", Version = "3.0", EntryPoint = "glRenderbufferStorageMultisample")] - public static - void RenderbufferStorageMultisample(OpenTK.Graphics.OpenGL4.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.OpenGL4.RenderbufferStorage internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageMultisample((OpenTK.Graphics.OpenGL4.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.OpenGL4.RenderbufferStorage)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void RenderbufferStorageMultisample(OpenTK.Graphics.OpenGL4.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.OpenGL4.RenderbufferStorage internalformat, Int32 width, Int32 height); /// /// Reset histogram table entries to zero @@ -57883,18 +34976,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glResetHistogram")] - public static - void ResetHistogram(OpenTK.Graphics.OpenGL4.HistogramTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glResetHistogram((OpenTK.Graphics.OpenGL4.HistogramTarget)target); - #if DEBUG - } - #endif - } + public static extern void ResetHistogram(OpenTK.Graphics.OpenGL4.HistogramTarget target); /// /// Reset minmax table entries to initial values @@ -57905,35 +34987,13 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glResetMinmax")] - public static - void ResetMinmax(OpenTK.Graphics.OpenGL4.MinmaxTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glResetMinmax((OpenTK.Graphics.OpenGL4.MinmaxTarget)target); - #if DEBUG - } - #endif - } + public static extern void ResetMinmax(OpenTK.Graphics.OpenGL4.MinmaxTarget target); /// [requires: v4.0 and ARB_transform_feedback2|VERSION_4_0] /// Resume transform feedback operations /// [AutoGenerated(Category = "ARB_transform_feedback2|VERSION_4_0", Version = "4.0", EntryPoint = "glResumeTransformFeedback")] - public static - void ResumeTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glResumeTransformFeedback(); - #if DEBUG - } - #endif - } + public static extern void ResumeTransformFeedback(); /// [requires: v1.3] /// Specify multisample coverage parameters @@ -57949,18 +35009,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_3", Version = "1.3", EntryPoint = "glSampleCoverage")] - public static - void SampleCoverage(Single value, bool invert) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSampleCoverage((Single)value, (bool)invert); - #if DEBUG - } - #endif - } + public static extern void SampleCoverage(Single value, bool invert); /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Set the value of a sub-word of the sample mask @@ -57976,18 +35025,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glSampleMaski")] - public static - void SampleMask(Int32 index, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSampleMaski((UInt32)index, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void SampleMask(Int32 index, Int32 mask); /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Set the value of a sub-word of the sample mask @@ -58004,18 +35042,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glSampleMaski")] - public static - void SampleMask(UInt32 index, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSampleMaski((UInt32)index, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void SampleMask(UInt32 index, UInt32 mask); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -58041,18 +35068,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterf")] - public static - void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameterf((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Single param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -58079,18 +35095,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterf")] - public static - void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameterf((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Single param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -58116,24 +35121,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterfv")] - public static - void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Single[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* param_ptr = param) - { - Delegates.glSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Single*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Single[] param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -58160,18 +35148,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterfv")] - public static - unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Single* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Single*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Single* param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -58198,24 +35175,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterfv")] - public static - void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Single[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* param_ptr = param) - { - Delegates.glSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Single*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Single[] param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -58242,18 +35202,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterfv")] - public static - unsafe void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Single* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Single*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Single* param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -58279,18 +35228,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameteri")] - public static - void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameteri((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32 param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -58317,196 +35255,50 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameteri")] - public static - void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameteri((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32 param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterIiv")] - public static - void SamplerParameterI(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = param) - { - Delegates.glSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Int32*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SamplerParameterI(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32[] param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterIiv")] - public static - void SamplerParameterI(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, ref Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = ¶m) - { - Delegates.glSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Int32*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SamplerParameterI(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, ref Int32 param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterIiv")] - public static - unsafe void SamplerParameterI(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Int32*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void SamplerParameterI(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32* param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterIiv")] - public static - void SamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = param) - { - Delegates.glSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Int32*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32[] param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterIiv")] - public static - void SamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, ref Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = ¶m) - { - Delegates.glSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Int32*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, ref Int32 param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterIiv")] - public static - unsafe void SamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Int32*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void SamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32* param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterIuiv")] - public static - void SamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, UInt32[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* param_ptr = param) - { - Delegates.glSamplerParameterIuiv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (UInt32*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, UInt32[] param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterIuiv")] - public static - void SamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, ref UInt32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* param_ptr = ¶m) - { - Delegates.glSamplerParameterIuiv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (UInt32*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, ref UInt32 param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameterIuiv")] - public static - unsafe void SamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, UInt32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameterIuiv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (UInt32*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void SamplerParameterI(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, UInt32* param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -58532,24 +35324,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameteriv")] - public static - void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = param) - { - Delegates.glSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Int32*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32[] param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -58576,18 +35351,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameteriv")] - public static - unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Int32*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32* param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -58614,24 +35378,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameteriv")] - public static - void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = param) - { - Delegates.glSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Int32*)param_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32[] param); /// [requires: v3.3 and ARB_sampler_objects|VERSION_3_3] /// Set sampler parameters @@ -58658,18 +35405,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sampler_objects|VERSION_3_3", Version = "3.3", EntryPoint = "glSamplerParameteriv")] - public static - unsafe void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Int32*)param); - #if DEBUG - } - #endif - } + public static extern unsafe void SamplerParameter(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32* param); /// [requires: v1.0] /// Define the scissor box @@ -58685,18 +35421,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glScissor")] - public static - void Scissor(Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glScissor((Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void Scissor(Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for multiple viewports @@ -58717,24 +35442,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorArrayv")] - public static - void ScissorArray(Int32 first, Int32 count, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glScissorArrayv((UInt32)first, (Int32)count, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ScissorArray(Int32 first, Int32 count, Int32[] v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for multiple viewports @@ -58755,24 +35463,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorArrayv")] - public static - void ScissorArray(Int32 first, Int32 count, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glScissorArrayv((UInt32)first, (Int32)count, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ScissorArray(Int32 first, Int32 count, ref Int32 v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for multiple viewports @@ -58794,18 +35485,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorArrayv")] - public static - unsafe void ScissorArray(Int32 first, Int32 count, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glScissorArrayv((UInt32)first, (Int32)count, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ScissorArray(Int32 first, Int32 count, Int32* v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for multiple viewports @@ -58827,24 +35507,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorArrayv")] - public static - void ScissorArray(UInt32 first, Int32 count, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glScissorArrayv((UInt32)first, (Int32)count, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ScissorArray(UInt32 first, Int32 count, Int32[] v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for multiple viewports @@ -58866,24 +35529,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorArrayv")] - public static - void ScissorArray(UInt32 first, Int32 count, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glScissorArrayv((UInt32)first, (Int32)count, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ScissorArray(UInt32 first, Int32 count, ref Int32 v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for multiple viewports @@ -58905,18 +35551,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorArrayv")] - public static - unsafe void ScissorArray(UInt32 first, Int32 count, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glScissorArrayv((UInt32)first, (Int32)count, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ScissorArray(UInt32 first, Int32 count, Int32* v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for a specific viewport @@ -58942,18 +35577,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorIndexed")] - public static - void ScissorIndexed(Int32 index, Int32 left, Int32 bottom, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glScissorIndexed((UInt32)index, (Int32)left, (Int32)bottom, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void ScissorIndexed(Int32 index, Int32 left, Int32 bottom, Int32 width, Int32 height); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for a specific viewport @@ -58980,18 +35604,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorIndexed")] - public static - void ScissorIndexed(UInt32 index, Int32 left, Int32 bottom, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glScissorIndexed((UInt32)index, (Int32)left, (Int32)bottom, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void ScissorIndexed(UInt32 index, Int32 left, Int32 bottom, Int32 width, Int32 height); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for a specific viewport @@ -59017,24 +35630,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorIndexedv")] - public static - void ScissorIndexed(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glScissorIndexedv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ScissorIndexed(Int32 index, Int32[] v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for a specific viewport @@ -59060,24 +35656,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorIndexedv")] - public static - void ScissorIndexed(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glScissorIndexedv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ScissorIndexed(Int32 index, ref Int32 v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for a specific viewport @@ -59104,18 +35683,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorIndexedv")] - public static - unsafe void ScissorIndexed(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glScissorIndexedv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ScissorIndexed(Int32 index, Int32* v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for a specific viewport @@ -59142,24 +35710,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorIndexedv")] - public static - void ScissorIndexed(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glScissorIndexedv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ScissorIndexed(UInt32 index, Int32[] v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for a specific viewport @@ -59186,24 +35737,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorIndexedv")] - public static - void ScissorIndexed(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glScissorIndexedv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ScissorIndexed(UInt32 index, ref Int32 v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Define the scissor box for a specific viewport @@ -59230,81 +35764,26 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glScissorIndexedv")] - public static - unsafe void ScissorIndexed(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glScissorIndexedv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ScissorIndexed(UInt32 index, Int32* v); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glSecondaryColorP3ui")] - public static - void SecondaryColorP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColorP3ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)color); - #if DEBUG - } - #endif - } + public static extern void SecondaryColorP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 color); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glSecondaryColorP3ui")] - public static - void SecondaryColorP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColorP3ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)color); - #if DEBUG - } - #endif - } + public static extern void SecondaryColorP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 color); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glSecondaryColorP3uiv")] - public static - unsafe void SecondaryColorP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColorP3uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)color); - #if DEBUG - } - #endif - } + public static extern unsafe void SecondaryColorP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* color); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glSecondaryColorP3uiv")] - public static - unsafe void SecondaryColorP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* color) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColorP3uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)color); - #if DEBUG - } - #endif - } + public static extern unsafe void SecondaryColorP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* color); /// /// Define a separable two-dimensional convolution filter @@ -59350,18 +35829,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glSeparableFilter2D")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL4.SeparableTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr row, IntPtr column) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSeparableFilter2D((OpenTK.Graphics.OpenGL4.SeparableTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)row, (IntPtr)column); - #if DEBUG - } - #endif - } + public static extern void SeparableFilter2D(OpenTK.Graphics.OpenGL4.SeparableTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr row, IntPtr column); /// /// Define a separable two-dimensional convolution filter @@ -59407,30 +35875,10 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glSeparableFilter2D")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL4.SeparableTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T6[] row, [InAttribute, OutAttribute] T7[] column) + public static extern void SeparableFilter2D(OpenTK.Graphics.OpenGL4.SeparableTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T6[] row, [InAttribute, OutAttribute] T7[] column) where T6 : struct where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2D((OpenTK.Graphics.OpenGL4.SeparableTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Define a separable two-dimensional convolution filter @@ -59476,30 +35924,10 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glSeparableFilter2D")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL4.SeparableTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T6[,] row, [InAttribute, OutAttribute] T7[,] column) + public static extern void SeparableFilter2D(OpenTK.Graphics.OpenGL4.SeparableTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T6[,] row, [InAttribute, OutAttribute] T7[,] column) where T6 : struct where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2D((OpenTK.Graphics.OpenGL4.SeparableTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Define a separable two-dimensional convolution filter @@ -59545,30 +35973,10 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glSeparableFilter2D")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL4.SeparableTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T6[,,] row, [InAttribute, OutAttribute] T7[,,] column) + public static extern void SeparableFilter2D(OpenTK.Graphics.OpenGL4.SeparableTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T6[,,] row, [InAttribute, OutAttribute] T7[,,] column) where T6 : struct where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2D((OpenTK.Graphics.OpenGL4.SeparableTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// /// Define a separable two-dimensional convolution filter @@ -59614,32 +36022,10 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_imaging", Version = "", EntryPoint = "glSeparableFilter2D")] - public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL4.SeparableTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T6 row, [InAttribute, OutAttribute] ref T7 column) + public static extern void SeparableFilter2D(OpenTK.Graphics.OpenGL4.SeparableTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T6 row, [InAttribute, OutAttribute] ref T7 column) where T6 : struct where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2D((OpenTK.Graphics.OpenGL4.SeparableTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); - row = (T6)row_ptr.Target; - column = (T7)column_ptr.Target; - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -59670,24 +36056,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = shaders) - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, IntPtr binary, Int32 length); /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -59718,33 +36087,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -59775,33 +36120,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -59832,33 +36153,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -59889,34 +36186,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -59947,24 +36219,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = &shaders) - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, IntPtr binary, Int32 length); /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -59995,33 +36250,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -60052,33 +36283,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -60109,33 +36316,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -60166,34 +36349,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -60225,18 +36383,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - #if DEBUG - } - #endif - } + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, IntPtr binary, Int32 length); /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -60268,27 +36415,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -60320,27 +36449,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -60372,27 +36483,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -60424,28 +36517,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -60477,24 +36551,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = shaders) - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, IntPtr binary, Int32 length); /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -60526,33 +36583,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -60584,33 +36617,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -60642,33 +36651,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -60700,34 +36685,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern void ShaderBinary(Int32 count, UInt32[] shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -60759,24 +36719,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = &shaders) - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, IntPtr binary, Int32 length); /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -60808,33 +36751,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -60866,33 +36785,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -60924,33 +36819,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -60982,34 +36853,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern void ShaderBinary(Int32 count, ref UInt32 shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* shaders_ptr = &shaders) - { - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders_ptr, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -61041,18 +36887,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, IntPtr binary, Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - #if DEBUG - } - #endif - } + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, IntPtr binary, Int32 length); /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -61084,27 +36919,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -61136,27 +36953,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -61188,27 +36987,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_ES2_compatibility|VERSION_4_1] /// Load pre-compiled shader binaries @@ -61240,28 +37021,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_ES2_compatibility|VERSION_4_1", Version = "4.1", EntryPoint = "glShaderBinary")] - public static - unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + public static extern unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); - try - { - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); - binary = (T3)binary_ptr.Target; - } - finally - { - binary_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0] /// Replaces the source code in a shader object @@ -61287,24 +37049,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static - void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32[] length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32[] length); /// [requires: v2.0] /// Replaces the source code in a shader object @@ -61330,24 +37075,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static - void ShaderSource(Int32 shader, Int32 count, String[] @string, ref Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderSource(Int32 shader, Int32 count, String[] @string, ref Int32 length); /// [requires: v2.0] /// Replaces the source code in a shader object @@ -61374,18 +37102,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static - unsafe void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length); - #if DEBUG - } - #endif - } + public static extern unsafe void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32* length); /// [requires: v2.0] /// Replaces the source code in a shader object @@ -61412,24 +37129,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static - void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32[] length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32[] length); /// [requires: v2.0] /// Replaces the source code in a shader object @@ -61456,24 +37156,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static - void ShaderSource(UInt32 shader, Int32 count, String[] @string, ref Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ShaderSource(UInt32 shader, Int32 count, String[] @string, ref Int32 length); /// [requires: v2.0] /// Replaces the source code in a shader object @@ -61500,18 +37183,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glShaderSource")] - public static - unsafe void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length); - #if DEBUG - } - #endif - } + public static extern unsafe void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length); /// [requires: v4.3 and ARB_shader_storage_buffer_object|VERSION_4_3] /// Change an active shader storage block binding @@ -61532,18 +37204,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_shader_storage_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glShaderStorageBlockBinding")] - public static - void ShaderStorageBlockBinding(Int32 program, Int32 storageBlockIndex, Int32 storageBlockBinding) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderStorageBlockBinding((UInt32)program, (UInt32)storageBlockIndex, (UInt32)storageBlockBinding); - #if DEBUG - } - #endif - } + public static extern void ShaderStorageBlockBinding(Int32 program, Int32 storageBlockIndex, Int32 storageBlockBinding); /// [requires: v4.3 and ARB_shader_storage_buffer_object|VERSION_4_3] /// Change an active shader storage block binding @@ -61565,18 +37226,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_storage_buffer_object|VERSION_4_3", Version = "4.3", EntryPoint = "glShaderStorageBlockBinding")] - public static - void ShaderStorageBlockBinding(UInt32 program, UInt32 storageBlockIndex, UInt32 storageBlockBinding) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderStorageBlockBinding((UInt32)program, (UInt32)storageBlockIndex, (UInt32)storageBlockBinding); - #if DEBUG - } - #endif - } + public static extern void ShaderStorageBlockBinding(UInt32 program, UInt32 storageBlockIndex, UInt32 storageBlockBinding); /// [requires: v1.0] /// Set front and back function and reference value for stencil testing @@ -61597,18 +37247,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glStencilFunc")] - public static - void StencilFunc(OpenTK.Graphics.OpenGL4.StencilFunction func, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFunc((OpenTK.Graphics.OpenGL4.StencilFunction)func, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilFunc(OpenTK.Graphics.OpenGL4.StencilFunction func, Int32 @ref, Int32 mask); /// [requires: v1.0] /// Set front and back function and reference value for stencil testing @@ -61630,18 +37269,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glStencilFunc")] - public static - void StencilFunc(OpenTK.Graphics.OpenGL4.StencilFunction func, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFunc((OpenTK.Graphics.OpenGL4.StencilFunction)func, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilFunc(OpenTK.Graphics.OpenGL4.StencilFunction func, Int32 @ref, UInt32 mask); /// [requires: v2.0] /// Set front and/or back function and reference value for stencil testing @@ -61667,18 +37295,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] - public static - void StencilFuncSeparate(OpenTK.Graphics.OpenGL4.StencilFace face, OpenTK.Graphics.OpenGL4.StencilFunction func, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFuncSeparate((OpenTK.Graphics.OpenGL4.StencilFace)face, (OpenTK.Graphics.OpenGL4.StencilFunction)func, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilFuncSeparate(OpenTK.Graphics.OpenGL4.StencilFace face, OpenTK.Graphics.OpenGL4.StencilFunction func, Int32 @ref, Int32 mask); /// [requires: v2.0] /// Set front and/or back function and reference value for stencil testing @@ -61705,18 +37322,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] - public static - void StencilFuncSeparate(OpenTK.Graphics.OpenGL4.StencilFace face, OpenTK.Graphics.OpenGL4.StencilFunction func, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFuncSeparate((OpenTK.Graphics.OpenGL4.StencilFace)face, (OpenTK.Graphics.OpenGL4.StencilFunction)func, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilFuncSeparate(OpenTK.Graphics.OpenGL4.StencilFace face, OpenTK.Graphics.OpenGL4.StencilFunction func, Int32 @ref, UInt32 mask); /// [requires: v1.0] /// Control the front and back writing of individual bits in the stencil planes @@ -61727,18 +37333,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glStencilMask")] - public static - void StencilMask(Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilMask((UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilMask(Int32 mask); /// [requires: v1.0] /// Control the front and back writing of individual bits in the stencil planes @@ -61750,18 +37345,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glStencilMask")] - public static - void StencilMask(UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilMask((UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilMask(UInt32 mask); /// [requires: v2.0] /// Control the front and/or back writing of individual bits in the stencil planes @@ -61777,18 +37361,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] - public static - void StencilMaskSeparate(OpenTK.Graphics.OpenGL4.StencilFace face, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilMaskSeparate((OpenTK.Graphics.OpenGL4.StencilFace)face, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilMaskSeparate(OpenTK.Graphics.OpenGL4.StencilFace face, Int32 mask); /// [requires: v2.0] /// Control the front and/or back writing of individual bits in the stencil planes @@ -61805,18 +37378,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] - public static - void StencilMaskSeparate(OpenTK.Graphics.OpenGL4.StencilFace face, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilMaskSeparate((OpenTK.Graphics.OpenGL4.StencilFace)face, (UInt32)mask); - #if DEBUG - } - #endif - } + public static extern void StencilMaskSeparate(OpenTK.Graphics.OpenGL4.StencilFace face, UInt32 mask); /// [requires: v1.0] /// Set front and back stencil test actions @@ -61837,18 +37399,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glStencilOp")] - public static - void StencilOp(OpenTK.Graphics.OpenGL4.StencilOp fail, OpenTK.Graphics.OpenGL4.StencilOp zfail, OpenTK.Graphics.OpenGL4.StencilOp zpass) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilOp((OpenTK.Graphics.OpenGL4.StencilOp)fail, (OpenTK.Graphics.OpenGL4.StencilOp)zfail, (OpenTK.Graphics.OpenGL4.StencilOp)zpass); - #if DEBUG - } - #endif - } + public static extern void StencilOp(OpenTK.Graphics.OpenGL4.StencilOp fail, OpenTK.Graphics.OpenGL4.StencilOp zfail, OpenTK.Graphics.OpenGL4.StencilOp zpass); /// [requires: v2.0] /// Set front and/or back stencil test actions @@ -61874,18 +37425,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glStencilOpSeparate")] - public static - void StencilOpSeparate(OpenTK.Graphics.OpenGL4.StencilFace face, OpenTK.Graphics.OpenGL4.StencilOp sfail, OpenTK.Graphics.OpenGL4.StencilOp dpfail, OpenTK.Graphics.OpenGL4.StencilOp dppass) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilOpSeparate((OpenTK.Graphics.OpenGL4.StencilFace)face, (OpenTK.Graphics.OpenGL4.StencilOp)sfail, (OpenTK.Graphics.OpenGL4.StencilOp)dpfail, (OpenTK.Graphics.OpenGL4.StencilOp)dppass); - #if DEBUG - } - #endif - } + public static extern void StencilOpSeparate(OpenTK.Graphics.OpenGL4.StencilFace face, OpenTK.Graphics.OpenGL4.StencilOp sfail, OpenTK.Graphics.OpenGL4.StencilOp dpfail, OpenTK.Graphics.OpenGL4.StencilOp dppass); /// [requires: v3.1] /// Attach the storage for a buffer object to the active buffer texture @@ -61906,18 +37446,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glTexBuffer")] - public static - void TexBuffer(OpenTK.Graphics.OpenGL4.TextureBufferTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexBuffer((OpenTK.Graphics.OpenGL4.TextureBufferTarget)target, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void TexBuffer(OpenTK.Graphics.OpenGL4.TextureBufferTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 buffer); /// [requires: v3.1] /// Attach the storage for a buffer object to the active buffer texture @@ -61939,18 +37468,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_1", Version = "3.1", EntryPoint = "glTexBuffer")] - public static - void TexBuffer(OpenTK.Graphics.OpenGL4.TextureBufferTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexBuffer((OpenTK.Graphics.OpenGL4.TextureBufferTarget)target, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (UInt32)buffer); - #if DEBUG - } - #endif - } + public static extern void TexBuffer(OpenTK.Graphics.OpenGL4.TextureBufferTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, UInt32 buffer); /// [requires: v4.3 and ARB_texture_buffer_range|VERSION_4_3] /// Bind a range of a buffer's data store to a buffer texture @@ -61981,18 +37499,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_texture_buffer_range|VERSION_4_3", Version = "4.3", EntryPoint = "glTexBufferRange")] - public static - void TexBufferRange(OpenTK.Graphics.OpenGL4.TextureBufferTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexBufferRange((OpenTK.Graphics.OpenGL4.TextureBufferTarget)target, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } + public static extern void TexBufferRange(OpenTK.Graphics.OpenGL4.TextureBufferTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 buffer, IntPtr offset, IntPtr size); /// [requires: v4.3 and ARB_texture_buffer_range|VERSION_4_3] /// Bind a range of a buffer's data store to a buffer texture @@ -62024,270 +37531,83 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_texture_buffer_range|VERSION_4_3", Version = "4.3", EntryPoint = "glTexBufferRange")] - public static - void TexBufferRange(OpenTK.Graphics.OpenGL4.TextureBufferTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, UInt32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexBufferRange((OpenTK.Graphics.OpenGL4.TextureBufferTarget)target, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } + public static extern void TexBufferRange(OpenTK.Graphics.OpenGL4.TextureBufferTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, UInt32 buffer, IntPtr offset, IntPtr size); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glTexCoordP1ui")] - public static - void TexCoordP1(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordP1ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void TexCoordP1(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glTexCoordP1ui")] - public static - void TexCoordP1(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordP1ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void TexCoordP1(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glTexCoordP1uiv")] - public static - unsafe void TexCoordP1(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordP1uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoordP1(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glTexCoordP1uiv")] - public static - unsafe void TexCoordP1(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordP1uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoordP1(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glTexCoordP2ui")] - public static - void TexCoordP2(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordP2ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void TexCoordP2(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glTexCoordP2ui")] - public static - void TexCoordP2(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordP2ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void TexCoordP2(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glTexCoordP2uiv")] - public static - unsafe void TexCoordP2(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordP2uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoordP2(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glTexCoordP2uiv")] - public static - unsafe void TexCoordP2(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordP2uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoordP2(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glTexCoordP3ui")] - public static - void TexCoordP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordP3ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void TexCoordP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glTexCoordP3ui")] - public static - void TexCoordP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordP3ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void TexCoordP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glTexCoordP3uiv")] - public static - unsafe void TexCoordP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordP3uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoordP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glTexCoordP3uiv")] - public static - unsafe void TexCoordP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordP3uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoordP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glTexCoordP4ui")] - public static - void TexCoordP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordP4ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void TexCoordP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glTexCoordP4ui")] - public static - void TexCoordP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordP4ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); - #if DEBUG - } - #endif - } + public static extern void TexCoordP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glTexCoordP4uiv")] - public static - unsafe void TexCoordP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordP4uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoordP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* coords); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glTexCoordP4uiv")] - public static - unsafe void TexCoordP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordP4uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); - #if DEBUG - } - #endif - } + public static extern unsafe void TexCoordP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords); /// [requires: v1.0] /// Specify a one-dimensional texture image @@ -62333,18 +37653,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage1D")] - public static - void TexImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage1D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels); /// [requires: v1.0] /// Specify a one-dimensional texture image @@ -62390,27 +37699,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage1D")] - public static - void TexImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T7[] pixels) + public static extern void TexImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T7[] pixels) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage1D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a one-dimensional texture image @@ -62456,27 +37747,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage1D")] - public static - void TexImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T7[,] pixels) + public static extern void TexImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T7[,] pixels) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage1D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a one-dimensional texture image @@ -62522,27 +37795,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage1D")] - public static - void TexImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T7[,,] pixels) + public static extern void TexImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T7[,,] pixels) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage1D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a one-dimensional texture image @@ -62588,28 +37843,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage1D")] - public static - void TexImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T7 pixels) + public static extern void TexImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T7 pixels) where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage1D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T7)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -62660,18 +37896,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels); /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -62722,27 +37947,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T8[] pixels) + public static extern void TexImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T8[] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -62793,27 +38000,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) + public static extern void TexImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -62864,27 +38053,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) + public static extern void TexImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.0] /// Specify a two-dimensional texture image @@ -62935,28 +38106,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) + public static extern void TexImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T8)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Establish the data storage, format, dimensions, and number of samples of a multisample texture's image @@ -62992,18 +38144,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glTexImage2DMultisample")] - public static - void TexImage2DMultisample(OpenTK.Graphics.OpenGL4.TextureTargetMultisample target, Int32 samples, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, bool fixedsamplelocations) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage2DMultisample((OpenTK.Graphics.OpenGL4.TextureTargetMultisample)target, (Int32)samples, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (bool)fixedsamplelocations); - #if DEBUG - } - #endif - } + public static extern void TexImage2DMultisample(OpenTK.Graphics.OpenGL4.TextureTargetMultisample target, Int32 samples, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, bool fixedsamplelocations); /// [requires: v1.2] /// Specify a three-dimensional texture image @@ -63059,18 +38200,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexImage3D")] - public static - void TexImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage3D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels); /// [requires: v1.2] /// Specify a three-dimensional texture image @@ -63126,27 +38256,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexImage3D")] - public static - void TexImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T9[] pixels) + public static extern void TexImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T9[] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Specify a three-dimensional texture image @@ -63202,27 +38314,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexImage3D")] - public static - void TexImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) + public static extern void TexImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Specify a three-dimensional texture image @@ -63278,27 +38372,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexImage3D")] - public static - void TexImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) + public static extern void TexImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Specify a three-dimensional texture image @@ -63354,28 +38430,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexImage3D")] - public static - void TexImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) + public static extern void TexImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T9)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.2 and ARB_texture_multisample|VERSION_3_2] /// Establish the data storage, format, dimensions, and number of samples of a multisample texture's image @@ -63411,18 +38468,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_texture_multisample|VERSION_3_2", Version = "3.2", EntryPoint = "glTexImage3DMultisample")] - public static - void TexImage3DMultisample(OpenTK.Graphics.OpenGL4.TextureTargetMultisample target, Int32 samples, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage3DMultisample((OpenTK.Graphics.OpenGL4.TextureTargetMultisample)target, (Int32)samples, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedsamplelocations); - #if DEBUG - } - #endif - } + public static extern void TexImage3DMultisample(OpenTK.Graphics.OpenGL4.TextureTargetMultisample target, Int32 samples, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations); /// [requires: v1.0] /// Set texture parameters @@ -63451,18 +38497,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexParameterf")] - public static - void TexParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterf((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (Single)param); - #if DEBUG - } - #endif - } + public static extern void TexParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Single param); /// [requires: v1.0] /// Set texture parameters @@ -63491,24 +38526,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexParameterfv")] - public static - void TexParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glTexParameterfv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Single[] @params); /// [requires: v1.0] /// Set texture parameters @@ -63538,18 +38556,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexParameterfv")] - public static - unsafe void TexParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterfv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Single* @params); /// [requires: v1.0] /// Set texture parameters @@ -63578,136 +38585,35 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexParameteri")] - public static - void TexParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameteri((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (Int32)param); - #if DEBUG - } - #endif - } + public static extern void TexParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Int32 param); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTexParameterIiv")] - public static - void TexParameterI(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glTexParameterIiv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexParameterI(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Int32[] @params); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTexParameterIiv")] - public static - void TexParameterI(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glTexParameterIiv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexParameterI(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, ref Int32 @params); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTexParameterIiv")] - public static - unsafe void TexParameterI(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterIiv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexParameterI(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Int32* @params); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTexParameterIuiv")] - public static - void TexParameterI(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glTexParameterIuiv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexParameterI(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, UInt32[] @params); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTexParameterIuiv")] - public static - void TexParameterI(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, ref UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glTexParameterIuiv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexParameterI(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, ref UInt32 @params); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTexParameterIuiv")] - public static - unsafe void TexParameterI(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterIuiv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexParameterI(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, UInt32* @params); /// [requires: v1.0] /// Set texture parameters @@ -63736,24 +38642,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexParameteriv")] - public static - void TexParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glTexParameteriv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void TexParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Int32[] @params); /// [requires: v1.0] /// Set texture parameters @@ -63783,18 +38672,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glTexParameteriv")] - public static - unsafe void TexParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameteriv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } + public static extern unsafe void TexParameter(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Int32* @params); /// [requires: v4.2 and ARB_texture_storage|VERSION_4_2] /// Simultaneously specify storage for all levels of a one-dimensional texture @@ -63820,18 +38698,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_texture_storage|VERSION_4_2", Version = "4.2", EntryPoint = "glTexStorage1D")] - public static - void TexStorage1D(OpenTK.Graphics.OpenGL4.TextureTarget1d target, Int32 levels, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexStorage1D((OpenTK.Graphics.OpenGL4.TextureTarget1d)target, (Int32)levels, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (Int32)width); - #if DEBUG - } - #endif - } + public static extern void TexStorage1D(OpenTK.Graphics.OpenGL4.TextureTarget1d target, Int32 levels, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 width); /// [requires: v4.2 and ARB_texture_storage|VERSION_4_2] /// Simultaneously specify storage for all levels of a two-dimensional or one-dimensional array texture @@ -63862,18 +38729,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_texture_storage|VERSION_4_2", Version = "4.2", EntryPoint = "glTexStorage2D")] - public static - void TexStorage2D(OpenTK.Graphics.OpenGL4.TextureTarget2d target, Int32 levels, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexStorage2D((OpenTK.Graphics.OpenGL4.TextureTarget2d)target, (Int32)levels, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void TexStorage2D(OpenTK.Graphics.OpenGL4.TextureTarget2d target, Int32 levels, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 width, Int32 height); /// [requires: v4.3 and ARB_texture_storage_multisample|VERSION_4_3] /// Specify storage for a two-dimensional multisample texture @@ -63909,18 +38765,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_texture_storage_multisample|VERSION_4_3", Version = "4.3", EntryPoint = "glTexStorage2DMultisample")] - public static - void TexStorage2DMultisample(OpenTK.Graphics.OpenGL4.TextureTargetMultisample2d target, Int32 samples, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 width, Int32 height, bool fixedsamplelocations) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexStorage2DMultisample((OpenTK.Graphics.OpenGL4.TextureTargetMultisample2d)target, (Int32)samples, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (bool)fixedsamplelocations); - #if DEBUG - } - #endif - } + public static extern void TexStorage2DMultisample(OpenTK.Graphics.OpenGL4.TextureTargetMultisample2d target, Int32 samples, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 width, Int32 height, bool fixedsamplelocations); /// [requires: v4.2 and ARB_texture_storage|VERSION_4_2] /// Simultaneously specify storage for all levels of a three-dimensional, two-dimensional array or cube-map array texture @@ -63956,18 +38801,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_texture_storage|VERSION_4_2", Version = "4.2", EntryPoint = "glTexStorage3D")] - public static - void TexStorage3D(OpenTK.Graphics.OpenGL4.TextureTarget3d target, Int32 levels, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexStorage3D((OpenTK.Graphics.OpenGL4.TextureTarget3d)target, (Int32)levels, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth); - #if DEBUG - } - #endif - } + public static extern void TexStorage3D(OpenTK.Graphics.OpenGL4.TextureTarget3d target, Int32 levels, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth); /// [requires: v4.3 and ARB_texture_storage_multisample|VERSION_4_3] /// Specify storage for a two-dimensional multisample array texture @@ -64008,18 +38842,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_texture_storage_multisample|VERSION_4_3", Version = "4.3", EntryPoint = "glTexStorage3DMultisample")] - public static - void TexStorage3DMultisample(OpenTK.Graphics.OpenGL4.TextureTargetMultisample3d target, Int32 samples, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexStorage3DMultisample((OpenTK.Graphics.OpenGL4.TextureTargetMultisample3d)target, (Int32)samples, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedsamplelocations); - #if DEBUG - } - #endif - } + public static extern void TexStorage3DMultisample(OpenTK.Graphics.OpenGL4.TextureTargetMultisample3d target, Int32 samples, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations); /// [requires: v1.1] /// Specify a one-dimensional texture subimage @@ -64060,18 +38883,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage1D")] - public static - void TexSubImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexSubImage1D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexSubImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels); /// [requires: v1.1] /// Specify a one-dimensional texture subimage @@ -64112,27 +38924,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage1D")] - public static - void TexSubImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T6[] pixels) + public static extern void TexSubImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T6[] pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage1D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1] /// Specify a one-dimensional texture subimage @@ -64173,27 +38967,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage1D")] - public static - void TexSubImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T6[,] pixels) + public static extern void TexSubImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T6[,] pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage1D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1] /// Specify a one-dimensional texture subimage @@ -64234,27 +39010,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage1D")] - public static - void TexSubImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T6[,,] pixels) + public static extern void TexSubImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T6[,,] pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage1D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1] /// Specify a one-dimensional texture subimage @@ -64295,28 +39053,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage1D")] - public static - void TexSubImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T6 pixels) + public static extern void TexSubImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T6 pixels) where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage1D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T6)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1] /// Specify a two-dimensional texture subimage @@ -64367,18 +39106,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexSubImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexSubImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels); /// [requires: v1.1] /// Specify a two-dimensional texture subimage @@ -64429,27 +39157,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T8[] pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T8[] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1] /// Specify a two-dimensional texture subimage @@ -64500,27 +39210,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1] /// Specify a two-dimensional texture subimage @@ -64571,27 +39263,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.1] /// Specify a two-dimensional texture subimage @@ -64642,28 +39316,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_1", Version = "1.1", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) + public static extern void TexSubImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T8)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Specify a three-dimensional texture subimage @@ -64724,18 +39379,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexSubImage3D")] - public static - void TexSubImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexSubImage3D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } + public static extern void TexSubImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels); /// [requires: v1.2] /// Specify a three-dimensional texture subimage @@ -64796,27 +39440,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexSubImage3D")] - public static - void TexSubImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T10[] pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T10[] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Specify a three-dimensional texture subimage @@ -64877,27 +39503,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexSubImage3D")] - public static - void TexSubImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T10[,] pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T10[,] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Specify a three-dimensional texture subimage @@ -64958,27 +39566,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexSubImage3D")] - public static - void TexSubImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T10[,,] pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] T10[,,] pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v1.2] /// Specify a three-dimensional texture subimage @@ -65039,28 +39629,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_2", Version = "1.2", EntryPoint = "glTexSubImage3D")] - public static - void TexSubImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T10 pixels) + public static extern void TexSubImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [InAttribute, OutAttribute] ref T10 pixels) where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - pixels = (T10)pixels_ptr.Target; - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and ARB_texture_view|VERSION_4_3] /// Initialize a texture as a data alias of another texture's data store @@ -65106,18 +39677,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_texture_view|VERSION_4_3", Version = "4.3", EntryPoint = "glTextureView")] - public static - void TextureView(Int32 texture, OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 origtexture, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 minlevel, Int32 numlevels, Int32 minlayer, Int32 numlayers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureView((UInt32)texture, (OpenTK.Graphics.OpenGL4.TextureTarget)target, (UInt32)origtexture, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (UInt32)minlevel, (UInt32)numlevels, (UInt32)minlayer, (UInt32)numlayers); - #if DEBUG - } - #endif - } + public static extern void TextureView(Int32 texture, OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 origtexture, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 minlevel, Int32 numlevels, Int32 minlayer, Int32 numlayers); /// [requires: v4.3 and ARB_texture_view|VERSION_4_3] /// Initialize a texture as a data alias of another texture's data store @@ -65164,18 +39724,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_texture_view|VERSION_4_3", Version = "4.3", EntryPoint = "glTextureView")] - public static - void TextureView(UInt32 texture, OpenTK.Graphics.OpenGL4.TextureTarget target, UInt32 origtexture, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, UInt32 minlevel, UInt32 numlevels, UInt32 minlayer, UInt32 numlayers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureView((UInt32)texture, (OpenTK.Graphics.OpenGL4.TextureTarget)target, (UInt32)origtexture, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (UInt32)minlevel, (UInt32)numlevels, (UInt32)minlayer, (UInt32)numlayers); - #if DEBUG - } - #endif - } + public static extern void TextureView(UInt32 texture, OpenTK.Graphics.OpenGL4.TextureTarget target, UInt32 origtexture, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, UInt32 minlevel, UInt32 numlevels, UInt32 minlayer, UInt32 numlayers); /// [requires: v3.0] /// Specify values to record in transform feedback buffers @@ -65201,18 +39750,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTransformFeedbackVaryings")] - public static - void TransformFeedbackVaryings(Int32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL4.TransformFeedbackMode bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTransformFeedbackVaryings((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.OpenGL4.TransformFeedbackMode)bufferMode); - #if DEBUG - } - #endif - } + public static extern void TransformFeedbackVaryings(Int32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL4.TransformFeedbackMode bufferMode); /// [requires: v3.0] /// Specify values to record in transform feedback buffers @@ -65239,18 +39777,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glTransformFeedbackVaryings")] - public static - void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL4.TransformFeedbackMode bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTransformFeedbackVaryings((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.OpenGL4.TransformFeedbackMode)bufferMode); - #if DEBUG - } - #endif - } + public static extern void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL4.TransformFeedbackMode bufferMode); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -65284,18 +39811,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform1d")] - public static - void Uniform1(Int32 location, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1d((Int32)location, (Double)x); - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Double x); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -65329,24 +39845,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform1dv")] - public static - void Uniform1(Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glUniform1dv((Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, Double[] value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -65380,24 +39879,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform1dv")] - public static - void Uniform1(Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glUniform1dv((Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, ref Double value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -65432,18 +39914,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform1dv")] - public static - unsafe void Uniform1(Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1dv((Int32)location, (Int32)count, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform1(Int32 location, Int32 count, Double* value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -65477,18 +39948,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1f")] - public static - void Uniform1(Int32 location, Single v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1f((Int32)location, (Single)v0); - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Single v0); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -65522,24 +39982,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1fv")] - public static - void Uniform1(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, Single[] value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -65573,24 +40016,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1fv")] - public static - void Uniform1(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, ref Single value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -65625,18 +40051,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1fv")] - public static - unsafe void Uniform1(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform1(Int32 location, Int32 count, Single* value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -65670,18 +40085,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1i")] - public static - void Uniform1(Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1i((Int32)location, (Int32)v0); - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 v0); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -65715,24 +40119,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1iv")] - public static - void Uniform1(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, Int32[] value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -65766,24 +40153,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1iv")] - public static - void Uniform1(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, ref Int32 value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -65818,18 +40188,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform1iv")] - public static - unsafe void Uniform1(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform1(Int32 location, Int32 count, Int32* value); /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -65864,18 +40223,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform1ui")] - public static - void Uniform1(Int32 location, UInt32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1ui((Int32)location, (UInt32)v0); - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, UInt32 v0); /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -65910,24 +40258,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform1uiv")] - public static - void Uniform1(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glUniform1uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, UInt32[] value); /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -65962,24 +40293,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform1uiv")] - public static - void Uniform1(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glUniform1uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform1(Int32 location, Int32 count, ref UInt32 value); /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -66014,18 +40328,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform1uiv")] - public static - unsafe void Uniform1(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1uiv((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform1(Int32 location, Int32 count, UInt32* value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -66059,18 +40362,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform2d")] - public static - void Uniform2(Int32 location, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2d((Int32)location, (Double)x, (Double)y); - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Double x, Double y); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -66104,24 +40396,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform2dv")] - public static - void Uniform2(Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glUniform2dv((Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 count, Double[] value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -66155,24 +40430,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform2dv")] - public static - void Uniform2(Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glUniform2dv((Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 count, ref Double value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -66207,18 +40465,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform2dv")] - public static - unsafe void Uniform2(Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2dv((Int32)location, (Int32)count, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform2(Int32 location, Int32 count, Double* value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -66252,18 +40499,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2f")] - public static - void Uniform2(Int32 location, Single v0, Single v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2f((Int32)location, (Single)v0, (Single)v1); - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Single v0, Single v1); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -66297,24 +40533,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2fv")] - public static - void Uniform2(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 count, Single[] value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -66348,24 +40567,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2fv")] - public static - void Uniform2(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 count, ref Single value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -66400,18 +40602,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2fv")] - public static - unsafe void Uniform2(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform2(Int32 location, Int32 count, Single* value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -66445,18 +40636,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2i")] - public static - void Uniform2(Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2i((Int32)location, (Int32)v0, (Int32)v1); - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 v0, Int32 v1); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -66490,24 +40670,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2iv")] - public static - void Uniform2(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 count, Int32[] value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -66542,18 +40705,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform2iv")] - public static - unsafe void Uniform2(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform2(Int32 location, Int32 count, Int32* value); /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -66588,18 +40740,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform2ui")] - public static - void Uniform2(Int32 location, UInt32 v0, UInt32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2ui((Int32)location, (UInt32)v0, (UInt32)v1); - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, UInt32 v0, UInt32 v1); /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -66634,24 +40775,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform2uiv")] - public static - void Uniform2(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glUniform2uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 count, UInt32[] value); /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -66686,24 +40810,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform2uiv")] - public static - void Uniform2(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glUniform2uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform2(Int32 location, Int32 count, ref UInt32 value); /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -66738,18 +40845,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform2uiv")] - public static - unsafe void Uniform2(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2uiv((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform2(Int32 location, Int32 count, UInt32* value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -66783,18 +40879,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform3d")] - public static - void Uniform3(Int32 location, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3d((Int32)location, (Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Double x, Double y, Double z); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -66828,24 +40913,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform3dv")] - public static - void Uniform3(Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glUniform3dv((Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, Double[] value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -66879,24 +40947,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform3dv")] - public static - void Uniform3(Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glUniform3dv((Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, ref Double value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -66931,18 +40982,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform3dv")] - public static - unsafe void Uniform3(Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3dv((Int32)location, (Int32)count, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform3(Int32 location, Int32 count, Double* value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -66976,18 +41016,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3f")] - public static - void Uniform3(Int32 location, Single v0, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3f((Int32)location, (Single)v0, (Single)v1, (Single)v2); - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Single v0, Single v1, Single v2); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -67021,24 +41050,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3fv")] - public static - void Uniform3(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, Single[] value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -67072,24 +41084,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3fv")] - public static - void Uniform3(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, ref Single value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -67124,18 +41119,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3fv")] - public static - unsafe void Uniform3(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform3(Int32 location, Int32 count, Single* value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -67169,18 +41153,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3i")] - public static - void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -67214,24 +41187,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3iv")] - public static - void Uniform3(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, Int32[] value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -67265,24 +41221,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3iv")] - public static - void Uniform3(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, ref Int32 value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -67317,18 +41256,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform3iv")] - public static - unsafe void Uniform3(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform3(Int32 location, Int32 count, Int32* value); /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -67363,18 +41291,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform3ui")] - public static - void Uniform3(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3ui((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -67409,24 +41326,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform3uiv")] - public static - void Uniform3(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glUniform3uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, UInt32[] value); /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -67461,24 +41361,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform3uiv")] - public static - void Uniform3(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glUniform3uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform3(Int32 location, Int32 count, ref UInt32 value); /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -67513,18 +41396,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform3uiv")] - public static - unsafe void Uniform3(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3uiv((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform3(Int32 location, Int32 count, UInt32* value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -67558,18 +41430,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform4d")] - public static - void Uniform4(Int32 location, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4d((Int32)location, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Double x, Double y, Double z, Double w); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -67603,24 +41464,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform4dv")] - public static - void Uniform4(Int32 location, Int32 count, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glUniform4dv((Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, Double[] value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -67654,24 +41498,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform4dv")] - public static - void Uniform4(Int32 location, Int32 count, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glUniform4dv((Int32)location, (Int32)count, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, ref Double value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] /// Specify the value of a uniform variable for the current program object @@ -67706,18 +41533,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniform4dv")] - public static - unsafe void Uniform4(Int32 location, Int32 count, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4dv((Int32)location, (Int32)count, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform4(Int32 location, Int32 count, Double* value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -67751,18 +41567,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4f")] - public static - void Uniform4(Int32 location, Single v0, Single v1, Single v2, Single v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4f((Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Single v0, Single v1, Single v2, Single v3); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -67796,24 +41601,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4fv")] - public static - void Uniform4(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, Single[] value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -67847,24 +41635,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4fv")] - public static - void Uniform4(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, ref Single value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -67899,18 +41670,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4fv")] - public static - unsafe void Uniform4(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform4(Int32 location, Int32 count, Single* value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -67944,18 +41704,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4i")] - public static - void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -67989,24 +41738,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4iv")] - public static - void Uniform4(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, Int32[] value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -68040,24 +41772,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4iv")] - public static - void Uniform4(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, ref Int32 value); /// [requires: v2.0] /// Specify the value of a uniform variable for the current program object @@ -68092,18 +41807,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniform4iv")] - public static - unsafe void Uniform4(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform4(Int32 location, Int32 count, Int32* value); /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -68138,18 +41842,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform4ui")] - public static - void Uniform4(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4ui((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -68184,24 +41877,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform4uiv")] - public static - void Uniform4(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glUniform4uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, UInt32[] value); /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -68236,24 +41912,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform4uiv")] - public static - void Uniform4(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glUniform4uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void Uniform4(Int32 location, Int32 count, ref UInt32 value); /// [requires: v3.0] /// Specify the value of a uniform variable for the current program object @@ -68288,18 +41947,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glUniform4uiv")] - public static - unsafe void Uniform4(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4uiv((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void Uniform4(Int32 location, Int32 count, UInt32* value); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Assign a binding point to an active uniform block @@ -68320,18 +41968,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glUniformBlockBinding")] - public static - void UniformBlockBinding(Int32 program, Int32 uniformBlockIndex, Int32 uniformBlockBinding) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformBlockBinding((UInt32)program, (UInt32)uniformBlockIndex, (UInt32)uniformBlockBinding); - #if DEBUG - } - #endif - } + public static extern void UniformBlockBinding(Int32 program, Int32 uniformBlockIndex, Int32 uniformBlockBinding); /// [requires: v3.1 and ARB_uniform_buffer_object|VERSION_3_1] /// Assign a binding point to an active uniform block @@ -68353,1062 +41990,241 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_uniform_buffer_object|VERSION_3_1", Version = "3.1", EntryPoint = "glUniformBlockBinding")] - public static - void UniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformBlockBinding((UInt32)program, (UInt32)uniformBlockIndex, (UInt32)uniformBlockBinding); - #if DEBUG - } - #endif - } + public static extern void UniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix2dv")] - public static - void UniformMatrix2(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glUniformMatrix2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2(Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix2dv")] - public static - void UniformMatrix2(Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glUniformMatrix2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2(Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix2dv")] - public static - unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] - public static - void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] - public static - void UniformMatrix2(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] - public static - unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix2x3dv")] - public static - void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glUniformMatrix2x3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix2x3dv")] - public static - void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glUniformMatrix2x3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix2x3dv")] - public static - unsafe void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix2x3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix2x3fv")] - public static - void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix2x3fv")] - public static - void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v2.1] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix2x3fv")] - public static - unsafe void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix2x4dv")] - public static - void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glUniformMatrix2x4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix2x4dv")] - public static - void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glUniformMatrix2x4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix2x4dv")] - public static - unsafe void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix2x4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix2x4fv")] - public static - void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix2x4fv")] - public static - void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v2.1] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix2x4fv")] - public static - unsafe void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix3dv")] - public static - void UniformMatrix3(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glUniformMatrix3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3(Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix3dv")] - public static - void UniformMatrix3(Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glUniformMatrix3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3(Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix3dv")] - public static - unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] - public static - void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] - public static - void UniformMatrix3(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] - public static - unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix3x2dv")] - public static - void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glUniformMatrix3x2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix3x2dv")] - public static - void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glUniformMatrix3x2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix3x2dv")] - public static - unsafe void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix3x2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix3x2fv")] - public static - void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix3x2fv")] - public static - void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v2.1] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix3x2fv")] - public static - unsafe void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix3x4dv")] - public static - void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glUniformMatrix3x4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix3x4dv")] - public static - void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glUniformMatrix3x4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix3x4dv")] - public static - unsafe void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix3x4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix3x4fv")] - public static - void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix3x4fv")] - public static - void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v2.1] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix3x4fv")] - public static - unsafe void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix4dv")] - public static - void UniformMatrix4(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glUniformMatrix4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4(Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix4dv")] - public static - void UniformMatrix4(Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glUniformMatrix4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4(Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix4dv")] - public static - unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] - public static - void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] - public static - void UniformMatrix4(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] - public static - unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix4x2dv")] - public static - void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glUniformMatrix4x2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix4x2dv")] - public static - void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glUniformMatrix4x2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix4x2dv")] - public static - unsafe void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix4x2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix4x2fv")] - public static - void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix4x2fv")] - public static - void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v2.1] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix4x2fv")] - public static - unsafe void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix4x3dv")] - public static - void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Double[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = value) - { - Delegates.glUniformMatrix4x3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Double[] value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix4x3dv")] - public static - void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, ref Double value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* value_ptr = &value) - { - Delegates.glUniformMatrix4x3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, ref Double value); /// [requires: v4.0 and ARB_gpu_shader_fp64|VERSION_4_0] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_gpu_shader_fp64|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformMatrix4x3dv")] - public static - unsafe void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Double* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix4x3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Double* value); /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix4x3fv")] - public static - void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single[] value); /// [requires: v2.1] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix4x3fv")] - public static - void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, ref Single value); /// [requires: v2.1] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_1", Version = "2.1", EntryPoint = "glUniformMatrix4x3fv")] - public static - unsafe void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single* value); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Load active subroutine uniforms @@ -69429,24 +42245,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformSubroutinesuiv")] - public static - void UniformSubroutines(OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 count, Int32[] indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* indices_ptr = indices) - { - Delegates.glUniformSubroutinesuiv((OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (Int32)count, (UInt32*)indices_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformSubroutines(OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 count, Int32[] indices); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Load active subroutine uniforms @@ -69467,24 +42266,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformSubroutinesuiv")] - public static - void UniformSubroutines(OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 count, ref Int32 indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* indices_ptr = &indices) - { - Delegates.glUniformSubroutinesuiv((OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (Int32)count, (UInt32*)indices_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformSubroutines(OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 count, ref Int32 indices); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Load active subroutine uniforms @@ -69506,18 +42288,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformSubroutinesuiv")] - public static - unsafe void UniformSubroutines(OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 count, Int32* indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformSubroutinesuiv((OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (Int32)count, (UInt32*)indices); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformSubroutines(OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 count, Int32* indices); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Load active subroutine uniforms @@ -69539,24 +42310,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformSubroutinesuiv")] - public static - void UniformSubroutines(OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 count, UInt32[] indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* indices_ptr = indices) - { - Delegates.glUniformSubroutinesuiv((OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (Int32)count, (UInt32*)indices_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformSubroutines(OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 count, UInt32[] indices); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Load active subroutine uniforms @@ -69578,24 +42332,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformSubroutinesuiv")] - public static - void UniformSubroutines(OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 count, ref UInt32 indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* indices_ptr = &indices) - { - Delegates.glUniformSubroutinesuiv((OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (Int32)count, (UInt32*)indices_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void UniformSubroutines(OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 count, ref UInt32 indices); /// [requires: v4.0 and ARB_shader_subroutine|VERSION_4_0] /// Load active subroutine uniforms @@ -69617,33 +42354,11 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_subroutine|VERSION_4_0", Version = "4.0", EntryPoint = "glUniformSubroutinesuiv")] - public static - unsafe void UniformSubroutines(OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 count, UInt32* indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformSubroutinesuiv((OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (Int32)count, (UInt32*)indices); - #if DEBUG - } - #endif - } + public static extern unsafe void UniformSubroutines(OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 count, UInt32* indices); /// [requires: v1.5] [AutoGenerated(Category = "VERSION_1_5", Version = "1.5", EntryPoint = "glUnmapBuffer")] - public static - bool UnmapBuffer(OpenTK.Graphics.OpenGL4.BufferTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glUnmapBuffer((OpenTK.Graphics.OpenGL4.BufferTarget)target); - #if DEBUG - } - #endif - } + public static extern bool UnmapBuffer(OpenTK.Graphics.OpenGL4.BufferTarget target); /// [requires: v2.0] /// Installs a program object as part of current rendering state @@ -69654,18 +42369,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUseProgram")] - public static - void UseProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUseProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void UseProgram(Int32 program); /// [requires: v2.0] /// Installs a program object as part of current rendering state @@ -69677,18 +42381,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glUseProgram")] - public static - void UseProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUseProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void UseProgram(UInt32 program); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Bind stages of a program object to a program pipeline @@ -69709,18 +42402,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glUseProgramStages")] - public static - void UseProgramStages(Int32 pipeline, OpenTK.Graphics.OpenGL4.ProgramStageMask stages, Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUseProgramStages((UInt32)pipeline, (OpenTK.Graphics.OpenGL4.ProgramStageMask)stages, (UInt32)program); - #if DEBUG - } - #endif - } + public static extern void UseProgramStages(Int32 pipeline, OpenTK.Graphics.OpenGL4.ProgramStageMask stages, Int32 program); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Bind stages of a program object to a program pipeline @@ -69742,18 +42424,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glUseProgramStages")] - public static - void UseProgramStages(UInt32 pipeline, OpenTK.Graphics.OpenGL4.ProgramStageMask stages, UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUseProgramStages((UInt32)pipeline, (OpenTK.Graphics.OpenGL4.ProgramStageMask)stages, (UInt32)program); - #if DEBUG - } - #endif - } + public static extern void UseProgramStages(UInt32 pipeline, OpenTK.Graphics.OpenGL4.ProgramStageMask stages, UInt32 program); /// [requires: v2.0] /// Validates a program object @@ -69764,18 +42435,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glValidateProgram")] - public static - void ValidateProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glValidateProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void ValidateProgram(Int32 program); /// [requires: v2.0] /// Validates a program object @@ -69787,18 +42447,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glValidateProgram")] - public static - void ValidateProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glValidateProgram((UInt32)program); - #if DEBUG - } - #endif - } + public static extern void ValidateProgram(UInt32 program); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Validate a program pipeline object against current GL state @@ -69809,18 +42458,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glValidateProgramPipeline")] - public static - void ValidateProgramPipeline(Int32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glValidateProgramPipeline((UInt32)pipeline); - #if DEBUG - } - #endif - } + public static extern void ValidateProgramPipeline(Int32 pipeline); /// [requires: v4.1 and ARB_separate_shader_objects|VERSION_4_1] /// Validate a program pipeline object against current GL state @@ -69832,18 +42470,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glValidateProgramPipeline")] - public static - void ValidateProgramPipeline(UInt32 pipeline) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glValidateProgramPipeline((UInt32)pipeline); - #if DEBUG - } - #endif - } + public static extern void ValidateProgramPipeline(UInt32 pipeline); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -69879,18 +42506,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1d")] - public static - void VertexAttrib1(Int32 index, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1d((UInt32)index, (Double)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib1(Int32 index, Double x); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -69927,18 +42543,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1d")] - public static - void VertexAttrib1(UInt32 index, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1d((UInt32)index, (Double)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib1(UInt32 index, Double x); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -69975,18 +42580,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1dv")] - public static - unsafe void VertexAttrib1(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib1(Int32 index, Double* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -70023,18 +42617,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1dv")] - public static - unsafe void VertexAttrib1(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib1(UInt32 index, Double* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -70070,18 +42653,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1f")] - public static - void VertexAttrib1(Int32 index, Single x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1f((UInt32)index, (Single)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib1(Int32 index, Single x); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -70118,18 +42690,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1f")] - public static - void VertexAttrib1(UInt32 index, Single x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1f((UInt32)index, (Single)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib1(UInt32 index, Single x); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -70166,18 +42727,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] - public static - unsafe void VertexAttrib1(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib1(Int32 index, Single* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -70214,18 +42764,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] - public static - unsafe void VertexAttrib1(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib1(UInt32 index, Single* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -70261,18 +42800,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1s")] - public static - void VertexAttrib1(Int32 index, Int16 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1s((UInt32)index, (Int16)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib1(Int32 index, Int16 x); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -70309,18 +42837,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1s")] - public static - void VertexAttrib1(UInt32 index, Int16 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1s((UInt32)index, (Int16)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib1(UInt32 index, Int16 x); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -70357,18 +42874,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1sv")] - public static - unsafe void VertexAttrib1(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib1(Int32 index, Int16* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -70405,18 +42911,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1sv")] - public static - unsafe void VertexAttrib1(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib1(UInt32 index, Int16* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -70452,18 +42947,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2d")] - public static - void VertexAttrib2(Int32 index, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2d((UInt32)index, (Double)x, (Double)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, Double x, Double y); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -70500,18 +42984,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2d")] - public static - void VertexAttrib2(UInt32 index, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2d((UInt32)index, (Double)x, (Double)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, Double x, Double y); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -70547,24 +43020,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] - public static - void VertexAttrib2(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, Double[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -70600,24 +43056,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] - public static - void VertexAttrib2(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, ref Double v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -70654,18 +43093,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] - public static - unsafe void VertexAttrib2(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib2(Int32 index, Double* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -70702,24 +43130,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] - public static - void VertexAttrib2(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, Double[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -70756,24 +43167,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] - public static - void VertexAttrib2(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, ref Double v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -70810,18 +43204,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] - public static - unsafe void VertexAttrib2(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib2(UInt32 index, Double* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -70857,18 +43240,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2f")] - public static - void VertexAttrib2(Int32 index, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2f((UInt32)index, (Single)x, (Single)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, Single x, Single y); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -70905,18 +43277,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2f")] - public static - void VertexAttrib2(UInt32 index, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2f((UInt32)index, (Single)x, (Single)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, Single x, Single y); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -70952,24 +43313,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static - void VertexAttrib2(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, Single[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71005,24 +43349,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static - void VertexAttrib2(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, ref Single v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71059,18 +43386,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static - unsafe void VertexAttrib2(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib2(Int32 index, Single* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71107,24 +43423,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static - void VertexAttrib2(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, Single[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71161,24 +43460,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static - void VertexAttrib2(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, ref Single v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71215,18 +43497,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static - unsafe void VertexAttrib2(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib2(UInt32 index, Single* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71262,18 +43533,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2s")] - public static - void VertexAttrib2(Int32 index, Int16 x, Int16 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2s((UInt32)index, (Int16)x, (Int16)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, Int16 x, Int16 y); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71310,18 +43570,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2s")] - public static - void VertexAttrib2(UInt32 index, Int16 x, Int16 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2s((UInt32)index, (Int16)x, (Int16)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, Int16 x, Int16 y); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71357,24 +43606,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] - public static - void VertexAttrib2(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, Int16[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71410,24 +43642,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] - public static - void VertexAttrib2(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(Int32 index, ref Int16 v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71464,18 +43679,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] - public static - unsafe void VertexAttrib2(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib2(Int32 index, Int16* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71512,24 +43716,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] - public static - void VertexAttrib2(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, Int16[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71566,24 +43753,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] - public static - void VertexAttrib2(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib2(UInt32 index, ref Int16 v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71620,18 +43790,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] - public static - unsafe void VertexAttrib2(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib2(UInt32 index, Int16* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71667,18 +43826,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3d")] - public static - void VertexAttrib3(Int32 index, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3d((UInt32)index, (Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, Double x, Double y, Double z); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71715,18 +43863,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3d")] - public static - void VertexAttrib3(UInt32 index, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3d((UInt32)index, (Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, Double x, Double y, Double z); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71762,24 +43899,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] - public static - void VertexAttrib3(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, Double[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71815,24 +43935,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] - public static - void VertexAttrib3(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, ref Double v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71869,18 +43972,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] - public static - unsafe void VertexAttrib3(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib3(Int32 index, Double* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71917,24 +44009,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] - public static - void VertexAttrib3(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, Double[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -71971,24 +44046,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] - public static - void VertexAttrib3(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, ref Double v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72025,18 +44083,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] - public static - unsafe void VertexAttrib3(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib3(UInt32 index, Double* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72072,18 +44119,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3f")] - public static - void VertexAttrib3(Int32 index, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3f((UInt32)index, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, Single x, Single y, Single z); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72120,18 +44156,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3f")] - public static - void VertexAttrib3(UInt32 index, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3f((UInt32)index, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, Single x, Single y, Single z); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72167,24 +44192,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static - void VertexAttrib3(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, Single[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72220,24 +44228,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static - void VertexAttrib3(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, ref Single v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72274,18 +44265,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static - unsafe void VertexAttrib3(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib3(Int32 index, Single* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72322,24 +44302,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static - void VertexAttrib3(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, Single[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72376,24 +44339,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static - void VertexAttrib3(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, ref Single v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72430,18 +44376,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static - unsafe void VertexAttrib3(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib3(UInt32 index, Single* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72477,18 +44412,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3s")] - public static - void VertexAttrib3(Int32 index, Int16 x, Int16 y, Int16 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3s((UInt32)index, (Int16)x, (Int16)y, (Int16)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, Int16 x, Int16 y, Int16 z); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72525,18 +44449,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3s")] - public static - void VertexAttrib3(UInt32 index, Int16 x, Int16 y, Int16 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3s((UInt32)index, (Int16)x, (Int16)y, (Int16)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, Int16 x, Int16 y, Int16 z); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72572,24 +44485,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] - public static - void VertexAttrib3(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, Int16[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72625,24 +44521,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] - public static - void VertexAttrib3(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(Int32 index, ref Int16 v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72679,18 +44558,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] - public static - unsafe void VertexAttrib3(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib3(Int32 index, Int16* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72727,24 +44595,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] - public static - void VertexAttrib3(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, Int16[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72781,24 +44632,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] - public static - void VertexAttrib3(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib3(UInt32 index, ref Int16 v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72835,18 +44669,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] - public static - unsafe void VertexAttrib3(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib3(UInt32 index, Int16* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72883,24 +44706,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4bv")] - public static - void VertexAttrib4(UInt32 index, SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - Delegates.glVertexAttrib4bv((UInt32)index, (SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, SByte[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72937,24 +44743,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4bv")] - public static - void VertexAttrib4(UInt32 index, ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - Delegates.glVertexAttrib4bv((UInt32)index, (SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, ref SByte v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -72991,18 +44780,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4bv")] - public static - unsafe void VertexAttrib4(UInt32 index, SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4bv((UInt32)index, (SByte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(UInt32 index, SByte* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73038,18 +44816,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4d")] - public static - void VertexAttrib4(Int32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4d((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Double x, Double y, Double z, Double w); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73086,18 +44853,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4d")] - public static - void VertexAttrib4(UInt32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4d((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Double x, Double y, Double z, Double w); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73133,24 +44889,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] - public static - void VertexAttrib4(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Double[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73186,24 +44925,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] - public static - void VertexAttrib4(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, ref Double v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73240,18 +44962,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] - public static - unsafe void VertexAttrib4(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(Int32 index, Double* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73288,24 +44999,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] - public static - void VertexAttrib4(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Double[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73342,24 +45036,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] - public static - void VertexAttrib4(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, ref Double v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73396,18 +45073,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] - public static - unsafe void VertexAttrib4(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(UInt32 index, Double* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73443,18 +45109,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4f")] - public static - void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4f((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73491,18 +45146,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4f")] - public static - void VertexAttrib4(UInt32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4f((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Single x, Single y, Single z, Single w); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73538,24 +45182,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static - void VertexAttrib4(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Single[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73591,24 +45218,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static - void VertexAttrib4(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, ref Single v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73645,18 +45255,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static - unsafe void VertexAttrib4(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(Int32 index, Single* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73693,24 +45292,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static - void VertexAttrib4(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Single[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73747,24 +45329,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static - void VertexAttrib4(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, ref Single v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73801,18 +45366,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static - unsafe void VertexAttrib4(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(UInt32 index, Single* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73848,24 +45402,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] - public static - void VertexAttrib4(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Int32[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73901,24 +45438,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] - public static - void VertexAttrib4(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, ref Int32 v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -73955,18 +45475,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] - public static - unsafe void VertexAttrib4(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(Int32 index, Int32* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -74003,24 +45512,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] - public static - void VertexAttrib4(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Int32[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -74057,24 +45549,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] - public static - void VertexAttrib4(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, ref Int32 v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -74111,583 +45586,145 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] - public static - unsafe void VertexAttrib4(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(UInt32 index, Int32* v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nbv")] - public static - void VertexAttrib4N(UInt32 index, SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, SByte[] v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nbv")] - public static - void VertexAttrib4N(UInt32 index, ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, ref SByte v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nbv")] - public static - unsafe void VertexAttrib4N(UInt32 index, SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4N(UInt32 index, SByte* v); /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] - public static - void VertexAttrib4N(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(Int32 index, Int32[] v); /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] - public static - void VertexAttrib4N(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(Int32 index, ref Int32 v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] - public static - unsafe void VertexAttrib4N(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4N(Int32 index, Int32* v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] - public static - void VertexAttrib4N(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, Int32[] v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] - public static - void VertexAttrib4N(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, ref Int32 v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] - public static - unsafe void VertexAttrib4N(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4N(UInt32 index, Int32* v); /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] - public static - void VertexAttrib4N(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(Int32 index, Int16[] v); /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] - public static - void VertexAttrib4N(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(Int32 index, ref Int16 v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] - public static - unsafe void VertexAttrib4N(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4N(Int32 index, Int16* v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] - public static - void VertexAttrib4N(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, Int16[] v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] - public static - void VertexAttrib4N(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, ref Int16 v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] - public static - unsafe void VertexAttrib4N(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4N(UInt32 index, Int16* v); /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nub")] - public static - void VertexAttrib4N(Int32 index, Byte x, Byte y, Byte z, Byte w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Nub((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(Int32 index, Byte x, Byte y, Byte z, Byte w); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nub")] - public static - void VertexAttrib4N(UInt32 index, Byte x, Byte y, Byte z, Byte w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Nub((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, Byte x, Byte y, Byte z, Byte w); /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] - public static - void VertexAttrib4N(Int32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(Int32 index, Byte[] v); /// [requires: v2.0] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] - public static - void VertexAttrib4N(Int32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(Int32 index, ref Byte v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] - public static - unsafe void VertexAttrib4N(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4N(Int32 index, Byte* v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] - public static - void VertexAttrib4N(UInt32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, Byte[] v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] - public static - void VertexAttrib4N(UInt32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, ref Byte v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] - public static - unsafe void VertexAttrib4N(UInt32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4N(UInt32 index, Byte* v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nuiv")] - public static - void VertexAttrib4N(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, UInt32[] v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nuiv")] - public static - void VertexAttrib4N(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, ref UInt32 v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nuiv")] - public static - unsafe void VertexAttrib4N(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4N(UInt32 index, UInt32* v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nusv")] - public static - void VertexAttrib4N(UInt32 index, UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, UInt16[] v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nusv")] - public static - void VertexAttrib4N(UInt32 index, ref UInt16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = &v) - { - Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4N(UInt32 index, ref UInt16 v); /// [requires: v2.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4Nusv")] - public static - unsafe void VertexAttrib4N(UInt32 index, UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4N(UInt32 index, UInt16* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -74723,18 +45760,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4s")] - public static - void VertexAttrib4(Int32 index, Int16 x, Int16 y, Int16 z, Int16 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4s((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Int16 x, Int16 y, Int16 z, Int16 w); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -74771,18 +45797,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4s")] - public static - void VertexAttrib4(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4s((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -74818,24 +45833,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] - public static - void VertexAttrib4(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Int16[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -74871,24 +45869,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] - public static - void VertexAttrib4(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, ref Int16 v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -74925,18 +45906,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] - public static - unsafe void VertexAttrib4(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(Int32 index, Int16* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -74973,24 +45943,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] - public static - void VertexAttrib4(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Int16[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -75027,24 +45980,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] - public static - void VertexAttrib4(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, ref Int16 v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -75081,18 +46017,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] - public static - unsafe void VertexAttrib4(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(UInt32 index, Int16* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -75128,24 +46053,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] - public static - void VertexAttrib4(Int32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, Byte[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -75181,24 +46089,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] - public static - void VertexAttrib4(Int32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(Int32 index, ref Byte v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -75235,18 +46126,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] - public static - unsafe void VertexAttrib4(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(Int32 index, Byte* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -75283,24 +46163,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] - public static - void VertexAttrib4(UInt32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, Byte[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -75337,24 +46200,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] - public static - void VertexAttrib4(UInt32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, ref Byte v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -75391,18 +46237,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] - public static - unsafe void VertexAttrib4(UInt32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(UInt32 index, Byte* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -75439,24 +46274,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4uiv")] - public static - void VertexAttrib4(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, UInt32[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -75493,24 +46311,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4uiv")] - public static - void VertexAttrib4(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, ref UInt32 v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -75547,18 +46348,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4uiv")] - public static - unsafe void VertexAttrib4(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(UInt32 index, UInt32* v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -75595,24 +46385,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4usv")] - public static - void VertexAttrib4(UInt32 index, UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, UInt16[] v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -75649,24 +46422,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4usv")] - public static - void VertexAttrib4(UInt32 index, ref UInt16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = &v) - { - Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttrib4(UInt32 index, ref UInt16 v); /// [requires: v2.0] /// Specifies the value of a generic vertex attribute @@ -75703,18 +46459,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib4usv")] - public static - unsafe void VertexAttrib4(UInt32 index, UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttrib4(UInt32 index, UInt16* v); /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] /// Associate a vertex attribute and a vertex buffer binding @@ -75730,18 +46475,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glVertexAttribBinding")] - public static - void VertexAttribBinding(Int32 attribindex, Int32 bindingindex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribBinding((UInt32)attribindex, (UInt32)bindingindex); - #if DEBUG - } - #endif - } + public static extern void VertexAttribBinding(Int32 attribindex, Int32 bindingindex); /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] /// Associate a vertex attribute and a vertex buffer binding @@ -75758,18 +46492,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glVertexAttribBinding")] - public static - void VertexAttribBinding(UInt32 attribindex, UInt32 bindingindex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribBinding((UInt32)attribindex, (UInt32)bindingindex); - #if DEBUG - } - #endif - } + public static extern void VertexAttribBinding(UInt32 attribindex, UInt32 bindingindex); /// [requires: v3.3] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -75785,18 +46508,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribDivisor")] - public static - void VertexAttribDivisor(Int32 index, Int32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribDivisor((UInt32)index, (UInt32)divisor); - #if DEBUG - } - #endif - } + public static extern void VertexAttribDivisor(Int32 index, Int32 divisor); /// [requires: v3.3] /// Modify the rate at which generic vertex attributes advance during instanced rendering @@ -75813,18 +46525,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribDivisor")] - public static - void VertexAttribDivisor(UInt32 index, UInt32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribDivisor((UInt32)index, (UInt32)divisor); - #if DEBUG - } - #endif - } + public static extern void VertexAttribDivisor(UInt32 index, UInt32 divisor); /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] /// Specify the organization of vertex arrays @@ -75855,18 +46556,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glVertexAttribFormat")] - public static - void VertexAttribFormat(Int32 attribindex, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribType type, bool normalized, Int32 relativeoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribType)type, (bool)normalized, (UInt32)relativeoffset); - #if DEBUG - } - #endif - } + public static extern void VertexAttribFormat(Int32 attribindex, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribType type, bool normalized, Int32 relativeoffset); /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] /// Specify the organization of vertex arrays @@ -75898,2426 +46588,639 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glVertexAttribFormat")] - public static - void VertexAttribFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribType type, bool normalized, UInt32 relativeoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribType)type, (bool)normalized, (UInt32)relativeoffset); - #if DEBUG - } - #endif - } + public static extern void VertexAttribFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribType type, bool normalized, UInt32 relativeoffset); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI1i")] - public static - void VertexAttribI1(Int32 index, Int32 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI1i((UInt32)index, (Int32)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI1(Int32 index, Int32 x); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI1i")] - public static - void VertexAttribI1(UInt32 index, Int32 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI1i((UInt32)index, (Int32)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI1(UInt32 index, Int32 x); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI1iv")] - public static - unsafe void VertexAttribI1(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI1iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI1(Int32 index, Int32* v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI1iv")] - public static - unsafe void VertexAttribI1(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI1iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI1(UInt32 index, Int32* v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI1ui")] - public static - void VertexAttribI1(UInt32 index, UInt32 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI1ui((UInt32)index, (UInt32)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI1(UInt32 index, UInt32 x); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI1uiv")] - public static - unsafe void VertexAttribI1(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI1uiv((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI1(UInt32 index, UInt32* v); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2i")] - public static - void VertexAttribI2(Int32 index, Int32 x, Int32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2i((UInt32)index, (Int32)x, (Int32)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI2(Int32 index, Int32 x, Int32 y); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2i")] - public static - void VertexAttribI2(UInt32 index, Int32 x, Int32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2i((UInt32)index, (Int32)x, (Int32)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI2(UInt32 index, Int32 x, Int32 y); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] - public static - void VertexAttribI2(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI2(Int32 index, Int32[] v); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] - public static - void VertexAttribI2(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI2(Int32 index, ref Int32 v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] - public static - unsafe void VertexAttribI2(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI2(Int32 index, Int32* v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] - public static - void VertexAttribI2(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI2(UInt32 index, Int32[] v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] - public static - void VertexAttribI2(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI2(UInt32 index, ref Int32 v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] - public static - unsafe void VertexAttribI2(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI2(UInt32 index, Int32* v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2ui")] - public static - void VertexAttribI2(UInt32 index, UInt32 x, UInt32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2ui((UInt32)index, (UInt32)x, (UInt32)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI2(UInt32 index, UInt32 x, UInt32 y); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2uiv")] - public static - void VertexAttribI2(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glVertexAttribI2uiv((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI2(UInt32 index, UInt32[] v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2uiv")] - public static - void VertexAttribI2(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - Delegates.glVertexAttribI2uiv((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI2(UInt32 index, ref UInt32 v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI2uiv")] - public static - unsafe void VertexAttribI2(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2uiv((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI2(UInt32 index, UInt32* v); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3i")] - public static - void VertexAttribI3(Int32 index, Int32 x, Int32 y, Int32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3i((UInt32)index, (Int32)x, (Int32)y, (Int32)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI3(Int32 index, Int32 x, Int32 y, Int32 z); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3i")] - public static - void VertexAttribI3(UInt32 index, Int32 x, Int32 y, Int32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3i((UInt32)index, (Int32)x, (Int32)y, (Int32)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI3(UInt32 index, Int32 x, Int32 y, Int32 z); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static - void VertexAttribI3(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI3(Int32 index, Int32[] v); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static - void VertexAttribI3(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI3(Int32 index, ref Int32 v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static - unsafe void VertexAttribI3(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI3(Int32 index, Int32* v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static - void VertexAttribI3(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI3(UInt32 index, Int32[] v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static - void VertexAttribI3(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI3(UInt32 index, ref Int32 v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static - unsafe void VertexAttribI3(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI3(UInt32 index, Int32* v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3ui")] - public static - void VertexAttribI3(UInt32 index, UInt32 x, UInt32 y, UInt32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3ui((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI3(UInt32 index, UInt32 x, UInt32 y, UInt32 z); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3uiv")] - public static - void VertexAttribI3(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glVertexAttribI3uiv((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI3(UInt32 index, UInt32[] v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3uiv")] - public static - void VertexAttribI3(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - Delegates.glVertexAttribI3uiv((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI3(UInt32 index, ref UInt32 v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI3uiv")] - public static - unsafe void VertexAttribI3(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3uiv((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI3(UInt32 index, UInt32* v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4bv")] - public static - void VertexAttribI4(UInt32 index, SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - Delegates.glVertexAttribI4bv((UInt32)index, (SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, SByte[] v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4bv")] - public static - void VertexAttribI4(UInt32 index, ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - Delegates.glVertexAttribI4bv((UInt32)index, (SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, ref SByte v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4bv")] - public static - unsafe void VertexAttribI4(UInt32 index, SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4bv((UInt32)index, (SByte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI4(UInt32 index, SByte* v); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4i")] - public static - void VertexAttribI4(Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4i((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(Int32 index, Int32 x, Int32 y, Int32 z, Int32 w); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4i")] - public static - void VertexAttribI4(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4i((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static - void VertexAttribI4(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(Int32 index, Int32[] v); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static - void VertexAttribI4(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(Int32 index, ref Int32 v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static - unsafe void VertexAttribI4(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI4(Int32 index, Int32* v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static - void VertexAttribI4(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, Int32[] v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static - void VertexAttribI4(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, ref Int32 v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static - unsafe void VertexAttribI4(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI4(UInt32 index, Int32* v); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] - public static - void VertexAttribI4(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(Int32 index, Int16[] v); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] - public static - void VertexAttribI4(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(Int32 index, ref Int16 v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] - public static - unsafe void VertexAttribI4(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI4(Int32 index, Int16* v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] - public static - void VertexAttribI4(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, Int16[] v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] - public static - void VertexAttribI4(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, ref Int16 v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] - public static - unsafe void VertexAttribI4(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI4(UInt32 index, Int16* v); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] - public static - void VertexAttribI4(Int32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(Int32 index, Byte[] v); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] - public static - void VertexAttribI4(Int32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(Int32 index, ref Byte v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] - public static - unsafe void VertexAttribI4(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI4(Int32 index, Byte* v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] - public static - void VertexAttribI4(UInt32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, Byte[] v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] - public static - void VertexAttribI4(UInt32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, ref Byte v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] - public static - unsafe void VertexAttribI4(UInt32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI4(UInt32 index, Byte* v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4ui")] - public static - void VertexAttribI4(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4ui((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] - public static - void VertexAttribI4(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glVertexAttribI4uiv((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, UInt32[] v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] - public static - void VertexAttribI4(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - Delegates.glVertexAttribI4uiv((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, ref UInt32 v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] - public static - unsafe void VertexAttribI4(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4uiv((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI4(UInt32 index, UInt32* v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4usv")] - public static - void VertexAttribI4(UInt32 index, UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - Delegates.glVertexAttribI4usv((UInt32)index, (UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, UInt16[] v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4usv")] - public static - void VertexAttribI4(UInt32 index, ref UInt16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = &v) - { - Delegates.glVertexAttribI4usv((UInt32)index, (UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribI4(UInt32 index, ref UInt16 v); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribI4usv")] - public static - unsafe void VertexAttribI4(UInt32 index, UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4usv((UInt32)index, (UInt16*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribI4(UInt32 index, UInt16* v); /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glVertexAttribIFormat")] - public static - void VertexAttribIFormat(Int32 attribindex, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, Int32 relativeoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribIFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribIntegerType)type, (UInt32)relativeoffset); - #if DEBUG - } - #endif - } + public static extern void VertexAttribIFormat(Int32 attribindex, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, Int32 relativeoffset); /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glVertexAttribIFormat")] - public static - void VertexAttribIFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, UInt32 relativeoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribIFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribIntegerType)type, (UInt32)relativeoffset); - #if DEBUG - } - #endif - } + public static extern void VertexAttribIFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, UInt32 relativeoffset); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, Int32 stride, IntPtr pointer); /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T4)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, Int32 stride, IntPtr pointer); /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.0] [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + public static extern void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T4)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL1d")] - public static - void VertexAttribL1(Int32 index, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL1d((UInt32)index, (Double)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL1(Int32 index, Double x); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL1d")] - public static - void VertexAttribL1(UInt32 index, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL1d((UInt32)index, (Double)x); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL1(UInt32 index, Double x); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL1dv")] - public static - unsafe void VertexAttribL1(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL1dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL1(Int32 index, Double* v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL1dv")] - public static - unsafe void VertexAttribL1(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL1dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL1(UInt32 index, Double* v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL2d")] - public static - void VertexAttribL2(Int32 index, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL2d((UInt32)index, (Double)x, (Double)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL2(Int32 index, Double x, Double y); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL2d")] - public static - void VertexAttribL2(UInt32 index, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL2d((UInt32)index, (Double)x, (Double)y); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL2(UInt32 index, Double x, Double y); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL2dv")] - public static - void VertexAttribL2(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttribL2dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL2(Int32 index, Double[] v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL2dv")] - public static - void VertexAttribL2(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttribL2dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL2(Int32 index, ref Double v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL2dv")] - public static - unsafe void VertexAttribL2(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL2dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL2(Int32 index, Double* v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL2dv")] - public static - void VertexAttribL2(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttribL2dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL2(UInt32 index, Double[] v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL2dv")] - public static - void VertexAttribL2(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttribL2dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL2(UInt32 index, ref Double v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL2dv")] - public static - unsafe void VertexAttribL2(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL2dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL2(UInt32 index, Double* v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL3d")] - public static - void VertexAttribL3(Int32 index, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL3d((UInt32)index, (Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL3(Int32 index, Double x, Double y, Double z); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL3d")] - public static - void VertexAttribL3(UInt32 index, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL3d((UInt32)index, (Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL3(UInt32 index, Double x, Double y, Double z); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL3dv")] - public static - void VertexAttribL3(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttribL3dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL3(Int32 index, Double[] v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL3dv")] - public static - void VertexAttribL3(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttribL3dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL3(Int32 index, ref Double v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL3dv")] - public static - unsafe void VertexAttribL3(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL3dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL3(Int32 index, Double* v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL3dv")] - public static - void VertexAttribL3(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttribL3dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL3(UInt32 index, Double[] v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL3dv")] - public static - void VertexAttribL3(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttribL3dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL3(UInt32 index, ref Double v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL3dv")] - public static - unsafe void VertexAttribL3(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL3dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL3(UInt32 index, Double* v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL4d")] - public static - void VertexAttribL4(Int32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL4d((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL4(Int32 index, Double x, Double y, Double z, Double w); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL4d")] - public static - void VertexAttribL4(UInt32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL4d((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } + public static extern void VertexAttribL4(UInt32 index, Double x, Double y, Double z, Double w); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL4dv")] - public static - void VertexAttribL4(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttribL4dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL4(Int32 index, Double[] v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL4dv")] - public static - void VertexAttribL4(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttribL4dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL4(Int32 index, ref Double v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL4dv")] - public static - unsafe void VertexAttribL4(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL4dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL4(Int32 index, Double* v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL4dv")] - public static - void VertexAttribL4(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttribL4dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL4(UInt32 index, Double[] v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL4dv")] - public static - void VertexAttribL4(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttribL4dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void VertexAttribL4(UInt32 index, ref Double v); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribL4dv")] - public static - unsafe void VertexAttribL4(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribL4dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribL4(UInt32 index, Double* v); /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glVertexAttribLFormat")] - public static - void VertexAttribLFormat(Int32 attribindex, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, Int32 relativeoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribLFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribDoubleType)type, (UInt32)relativeoffset); - #if DEBUG - } - #endif - } + public static extern void VertexAttribLFormat(Int32 attribindex, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, Int32 relativeoffset); /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glVertexAttribLFormat")] - public static - void VertexAttribLFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, UInt32 relativeoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribLFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribDoubleType)type, (UInt32)relativeoffset); - #if DEBUG - } - #endif - } + public static extern void VertexAttribLFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, UInt32 relativeoffset); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] - public static - void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, Int32 stride, IntPtr pointer); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] - public static - void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + public static extern void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] - public static - void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + public static extern void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] - public static - void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + public static extern void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] - public static - void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + public static extern void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T4)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] - public static - void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, Int32 stride, IntPtr pointer); /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] - public static - void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + public static extern void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] - public static - void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + public static extern void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] - public static - void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + public static extern void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.1 and ARB_vertex_attrib_64bit|VERSION_4_1] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit|VERSION_4_1", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] - public static - void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + public static extern void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T4)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribP1ui")] - public static - void VertexAttribP1(Int32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribP1ui((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32)value); - #if DEBUG - } - #endif - } + public static extern void VertexAttribP1(Int32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, Int32 value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribP1ui")] - public static - void VertexAttribP1(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribP1ui((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32)value); - #if DEBUG - } - #endif - } + public static extern void VertexAttribP1(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32 value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribP1uiv")] - public static - unsafe void VertexAttribP1(Int32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribP1uiv((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribP1(Int32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, Int32* value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribP1uiv")] - public static - unsafe void VertexAttribP1(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribP1uiv((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribP1(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32* value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribP2ui")] - public static - void VertexAttribP2(Int32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribP2ui((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32)value); - #if DEBUG - } - #endif - } + public static extern void VertexAttribP2(Int32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, Int32 value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribP2ui")] - public static - void VertexAttribP2(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribP2ui((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32)value); - #if DEBUG - } - #endif - } + public static extern void VertexAttribP2(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32 value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribP2uiv")] - public static - unsafe void VertexAttribP2(Int32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribP2uiv((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribP2(Int32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, Int32* value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribP2uiv")] - public static - unsafe void VertexAttribP2(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribP2uiv((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribP2(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32* value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribP3ui")] - public static - void VertexAttribP3(Int32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribP3ui((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32)value); - #if DEBUG - } - #endif - } + public static extern void VertexAttribP3(Int32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, Int32 value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribP3ui")] - public static - void VertexAttribP3(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribP3ui((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32)value); - #if DEBUG - } - #endif - } + public static extern void VertexAttribP3(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32 value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribP3uiv")] - public static - unsafe void VertexAttribP3(Int32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribP3uiv((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribP3(Int32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, Int32* value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribP3uiv")] - public static - unsafe void VertexAttribP3(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribP3uiv((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribP3(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32* value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribP4ui")] - public static - void VertexAttribP4(Int32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribP4ui((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32)value); - #if DEBUG - } - #endif - } + public static extern void VertexAttribP4(Int32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, Int32 value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribP4ui")] - public static - void VertexAttribP4(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribP4ui((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32)value); - #if DEBUG - } - #endif - } + public static extern void VertexAttribP4(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32 value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribP4uiv")] - public static - unsafe void VertexAttribP4(Int32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribP4uiv((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribP4(Int32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, Int32* value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexAttribP4uiv")] - public static - unsafe void VertexAttribP4(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribP4uiv((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexAttribP4(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32* value); /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -78353,18 +47256,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer); /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -78400,27 +47292,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] pointer) + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -78456,27 +47330,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] pointer) + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -78512,27 +47368,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] pointer) + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -78568,28 +47406,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 pointer) + public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T5)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -78626,18 +47445,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer); /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -78674,27 +47482,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] pointer) + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -78731,27 +47521,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] pointer) + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -78788,27 +47560,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] pointer) + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v2.0] /// Define an array of generic vertex attribute data @@ -78845,28 +47599,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 pointer) + public static extern void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 pointer) where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T5)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] /// Modify the rate at which generic vertex attributes advance @@ -78882,18 +47617,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glVertexBindingDivisor")] - public static - void VertexBindingDivisor(Int32 bindingindex, Int32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexBindingDivisor((UInt32)bindingindex, (UInt32)divisor); - #if DEBUG - } - #endif - } + public static extern void VertexBindingDivisor(Int32 bindingindex, Int32 divisor); /// [requires: v4.3 and ARB_vertex_attrib_binding|VERSION_4_3] /// Modify the rate at which generic vertex attributes advance @@ -78910,207 +47634,64 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_binding|VERSION_4_3", Version = "4.3", EntryPoint = "glVertexBindingDivisor")] - public static - void VertexBindingDivisor(UInt32 bindingindex, UInt32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexBindingDivisor((UInt32)bindingindex, (UInt32)divisor); - #if DEBUG - } - #endif - } + public static extern void VertexBindingDivisor(UInt32 bindingindex, UInt32 divisor); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexP2ui")] - public static - void VertexP2(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexP2ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)value); - #if DEBUG - } - #endif - } + public static extern void VertexP2(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexP2ui")] - public static - void VertexP2(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexP2ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)value); - #if DEBUG - } - #endif - } + public static extern void VertexP2(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexP2uiv")] - public static - unsafe void VertexP2(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexP2uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexP2(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexP2uiv")] - public static - unsafe void VertexP2(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexP2uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexP2(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexP3ui")] - public static - void VertexP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexP3ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)value); - #if DEBUG - } - #endif - } + public static extern void VertexP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexP3ui")] - public static - void VertexP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexP3ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)value); - #if DEBUG - } - #endif - } + public static extern void VertexP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexP3uiv")] - public static - unsafe void VertexP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexP3uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexP3uiv")] - public static - unsafe void VertexP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexP3uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexP3(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexP4ui")] - public static - void VertexP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexP4ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)value); - #if DEBUG - } - #endif - } + public static extern void VertexP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32 value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexP4ui")] - public static - void VertexP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexP4ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)value); - #if DEBUG - } - #endif - } + public static extern void VertexP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexP4uiv")] - public static - unsafe void VertexP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexP4uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, Int32* value); /// [requires: v3.3 and ARB_vertex_type_2_10_10_10_rev|VERSION_3_3] [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_type_2_10_10_10_rev|VERSION_3_3", Version = "3.3", EntryPoint = "glVertexP4uiv")] - public static - unsafe void VertexP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexP4uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)value); - #if DEBUG - } - #endif - } + public static extern unsafe void VertexP4(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* value); /// [requires: v1.0] /// Set the viewport @@ -79126,18 +47707,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glViewport")] - public static - void Viewport(Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glViewport((Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } + public static extern void Viewport(Int32 x, Int32 y, Int32 width, Int32 height); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set multiple viewports @@ -79158,24 +47728,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportArrayv")] - public static - void ViewportArray(Int32 first, Int32 count, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glViewportArrayv((UInt32)first, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ViewportArray(Int32 first, Int32 count, Single[] v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set multiple viewports @@ -79196,24 +47749,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportArrayv")] - public static - void ViewportArray(Int32 first, Int32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glViewportArrayv((UInt32)first, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ViewportArray(Int32 first, Int32 count, ref Single v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set multiple viewports @@ -79235,18 +47771,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportArrayv")] - public static - unsafe void ViewportArray(Int32 first, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glViewportArrayv((UInt32)first, (Int32)count, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ViewportArray(Int32 first, Int32 count, Single* v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set multiple viewports @@ -79268,24 +47793,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportArrayv")] - public static - void ViewportArray(UInt32 first, Int32 count, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glViewportArrayv((UInt32)first, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ViewportArray(UInt32 first, Int32 count, Single[] v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set multiple viewports @@ -79307,24 +47815,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportArrayv")] - public static - void ViewportArray(UInt32 first, Int32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glViewportArrayv((UInt32)first, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ViewportArray(UInt32 first, Int32 count, ref Single v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set multiple viewports @@ -79346,18 +47837,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportArrayv")] - public static - unsafe void ViewportArray(UInt32 first, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glViewportArrayv((UInt32)first, (Int32)count, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ViewportArray(UInt32 first, Int32 count, Single* v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set a specified viewport @@ -79383,18 +47863,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportIndexedf")] - public static - void ViewportIndexed(Int32 index, Single x, Single y, Single w, Single h) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glViewportIndexedf((UInt32)index, (Single)x, (Single)y, (Single)w, (Single)h); - #if DEBUG - } - #endif - } + public static extern void ViewportIndexed(Int32 index, Single x, Single y, Single w, Single h); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set a specified viewport @@ -79421,18 +47890,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportIndexedf")] - public static - void ViewportIndexed(UInt32 index, Single x, Single y, Single w, Single h) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glViewportIndexedf((UInt32)index, (Single)x, (Single)y, (Single)w, (Single)h); - #if DEBUG - } - #endif - } + public static extern void ViewportIndexed(UInt32 index, Single x, Single y, Single w, Single h); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set a specified viewport @@ -79458,24 +47916,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportIndexedfv")] - public static - void ViewportIndexed(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glViewportIndexedfv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ViewportIndexed(Int32 index, Single[] v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set a specified viewport @@ -79501,24 +47942,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportIndexedfv")] - public static - void ViewportIndexed(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glViewportIndexedfv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ViewportIndexed(Int32 index, ref Single v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set a specified viewport @@ -79545,18 +47969,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportIndexedfv")] - public static - unsafe void ViewportIndexed(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glViewportIndexedfv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ViewportIndexed(Int32 index, Single* v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set a specified viewport @@ -79583,24 +47996,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportIndexedfv")] - public static - void ViewportIndexed(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glViewportIndexedfv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ViewportIndexed(UInt32 index, Single[] v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set a specified viewport @@ -79627,24 +48023,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportIndexedfv")] - public static - void ViewportIndexed(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glViewportIndexedfv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } + public static extern void ViewportIndexed(UInt32 index, ref Single v); /// [requires: v4.1 and ARB_viewport_array|VERSION_4_1] /// Set a specified viewport @@ -79671,18 +48050,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_viewport_array|VERSION_4_1", Version = "4.1", EntryPoint = "glViewportIndexedfv")] - public static - unsafe void ViewportIndexed(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glViewportIndexedfv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } + public static extern unsafe void ViewportIndexed(UInt32 index, Single* v); /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -79703,18 +48071,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glWaitSync")] - public static - OpenTK.Graphics.OpenGL4.WaitSyncStatus WaitSync(IntPtr sync, OpenTK.Graphics.OpenGL4.WaitSyncFlags flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glWaitSync((IntPtr)sync, (OpenTK.Graphics.OpenGL4.WaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.OpenGL4.WaitSyncStatus WaitSync(IntPtr sync, OpenTK.Graphics.OpenGL4.WaitSyncFlags flags, Int64 timeout); /// [requires: v3.2 and ARB_sync|VERSION_3_2] /// Instruct the GL server to block until the specified sync object becomes signaled @@ -79736,18 +48093,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glWaitSync")] - public static - OpenTK.Graphics.OpenGL4.WaitSyncStatus WaitSync(IntPtr sync, OpenTK.Graphics.OpenGL4.WaitSyncFlags flags, UInt64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glWaitSync((IntPtr)sync, (OpenTK.Graphics.OpenGL4.WaitSyncFlags)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } + public static extern OpenTK.Graphics.OpenGL4.WaitSyncStatus WaitSync(IntPtr sync, OpenTK.Graphics.OpenGL4.WaitSyncFlags flags, UInt64 timeout); public static partial class Khr { @@ -79765,18 +48111,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static - void DebugMessageCallback(DebugProcKhr callback, IntPtr userParam) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageCallbackKHR((DebugProcKhr)callback, (IntPtr)userParam); - #if DEBUG - } - #endif - } + public static extern void DebugMessageCallback(DebugProcKhr callback, IntPtr userParam); /// [requires: KHR_debug] /// Specify a callback to receive debugging messages from the GL @@ -79792,27 +48127,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static - void DebugMessageCallback(DebugProcKhr callback, [InAttribute, OutAttribute] T1[] userParam) + public static extern void DebugMessageCallback(DebugProcKhr callback, [InAttribute, OutAttribute] T1[] userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallbackKHR((DebugProcKhr)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Specify a callback to receive debugging messages from the GL @@ -79828,27 +48145,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static - void DebugMessageCallback(DebugProcKhr callback, [InAttribute, OutAttribute] T1[,] userParam) + public static extern void DebugMessageCallback(DebugProcKhr callback, [InAttribute, OutAttribute] T1[,] userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallbackKHR((DebugProcKhr)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Specify a callback to receive debugging messages from the GL @@ -79864,27 +48163,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static - void DebugMessageCallback(DebugProcKhr callback, [InAttribute, OutAttribute] T1[,,] userParam) + public static extern void DebugMessageCallback(DebugProcKhr callback, [InAttribute, OutAttribute] T1[,,] userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallbackKHR((DebugProcKhr)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Specify a callback to receive debugging messages from the GL @@ -79900,28 +48181,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageCallbackKHR")] - public static - void DebugMessageCallback(DebugProcKhr callback, [InAttribute, OutAttribute] ref T1 userParam) + public static extern void DebugMessageCallback(DebugProcKhr callback, [InAttribute, OutAttribute] ref T1 userParam) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle userParam_ptr = GCHandle.Alloc(userParam, GCHandleType.Pinned); - try - { - Delegates.glDebugMessageCallbackKHR((DebugProcKhr)callback, (IntPtr)userParam_ptr.AddrOfPinnedObject()); - userParam = (T1)userParam_ptr.Target; - } - finally - { - userParam_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -79957,24 +48219,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - void DebugMessageControl(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, OpenTK.Graphics.OpenGL4.All severity, Int32 count, Int32[] ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, OpenTK.Graphics.OpenGL4.All severity, Int32 count, Int32[] ids, bool enabled); /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -80010,24 +48255,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - void DebugMessageControl(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, OpenTK.Graphics.OpenGL4.All severity, Int32 count, ref Int32 ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, OpenTK.Graphics.OpenGL4.All severity, Int32 count, ref Int32 ids, bool enabled); /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -80064,18 +48292,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - unsafe void DebugMessageControl(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, OpenTK.Graphics.OpenGL4.All severity, Int32 count, Int32* ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - #if DEBUG - } - #endif - } + public static extern unsafe void DebugMessageControl(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, OpenTK.Graphics.OpenGL4.All severity, Int32 count, Int32* ids, bool enabled); /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -80112,24 +48329,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - void DebugMessageControl(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, OpenTK.Graphics.OpenGL4.All severity, Int32 count, UInt32[] ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, OpenTK.Graphics.OpenGL4.All severity, Int32 count, UInt32[] ids, bool enabled); /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -80166,24 +48366,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - void DebugMessageControl(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, OpenTK.Graphics.OpenGL4.All severity, Int32 count, ref UInt32 ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)count, (UInt32*)ids_ptr, (bool)enabled); - } - } - #if DEBUG - } - #endif - } + public static extern void DebugMessageControl(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, OpenTK.Graphics.OpenGL4.All severity, Int32 count, ref UInt32 ids, bool enabled); /// [requires: KHR_debug] /// Control the reporting of debug messages in a debug context @@ -80220,18 +48403,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] - public static - unsafe void DebugMessageControl(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, OpenTK.Graphics.OpenGL4.All severity, Int32 count, UInt32* ids, bool enabled) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - #if DEBUG - } - #endif - } + public static extern unsafe void DebugMessageControl(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, OpenTK.Graphics.OpenGL4.All severity, Int32 count, UInt32* ids, bool enabled); /// [requires: KHR_debug] /// Inject an application-supplied message into the debug message queue @@ -80267,18 +48439,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsertKHR")] - public static - void DebugMessageInsert(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, Int32 id, OpenTK.Graphics.OpenGL4.All severity, Int32 length, String buf) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageInsertKHR((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (UInt32)id, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)length, (String)buf); - #if DEBUG - } - #endif - } + public static extern void DebugMessageInsert(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, Int32 id, OpenTK.Graphics.OpenGL4.All severity, Int32 length, String buf); /// [requires: KHR_debug] /// Inject an application-supplied message into the debug message queue @@ -80315,18 +48476,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsertKHR")] - public static - void DebugMessageInsert(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, UInt32 id, OpenTK.Graphics.OpenGL4.All severity, Int32 length, String buf) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDebugMessageInsertKHR((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (UInt32)id, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)length, (String)buf); - #if DEBUG - } - #endif - } + public static extern void DebugMessageInsert(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, UInt32 id, OpenTK.Graphics.OpenGL4.All severity, Int32 length, String buf); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -80372,28 +48522,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL4.All* sources_ptr = sources) - fixed (OpenTK.Graphics.OpenGL4.All* types_ptr = types) - fixed (Int32* ids_ptr = ids) - fixed (OpenTK.Graphics.OpenGL4.All* severities_ptr = severities) - fixed (Int32* lengths_ptr = lengths) - { - return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.All*)sources_ptr, (OpenTK.Graphics.OpenGL4.All*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL4.All*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -80439,34 +48568,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL4.All sources, [OutAttribute] out OpenTK.Graphics.OpenGL4.All types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL4.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL4.All* sources_ptr = &sources) - fixed (OpenTK.Graphics.OpenGL4.All* types_ptr = &types) - fixed (Int32* ids_ptr = &ids) - fixed (OpenTK.Graphics.OpenGL4.All* severities_ptr = &severities) - fixed (Int32* lengths_ptr = &lengths) - { - Int32 retval = Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.All*)sources_ptr, (OpenTK.Graphics.OpenGL4.All*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL4.All*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL4.All sources, [OutAttribute] out OpenTK.Graphics.OpenGL4.All types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL4.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -80513,18 +48615,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.All*)sources, (OpenTK.Graphics.OpenGL4.All*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL4.All*)severities, (Int32*)lengths, (StringBuilder)messageLog); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -80571,28 +48662,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL4.All* sources_ptr = sources) - fixed (OpenTK.Graphics.OpenGL4.All* types_ptr = types) - fixed (UInt32* ids_ptr = ids) - fixed (OpenTK.Graphics.OpenGL4.All* severities_ptr = severities) - fixed (Int32* lengths_ptr = lengths) - { - return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.All*)sources_ptr, (OpenTK.Graphics.OpenGL4.All*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL4.All*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -80639,34 +48709,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL4.All sources, [OutAttribute] out OpenTK.Graphics.OpenGL4.All types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL4.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.OpenGL4.All* sources_ptr = &sources) - fixed (OpenTK.Graphics.OpenGL4.All* types_ptr = &types) - fixed (UInt32* ids_ptr = &ids) - fixed (OpenTK.Graphics.OpenGL4.All* severities_ptr = &severities) - fixed (Int32* lengths_ptr = &lengths) - { - Int32 retval = Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.All*)sources_ptr, (OpenTK.Graphics.OpenGL4.All*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL4.All*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); - sources = *sources_ptr; - types = *types_ptr; - ids = *ids_ptr; - severities = *severities_ptr; - lengths = *lengths_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } + public static extern Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL4.All sources, [OutAttribute] out OpenTK.Graphics.OpenGL4.All types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL4.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve messages from the debug message log @@ -80713,18 +48756,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] - public static - unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.All*)sources, (OpenTK.Graphics.OpenGL4.All*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL4.All*)severities, (Int32*)lengths, (StringBuilder)messageLog); - #if DEBUG - } - #endif - } + public static extern unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -80755,24 +48787,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - void GetObjectLabel(OpenTK.Graphics.OpenGL4.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.OpenGL4.All)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.OpenGL4.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -80803,25 +48818,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - void GetObjectLabel(OpenTK.Graphics.OpenGL4.All identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.OpenGL4.All)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.OpenGL4.All identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -80853,18 +48850,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - unsafe void GetObjectLabel(OpenTK.Graphics.OpenGL4.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.OpenGL4.All)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectLabel(OpenTK.Graphics.OpenGL4.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -80896,24 +48882,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - void GetObjectLabel(OpenTK.Graphics.OpenGL4.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.OpenGL4.All)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.OpenGL4.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -80945,25 +48914,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - void GetObjectLabel(OpenTK.Graphics.OpenGL4.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.OpenGL4.All)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectLabel(OpenTK.Graphics.OpenGL4.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a named object identified within a namespace @@ -80995,18 +48946,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] - public static - unsafe void GetObjectLabel(OpenTK.Graphics.OpenGL4.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.OpenGL4.All)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectLabel(OpenTK.Graphics.OpenGL4.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -81032,24 +48972,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -81075,25 +48998,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } + public static extern void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -81120,18 +49025,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - #if DEBUG - } - #endif - } + public static extern unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -81157,33 +49051,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -81209,34 +49079,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -81263,27 +49108,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + public static extern unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -81309,33 +49136,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -81361,34 +49164,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -81415,27 +49193,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + public static extern unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -81461,33 +49221,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -81513,34 +49249,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -81567,27 +49278,9 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + public static extern unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -81613,34 +49306,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - ptr = (T0)ptr_ptr.Target; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -81666,35 +49334,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) + public static extern void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label); - ptr = (T0)ptr_ptr.Target; - length = *length_ptr; - } - finally - { - ptr_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Retrieve the label of a sync object identified by a pointer @@ -81721,140 +49363,37 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] - public static - unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + public static extern unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)bufSize, (Int32*)length, (StringBuilder)label); - ptr = (T0)ptr_ptr.Target; - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static - void GetPointer(OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPointervKHR((OpenTK.Graphics.OpenGL4.All)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } + public static extern void GetPointer(OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] IntPtr @params); /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static - void GetPointer(OpenTK.Graphics.OpenGL4.All pname, [InAttribute, OutAttribute] T1[] @params) + public static extern void GetPointer(OpenTK.Graphics.OpenGL4.All pname, [InAttribute, OutAttribute] T1[] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointervKHR((OpenTK.Graphics.OpenGL4.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static - void GetPointer(OpenTK.Graphics.OpenGL4.All pname, [InAttribute, OutAttribute] T1[,] @params) + public static extern void GetPointer(OpenTK.Graphics.OpenGL4.All pname, [InAttribute, OutAttribute] T1[,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointervKHR((OpenTK.Graphics.OpenGL4.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static - void GetPointer(OpenTK.Graphics.OpenGL4.All pname, [InAttribute, OutAttribute] T1[,,] @params) + public static extern void GetPointer(OpenTK.Graphics.OpenGL4.All pname, [InAttribute, OutAttribute] T1[,,] @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointervKHR((OpenTK.Graphics.OpenGL4.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetPointervKHR")] - public static - void GetPointer(OpenTK.Graphics.OpenGL4.All pname, [InAttribute, OutAttribute] ref T1 @params) + public static extern void GetPointer(OpenTK.Graphics.OpenGL4.All pname, [InAttribute, OutAttribute] ref T1 @params) where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointervKHR((OpenTK.Graphics.OpenGL4.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - @params = (T1)@params_ptr.Target; - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Label a named object identified within a namespace @@ -81880,18 +49419,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabelKHR")] - public static - void ObjectLabel(OpenTK.Graphics.OpenGL4.All identifier, Int32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glObjectLabelKHR((OpenTK.Graphics.OpenGL4.All)identifier, (UInt32)name, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void ObjectLabel(OpenTK.Graphics.OpenGL4.All identifier, Int32 name, Int32 length, String label); /// [requires: KHR_debug] /// Label a named object identified within a namespace @@ -81918,18 +49446,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabelKHR")] - public static - void ObjectLabel(OpenTK.Graphics.OpenGL4.All identifier, UInt32 name, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glObjectLabelKHR((OpenTK.Graphics.OpenGL4.All)identifier, (UInt32)name, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void ObjectLabel(OpenTK.Graphics.OpenGL4.All identifier, UInt32 name, Int32 length, String label); /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -81950,18 +49467,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static - void ObjectPtrLabel(IntPtr ptr, Int32 length, String label) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glObjectPtrLabelKHR((IntPtr)ptr, (Int32)length, (String)label); - #if DEBUG - } - #endif - } + public static extern void ObjectPtrLabel(IntPtr ptr, Int32 length, String label); /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -81982,27 +49488,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static - void ObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 length, String label) + public static extern void ObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 length, String label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -82023,27 +49511,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static - void ObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 length, String label) + public static extern void ObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 length, String label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -82064,27 +49534,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static - void ObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 length, String label) + public static extern void ObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 length, String label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label); - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Label a a sync object identified by a pointer @@ -82105,45 +49557,15 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectPtrLabelKHR")] - public static - void ObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 length, String label) + public static extern void ObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 length, String label) where T0 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); - try - { - Delegates.glObjectPtrLabelKHR((IntPtr)ptr_ptr.AddrOfPinnedObject(), (Int32)length, (String)label); - ptr = (T0)ptr_ptr.Target; - } - finally - { - ptr_ptr.Free(); - } - #if DEBUG - } - #endif - } + ; /// [requires: KHR_debug] /// Pop the active debug group /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPopDebugGroupKHR")] - public static - void PopDebugGroup() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPopDebugGroupKHR(); - #if DEBUG - } - #endif - } + public static extern void PopDebugGroup(); /// [requires: KHR_debug] /// Push a named debug group into the command stream @@ -82169,18 +49591,7 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPushDebugGroupKHR")] - public static - void PushDebugGroup(OpenTK.Graphics.OpenGL4.All source, Int32 id, Int32 length, String message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPushDebugGroupKHR((OpenTK.Graphics.OpenGL4.All)source, (UInt32)id, (Int32)length, (String)message); - #if DEBUG - } - #endif - } + public static extern void PushDebugGroup(OpenTK.Graphics.OpenGL4.All source, Int32 id, Int32 length, String message); /// [requires: KHR_debug] /// Push a named debug group into the command stream @@ -82207,20 +49618,2025 @@ namespace OpenTK.Graphics.OpenGL4 /// [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glPushDebugGroupKHR")] - public static - void PushDebugGroup(OpenTK.Graphics.OpenGL4.All source, UInt32 id, Int32 length, String message) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPushDebugGroupKHR((OpenTK.Graphics.OpenGL4.All)source, (UInt32)id, (Int32)length, (String)message); - #if DEBUG - } - #endif - } + public static extern void PushDebugGroup(OpenTK.Graphics.OpenGL4.All source, UInt32 id, Int32 length, String message); } + [Slot(31)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendEquationiARB(UInt32 buf, System.Int32 mode); + [Slot(34)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendEquationSeparateiARB(UInt32 buf, System.Int32 modeRGB, System.Int32 modeAlpha); + [Slot(37)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendFunciARB(UInt32 buf, System.Int32 src, System.Int32 dst); + [Slot(40)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendFuncSeparateiARB(UInt32 buf, System.Int32 srcRGB, System.Int32 dstRGB, System.Int32 srcAlpha, System.Int32 dstAlpha); + [Slot(72)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glCompileShaderIncludeARB(UInt32 shader, Int32 count, IntPtr path, Int32* length); + [Slot(99)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe IntPtr glCreateSyncFromCLeventARB([OutAttribute] IntPtr* context, [OutAttribute] IntPtr* @event, UInt32 flags); + [Slot(102)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDebugMessageCallbackARB(DebugProcArb callback, IntPtr userParam); + [Slot(105)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDebugMessageControlARB(System.Int32 source, System.Int32 type, System.Int32 severity, Int32 count, UInt32* ids, bool enabled); + [Slot(108)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDebugMessageInsertARB(System.Int32 source, System.Int32 type, UInt32 id, System.Int32 severity, Int32 length, IntPtr buf); + [Slot(112)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDeleteNamedStringARB(Int32 namelen, IntPtr name); + [Slot(134)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDispatchComputeGroupSizeARB(UInt32 num_groups_x, UInt32 num_groups_y, UInt32 num_groups_z, UInt32 group_size_x, UInt32 group_size_y, UInt32 group_size_z); + [Slot(210)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe Int32 glGetDebugMessageLogARB(UInt32 count, Int32 bufSize, [OutAttribute] System.Int32* sources, [OutAttribute] System.Int32* types, [OutAttribute] UInt32* ids, [OutAttribute] System.Int32* severities, [OutAttribute] Int32* lengths, [OutAttribute] IntPtr messageLog); + [Slot(221)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern System.Int32 glGetGraphicsResetStatusARB(); + [Slot(225)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int64 glGetImageHandleARB(UInt32 texture, Int32 level, bool layered, Int32 layer, System.Int32 format); + [Slot(236)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetNamedStringARB(Int32 namelen, IntPtr name, Int32 bufSize, [OutAttribute] Int32* stringlen, [OutAttribute] IntPtr @string); + [Slot(237)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetNamedStringivARB(Int32 namelen, IntPtr name, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(238)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetnColorTableARB(System.Int32 target, System.Int32 format, System.Int32 type, Int32 bufSize, [OutAttribute] IntPtr table); + [Slot(239)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetnCompressedTexImageARB(System.Int32 target, Int32 lod, Int32 bufSize, [OutAttribute] IntPtr img); + [Slot(240)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetnConvolutionFilterARB(System.Int32 target, System.Int32 format, System.Int32 type, Int32 bufSize, [OutAttribute] IntPtr image); + [Slot(241)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetnHistogramARB(System.Int32 target, bool reset, System.Int32 format, System.Int32 type, Int32 bufSize, [OutAttribute] IntPtr values); + [Slot(242)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetnMapdvARB(System.Int32 target, System.Int32 query, Int32 bufSize, [OutAttribute] Double* v); + [Slot(243)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetnMapfvARB(System.Int32 target, System.Int32 query, Int32 bufSize, [OutAttribute] Single* v); + [Slot(244)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetnMapivARB(System.Int32 target, System.Int32 query, Int32 bufSize, [OutAttribute] Int32* v); + [Slot(245)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetnMinmaxARB(System.Int32 target, bool reset, System.Int32 format, System.Int32 type, Int32 bufSize, [OutAttribute] IntPtr values); + [Slot(246)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetnPixelMapfvARB(System.Int32 map, Int32 bufSize, [OutAttribute] Single* values); + [Slot(247)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetnPixelMapuivARB(System.Int32 map, Int32 bufSize, [OutAttribute] UInt32* values); + [Slot(248)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetnPixelMapusvARB(System.Int32 map, Int32 bufSize, [OutAttribute] UInt16* values); + [Slot(249)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetnPolygonStippleARB(Int32 bufSize, [OutAttribute] Byte* pattern); + [Slot(250)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetnSeparableFilterARB(System.Int32 target, System.Int32 format, System.Int32 type, Int32 rowBufSize, [OutAttribute] IntPtr row, Int32 columnBufSize, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span); + [Slot(251)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetnTexImageARB(System.Int32 target, Int32 level, System.Int32 format, System.Int32 type, Int32 bufSize, [OutAttribute] IntPtr img); + [Slot(252)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetnUniformdvARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Double* @params); + [Slot(253)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetnUniformfvARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params); + [Slot(254)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetnUniformivARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params); + [Slot(255)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetnUniformuivARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] UInt32* @params); + [Slot(302)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int64 glGetTextureHandleARB(UInt32 texture); + [Slot(303)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int64 glGetTextureSamplerHandleARB(UInt32 texture, UInt32 sampler); + [Slot(319)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexAttribLui64vARB(UInt32 index, System.Int32 pname, [OutAttribute] UInt64* @params); + [Slot(333)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsImageHandleResidentARB(UInt64 handle); + [Slot(334)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsNamedStringARB(Int32 namelen, IntPtr name); + [Slot(343)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsTextureHandleResidentARB(UInt64 handle); + [Slot(349)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMakeImageHandleNonResidentARB(UInt64 handle); + [Slot(350)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMakeImageHandleResidentARB(UInt64 handle, System.Int32 access); + [Slot(351)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMakeTextureHandleNonResidentARB(UInt64 handle); + [Slot(352)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMakeTextureHandleResidentARB(UInt64 handle); + [Slot(358)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMinSampleShadingARB(Single value); + [Slot(361)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiDrawArraysIndirectCountARB(System.Int32 mode, IntPtr indirect, IntPtr drawcount, Int32 maxdrawcount, Int32 stride); + [Slot(365)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiDrawElementsIndirectCountARB(System.Int32 mode, System.Int32 type, IntPtr indirect, IntPtr drawcount, Int32 maxdrawcount, Int32 stride); + [Slot(374)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNamedStringARB(System.Int32 type, Int32 namelen, IntPtr name, Int32 stringlen, IntPtr @string); + [Slot(430)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniformHandleui64ARB(UInt32 program, Int32 location, UInt64 value); + [Slot(431)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformHandleui64vARB(UInt32 program, Int32 location, Int32 count, UInt64* values); + [Slot(455)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glReadnPixelsARB(Int32 x, Int32 y, Int32 width, Int32 height, System.Int32 format, System.Int32 type, Int32 bufSize, [OutAttribute] IntPtr data); + [Slot(502)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexPageCommitmentARB(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, bool resident); + [Slot(552)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniformHandleui64ARB(Int32 location, UInt64 value); + [Slot(553)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformHandleui64vARB(Int32 location, Int32 count, UInt64* value); + [Slot(641)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribL1ui64ARB(UInt32 index, UInt64 x); + [Slot(642)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribL1ui64vARB(UInt32 index, UInt64* v); + [Slot(0)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glActiveShaderProgram(UInt32 pipeline, UInt32 program); + [Slot(1)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glActiveTexture(System.Int32 texture); + [Slot(2)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glAttachShader(UInt32 program, UInt32 shader); + [Slot(3)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBeginConditionalRender(UInt32 id, System.Int32 mode); + [Slot(4)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBeginQuery(System.Int32 target, UInt32 id); + [Slot(5)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBeginQueryIndexed(System.Int32 target, UInt32 index, UInt32 id); + [Slot(6)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBeginTransformFeedback(System.Int32 primitiveMode); + [Slot(7)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindAttribLocation(UInt32 program, UInt32 index, IntPtr name); + [Slot(8)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindBuffer(System.Int32 target, UInt32 buffer); + [Slot(9)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindBufferBase(System.Int32 target, UInt32 index, UInt32 buffer); + [Slot(10)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindBufferRange(System.Int32 target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); + [Slot(11)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glBindBuffersBase(System.Int32 target, UInt32 first, Int32 count, UInt32* buffers); + [Slot(12)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glBindBuffersRange(System.Int32 target, UInt32 first, Int32 count, UInt32* buffers, IntPtr* offsets, IntPtr* sizes); + [Slot(13)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindFragDataLocation(UInt32 program, UInt32 color, IntPtr name); + [Slot(14)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindFragDataLocationIndexed(UInt32 program, UInt32 colorNumber, UInt32 index, IntPtr name); + [Slot(15)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindFramebuffer(System.Int32 target, UInt32 framebuffer); + [Slot(16)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindImageTexture(UInt32 unit, UInt32 texture, Int32 level, bool layered, Int32 layer, System.Int32 access, System.Int32 format); + [Slot(17)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glBindImageTextures(UInt32 first, Int32 count, UInt32* textures); + [Slot(18)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindProgramPipeline(UInt32 pipeline); + [Slot(19)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindRenderbuffer(System.Int32 target, UInt32 renderbuffer); + [Slot(20)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindSampler(UInt32 unit, UInt32 sampler); + [Slot(21)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glBindSamplers(UInt32 first, Int32 count, UInt32* samplers); + [Slot(22)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindTexture(System.Int32 target, UInt32 texture); + [Slot(23)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glBindTextures(UInt32 first, Int32 count, UInt32* textures); + [Slot(24)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindTransformFeedback(System.Int32 target, UInt32 id); + [Slot(25)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindVertexArray(UInt32 array); + [Slot(26)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBindVertexBuffer(UInt32 bindingindex, UInt32 buffer, IntPtr offset, Int32 stride); + [Slot(27)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glBindVertexBuffers(UInt32 first, Int32 count, UInt32* buffers, IntPtr* offsets, Int32* strides); + [Slot(28)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendColor(Single red, Single green, Single blue, Single alpha); + [Slot(29)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendEquation(System.Int32 mode); + [Slot(30)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendEquationi(UInt32 buf, System.Int32 mode); + [Slot(32)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendEquationSeparate(System.Int32 modeRGB, System.Int32 modeAlpha); + [Slot(33)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendEquationSeparatei(UInt32 buf, System.Int32 modeRGB, System.Int32 modeAlpha); + [Slot(35)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendFunc(System.Int32 sfactor, System.Int32 dfactor); + [Slot(36)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendFunci(UInt32 buf, System.Int32 src, System.Int32 dst); + [Slot(38)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendFuncSeparate(System.Int32 sfactorRGB, System.Int32 dfactorRGB, System.Int32 sfactorAlpha, System.Int32 dfactorAlpha); + [Slot(39)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlendFuncSeparatei(UInt32 buf, System.Int32 srcRGB, System.Int32 dstRGB, System.Int32 srcAlpha, System.Int32 dstAlpha); + [Slot(41)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, System.Int32 mask, System.Int32 filter); + [Slot(42)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBufferData(System.Int32 target, IntPtr size, IntPtr data, System.Int32 usage); + [Slot(43)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBufferStorage(System.Int32 target, IntPtr size, IntPtr data, System.Int32 flags); + [Slot(44)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glBufferSubData(System.Int32 target, IntPtr offset, IntPtr size, IntPtr data); + [Slot(45)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern System.Int32 glCheckFramebufferStatus(System.Int32 target); + [Slot(46)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClampColor(System.Int32 target, System.Int32 clamp); + [Slot(47)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClear(System.Int32 mask); + [Slot(48)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearBufferData(System.Int32 target, System.Int32 internalformat, System.Int32 format, System.Int32 type, IntPtr data); + [Slot(49)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearBufferfi(System.Int32 buffer, Int32 drawbuffer, Single depth, Int32 stencil); + [Slot(50)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glClearBufferfv(System.Int32 buffer, Int32 drawbuffer, Single* value); + [Slot(51)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glClearBufferiv(System.Int32 buffer, Int32 drawbuffer, Int32* value); + [Slot(52)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearBufferSubData(System.Int32 target, System.Int32 internalformat, IntPtr offset, IntPtr size, System.Int32 format, System.Int32 type, IntPtr data); + [Slot(53)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glClearBufferuiv(System.Int32 buffer, Int32 drawbuffer, UInt32* value); + [Slot(54)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearColor(Single red, Single green, Single blue, Single alpha); + [Slot(55)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearDepth(Double depth); + [Slot(56)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearDepthf(Single d); + [Slot(57)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearStencil(Int32 s); + [Slot(58)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearTexImage(UInt32 texture, Int32 level, System.Int32 format, System.Int32 type, IntPtr data); + [Slot(59)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glClearTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, System.Int32 format, System.Int32 type, IntPtr data); + [Slot(60)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern System.Int32 glClientWaitSync(IntPtr sync, System.Int32 flags, UInt64 timeout); + [Slot(61)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColorMask(bool red, bool green, bool blue, bool alpha); + [Slot(62)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColorMaski(UInt32 index, bool r, bool g, bool b, bool a); + [Slot(63)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColorP3ui(System.Int32 type, UInt32 color); + [Slot(64)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColorP3uiv(System.Int32 type, UInt32* color); + [Slot(65)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColorP4ui(System.Int32 type, UInt32 color); + [Slot(66)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColorP4uiv(System.Int32 type, UInt32* color); + [Slot(67)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColorSubTable(System.Int32 target, Int32 start, Int32 count, System.Int32 format, System.Int32 type, IntPtr data); + [Slot(68)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glColorTable(System.Int32 target, System.Int32 internalformat, Int32 width, System.Int32 format, System.Int32 type, IntPtr table); + [Slot(69)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColorTableParameterfv(System.Int32 target, System.Int32 pname, Single* @params); + [Slot(70)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glColorTableParameteriv(System.Int32 target, System.Int32 pname, Int32* @params); + [Slot(71)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompileShader(UInt32 shader); + [Slot(73)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTexImage1D(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data); + [Slot(74)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTexImage2D(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); + [Slot(75)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTexImage3D(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); + [Slot(76)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTexSubImage1D(System.Int32 target, Int32 level, Int32 xoffset, Int32 width, System.Int32 format, Int32 imageSize, IntPtr data); + [Slot(77)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTexSubImage2D(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, System.Int32 format, Int32 imageSize, IntPtr data); + [Slot(78)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCompressedTexSubImage3D(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, System.Int32 format, Int32 imageSize, IntPtr data); + [Slot(79)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glConvolutionFilter1D(System.Int32 target, System.Int32 internalformat, Int32 width, System.Int32 format, System.Int32 type, IntPtr image); + [Slot(80)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glConvolutionFilter2D(System.Int32 target, System.Int32 internalformat, Int32 width, Int32 height, System.Int32 format, System.Int32 type, IntPtr image); + [Slot(81)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glConvolutionParameterf(System.Int32 target, System.Int32 pname, Single @params); + [Slot(82)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glConvolutionParameterfv(System.Int32 target, System.Int32 pname, Single* @params); + [Slot(83)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glConvolutionParameteri(System.Int32 target, System.Int32 pname, Int32 @params); + [Slot(84)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glConvolutionParameteriv(System.Int32 target, System.Int32 pname, Int32* @params); + [Slot(85)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyBufferSubData(System.Int32 readTarget, System.Int32 writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size); + [Slot(86)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyColorSubTable(System.Int32 target, Int32 start, Int32 x, Int32 y, Int32 width); + [Slot(87)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyColorTable(System.Int32 target, System.Int32 internalformat, Int32 x, Int32 y, Int32 width); + [Slot(88)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyConvolutionFilter1D(System.Int32 target, System.Int32 internalformat, Int32 x, Int32 y, Int32 width); + [Slot(89)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyConvolutionFilter2D(System.Int32 target, System.Int32 internalformat, Int32 x, Int32 y, Int32 width, Int32 height); + [Slot(90)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyImageSubData(UInt32 srcName, System.Int32 srcTarget, Int32 srcLevel, Int32 srcX, Int32 srcY, Int32 srcZ, UInt32 dstName, System.Int32 dstTarget, Int32 dstLevel, Int32 dstX, Int32 dstY, Int32 dstZ, Int32 srcWidth, Int32 srcHeight, Int32 srcDepth); + [Slot(91)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyTexImage1D(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 x, Int32 y, Int32 width, Int32 border); + [Slot(92)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyTexImage2D(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); + [Slot(93)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyTexSubImage1D(System.Int32 target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); + [Slot(94)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyTexSubImage2D(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [Slot(95)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCopyTexSubImage3D(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [Slot(96)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glCreateProgram(); + [Slot(97)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glCreateShader(System.Int32 type); + [Slot(98)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glCreateShaderProgramv(System.Int32 type, Int32 count, IntPtr strings); + [Slot(100)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glCullFace(System.Int32 mode); + [Slot(101)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDebugMessageCallback(DebugProc callback, IntPtr userParam); + [Slot(104)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDebugMessageControl(System.Int32 source, System.Int32 type, System.Int32 severity, Int32 count, UInt32* ids, bool enabled); + [Slot(107)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDebugMessageInsert(System.Int32 source, System.Int32 type, UInt32 id, System.Int32 severity, Int32 length, IntPtr buf); + [Slot(110)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteBuffers(Int32 n, UInt32* buffers); + [Slot(111)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteFramebuffers(Int32 n, UInt32* framebuffers); + [Slot(113)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDeleteProgram(UInt32 program); + [Slot(114)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteProgramPipelines(Int32 n, UInt32* pipelines); + [Slot(115)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteQueries(Int32 n, UInt32* ids); + [Slot(116)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteRenderbuffers(Int32 n, UInt32* renderbuffers); + [Slot(117)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteSamplers(Int32 count, UInt32* samplers); + [Slot(118)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDeleteShader(UInt32 shader); + [Slot(119)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDeleteSync(IntPtr sync); + [Slot(120)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteTextures(Int32 n, UInt32* textures); + [Slot(121)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteTransformFeedbacks(Int32 n, UInt32* ids); + [Slot(122)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDeleteVertexArrays(Int32 n, UInt32* arrays); + [Slot(123)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDepthFunc(System.Int32 func); + [Slot(124)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDepthMask(bool flag); + [Slot(125)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDepthRange(Double near, Double far); + [Slot(126)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDepthRangeArrayv(UInt32 first, Int32 count, Double* v); + [Slot(127)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDepthRangef(Single n, Single f); + [Slot(128)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDepthRangeIndexed(UInt32 index, Double n, Double f); + [Slot(129)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDetachShader(UInt32 program, UInt32 shader); + [Slot(130)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDisable(System.Int32 cap); + [Slot(131)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDisablei(System.Int32 target, UInt32 index); + [Slot(132)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDisableVertexAttribArray(UInt32 index); + [Slot(133)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDispatchCompute(UInt32 num_groups_x, UInt32 num_groups_y, UInt32 num_groups_z); + [Slot(135)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDispatchComputeIndirect(IntPtr indirect); + [Slot(136)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawArrays(System.Int32 mode, Int32 first, Int32 count); + [Slot(137)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawArraysIndirect(System.Int32 mode, IntPtr indirect); + [Slot(138)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawArraysInstanced(System.Int32 mode, Int32 first, Int32 count, Int32 instancecount); + [Slot(139)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawArraysInstancedBaseInstance(System.Int32 mode, Int32 first, Int32 count, Int32 instancecount, UInt32 baseinstance); + [Slot(140)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawBuffer(System.Int32 mode); + [Slot(141)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDrawBuffers(Int32 n, System.Int32* bufs); + [Slot(142)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawElements(System.Int32 mode, Int32 count, System.Int32 type, IntPtr indices); + [Slot(143)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawElementsBaseVertex(System.Int32 mode, Int32 count, System.Int32 type, IntPtr indices, Int32 basevertex); + [Slot(144)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawElementsIndirect(System.Int32 mode, System.Int32 type, IntPtr indirect); + [Slot(145)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawElementsInstanced(System.Int32 mode, Int32 count, System.Int32 type, IntPtr indices, Int32 instancecount); + [Slot(146)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawElementsInstancedBaseInstance(System.Int32 mode, Int32 count, System.Int32 type, IntPtr indices, Int32 instancecount, UInt32 baseinstance); + [Slot(147)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawElementsInstancedBaseVertex(System.Int32 mode, Int32 count, System.Int32 type, IntPtr indices, Int32 instancecount, Int32 basevertex); + [Slot(148)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawElementsInstancedBaseVertexBaseInstance(System.Int32 mode, Int32 count, System.Int32 type, IntPtr indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance); + [Slot(149)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawRangeElements(System.Int32 mode, UInt32 start, UInt32 end, Int32 count, System.Int32 type, IntPtr indices); + [Slot(150)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawRangeElementsBaseVertex(System.Int32 mode, UInt32 start, UInt32 end, Int32 count, System.Int32 type, IntPtr indices, Int32 basevertex); + [Slot(151)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawTransformFeedback(System.Int32 mode, UInt32 id); + [Slot(152)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawTransformFeedbackInstanced(System.Int32 mode, UInt32 id, Int32 instancecount); + [Slot(153)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawTransformFeedbackStream(System.Int32 mode, UInt32 id, UInt32 stream); + [Slot(154)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDrawTransformFeedbackStreamInstanced(System.Int32 mode, UInt32 id, UInt32 stream, Int32 instancecount); + [Slot(155)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEnable(System.Int32 cap); + [Slot(156)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEnablei(System.Int32 target, UInt32 index); + [Slot(157)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEnableVertexAttribArray(UInt32 index); + [Slot(158)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEndConditionalRender(); + [Slot(159)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEndQuery(System.Int32 target); + [Slot(160)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEndQueryIndexed(System.Int32 target, UInt32 index); + [Slot(161)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glEndTransformFeedback(); + [Slot(162)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern IntPtr glFenceSync(System.Int32 condition, System.Int32 flags); + [Slot(163)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFinish(); + [Slot(164)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFlush(); + [Slot(165)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFlushMappedBufferRange(System.Int32 target, IntPtr offset, IntPtr length); + [Slot(166)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferParameteri(System.Int32 target, System.Int32 pname, Int32 param); + [Slot(167)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferRenderbuffer(System.Int32 target, System.Int32 attachment, System.Int32 renderbuffertarget, UInt32 renderbuffer); + [Slot(168)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferTexture(System.Int32 target, System.Int32 attachment, UInt32 texture, Int32 level); + [Slot(169)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferTexture1D(System.Int32 target, System.Int32 attachment, System.Int32 textarget, UInt32 texture, Int32 level); + [Slot(170)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferTexture2D(System.Int32 target, System.Int32 attachment, System.Int32 textarget, UInt32 texture, Int32 level); + [Slot(171)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferTexture3D(System.Int32 target, System.Int32 attachment, System.Int32 textarget, UInt32 texture, Int32 level, Int32 zoffset); + [Slot(172)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFramebufferTextureLayer(System.Int32 target, System.Int32 attachment, UInt32 texture, Int32 level, Int32 layer); + [Slot(173)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glFrontFace(System.Int32 mode); + [Slot(174)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenBuffers(Int32 n, [OutAttribute] UInt32* buffers); + [Slot(175)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGenerateMipmap(System.Int32 target); + [Slot(176)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers); + [Slot(177)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenProgramPipelines(Int32 n, [OutAttribute] UInt32* pipelines); + [Slot(178)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenQueries(Int32 n, [OutAttribute] UInt32* ids); + [Slot(179)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers); + [Slot(180)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenSamplers(Int32 count, [OutAttribute] UInt32* samplers); + [Slot(181)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenTextures(Int32 n, [OutAttribute] UInt32* textures); + [Slot(182)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenTransformFeedbacks(Int32 n, [OutAttribute] UInt32* ids); + [Slot(183)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays); + [Slot(184)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetActiveAtomicCounterBufferiv(UInt32 program, UInt32 bufferIndex, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(185)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] System.Int32* type, [OutAttribute] IntPtr name); + [Slot(186)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetActiveSubroutineName(UInt32 program, System.Int32 shadertype, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] IntPtr name); + [Slot(187)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetActiveSubroutineUniformiv(UInt32 program, System.Int32 shadertype, UInt32 index, System.Int32 pname, [OutAttribute] Int32* values); + [Slot(188)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetActiveSubroutineUniformName(UInt32 program, System.Int32 shadertype, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] IntPtr name); + [Slot(189)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] System.Int32* type, [OutAttribute] IntPtr name); + [Slot(190)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetActiveUniformBlockiv(UInt32 program, UInt32 uniformBlockIndex, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(191)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr uniformBlockName); + [Slot(192)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr uniformName); + [Slot(193)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetActiveUniformsiv(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(194)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders); + [Slot(195)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGetAttribLocation(UInt32 program, IntPtr name); + [Slot(196)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetBooleani_v(System.Int32 target, UInt32 index, [OutAttribute] bool* data); + [Slot(197)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetBooleanv(System.Int32 pname, [OutAttribute] bool* data); + [Slot(198)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetBufferParameteri64v(System.Int32 target, System.Int32 pname, [OutAttribute] Int64* @params); + [Slot(199)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetBufferParameteriv(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(200)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetBufferPointerv(System.Int32 target, System.Int32 pname, [OutAttribute] IntPtr @params); + [Slot(201)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetBufferSubData(System.Int32 target, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data); + [Slot(202)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetColorTable(System.Int32 target, System.Int32 format, System.Int32 type, [OutAttribute] IntPtr table); + [Slot(203)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetColorTableParameterfv(System.Int32 target, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(204)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetColorTableParameteriv(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(205)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetCompressedTexImage(System.Int32 target, Int32 level, [OutAttribute] IntPtr img); + [Slot(206)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetConvolutionFilter(System.Int32 target, System.Int32 format, System.Int32 type, [OutAttribute] IntPtr image); + [Slot(207)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetConvolutionParameterfv(System.Int32 target, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(208)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetConvolutionParameteriv(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(209)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe Int32 glGetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] System.Int32* sources, [OutAttribute] System.Int32* types, [OutAttribute] UInt32* ids, [OutAttribute] System.Int32* severities, [OutAttribute] Int32* lengths, [OutAttribute] IntPtr messageLog); + [Slot(212)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetDoublei_v(System.Int32 target, UInt32 index, [OutAttribute] Double* data); + [Slot(213)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetDoublev(System.Int32 pname, [OutAttribute] Double* data); + [Slot(214)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern System.Int32 glGetError(); + [Slot(215)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetFloati_v(System.Int32 target, UInt32 index, [OutAttribute] Single* data); + [Slot(216)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetFloatv(System.Int32 pname, [OutAttribute] Single* data); + [Slot(217)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGetFragDataIndex(UInt32 program, IntPtr name); + [Slot(218)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGetFragDataLocation(UInt32 program, IntPtr name); + [Slot(219)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetFramebufferAttachmentParameteriv(System.Int32 target, System.Int32 attachment, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(220)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetFramebufferParameteriv(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(222)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetHistogram(System.Int32 target, bool reset, System.Int32 format, System.Int32 type, [OutAttribute] IntPtr values); + [Slot(223)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetHistogramParameterfv(System.Int32 target, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(224)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetHistogramParameteriv(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(226)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetInteger64i_v(System.Int32 target, UInt32 index, [OutAttribute] Int64* data); + [Slot(227)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetInteger64v(System.Int32 pname, [OutAttribute] Int64* data); + [Slot(228)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetIntegeri_v(System.Int32 target, UInt32 index, [OutAttribute] Int32* data); + [Slot(229)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetIntegerv(System.Int32 pname, [OutAttribute] Int32* data); + [Slot(230)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetInternalformati64v(System.Int32 target, System.Int32 internalformat, System.Int32 pname, Int32 bufSize, [OutAttribute] Int64* @params); + [Slot(231)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetInternalformativ(System.Int32 target, System.Int32 internalformat, System.Int32 pname, Int32 bufSize, [OutAttribute] Int32* @params); + [Slot(232)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetMinmax(System.Int32 target, bool reset, System.Int32 format, System.Int32 type, [OutAttribute] IntPtr values); + [Slot(233)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMinmaxParameterfv(System.Int32 target, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(234)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMinmaxParameteriv(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(235)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetMultisamplefv(System.Int32 pname, UInt32 index, [OutAttribute] Single* val); + [Slot(256)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetObjectLabel(System.Int32 identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr label); + [Slot(258)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr label); + [Slot(260)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetPointerv(System.Int32 pname, [OutAttribute] IntPtr @params); + [Slot(262)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] System.Int32* binaryFormat, [OutAttribute] IntPtr binary); + [Slot(263)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr infoLog); + [Slot(264)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramInterfaceiv(UInt32 program, System.Int32 programInterface, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(265)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramiv(UInt32 program, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(266)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr infoLog); + [Slot(267)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramPipelineiv(UInt32 pipeline, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(268)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGetProgramResourceIndex(UInt32 program, System.Int32 programInterface, IntPtr name); + [Slot(269)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramResourceiv(UInt32 program, System.Int32 programInterface, UInt32 index, Int32 propCount, System.Int32* props, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* @params); + [Slot(270)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGetProgramResourceLocation(UInt32 program, System.Int32 programInterface, IntPtr name); + [Slot(271)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGetProgramResourceLocationIndex(UInt32 program, System.Int32 programInterface, IntPtr name); + [Slot(272)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramResourceName(UInt32 program, System.Int32 programInterface, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr name); + [Slot(273)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetProgramStageiv(UInt32 program, System.Int32 shadertype, System.Int32 pname, [OutAttribute] Int32* values); + [Slot(274)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetQueryIndexediv(System.Int32 target, UInt32 index, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(275)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetQueryiv(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(276)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetQueryObjecti64v(UInt32 id, System.Int32 pname, [OutAttribute] Int64* @params); + [Slot(277)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetQueryObjectiv(UInt32 id, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(278)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetQueryObjectui64v(UInt32 id, System.Int32 pname, [OutAttribute] UInt64* @params); + [Slot(279)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetQueryObjectuiv(UInt32 id, System.Int32 pname, [OutAttribute] UInt32* @params); + [Slot(280)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetRenderbufferParameteriv(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(281)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetSamplerParameterfv(UInt32 sampler, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(282)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetSamplerParameterIiv(UInt32 sampler, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(283)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetSamplerParameterIuiv(UInt32 sampler, System.Int32 pname, [OutAttribute] UInt32* @params); + [Slot(284)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetSamplerParameteriv(UInt32 sampler, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(285)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetSeparableFilter(System.Int32 target, System.Int32 format, System.Int32 type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span); + [Slot(286)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr infoLog); + [Slot(287)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetShaderiv(UInt32 shader, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(288)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetShaderPrecisionFormat(System.Int32 shadertype, System.Int32 precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision); + [Slot(289)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr source); + [Slot(290)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern IntPtr glGetString(System.Int32 name); + [Slot(291)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern IntPtr glGetStringi(System.Int32 name, UInt32 index); + [Slot(292)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGetSubroutineIndex(UInt32 program, System.Int32 shadertype, IntPtr name); + [Slot(293)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGetSubroutineUniformLocation(UInt32 program, System.Int32 shadertype, IntPtr name); + [Slot(294)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetSynciv(IntPtr sync, System.Int32 pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); + [Slot(295)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetTexImage(System.Int32 target, Int32 level, System.Int32 format, System.Int32 type, [OutAttribute] IntPtr pixels); + [Slot(296)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexLevelParameterfv(System.Int32 target, Int32 level, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(297)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexLevelParameteriv(System.Int32 target, Int32 level, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(298)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexParameterfv(System.Int32 target, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(299)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexParameterIiv(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(300)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexParameterIuiv(System.Int32 target, System.Int32 pname, [OutAttribute] UInt32* @params); + [Slot(301)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTexParameteriv(System.Int32 target, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(304)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] System.Int32* type, [OutAttribute] IntPtr name); + [Slot(305)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGetUniformBlockIndex(UInt32 program, IntPtr uniformBlockName); + [Slot(306)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetUniformdv(UInt32 program, Int32 location, [OutAttribute] Double* @params); + [Slot(307)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetUniformfv(UInt32 program, Int32 location, [OutAttribute] Single* @params); + [Slot(308)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetUniformIndices(UInt32 program, Int32 uniformCount, IntPtr uniformNames, [OutAttribute] UInt32* uniformIndices); + [Slot(309)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetUniformiv(UInt32 program, Int32 location, [OutAttribute] Int32* @params); + [Slot(310)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern Int32 glGetUniformLocation(UInt32 program, IntPtr name); + [Slot(311)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetUniformSubroutineuiv(System.Int32 shadertype, Int32 location, [OutAttribute] UInt32* @params); + [Slot(312)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetUniformuiv(UInt32 program, Int32 location, [OutAttribute] UInt32* @params); + [Slot(313)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexAttribdv(UInt32 index, System.Int32 pname, [OutAttribute] Double* @params); + [Slot(314)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexAttribfv(UInt32 index, System.Int32 pname, [OutAttribute] Single* @params); + [Slot(315)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexAttribIiv(UInt32 index, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(316)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexAttribIuiv(UInt32 index, System.Int32 pname, [OutAttribute] UInt32* @params); + [Slot(317)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexAttribiv(UInt32 index, System.Int32 pname, [OutAttribute] Int32* @params); + [Slot(318)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetVertexAttribLdv(UInt32 index, System.Int32 pname, [OutAttribute] Double* @params); + [Slot(320)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetVertexAttribPointerv(UInt32 index, System.Int32 pname, [OutAttribute] IntPtr pointer); + [Slot(321)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glHint(System.Int32 target, System.Int32 mode); + [Slot(322)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glHistogram(System.Int32 target, Int32 width, System.Int32 internalformat, bool sink); + [Slot(323)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glInvalidateBufferData(UInt32 buffer); + [Slot(324)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glInvalidateBufferSubData(UInt32 buffer, IntPtr offset, IntPtr length); + [Slot(325)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glInvalidateFramebuffer(System.Int32 target, Int32 numAttachments, System.Int32* attachments); + [Slot(326)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glInvalidateSubFramebuffer(System.Int32 target, Int32 numAttachments, System.Int32* attachments, Int32 x, Int32 y, Int32 width, Int32 height); + [Slot(327)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glInvalidateTexImage(UInt32 texture, Int32 level); + [Slot(328)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glInvalidateTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth); + [Slot(329)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsBuffer(UInt32 buffer); + [Slot(330)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsEnabled(System.Int32 cap); + [Slot(331)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsEnabledi(System.Int32 target, UInt32 index); + [Slot(332)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsFramebuffer(UInt32 framebuffer); + [Slot(335)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsProgram(UInt32 program); + [Slot(336)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsProgramPipeline(UInt32 pipeline); + [Slot(337)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsQuery(UInt32 id); + [Slot(338)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsRenderbuffer(UInt32 renderbuffer); + [Slot(339)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsSampler(UInt32 sampler); + [Slot(340)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsShader(UInt32 shader); + [Slot(341)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsSync(IntPtr sync); + [Slot(342)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsTexture(UInt32 texture); + [Slot(344)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsTransformFeedback(UInt32 id); + [Slot(345)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glIsVertexArray(UInt32 array); + [Slot(346)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLineWidth(Single width); + [Slot(347)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLinkProgram(UInt32 program); + [Slot(348)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glLogicOp(System.Int32 opcode); + [Slot(353)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern IntPtr glMapBuffer(System.Int32 target, System.Int32 access); + [Slot(354)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern IntPtr glMapBufferRange(System.Int32 target, IntPtr offset, IntPtr length, System.Int32 access); + [Slot(355)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMemoryBarrier(System.Int32 barriers); + [Slot(356)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMinmax(System.Int32 target, System.Int32 internalformat, bool sink); + [Slot(357)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMinSampleShading(Single value); + [Slot(359)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiDrawArrays(System.Int32 mode, Int32* first, Int32* count, Int32 drawcount); + [Slot(360)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiDrawArraysIndirect(System.Int32 mode, IntPtr indirect, Int32 drawcount, Int32 stride); + [Slot(362)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiDrawElements(System.Int32 mode, Int32* count, System.Int32 type, IntPtr indices, Int32 drawcount); + [Slot(363)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiDrawElementsBaseVertex(System.Int32 mode, Int32* count, System.Int32 type, IntPtr indices, Int32 drawcount, Int32* basevertex); + [Slot(364)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiDrawElementsIndirect(System.Int32 mode, System.Int32 type, IntPtr indirect, Int32 drawcount, Int32 stride); + [Slot(366)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoordP1ui(System.Int32 texture, System.Int32 type, UInt32 coords); + [Slot(367)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoordP1uiv(System.Int32 texture, System.Int32 type, UInt32* coords); + [Slot(368)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoordP2ui(System.Int32 texture, System.Int32 type, UInt32 coords); + [Slot(369)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoordP2uiv(System.Int32 texture, System.Int32 type, UInt32* coords); + [Slot(370)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoordP3ui(System.Int32 texture, System.Int32 type, UInt32 coords); + [Slot(371)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoordP3uiv(System.Int32 texture, System.Int32 type, UInt32* coords); + [Slot(372)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glMultiTexCoordP4ui(System.Int32 texture, System.Int32 type, UInt32 coords); + [Slot(373)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glMultiTexCoordP4uiv(System.Int32 texture, System.Int32 type, UInt32* coords); + [Slot(375)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glNormalP3ui(System.Int32 type, UInt32 coords); + [Slot(376)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glNormalP3uiv(System.Int32 type, UInt32* coords); + [Slot(377)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glObjectLabel(System.Int32 identifier, UInt32 name, Int32 length, IntPtr label); + [Slot(379)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glObjectPtrLabel(IntPtr ptr, Int32 length, IntPtr label); + [Slot(381)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPatchParameterfv(System.Int32 pname, Single* values); + [Slot(382)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPatchParameteri(System.Int32 pname, Int32 value); + [Slot(383)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPauseTransformFeedback(); + [Slot(384)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPixelStoref(System.Int32 pname, Single param); + [Slot(385)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPixelStorei(System.Int32 pname, Int32 param); + [Slot(386)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPointParameterf(System.Int32 pname, Single param); + [Slot(387)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPointParameterfv(System.Int32 pname, Single* @params); + [Slot(388)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPointParameteri(System.Int32 pname, Int32 param); + [Slot(389)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glPointParameteriv(System.Int32 pname, Int32* @params); + [Slot(390)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPointSize(Single size); + [Slot(391)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPolygonMode(System.Int32 face, System.Int32 mode); + [Slot(392)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPolygonOffset(Single factor, Single units); + [Slot(393)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPopDebugGroup(); + [Slot(395)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPrimitiveRestartIndex(UInt32 index); + [Slot(396)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramBinary(UInt32 program, System.Int32 binaryFormat, IntPtr binary, Int32 length); + [Slot(397)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramParameteri(UInt32 program, System.Int32 pname, Int32 value); + [Slot(398)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform1d(UInt32 program, Int32 location, Double v0); + [Slot(399)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform1dv(UInt32 program, Int32 location, Int32 count, Double* value); + [Slot(400)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform1f(UInt32 program, Int32 location, Single v0); + [Slot(401)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform1fv(UInt32 program, Int32 location, Int32 count, Single* value); + [Slot(402)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform1i(UInt32 program, Int32 location, Int32 v0); + [Slot(403)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform1iv(UInt32 program, Int32 location, Int32 count, Int32* value); + [Slot(404)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform1ui(UInt32 program, Int32 location, UInt32 v0); + [Slot(405)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform1uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); + [Slot(406)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform2d(UInt32 program, Int32 location, Double v0, Double v1); + [Slot(407)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform2dv(UInt32 program, Int32 location, Int32 count, Double* value); + [Slot(408)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform2f(UInt32 program, Int32 location, Single v0, Single v1); + [Slot(409)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform2fv(UInt32 program, Int32 location, Int32 count, Single* value); + [Slot(410)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform2i(UInt32 program, Int32 location, Int32 v0, Int32 v1); + [Slot(411)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform2iv(UInt32 program, Int32 location, Int32 count, Int32* value); + [Slot(412)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform2ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1); + [Slot(413)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform2uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); + [Slot(414)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform3d(UInt32 program, Int32 location, Double v0, Double v1, Double v2); + [Slot(415)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform3dv(UInt32 program, Int32 location, Int32 count, Double* value); + [Slot(416)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform3f(UInt32 program, Int32 location, Single v0, Single v1, Single v2); + [Slot(417)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform3fv(UInt32 program, Int32 location, Int32 count, Single* value); + [Slot(418)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform3i(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2); + [Slot(419)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform3iv(UInt32 program, Int32 location, Int32 count, Int32* value); + [Slot(420)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform3ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); + [Slot(421)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform3uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); + [Slot(422)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform4d(UInt32 program, Int32 location, Double v0, Double v1, Double v2, Double v3); + [Slot(423)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform4dv(UInt32 program, Int32 location, Int32 count, Double* value); + [Slot(424)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform4f(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3); + [Slot(425)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform4fv(UInt32 program, Int32 location, Int32 count, Single* value); + [Slot(426)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform4i(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); + [Slot(427)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform4iv(UInt32 program, Int32 location, Int32 count, Int32* value); + [Slot(428)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProgramUniform4ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); + [Slot(429)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniform4uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); + [Slot(432)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [Slot(433)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(434)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix2x3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [Slot(435)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix2x3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(436)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix2x4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [Slot(437)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix2x4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(438)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [Slot(439)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(440)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix3x2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [Slot(441)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix3x2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(442)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix3x4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [Slot(443)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix3x4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(444)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [Slot(445)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(446)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix4x2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [Slot(447)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix4x2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(448)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix4x3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); + [Slot(449)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glProgramUniformMatrix4x3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [Slot(450)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glProvokingVertex(System.Int32 mode); + [Slot(451)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPushDebugGroup(System.Int32 source, UInt32 id, Int32 length, IntPtr message); + [Slot(453)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glQueryCounter(UInt32 id, System.Int32 target); + [Slot(454)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glReadBuffer(System.Int32 mode); + [Slot(456)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, System.Int32 format, System.Int32 type, [OutAttribute] IntPtr pixels); + [Slot(457)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glReleaseShaderCompiler(); + [Slot(458)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRenderbufferStorage(System.Int32 target, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(459)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glRenderbufferStorageMultisample(System.Int32 target, Int32 samples, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(460)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glResetHistogram(System.Int32 target); + [Slot(461)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glResetMinmax(System.Int32 target); + [Slot(462)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glResumeTransformFeedback(); + [Slot(463)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSampleCoverage(Single value, bool invert); + [Slot(464)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSampleMaski(UInt32 index, UInt32 mask); + [Slot(465)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSamplerParameterf(UInt32 sampler, System.Int32 pname, Single param); + [Slot(466)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSamplerParameterfv(UInt32 sampler, System.Int32 pname, Single* param); + [Slot(467)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSamplerParameteri(UInt32 sampler, System.Int32 pname, Int32 param); + [Slot(468)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSamplerParameterIiv(UInt32 sampler, System.Int32 pname, Int32* param); + [Slot(469)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSamplerParameterIuiv(UInt32 sampler, System.Int32 pname, UInt32* param); + [Slot(470)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSamplerParameteriv(UInt32 sampler, System.Int32 pname, Int32* param); + [Slot(471)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glScissor(Int32 x, Int32 y, Int32 width, Int32 height); + [Slot(472)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glScissorArrayv(UInt32 first, Int32 count, Int32* v); + [Slot(473)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glScissorIndexed(UInt32 index, Int32 left, Int32 bottom, Int32 width, Int32 height); + [Slot(474)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glScissorIndexedv(UInt32 index, Int32* v); + [Slot(475)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSecondaryColorP3ui(System.Int32 type, UInt32 color); + [Slot(476)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glSecondaryColorP3uiv(System.Int32 type, UInt32* color); + [Slot(477)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glSeparableFilter2D(System.Int32 target, System.Int32 internalformat, Int32 width, Int32 height, System.Int32 format, System.Int32 type, IntPtr row, IntPtr column); + [Slot(478)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glShaderBinary(Int32 count, UInt32* shaders, System.Int32 binaryformat, IntPtr binary, Int32 length); + [Slot(479)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glShaderSource(UInt32 shader, Int32 count, IntPtr @string, Int32* length); + [Slot(480)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glShaderStorageBlockBinding(UInt32 program, UInt32 storageBlockIndex, UInt32 storageBlockBinding); + [Slot(481)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStencilFunc(System.Int32 func, Int32 @ref, UInt32 mask); + [Slot(482)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStencilFuncSeparate(System.Int32 face, System.Int32 func, Int32 @ref, UInt32 mask); + [Slot(483)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStencilMask(UInt32 mask); + [Slot(484)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStencilMaskSeparate(System.Int32 face, UInt32 mask); + [Slot(485)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStencilOp(System.Int32 fail, System.Int32 zfail, System.Int32 zpass); + [Slot(486)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glStencilOpSeparate(System.Int32 face, System.Int32 sfail, System.Int32 dpfail, System.Int32 dppass); + [Slot(487)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexBuffer(System.Int32 target, System.Int32 internalformat, UInt32 buffer); + [Slot(488)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexBufferRange(System.Int32 target, System.Int32 internalformat, UInt32 buffer, IntPtr offset, IntPtr size); + [Slot(489)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoordP1ui(System.Int32 type, UInt32 coords); + [Slot(490)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoordP1uiv(System.Int32 type, UInt32* coords); + [Slot(491)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoordP2ui(System.Int32 type, UInt32 coords); + [Slot(492)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoordP2uiv(System.Int32 type, UInt32* coords); + [Slot(493)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoordP3ui(System.Int32 type, UInt32 coords); + [Slot(494)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoordP3uiv(System.Int32 type, UInt32* coords); + [Slot(495)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexCoordP4ui(System.Int32 type, UInt32 coords); + [Slot(496)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexCoordP4uiv(System.Int32 type, UInt32* coords); + [Slot(497)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexImage1D(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 width, Int32 border, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(498)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexImage2D(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 width, Int32 height, Int32 border, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(499)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexImage2DMultisample(System.Int32 target, Int32 samples, System.Int32 internalformat, Int32 width, Int32 height, bool fixedsamplelocations); + [Slot(500)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexImage3D(System.Int32 target, Int32 level, System.Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(501)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexImage3DMultisample(System.Int32 target, Int32 samples, System.Int32 internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations); + [Slot(503)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexParameterf(System.Int32 target, System.Int32 pname, Single param); + [Slot(504)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexParameterfv(System.Int32 target, System.Int32 pname, Single* @params); + [Slot(505)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexParameteri(System.Int32 target, System.Int32 pname, Int32 param); + [Slot(506)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexParameterIiv(System.Int32 target, System.Int32 pname, Int32* @params); + [Slot(507)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexParameterIuiv(System.Int32 target, System.Int32 pname, UInt32* @params); + [Slot(508)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glTexParameteriv(System.Int32 target, System.Int32 pname, Int32* @params); + [Slot(509)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexStorage1D(System.Int32 target, Int32 levels, System.Int32 internalformat, Int32 width); + [Slot(510)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexStorage2D(System.Int32 target, Int32 levels, System.Int32 internalformat, Int32 width, Int32 height); + [Slot(511)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexStorage2DMultisample(System.Int32 target, Int32 samples, System.Int32 internalformat, Int32 width, Int32 height, bool fixedsamplelocations); + [Slot(512)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexStorage3D(System.Int32 target, Int32 levels, System.Int32 internalformat, Int32 width, Int32 height, Int32 depth); + [Slot(513)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexStorage3DMultisample(System.Int32 target, Int32 samples, System.Int32 internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations); + [Slot(514)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexSubImage1D(System.Int32 target, Int32 level, Int32 xoffset, Int32 width, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(515)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexSubImage2D(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(516)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTexSubImage3D(System.Int32 target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, System.Int32 format, System.Int32 type, IntPtr pixels); + [Slot(517)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTextureView(UInt32 texture, System.Int32 target, UInt32 origtexture, System.Int32 internalformat, UInt32 minlevel, UInt32 numlevels, UInt32 minlayer, UInt32 numlayers); + [Slot(518)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glTransformFeedbackVaryings(UInt32 program, Int32 count, IntPtr varyings, System.Int32 bufferMode); + [Slot(519)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform1d(Int32 location, Double x); + [Slot(520)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform1dv(Int32 location, Int32 count, Double* value); + [Slot(521)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform1f(Int32 location, Single v0); + [Slot(522)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform1fv(Int32 location, Int32 count, Single* value); + [Slot(523)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform1i(Int32 location, Int32 v0); + [Slot(524)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform1iv(Int32 location, Int32 count, Int32* value); + [Slot(525)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform1ui(Int32 location, UInt32 v0); + [Slot(526)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform1uiv(Int32 location, Int32 count, UInt32* value); + [Slot(527)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform2d(Int32 location, Double x, Double y); + [Slot(528)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform2dv(Int32 location, Int32 count, Double* value); + [Slot(529)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform2f(Int32 location, Single v0, Single v1); + [Slot(530)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform2fv(Int32 location, Int32 count, Single* value); + [Slot(531)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform2i(Int32 location, Int32 v0, Int32 v1); + [Slot(532)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform2iv(Int32 location, Int32 count, Int32* value); + [Slot(533)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform2ui(Int32 location, UInt32 v0, UInt32 v1); + [Slot(534)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform2uiv(Int32 location, Int32 count, UInt32* value); + [Slot(535)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform3d(Int32 location, Double x, Double y, Double z); + [Slot(536)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform3dv(Int32 location, Int32 count, Double* value); + [Slot(537)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform3f(Int32 location, Single v0, Single v1, Single v2); + [Slot(538)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform3fv(Int32 location, Int32 count, Single* value); + [Slot(539)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform3i(Int32 location, Int32 v0, Int32 v1, Int32 v2); + [Slot(540)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform3iv(Int32 location, Int32 count, Int32* value); + [Slot(541)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform3ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); + [Slot(542)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform3uiv(Int32 location, Int32 count, UInt32* value); + [Slot(543)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform4d(Int32 location, Double x, Double y, Double z, Double w); + [Slot(544)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform4dv(Int32 location, Int32 count, Double* value); + [Slot(545)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform4f(Int32 location, Single v0, Single v1, Single v2, Single v3); + [Slot(546)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform4fv(Int32 location, Int32 count, Single* value); + [Slot(547)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform4i(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); + [Slot(548)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform4iv(Int32 location, Int32 count, Int32* value); + [Slot(549)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniform4ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); + [Slot(550)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniform4uiv(Int32 location, Int32 count, UInt32* value); + [Slot(551)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding); + [Slot(554)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix2dv(Int32 location, Int32 count, bool transpose, Double* value); + [Slot(555)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix2fv(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(556)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix2x3dv(Int32 location, Int32 count, bool transpose, Double* value); + [Slot(557)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix2x3fv(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(558)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix2x4dv(Int32 location, Int32 count, bool transpose, Double* value); + [Slot(559)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix2x4fv(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(560)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix3dv(Int32 location, Int32 count, bool transpose, Double* value); + [Slot(561)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix3fv(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(562)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix3x2dv(Int32 location, Int32 count, bool transpose, Double* value); + [Slot(563)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix3x2fv(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(564)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix3x4dv(Int32 location, Int32 count, bool transpose, Double* value); + [Slot(565)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix3x4fv(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(566)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix4dv(Int32 location, Int32 count, bool transpose, Double* value); + [Slot(567)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix4fv(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(568)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix4x2dv(Int32 location, Int32 count, bool transpose, Double* value); + [Slot(569)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix4x2fv(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(570)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix4x3dv(Int32 location, Int32 count, bool transpose, Double* value); + [Slot(571)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformMatrix4x3fv(Int32 location, Int32 count, bool transpose, Single* value); + [Slot(572)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glUniformSubroutinesuiv(System.Int32 shadertype, Int32 count, UInt32* indices); + [Slot(573)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern bool glUnmapBuffer(System.Int32 target); + [Slot(574)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUseProgram(UInt32 program); + [Slot(575)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glUseProgramStages(UInt32 pipeline, System.Int32 stages, UInt32 program); + [Slot(576)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glValidateProgram(UInt32 program); + [Slot(577)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glValidateProgramPipeline(UInt32 pipeline); + [Slot(578)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib1d(UInt32 index, Double x); + [Slot(579)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib1dv(UInt32 index, Double* v); + [Slot(580)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib1f(UInt32 index, Single x); + [Slot(581)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib1fv(UInt32 index, Single* v); + [Slot(582)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib1s(UInt32 index, Int16 x); + [Slot(583)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib1sv(UInt32 index, Int16* v); + [Slot(584)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib2d(UInt32 index, Double x, Double y); + [Slot(585)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib2dv(UInt32 index, Double* v); + [Slot(586)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib2f(UInt32 index, Single x, Single y); + [Slot(587)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib2fv(UInt32 index, Single* v); + [Slot(588)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib2s(UInt32 index, Int16 x, Int16 y); + [Slot(589)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib2sv(UInt32 index, Int16* v); + [Slot(590)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib3d(UInt32 index, Double x, Double y, Double z); + [Slot(591)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib3dv(UInt32 index, Double* v); + [Slot(592)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib3f(UInt32 index, Single x, Single y, Single z); + [Slot(593)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib3fv(UInt32 index, Single* v); + [Slot(594)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib3s(UInt32 index, Int16 x, Int16 y, Int16 z); + [Slot(595)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib3sv(UInt32 index, Int16* v); + [Slot(596)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4bv(UInt32 index, SByte* v); + [Slot(597)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib4d(UInt32 index, Double x, Double y, Double z, Double w); + [Slot(598)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4dv(UInt32 index, Double* v); + [Slot(599)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib4f(UInt32 index, Single x, Single y, Single z, Single w); + [Slot(600)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4fv(UInt32 index, Single* v); + [Slot(601)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4iv(UInt32 index, Int32* v); + [Slot(602)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4Nbv(UInt32 index, SByte* v); + [Slot(603)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4Niv(UInt32 index, Int32* v); + [Slot(604)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4Nsv(UInt32 index, Int16* v); + [Slot(605)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib4Nub(UInt32 index, Byte x, Byte y, Byte z, Byte w); + [Slot(606)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4Nubv(UInt32 index, Byte* v); + [Slot(607)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4Nuiv(UInt32 index, UInt32* v); + [Slot(608)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4Nusv(UInt32 index, UInt16* v); + [Slot(609)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttrib4s(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w); + [Slot(610)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4sv(UInt32 index, Int16* v); + [Slot(611)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4ubv(UInt32 index, Byte* v); + [Slot(612)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4uiv(UInt32 index, UInt32* v); + [Slot(613)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttrib4usv(UInt32 index, UInt16* v); + [Slot(614)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribBinding(UInt32 attribindex, UInt32 bindingindex); + [Slot(615)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribDivisor(UInt32 index, UInt32 divisor); + [Slot(616)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribFormat(UInt32 attribindex, Int32 size, System.Int32 type, bool normalized, UInt32 relativeoffset); + [Slot(617)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribI1i(UInt32 index, Int32 x); + [Slot(618)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI1iv(UInt32 index, Int32* v); + [Slot(619)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribI1ui(UInt32 index, UInt32 x); + [Slot(620)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI1uiv(UInt32 index, UInt32* v); + [Slot(621)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribI2i(UInt32 index, Int32 x, Int32 y); + [Slot(622)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI2iv(UInt32 index, Int32* v); + [Slot(623)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribI2ui(UInt32 index, UInt32 x, UInt32 y); + [Slot(624)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI2uiv(UInt32 index, UInt32* v); + [Slot(625)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribI3i(UInt32 index, Int32 x, Int32 y, Int32 z); + [Slot(626)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI3iv(UInt32 index, Int32* v); + [Slot(627)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribI3ui(UInt32 index, UInt32 x, UInt32 y, UInt32 z); + [Slot(628)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI3uiv(UInt32 index, UInt32* v); + [Slot(629)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI4bv(UInt32 index, SByte* v); + [Slot(630)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribI4i(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); + [Slot(631)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI4iv(UInt32 index, Int32* v); + [Slot(632)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI4sv(UInt32 index, Int16* v); + [Slot(633)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI4ubv(UInt32 index, Byte* v); + [Slot(634)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribI4ui(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); + [Slot(635)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI4uiv(UInt32 index, UInt32* v); + [Slot(636)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribI4usv(UInt32 index, UInt16* v); + [Slot(637)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribIFormat(UInt32 attribindex, Int32 size, System.Int32 type, UInt32 relativeoffset); + [Slot(638)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribIPointer(UInt32 index, Int32 size, System.Int32 type, Int32 stride, IntPtr pointer); + [Slot(639)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribL1d(UInt32 index, Double x); + [Slot(640)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribL1dv(UInt32 index, Double* v); + [Slot(643)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribL2d(UInt32 index, Double x, Double y); + [Slot(644)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribL2dv(UInt32 index, Double* v); + [Slot(645)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribL3d(UInt32 index, Double x, Double y, Double z); + [Slot(646)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribL3dv(UInt32 index, Double* v); + [Slot(647)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribL4d(UInt32 index, Double x, Double y, Double z, Double w); + [Slot(648)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribL4dv(UInt32 index, Double* v); + [Slot(649)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribLFormat(UInt32 attribindex, Int32 size, System.Int32 type, UInt32 relativeoffset); + [Slot(650)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribLPointer(UInt32 index, Int32 size, System.Int32 type, Int32 stride, IntPtr pointer); + [Slot(651)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribP1ui(UInt32 index, System.Int32 type, bool normalized, UInt32 value); + [Slot(652)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribP1uiv(UInt32 index, System.Int32 type, bool normalized, UInt32* value); + [Slot(653)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribP2ui(UInt32 index, System.Int32 type, bool normalized, UInt32 value); + [Slot(654)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribP2uiv(UInt32 index, System.Int32 type, bool normalized, UInt32* value); + [Slot(655)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribP3ui(UInt32 index, System.Int32 type, bool normalized, UInt32 value); + [Slot(656)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribP3uiv(UInt32 index, System.Int32 type, bool normalized, UInt32* value); + [Slot(657)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribP4ui(UInt32 index, System.Int32 type, bool normalized, UInt32 value); + [Slot(658)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexAttribP4uiv(UInt32 index, System.Int32 type, bool normalized, UInt32* value); + [Slot(659)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexAttribPointer(UInt32 index, Int32 size, System.Int32 type, bool normalized, Int32 stride, IntPtr pointer); + [Slot(660)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexBindingDivisor(UInt32 bindingindex, UInt32 divisor); + [Slot(661)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexP2ui(System.Int32 type, UInt32 value); + [Slot(662)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexP2uiv(System.Int32 type, UInt32* value); + [Slot(663)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexP3ui(System.Int32 type, UInt32 value); + [Slot(664)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexP3uiv(System.Int32 type, UInt32* value); + [Slot(665)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glVertexP4ui(System.Int32 type, UInt32 value); + [Slot(666)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glVertexP4uiv(System.Int32 type, UInt32* value); + [Slot(667)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glViewport(Int32 x, Int32 y, Int32 width, Int32 height); + [Slot(668)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glViewportArrayv(UInt32 first, Int32 count, Single* v); + [Slot(669)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glViewportIndexedf(UInt32 index, Single x, Single y, Single w, Single h); + [Slot(670)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glViewportIndexedfv(UInt32 index, Single* v); + [Slot(671)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern System.Int32 glWaitSync(IntPtr sync, System.Int32 flags, UInt64 timeout); + [Slot(103)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDebugMessageCallbackKHR(DebugProcKhr callback, IntPtr userParam); + [Slot(106)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glDebugMessageControlKHR(System.Int32 source, System.Int32 type, System.Int32 severity, Int32 count, UInt32* ids, bool enabled); + [Slot(109)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glDebugMessageInsertKHR(System.Int32 source, System.Int32 type, UInt32 id, System.Int32 severity, Int32 length, IntPtr buf); + [Slot(211)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe Int32 glGetDebugMessageLogKHR(UInt32 count, Int32 bufSize, [OutAttribute] System.Int32* sources, [OutAttribute] System.Int32* types, [OutAttribute] UInt32* ids, [OutAttribute] System.Int32* severities, [OutAttribute] Int32* lengths, [OutAttribute] IntPtr messageLog); + [Slot(257)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetObjectLabelKHR(System.Int32 identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr label); + [Slot(259)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern unsafe void glGetObjectPtrLabelKHR(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] IntPtr label); + [Slot(261)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glGetPointervKHR(System.Int32 pname, [OutAttribute] IntPtr @params); + [Slot(378)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glObjectLabelKHR(System.Int32 identifier, UInt32 name, Int32 length, IntPtr label); + [Slot(380)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glObjectPtrLabelKHR(IntPtr ptr, Int32 length, IntPtr label); + [Slot(394)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPopDebugGroupKHR(); + [Slot(452)] + [DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)] + static extern void glPushDebugGroupKHR(System.Int32 source, UInt32 id, Int32 length, IntPtr message); } } diff --git a/Source/OpenTK/Graphics/OpenGL4/GL4Core.cs b/Source/OpenTK/Graphics/OpenGL4/GL4Core.cs deleted file mode 100644 index af220fbf..00000000 --- a/Source/OpenTK/Graphics/OpenGL4/GL4Core.cs +++ /dev/null @@ -1,2060 +0,0 @@ -// -// The Open Toolkit Library License -// -// Copyright (c) 2006 - 2013 Stefanos Apostolopoulos for the Open Toolkit Library -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights to -// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -// the Software, and to permit persons to whom the Software is furnished to do -// so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -// OTHER DEALINGS IN THE SOFTWARE. -// - - - -namespace OpenTK.Graphics.OpenGL4 -{ - using System; - using System.Text; - using System.Runtime.InteropServices; - #pragma warning disable 3019 - #pragma warning disable 1591 - - partial class GL - { - - internal static partial class Core - { - - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveShaderProgram", ExactSpelling = true)] - internal extern static void ActiveShaderProgram(UInt32 pipeline, UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveTexture", ExactSpelling = true)] - internal extern static void ActiveTexture(OpenTK.Graphics.OpenGL4.TextureUnit texture); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAttachShader", ExactSpelling = true)] - internal extern static void AttachShader(UInt32 program, UInt32 shader); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginConditionalRender", ExactSpelling = true)] - internal extern static void BeginConditionalRender(UInt32 id, OpenTK.Graphics.OpenGL4.ConditionalRenderType mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginQuery", ExactSpelling = true)] - internal extern static void BeginQuery(OpenTK.Graphics.OpenGL4.QueryTarget target, UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginQueryIndexed", ExactSpelling = true)] - internal extern static void BeginQueryIndexed(OpenTK.Graphics.OpenGL4.QueryTarget target, UInt32 index, UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginTransformFeedback", ExactSpelling = true)] - internal extern static void BeginTransformFeedback(OpenTK.Graphics.OpenGL4.TransformFeedbackPrimitiveType primitiveMode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindAttribLocation", ExactSpelling = true)] - internal extern static void BindAttribLocation(UInt32 program, UInt32 index, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBuffer", ExactSpelling = true)] - internal extern static void BindBuffer(OpenTK.Graphics.OpenGL4.BufferTarget target, UInt32 buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferBase", ExactSpelling = true)] - internal extern static void BindBufferBase(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 index, UInt32 buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferRange", ExactSpelling = true)] - internal extern static void BindBufferRange(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBuffersBase", ExactSpelling = true)] - internal extern static unsafe void BindBuffersBase(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 first, Int32 count, UInt32* buffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBuffersRange", ExactSpelling = true)] - internal extern static unsafe void BindBuffersRange(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 first, Int32 count, UInt32* buffers, IntPtr* offsets, IntPtr* sizes); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindFragDataLocation", ExactSpelling = true)] - internal extern static void BindFragDataLocation(UInt32 program, UInt32 color, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindFragDataLocationIndexed", ExactSpelling = true)] - internal extern static void BindFragDataLocationIndexed(UInt32 program, UInt32 colorNumber, UInt32 index, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindFramebuffer", ExactSpelling = true)] - internal extern static void BindFramebuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, UInt32 framebuffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindImageTexture", ExactSpelling = true)] - internal extern static void BindImageTexture(UInt32 unit, UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL4.TextureAccess access, OpenTK.Graphics.OpenGL4.SizedInternalFormat format); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindImageTextures", ExactSpelling = true)] - internal extern static unsafe void BindImageTextures(UInt32 first, Int32 count, UInt32* textures); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindProgramPipeline", ExactSpelling = true)] - internal extern static void BindProgramPipeline(UInt32 pipeline); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindRenderbuffer", ExactSpelling = true)] - internal extern static void BindRenderbuffer(OpenTK.Graphics.OpenGL4.RenderbufferTarget target, UInt32 renderbuffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindSampler", ExactSpelling = true)] - internal extern static void BindSampler(UInt32 unit, UInt32 sampler); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindSamplers", ExactSpelling = true)] - internal extern static unsafe void BindSamplers(UInt32 first, Int32 count, UInt32* samplers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTexture", ExactSpelling = true)] - internal extern static void BindTexture(OpenTK.Graphics.OpenGL4.TextureTarget target, UInt32 texture); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTextures", ExactSpelling = true)] - internal extern static unsafe void BindTextures(UInt32 first, Int32 count, UInt32* textures); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTransformFeedback", ExactSpelling = true)] - internal extern static void BindTransformFeedback(OpenTK.Graphics.OpenGL4.TransformFeedbackTarget target, UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindVertexArray", ExactSpelling = true)] - internal extern static void BindVertexArray(UInt32 array); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindVertexBuffer", ExactSpelling = true)] - internal extern static void BindVertexBuffer(UInt32 bindingindex, UInt32 buffer, IntPtr offset, Int32 stride); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindVertexBuffers", ExactSpelling = true)] - internal extern static unsafe void BindVertexBuffers(UInt32 first, Int32 count, UInt32* buffers, IntPtr* offsets, Int32* strides); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendColor", ExactSpelling = true)] - internal extern static void BlendColor(Single red, Single green, Single blue, Single alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquation", ExactSpelling = true)] - internal extern static void BlendEquation(OpenTK.Graphics.OpenGL4.BlendEquationMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationi", ExactSpelling = true)] - internal extern static void BlendEquationi(UInt32 buf, OpenTK.Graphics.OpenGL4.BlendEquationMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationiARB", ExactSpelling = true)] - internal extern static void BlendEquationiARB(UInt32 buf, OpenTK.Graphics.OpenGL4.BlendEquationMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationSeparate", ExactSpelling = true)] - internal extern static void BlendEquationSeparate(OpenTK.Graphics.OpenGL4.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL4.BlendEquationMode modeAlpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationSeparatei", ExactSpelling = true)] - internal extern static void BlendEquationSeparatei(UInt32 buf, OpenTK.Graphics.OpenGL4.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL4.BlendEquationMode modeAlpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationSeparateiARB", ExactSpelling = true)] - internal extern static void BlendEquationSeparateiARB(UInt32 buf, OpenTK.Graphics.OpenGL4.All modeRGB, OpenTK.Graphics.OpenGL4.All modeAlpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFunc", ExactSpelling = true)] - internal extern static void BlendFunc(OpenTK.Graphics.OpenGL4.BlendingFactorSrc sfactor, OpenTK.Graphics.OpenGL4.BlendingFactorDest dfactor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFunci", ExactSpelling = true)] - internal extern static void BlendFunci(UInt32 buf, OpenTK.Graphics.OpenGL4.BlendingFactorSrc src, OpenTK.Graphics.OpenGL4.BlendingFactorDest dst); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFunciARB", ExactSpelling = true)] - internal extern static void BlendFunciARB(UInt32 buf, OpenTK.Graphics.OpenGL4.All src, OpenTK.Graphics.OpenGL4.All dst); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncSeparate", ExactSpelling = true)] - internal extern static void BlendFuncSeparate(OpenTK.Graphics.OpenGL4.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.OpenGL4.BlendingFactorDest dfactorRGB, OpenTK.Graphics.OpenGL4.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.OpenGL4.BlendingFactorDest dfactorAlpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncSeparatei", ExactSpelling = true)] - internal extern static void BlendFuncSeparatei(UInt32 buf, OpenTK.Graphics.OpenGL4.BlendingFactorSrc srcRGB, OpenTK.Graphics.OpenGL4.BlendingFactorDest dstRGB, OpenTK.Graphics.OpenGL4.BlendingFactorSrc srcAlpha, OpenTK.Graphics.OpenGL4.BlendingFactorDest dstAlpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncSeparateiARB", ExactSpelling = true)] - internal extern static void BlendFuncSeparateiARB(UInt32 buf, OpenTK.Graphics.OpenGL4.All srcRGB, OpenTK.Graphics.OpenGL4.All dstRGB, OpenTK.Graphics.OpenGL4.All srcAlpha, OpenTK.Graphics.OpenGL4.All dstAlpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlitFramebuffer", ExactSpelling = true)] - internal extern static void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL4.ClearBufferMask mask, OpenTK.Graphics.OpenGL4.BlitFramebufferFilter filter); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferData", ExactSpelling = true)] - internal extern static void BufferData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL4.BufferUsageHint usage); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferStorage", ExactSpelling = true)] - internal extern static void BufferStorage(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL4.BufferStorageFlags flags); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferSubData", ExactSpelling = true)] - internal extern static void BufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCheckFramebufferStatus", ExactSpelling = true)] - internal extern static OpenTK.Graphics.OpenGL4.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.OpenGL4.FramebufferTarget target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClampColor", ExactSpelling = true)] - internal extern static void ClampColor(OpenTK.Graphics.OpenGL4.ClampColorTarget target, OpenTK.Graphics.OpenGL4.ClampColorMode clamp); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClear", ExactSpelling = true)] - internal extern static void Clear(OpenTK.Graphics.OpenGL4.ClearBufferMask mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearBufferData", ExactSpelling = true)] - internal extern static void ClearBufferData(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.All type, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearBufferfi", ExactSpelling = true)] - internal extern static void ClearBufferfi(OpenTK.Graphics.OpenGL4.ClearBufferCombined buffer, Int32 drawbuffer, Single depth, Int32 stencil); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearBufferfv", ExactSpelling = true)] - internal extern static unsafe void ClearBufferfv(OpenTK.Graphics.OpenGL4.ClearBuffer buffer, Int32 drawbuffer, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearBufferiv", ExactSpelling = true)] - internal extern static unsafe void ClearBufferiv(OpenTK.Graphics.OpenGL4.ClearBuffer buffer, Int32 drawbuffer, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearBufferSubData", ExactSpelling = true)] - internal extern static void ClearBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.All type, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearBufferuiv", ExactSpelling = true)] - internal extern static unsafe void ClearBufferuiv(OpenTK.Graphics.OpenGL4.ClearBuffer buffer, Int32 drawbuffer, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearColor", ExactSpelling = true)] - internal extern static void ClearColor(Single red, Single green, Single blue, Single alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearDepth", ExactSpelling = true)] - internal extern static void ClearDepth(Double depth); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearDepthf", ExactSpelling = true)] - internal extern static void ClearDepthf(Single d); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearStencil", ExactSpelling = true)] - internal extern static void ClearStencil(Int32 s); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearTexImage", ExactSpelling = true)] - internal extern static void ClearTexImage(UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearTexSubImage", ExactSpelling = true)] - internal extern static void ClearTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClientWaitSync", ExactSpelling = true)] - internal extern static OpenTK.Graphics.OpenGL4.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.OpenGL4.ClientWaitSyncFlags flags, UInt64 timeout); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorMask", ExactSpelling = true)] - internal extern static void ColorMask(bool red, bool green, bool blue, bool alpha); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorMaski", ExactSpelling = true)] - internal extern static void ColorMaski(UInt32 index, bool r, bool g, bool b, bool a); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorP3ui", ExactSpelling = true)] - internal extern static void ColorP3ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 color); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorP3uiv", ExactSpelling = true)] - internal extern static unsafe void ColorP3uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* color); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorP4ui", ExactSpelling = true)] - internal extern static void ColorP4ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 color); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorP4uiv", ExactSpelling = true)] - internal extern static unsafe void ColorP4uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* color); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorSubTable", ExactSpelling = true)] - internal extern static void ColorSubTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTable", ExactSpelling = true)] - internal extern static void ColorTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr table); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTableParameterfv", ExactSpelling = true)] - internal extern static unsafe void ColorTableParameterfv(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.ColorTableParameterPName pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTableParameteriv", ExactSpelling = true)] - internal extern static unsafe void ColorTableParameteriv(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.ColorTableParameterPName pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompileShader", ExactSpelling = true)] - internal extern static void CompileShader(UInt32 shader); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompileShaderIncludeARB", ExactSpelling = true)] - internal extern static unsafe void CompileShaderIncludeARB(UInt32 shader, Int32 count, String[] path, Int32* length); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage1D", ExactSpelling = true)] - internal extern static void CompressedTexImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage2D", ExactSpelling = true)] - internal extern static void CompressedTexImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage3D", ExactSpelling = true)] - internal extern static void CompressedTexImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage1D", ExactSpelling = true)] - internal extern static void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage2D", ExactSpelling = true)] - internal extern static void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage3D", ExactSpelling = true)] - internal extern static void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionFilter1D", ExactSpelling = true)] - internal extern static void ConvolutionFilter1D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr image); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionFilter2D", ExactSpelling = true)] - internal extern static void ConvolutionFilter2D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr image); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterf", ExactSpelling = true)] - internal extern static void ConvolutionParameterf(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.ConvolutionParameter pname, Single @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterfv", ExactSpelling = true)] - internal extern static unsafe void ConvolutionParameterfv(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.ConvolutionParameter pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameteri", ExactSpelling = true)] - internal extern static void ConvolutionParameteri(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.ConvolutionParameter pname, Int32 @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameteriv", ExactSpelling = true)] - internal extern static unsafe void ConvolutionParameteriv(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.ConvolutionParameter pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyBufferSubData", ExactSpelling = true)] - internal extern static void CopyBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget readTarget, OpenTK.Graphics.OpenGL4.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyColorSubTable", ExactSpelling = true)] - internal extern static void CopyColorSubTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyColorTable", ExactSpelling = true)] - internal extern static void CopyColorTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyConvolutionFilter1D", ExactSpelling = true)] - internal extern static void CopyConvolutionFilter1D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyConvolutionFilter2D", ExactSpelling = true)] - internal extern static void CopyConvolutionFilter2D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyImageSubData", ExactSpelling = true)] - internal extern static void CopyImageSubData(UInt32 srcName, OpenTK.Graphics.OpenGL4.ImageTarget srcTarget, Int32 srcLevel, Int32 srcX, Int32 srcY, Int32 srcZ, UInt32 dstName, OpenTK.Graphics.OpenGL4.ImageTarget dstTarget, Int32 dstLevel, Int32 dstX, Int32 dstY, Int32 dstZ, Int32 srcWidth, Int32 srcHeight, Int32 srcDepth); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexImage1D", ExactSpelling = true)] - internal extern static void CopyTexImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexImage2D", ExactSpelling = true)] - internal extern static void CopyTexImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage1D", ExactSpelling = true)] - internal extern static void CopyTexSubImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage2D", ExactSpelling = true)] - internal extern static void CopyTexSubImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage3D", ExactSpelling = true)] - internal extern static void CopyTexSubImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateProgram", ExactSpelling = true)] - internal extern static Int32 CreateProgram(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateShader", ExactSpelling = true)] - internal extern static Int32 CreateShader(OpenTK.Graphics.OpenGL4.ShaderType type); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateShaderProgramv", ExactSpelling = true)] - internal extern static Int32 CreateShaderProgramv(OpenTK.Graphics.OpenGL4.ShaderType type, Int32 count, String[] strings); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateSyncFromCLeventARB", ExactSpelling = true)] - internal extern static unsafe IntPtr CreateSyncFromCLeventARB([OutAttribute] IntPtr* context, [OutAttribute] IntPtr* @event, UInt32 flags); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCullFace", ExactSpelling = true)] - internal extern static void CullFace(OpenTK.Graphics.OpenGL4.CullFaceMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageCallback", ExactSpelling = true)] - internal extern static void DebugMessageCallback(DebugProc callback, IntPtr userParam); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageCallbackARB", ExactSpelling = true)] - internal extern static void DebugMessageCallbackARB(DebugProcArb callback, IntPtr userParam); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageCallbackKHR", ExactSpelling = true)] - internal extern static void DebugMessageCallbackKHR(DebugProcKhr callback, IntPtr userParam); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageControl", ExactSpelling = true)] - internal extern static unsafe void DebugMessageControl(OpenTK.Graphics.OpenGL4.DebugSourceControl source, OpenTK.Graphics.OpenGL4.DebugTypeControl type, OpenTK.Graphics.OpenGL4.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageControlARB", ExactSpelling = true)] - internal extern static unsafe void DebugMessageControlARB(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, OpenTK.Graphics.OpenGL4.All severity, Int32 count, UInt32* ids, bool enabled); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageControlKHR", ExactSpelling = true)] - internal extern static unsafe void DebugMessageControlKHR(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, OpenTK.Graphics.OpenGL4.All severity, Int32 count, UInt32* ids, bool enabled); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageInsert", ExactSpelling = true)] - internal extern static void DebugMessageInsert(OpenTK.Graphics.OpenGL4.DebugSourceExternal source, OpenTK.Graphics.OpenGL4.DebugType type, UInt32 id, OpenTK.Graphics.OpenGL4.DebugSeverity severity, Int32 length, String buf); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageInsertARB", ExactSpelling = true)] - internal extern static void DebugMessageInsertARB(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, UInt32 id, OpenTK.Graphics.OpenGL4.All severity, Int32 length, String buf); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDebugMessageInsertKHR", ExactSpelling = true)] - internal extern static void DebugMessageInsertKHR(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, UInt32 id, OpenTK.Graphics.OpenGL4.All severity, Int32 length, String buf); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteBuffers", ExactSpelling = true)] - internal extern static unsafe void DeleteBuffers(Int32 n, UInt32* buffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteFramebuffers", ExactSpelling = true)] - internal extern static unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteNamedStringARB", ExactSpelling = true)] - internal extern static void DeleteNamedStringARB(Int32 namelen, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteProgram", ExactSpelling = true)] - internal extern static void DeleteProgram(UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteProgramPipelines", ExactSpelling = true)] - internal extern static unsafe void DeleteProgramPipelines(Int32 n, UInt32* pipelines); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteQueries", ExactSpelling = true)] - internal extern static unsafe void DeleteQueries(Int32 n, UInt32* ids); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteRenderbuffers", ExactSpelling = true)] - internal extern static unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteSamplers", ExactSpelling = true)] - internal extern static unsafe void DeleteSamplers(Int32 count, UInt32* samplers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteShader", ExactSpelling = true)] - internal extern static void DeleteShader(UInt32 shader); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteSync", ExactSpelling = true)] - internal extern static void DeleteSync(IntPtr sync); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteTextures", ExactSpelling = true)] - internal extern static unsafe void DeleteTextures(Int32 n, UInt32* textures); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteTransformFeedbacks", ExactSpelling = true)] - internal extern static unsafe void DeleteTransformFeedbacks(Int32 n, UInt32* ids); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteVertexArrays", ExactSpelling = true)] - internal extern static unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthFunc", ExactSpelling = true)] - internal extern static void DepthFunc(OpenTK.Graphics.OpenGL4.DepthFunction func); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthMask", ExactSpelling = true)] - internal extern static void DepthMask(bool flag); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRange", ExactSpelling = true)] - internal extern static void DepthRange(Double near, Double far); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRangeArrayv", ExactSpelling = true)] - internal extern static unsafe void DepthRangeArrayv(UInt32 first, Int32 count, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRangef", ExactSpelling = true)] - internal extern static void DepthRangef(Single n, Single f); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRangeIndexed", ExactSpelling = true)] - internal extern static void DepthRangeIndexed(UInt32 index, Double n, Double f); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDetachShader", ExactSpelling = true)] - internal extern static void DetachShader(UInt32 program, UInt32 shader); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisable", ExactSpelling = true)] - internal extern static void Disable(OpenTK.Graphics.OpenGL4.EnableCap cap); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisablei", ExactSpelling = true)] - internal extern static void Disablei(OpenTK.Graphics.OpenGL4.IndexedEnableCap target, UInt32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableVertexAttribArray", ExactSpelling = true)] - internal extern static void DisableVertexAttribArray(UInt32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDispatchCompute", ExactSpelling = true)] - internal extern static void DispatchCompute(UInt32 num_groups_x, UInt32 num_groups_y, UInt32 num_groups_z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDispatchComputeGroupSizeARB", ExactSpelling = true)] - internal extern static void DispatchComputeGroupSizeARB(UInt32 num_groups_x, UInt32 num_groups_y, UInt32 num_groups_z, UInt32 group_size_x, UInt32 group_size_y, UInt32 group_size_z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDispatchComputeIndirect", ExactSpelling = true)] - internal extern static void DispatchComputeIndirect(IntPtr indirect); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArrays", ExactSpelling = true)] - internal extern static void DrawArrays(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 first, Int32 count); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysIndirect", ExactSpelling = true)] - internal extern static void DrawArraysIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, IntPtr indirect); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysInstanced", ExactSpelling = true)] - internal extern static void DrawArraysInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysInstancedBaseInstance", ExactSpelling = true)] - internal extern static void DrawArraysInstancedBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount, UInt32 baseinstance); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawBuffer", ExactSpelling = true)] - internal extern static void DrawBuffer(OpenTK.Graphics.OpenGL4.DrawBufferMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawBuffers", ExactSpelling = true)] - internal extern static unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL4.DrawBuffersEnum* bufs); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElements", ExactSpelling = true)] - internal extern static void DrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsBaseVertex", ExactSpelling = true)] - internal extern static void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 basevertex); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsIndirect", ExactSpelling = true)] - internal extern static void DrawElementsIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, OpenTK.Graphics.OpenGL4.All type, IntPtr indirect); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstanced", ExactSpelling = true)] - internal extern static void DrawElementsInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 instancecount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedBaseInstance", ExactSpelling = true)] - internal extern static void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 instancecount, UInt32 baseinstance); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedBaseVertex", ExactSpelling = true)] - internal extern static void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance", ExactSpelling = true)] - internal extern static void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElements", ExactSpelling = true)] - internal extern static void DrawRangeElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElementsBaseVertex", ExactSpelling = true)] - internal extern static void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 basevertex); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawTransformFeedback", ExactSpelling = true)] - internal extern static void DrawTransformFeedback(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawTransformFeedbackInstanced", ExactSpelling = true)] - internal extern static void DrawTransformFeedbackInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 id, Int32 instancecount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawTransformFeedbackStream", ExactSpelling = true)] - internal extern static void DrawTransformFeedbackStream(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 id, UInt32 stream); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawTransformFeedbackStreamInstanced", ExactSpelling = true)] - internal extern static void DrawTransformFeedbackStreamInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 id, UInt32 stream, Int32 instancecount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnable", ExactSpelling = true)] - internal extern static void Enable(OpenTK.Graphics.OpenGL4.EnableCap cap); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnablei", ExactSpelling = true)] - internal extern static void Enablei(OpenTK.Graphics.OpenGL4.IndexedEnableCap target, UInt32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableVertexAttribArray", ExactSpelling = true)] - internal extern static void EnableVertexAttribArray(UInt32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndConditionalRender", ExactSpelling = true)] - internal extern static void EndConditionalRender(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndQuery", ExactSpelling = true)] - internal extern static void EndQuery(OpenTK.Graphics.OpenGL4.QueryTarget target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndQueryIndexed", ExactSpelling = true)] - internal extern static void EndQueryIndexed(OpenTK.Graphics.OpenGL4.QueryTarget target, UInt32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndTransformFeedback", ExactSpelling = true)] - internal extern static void EndTransformFeedback(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFenceSync", ExactSpelling = true)] - internal extern static IntPtr FenceSync(OpenTK.Graphics.OpenGL4.SyncCondition condition, OpenTK.Graphics.OpenGL4.WaitSyncFlags flags); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinish", ExactSpelling = true)] - internal extern static void Finish(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlush", ExactSpelling = true)] - internal extern static void Flush(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushMappedBufferRange", ExactSpelling = true)] - internal extern static void FlushMappedBufferRange(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr length); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferParameteri", ExactSpelling = true)] - internal extern static void FramebufferParameteri(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferDefaultParameter pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferRenderbuffer", ExactSpelling = true)] - internal extern static void FramebufferRenderbuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture", ExactSpelling = true)] - internal extern static void FramebufferTexture(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, UInt32 texture, Int32 level); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture1D", ExactSpelling = true)] - internal extern static void FramebufferTexture1D(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.TextureTarget textarget, UInt32 texture, Int32 level); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture2D", ExactSpelling = true)] - internal extern static void FramebufferTexture2D(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.TextureTarget textarget, UInt32 texture, Int32 level); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture3D", ExactSpelling = true)] - internal extern static void FramebufferTexture3D(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTextureLayer", ExactSpelling = true)] - internal extern static void FramebufferTextureLayer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrontFace", ExactSpelling = true)] - internal extern static void FrontFace(OpenTK.Graphics.OpenGL4.FrontFaceDirection mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenBuffers", ExactSpelling = true)] - internal extern static unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenerateMipmap", ExactSpelling = true)] - internal extern static void GenerateMipmap(OpenTK.Graphics.OpenGL4.GenerateMipmapTarget target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFramebuffers", ExactSpelling = true)] - internal extern static unsafe void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenProgramPipelines", ExactSpelling = true)] - internal extern static unsafe void GenProgramPipelines(Int32 n, [OutAttribute] UInt32* pipelines); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenQueries", ExactSpelling = true)] - internal extern static unsafe void GenQueries(Int32 n, [OutAttribute] UInt32* ids); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenRenderbuffers", ExactSpelling = true)] - internal extern static unsafe void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenSamplers", ExactSpelling = true)] - internal extern static unsafe void GenSamplers(Int32 count, [OutAttribute] UInt32* samplers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenTextures", ExactSpelling = true)] - internal extern static unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenTransformFeedbacks", ExactSpelling = true)] - internal extern static unsafe void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32* ids); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenVertexArrays", ExactSpelling = true)] - internal extern static unsafe void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveAtomicCounterBufferiv", ExactSpelling = true)] - internal extern static unsafe void GetActiveAtomicCounterBufferiv(UInt32 program, UInt32 bufferIndex, OpenTK.Graphics.OpenGL4.AtomicCounterBufferParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveAttrib", ExactSpelling = true)] - internal extern static unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL4.ActiveAttribType* type, [OutAttribute] StringBuilder name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveSubroutineName", ExactSpelling = true)] - internal extern static unsafe void GetActiveSubroutineName(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveSubroutineUniformiv", ExactSpelling = true)] - internal extern static unsafe void GetActiveSubroutineUniformiv(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, UInt32 index, OpenTK.Graphics.OpenGL4.ActiveSubroutineUniformParameter pname, [OutAttribute] Int32* values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveSubroutineUniformName", ExactSpelling = true)] - internal extern static unsafe void GetActiveSubroutineUniformName(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniform", ExactSpelling = true)] - internal extern static unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL4.ActiveUniformType* type, [OutAttribute] StringBuilder name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniformBlockiv", ExactSpelling = true)] - internal extern static unsafe void GetActiveUniformBlockiv(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.OpenGL4.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniformBlockName", ExactSpelling = true)] - internal extern static unsafe void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniformName", ExactSpelling = true)] - internal extern static unsafe void GetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformName); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniformsiv", ExactSpelling = true)] - internal extern static unsafe void GetActiveUniformsiv(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, OpenTK.Graphics.OpenGL4.ActiveUniformParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetAttachedShaders", ExactSpelling = true)] - internal extern static unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetAttribLocation", ExactSpelling = true)] - internal extern static Int32 GetAttribLocation(UInt32 program, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBooleani_v", ExactSpelling = true)] - internal extern static unsafe void GetBooleani_v(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] bool* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBooleanv", ExactSpelling = true)] - internal extern static unsafe void GetBooleanv(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] bool* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferParameteri64v", ExactSpelling = true)] - internal extern static unsafe void GetBufferParameteri64v(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferParameterName pname, [OutAttribute] Int64* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetBufferParameteriv(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferParameterName pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferPointerv", ExactSpelling = true)] - internal extern static void GetBufferPointerv(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferPointer pname, [OutAttribute] IntPtr @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferSubData", ExactSpelling = true)] - internal extern static void GetBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTable", ExactSpelling = true)] - internal extern static void GetColorTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr table); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableParameterfv", ExactSpelling = true)] - internal extern static unsafe void GetColorTableParameterfv(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.GetColorTableParameterPName pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetColorTableParameteriv(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.GetColorTableParameterPName pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCompressedTexImage", ExactSpelling = true)] - internal extern static void GetCompressedTexImage(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, [OutAttribute] IntPtr img); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionFilter", ExactSpelling = true)] - internal extern static void GetConvolutionFilter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr image); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionParameterfv", ExactSpelling = true)] - internal extern static unsafe void GetConvolutionParameterfv(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetConvolutionParameteriv(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDebugMessageLog", ExactSpelling = true)] - internal extern static unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSource* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDebugMessageLogARB", ExactSpelling = true)] - internal extern static unsafe Int32 GetDebugMessageLogARB(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDebugMessageLogKHR", ExactSpelling = true)] - internal extern static unsafe Int32 GetDebugMessageLogKHR(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDoublei_v", ExactSpelling = true)] - internal extern static unsafe void GetDoublei_v(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Double* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDoublev", ExactSpelling = true)] - internal extern static unsafe void GetDoublev(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Double* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetError", ExactSpelling = true)] - internal extern static OpenTK.Graphics.OpenGL4.ErrorCode GetError(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFloati_v", ExactSpelling = true)] - internal extern static unsafe void GetFloati_v(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Single* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFloatv", ExactSpelling = true)] - internal extern static unsafe void GetFloatv(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Single* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFragDataIndex", ExactSpelling = true)] - internal extern static Int32 GetFragDataIndex(UInt32 program, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFragDataLocation", ExactSpelling = true)] - internal extern static Int32 GetFragDataLocation(UInt32 program, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFramebufferAttachmentParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetFramebufferAttachmentParameteriv(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.FramebufferParameterName pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFramebufferParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetFramebufferParameteriv(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferDefaultParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetGraphicsResetStatusARB", ExactSpelling = true)] - internal extern static OpenTK.Graphics.OpenGL4.All GetGraphicsResetStatusARB(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogram", ExactSpelling = true)] - internal extern static void GetHistogram(OpenTK.Graphics.OpenGL4.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogramParameterfv", ExactSpelling = true)] - internal extern static unsafe void GetHistogramParameterfv(OpenTK.Graphics.OpenGL4.HistogramTarget target, OpenTK.Graphics.OpenGL4.GetHistogramParameterPName pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogramParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetHistogramParameteriv(OpenTK.Graphics.OpenGL4.HistogramTarget target, OpenTK.Graphics.OpenGL4.GetHistogramParameterPName pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetImageHandleARB", ExactSpelling = true)] - internal extern static Int64 GetImageHandleARB(UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL4.All format); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInteger64i_v", ExactSpelling = true)] - internal extern static unsafe void GetInteger64i_v(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Int64* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInteger64v", ExactSpelling = true)] - internal extern static unsafe void GetInteger64v(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Int64* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegeri_v", ExactSpelling = true)] - internal extern static unsafe void GetIntegeri_v(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegerv", ExactSpelling = true)] - internal extern static unsafe void GetIntegerv(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Int32* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInternalformati64v", ExactSpelling = true)] - internal extern static unsafe void GetInternalformati64v(OpenTK.Graphics.OpenGL4.ImageTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL4.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int64* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInternalformativ", ExactSpelling = true)] - internal extern static unsafe void GetInternalformativ(OpenTK.Graphics.OpenGL4.ImageTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL4.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMinmax", ExactSpelling = true)] - internal extern static void GetMinmax(OpenTK.Graphics.OpenGL4.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMinmaxParameterfv", ExactSpelling = true)] - internal extern static unsafe void GetMinmaxParameterfv(OpenTK.Graphics.OpenGL4.MinmaxTarget target, OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMinmaxParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetMinmaxParameteriv(OpenTK.Graphics.OpenGL4.MinmaxTarget target, OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultisamplefv", ExactSpelling = true)] - internal extern static unsafe void GetMultisamplefv(OpenTK.Graphics.OpenGL4.GetMultisamplePName pname, UInt32 index, [OutAttribute] Single* val); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedStringARB", ExactSpelling = true)] - internal extern static unsafe void GetNamedStringARB(Int32 namelen, String name, Int32 bufSize, [OutAttribute] Int32* stringlen, [OutAttribute] StringBuilder @string); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedStringivARB", ExactSpelling = true)] - internal extern static unsafe void GetNamedStringivARB(Int32 namelen, String name, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnColorTableARB", ExactSpelling = true)] - internal extern static void GetnColorTableARB(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr table); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnCompressedTexImageARB", ExactSpelling = true)] - internal extern static void GetnCompressedTexImageARB(OpenTK.Graphics.OpenGL4.All target, Int32 lod, Int32 bufSize, [OutAttribute] IntPtr img); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnConvolutionFilterARB", ExactSpelling = true)] - internal extern static void GetnConvolutionFilterARB(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr image); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnHistogramARB", ExactSpelling = true)] - internal extern static void GetnHistogramARB(OpenTK.Graphics.OpenGL4.All target, bool reset, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnMapdvARB", ExactSpelling = true)] - internal extern static unsafe void GetnMapdvARB(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All query, Int32 bufSize, [OutAttribute] Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnMapfvARB", ExactSpelling = true)] - internal extern static unsafe void GetnMapfvARB(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All query, Int32 bufSize, [OutAttribute] Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnMapivARB", ExactSpelling = true)] - internal extern static unsafe void GetnMapivARB(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All query, Int32 bufSize, [OutAttribute] Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnMinmaxARB", ExactSpelling = true)] - internal extern static void GetnMinmaxARB(OpenTK.Graphics.OpenGL4.All target, bool reset, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnPixelMapfvARB", ExactSpelling = true)] - internal extern static unsafe void GetnPixelMapfvARB(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] Single* values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnPixelMapuivARB", ExactSpelling = true)] - internal extern static unsafe void GetnPixelMapuivARB(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] UInt32* values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnPixelMapusvARB", ExactSpelling = true)] - internal extern static unsafe void GetnPixelMapusvARB(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] UInt16* values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnPolygonStippleARB", ExactSpelling = true)] - internal extern static unsafe void GetnPolygonStippleARB(Int32 bufSize, [OutAttribute] Byte* pattern); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnSeparableFilterARB", ExactSpelling = true)] - internal extern static void GetnSeparableFilterARB(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 rowBufSize, [OutAttribute] IntPtr row, Int32 columnBufSize, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnTexImageARB", ExactSpelling = true)] - internal extern static void GetnTexImageARB(OpenTK.Graphics.OpenGL4.All target, Int32 level, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr img); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnUniformdvARB", ExactSpelling = true)] - internal extern static unsafe void GetnUniformdvARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Double* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnUniformfvARB", ExactSpelling = true)] - internal extern static unsafe void GetnUniformfvARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnUniformivARB", ExactSpelling = true)] - internal extern static unsafe void GetnUniformivARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnUniformuivARB", ExactSpelling = true)] - internal extern static unsafe void GetnUniformuivARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectLabel", ExactSpelling = true)] - internal extern static unsafe void GetObjectLabel(OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectLabelKHR", ExactSpelling = true)] - internal extern static unsafe void GetObjectLabelKHR(OpenTK.Graphics.OpenGL4.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectPtrLabel", ExactSpelling = true)] - internal extern static unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectPtrLabelKHR", ExactSpelling = true)] - internal extern static unsafe void GetObjectPtrLabelKHR(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPointerv", ExactSpelling = true)] - internal extern static void GetPointerv(OpenTK.Graphics.OpenGL4.GetPointervPName pname, [OutAttribute] IntPtr @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPointervKHR", ExactSpelling = true)] - internal extern static void GetPointervKHR(OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] IntPtr @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramBinary", ExactSpelling = true)] - internal extern static unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL4.BinaryFormat* binaryFormat, [OutAttribute] IntPtr binary); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramInfoLog", ExactSpelling = true)] - internal extern static unsafe void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramInterfaceiv", ExactSpelling = true)] - internal extern static unsafe void GetProgramInterfaceiv(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, OpenTK.Graphics.OpenGL4.ProgramInterfaceParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramiv", ExactSpelling = true)] - internal extern static unsafe void GetProgramiv(UInt32 program, OpenTK.Graphics.OpenGL4.GetProgramParameterName pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramPipelineInfoLog", ExactSpelling = true)] - internal extern static unsafe void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramPipelineiv", ExactSpelling = true)] - internal extern static unsafe void GetProgramPipelineiv(UInt32 pipeline, OpenTK.Graphics.OpenGL4.ProgramPipelineParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramResourceIndex", ExactSpelling = true)] - internal extern static Int32 GetProgramResourceIndex(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramResourceiv", ExactSpelling = true)] - internal extern static unsafe void GetProgramResourceiv(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, UInt32 index, Int32 propCount, OpenTK.Graphics.OpenGL4.ProgramProperty* props, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramResourceLocation", ExactSpelling = true)] - internal extern static Int32 GetProgramResourceLocation(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramResourceLocationIndex", ExactSpelling = true)] - internal extern static Int32 GetProgramResourceLocationIndex(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramResourceName", ExactSpelling = true)] - internal extern static unsafe void GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramStageiv", ExactSpelling = true)] - internal extern static unsafe void GetProgramStageiv(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, OpenTK.Graphics.OpenGL4.ProgramStageParameter pname, [OutAttribute] Int32* values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryIndexediv", ExactSpelling = true)] - internal extern static unsafe void GetQueryIndexediv(OpenTK.Graphics.OpenGL4.QueryTarget target, UInt32 index, OpenTK.Graphics.OpenGL4.GetQueryParam pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryiv", ExactSpelling = true)] - internal extern static unsafe void GetQueryiv(OpenTK.Graphics.OpenGL4.QueryTarget target, OpenTK.Graphics.OpenGL4.GetQueryParam pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjecti64v", ExactSpelling = true)] - internal extern static unsafe void GetQueryObjecti64v(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] Int64* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectiv", ExactSpelling = true)] - internal extern static unsafe void GetQueryObjectiv(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectui64v", ExactSpelling = true)] - internal extern static unsafe void GetQueryObjectui64v(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] UInt64* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectuiv", ExactSpelling = true)] - internal extern static unsafe void GetQueryObjectuiv(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetRenderbufferParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetRenderbufferParameteriv(OpenTK.Graphics.OpenGL4.RenderbufferTarget target, OpenTK.Graphics.OpenGL4.RenderbufferParameterName pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSamplerParameterfv", ExactSpelling = true)] - internal extern static unsafe void GetSamplerParameterfv(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSamplerParameterIiv", ExactSpelling = true)] - internal extern static unsafe void GetSamplerParameterIiv(UInt32 sampler, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSamplerParameterIuiv", ExactSpelling = true)] - internal extern static unsafe void GetSamplerParameterIuiv(UInt32 sampler, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSamplerParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetSamplerParameteriv(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSeparableFilter", ExactSpelling = true)] - internal extern static void GetSeparableFilter(OpenTK.Graphics.OpenGL4.SeparableTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderInfoLog", ExactSpelling = true)] - internal extern static unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderiv", ExactSpelling = true)] - internal extern static unsafe void GetShaderiv(UInt32 shader, OpenTK.Graphics.OpenGL4.ShaderParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderPrecisionFormat", ExactSpelling = true)] - internal extern static unsafe void GetShaderPrecisionFormat(OpenTK.Graphics.OpenGL4.ShaderType shadertype, OpenTK.Graphics.OpenGL4.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderSource", ExactSpelling = true)] - internal extern static unsafe void GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetString", ExactSpelling = true)] - internal extern static IntPtr GetString(OpenTK.Graphics.OpenGL4.StringName name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetStringi", ExactSpelling = true)] - internal extern static IntPtr GetStringi(OpenTK.Graphics.OpenGL4.StringNameIndexed name, UInt32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSubroutineIndex", ExactSpelling = true)] - internal extern static Int32 GetSubroutineIndex(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSubroutineUniformLocation", ExactSpelling = true)] - internal extern static Int32 GetSubroutineUniformLocation(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSynciv", ExactSpelling = true)] - internal extern static unsafe void GetSynciv(IntPtr sync, OpenTK.Graphics.OpenGL4.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexImage", ExactSpelling = true)] - internal extern static void GetTexImage(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexLevelParameterfv", ExactSpelling = true)] - internal extern static unsafe void GetTexLevelParameterfv(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexLevelParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetTexLevelParameteriv(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterfv", ExactSpelling = true)] - internal extern static unsafe void GetTexParameterfv(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterIiv", ExactSpelling = true)] - internal extern static unsafe void GetTexParameterIiv(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterIuiv", ExactSpelling = true)] - internal extern static unsafe void GetTexParameterIuiv(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetTexParameteriv(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTextureHandleARB", ExactSpelling = true)] - internal extern static Int64 GetTextureHandleARB(UInt32 texture); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTextureSamplerHandleARB", ExactSpelling = true)] - internal extern static Int64 GetTextureSamplerHandleARB(UInt32 texture, UInt32 sampler); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTransformFeedbackVarying", ExactSpelling = true)] - internal extern static unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL4.TransformFeedbackType* type, [OutAttribute] StringBuilder name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformBlockIndex", ExactSpelling = true)] - internal extern static Int32 GetUniformBlockIndex(UInt32 program, String uniformBlockName); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformdv", ExactSpelling = true)] - internal extern static unsafe void GetUniformdv(UInt32 program, Int32 location, [OutAttribute] Double* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformfv", ExactSpelling = true)] - internal extern static unsafe void GetUniformfv(UInt32 program, Int32 location, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformIndices", ExactSpelling = true)] - internal extern static unsafe void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] UInt32* uniformIndices); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformiv", ExactSpelling = true)] - internal extern static unsafe void GetUniformiv(UInt32 program, Int32 location, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformLocation", ExactSpelling = true)] - internal extern static Int32 GetUniformLocation(UInt32 program, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformSubroutineuiv", ExactSpelling = true)] - internal extern static unsafe void GetUniformSubroutineuiv(OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 location, [OutAttribute] UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformuiv", ExactSpelling = true)] - internal extern static unsafe void GetUniformuiv(UInt32 program, Int32 location, [OutAttribute] UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribdv", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribdv(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Double* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribfv", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribfv(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribIiv", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribIiv(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribIuiv", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribIuiv(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribiv", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribiv(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribLdv", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribLdv(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Double* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribLui64vARB", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribLui64vARB(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameterArb pname, [OutAttribute] UInt64* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribPointerv", ExactSpelling = true)] - internal extern static void GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glHint", ExactSpelling = true)] - internal extern static void Hint(OpenTK.Graphics.OpenGL4.HintTarget target, OpenTK.Graphics.OpenGL4.HintMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glHistogram", ExactSpelling = true)] - internal extern static void Histogram(OpenTK.Graphics.OpenGL4.HistogramTarget target, Int32 width, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, bool sink); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glInvalidateBufferData", ExactSpelling = true)] - internal extern static void InvalidateBufferData(UInt32 buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glInvalidateBufferSubData", ExactSpelling = true)] - internal extern static void InvalidateBufferSubData(UInt32 buffer, IntPtr offset, IntPtr length); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glInvalidateFramebuffer", ExactSpelling = true)] - internal extern static unsafe void InvalidateFramebuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.OpenGL4.FramebufferAttachment* attachments); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glInvalidateSubFramebuffer", ExactSpelling = true)] - internal extern static unsafe void InvalidateSubFramebuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.OpenGL4.FramebufferAttachment* attachments, Int32 x, Int32 y, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glInvalidateTexImage", ExactSpelling = true)] - internal extern static void InvalidateTexImage(UInt32 texture, Int32 level); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glInvalidateTexSubImage", ExactSpelling = true)] - internal extern static void InvalidateTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsBuffer", ExactSpelling = true)] - internal extern static bool IsBuffer(UInt32 buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsEnabled", ExactSpelling = true)] - internal extern static bool IsEnabled(OpenTK.Graphics.OpenGL4.EnableCap cap); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsEnabledi", ExactSpelling = true)] - internal extern static bool IsEnabledi(OpenTK.Graphics.OpenGL4.IndexedEnableCap target, UInt32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsFramebuffer", ExactSpelling = true)] - internal extern static bool IsFramebuffer(UInt32 framebuffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsImageHandleResidentARB", ExactSpelling = true)] - internal extern static bool IsImageHandleResidentARB(UInt64 handle); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsNamedStringARB", ExactSpelling = true)] - internal extern static bool IsNamedStringARB(Int32 namelen, String name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsProgram", ExactSpelling = true)] - internal extern static bool IsProgram(UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsProgramPipeline", ExactSpelling = true)] - internal extern static bool IsProgramPipeline(UInt32 pipeline); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsQuery", ExactSpelling = true)] - internal extern static bool IsQuery(UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsRenderbuffer", ExactSpelling = true)] - internal extern static bool IsRenderbuffer(UInt32 renderbuffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsSampler", ExactSpelling = true)] - internal extern static bool IsSampler(UInt32 sampler); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsShader", ExactSpelling = true)] - internal extern static bool IsShader(UInt32 shader); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsSync", ExactSpelling = true)] - internal extern static bool IsSync(IntPtr sync); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsTexture", ExactSpelling = true)] - internal extern static bool IsTexture(UInt32 texture); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsTextureHandleResidentARB", ExactSpelling = true)] - internal extern static bool IsTextureHandleResidentARB(UInt64 handle); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsTransformFeedback", ExactSpelling = true)] - internal extern static bool IsTransformFeedback(UInt32 id); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsVertexArray", ExactSpelling = true)] - internal extern static bool IsVertexArray(UInt32 array); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLineWidth", ExactSpelling = true)] - internal extern static void LineWidth(Single width); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLinkProgram", ExactSpelling = true)] - internal extern static void LinkProgram(UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLogicOp", ExactSpelling = true)] - internal extern static void LogicOp(OpenTK.Graphics.OpenGL4.LogicOp opcode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMakeImageHandleNonResidentARB", ExactSpelling = true)] - internal extern static void MakeImageHandleNonResidentARB(UInt64 handle); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMakeImageHandleResidentARB", ExactSpelling = true)] - internal extern static void MakeImageHandleResidentARB(UInt64 handle, OpenTK.Graphics.OpenGL4.All access); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMakeTextureHandleNonResidentARB", ExactSpelling = true)] - internal extern static void MakeTextureHandleNonResidentARB(UInt64 handle); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMakeTextureHandleResidentARB", ExactSpelling = true)] - internal extern static void MakeTextureHandleResidentARB(UInt64 handle); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapBuffer", ExactSpelling = true)] - internal extern static IntPtr MapBuffer(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferAccess access); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapBufferRange", ExactSpelling = true)] - internal extern static IntPtr MapBufferRange(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.OpenGL4.BufferAccessMask access); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMemoryBarrier", ExactSpelling = true)] - internal extern static void MemoryBarrier(OpenTK.Graphics.OpenGL4.MemoryBarrierFlags barriers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMinmax", ExactSpelling = true)] - internal extern static void Minmax(OpenTK.Graphics.OpenGL4.MinmaxTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, bool sink); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMinSampleShading", ExactSpelling = true)] - internal extern static void MinSampleShading(Single value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMinSampleShadingARB", ExactSpelling = true)] - internal extern static void MinSampleShadingARB(Single value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawArrays", ExactSpelling = true)] - internal extern static unsafe void MultiDrawArrays(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* first, Int32* count, Int32 drawcount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawArraysIndirect", ExactSpelling = true)] - internal extern static void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, IntPtr indirect, Int32 drawcount, Int32 stride); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawArraysIndirectCountARB", ExactSpelling = true)] - internal extern static void MultiDrawArraysIndirectCountARB(OpenTK.Graphics.OpenGL4.All mode, IntPtr indirect, IntPtr drawcount, Int32 maxdrawcount, Int32 stride); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElements", ExactSpelling = true)] - internal extern static unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 drawcount); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElementsBaseVertex", ExactSpelling = true)] - internal extern static unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 drawcount, Int32* basevertex); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElementsIndirect", ExactSpelling = true)] - internal extern static void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL4.All mode, OpenTK.Graphics.OpenGL4.All type, IntPtr indirect, Int32 drawcount, Int32 stride); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElementsIndirectCountARB", ExactSpelling = true)] - internal extern static void MultiDrawElementsIndirectCountARB(OpenTK.Graphics.OpenGL4.All mode, OpenTK.Graphics.OpenGL4.All type, IntPtr indirect, IntPtr drawcount, Int32 maxdrawcount, Int32 stride); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoordP1ui", ExactSpelling = true)] - internal extern static void MultiTexCoordP1ui(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoordP1uiv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoordP1uiv(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoordP2ui", ExactSpelling = true)] - internal extern static void MultiTexCoordP2ui(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoordP2uiv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoordP2uiv(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoordP3ui", ExactSpelling = true)] - internal extern static void MultiTexCoordP3ui(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoordP3uiv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoordP3uiv(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoordP4ui", ExactSpelling = true)] - internal extern static void MultiTexCoordP4ui(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoordP4uiv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoordP4uiv(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedStringARB", ExactSpelling = true)] - internal extern static void NamedStringARB(OpenTK.Graphics.OpenGL4.All type, Int32 namelen, String name, Int32 stringlen, String @string); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalP3ui", ExactSpelling = true)] - internal extern static void NormalP3ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalP3uiv", ExactSpelling = true)] - internal extern static unsafe void NormalP3uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glObjectLabel", ExactSpelling = true)] - internal extern static void ObjectLabel(OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glObjectLabelKHR", ExactSpelling = true)] - internal extern static void ObjectLabelKHR(OpenTK.Graphics.OpenGL4.All identifier, UInt32 name, Int32 length, String label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glObjectPtrLabel", ExactSpelling = true)] - internal extern static void ObjectPtrLabel(IntPtr ptr, Int32 length, String label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glObjectPtrLabelKHR", ExactSpelling = true)] - internal extern static void ObjectPtrLabelKHR(IntPtr ptr, Int32 length, String label); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPatchParameterfv", ExactSpelling = true)] - internal extern static unsafe void PatchParameterfv(OpenTK.Graphics.OpenGL4.PatchParameterFloat pname, Single* values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPatchParameteri", ExactSpelling = true)] - internal extern static void PatchParameteri(OpenTK.Graphics.OpenGL4.PatchParameterInt pname, Int32 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPauseTransformFeedback", ExactSpelling = true)] - internal extern static void PauseTransformFeedback(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelStoref", ExactSpelling = true)] - internal extern static void PixelStoref(OpenTK.Graphics.OpenGL4.PixelStoreParameter pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelStorei", ExactSpelling = true)] - internal extern static void PixelStorei(OpenTK.Graphics.OpenGL4.PixelStoreParameter pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterf", ExactSpelling = true)] - internal extern static void PointParameterf(OpenTK.Graphics.OpenGL4.PointParameterName pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterfv", ExactSpelling = true)] - internal extern static unsafe void PointParameterfv(OpenTK.Graphics.OpenGL4.PointParameterName pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameteri", ExactSpelling = true)] - internal extern static void PointParameteri(OpenTK.Graphics.OpenGL4.PointParameterName pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameteriv", ExactSpelling = true)] - internal extern static unsafe void PointParameteriv(OpenTK.Graphics.OpenGL4.PointParameterName pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointSize", ExactSpelling = true)] - internal extern static void PointSize(Single size); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPolygonMode", ExactSpelling = true)] - internal extern static void PolygonMode(OpenTK.Graphics.OpenGL4.MaterialFace face, OpenTK.Graphics.OpenGL4.PolygonMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPolygonOffset", ExactSpelling = true)] - internal extern static void PolygonOffset(Single factor, Single units); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPopDebugGroup", ExactSpelling = true)] - internal extern static void PopDebugGroup(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPopDebugGroupKHR", ExactSpelling = true)] - internal extern static void PopDebugGroupKHR(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPrimitiveRestartIndex", ExactSpelling = true)] - internal extern static void PrimitiveRestartIndex(UInt32 index); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramBinary", ExactSpelling = true)] - internal extern static void ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, IntPtr binary, Int32 length); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameteri", ExactSpelling = true)] - internal extern static void ProgramParameteri(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramParameterName pname, Int32 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1d", ExactSpelling = true)] - internal extern static void ProgramUniform1d(UInt32 program, Int32 location, Double v0); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1dv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform1dv(UInt32 program, Int32 location, Int32 count, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1f", ExactSpelling = true)] - internal extern static void ProgramUniform1f(UInt32 program, Int32 location, Single v0); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1fv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform1fv(UInt32 program, Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1i", ExactSpelling = true)] - internal extern static void ProgramUniform1i(UInt32 program, Int32 location, Int32 v0); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1iv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform1iv(UInt32 program, Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1ui", ExactSpelling = true)] - internal extern static void ProgramUniform1ui(UInt32 program, Int32 location, UInt32 v0); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1uiv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform1uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2d", ExactSpelling = true)] - internal extern static void ProgramUniform2d(UInt32 program, Int32 location, Double v0, Double v1); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2dv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform2dv(UInt32 program, Int32 location, Int32 count, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2f", ExactSpelling = true)] - internal extern static void ProgramUniform2f(UInt32 program, Int32 location, Single v0, Single v1); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2fv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform2fv(UInt32 program, Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2i", ExactSpelling = true)] - internal extern static void ProgramUniform2i(UInt32 program, Int32 location, Int32 v0, Int32 v1); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2iv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform2iv(UInt32 program, Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2ui", ExactSpelling = true)] - internal extern static void ProgramUniform2ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2uiv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform2uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3d", ExactSpelling = true)] - internal extern static void ProgramUniform3d(UInt32 program, Int32 location, Double v0, Double v1, Double v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3dv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform3dv(UInt32 program, Int32 location, Int32 count, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3f", ExactSpelling = true)] - internal extern static void ProgramUniform3f(UInt32 program, Int32 location, Single v0, Single v1, Single v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3fv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform3fv(UInt32 program, Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3i", ExactSpelling = true)] - internal extern static void ProgramUniform3i(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3iv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform3iv(UInt32 program, Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3ui", ExactSpelling = true)] - internal extern static void ProgramUniform3ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3uiv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform3uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4d", ExactSpelling = true)] - internal extern static void ProgramUniform4d(UInt32 program, Int32 location, Double v0, Double v1, Double v2, Double v3); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4dv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform4dv(UInt32 program, Int32 location, Int32 count, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4f", ExactSpelling = true)] - internal extern static void ProgramUniform4f(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4fv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform4fv(UInt32 program, Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4i", ExactSpelling = true)] - internal extern static void ProgramUniform4i(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4iv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform4iv(UInt32 program, Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4ui", ExactSpelling = true)] - internal extern static void ProgramUniform4ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4uiv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniform4uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformHandleui64ARB", ExactSpelling = true)] - internal extern static void ProgramUniformHandleui64ARB(UInt32 program, Int32 location, UInt64 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformHandleui64vARB", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformHandleui64vARB(UInt32 program, Int32 location, Int32 count, UInt64* values); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2dv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2fv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2x3dv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix2x3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2x3fv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix2x3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2x4dv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix2x4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2x4fv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix2x4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3dv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3fv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3x2dv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix3x2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3x2fv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix3x2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3x4dv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix3x4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3x4fv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix3x4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4dv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4fv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4x2dv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix4x2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4x2fv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix4x2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4x3dv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix4x3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4x3fv", ExactSpelling = true)] - internal extern static unsafe void ProgramUniformMatrix4x3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProvokingVertex", ExactSpelling = true)] - internal extern static void ProvokingVertex(OpenTK.Graphics.OpenGL4.ProvokingVertexMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPushDebugGroup", ExactSpelling = true)] - internal extern static void PushDebugGroup(OpenTK.Graphics.OpenGL4.DebugSourceExternal source, UInt32 id, Int32 length, String message); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPushDebugGroupKHR", ExactSpelling = true)] - internal extern static void PushDebugGroupKHR(OpenTK.Graphics.OpenGL4.All source, UInt32 id, Int32 length, String message); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glQueryCounter", ExactSpelling = true)] - internal extern static void QueryCounter(UInt32 id, OpenTK.Graphics.OpenGL4.QueryCounterTarget target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadBuffer", ExactSpelling = true)] - internal extern static void ReadBuffer(OpenTK.Graphics.OpenGL4.ReadBufferMode mode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadnPixelsARB", ExactSpelling = true)] - internal extern static void ReadnPixelsARB(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadPixels", ExactSpelling = true)] - internal extern static void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReleaseShaderCompiler", ExactSpelling = true)] - internal extern static void ReleaseShaderCompiler(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorage", ExactSpelling = true)] - internal extern static void RenderbufferStorage(OpenTK.Graphics.OpenGL4.RenderbufferTarget target, OpenTK.Graphics.OpenGL4.RenderbufferStorage internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisample", ExactSpelling = true)] - internal extern static void RenderbufferStorageMultisample(OpenTK.Graphics.OpenGL4.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.OpenGL4.RenderbufferStorage internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResetHistogram", ExactSpelling = true)] - internal extern static void ResetHistogram(OpenTK.Graphics.OpenGL4.HistogramTarget target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResetMinmax", ExactSpelling = true)] - internal extern static void ResetMinmax(OpenTK.Graphics.OpenGL4.MinmaxTarget target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResumeTransformFeedback", ExactSpelling = true)] - internal extern static void ResumeTransformFeedback(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleCoverage", ExactSpelling = true)] - internal extern static void SampleCoverage(Single value, bool invert); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleMaski", ExactSpelling = true)] - internal extern static void SampleMaski(UInt32 index, UInt32 mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplerParameterf", ExactSpelling = true)] - internal extern static void SamplerParameterf(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplerParameterfv", ExactSpelling = true)] - internal extern static unsafe void SamplerParameterfv(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Single* param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplerParameteri", ExactSpelling = true)] - internal extern static void SamplerParameteri(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplerParameterIiv", ExactSpelling = true)] - internal extern static unsafe void SamplerParameterIiv(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32* param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplerParameterIuiv", ExactSpelling = true)] - internal extern static unsafe void SamplerParameterIuiv(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, UInt32* param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplerParameteriv", ExactSpelling = true)] - internal extern static unsafe void SamplerParameteriv(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32* param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glScissor", ExactSpelling = true)] - internal extern static void Scissor(Int32 x, Int32 y, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glScissorArrayv", ExactSpelling = true)] - internal extern static unsafe void ScissorArrayv(UInt32 first, Int32 count, Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glScissorIndexed", ExactSpelling = true)] - internal extern static void ScissorIndexed(UInt32 index, Int32 left, Int32 bottom, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glScissorIndexedv", ExactSpelling = true)] - internal extern static unsafe void ScissorIndexedv(UInt32 index, Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColorP3ui", ExactSpelling = true)] - internal extern static void SecondaryColorP3ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 color); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColorP3uiv", ExactSpelling = true)] - internal extern static unsafe void SecondaryColorP3uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* color); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSeparableFilter2D", ExactSpelling = true)] - internal extern static void SeparableFilter2D(OpenTK.Graphics.OpenGL4.SeparableTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr row, IntPtr column); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShaderBinary", ExactSpelling = true)] - internal extern static unsafe void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, IntPtr binary, Int32 length); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShaderSource", ExactSpelling = true)] - internal extern static unsafe void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShaderStorageBlockBinding", ExactSpelling = true)] - internal extern static void ShaderStorageBlockBinding(UInt32 program, UInt32 storageBlockIndex, UInt32 storageBlockBinding); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilFunc", ExactSpelling = true)] - internal extern static void StencilFunc(OpenTK.Graphics.OpenGL4.StencilFunction func, Int32 @ref, UInt32 mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilFuncSeparate", ExactSpelling = true)] - internal extern static void StencilFuncSeparate(OpenTK.Graphics.OpenGL4.StencilFace face, OpenTK.Graphics.OpenGL4.StencilFunction func, Int32 @ref, UInt32 mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilMask", ExactSpelling = true)] - internal extern static void StencilMask(UInt32 mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilMaskSeparate", ExactSpelling = true)] - internal extern static void StencilMaskSeparate(OpenTK.Graphics.OpenGL4.StencilFace face, UInt32 mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilOp", ExactSpelling = true)] - internal extern static void StencilOp(OpenTK.Graphics.OpenGL4.StencilOp fail, OpenTK.Graphics.OpenGL4.StencilOp zfail, OpenTK.Graphics.OpenGL4.StencilOp zpass); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilOpSeparate", ExactSpelling = true)] - internal extern static void StencilOpSeparate(OpenTK.Graphics.OpenGL4.StencilFace face, OpenTK.Graphics.OpenGL4.StencilOp sfail, OpenTK.Graphics.OpenGL4.StencilOp dpfail, OpenTK.Graphics.OpenGL4.StencilOp dppass); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexBuffer", ExactSpelling = true)] - internal extern static void TexBuffer(OpenTK.Graphics.OpenGL4.TextureBufferTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, UInt32 buffer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexBufferRange", ExactSpelling = true)] - internal extern static void TexBufferRange(OpenTK.Graphics.OpenGL4.TextureBufferTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, UInt32 buffer, IntPtr offset, IntPtr size); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordP1ui", ExactSpelling = true)] - internal extern static void TexCoordP1ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordP1uiv", ExactSpelling = true)] - internal extern static unsafe void TexCoordP1uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordP2ui", ExactSpelling = true)] - internal extern static void TexCoordP2ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordP2uiv", ExactSpelling = true)] - internal extern static unsafe void TexCoordP2uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordP3ui", ExactSpelling = true)] - internal extern static void TexCoordP3ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordP3uiv", ExactSpelling = true)] - internal extern static unsafe void TexCoordP3uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordP4ui", ExactSpelling = true)] - internal extern static void TexCoordP4ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordP4uiv", ExactSpelling = true)] - internal extern static unsafe void TexCoordP4uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage1D", ExactSpelling = true)] - internal extern static void TexImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage2D", ExactSpelling = true)] - internal extern static void TexImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage2DMultisample", ExactSpelling = true)] - internal extern static void TexImage2DMultisample(OpenTK.Graphics.OpenGL4.TextureTargetMultisample target, Int32 samples, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, bool fixedsamplelocations); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage3D", ExactSpelling = true)] - internal extern static void TexImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage3DMultisample", ExactSpelling = true)] - internal extern static void TexImage3DMultisample(OpenTK.Graphics.OpenGL4.TextureTargetMultisample target, Int32 samples, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexPageCommitmentARB", ExactSpelling = true)] - internal extern static void TexPageCommitmentARB(OpenTK.Graphics.OpenGL4.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, bool resident); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterf", ExactSpelling = true)] - internal extern static void TexParameterf(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Single param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterfv", ExactSpelling = true)] - internal extern static unsafe void TexParameterfv(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Single* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameteri", ExactSpelling = true)] - internal extern static void TexParameteri(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Int32 param); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterIiv", ExactSpelling = true)] - internal extern static unsafe void TexParameterIiv(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterIuiv", ExactSpelling = true)] - internal extern static unsafe void TexParameterIuiv(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, UInt32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameteriv", ExactSpelling = true)] - internal extern static unsafe void TexParameteriv(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Int32* @params); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage1D", ExactSpelling = true)] - internal extern static void TexStorage1D(OpenTK.Graphics.OpenGL4.TextureTarget1d target, Int32 levels, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 width); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage2D", ExactSpelling = true)] - internal extern static void TexStorage2D(OpenTK.Graphics.OpenGL4.TextureTarget2d target, Int32 levels, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage2DMultisample", ExactSpelling = true)] - internal extern static void TexStorage2DMultisample(OpenTK.Graphics.OpenGL4.TextureTargetMultisample2d target, Int32 samples, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 width, Int32 height, bool fixedsamplelocations); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage3D", ExactSpelling = true)] - internal extern static void TexStorage3D(OpenTK.Graphics.OpenGL4.TextureTarget3d target, Int32 levels, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage3DMultisample", ExactSpelling = true)] - internal extern static void TexStorage3DMultisample(OpenTK.Graphics.OpenGL4.TextureTargetMultisample3d target, Int32 samples, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage1D", ExactSpelling = true)] - internal extern static void TexSubImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage2D", ExactSpelling = true)] - internal extern static void TexSubImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage3D", ExactSpelling = true)] - internal extern static void TexSubImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureView", ExactSpelling = true)] - internal extern static void TextureView(UInt32 texture, OpenTK.Graphics.OpenGL4.TextureTarget target, UInt32 origtexture, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, UInt32 minlevel, UInt32 numlevels, UInt32 minlayer, UInt32 numlayers); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTransformFeedbackVaryings", ExactSpelling = true)] - internal extern static void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL4.TransformFeedbackMode bufferMode); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1d", ExactSpelling = true)] - internal extern static void Uniform1d(Int32 location, Double x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1dv", ExactSpelling = true)] - internal extern static unsafe void Uniform1dv(Int32 location, Int32 count, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1f", ExactSpelling = true)] - internal extern static void Uniform1f(Int32 location, Single v0); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1fv", ExactSpelling = true)] - internal extern static unsafe void Uniform1fv(Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1i", ExactSpelling = true)] - internal extern static void Uniform1i(Int32 location, Int32 v0); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1iv", ExactSpelling = true)] - internal extern static unsafe void Uniform1iv(Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1ui", ExactSpelling = true)] - internal extern static void Uniform1ui(Int32 location, UInt32 v0); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1uiv", ExactSpelling = true)] - internal extern static unsafe void Uniform1uiv(Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2d", ExactSpelling = true)] - internal extern static void Uniform2d(Int32 location, Double x, Double y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2dv", ExactSpelling = true)] - internal extern static unsafe void Uniform2dv(Int32 location, Int32 count, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2f", ExactSpelling = true)] - internal extern static void Uniform2f(Int32 location, Single v0, Single v1); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2fv", ExactSpelling = true)] - internal extern static unsafe void Uniform2fv(Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2i", ExactSpelling = true)] - internal extern static void Uniform2i(Int32 location, Int32 v0, Int32 v1); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2iv", ExactSpelling = true)] - internal extern static unsafe void Uniform2iv(Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2ui", ExactSpelling = true)] - internal extern static void Uniform2ui(Int32 location, UInt32 v0, UInt32 v1); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2uiv", ExactSpelling = true)] - internal extern static unsafe void Uniform2uiv(Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3d", ExactSpelling = true)] - internal extern static void Uniform3d(Int32 location, Double x, Double y, Double z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3dv", ExactSpelling = true)] - internal extern static unsafe void Uniform3dv(Int32 location, Int32 count, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3f", ExactSpelling = true)] - internal extern static void Uniform3f(Int32 location, Single v0, Single v1, Single v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3fv", ExactSpelling = true)] - internal extern static unsafe void Uniform3fv(Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3i", ExactSpelling = true)] - internal extern static void Uniform3i(Int32 location, Int32 v0, Int32 v1, Int32 v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3iv", ExactSpelling = true)] - internal extern static unsafe void Uniform3iv(Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3ui", ExactSpelling = true)] - internal extern static void Uniform3ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3uiv", ExactSpelling = true)] - internal extern static unsafe void Uniform3uiv(Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4d", ExactSpelling = true)] - internal extern static void Uniform4d(Int32 location, Double x, Double y, Double z, Double w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4dv", ExactSpelling = true)] - internal extern static unsafe void Uniform4dv(Int32 location, Int32 count, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4f", ExactSpelling = true)] - internal extern static void Uniform4f(Int32 location, Single v0, Single v1, Single v2, Single v3); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4fv", ExactSpelling = true)] - internal extern static unsafe void Uniform4fv(Int32 location, Int32 count, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4i", ExactSpelling = true)] - internal extern static void Uniform4i(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4iv", ExactSpelling = true)] - internal extern static unsafe void Uniform4iv(Int32 location, Int32 count, Int32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4ui", ExactSpelling = true)] - internal extern static void Uniform4ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4uiv", ExactSpelling = true)] - internal extern static unsafe void Uniform4uiv(Int32 location, Int32 count, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformBlockBinding", ExactSpelling = true)] - internal extern static void UniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformHandleui64ARB", ExactSpelling = true)] - internal extern static void UniformHandleui64ARB(Int32 location, UInt64 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformHandleui64vARB", ExactSpelling = true)] - internal extern static unsafe void UniformHandleui64vARB(Int32 location, Int32 count, UInt64* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2dv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix2dv(Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2fv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix2fv(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2x3dv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix2x3dv(Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2x3fv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix2x3fv(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2x4dv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix2x4dv(Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2x4fv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix2x4fv(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3dv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix3dv(Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3fv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix3fv(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3x2dv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix3x2dv(Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3x2fv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix3x2fv(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3x4dv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix3x4dv(Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3x4fv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix3x4fv(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4dv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix4dv(Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4fv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix4fv(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4x2dv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix4x2dv(Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4x2fv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix4x2fv(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4x3dv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix4x3dv(Int32 location, Int32 count, bool transpose, Double* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4x3fv", ExactSpelling = true)] - internal extern static unsafe void UniformMatrix4x3fv(Int32 location, Int32 count, bool transpose, Single* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformSubroutinesuiv", ExactSpelling = true)] - internal extern static unsafe void UniformSubroutinesuiv(OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 count, UInt32* indices); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUnmapBuffer", ExactSpelling = true)] - internal extern static bool UnmapBuffer(OpenTK.Graphics.OpenGL4.BufferTarget target); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUseProgram", ExactSpelling = true)] - internal extern static void UseProgram(UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUseProgramStages", ExactSpelling = true)] - internal extern static void UseProgramStages(UInt32 pipeline, OpenTK.Graphics.OpenGL4.ProgramStageMask stages, UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glValidateProgram", ExactSpelling = true)] - internal extern static void ValidateProgram(UInt32 program); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glValidateProgramPipeline", ExactSpelling = true)] - internal extern static void ValidateProgramPipeline(UInt32 pipeline); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1d", ExactSpelling = true)] - internal extern static void VertexAttrib1d(UInt32 index, Double x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1dv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib1dv(UInt32 index, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1f", ExactSpelling = true)] - internal extern static void VertexAttrib1f(UInt32 index, Single x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1fv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib1fv(UInt32 index, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1s", ExactSpelling = true)] - internal extern static void VertexAttrib1s(UInt32 index, Int16 x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1sv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib1sv(UInt32 index, Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2d", ExactSpelling = true)] - internal extern static void VertexAttrib2d(UInt32 index, Double x, Double y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2dv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib2dv(UInt32 index, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2f", ExactSpelling = true)] - internal extern static void VertexAttrib2f(UInt32 index, Single x, Single y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2fv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib2fv(UInt32 index, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2s", ExactSpelling = true)] - internal extern static void VertexAttrib2s(UInt32 index, Int16 x, Int16 y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2sv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib2sv(UInt32 index, Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3d", ExactSpelling = true)] - internal extern static void VertexAttrib3d(UInt32 index, Double x, Double y, Double z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3dv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib3dv(UInt32 index, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3f", ExactSpelling = true)] - internal extern static void VertexAttrib3f(UInt32 index, Single x, Single y, Single z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3fv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib3fv(UInt32 index, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3s", ExactSpelling = true)] - internal extern static void VertexAttrib3s(UInt32 index, Int16 x, Int16 y, Int16 z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3sv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib3sv(UInt32 index, Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4bv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4bv(UInt32 index, SByte* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4d", ExactSpelling = true)] - internal extern static void VertexAttrib4d(UInt32 index, Double x, Double y, Double z, Double w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4dv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4dv(UInt32 index, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4f", ExactSpelling = true)] - internal extern static void VertexAttrib4f(UInt32 index, Single x, Single y, Single z, Single w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4fv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4fv(UInt32 index, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4iv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4iv(UInt32 index, Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4Nbv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4Nbv(UInt32 index, SByte* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4Niv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4Niv(UInt32 index, Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4Nsv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4Nsv(UInt32 index, Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4Nub", ExactSpelling = true)] - internal extern static void VertexAttrib4Nub(UInt32 index, Byte x, Byte y, Byte z, Byte w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4Nubv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4Nubv(UInt32 index, Byte* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4Nuiv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4Nuiv(UInt32 index, UInt32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4Nusv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4Nusv(UInt32 index, UInt16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4s", ExactSpelling = true)] - internal extern static void VertexAttrib4s(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4sv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4sv(UInt32 index, Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4ubv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4ubv(UInt32 index, Byte* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4uiv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4uiv(UInt32 index, UInt32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4usv", ExactSpelling = true)] - internal extern static unsafe void VertexAttrib4usv(UInt32 index, UInt16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribBinding", ExactSpelling = true)] - internal extern static void VertexAttribBinding(UInt32 attribindex, UInt32 bindingindex); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribDivisor", ExactSpelling = true)] - internal extern static void VertexAttribDivisor(UInt32 index, UInt32 divisor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribFormat", ExactSpelling = true)] - internal extern static void VertexAttribFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribType type, bool normalized, UInt32 relativeoffset); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI1i", ExactSpelling = true)] - internal extern static void VertexAttribI1i(UInt32 index, Int32 x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI1iv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI1iv(UInt32 index, Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI1ui", ExactSpelling = true)] - internal extern static void VertexAttribI1ui(UInt32 index, UInt32 x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI1uiv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI1uiv(UInt32 index, UInt32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI2i", ExactSpelling = true)] - internal extern static void VertexAttribI2i(UInt32 index, Int32 x, Int32 y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI2iv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI2iv(UInt32 index, Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI2ui", ExactSpelling = true)] - internal extern static void VertexAttribI2ui(UInt32 index, UInt32 x, UInt32 y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI2uiv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI2uiv(UInt32 index, UInt32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI3i", ExactSpelling = true)] - internal extern static void VertexAttribI3i(UInt32 index, Int32 x, Int32 y, Int32 z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI3iv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI3iv(UInt32 index, Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI3ui", ExactSpelling = true)] - internal extern static void VertexAttribI3ui(UInt32 index, UInt32 x, UInt32 y, UInt32 z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI3uiv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI3uiv(UInt32 index, UInt32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4bv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI4bv(UInt32 index, SByte* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4i", ExactSpelling = true)] - internal extern static void VertexAttribI4i(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4iv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI4iv(UInt32 index, Int32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4sv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI4sv(UInt32 index, Int16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4ubv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI4ubv(UInt32 index, Byte* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4ui", ExactSpelling = true)] - internal extern static void VertexAttribI4ui(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4uiv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI4uiv(UInt32 index, UInt32* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4usv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribI4usv(UInt32 index, UInt16* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribIFormat", ExactSpelling = true)] - internal extern static void VertexAttribIFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, UInt32 relativeoffset); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribIPointer", ExactSpelling = true)] - internal extern static void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL1d", ExactSpelling = true)] - internal extern static void VertexAttribL1d(UInt32 index, Double x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL1dv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribL1dv(UInt32 index, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL1ui64ARB", ExactSpelling = true)] - internal extern static void VertexAttribL1ui64ARB(UInt32 index, UInt64 x); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL1ui64vARB", ExactSpelling = true)] - internal extern static unsafe void VertexAttribL1ui64vARB(UInt32 index, UInt64* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL2d", ExactSpelling = true)] - internal extern static void VertexAttribL2d(UInt32 index, Double x, Double y); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL2dv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribL2dv(UInt32 index, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL3d", ExactSpelling = true)] - internal extern static void VertexAttribL3d(UInt32 index, Double x, Double y, Double z); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL3dv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribL3dv(UInt32 index, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL4d", ExactSpelling = true)] - internal extern static void VertexAttribL4d(UInt32 index, Double x, Double y, Double z, Double w); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribL4dv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribL4dv(UInt32 index, Double* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribLFormat", ExactSpelling = true)] - internal extern static void VertexAttribLFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, UInt32 relativeoffset); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribLPointer", ExactSpelling = true)] - internal extern static void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribP1ui", ExactSpelling = true)] - internal extern static void VertexAttribP1ui(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribP1uiv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribP1uiv(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribP2ui", ExactSpelling = true)] - internal extern static void VertexAttribP2ui(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribP2uiv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribP2uiv(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribP3ui", ExactSpelling = true)] - internal extern static void VertexAttribP3ui(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribP3uiv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribP3uiv(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribP4ui", ExactSpelling = true)] - internal extern static void VertexAttribP4ui(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribP4uiv", ExactSpelling = true)] - internal extern static unsafe void VertexAttribP4uiv(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribPointer", ExactSpelling = true)] - internal extern static void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexBindingDivisor", ExactSpelling = true)] - internal extern static void VertexBindingDivisor(UInt32 bindingindex, UInt32 divisor); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexP2ui", ExactSpelling = true)] - internal extern static void VertexP2ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexP2uiv", ExactSpelling = true)] - internal extern static unsafe void VertexP2uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexP3ui", ExactSpelling = true)] - internal extern static void VertexP3ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexP3uiv", ExactSpelling = true)] - internal extern static unsafe void VertexP3uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexP4ui", ExactSpelling = true)] - internal extern static void VertexP4ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexP4uiv", ExactSpelling = true)] - internal extern static unsafe void VertexP4uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glViewport", ExactSpelling = true)] - internal extern static void Viewport(Int32 x, Int32 y, Int32 width, Int32 height); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glViewportArrayv", ExactSpelling = true)] - internal extern static unsafe void ViewportArrayv(UInt32 first, Int32 count, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glViewportIndexedf", ExactSpelling = true)] - internal extern static void ViewportIndexedf(UInt32 index, Single x, Single y, Single w, Single h); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glViewportIndexedfv", ExactSpelling = true)] - internal extern static unsafe void ViewportIndexedfv(UInt32 index, Single* v); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWaitSync", ExactSpelling = true)] - internal extern static OpenTK.Graphics.OpenGL4.WaitSyncStatus WaitSync(IntPtr sync, OpenTK.Graphics.OpenGL4.WaitSyncFlags flags, UInt64 timeout); - } - } -} diff --git a/Source/OpenTK/Graphics/OpenGL4/GL4Delegates.cs b/Source/OpenTK/Graphics/OpenGL4/GL4Delegates.cs deleted file mode 100644 index 2f08f952..00000000 --- a/Source/OpenTK/Graphics/OpenGL4/GL4Delegates.cs +++ /dev/null @@ -1,2059 +0,0 @@ -// -// The Open Toolkit Library License -// -// Copyright (c) 2006 - 2013 Stefanos Apostolopoulos for the Open Toolkit Library -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights to -// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -// the Software, and to permit persons to whom the Software is furnished to do -// so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -// OTHER DEALINGS IN THE SOFTWARE. -// - - - -namespace OpenTK.Graphics.OpenGL4 -{ - using System; - using System.Text; - using System.Runtime.InteropServices; - #pragma warning disable 0649 - #pragma warning disable 3019 - #pragma warning disable 1591 - - partial class GL - { - internal static partial class Delegates - { - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ActiveShaderProgram(UInt32 pipeline, UInt32 program); - internal static ActiveShaderProgram glActiveShaderProgram; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ActiveTexture(OpenTK.Graphics.OpenGL4.TextureUnit texture); - internal static ActiveTexture glActiveTexture; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void AttachShader(UInt32 program, UInt32 shader); - internal static AttachShader glAttachShader; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginConditionalRender(UInt32 id, OpenTK.Graphics.OpenGL4.ConditionalRenderType mode); - internal static BeginConditionalRender glBeginConditionalRender; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginQuery(OpenTK.Graphics.OpenGL4.QueryTarget target, UInt32 id); - internal static BeginQuery glBeginQuery; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginQueryIndexed(OpenTK.Graphics.OpenGL4.QueryTarget target, UInt32 index, UInt32 id); - internal static BeginQueryIndexed glBeginQueryIndexed; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginTransformFeedback(OpenTK.Graphics.OpenGL4.TransformFeedbackPrimitiveType primitiveMode); - internal static BeginTransformFeedback glBeginTransformFeedback; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindAttribLocation(UInt32 program, UInt32 index, String name); - internal static BindAttribLocation glBindAttribLocation; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindBuffer(OpenTK.Graphics.OpenGL4.BufferTarget target, UInt32 buffer); - internal static BindBuffer glBindBuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindBufferBase(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 index, UInt32 buffer); - internal static BindBufferBase glBindBufferBase; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindBufferRange(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); - internal static BindBufferRange glBindBufferRange; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void BindBuffersBase(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 first, Int32 count, UInt32* buffers); - internal unsafe static BindBuffersBase glBindBuffersBase; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void BindBuffersRange(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 first, Int32 count, UInt32* buffers, IntPtr* offsets, IntPtr* sizes); - internal unsafe static BindBuffersRange glBindBuffersRange; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindFragDataLocation(UInt32 program, UInt32 color, String name); - internal static BindFragDataLocation glBindFragDataLocation; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindFragDataLocationIndexed(UInt32 program, UInt32 colorNumber, UInt32 index, String name); - internal static BindFragDataLocationIndexed glBindFragDataLocationIndexed; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindFramebuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, UInt32 framebuffer); - internal static BindFramebuffer glBindFramebuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindImageTexture(UInt32 unit, UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL4.TextureAccess access, OpenTK.Graphics.OpenGL4.SizedInternalFormat format); - internal static BindImageTexture glBindImageTexture; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void BindImageTextures(UInt32 first, Int32 count, UInt32* textures); - internal unsafe static BindImageTextures glBindImageTextures; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindProgramPipeline(UInt32 pipeline); - internal static BindProgramPipeline glBindProgramPipeline; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindRenderbuffer(OpenTK.Graphics.OpenGL4.RenderbufferTarget target, UInt32 renderbuffer); - internal static BindRenderbuffer glBindRenderbuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindSampler(UInt32 unit, UInt32 sampler); - internal static BindSampler glBindSampler; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void BindSamplers(UInt32 first, Int32 count, UInt32* samplers); - internal unsafe static BindSamplers glBindSamplers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindTexture(OpenTK.Graphics.OpenGL4.TextureTarget target, UInt32 texture); - internal static BindTexture glBindTexture; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void BindTextures(UInt32 first, Int32 count, UInt32* textures); - internal unsafe static BindTextures glBindTextures; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindTransformFeedback(OpenTK.Graphics.OpenGL4.TransformFeedbackTarget target, UInt32 id); - internal static BindTransformFeedback glBindTransformFeedback; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindVertexArray(UInt32 array); - internal static BindVertexArray glBindVertexArray; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindVertexBuffer(UInt32 bindingindex, UInt32 buffer, IntPtr offset, Int32 stride); - internal static BindVertexBuffer glBindVertexBuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void BindVertexBuffers(UInt32 first, Int32 count, UInt32* buffers, IntPtr* offsets, Int32* strides); - internal unsafe static BindVertexBuffers glBindVertexBuffers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendColor(Single red, Single green, Single blue, Single alpha); - internal static BlendColor glBlendColor; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquation(OpenTK.Graphics.OpenGL4.BlendEquationMode mode); - internal static BlendEquation glBlendEquation; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquationi(UInt32 buf, OpenTK.Graphics.OpenGL4.BlendEquationMode mode); - internal static BlendEquationi glBlendEquationi; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquationiARB(UInt32 buf, OpenTK.Graphics.OpenGL4.BlendEquationMode mode); - internal static BlendEquationiARB glBlendEquationiARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquationSeparate(OpenTK.Graphics.OpenGL4.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL4.BlendEquationMode modeAlpha); - internal static BlendEquationSeparate glBlendEquationSeparate; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquationSeparatei(UInt32 buf, OpenTK.Graphics.OpenGL4.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL4.BlendEquationMode modeAlpha); - internal static BlendEquationSeparatei glBlendEquationSeparatei; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquationSeparateiARB(UInt32 buf, OpenTK.Graphics.OpenGL4.All modeRGB, OpenTK.Graphics.OpenGL4.All modeAlpha); - internal static BlendEquationSeparateiARB glBlendEquationSeparateiARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendFunc(OpenTK.Graphics.OpenGL4.BlendingFactorSrc sfactor, OpenTK.Graphics.OpenGL4.BlendingFactorDest dfactor); - internal static BlendFunc glBlendFunc; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendFunci(UInt32 buf, OpenTK.Graphics.OpenGL4.BlendingFactorSrc src, OpenTK.Graphics.OpenGL4.BlendingFactorDest dst); - internal static BlendFunci glBlendFunci; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendFunciARB(UInt32 buf, OpenTK.Graphics.OpenGL4.All src, OpenTK.Graphics.OpenGL4.All dst); - internal static BlendFunciARB glBlendFunciARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendFuncSeparate(OpenTK.Graphics.OpenGL4.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.OpenGL4.BlendingFactorDest dfactorRGB, OpenTK.Graphics.OpenGL4.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.OpenGL4.BlendingFactorDest dfactorAlpha); - internal static BlendFuncSeparate glBlendFuncSeparate; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendFuncSeparatei(UInt32 buf, OpenTK.Graphics.OpenGL4.BlendingFactorSrc srcRGB, OpenTK.Graphics.OpenGL4.BlendingFactorDest dstRGB, OpenTK.Graphics.OpenGL4.BlendingFactorSrc srcAlpha, OpenTK.Graphics.OpenGL4.BlendingFactorDest dstAlpha); - internal static BlendFuncSeparatei glBlendFuncSeparatei; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendFuncSeparateiARB(UInt32 buf, OpenTK.Graphics.OpenGL4.All srcRGB, OpenTK.Graphics.OpenGL4.All dstRGB, OpenTK.Graphics.OpenGL4.All srcAlpha, OpenTK.Graphics.OpenGL4.All dstAlpha); - internal static BlendFuncSeparateiARB glBlendFuncSeparateiARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL4.ClearBufferMask mask, OpenTK.Graphics.OpenGL4.BlitFramebufferFilter filter); - internal static BlitFramebuffer glBlitFramebuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BufferData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL4.BufferUsageHint usage); - internal static BufferData glBufferData; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BufferStorage(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL4.BufferStorageFlags flags); - internal static BufferStorage glBufferStorage; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data); - internal static BufferSubData glBufferSubData; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate OpenTK.Graphics.OpenGL4.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.OpenGL4.FramebufferTarget target); - internal static CheckFramebufferStatus glCheckFramebufferStatus; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClampColor(OpenTK.Graphics.OpenGL4.ClampColorTarget target, OpenTK.Graphics.OpenGL4.ClampColorMode clamp); - internal static ClampColor glClampColor; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Clear(OpenTK.Graphics.OpenGL4.ClearBufferMask mask); - internal static Clear glClear; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearBufferData(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.All type, IntPtr data); - internal static ClearBufferData glClearBufferData; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearBufferfi(OpenTK.Graphics.OpenGL4.ClearBufferCombined buffer, Int32 drawbuffer, Single depth, Int32 stencil); - internal static ClearBufferfi glClearBufferfi; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ClearBufferfv(OpenTK.Graphics.OpenGL4.ClearBuffer buffer, Int32 drawbuffer, Single* value); - internal unsafe static ClearBufferfv glClearBufferfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ClearBufferiv(OpenTK.Graphics.OpenGL4.ClearBuffer buffer, Int32 drawbuffer, Int32* value); - internal unsafe static ClearBufferiv glClearBufferiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.All type, IntPtr data); - internal static ClearBufferSubData glClearBufferSubData; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ClearBufferuiv(OpenTK.Graphics.OpenGL4.ClearBuffer buffer, Int32 drawbuffer, UInt32* value); - internal unsafe static ClearBufferuiv glClearBufferuiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearColor(Single red, Single green, Single blue, Single alpha); - internal static ClearColor glClearColor; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearDepth(Double depth); - internal static ClearDepth glClearDepth; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearDepthf(Single d); - internal static ClearDepthf glClearDepthf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearStencil(Int32 s); - internal static ClearStencil glClearStencil; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearTexImage(UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr data); - internal static ClearTexImage glClearTexImage; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr data); - internal static ClearTexSubImage glClearTexSubImage; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate OpenTK.Graphics.OpenGL4.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.OpenGL4.ClientWaitSyncFlags flags, UInt64 timeout); - internal static ClientWaitSync glClientWaitSync; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorMask(bool red, bool green, bool blue, bool alpha); - internal static ColorMask glColorMask; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorMaski(UInt32 index, bool r, bool g, bool b, bool a); - internal static ColorMaski glColorMaski; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorP3ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 color); - internal static ColorP3ui glColorP3ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ColorP3uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* color); - internal unsafe static ColorP3uiv glColorP3uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorP4ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 color); - internal static ColorP4ui glColorP4ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ColorP4uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* color); - internal unsafe static ColorP4uiv glColorP4uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorSubTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr data); - internal static ColorSubTable glColorSubTable; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr table); - internal static ColorTable glColorTable; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ColorTableParameterfv(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.ColorTableParameterPName pname, Single* @params); - internal unsafe static ColorTableParameterfv glColorTableParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ColorTableParameteriv(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.ColorTableParameterPName pname, Int32* @params); - internal unsafe static ColorTableParameteriv glColorTableParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompileShader(UInt32 shader); - internal static CompileShader glCompileShader; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void CompileShaderIncludeARB(UInt32 shader, Int32 count, String[] path, Int32* length); - internal unsafe static CompileShaderIncludeARB glCompileShaderIncludeARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data); - internal static CompressedTexImage1D glCompressedTexImage1D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); - internal static CompressedTexImage2D glCompressedTexImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); - internal static CompressedTexImage3D glCompressedTexImage3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, IntPtr data); - internal static CompressedTexSubImage1D glCompressedTexSubImage1D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, IntPtr data); - internal static CompressedTexSubImage2D glCompressedTexSubImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, IntPtr data); - internal static CompressedTexSubImage3D glCompressedTexSubImage3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ConvolutionFilter1D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr image); - internal static ConvolutionFilter1D glConvolutionFilter1D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ConvolutionFilter2D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr image); - internal static ConvolutionFilter2D glConvolutionFilter2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ConvolutionParameterf(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.ConvolutionParameter pname, Single @params); - internal static ConvolutionParameterf glConvolutionParameterf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ConvolutionParameterfv(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.ConvolutionParameter pname, Single* @params); - internal unsafe static ConvolutionParameterfv glConvolutionParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ConvolutionParameteri(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.ConvolutionParameter pname, Int32 @params); - internal static ConvolutionParameteri glConvolutionParameteri; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ConvolutionParameteriv(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.ConvolutionParameter pname, Int32* @params); - internal unsafe static ConvolutionParameteriv glConvolutionParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget readTarget, OpenTK.Graphics.OpenGL4.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size); - internal static CopyBufferSubData glCopyBufferSubData; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyColorSubTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width); - internal static CopyColorSubTable glCopyColorSubTable; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyColorTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); - internal static CopyColorTable glCopyColorTable; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyConvolutionFilter1D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); - internal static CopyConvolutionFilter1D glCopyConvolutionFilter1D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyConvolutionFilter2D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height); - internal static CopyConvolutionFilter2D glCopyConvolutionFilter2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyImageSubData(UInt32 srcName, OpenTK.Graphics.OpenGL4.ImageTarget srcTarget, Int32 srcLevel, Int32 srcX, Int32 srcY, Int32 srcZ, UInt32 dstName, OpenTK.Graphics.OpenGL4.ImageTarget dstTarget, Int32 dstLevel, Int32 dstX, Int32 dstY, Int32 dstZ, Int32 srcWidth, Int32 srcHeight, Int32 srcDepth); - internal static CopyImageSubData glCopyImageSubData; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border); - internal static CopyTexImage1D glCopyTexImage1D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); - internal static CopyTexImage2D glCopyTexImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexSubImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); - internal static CopyTexSubImage1D glCopyTexSubImage1D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexSubImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); - internal static CopyTexSubImage2D glCopyTexSubImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexSubImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); - internal static CopyTexSubImage3D glCopyTexSubImage3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 CreateProgram(); - internal static CreateProgram glCreateProgram; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 CreateShader(OpenTK.Graphics.OpenGL4.ShaderType type); - internal static CreateShader glCreateShader; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 CreateShaderProgramv(OpenTK.Graphics.OpenGL4.ShaderType type, Int32 count, String[] strings); - internal static CreateShaderProgramv glCreateShaderProgramv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate IntPtr CreateSyncFromCLeventARB([OutAttribute] IntPtr* context, [OutAttribute] IntPtr* @event, UInt32 flags); - internal unsafe static CreateSyncFromCLeventARB glCreateSyncFromCLeventARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CullFace(OpenTK.Graphics.OpenGL4.CullFaceMode mode); - internal static CullFace glCullFace; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DebugMessageCallback(DebugProc callback, IntPtr userParam); - internal static DebugMessageCallback glDebugMessageCallback; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DebugMessageCallbackARB(DebugProcArb callback, IntPtr userParam); - internal static DebugMessageCallbackARB glDebugMessageCallbackARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DebugMessageCallbackKHR(DebugProcKhr callback, IntPtr userParam); - internal static DebugMessageCallbackKHR glDebugMessageCallbackKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DebugMessageControl(OpenTK.Graphics.OpenGL4.DebugSourceControl source, OpenTK.Graphics.OpenGL4.DebugTypeControl type, OpenTK.Graphics.OpenGL4.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled); - internal unsafe static DebugMessageControl glDebugMessageControl; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DebugMessageControlARB(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, OpenTK.Graphics.OpenGL4.All severity, Int32 count, UInt32* ids, bool enabled); - internal unsafe static DebugMessageControlARB glDebugMessageControlARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DebugMessageControlKHR(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, OpenTK.Graphics.OpenGL4.All severity, Int32 count, UInt32* ids, bool enabled); - internal unsafe static DebugMessageControlKHR glDebugMessageControlKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DebugMessageInsert(OpenTK.Graphics.OpenGL4.DebugSourceExternal source, OpenTK.Graphics.OpenGL4.DebugType type, UInt32 id, OpenTK.Graphics.OpenGL4.DebugSeverity severity, Int32 length, String buf); - internal static DebugMessageInsert glDebugMessageInsert; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DebugMessageInsertARB(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, UInt32 id, OpenTK.Graphics.OpenGL4.All severity, Int32 length, String buf); - internal static DebugMessageInsertARB glDebugMessageInsertARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DebugMessageInsertKHR(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, UInt32 id, OpenTK.Graphics.OpenGL4.All severity, Int32 length, String buf); - internal static DebugMessageInsertKHR glDebugMessageInsertKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteBuffers(Int32 n, UInt32* buffers); - internal unsafe static DeleteBuffers glDeleteBuffers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteFramebuffers(Int32 n, UInt32* framebuffers); - internal unsafe static DeleteFramebuffers glDeleteFramebuffers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DeleteNamedStringARB(Int32 namelen, String name); - internal static DeleteNamedStringARB glDeleteNamedStringARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DeleteProgram(UInt32 program); - internal static DeleteProgram glDeleteProgram; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteProgramPipelines(Int32 n, UInt32* pipelines); - internal unsafe static DeleteProgramPipelines glDeleteProgramPipelines; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteQueries(Int32 n, UInt32* ids); - internal unsafe static DeleteQueries glDeleteQueries; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers); - internal unsafe static DeleteRenderbuffers glDeleteRenderbuffers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteSamplers(Int32 count, UInt32* samplers); - internal unsafe static DeleteSamplers glDeleteSamplers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DeleteShader(UInt32 shader); - internal static DeleteShader glDeleteShader; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DeleteSync(IntPtr sync); - internal static DeleteSync glDeleteSync; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteTextures(Int32 n, UInt32* textures); - internal unsafe static DeleteTextures glDeleteTextures; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteTransformFeedbacks(Int32 n, UInt32* ids); - internal unsafe static DeleteTransformFeedbacks glDeleteTransformFeedbacks; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeleteVertexArrays(Int32 n, UInt32* arrays); - internal unsafe static DeleteVertexArrays glDeleteVertexArrays; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DepthFunc(OpenTK.Graphics.OpenGL4.DepthFunction func); - internal static DepthFunc glDepthFunc; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DepthMask(bool flag); - internal static DepthMask glDepthMask; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DepthRange(Double near, Double far); - internal static DepthRange glDepthRange; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DepthRangeArrayv(UInt32 first, Int32 count, Double* v); - internal unsafe static DepthRangeArrayv glDepthRangeArrayv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DepthRangef(Single n, Single f); - internal static DepthRangef glDepthRangef; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DepthRangeIndexed(UInt32 index, Double n, Double f); - internal static DepthRangeIndexed glDepthRangeIndexed; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DetachShader(UInt32 program, UInt32 shader); - internal static DetachShader glDetachShader; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Disable(OpenTK.Graphics.OpenGL4.EnableCap cap); - internal static Disable glDisable; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Disablei(OpenTK.Graphics.OpenGL4.IndexedEnableCap target, UInt32 index); - internal static Disablei glDisablei; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DisableVertexAttribArray(UInt32 index); - internal static DisableVertexAttribArray glDisableVertexAttribArray; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DispatchCompute(UInt32 num_groups_x, UInt32 num_groups_y, UInt32 num_groups_z); - internal static DispatchCompute glDispatchCompute; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DispatchComputeGroupSizeARB(UInt32 num_groups_x, UInt32 num_groups_y, UInt32 num_groups_z, UInt32 group_size_x, UInt32 group_size_y, UInt32 group_size_z); - internal static DispatchComputeGroupSizeARB glDispatchComputeGroupSizeARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DispatchComputeIndirect(IntPtr indirect); - internal static DispatchComputeIndirect glDispatchComputeIndirect; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawArrays(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 first, Int32 count); - internal static DrawArrays glDrawArrays; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawArraysIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, IntPtr indirect); - internal static DrawArraysIndirect glDrawArraysIndirect; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawArraysInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount); - internal static DrawArraysInstanced glDrawArraysInstanced; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawArraysInstancedBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount, UInt32 baseinstance); - internal static DrawArraysInstancedBaseInstance glDrawArraysInstancedBaseInstance; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawBuffer(OpenTK.Graphics.OpenGL4.DrawBufferMode mode); - internal static DrawBuffer glDrawBuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL4.DrawBuffersEnum* bufs); - internal unsafe static DrawBuffers glDrawBuffers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices); - internal static DrawElements glDrawElements; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 basevertex); - internal static DrawElementsBaseVertex glDrawElementsBaseVertex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElementsIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, OpenTK.Graphics.OpenGL4.All type, IntPtr indirect); - internal static DrawElementsIndirect glDrawElementsIndirect; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElementsInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 instancecount); - internal static DrawElementsInstanced glDrawElementsInstanced; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 instancecount, UInt32 baseinstance); - internal static DrawElementsInstancedBaseInstance glDrawElementsInstancedBaseInstance; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex); - internal static DrawElementsInstancedBaseVertex glDrawElementsInstancedBaseVertex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance); - internal static DrawElementsInstancedBaseVertexBaseInstance glDrawElementsInstancedBaseVertexBaseInstance; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawRangeElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices); - internal static DrawRangeElements glDrawRangeElements; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 basevertex); - internal static DrawRangeElementsBaseVertex glDrawRangeElementsBaseVertex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawTransformFeedback(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 id); - internal static DrawTransformFeedback glDrawTransformFeedback; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawTransformFeedbackInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 id, Int32 instancecount); - internal static DrawTransformFeedbackInstanced glDrawTransformFeedbackInstanced; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawTransformFeedbackStream(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 id, UInt32 stream); - internal static DrawTransformFeedbackStream glDrawTransformFeedbackStream; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawTransformFeedbackStreamInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 id, UInt32 stream, Int32 instancecount); - internal static DrawTransformFeedbackStreamInstanced glDrawTransformFeedbackStreamInstanced; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Enable(OpenTK.Graphics.OpenGL4.EnableCap cap); - internal static Enable glEnable; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Enablei(OpenTK.Graphics.OpenGL4.IndexedEnableCap target, UInt32 index); - internal static Enablei glEnablei; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EnableVertexAttribArray(UInt32 index); - internal static EnableVertexAttribArray glEnableVertexAttribArray; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndConditionalRender(); - internal static EndConditionalRender glEndConditionalRender; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndQuery(OpenTK.Graphics.OpenGL4.QueryTarget target); - internal static EndQuery glEndQuery; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndQueryIndexed(OpenTK.Graphics.OpenGL4.QueryTarget target, UInt32 index); - internal static EndQueryIndexed glEndQueryIndexed; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndTransformFeedback(); - internal static EndTransformFeedback glEndTransformFeedback; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr FenceSync(OpenTK.Graphics.OpenGL4.SyncCondition condition, OpenTK.Graphics.OpenGL4.WaitSyncFlags flags); - internal static FenceSync glFenceSync; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Finish(); - internal static Finish glFinish; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Flush(); - internal static Flush glFlush; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FlushMappedBufferRange(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr length); - internal static FlushMappedBufferRange glFlushMappedBufferRange; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferParameteri(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferDefaultParameter pname, Int32 param); - internal static FramebufferParameteri glFramebufferParameteri; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferRenderbuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); - internal static FramebufferRenderbuffer glFramebufferRenderbuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTexture(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, UInt32 texture, Int32 level); - internal static FramebufferTexture glFramebufferTexture; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTexture1D(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.TextureTarget textarget, UInt32 texture, Int32 level); - internal static FramebufferTexture1D glFramebufferTexture1D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTexture2D(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.TextureTarget textarget, UInt32 texture, Int32 level); - internal static FramebufferTexture2D glFramebufferTexture2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTexture3D(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset); - internal static FramebufferTexture3D glFramebufferTexture3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTextureLayer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); - internal static FramebufferTextureLayer glFramebufferTextureLayer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FrontFace(OpenTK.Graphics.OpenGL4.FrontFaceDirection mode); - internal static FrontFace glFrontFace; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers); - internal unsafe static GenBuffers glGenBuffers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GenerateMipmap(OpenTK.Graphics.OpenGL4.GenerateMipmapTarget target); - internal static GenerateMipmap glGenerateMipmap; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers); - internal unsafe static GenFramebuffers glGenFramebuffers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenProgramPipelines(Int32 n, [OutAttribute] UInt32* pipelines); - internal unsafe static GenProgramPipelines glGenProgramPipelines; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenQueries(Int32 n, [OutAttribute] UInt32* ids); - internal unsafe static GenQueries glGenQueries; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers); - internal unsafe static GenRenderbuffers glGenRenderbuffers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenSamplers(Int32 count, [OutAttribute] UInt32* samplers); - internal unsafe static GenSamplers glGenSamplers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenTextures(Int32 n, [OutAttribute] UInt32* textures); - internal unsafe static GenTextures glGenTextures; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32* ids); - internal unsafe static GenTransformFeedbacks glGenTransformFeedbacks; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays); - internal unsafe static GenVertexArrays glGenVertexArrays; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveAtomicCounterBufferiv(UInt32 program, UInt32 bufferIndex, OpenTK.Graphics.OpenGL4.AtomicCounterBufferParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetActiveAtomicCounterBufferiv glGetActiveAtomicCounterBufferiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL4.ActiveAttribType* type, [OutAttribute] StringBuilder name); - internal unsafe static GetActiveAttrib glGetActiveAttrib; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveSubroutineName(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name); - internal unsafe static GetActiveSubroutineName glGetActiveSubroutineName; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveSubroutineUniformiv(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, UInt32 index, OpenTK.Graphics.OpenGL4.ActiveSubroutineUniformParameter pname, [OutAttribute] Int32* values); - internal unsafe static GetActiveSubroutineUniformiv glGetActiveSubroutineUniformiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveSubroutineUniformName(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name); - internal unsafe static GetActiveSubroutineUniformName glGetActiveSubroutineUniformName; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL4.ActiveUniformType* type, [OutAttribute] StringBuilder name); - internal unsafe static GetActiveUniform glGetActiveUniform; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveUniformBlockiv(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.OpenGL4.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetActiveUniformBlockiv glGetActiveUniformBlockiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName); - internal unsafe static GetActiveUniformBlockName glGetActiveUniformBlockName; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformName); - internal unsafe static GetActiveUniformName glGetActiveUniformName; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveUniformsiv(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, OpenTK.Graphics.OpenGL4.ActiveUniformParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetActiveUniformsiv glGetActiveUniformsiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders); - internal unsafe static GetAttachedShaders glGetAttachedShaders; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetAttribLocation(UInt32 program, String name); - internal static GetAttribLocation glGetAttribLocation; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetBooleani_v(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] bool* data); - internal unsafe static GetBooleani_v glGetBooleani_v; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetBooleanv(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] bool* data); - internal unsafe static GetBooleanv glGetBooleanv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetBufferParameteri64v(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferParameterName pname, [OutAttribute] Int64* @params); - internal unsafe static GetBufferParameteri64v glGetBufferParameteri64v; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetBufferParameteriv(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferParameterName pname, [OutAttribute] Int32* @params); - internal unsafe static GetBufferParameteriv glGetBufferParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetBufferPointerv(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferPointer pname, [OutAttribute] IntPtr @params); - internal static GetBufferPointerv glGetBufferPointerv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data); - internal static GetBufferSubData glGetBufferSubData; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetColorTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr table); - internal static GetColorTable glGetColorTable; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetColorTableParameterfv(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.GetColorTableParameterPName pname, [OutAttribute] Single* @params); - internal unsafe static GetColorTableParameterfv glGetColorTableParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetColorTableParameteriv(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.GetColorTableParameterPName pname, [OutAttribute] Int32* @params); - internal unsafe static GetColorTableParameteriv glGetColorTableParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetCompressedTexImage(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, [OutAttribute] IntPtr img); - internal static GetCompressedTexImage glGetCompressedTexImage; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetConvolutionFilter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr image); - internal static GetConvolutionFilter glGetConvolutionFilter; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetConvolutionParameterfv(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName pname, [OutAttribute] Single* @params); - internal unsafe static GetConvolutionParameterfv glGetConvolutionParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetConvolutionParameteriv(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName pname, [OutAttribute] Int32* @params); - internal unsafe static GetConvolutionParameteriv glGetConvolutionParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSource* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); - internal unsafe static GetDebugMessageLog glGetDebugMessageLog; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Int32 GetDebugMessageLogARB(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); - internal unsafe static GetDebugMessageLogARB glGetDebugMessageLogARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Int32 GetDebugMessageLogKHR(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); - internal unsafe static GetDebugMessageLogKHR glGetDebugMessageLogKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetDoublei_v(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Double* data); - internal unsafe static GetDoublei_v glGetDoublei_v; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetDoublev(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Double* data); - internal unsafe static GetDoublev glGetDoublev; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate OpenTK.Graphics.OpenGL4.ErrorCode GetError(); - internal static GetError glGetError; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFloati_v(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Single* data); - internal unsafe static GetFloati_v glGetFloati_v; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFloatv(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Single* data); - internal unsafe static GetFloatv glGetFloatv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetFragDataIndex(UInt32 program, String name); - internal static GetFragDataIndex glGetFragDataIndex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetFragDataLocation(UInt32 program, String name); - internal static GetFragDataLocation glGetFragDataLocation; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFramebufferAttachmentParameteriv(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.FramebufferParameterName pname, [OutAttribute] Int32* @params); - internal unsafe static GetFramebufferAttachmentParameteriv glGetFramebufferAttachmentParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFramebufferParameteriv(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferDefaultParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetFramebufferParameteriv glGetFramebufferParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate OpenTK.Graphics.OpenGL4.All GetGraphicsResetStatusARB(); - internal static GetGraphicsResetStatusARB glGetGraphicsResetStatusARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetHistogram(OpenTK.Graphics.OpenGL4.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr values); - internal static GetHistogram glGetHistogram; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetHistogramParameterfv(OpenTK.Graphics.OpenGL4.HistogramTarget target, OpenTK.Graphics.OpenGL4.GetHistogramParameterPName pname, [OutAttribute] Single* @params); - internal unsafe static GetHistogramParameterfv glGetHistogramParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetHistogramParameteriv(OpenTK.Graphics.OpenGL4.HistogramTarget target, OpenTK.Graphics.OpenGL4.GetHistogramParameterPName pname, [OutAttribute] Int32* @params); - internal unsafe static GetHistogramParameteriv glGetHistogramParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int64 GetImageHandleARB(UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL4.All format); - internal static GetImageHandleARB glGetImageHandleARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetInteger64i_v(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Int64* data); - internal unsafe static GetInteger64i_v glGetInteger64i_v; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetInteger64v(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Int64* data); - internal unsafe static GetInteger64v glGetInteger64v; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetIntegeri_v(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data); - internal unsafe static GetIntegeri_v glGetIntegeri_v; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetIntegerv(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Int32* data); - internal unsafe static GetIntegerv glGetIntegerv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetInternalformati64v(OpenTK.Graphics.OpenGL4.ImageTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL4.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int64* @params); - internal unsafe static GetInternalformati64v glGetInternalformati64v; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetInternalformativ(OpenTK.Graphics.OpenGL4.ImageTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL4.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int32* @params); - internal unsafe static GetInternalformativ glGetInternalformativ; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetMinmax(OpenTK.Graphics.OpenGL4.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr values); - internal static GetMinmax glGetMinmax; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMinmaxParameterfv(OpenTK.Graphics.OpenGL4.MinmaxTarget target, OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName pname, [OutAttribute] Single* @params); - internal unsafe static GetMinmaxParameterfv glGetMinmaxParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMinmaxParameteriv(OpenTK.Graphics.OpenGL4.MinmaxTarget target, OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName pname, [OutAttribute] Int32* @params); - internal unsafe static GetMinmaxParameteriv glGetMinmaxParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMultisamplefv(OpenTK.Graphics.OpenGL4.GetMultisamplePName pname, UInt32 index, [OutAttribute] Single* val); - internal unsafe static GetMultisamplefv glGetMultisamplefv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetNamedStringARB(Int32 namelen, String name, Int32 bufSize, [OutAttribute] Int32* stringlen, [OutAttribute] StringBuilder @string); - internal unsafe static GetNamedStringARB glGetNamedStringARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetNamedStringivARB(Int32 namelen, String name, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] Int32* @params); - internal unsafe static GetNamedStringivARB glGetNamedStringivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetnColorTableARB(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr table); - internal static GetnColorTableARB glGetnColorTableARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetnCompressedTexImageARB(OpenTK.Graphics.OpenGL4.All target, Int32 lod, Int32 bufSize, [OutAttribute] IntPtr img); - internal static GetnCompressedTexImageARB glGetnCompressedTexImageARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetnConvolutionFilterARB(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr image); - internal static GetnConvolutionFilterARB glGetnConvolutionFilterARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetnHistogramARB(OpenTK.Graphics.OpenGL4.All target, bool reset, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr values); - internal static GetnHistogramARB glGetnHistogramARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetnMapdvARB(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All query, Int32 bufSize, [OutAttribute] Double* v); - internal unsafe static GetnMapdvARB glGetnMapdvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetnMapfvARB(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All query, Int32 bufSize, [OutAttribute] Single* v); - internal unsafe static GetnMapfvARB glGetnMapfvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetnMapivARB(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All query, Int32 bufSize, [OutAttribute] Int32* v); - internal unsafe static GetnMapivARB glGetnMapivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetnMinmaxARB(OpenTK.Graphics.OpenGL4.All target, bool reset, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr values); - internal static GetnMinmaxARB glGetnMinmaxARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetnPixelMapfvARB(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] Single* values); - internal unsafe static GetnPixelMapfvARB glGetnPixelMapfvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetnPixelMapuivARB(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] UInt32* values); - internal unsafe static GetnPixelMapuivARB glGetnPixelMapuivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetnPixelMapusvARB(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] UInt16* values); - internal unsafe static GetnPixelMapusvARB glGetnPixelMapusvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetnPolygonStippleARB(Int32 bufSize, [OutAttribute] Byte* pattern); - internal unsafe static GetnPolygonStippleARB glGetnPolygonStippleARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetnSeparableFilterARB(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 rowBufSize, [OutAttribute] IntPtr row, Int32 columnBufSize, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span); - internal static GetnSeparableFilterARB glGetnSeparableFilterARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetnTexImageARB(OpenTK.Graphics.OpenGL4.All target, Int32 level, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr img); - internal static GetnTexImageARB glGetnTexImageARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetnUniformdvARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Double* @params); - internal unsafe static GetnUniformdvARB glGetnUniformdvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetnUniformfvARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params); - internal unsafe static GetnUniformfvARB glGetnUniformfvARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetnUniformivARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params); - internal unsafe static GetnUniformivARB glGetnUniformivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetnUniformuivARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] UInt32* @params); - internal unsafe static GetnUniformuivARB glGetnUniformuivARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetObjectLabel(OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - internal unsafe static GetObjectLabel glGetObjectLabel; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetObjectLabelKHR(OpenTK.Graphics.OpenGL4.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - internal unsafe static GetObjectLabelKHR glGetObjectLabelKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - internal unsafe static GetObjectPtrLabel glGetObjectPtrLabel; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetObjectPtrLabelKHR(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label); - internal unsafe static GetObjectPtrLabelKHR glGetObjectPtrLabelKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetPointerv(OpenTK.Graphics.OpenGL4.GetPointervPName pname, [OutAttribute] IntPtr @params); - internal static GetPointerv glGetPointerv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetPointervKHR(OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] IntPtr @params); - internal static GetPointervKHR glGetPointervKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL4.BinaryFormat* binaryFormat, [OutAttribute] IntPtr binary); - internal unsafe static GetProgramBinary glGetProgramBinary; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); - internal unsafe static GetProgramInfoLog glGetProgramInfoLog; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramInterfaceiv(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, OpenTK.Graphics.OpenGL4.ProgramInterfaceParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetProgramInterfaceiv glGetProgramInterfaceiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramiv(UInt32 program, OpenTK.Graphics.OpenGL4.GetProgramParameterName pname, [OutAttribute] Int32* @params); - internal unsafe static GetProgramiv glGetProgramiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); - internal unsafe static GetProgramPipelineInfoLog glGetProgramPipelineInfoLog; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramPipelineiv(UInt32 pipeline, OpenTK.Graphics.OpenGL4.ProgramPipelineParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetProgramPipelineiv glGetProgramPipelineiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetProgramResourceIndex(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, String name); - internal static GetProgramResourceIndex glGetProgramResourceIndex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramResourceiv(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, UInt32 index, Int32 propCount, OpenTK.Graphics.OpenGL4.ProgramProperty* props, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* @params); - internal unsafe static GetProgramResourceiv glGetProgramResourceiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetProgramResourceLocation(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, String name); - internal static GetProgramResourceLocation glGetProgramResourceLocation; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetProgramResourceLocationIndex(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, String name); - internal static GetProgramResourceLocationIndex glGetProgramResourceLocationIndex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name); - internal unsafe static GetProgramResourceName glGetProgramResourceName; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramStageiv(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, OpenTK.Graphics.OpenGL4.ProgramStageParameter pname, [OutAttribute] Int32* values); - internal unsafe static GetProgramStageiv glGetProgramStageiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryIndexediv(OpenTK.Graphics.OpenGL4.QueryTarget target, UInt32 index, OpenTK.Graphics.OpenGL4.GetQueryParam pname, [OutAttribute] Int32* @params); - internal unsafe static GetQueryIndexediv glGetQueryIndexediv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryiv(OpenTK.Graphics.OpenGL4.QueryTarget target, OpenTK.Graphics.OpenGL4.GetQueryParam pname, [OutAttribute] Int32* @params); - internal unsafe static GetQueryiv glGetQueryiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryObjecti64v(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] Int64* @params); - internal unsafe static GetQueryObjecti64v glGetQueryObjecti64v; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryObjectiv(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] Int32* @params); - internal unsafe static GetQueryObjectiv glGetQueryObjectiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryObjectui64v(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] UInt64* @params); - internal unsafe static GetQueryObjectui64v glGetQueryObjectui64v; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryObjectuiv(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] UInt32* @params); - internal unsafe static GetQueryObjectuiv glGetQueryObjectuiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetRenderbufferParameteriv(OpenTK.Graphics.OpenGL4.RenderbufferTarget target, OpenTK.Graphics.OpenGL4.RenderbufferParameterName pname, [OutAttribute] Int32* @params); - internal unsafe static GetRenderbufferParameteriv glGetRenderbufferParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetSamplerParameterfv(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] Single* @params); - internal unsafe static GetSamplerParameterfv glGetSamplerParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetSamplerParameterIiv(UInt32 sampler, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] Int32* @params); - internal unsafe static GetSamplerParameterIiv glGetSamplerParameterIiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetSamplerParameterIuiv(UInt32 sampler, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] UInt32* @params); - internal unsafe static GetSamplerParameterIuiv glGetSamplerParameterIuiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetSamplerParameteriv(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] Int32* @params); - internal unsafe static GetSamplerParameteriv glGetSamplerParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetSeparableFilter(OpenTK.Graphics.OpenGL4.SeparableTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span); - internal static GetSeparableFilter glGetSeparableFilter; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); - internal unsafe static GetShaderInfoLog glGetShaderInfoLog; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetShaderiv(UInt32 shader, OpenTK.Graphics.OpenGL4.ShaderParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetShaderiv glGetShaderiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetShaderPrecisionFormat(OpenTK.Graphics.OpenGL4.ShaderType shadertype, OpenTK.Graphics.OpenGL4.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision); - internal unsafe static GetShaderPrecisionFormat glGetShaderPrecisionFormat; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); - internal unsafe static GetShaderSource glGetShaderSource; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr GetString(OpenTK.Graphics.OpenGL4.StringName name); - internal static GetString glGetString; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr GetStringi(OpenTK.Graphics.OpenGL4.StringNameIndexed name, UInt32 index); - internal static GetStringi glGetStringi; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetSubroutineIndex(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, String name); - internal static GetSubroutineIndex glGetSubroutineIndex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetSubroutineUniformLocation(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, String name); - internal static GetSubroutineUniformLocation glGetSubroutineUniformLocation; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetSynciv(IntPtr sync, OpenTK.Graphics.OpenGL4.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); - internal unsafe static GetSynciv glGetSynciv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetTexImage(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr pixels); - internal static GetTexImage glGetTexImage; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexLevelParameterfv(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Single* @params); - internal unsafe static GetTexLevelParameterfv glGetTexLevelParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexLevelParameteriv(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetTexLevelParameteriv glGetTexLevelParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexParameterfv(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Single* @params); - internal unsafe static GetTexParameterfv glGetTexParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexParameterIiv(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetTexParameterIiv glGetTexParameterIiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexParameterIuiv(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] UInt32* @params); - internal unsafe static GetTexParameterIuiv glGetTexParameterIuiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexParameteriv(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetTexParameteriv glGetTexParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int64 GetTextureHandleARB(UInt32 texture); - internal static GetTextureHandleARB glGetTextureHandleARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int64 GetTextureSamplerHandleARB(UInt32 texture, UInt32 sampler); - internal static GetTextureSamplerHandleARB glGetTextureSamplerHandleARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL4.TransformFeedbackType* type, [OutAttribute] StringBuilder name); - internal unsafe static GetTransformFeedbackVarying glGetTransformFeedbackVarying; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetUniformBlockIndex(UInt32 program, String uniformBlockName); - internal static GetUniformBlockIndex glGetUniformBlockIndex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetUniformdv(UInt32 program, Int32 location, [OutAttribute] Double* @params); - internal unsafe static GetUniformdv glGetUniformdv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetUniformfv(UInt32 program, Int32 location, [OutAttribute] Single* @params); - internal unsafe static GetUniformfv glGetUniformfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] UInt32* uniformIndices); - internal unsafe static GetUniformIndices glGetUniformIndices; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetUniformiv(UInt32 program, Int32 location, [OutAttribute] Int32* @params); - internal unsafe static GetUniformiv glGetUniformiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetUniformLocation(UInt32 program, String name); - internal static GetUniformLocation glGetUniformLocation; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetUniformSubroutineuiv(OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 location, [OutAttribute] UInt32* @params); - internal unsafe static GetUniformSubroutineuiv glGetUniformSubroutineuiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetUniformuiv(UInt32 program, Int32 location, [OutAttribute] UInt32* @params); - internal unsafe static GetUniformuiv glGetUniformuiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribdv(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Double* @params); - internal unsafe static GetVertexAttribdv glGetVertexAttribdv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribfv(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Single* @params); - internal unsafe static GetVertexAttribfv glGetVertexAttribfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribIiv(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetVertexAttribIiv glGetVertexAttribIiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribIuiv(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] UInt32* @params); - internal unsafe static GetVertexAttribIuiv glGetVertexAttribIuiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribiv(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Int32* @params); - internal unsafe static GetVertexAttribiv glGetVertexAttribiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribLdv(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Double* @params); - internal unsafe static GetVertexAttribLdv glGetVertexAttribLdv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribLui64vARB(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameterArb pname, [OutAttribute] UInt64* @params); - internal unsafe static GetVertexAttribLui64vARB glGetVertexAttribLui64vARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer); - internal static GetVertexAttribPointerv glGetVertexAttribPointerv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Hint(OpenTK.Graphics.OpenGL4.HintTarget target, OpenTK.Graphics.OpenGL4.HintMode mode); - internal static Hint glHint; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Histogram(OpenTK.Graphics.OpenGL4.HistogramTarget target, Int32 width, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, bool sink); - internal static Histogram glHistogram; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void InvalidateBufferData(UInt32 buffer); - internal static InvalidateBufferData glInvalidateBufferData; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void InvalidateBufferSubData(UInt32 buffer, IntPtr offset, IntPtr length); - internal static InvalidateBufferSubData glInvalidateBufferSubData; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void InvalidateFramebuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.OpenGL4.FramebufferAttachment* attachments); - internal unsafe static InvalidateFramebuffer glInvalidateFramebuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void InvalidateSubFramebuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.OpenGL4.FramebufferAttachment* attachments, Int32 x, Int32 y, Int32 width, Int32 height); - internal unsafe static InvalidateSubFramebuffer glInvalidateSubFramebuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void InvalidateTexImage(UInt32 texture, Int32 level); - internal static InvalidateTexImage glInvalidateTexImage; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void InvalidateTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth); - internal static InvalidateTexSubImage glInvalidateTexSubImage; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsBuffer(UInt32 buffer); - internal static IsBuffer glIsBuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsEnabled(OpenTK.Graphics.OpenGL4.EnableCap cap); - internal static IsEnabled glIsEnabled; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsEnabledi(OpenTK.Graphics.OpenGL4.IndexedEnableCap target, UInt32 index); - internal static IsEnabledi glIsEnabledi; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsFramebuffer(UInt32 framebuffer); - internal static IsFramebuffer glIsFramebuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsImageHandleResidentARB(UInt64 handle); - internal static IsImageHandleResidentARB glIsImageHandleResidentARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsNamedStringARB(Int32 namelen, String name); - internal static IsNamedStringARB glIsNamedStringARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsProgram(UInt32 program); - internal static IsProgram glIsProgram; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsProgramPipeline(UInt32 pipeline); - internal static IsProgramPipeline glIsProgramPipeline; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsQuery(UInt32 id); - internal static IsQuery glIsQuery; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsRenderbuffer(UInt32 renderbuffer); - internal static IsRenderbuffer glIsRenderbuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsSampler(UInt32 sampler); - internal static IsSampler glIsSampler; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsShader(UInt32 shader); - internal static IsShader glIsShader; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsSync(IntPtr sync); - internal static IsSync glIsSync; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsTexture(UInt32 texture); - internal static IsTexture glIsTexture; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsTextureHandleResidentARB(UInt64 handle); - internal static IsTextureHandleResidentARB glIsTextureHandleResidentARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsTransformFeedback(UInt32 id); - internal static IsTransformFeedback glIsTransformFeedback; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsVertexArray(UInt32 array); - internal static IsVertexArray glIsVertexArray; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LineWidth(Single width); - internal static LineWidth glLineWidth; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LinkProgram(UInt32 program); - internal static LinkProgram glLinkProgram; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LogicOp(OpenTK.Graphics.OpenGL4.LogicOp opcode); - internal static LogicOp glLogicOp; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MakeImageHandleNonResidentARB(UInt64 handle); - internal static MakeImageHandleNonResidentARB glMakeImageHandleNonResidentARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MakeImageHandleResidentARB(UInt64 handle, OpenTK.Graphics.OpenGL4.All access); - internal static MakeImageHandleResidentARB glMakeImageHandleResidentARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MakeTextureHandleNonResidentARB(UInt64 handle); - internal static MakeTextureHandleNonResidentARB glMakeTextureHandleNonResidentARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MakeTextureHandleResidentARB(UInt64 handle); - internal static MakeTextureHandleResidentARB glMakeTextureHandleResidentARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr MapBuffer(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferAccess access); - internal static MapBuffer glMapBuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr MapBufferRange(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.OpenGL4.BufferAccessMask access); - internal static MapBufferRange glMapBufferRange; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MemoryBarrier(OpenTK.Graphics.OpenGL4.MemoryBarrierFlags barriers); - internal static MemoryBarrier glMemoryBarrier; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Minmax(OpenTK.Graphics.OpenGL4.MinmaxTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, bool sink); - internal static Minmax glMinmax; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MinSampleShading(Single value); - internal static MinSampleShading glMinSampleShading; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MinSampleShadingARB(Single value); - internal static MinSampleShadingARB glMinSampleShadingARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiDrawArrays(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* first, Int32* count, Int32 drawcount); - internal unsafe static MultiDrawArrays glMultiDrawArrays; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, IntPtr indirect, Int32 drawcount, Int32 stride); - internal static MultiDrawArraysIndirect glMultiDrawArraysIndirect; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiDrawArraysIndirectCountARB(OpenTK.Graphics.OpenGL4.All mode, IntPtr indirect, IntPtr drawcount, Int32 maxdrawcount, Int32 stride); - internal static MultiDrawArraysIndirectCountARB glMultiDrawArraysIndirectCountARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiDrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 drawcount); - internal unsafe static MultiDrawElements glMultiDrawElements; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 drawcount, Int32* basevertex); - internal unsafe static MultiDrawElementsBaseVertex glMultiDrawElementsBaseVertex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL4.All mode, OpenTK.Graphics.OpenGL4.All type, IntPtr indirect, Int32 drawcount, Int32 stride); - internal static MultiDrawElementsIndirect glMultiDrawElementsIndirect; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiDrawElementsIndirectCountARB(OpenTK.Graphics.OpenGL4.All mode, OpenTK.Graphics.OpenGL4.All type, IntPtr indirect, IntPtr drawcount, Int32 maxdrawcount, Int32 stride); - internal static MultiDrawElementsIndirectCountARB glMultiDrawElementsIndirectCountARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoordP1ui(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords); - internal static MultiTexCoordP1ui glMultiTexCoordP1ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoordP1uiv(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords); - internal unsafe static MultiTexCoordP1uiv glMultiTexCoordP1uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoordP2ui(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords); - internal static MultiTexCoordP2ui glMultiTexCoordP2ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoordP2uiv(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords); - internal unsafe static MultiTexCoordP2uiv glMultiTexCoordP2uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoordP3ui(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords); - internal static MultiTexCoordP3ui glMultiTexCoordP3ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoordP3uiv(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords); - internal unsafe static MultiTexCoordP3uiv glMultiTexCoordP3uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoordP4ui(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords); - internal static MultiTexCoordP4ui glMultiTexCoordP4ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoordP4uiv(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords); - internal unsafe static MultiTexCoordP4uiv glMultiTexCoordP4uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedStringARB(OpenTK.Graphics.OpenGL4.All type, Int32 namelen, String name, Int32 stringlen, String @string); - internal static NamedStringARB glNamedStringARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NormalP3ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords); - internal static NormalP3ui glNormalP3ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void NormalP3uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords); - internal unsafe static NormalP3uiv glNormalP3uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ObjectLabel(OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label); - internal static ObjectLabel glObjectLabel; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ObjectLabelKHR(OpenTK.Graphics.OpenGL4.All identifier, UInt32 name, Int32 length, String label); - internal static ObjectLabelKHR glObjectLabelKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ObjectPtrLabel(IntPtr ptr, Int32 length, String label); - internal static ObjectPtrLabel glObjectPtrLabel; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ObjectPtrLabelKHR(IntPtr ptr, Int32 length, String label); - internal static ObjectPtrLabelKHR glObjectPtrLabelKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PatchParameterfv(OpenTK.Graphics.OpenGL4.PatchParameterFloat pname, Single* values); - internal unsafe static PatchParameterfv glPatchParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PatchParameteri(OpenTK.Graphics.OpenGL4.PatchParameterInt pname, Int32 value); - internal static PatchParameteri glPatchParameteri; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PauseTransformFeedback(); - internal static PauseTransformFeedback glPauseTransformFeedback; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelStoref(OpenTK.Graphics.OpenGL4.PixelStoreParameter pname, Single param); - internal static PixelStoref glPixelStoref; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelStorei(OpenTK.Graphics.OpenGL4.PixelStoreParameter pname, Int32 param); - internal static PixelStorei glPixelStorei; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PointParameterf(OpenTK.Graphics.OpenGL4.PointParameterName pname, Single param); - internal static PointParameterf glPointParameterf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PointParameterfv(OpenTK.Graphics.OpenGL4.PointParameterName pname, Single* @params); - internal unsafe static PointParameterfv glPointParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PointParameteri(OpenTK.Graphics.OpenGL4.PointParameterName pname, Int32 param); - internal static PointParameteri glPointParameteri; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PointParameteriv(OpenTK.Graphics.OpenGL4.PointParameterName pname, Int32* @params); - internal unsafe static PointParameteriv glPointParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PointSize(Single size); - internal static PointSize glPointSize; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PolygonMode(OpenTK.Graphics.OpenGL4.MaterialFace face, OpenTK.Graphics.OpenGL4.PolygonMode mode); - internal static PolygonMode glPolygonMode; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PolygonOffset(Single factor, Single units); - internal static PolygonOffset glPolygonOffset; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PopDebugGroup(); - internal static PopDebugGroup glPopDebugGroup; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PopDebugGroupKHR(); - internal static PopDebugGroupKHR glPopDebugGroupKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PrimitiveRestartIndex(UInt32 index); - internal static PrimitiveRestartIndex glPrimitiveRestartIndex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, IntPtr binary, Int32 length); - internal static ProgramBinary glProgramBinary; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramParameteri(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramParameterName pname, Int32 value); - internal static ProgramParameteri glProgramParameteri; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform1d(UInt32 program, Int32 location, Double v0); - internal static ProgramUniform1d glProgramUniform1d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform1dv(UInt32 program, Int32 location, Int32 count, Double* value); - internal unsafe static ProgramUniform1dv glProgramUniform1dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform1f(UInt32 program, Int32 location, Single v0); - internal static ProgramUniform1f glProgramUniform1f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform1fv(UInt32 program, Int32 location, Int32 count, Single* value); - internal unsafe static ProgramUniform1fv glProgramUniform1fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform1i(UInt32 program, Int32 location, Int32 v0); - internal static ProgramUniform1i glProgramUniform1i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform1iv(UInt32 program, Int32 location, Int32 count, Int32* value); - internal unsafe static ProgramUniform1iv glProgramUniform1iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform1ui(UInt32 program, Int32 location, UInt32 v0); - internal static ProgramUniform1ui glProgramUniform1ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform1uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); - internal unsafe static ProgramUniform1uiv glProgramUniform1uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform2d(UInt32 program, Int32 location, Double v0, Double v1); - internal static ProgramUniform2d glProgramUniform2d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform2dv(UInt32 program, Int32 location, Int32 count, Double* value); - internal unsafe static ProgramUniform2dv glProgramUniform2dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform2f(UInt32 program, Int32 location, Single v0, Single v1); - internal static ProgramUniform2f glProgramUniform2f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform2fv(UInt32 program, Int32 location, Int32 count, Single* value); - internal unsafe static ProgramUniform2fv glProgramUniform2fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform2i(UInt32 program, Int32 location, Int32 v0, Int32 v1); - internal static ProgramUniform2i glProgramUniform2i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform2iv(UInt32 program, Int32 location, Int32 count, Int32* value); - internal unsafe static ProgramUniform2iv glProgramUniform2iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform2ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1); - internal static ProgramUniform2ui glProgramUniform2ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform2uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); - internal unsafe static ProgramUniform2uiv glProgramUniform2uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform3d(UInt32 program, Int32 location, Double v0, Double v1, Double v2); - internal static ProgramUniform3d glProgramUniform3d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform3dv(UInt32 program, Int32 location, Int32 count, Double* value); - internal unsafe static ProgramUniform3dv glProgramUniform3dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform3f(UInt32 program, Int32 location, Single v0, Single v1, Single v2); - internal static ProgramUniform3f glProgramUniform3f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform3fv(UInt32 program, Int32 location, Int32 count, Single* value); - internal unsafe static ProgramUniform3fv glProgramUniform3fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform3i(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2); - internal static ProgramUniform3i glProgramUniform3i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform3iv(UInt32 program, Int32 location, Int32 count, Int32* value); - internal unsafe static ProgramUniform3iv glProgramUniform3iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform3ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); - internal static ProgramUniform3ui glProgramUniform3ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform3uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); - internal unsafe static ProgramUniform3uiv glProgramUniform3uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform4d(UInt32 program, Int32 location, Double v0, Double v1, Double v2, Double v3); - internal static ProgramUniform4d glProgramUniform4d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform4dv(UInt32 program, Int32 location, Int32 count, Double* value); - internal unsafe static ProgramUniform4dv glProgramUniform4dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform4f(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3); - internal static ProgramUniform4f glProgramUniform4f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform4fv(UInt32 program, Int32 location, Int32 count, Single* value); - internal unsafe static ProgramUniform4fv glProgramUniform4fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform4i(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); - internal static ProgramUniform4i glProgramUniform4i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform4iv(UInt32 program, Int32 location, Int32 count, Int32* value); - internal unsafe static ProgramUniform4iv glProgramUniform4iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniform4ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); - internal static ProgramUniform4ui glProgramUniform4ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniform4uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); - internal unsafe static ProgramUniform4uiv glProgramUniform4uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramUniformHandleui64ARB(UInt32 program, Int32 location, UInt64 value); - internal static ProgramUniformHandleui64ARB glProgramUniformHandleui64ARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformHandleui64vARB(UInt32 program, Int32 location, Int32 count, UInt64* values); - internal unsafe static ProgramUniformHandleui64vARB glProgramUniformHandleui64vARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static ProgramUniformMatrix2dv glProgramUniformMatrix2dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix2fv glProgramUniformMatrix2fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix2x3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static ProgramUniformMatrix2x3dv glProgramUniformMatrix2x3dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix2x3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix2x3fv glProgramUniformMatrix2x3fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix2x4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static ProgramUniformMatrix2x4dv glProgramUniformMatrix2x4dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix2x4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix2x4fv glProgramUniformMatrix2x4fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static ProgramUniformMatrix3dv glProgramUniformMatrix3dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix3fv glProgramUniformMatrix3fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix3x2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static ProgramUniformMatrix3x2dv glProgramUniformMatrix3x2dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix3x2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix3x2fv glProgramUniformMatrix3x2fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix3x4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static ProgramUniformMatrix3x4dv glProgramUniformMatrix3x4dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix3x4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix3x4fv glProgramUniformMatrix3x4fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static ProgramUniformMatrix4dv glProgramUniformMatrix4dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix4fv glProgramUniformMatrix4fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix4x2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static ProgramUniformMatrix4x2dv glProgramUniformMatrix4x2dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix4x2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix4x2fv glProgramUniformMatrix4x2fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix4x3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static ProgramUniformMatrix4x3dv glProgramUniformMatrix4x3dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramUniformMatrix4x3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static ProgramUniformMatrix4x3fv glProgramUniformMatrix4x3fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProvokingVertex(OpenTK.Graphics.OpenGL4.ProvokingVertexMode mode); - internal static ProvokingVertex glProvokingVertex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PushDebugGroup(OpenTK.Graphics.OpenGL4.DebugSourceExternal source, UInt32 id, Int32 length, String message); - internal static PushDebugGroup glPushDebugGroup; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PushDebugGroupKHR(OpenTK.Graphics.OpenGL4.All source, UInt32 id, Int32 length, String message); - internal static PushDebugGroupKHR glPushDebugGroupKHR; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void QueryCounter(UInt32 id, OpenTK.Graphics.OpenGL4.QueryCounterTarget target); - internal static QueryCounter glQueryCounter; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReadBuffer(OpenTK.Graphics.OpenGL4.ReadBufferMode mode); - internal static ReadBuffer glReadBuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReadnPixelsARB(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr data); - internal static ReadnPixelsARB glReadnPixelsARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr pixels); - internal static ReadPixels glReadPixels; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReleaseShaderCompiler(); - internal static ReleaseShaderCompiler glReleaseShaderCompiler; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RenderbufferStorage(OpenTK.Graphics.OpenGL4.RenderbufferTarget target, OpenTK.Graphics.OpenGL4.RenderbufferStorage internalformat, Int32 width, Int32 height); - internal static RenderbufferStorage glRenderbufferStorage; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RenderbufferStorageMultisample(OpenTK.Graphics.OpenGL4.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.OpenGL4.RenderbufferStorage internalformat, Int32 width, Int32 height); - internal static RenderbufferStorageMultisample glRenderbufferStorageMultisample; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ResetHistogram(OpenTK.Graphics.OpenGL4.HistogramTarget target); - internal static ResetHistogram glResetHistogram; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ResetMinmax(OpenTK.Graphics.OpenGL4.MinmaxTarget target); - internal static ResetMinmax glResetMinmax; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ResumeTransformFeedback(); - internal static ResumeTransformFeedback glResumeTransformFeedback; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SampleCoverage(Single value, bool invert); - internal static SampleCoverage glSampleCoverage; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SampleMaski(UInt32 index, UInt32 mask); - internal static SampleMaski glSampleMaski; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SamplerParameterf(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Single param); - internal static SamplerParameterf glSamplerParameterf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SamplerParameterfv(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Single* param); - internal unsafe static SamplerParameterfv glSamplerParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SamplerParameteri(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32 param); - internal static SamplerParameteri glSamplerParameteri; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SamplerParameterIiv(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32* param); - internal unsafe static SamplerParameterIiv glSamplerParameterIiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SamplerParameterIuiv(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, UInt32* param); - internal unsafe static SamplerParameterIuiv glSamplerParameterIuiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SamplerParameteriv(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32* param); - internal unsafe static SamplerParameteriv glSamplerParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Scissor(Int32 x, Int32 y, Int32 width, Int32 height); - internal static Scissor glScissor; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ScissorArrayv(UInt32 first, Int32 count, Int32* v); - internal unsafe static ScissorArrayv glScissorArrayv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ScissorIndexed(UInt32 index, Int32 left, Int32 bottom, Int32 width, Int32 height); - internal static ScissorIndexed glScissorIndexed; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ScissorIndexedv(UInt32 index, Int32* v); - internal unsafe static ScissorIndexedv glScissorIndexedv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SecondaryColorP3ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 color); - internal static SecondaryColorP3ui glSecondaryColorP3ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SecondaryColorP3uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* color); - internal unsafe static SecondaryColorP3uiv glSecondaryColorP3uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SeparableFilter2D(OpenTK.Graphics.OpenGL4.SeparableTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr row, IntPtr column); - internal static SeparableFilter2D glSeparableFilter2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, IntPtr binary, Int32 length); - internal unsafe static ShaderBinary glShaderBinary; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length); - internal unsafe static ShaderSource glShaderSource; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ShaderStorageBlockBinding(UInt32 program, UInt32 storageBlockIndex, UInt32 storageBlockBinding); - internal static ShaderStorageBlockBinding glShaderStorageBlockBinding; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilFunc(OpenTK.Graphics.OpenGL4.StencilFunction func, Int32 @ref, UInt32 mask); - internal static StencilFunc glStencilFunc; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilFuncSeparate(OpenTK.Graphics.OpenGL4.StencilFace face, OpenTK.Graphics.OpenGL4.StencilFunction func, Int32 @ref, UInt32 mask); - internal static StencilFuncSeparate glStencilFuncSeparate; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilMask(UInt32 mask); - internal static StencilMask glStencilMask; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilMaskSeparate(OpenTK.Graphics.OpenGL4.StencilFace face, UInt32 mask); - internal static StencilMaskSeparate glStencilMaskSeparate; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilOp(OpenTK.Graphics.OpenGL4.StencilOp fail, OpenTK.Graphics.OpenGL4.StencilOp zfail, OpenTK.Graphics.OpenGL4.StencilOp zpass); - internal static StencilOp glStencilOp; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilOpSeparate(OpenTK.Graphics.OpenGL4.StencilFace face, OpenTK.Graphics.OpenGL4.StencilOp sfail, OpenTK.Graphics.OpenGL4.StencilOp dpfail, OpenTK.Graphics.OpenGL4.StencilOp dppass); - internal static StencilOpSeparate glStencilOpSeparate; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexBuffer(OpenTK.Graphics.OpenGL4.TextureBufferTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, UInt32 buffer); - internal static TexBuffer glTexBuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexBufferRange(OpenTK.Graphics.OpenGL4.TextureBufferTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, UInt32 buffer, IntPtr offset, IntPtr size); - internal static TexBufferRange glTexBufferRange; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoordP1ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords); - internal static TexCoordP1ui glTexCoordP1ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoordP1uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords); - internal unsafe static TexCoordP1uiv glTexCoordP1uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoordP2ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords); - internal static TexCoordP2ui glTexCoordP2ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoordP2uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords); - internal unsafe static TexCoordP2uiv glTexCoordP2uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoordP3ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords); - internal static TexCoordP3ui glTexCoordP3ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoordP3uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords); - internal unsafe static TexCoordP3uiv glTexCoordP3uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoordP4ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords); - internal static TexCoordP4ui glTexCoordP4ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexCoordP4uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords); - internal unsafe static TexCoordP4uiv glTexCoordP4uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels); - internal static TexImage1D glTexImage1D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels); - internal static TexImage2D glTexImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexImage2DMultisample(OpenTK.Graphics.OpenGL4.TextureTargetMultisample target, Int32 samples, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, bool fixedsamplelocations); - internal static TexImage2DMultisample glTexImage2DMultisample; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels); - internal static TexImage3D glTexImage3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexImage3DMultisample(OpenTK.Graphics.OpenGL4.TextureTargetMultisample target, Int32 samples, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations); - internal static TexImage3DMultisample glTexImage3DMultisample; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexPageCommitmentARB(OpenTK.Graphics.OpenGL4.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, bool resident); - internal static TexPageCommitmentARB glTexPageCommitmentARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexParameterf(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Single param); - internal static TexParameterf glTexParameterf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexParameterfv(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Single* @params); - internal unsafe static TexParameterfv glTexParameterfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexParameteri(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Int32 param); - internal static TexParameteri glTexParameteri; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexParameterIiv(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Int32* @params); - internal unsafe static TexParameterIiv glTexParameterIiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexParameterIuiv(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, UInt32* @params); - internal unsafe static TexParameterIuiv glTexParameterIuiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexParameteriv(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Int32* @params); - internal unsafe static TexParameteriv glTexParameteriv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexStorage1D(OpenTK.Graphics.OpenGL4.TextureTarget1d target, Int32 levels, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 width); - internal static TexStorage1D glTexStorage1D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexStorage2D(OpenTK.Graphics.OpenGL4.TextureTarget2d target, Int32 levels, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 width, Int32 height); - internal static TexStorage2D glTexStorage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexStorage2DMultisample(OpenTK.Graphics.OpenGL4.TextureTargetMultisample2d target, Int32 samples, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 width, Int32 height, bool fixedsamplelocations); - internal static TexStorage2DMultisample glTexStorage2DMultisample; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexStorage3D(OpenTK.Graphics.OpenGL4.TextureTarget3d target, Int32 levels, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth); - internal static TexStorage3D glTexStorage3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexStorage3DMultisample(OpenTK.Graphics.OpenGL4.TextureTargetMultisample3d target, Int32 samples, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations); - internal static TexStorage3DMultisample glTexStorage3DMultisample; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexSubImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels); - internal static TexSubImage1D glTexSubImage1D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexSubImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels); - internal static TexSubImage2D glTexSubImage2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexSubImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels); - internal static TexSubImage3D glTexSubImage3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureView(UInt32 texture, OpenTK.Graphics.OpenGL4.TextureTarget target, UInt32 origtexture, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, UInt32 minlevel, UInt32 numlevels, UInt32 minlayer, UInt32 numlayers); - internal static TextureView glTextureView; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL4.TransformFeedbackMode bufferMode); - internal static TransformFeedbackVaryings glTransformFeedbackVaryings; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform1d(Int32 location, Double x); - internal static Uniform1d glUniform1d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform1dv(Int32 location, Int32 count, Double* value); - internal unsafe static Uniform1dv glUniform1dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform1f(Int32 location, Single v0); - internal static Uniform1f glUniform1f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform1fv(Int32 location, Int32 count, Single* value); - internal unsafe static Uniform1fv glUniform1fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform1i(Int32 location, Int32 v0); - internal static Uniform1i glUniform1i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform1iv(Int32 location, Int32 count, Int32* value); - internal unsafe static Uniform1iv glUniform1iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform1ui(Int32 location, UInt32 v0); - internal static Uniform1ui glUniform1ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform1uiv(Int32 location, Int32 count, UInt32* value); - internal unsafe static Uniform1uiv glUniform1uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform2d(Int32 location, Double x, Double y); - internal static Uniform2d glUniform2d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform2dv(Int32 location, Int32 count, Double* value); - internal unsafe static Uniform2dv glUniform2dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform2f(Int32 location, Single v0, Single v1); - internal static Uniform2f glUniform2f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform2fv(Int32 location, Int32 count, Single* value); - internal unsafe static Uniform2fv glUniform2fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform2i(Int32 location, Int32 v0, Int32 v1); - internal static Uniform2i glUniform2i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform2iv(Int32 location, Int32 count, Int32* value); - internal unsafe static Uniform2iv glUniform2iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform2ui(Int32 location, UInt32 v0, UInt32 v1); - internal static Uniform2ui glUniform2ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform2uiv(Int32 location, Int32 count, UInt32* value); - internal unsafe static Uniform2uiv glUniform2uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform3d(Int32 location, Double x, Double y, Double z); - internal static Uniform3d glUniform3d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform3dv(Int32 location, Int32 count, Double* value); - internal unsafe static Uniform3dv glUniform3dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform3f(Int32 location, Single v0, Single v1, Single v2); - internal static Uniform3f glUniform3f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform3fv(Int32 location, Int32 count, Single* value); - internal unsafe static Uniform3fv glUniform3fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform3i(Int32 location, Int32 v0, Int32 v1, Int32 v2); - internal static Uniform3i glUniform3i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform3iv(Int32 location, Int32 count, Int32* value); - internal unsafe static Uniform3iv glUniform3iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform3ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); - internal static Uniform3ui glUniform3ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform3uiv(Int32 location, Int32 count, UInt32* value); - internal unsafe static Uniform3uiv glUniform3uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform4d(Int32 location, Double x, Double y, Double z, Double w); - internal static Uniform4d glUniform4d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform4dv(Int32 location, Int32 count, Double* value); - internal unsafe static Uniform4dv glUniform4dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform4f(Int32 location, Single v0, Single v1, Single v2, Single v3); - internal static Uniform4f glUniform4f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform4fv(Int32 location, Int32 count, Single* value); - internal unsafe static Uniform4fv glUniform4fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform4i(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); - internal static Uniform4i glUniform4i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform4iv(Int32 location, Int32 count, Int32* value); - internal unsafe static Uniform4iv glUniform4iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Uniform4ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); - internal static Uniform4ui glUniform4ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Uniform4uiv(Int32 location, Int32 count, UInt32* value); - internal unsafe static Uniform4uiv glUniform4uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void UniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding); - internal static UniformBlockBinding glUniformBlockBinding; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void UniformHandleui64ARB(Int32 location, UInt64 value); - internal static UniformHandleui64ARB glUniformHandleui64ARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformHandleui64vARB(Int32 location, Int32 count, UInt64* value); - internal unsafe static UniformHandleui64vARB glUniformHandleui64vARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix2dv(Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static UniformMatrix2dv glUniformMatrix2dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix2fv(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix2fv glUniformMatrix2fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix2x3dv(Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static UniformMatrix2x3dv glUniformMatrix2x3dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix2x3fv(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix2x3fv glUniformMatrix2x3fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix2x4dv(Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static UniformMatrix2x4dv glUniformMatrix2x4dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix2x4fv(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix2x4fv glUniformMatrix2x4fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix3dv(Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static UniformMatrix3dv glUniformMatrix3dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix3fv(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix3fv glUniformMatrix3fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix3x2dv(Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static UniformMatrix3x2dv glUniformMatrix3x2dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix3x2fv(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix3x2fv glUniformMatrix3x2fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix3x4dv(Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static UniformMatrix3x4dv glUniformMatrix3x4dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix3x4fv(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix3x4fv glUniformMatrix3x4fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix4dv(Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static UniformMatrix4dv glUniformMatrix4dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix4fv(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix4fv glUniformMatrix4fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix4x2dv(Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static UniformMatrix4x2dv glUniformMatrix4x2dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix4x2fv(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix4x2fv glUniformMatrix4x2fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix4x3dv(Int32 location, Int32 count, bool transpose, Double* value); - internal unsafe static UniformMatrix4x3dv glUniformMatrix4x3dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformMatrix4x3fv(Int32 location, Int32 count, bool transpose, Single* value); - internal unsafe static UniformMatrix4x3fv glUniformMatrix4x3fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void UniformSubroutinesuiv(OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 count, UInt32* indices); - internal unsafe static UniformSubroutinesuiv glUniformSubroutinesuiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool UnmapBuffer(OpenTK.Graphics.OpenGL4.BufferTarget target); - internal static UnmapBuffer glUnmapBuffer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void UseProgram(UInt32 program); - internal static UseProgram glUseProgram; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void UseProgramStages(UInt32 pipeline, OpenTK.Graphics.OpenGL4.ProgramStageMask stages, UInt32 program); - internal static UseProgramStages glUseProgramStages; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ValidateProgram(UInt32 program); - internal static ValidateProgram glValidateProgram; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ValidateProgramPipeline(UInt32 pipeline); - internal static ValidateProgramPipeline glValidateProgramPipeline; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib1d(UInt32 index, Double x); - internal static VertexAttrib1d glVertexAttrib1d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib1dv(UInt32 index, Double* v); - internal unsafe static VertexAttrib1dv glVertexAttrib1dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib1f(UInt32 index, Single x); - internal static VertexAttrib1f glVertexAttrib1f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib1fv(UInt32 index, Single* v); - internal unsafe static VertexAttrib1fv glVertexAttrib1fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib1s(UInt32 index, Int16 x); - internal static VertexAttrib1s glVertexAttrib1s; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib1sv(UInt32 index, Int16* v); - internal unsafe static VertexAttrib1sv glVertexAttrib1sv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib2d(UInt32 index, Double x, Double y); - internal static VertexAttrib2d glVertexAttrib2d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib2dv(UInt32 index, Double* v); - internal unsafe static VertexAttrib2dv glVertexAttrib2dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib2f(UInt32 index, Single x, Single y); - internal static VertexAttrib2f glVertexAttrib2f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib2fv(UInt32 index, Single* v); - internal unsafe static VertexAttrib2fv glVertexAttrib2fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib2s(UInt32 index, Int16 x, Int16 y); - internal static VertexAttrib2s glVertexAttrib2s; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib2sv(UInt32 index, Int16* v); - internal unsafe static VertexAttrib2sv glVertexAttrib2sv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib3d(UInt32 index, Double x, Double y, Double z); - internal static VertexAttrib3d glVertexAttrib3d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib3dv(UInt32 index, Double* v); - internal unsafe static VertexAttrib3dv glVertexAttrib3dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib3f(UInt32 index, Single x, Single y, Single z); - internal static VertexAttrib3f glVertexAttrib3f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib3fv(UInt32 index, Single* v); - internal unsafe static VertexAttrib3fv glVertexAttrib3fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib3s(UInt32 index, Int16 x, Int16 y, Int16 z); - internal static VertexAttrib3s glVertexAttrib3s; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib3sv(UInt32 index, Int16* v); - internal unsafe static VertexAttrib3sv glVertexAttrib3sv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4bv(UInt32 index, SByte* v); - internal unsafe static VertexAttrib4bv glVertexAttrib4bv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib4d(UInt32 index, Double x, Double y, Double z, Double w); - internal static VertexAttrib4d glVertexAttrib4d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4dv(UInt32 index, Double* v); - internal unsafe static VertexAttrib4dv glVertexAttrib4dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib4f(UInt32 index, Single x, Single y, Single z, Single w); - internal static VertexAttrib4f glVertexAttrib4f; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4fv(UInt32 index, Single* v); - internal unsafe static VertexAttrib4fv glVertexAttrib4fv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4iv(UInt32 index, Int32* v); - internal unsafe static VertexAttrib4iv glVertexAttrib4iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4Nbv(UInt32 index, SByte* v); - internal unsafe static VertexAttrib4Nbv glVertexAttrib4Nbv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4Niv(UInt32 index, Int32* v); - internal unsafe static VertexAttrib4Niv glVertexAttrib4Niv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4Nsv(UInt32 index, Int16* v); - internal unsafe static VertexAttrib4Nsv glVertexAttrib4Nsv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib4Nub(UInt32 index, Byte x, Byte y, Byte z, Byte w); - internal static VertexAttrib4Nub glVertexAttrib4Nub; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4Nubv(UInt32 index, Byte* v); - internal unsafe static VertexAttrib4Nubv glVertexAttrib4Nubv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4Nuiv(UInt32 index, UInt32* v); - internal unsafe static VertexAttrib4Nuiv glVertexAttrib4Nuiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4Nusv(UInt32 index, UInt16* v); - internal unsafe static VertexAttrib4Nusv glVertexAttrib4Nusv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttrib4s(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w); - internal static VertexAttrib4s glVertexAttrib4s; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4sv(UInt32 index, Int16* v); - internal unsafe static VertexAttrib4sv glVertexAttrib4sv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4ubv(UInt32 index, Byte* v); - internal unsafe static VertexAttrib4ubv glVertexAttrib4ubv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4uiv(UInt32 index, UInt32* v); - internal unsafe static VertexAttrib4uiv glVertexAttrib4uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttrib4usv(UInt32 index, UInt16* v); - internal unsafe static VertexAttrib4usv glVertexAttrib4usv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribBinding(UInt32 attribindex, UInt32 bindingindex); - internal static VertexAttribBinding glVertexAttribBinding; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribDivisor(UInt32 index, UInt32 divisor); - internal static VertexAttribDivisor glVertexAttribDivisor; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribType type, bool normalized, UInt32 relativeoffset); - internal static VertexAttribFormat glVertexAttribFormat; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribI1i(UInt32 index, Int32 x); - internal static VertexAttribI1i glVertexAttribI1i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI1iv(UInt32 index, Int32* v); - internal unsafe static VertexAttribI1iv glVertexAttribI1iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribI1ui(UInt32 index, UInt32 x); - internal static VertexAttribI1ui glVertexAttribI1ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI1uiv(UInt32 index, UInt32* v); - internal unsafe static VertexAttribI1uiv glVertexAttribI1uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribI2i(UInt32 index, Int32 x, Int32 y); - internal static VertexAttribI2i glVertexAttribI2i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI2iv(UInt32 index, Int32* v); - internal unsafe static VertexAttribI2iv glVertexAttribI2iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribI2ui(UInt32 index, UInt32 x, UInt32 y); - internal static VertexAttribI2ui glVertexAttribI2ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI2uiv(UInt32 index, UInt32* v); - internal unsafe static VertexAttribI2uiv glVertexAttribI2uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribI3i(UInt32 index, Int32 x, Int32 y, Int32 z); - internal static VertexAttribI3i glVertexAttribI3i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI3iv(UInt32 index, Int32* v); - internal unsafe static VertexAttribI3iv glVertexAttribI3iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribI3ui(UInt32 index, UInt32 x, UInt32 y, UInt32 z); - internal static VertexAttribI3ui glVertexAttribI3ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI3uiv(UInt32 index, UInt32* v); - internal unsafe static VertexAttribI3uiv glVertexAttribI3uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI4bv(UInt32 index, SByte* v); - internal unsafe static VertexAttribI4bv glVertexAttribI4bv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribI4i(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); - internal static VertexAttribI4i glVertexAttribI4i; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI4iv(UInt32 index, Int32* v); - internal unsafe static VertexAttribI4iv glVertexAttribI4iv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI4sv(UInt32 index, Int16* v); - internal unsafe static VertexAttribI4sv glVertexAttribI4sv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI4ubv(UInt32 index, Byte* v); - internal unsafe static VertexAttribI4ubv glVertexAttribI4ubv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribI4ui(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); - internal static VertexAttribI4ui glVertexAttribI4ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI4uiv(UInt32 index, UInt32* v); - internal unsafe static VertexAttribI4uiv glVertexAttribI4uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribI4usv(UInt32 index, UInt16* v); - internal unsafe static VertexAttribI4usv glVertexAttribI4usv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribIFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, UInt32 relativeoffset); - internal static VertexAttribIFormat glVertexAttribIFormat; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, Int32 stride, IntPtr pointer); - internal static VertexAttribIPointer glVertexAttribIPointer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribL1d(UInt32 index, Double x); - internal static VertexAttribL1d glVertexAttribL1d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribL1dv(UInt32 index, Double* v); - internal unsafe static VertexAttribL1dv glVertexAttribL1dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribL1ui64ARB(UInt32 index, UInt64 x); - internal static VertexAttribL1ui64ARB glVertexAttribL1ui64ARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribL1ui64vARB(UInt32 index, UInt64* v); - internal unsafe static VertexAttribL1ui64vARB glVertexAttribL1ui64vARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribL2d(UInt32 index, Double x, Double y); - internal static VertexAttribL2d glVertexAttribL2d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribL2dv(UInt32 index, Double* v); - internal unsafe static VertexAttribL2dv glVertexAttribL2dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribL3d(UInt32 index, Double x, Double y, Double z); - internal static VertexAttribL3d glVertexAttribL3d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribL3dv(UInt32 index, Double* v); - internal unsafe static VertexAttribL3dv glVertexAttribL3dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribL4d(UInt32 index, Double x, Double y, Double z, Double w); - internal static VertexAttribL4d glVertexAttribL4d; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribL4dv(UInt32 index, Double* v); - internal unsafe static VertexAttribL4dv glVertexAttribL4dv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribLFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, UInt32 relativeoffset); - internal static VertexAttribLFormat glVertexAttribLFormat; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, Int32 stride, IntPtr pointer); - internal static VertexAttribLPointer glVertexAttribLPointer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribP1ui(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32 value); - internal static VertexAttribP1ui glVertexAttribP1ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribP1uiv(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32* value); - internal unsafe static VertexAttribP1uiv glVertexAttribP1uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribP2ui(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32 value); - internal static VertexAttribP2ui glVertexAttribP2ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribP2uiv(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32* value); - internal unsafe static VertexAttribP2uiv glVertexAttribP2uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribP3ui(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32 value); - internal static VertexAttribP3ui glVertexAttribP3ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribP3uiv(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32* value); - internal unsafe static VertexAttribP3uiv glVertexAttribP3uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribP4ui(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32 value); - internal static VertexAttribP4ui glVertexAttribP4ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexAttribP4uiv(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32* value); - internal unsafe static VertexAttribP4uiv glVertexAttribP4uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer); - internal static VertexAttribPointer glVertexAttribPointer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexBindingDivisor(UInt32 bindingindex, UInt32 divisor); - internal static VertexBindingDivisor glVertexBindingDivisor; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexP2ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 value); - internal static VertexP2ui glVertexP2ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexP2uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* value); - internal unsafe static VertexP2uiv glVertexP2uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexP3ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 value); - internal static VertexP3ui glVertexP3ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexP3uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* value); - internal unsafe static VertexP3uiv glVertexP3uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexP4ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 value); - internal static VertexP4ui glVertexP4ui; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexP4uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* value); - internal unsafe static VertexP4uiv glVertexP4uiv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Viewport(Int32 x, Int32 y, Int32 width, Int32 height); - internal static Viewport glViewport; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ViewportArrayv(UInt32 first, Int32 count, Single* v); - internal unsafe static ViewportArrayv glViewportArrayv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ViewportIndexedf(UInt32 index, Single x, Single y, Single w, Single h); - internal static ViewportIndexedf glViewportIndexedf; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ViewportIndexedfv(UInt32 index, Single* v); - internal unsafe static ViewportIndexedfv glViewportIndexedfv; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate OpenTK.Graphics.OpenGL4.WaitSyncStatus WaitSync(IntPtr sync, OpenTK.Graphics.OpenGL4.WaitSyncFlags flags, UInt64 timeout); - internal static WaitSync glWaitSync; - } - } -} diff --git a/Source/OpenTK/Graphics/OpenGL4/Helper.cs b/Source/OpenTK/Graphics/OpenGL4/Helper.cs index f37fcf76..e4a7ee5c 100644 --- a/Source/OpenTK/Graphics/OpenGL4/Helper.cs +++ b/Source/OpenTK/Graphics/OpenGL4/Helper.cs @@ -42,6 +42,22 @@ namespace OpenTK.Graphics.OpenGL4 const string Library = "opengl32.dll"; static readonly object sync_root = new object(); + static IntPtr[] EntryPoints; + static string[] EntryPointNames; + + #region Constructors + + /// + /// Constructs a new instance. + /// + public GL() + { + EntryPointsInstance = EntryPoints; + EntryPointNamesInstance = EntryPointNames; + } + + #endregion + #region --- Protected Members --- /// diff --git a/Source/OpenTK/InteropHelper.cs b/Source/OpenTK/InteropHelper.cs new file mode 100644 index 00000000..fb992580 --- /dev/null +++ b/Source/OpenTK/InteropHelper.cs @@ -0,0 +1,186 @@ +#region License +// +// The Open Toolkit Library License +// +// Copyright (c) 2006 - 2013 Stefanos Apostolopoulos for the Open Toolkit library +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do +// so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +// OTHER DEALINGS IN THE SOFTWARE. +// +#endregion + +using System; +using System.Collections.Generic; +using System.Text; + +namespace OpenTK +{ + class InteropHelper + { + public static void Call(IntPtr address) + { + throw new NotImplementedException(); + } + + public static void Call(T0 arg0, IntPtr address) + { + throw new NotImplementedException(); + } + + public static void Call(T0 arg0, T1 arg1, IntPtr address) + { + throw new NotImplementedException(); + } + + public static void Call(T0 arg0, T1 arg1, T2 arg2, IntPtr address) + { + throw new NotImplementedException(); + } + + public static void Call(T0 arg0, T1 arg1, T2 arg2, T3 arg3, IntPtr address) + { + throw new NotImplementedException(); + } + + public static void Call(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, IntPtr address) + { + throw new NotImplementedException(); + } + + public static void Call(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, IntPtr address) + { + throw new NotImplementedException(); + } + + public static void Call(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, IntPtr address) + { + throw new NotImplementedException(); + } + + public static void Call(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, IntPtr address) + { + throw new NotImplementedException(); + } + + public static void Call(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, IntPtr address) + { + throw new NotImplementedException(); + } + + public static void Call(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, IntPtr address) + { + throw new NotImplementedException(); + } + + public static void Call(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, IntPtr address) + { + throw new NotImplementedException(); + } + + public static void Call(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, IntPtr address) + { + throw new NotImplementedException(); + } + + public static void Call(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, IntPtr address) + { + throw new NotImplementedException(); + } + + public static void Call(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, IntPtr address) + { + throw new NotImplementedException(); + } + + public static void Call(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, IntPtr address) + { + throw new NotImplementedException(); + } + + public static void Call(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, T15 arg15, IntPtr address) + { + throw new NotImplementedException(); + } + + public static TRet CallReturn(IntPtr address) + { + throw new NotImplementedException(); + } + + public static TRet CallReturn(T0 arg0, IntPtr address) + { + throw new NotImplementedException(); + } + + public static TRet CallReturn(T0 arg0, T1 arg1, IntPtr address) + { + throw new NotImplementedException(); + } + + public static TRet CallReturn(T0 arg0, T1 arg1, T2 arg2, IntPtr address) + { + throw new NotImplementedException(); + } + + public static TRet CallReturn(T0 arg0, T1 arg1, T2 arg2, T3 arg3, IntPtr address) + { + throw new NotImplementedException(); + } + + public static TRet CallReturn(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, IntPtr address) + { + throw new NotImplementedException(); + } + + public static TRet CallReturn(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, IntPtr address) + { + throw new NotImplementedException(); + } + + public static TRet CallReturn(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, IntPtr address) + { + throw new NotImplementedException(); + } + + public static TRet CallReturn(T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, IntPtr address) + { + throw new NotImplementedException(); + } + + public static IntPtr Pin(T[] arg) + { + throw new NotImplementedException(); + } + + public static IntPtr Pin(T[,] arg) + { + throw new NotImplementedException(); + } + + public static IntPtr Pin(T[,,] arg) + { + throw new NotImplementedException(); + } + + public static IntPtr Pin(ref T arg) + { + throw new NotImplementedException(); + } + } +} diff --git a/Source/OpenTK/OpenTK.csproj b/Source/OpenTK/OpenTK.csproj index b4d154e4..b87e00b5 100644 --- a/Source/OpenTK/OpenTK.csproj +++ b/Source/OpenTK/OpenTK.csproj @@ -83,6 +83,8 @@ True TRACE; True + pdbonly + true True @@ -134,6 +136,7 @@ + @@ -359,9 +362,6 @@ Code - - Code - Code @@ -452,18 +452,12 @@ Code - - Code - Code Code - - Code - Code @@ -482,9 +476,6 @@ Code - - Code - Code @@ -734,16 +725,6 @@ Code - - ResXFileCodeGenerator - Resources.Designer.cs - Designer - - - True - Resources.resx - True - OpenTK.snk @@ -785,21 +766,15 @@ Code - - - - - - - - + + @@ -810,5 +785,22 @@ - + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Source/OpenTK/Platform/DesktopGraphicsContext.cs b/Source/OpenTK/Platform/DesktopGraphicsContext.cs index e636ec93..a9d4f513 100644 --- a/Source/OpenTK/Platform/DesktopGraphicsContext.cs +++ b/Source/OpenTK/Platform/DesktopGraphicsContext.cs @@ -26,6 +26,7 @@ #endregion using System; +using System.Diagnostics; using OpenTK.Graphics; namespace OpenTK.Platform @@ -35,12 +36,16 @@ namespace OpenTK.Platform { public override void LoadAll() { + Stopwatch time = Stopwatch.StartNew(); + new OpenTK.Graphics.OpenGL.GL().LoadEntryPoints(); new OpenTK.Graphics.OpenGL4.GL().LoadEntryPoints(); new OpenTK.Graphics.ES10.GL().LoadEntryPoints(); new OpenTK.Graphics.ES11.GL().LoadEntryPoints(); new OpenTK.Graphics.ES20.GL().LoadEntryPoints(); new OpenTK.Graphics.ES30.GL().LoadEntryPoints(); + + Debug.Print("Bindings loaded in {0} ms.", time.Elapsed.TotalMilliseconds); } } } diff --git a/Source/OpenTK/Platform/Dummy/DummyGLContext.cs b/Source/OpenTK/Platform/Dummy/DummyGLContext.cs index 7c270bf1..05853f79 100644 --- a/Source/OpenTK/Platform/Dummy/DummyGLContext.cs +++ b/Source/OpenTK/Platform/Dummy/DummyGLContext.cs @@ -83,6 +83,8 @@ namespace OpenTK.Platform.Dummy public override IntPtr GetAddress(string function) { return IntPtr.Zero; } + public override IntPtr GetAddress(IntPtr function) { return IntPtr.Zero; } + public override int SwapInterval { get diff --git a/Source/OpenTK/Platform/Egl/Egl.cs b/Source/OpenTK/Platform/Egl/Egl.cs index 24a61664..78755356 100644 --- a/Source/OpenTK/Platform/Egl/Egl.cs +++ b/Source/OpenTK/Platform/Egl/Egl.cs @@ -308,6 +308,9 @@ namespace OpenTK.Platform.Egl [DllImportAttribute("libEGL.dll", EntryPoint = "eglGetProcAddress")] public static extern IntPtr GetProcAddress(string funcname); + [DllImportAttribute("libEGL.dll", EntryPoint = "eglGetProcAddress")] + public static extern IntPtr GetProcAddress(IntPtr funcname); + // Returns true if Egl drivers exist on the system. public static bool IsSupported { diff --git a/Source/OpenTK/Platform/Egl/EglContext.cs b/Source/OpenTK/Platform/Egl/EglContext.cs index 7d93d1b5..86b95eec 100644 --- a/Source/OpenTK/Platform/Egl/EglContext.cs +++ b/Source/OpenTK/Platform/Egl/EglContext.cs @@ -143,6 +143,11 @@ namespace OpenTK.Platform.Egl return Egl.GetProcAddress(function); } + public override IntPtr GetAddress(IntPtr function) + { + return Egl.GetProcAddress(function); + } + #endregion #region IDisposable Members diff --git a/Source/OpenTK/Platform/EmbeddedGraphicsContext.cs b/Source/OpenTK/Platform/EmbeddedGraphicsContext.cs index fb98bb8d..1f69ea41 100644 --- a/Source/OpenTK/Platform/EmbeddedGraphicsContext.cs +++ b/Source/OpenTK/Platform/EmbeddedGraphicsContext.cs @@ -26,6 +26,7 @@ #endregion using System; +using System.Diagnostics; using OpenTK.Graphics; namespace OpenTK.Platform @@ -35,10 +36,14 @@ namespace OpenTK.Platform { public override void LoadAll() { + Stopwatch time = Stopwatch.StartNew(); + new OpenTK.Graphics.ES10.GL().LoadEntryPoints(); new OpenTK.Graphics.ES11.GL().LoadEntryPoints(); new OpenTK.Graphics.ES20.GL().LoadEntryPoints(); new OpenTK.Graphics.ES30.GL().LoadEntryPoints(); + + Debug.Print("Bindings loaded in {0} ms.", time.Elapsed.TotalMilliseconds); } } } \ No newline at end of file diff --git a/Source/OpenTK/Platform/MacOS/AglContext.cs b/Source/OpenTK/Platform/MacOS/AglContext.cs index ee5a468e..65bdd0af 100644 --- a/Source/OpenTK/Platform/MacOS/AglContext.cs +++ b/Source/OpenTK/Platform/MacOS/AglContext.cs @@ -468,21 +468,57 @@ namespace OpenTK.Platform.MacOS [DllImport(Library, EntryPoint = "NSIsSymbolNameDefined")] private static extern bool NSIsSymbolNameDefined(string s); + [DllImport(Library, EntryPoint = "NSIsSymbolNameDefined")] + private static extern bool NSIsSymbolNameDefined(IntPtr s); [DllImport(Library, EntryPoint = "NSLookupAndBindSymbol")] private static extern IntPtr NSLookupAndBindSymbol(string s); + [DllImport(Library, EntryPoint = "NSLookupAndBindSymbol")] + private static extern IntPtr NSLookupAndBindSymbol(IntPtr s); [DllImport(Library, EntryPoint = "NSAddressOfSymbol")] private static extern IntPtr NSAddressOfSymbol(IntPtr symbol); public override IntPtr GetAddress(string function) { - string fname = "_" + function; - if (!NSIsSymbolNameDefined(fname)) + // Instead of allocating and combining strings in managed memory + // we do that directly in unmanaged memory. This way, we avoid + // 2 string allocations every time this function is called. + + // must add a '_' prefix and null-terminate the function name, + // hence we allocate +2 bytes + IntPtr ptr = Marshal.AllocHGlobal(function.Length + 2); + try + { + Marshal.WriteByte(ptr, (byte)'_'); + for (int i = 0; i < function.Length; i++) + { + Marshal.WriteByte(ptr, i + 1, (byte)function[i]); + } + Marshal.WriteByte(ptr, function.Length + 1, 0); // null-terminate + + IntPtr symbol = IntPtr.Zero; + if (NSIsSymbolNameDefined(ptr)) + { + symbol = NSLookupAndBindSymbol(ptr); + if (symbol != IntPtr.Zero) + symbol = NSAddressOfSymbol(symbol); + } + return symbol; + } + finally + { + Marshal.FreeHGlobal(ptr); + } + } + + public override IntPtr GetAddress(IntPtr function) + { + if (!NSIsSymbolNameDefined(function)) return IntPtr.Zero; - - IntPtr symbol = NSLookupAndBindSymbol(fname); + + IntPtr symbol = NSLookupAndBindSymbol(function); if (symbol != IntPtr.Zero) symbol = NSAddressOfSymbol(symbol); - + return symbol; } diff --git a/Source/OpenTK/Platform/SDL2/Sdl2.cs b/Source/OpenTK/Platform/SDL2/Sdl2.cs index 9e9e0a56..2568dc70 100644 --- a/Source/OpenTK/Platform/SDL2/Sdl2.cs +++ b/Source/OpenTK/Platform/SDL2/Sdl2.cs @@ -336,7 +336,7 @@ namespace OpenTK.Platform.SDL2 [SuppressUnmanagedCodeSecurity] [DllImport(lib, CallingConvention = CallingConvention.Cdecl, EntryPoint = "SDL_GL_GetProcAddress", ExactSpelling = true)] - static extern IntPtr GetProcAddress(IntPtr proc); + public static extern IntPtr GetProcAddress(IntPtr proc); public static IntPtr GetProcAddress(string proc) { IntPtr p = Marshal.StringToHGlobalAnsi(proc); diff --git a/Source/OpenTK/Platform/SDL2/Sdl2GraphicsContext.cs b/Source/OpenTK/Platform/SDL2/Sdl2GraphicsContext.cs index 26b528e8..fae2c03f 100644 --- a/Source/OpenTK/Platform/SDL2/Sdl2GraphicsContext.cs +++ b/Source/OpenTK/Platform/SDL2/Sdl2GraphicsContext.cs @@ -294,6 +294,11 @@ namespace OpenTK.Platform.SDL2 return SDL.GL.GetProcAddress(function); } + public override IntPtr GetAddress(IntPtr function) + { + return SDL.GL.GetProcAddress(function); + } + public override bool IsCurrent { get diff --git a/Source/OpenTK/Platform/Windows/API.cs b/Source/OpenTK/Platform/Windows/API.cs index e9b998af..b9107d7a 100644 --- a/Source/OpenTK/Platform/Windows/API.cs +++ b/Source/OpenTK/Platform/Windows/API.cs @@ -581,15 +581,13 @@ namespace OpenTK.Platform.Windows #region GetProcAddress - /// - /// - /// - /// - /// - /// [DllImport("kernel32.dll")] internal static extern IntPtr GetProcAddress(IntPtr handle, string funcname); + [DllImport("kernel32.dll")] + internal static extern IntPtr GetProcAddress(IntPtr handle, IntPtr funcname); + + #endregion #endregion diff --git a/Source/OpenTK/Platform/Windows/Bindings/Wgl.cs b/Source/OpenTK/Platform/Windows/Bindings/Wgl.cs index 345830a3..4668f629 100644 --- a/Source/OpenTK/Platform/Windows/Bindings/Wgl.cs +++ b/Source/OpenTK/Platform/Windows/Bindings/Wgl.cs @@ -1,524 +1,80 @@ +#region License +// +// The Open Toolkit Library License +// +// Copyright (c) 2006 - 2013 Stefanos Apostolopoulos +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do +// so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +// OTHER DEALINGS IN THE SOFTWARE. +// +#endregion + +using System; +using System.Runtime.InteropServices; +using System.Security; + namespace OpenTK.Platform.Windows { - using System; - using System.Runtime.InteropServices; - #pragma warning disable 3019 - #pragma warning disable 1591 +#pragma warning disable 3019 +#pragma warning disable 1591 static partial class Wgl { - - public static - IntPtr CreateContext(IntPtr hDc) - { - return Delegates.wglCreateContext((IntPtr)hDc); - } - - public static - Boolean DeleteContext(IntPtr oldContext) - { - return Delegates.wglDeleteContext((IntPtr)oldContext); - } - - public static - IntPtr GetCurrentContext() - { - return Delegates.wglGetCurrentContext(); - } - - public static - Boolean MakeCurrent(IntPtr hDc, IntPtr newContext) - { - return Delegates.wglMakeCurrent((IntPtr)hDc, (IntPtr)newContext); - } - - [System.CLSCompliant(false)] - public static - Boolean CopyContext(IntPtr hglrcSrc, IntPtr hglrcDst, UInt32 mask) - { - return Delegates.wglCopyContext((IntPtr)hglrcSrc, (IntPtr)hglrcDst, (UInt32)mask); - } - - public static - Boolean CopyContext(IntPtr hglrcSrc, IntPtr hglrcDst, Int32 mask) - { - return Delegates.wglCopyContext((IntPtr)hglrcSrc, (IntPtr)hglrcDst, (UInt32)mask); - } - - public static - int ChoosePixelFormat(IntPtr hDc, PixelFormatDescriptor[] pPfd) - { - unsafe - { - fixed (PixelFormatDescriptor* pPfd_ptr = pPfd) - { - return Delegates.wglChoosePixelFormat((IntPtr)hDc, (PixelFormatDescriptor*)pPfd_ptr); - } - } - } - - public static - int ChoosePixelFormat(IntPtr hDc, ref PixelFormatDescriptor pPfd) - { - unsafe - { - fixed (PixelFormatDescriptor* pPfd_ptr = &pPfd) - { - return Delegates.wglChoosePixelFormat((IntPtr)hDc, (PixelFormatDescriptor*)pPfd_ptr); - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe int ChoosePixelFormat(IntPtr hDc, PixelFormatDescriptor* pPfd) - { - return Delegates.wglChoosePixelFormat((IntPtr)hDc, (PixelFormatDescriptor*)pPfd); - } - - [System.CLSCompliant(false)] - public static - int DescribePixelFormat(IntPtr hdc, int ipfd, UInt32 cjpfd, PixelFormatDescriptor[] ppfd) - { - unsafe - { - fixed (PixelFormatDescriptor* ppfd_ptr = ppfd) - { - return Delegates.wglDescribePixelFormat((IntPtr)hdc, (int)ipfd, (UInt32)cjpfd, (PixelFormatDescriptor*)ppfd_ptr); - } - } - } - - public static - int DescribePixelFormat(IntPtr hdc, int ipfd, Int32 cjpfd, PixelFormatDescriptor[] ppfd) - { - unsafe - { - fixed (PixelFormatDescriptor* ppfd_ptr = ppfd) - { - return Delegates.wglDescribePixelFormat((IntPtr)hdc, (int)ipfd, (UInt32)cjpfd, (PixelFormatDescriptor*)ppfd_ptr); - } - } - } - - [System.CLSCompliant(false)] - public static - int DescribePixelFormat(IntPtr hdc, int ipfd, UInt32 cjpfd, ref PixelFormatDescriptor ppfd) - { - unsafe - { - fixed (PixelFormatDescriptor* ppfd_ptr = &ppfd) - { - return Delegates.wglDescribePixelFormat((IntPtr)hdc, (int)ipfd, (UInt32)cjpfd, (PixelFormatDescriptor*)ppfd_ptr); - } - } - } - - public static - int DescribePixelFormat(IntPtr hdc, int ipfd, Int32 cjpfd, ref PixelFormatDescriptor ppfd) - { - unsafe - { - fixed (PixelFormatDescriptor* ppfd_ptr = &ppfd) - { - return Delegates.wglDescribePixelFormat((IntPtr)hdc, (int)ipfd, (UInt32)cjpfd, (PixelFormatDescriptor*)ppfd_ptr); - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe int DescribePixelFormat(IntPtr hdc, int ipfd, UInt32 cjpfd, PixelFormatDescriptor* ppfd) - { - return Delegates.wglDescribePixelFormat((IntPtr)hdc, (int)ipfd, (UInt32)cjpfd, (PixelFormatDescriptor*)ppfd); - } - - [System.CLSCompliant(false)] - public static - unsafe int DescribePixelFormat(IntPtr hdc, int ipfd, Int32 cjpfd, PixelFormatDescriptor* ppfd) - { - return Delegates.wglDescribePixelFormat((IntPtr)hdc, (int)ipfd, (UInt32)cjpfd, (PixelFormatDescriptor*)ppfd); - } - - public static - IntPtr GetCurrentDC() - { - return Delegates.wglGetCurrentDC(); - } - - public static - IntPtr GetDefaultProcAddres(String lpszProc) - { - return Delegates.wglGetDefaultProcAddress((String)lpszProc); - } - - public static - IntPtr GetProcAddres(String lpszProc) - { - return Delegates.wglGetProcAddress((String)lpszProc); - } - - public static - int GetPixelFormat(IntPtr hdc) - { - return Delegates.wglGetPixelFormat((IntPtr)hdc); - } - - public static - Boolean SetPixelFormat(IntPtr hdc, int ipfd, PixelFormatDescriptor[] ppfd) - { - unsafe - { - fixed (PixelFormatDescriptor* ppfd_ptr = ppfd) - { - return Delegates.wglSetPixelFormat((IntPtr)hdc, (int)ipfd, (PixelFormatDescriptor*)ppfd_ptr); - } - } - } - - public static - Boolean SetPixelFormat(IntPtr hdc, int ipfd, ref PixelFormatDescriptor ppfd) - { - unsafe - { - fixed (PixelFormatDescriptor* ppfd_ptr = &ppfd) - { - return Delegates.wglSetPixelFormat((IntPtr)hdc, (int)ipfd, (PixelFormatDescriptor*)ppfd_ptr); - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean SetPixelFormat(IntPtr hdc, int ipfd, PixelFormatDescriptor* ppfd) - { - return Delegates.wglSetPixelFormat((IntPtr)hdc, (int)ipfd, (PixelFormatDescriptor*)ppfd); - } - - public static - Boolean SwapBuffers(IntPtr hdc) - { - return Delegates.wglSwapBuffers((IntPtr)hdc); - } - - public static - Boolean ShareLists(IntPtr hrcSrvShare, IntPtr hrcSrvSource) - { - return Delegates.wglShareLists((IntPtr)hrcSrvShare, (IntPtr)hrcSrvSource); - } - - public static - IntPtr CreateLayerContext(IntPtr hDc, int level) - { - return Delegates.wglCreateLayerContext((IntPtr)hDc, (int)level); - } - - [System.CLSCompliant(false)] - public static - Boolean DescribeLayerPlane(IntPtr hDc, int pixelFormat, int layerPlane, UInt32 nBytes, LayerPlaneDescriptor[] plpd) - { - unsafe - { - fixed (LayerPlaneDescriptor* plpd_ptr = plpd) - { - return Delegates.wglDescribeLayerPlane((IntPtr)hDc, (int)pixelFormat, (int)layerPlane, (UInt32)nBytes, (LayerPlaneDescriptor*)plpd_ptr); - } - } - } - - public static - Boolean DescribeLayerPlane(IntPtr hDc, int pixelFormat, int layerPlane, Int32 nBytes, LayerPlaneDescriptor[] plpd) - { - unsafe - { - fixed (LayerPlaneDescriptor* plpd_ptr = plpd) - { - return Delegates.wglDescribeLayerPlane((IntPtr)hDc, (int)pixelFormat, (int)layerPlane, (UInt32)nBytes, (LayerPlaneDescriptor*)plpd_ptr); - } - } - } - - [System.CLSCompliant(false)] - public static - Boolean DescribeLayerPlane(IntPtr hDc, int pixelFormat, int layerPlane, UInt32 nBytes, ref LayerPlaneDescriptor plpd) - { - unsafe - { - fixed (LayerPlaneDescriptor* plpd_ptr = &plpd) - { - return Delegates.wglDescribeLayerPlane((IntPtr)hDc, (int)pixelFormat, (int)layerPlane, (UInt32)nBytes, (LayerPlaneDescriptor*)plpd_ptr); - } - } - } - - public static - Boolean DescribeLayerPlane(IntPtr hDc, int pixelFormat, int layerPlane, Int32 nBytes, ref LayerPlaneDescriptor plpd) - { - unsafe - { - fixed (LayerPlaneDescriptor* plpd_ptr = &plpd) - { - return Delegates.wglDescribeLayerPlane((IntPtr)hDc, (int)pixelFormat, (int)layerPlane, (UInt32)nBytes, (LayerPlaneDescriptor*)plpd_ptr); - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean DescribeLayerPlane(IntPtr hDc, int pixelFormat, int layerPlane, UInt32 nBytes, LayerPlaneDescriptor* plpd) - { - return Delegates.wglDescribeLayerPlane((IntPtr)hDc, (int)pixelFormat, (int)layerPlane, (UInt32)nBytes, (LayerPlaneDescriptor*)plpd); - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean DescribeLayerPlane(IntPtr hDc, int pixelFormat, int layerPlane, Int32 nBytes, LayerPlaneDescriptor* plpd) - { - return Delegates.wglDescribeLayerPlane((IntPtr)hDc, (int)pixelFormat, (int)layerPlane, (UInt32)nBytes, (LayerPlaneDescriptor*)plpd); - } - - public static - int SetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32[] pcr) - { - unsafe - { - fixed (Int32* pcr_ptr = pcr) - { - return Delegates.wglSetLayerPaletteEntries((IntPtr)hdc, (int)iLayerPlane, (int)iStart, (int)cEntries, (Int32*)pcr_ptr); - } - } - } - - public static - int SetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, ref Int32 pcr) - { - unsafe - { - fixed (Int32* pcr_ptr = &pcr) - { - return Delegates.wglSetLayerPaletteEntries((IntPtr)hdc, (int)iLayerPlane, (int)iStart, (int)cEntries, (Int32*)pcr_ptr); - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe int SetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32* pcr) - { - return Delegates.wglSetLayerPaletteEntries((IntPtr)hdc, (int)iLayerPlane, (int)iStart, (int)cEntries, (Int32*)pcr); - } - - public static - int GetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32[] pcr) - { - unsafe - { - fixed (Int32* pcr_ptr = pcr) - { - return Delegates.wglGetLayerPaletteEntries((IntPtr)hdc, (int)iLayerPlane, (int)iStart, (int)cEntries, (Int32*)pcr_ptr); - } - } - } - - public static - int GetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, ref Int32 pcr) - { - unsafe - { - fixed (Int32* pcr_ptr = &pcr) - { - return Delegates.wglGetLayerPaletteEntries((IntPtr)hdc, (int)iLayerPlane, (int)iStart, (int)cEntries, (Int32*)pcr_ptr); - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe int GetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32* pcr) - { - return Delegates.wglGetLayerPaletteEntries((IntPtr)hdc, (int)iLayerPlane, (int)iStart, (int)cEntries, (Int32*)pcr); - } - - public static - Boolean RealizeLayerPalette(IntPtr hdc, int iLayerPlane, Boolean bRealize) - { - return Delegates.wglRealizeLayerPalette((IntPtr)hdc, (int)iLayerPlane, (Boolean)bRealize); - } - - [System.CLSCompliant(false)] - public static - Boolean SwapLayerBuffers(IntPtr hdc, UInt32 fuFlags) - { - return Delegates.wglSwapLayerBuffers((IntPtr)hdc, (UInt32)fuFlags); - } - - public static - Boolean SwapLayerBuffers(IntPtr hdc, Int32 fuFlags) - { - return Delegates.wglSwapLayerBuffers((IntPtr)hdc, (UInt32)fuFlags); - } - - public static - Boolean UseFontBitmapsA(IntPtr hDC, Int32 first, Int32 count, Int32 listBase) - { - return Delegates.wglUseFontBitmapsA((IntPtr)hDC, (Int32)first, (Int32)count, (Int32)listBase); - } - - public static - Boolean UseFontBitmapsW(IntPtr hDC, Int32 first, Int32 count, Int32 listBase) - { - return Delegates.wglUseFontBitmapsW((IntPtr)hDC, (Int32)first, (Int32)count, (Int32)listBase); - } - - public static - Boolean UseFontOutlinesA(IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, GlyphMetricsFloat[] glyphMetrics) - { - unsafe - { - fixed (GlyphMetricsFloat* glyphMetrics_ptr = glyphMetrics) - { - return Delegates.wglUseFontOutlinesA((IntPtr)hDC, (Int32)first, (Int32)count, (Int32)listBase, (float)thickness, (float)deviation, (Int32)fontMode, (GlyphMetricsFloat*)glyphMetrics_ptr); - } - } - } - - public static - Boolean UseFontOutlinesA(IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, ref GlyphMetricsFloat glyphMetrics) - { - unsafe - { - fixed (GlyphMetricsFloat* glyphMetrics_ptr = &glyphMetrics) - { - return Delegates.wglUseFontOutlinesA((IntPtr)hDC, (Int32)first, (Int32)count, (Int32)listBase, (float)thickness, (float)deviation, (Int32)fontMode, (GlyphMetricsFloat*)glyphMetrics_ptr); - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean UseFontOutlinesA(IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, GlyphMetricsFloat* glyphMetrics) - { - return Delegates.wglUseFontOutlinesA((IntPtr)hDC, (Int32)first, (Int32)count, (Int32)listBase, (float)thickness, (float)deviation, (Int32)fontMode, (GlyphMetricsFloat*)glyphMetrics); - } - - public static - Boolean UseFontOutlinesW(IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, GlyphMetricsFloat[] glyphMetrics) - { - unsafe - { - fixed (GlyphMetricsFloat* glyphMetrics_ptr = glyphMetrics) - { - return Delegates.wglUseFontOutlinesW((IntPtr)hDC, (Int32)first, (Int32)count, (Int32)listBase, (float)thickness, (float)deviation, (Int32)fontMode, (GlyphMetricsFloat*)glyphMetrics_ptr); - } - } - } - - public static - Boolean UseFontOutlinesW(IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, ref GlyphMetricsFloat glyphMetrics) - { - unsafe - { - fixed (GlyphMetricsFloat* glyphMetrics_ptr = &glyphMetrics) - { - return Delegates.wglUseFontOutlinesW((IntPtr)hDC, (Int32)first, (Int32)count, (Int32)listBase, (float)thickness, (float)deviation, (Int32)fontMode, (GlyphMetricsFloat*)glyphMetrics_ptr); - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean UseFontOutlinesW(IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, GlyphMetricsFloat* glyphMetrics) - { - return Delegates.wglUseFontOutlinesW((IntPtr)hDC, (Int32)first, (Int32)count, (Int32)listBase, (float)thickness, (float)deviation, (Int32)fontMode, (GlyphMetricsFloat*)glyphMetrics); - } - - public static - Boolean MakeContextCurrentEXT(IntPtr hDrawDC, IntPtr hReadDC, IntPtr hglrc) - { - return Delegates.wglMakeContextCurrentEXT((IntPtr)hDrawDC, (IntPtr)hReadDC, (IntPtr)hglrc); - } - - [System.CLSCompliant(false)] - public static - Boolean ChoosePixelFormatEXT(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) - { - unsafe - { - fixed (int* piAttribIList_ptr = piAttribIList) - fixed (Single* pfAttribFList_ptr = pfAttribFList) - fixed (int* piFormats_ptr = piFormats) - fixed (UInt32* nNumFormats_ptr = nNumFormats) - { - return Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); - } - } - } - - public static - Boolean ChoosePixelFormatEXT(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32[] nNumFormats) - { - unsafe - { - fixed (int* piAttribIList_ptr = piAttribIList) - fixed (Single* pfAttribFList_ptr = pfAttribFList) - fixed (int* piFormats_ptr = piFormats) - fixed (Int32* nNumFormats_ptr = nNumFormats) - { - return Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); - } - } - } - - [System.CLSCompliant(false)] - public static - Boolean ChoosePixelFormatEXT(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) - { - unsafe - { - fixed (int* piAttribIList_ptr = &piAttribIList) - fixed (Single* pfAttribFList_ptr = &pfAttribFList) - fixed (int* piFormats_ptr = &piFormats) - fixed (UInt32* nNumFormats_ptr = &nNumFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); - piFormats = *piFormats_ptr; - nNumFormats = *nNumFormats_ptr; - return retval; - } - } - } - - public static - Boolean ChoosePixelFormatEXT(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] out Int32 nNumFormats) - { - unsafe - { - fixed (int* piAttribIList_ptr = &piAttribIList) - fixed (Single* pfAttribFList_ptr = &pfAttribFList) - fixed (int* piFormats_ptr = &piFormats) - fixed (Int32* nNumFormats_ptr = &nNumFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); - piFormats = *piFormats_ptr; - nNumFormats = *nNumFormats_ptr; - return retval; - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormatEXT(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) - { - return Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormatEXT(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32* nNumFormats) - { - return Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); - } + [SuppressUnmanagedCodeSecurity] + [DllImport(Wgl.Library, EntryPoint = "wglCreateContext", ExactSpelling = true, SetLastError = true)] + internal extern static IntPtr CreateContext(IntPtr hDc); + [SuppressUnmanagedCodeSecurity] + [DllImport(Wgl.Library, EntryPoint = "wglDeleteContext", ExactSpelling = true, SetLastError = true)] + internal extern static Boolean DeleteContext(IntPtr oldContext); + [SuppressUnmanagedCodeSecurity] + [DllImport(Wgl.Library, EntryPoint = "wglGetCurrentContext", ExactSpelling = true, SetLastError = true)] + internal extern static IntPtr GetCurrentContext(); + [SuppressUnmanagedCodeSecurity] + [DllImport(Wgl.Library, EntryPoint = "wglMakeCurrent", ExactSpelling = true, SetLastError = true)] + internal extern static Boolean MakeCurrent(IntPtr hDc, IntPtr newContext); + [SuppressUnmanagedCodeSecurity] + [DllImport(Wgl.Library, EntryPoint = "wglCopyContext", ExactSpelling = true, SetLastError = true)] + internal extern static unsafe int ChoosePixelFormat(IntPtr hDc, ref PixelFormatDescriptor pPfd); + [SuppressUnmanagedCodeSecurity] + [DllImport(Wgl.Library, EntryPoint = "wglDescribePixelFormat", ExactSpelling = true, SetLastError = true)] + internal extern static unsafe int DescribePixelFormat(IntPtr hdc, int ipfd, UInt32 cjpfd, out PixelFormatDescriptor ppfd); + [SuppressUnmanagedCodeSecurity] + [DllImport(Wgl.Library, EntryPoint = "wglGetCurrentDC", ExactSpelling = true, SetLastError = true)] + internal extern static IntPtr GetCurrentDC(); + [SuppressUnmanagedCodeSecurity] + [DllImport(Wgl.Library, EntryPoint = "wglGetProcAddress", ExactSpelling = true, SetLastError = true)] + internal extern static IntPtr GetProcAddress(String lpszProc); + [SuppressUnmanagedCodeSecurity] + [DllImport(Wgl.Library, EntryPoint = "wglGetProcAddress", ExactSpelling = true, SetLastError = true)] + internal extern static IntPtr GetProcAddress(IntPtr lpszProc); + [SuppressUnmanagedCodeSecurity] + [DllImport(Wgl.Library, EntryPoint = "wglGetPixelFormat", ExactSpelling = true, SetLastError = true)] + internal extern static int GetPixelFormat(IntPtr hdc); + [SuppressUnmanagedCodeSecurity] + [DllImport(Wgl.Library, EntryPoint = "wglSetPixelFormat", ExactSpelling = true, SetLastError = true)] + internal extern static Boolean SetPixelFormat(IntPtr hdc, int ipfd, ref PixelFormatDescriptor ppfd); + [SuppressUnmanagedCodeSecurity] + [DllImport(Wgl.Library, EntryPoint = "wglSwapBuffers", ExactSpelling = true, SetLastError = true)] + internal extern static Boolean SwapBuffers(IntPtr hdc); + [SuppressUnmanagedCodeSecurity] + [DllImport(Wgl.Library, EntryPoint = "wglShareLists", ExactSpelling = true, SetLastError = true)] + internal extern static Boolean ShareLists(IntPtr hrcSrvShare, IntPtr hrcSrvSource); public static partial class Arb { @@ -552,39 +108,8 @@ namespace OpenTK.Platform.Windows } } } - - [System.CLSCompliant(false)] - public static - IntPtr CreateBufferRegion(IntPtr hDC, int iLayerPlane, UInt32 uType) - { - return Delegates.wglCreateBufferRegionARB((IntPtr)hDC, (int)iLayerPlane, (UInt32)uType); - } - public static - IntPtr CreateBufferRegion(IntPtr hDC, int iLayerPlane, Int32 uType) - { - return Delegates.wglCreateBufferRegionARB((IntPtr)hDC, (int)iLayerPlane, (UInt32)uType); - } - - public static - void DeleteBufferRegion(IntPtr hRegion) - { - Delegates.wglDeleteBufferRegionARB((IntPtr)hRegion); - } - - public static - Boolean SaveBufferRegion(IntPtr hRegion, int x, int y, int width, int height) - { - return Delegates.wglSaveBufferRegionARB((IntPtr)hRegion, (int)x, (int)y, (int)width, (int)height); - } - - public static - Boolean RestoreBufferRegion(IntPtr hRegion, int x, int y, int width, int height, int xSrc, int ySrc) - { - return Delegates.wglRestoreBufferRegionARB((IntPtr)hRegion, (int)x, (int)y, (int)width, (int)height, (int)xSrc, (int)ySrc); - } - - public static + public static string GetExtensionsString(IntPtr hdc) { unsafe @@ -593,21 +118,7 @@ namespace OpenTK.Platform.Windows } } - [System.CLSCompliant(false)] - public static - Boolean GetPixelFormatAttrib(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int[] piAttributes, [Out] int[] piValues) - { - unsafe - { - fixed (int* piAttributes_ptr = piAttributes) - fixed (int* piValues_ptr = piValues) - { - return Delegates.wglGetPixelFormatAttribivARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues_ptr); - } - } - } - - public static + public static Boolean GetPixelFormatAttrib(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, int[] piAttributes, [Out] int[] piValues) { unsafe @@ -620,23 +131,7 @@ namespace OpenTK.Platform.Windows } } - [System.CLSCompliant(false)] - public static - Boolean GetPixelFormatAttrib(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, ref int piAttributes, [Out] out int piValues) - { - unsafe - { - fixed (int* piAttributes_ptr = &piAttributes) - fixed (int* piValues_ptr = &piValues) - { - Boolean retval = Delegates.wglGetPixelFormatAttribivARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues_ptr); - piValues = *piValues_ptr; - return retval; - } - } - } - - public static + public static Boolean GetPixelFormatAttrib(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, ref int piAttributes, [Out] out int piValues) { unsafe @@ -651,22 +146,14 @@ namespace OpenTK.Platform.Windows } } - [System.CLSCompliant(false)] - public static - unsafe Boolean GetPixelFormatAttrib(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int* piAttributes, [Out] int* piValues) - { - return Delegates.wglGetPixelFormatAttribivARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (int*)piValues); - } - - [System.CLSCompliant(false)] - public static + public static unsafe Boolean GetPixelFormatAttrib(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, int* piAttributes, [Out] int* piValues) { return Delegates.wglGetPixelFormatAttribivARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (int*)piValues); } [System.CLSCompliant(false)] - public static + public static Boolean GetPixelFormatAttrib(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int[] piAttributes, [Out] Single[] pfValues) { unsafe @@ -679,7 +166,7 @@ namespace OpenTK.Platform.Windows } } - public static + public static Boolean GetPixelFormatAttrib(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, int[] piAttributes, [Out] Single[] pfValues) { unsafe @@ -692,23 +179,7 @@ namespace OpenTK.Platform.Windows } } - [System.CLSCompliant(false)] - public static - Boolean GetPixelFormatAttrib(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, ref int piAttributes, [Out] out Single pfValues) - { - unsafe - { - fixed (int* piAttributes_ptr = &piAttributes) - fixed (Single* pfValues_ptr = &pfValues) - { - Boolean retval = Delegates.wglGetPixelFormatAttribfvARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues_ptr); - pfValues = *pfValues_ptr; - return retval; - } - } - } - - public static + public static Boolean GetPixelFormatAttrib(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, ref int piAttributes, [Out] out Single pfValues) { unsafe @@ -724,36 +195,13 @@ namespace OpenTK.Platform.Windows } [System.CLSCompliant(false)] - public static - unsafe Boolean GetPixelFormatAttrib(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int* piAttributes, [Out] Single* pfValues) - { - return Delegates.wglGetPixelFormatAttribfvARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (Single*)pfValues); - } - - [System.CLSCompliant(false)] - public static + public static unsafe Boolean GetPixelFormatAttrib(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, int* piAttributes, [Out] Single* pfValues) { return Delegates.wglGetPixelFormatAttribfvARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (Single*)pfValues); } - [System.CLSCompliant(false)] - public static - Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) - { - unsafe - { - fixed (int* piAttribIList_ptr = piAttribIList) - fixed (Single* pfAttribFList_ptr = pfAttribFList) - fixed (int* piFormats_ptr = piFormats) - fixed (UInt32* nNumFormats_ptr = nNumFormats) - { - return Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); - } - } - } - - public static + public static Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, Int32 nMaxFormats, [Out] int[] piFormats, [Out] Int32[] nNumFormats) { unsafe @@ -768,26 +216,7 @@ namespace OpenTK.Platform.Windows } } - [System.CLSCompliant(false)] - public static - Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) - { - unsafe - { - fixed (int* piAttribIList_ptr = &piAttribIList) - fixed (Single* pfAttribFList_ptr = &pfAttribFList) - fixed (int* piFormats_ptr = &piFormats) - fixed (UInt32* nNumFormats_ptr = &nNumFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); - piFormats = *piFormats_ptr; - nNumFormats = *nNumFormats_ptr; - return retval; - } - } - } - - public static + public static Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] out Int32 nNumFormats) { unsafe @@ -806,32 +235,25 @@ namespace OpenTK.Platform.Windows } [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) - { - return Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); - } - - [System.CLSCompliant(false)] - public static + public static unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32* nNumFormats) { return Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); } - public static + public static Boolean MakeContextCurrent(IntPtr hDrawDC, IntPtr hReadDC, IntPtr hglrc) { return Delegates.wglMakeContextCurrentARB((IntPtr)hDrawDC, (IntPtr)hReadDC, (IntPtr)hglrc); } - public static + public static IntPtr GetCurrentReadDC() { return Delegates.wglGetCurrentReadDCARB(); } - public static + public static IntPtr CreatePbuffer(IntPtr hDC, int iPixelFormat, int iWidth, int iHeight, int[] piAttribList) { unsafe @@ -843,7 +265,7 @@ namespace OpenTK.Platform.Windows } } - public static + public static IntPtr CreatePbuffer(IntPtr hDC, int iPixelFormat, int iWidth, int iHeight, ref int piAttribList) { unsafe @@ -856,31 +278,31 @@ namespace OpenTK.Platform.Windows } [System.CLSCompliant(false)] - public static + public static unsafe IntPtr CreatePbuffer(IntPtr hDC, int iPixelFormat, int iWidth, int iHeight, int* piAttribList) { return Delegates.wglCreatePbufferARB((IntPtr)hDC, (int)iPixelFormat, (int)iWidth, (int)iHeight, (int*)piAttribList); } - public static + public static IntPtr GetPbufferDC(IntPtr hPbuffer) { return Delegates.wglGetPbufferDCARB((IntPtr)hPbuffer); } - public static + public static int ReleasePbufferDC(IntPtr hPbuffer, IntPtr hDC) { return Delegates.wglReleasePbufferDCARB((IntPtr)hPbuffer, (IntPtr)hDC); } - public static + public static Boolean DestroyPbuffer(IntPtr hPbuffer) { return Delegates.wglDestroyPbufferARB((IntPtr)hPbuffer); } - public static + public static Boolean QueryPbuffer(IntPtr hPbuffer, int iAttribute, [Out] int[] piValue) { unsafe @@ -892,7 +314,7 @@ namespace OpenTK.Platform.Windows } } - public static + public static Boolean QueryPbuffer(IntPtr hPbuffer, int iAttribute, [Out] out int piValue) { unsafe @@ -907,25 +329,25 @@ namespace OpenTK.Platform.Windows } [System.CLSCompliant(false)] - public static + public static unsafe Boolean QueryPbuffer(IntPtr hPbuffer, int iAttribute, [Out] int* piValue) { return Delegates.wglQueryPbufferARB((IntPtr)hPbuffer, (int)iAttribute, (int*)piValue); } - public static + public static Boolean BindTexImage(IntPtr hPbuffer, int iBuffer) { return Delegates.wglBindTexImageARB((IntPtr)hPbuffer, (int)iBuffer); } - public static + public static Boolean ReleaseTexImage(IntPtr hPbuffer, int iBuffer) { return Delegates.wglReleaseTexImageARB((IntPtr)hPbuffer, (int)iBuffer); } - public static + public static Boolean SetPbufferAttrib(IntPtr hPbuffer, int[] piAttribList) { unsafe @@ -937,7 +359,7 @@ namespace OpenTK.Platform.Windows } } - public static + public static Boolean SetPbufferAttrib(IntPtr hPbuffer, ref int piAttribList) { unsafe @@ -950,120 +372,16 @@ namespace OpenTK.Platform.Windows } [System.CLSCompliant(false)] - public static + public static unsafe Boolean SetPbufferAttrib(IntPtr hPbuffer, int* piAttribList) { return Delegates.wglSetPbufferAttribARB((IntPtr)hPbuffer, (int*)piAttribList); } - } public static partial class Ext { - [System.CLSCompliant(false)] - public static - bool CreateDisplayColorTable(UInt16 id) - { - return Delegates.wglCreateDisplayColorTableEXT((UInt16)id); - } - - public static - bool CreateDisplayColorTable(Int16 id) - { - return Delegates.wglCreateDisplayColorTableEXT((UInt16)id); - } - - [System.CLSCompliant(false)] - public static - bool LoadDisplayColorTable(UInt16[] table, UInt32 length) - { - unsafe - { - fixed (UInt16* table_ptr = table) - { - return Delegates.wglLoadDisplayColorTableEXT((UInt16*)table_ptr, (UInt32)length); - } - } - } - - public static - bool LoadDisplayColorTable(Int16[] table, Int32 length) - { - unsafe - { - fixed (Int16* table_ptr = table) - { - return Delegates.wglLoadDisplayColorTableEXT((UInt16*)table_ptr, (UInt32)length); - } - } - } - - [System.CLSCompliant(false)] - public static - bool LoadDisplayColorTable(ref UInt16 table, UInt32 length) - { - unsafe - { - fixed (UInt16* table_ptr = &table) - { - return Delegates.wglLoadDisplayColorTableEXT((UInt16*)table_ptr, (UInt32)length); - } - } - } - - public static - bool LoadDisplayColorTable(ref Int16 table, Int32 length) - { - unsafe - { - fixed (Int16* table_ptr = &table) - { - return Delegates.wglLoadDisplayColorTableEXT((UInt16*)table_ptr, (UInt32)length); - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe bool LoadDisplayColorTable(UInt16* table, UInt32 length) - { - return Delegates.wglLoadDisplayColorTableEXT((UInt16*)table, (UInt32)length); - } - - [System.CLSCompliant(false)] - public static - unsafe bool LoadDisplayColorTable(Int16* table, Int32 length) - { - return Delegates.wglLoadDisplayColorTableEXT((UInt16*)table, (UInt32)length); - } - - [System.CLSCompliant(false)] - public static - bool BindDisplayColorTable(UInt16 id) - { - return Delegates.wglBindDisplayColorTableEXT((UInt16)id); - } - - public static - bool BindDisplayColorTable(Int16 id) - { - return Delegates.wglBindDisplayColorTableEXT((UInt16)id); - } - - [System.CLSCompliant(false)] - public static - void DestroyDisplayColorTable(UInt16 id) - { - Delegates.wglDestroyDisplayColorTableEXT((UInt16)id); - } - - public static - void DestroyDisplayColorTable(Int16 id) - { - Delegates.wglDestroyDisplayColorTableEXT((UInt16)id); - } - - public static + public static string GetExtensionsString() { unsafe @@ -1072,1757 +390,18 @@ namespace OpenTK.Platform.Windows } } - public static - IntPtr GetCurrentReadDC() - { - return Delegates.wglGetCurrentReadDCEXT(); - } - - public static - IntPtr CreatePbuffer(IntPtr hDC, int iPixelFormat, int iWidth, int iHeight, int[] piAttribList) - { - unsafe - { - fixed (int* piAttribList_ptr = piAttribList) - { - return Delegates.wglCreatePbufferEXT((IntPtr)hDC, (int)iPixelFormat, (int)iWidth, (int)iHeight, (int*)piAttribList_ptr); - } - } - } - - public static - IntPtr CreatePbuffer(IntPtr hDC, int iPixelFormat, int iWidth, int iHeight, ref int piAttribList) - { - unsafe - { - fixed (int* piAttribList_ptr = &piAttribList) - { - return Delegates.wglCreatePbufferEXT((IntPtr)hDC, (int)iPixelFormat, (int)iWidth, (int)iHeight, (int*)piAttribList_ptr); - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe IntPtr CreatePbuffer(IntPtr hDC, int iPixelFormat, int iWidth, int iHeight, int* piAttribList) - { - return Delegates.wglCreatePbufferEXT((IntPtr)hDC, (int)iPixelFormat, (int)iWidth, (int)iHeight, (int*)piAttribList); - } - - public static - IntPtr GetPbufferDC(IntPtr hPbuffer) - { - return Delegates.wglGetPbufferDCEXT((IntPtr)hPbuffer); - } - - public static - int ReleasePbufferDC(IntPtr hPbuffer, IntPtr hDC) - { - return Delegates.wglReleasePbufferDCEXT((IntPtr)hPbuffer, (IntPtr)hDC); - } - - public static - Boolean DestroyPbuffer(IntPtr hPbuffer) - { - return Delegates.wglDestroyPbufferEXT((IntPtr)hPbuffer); - } - - public static - Boolean QueryPbuffer(IntPtr hPbuffer, int iAttribute, [Out] int[] piValue) - { - unsafe - { - fixed (int* piValue_ptr = piValue) - { - return Delegates.wglQueryPbufferEXT((IntPtr)hPbuffer, (int)iAttribute, (int*)piValue_ptr); - } - } - } - - public static - Boolean QueryPbuffer(IntPtr hPbuffer, int iAttribute, [Out] out int piValue) - { - unsafe - { - fixed (int* piValue_ptr = &piValue) - { - Boolean retval = Delegates.wglQueryPbufferEXT((IntPtr)hPbuffer, (int)iAttribute, (int*)piValue_ptr); - piValue = *piValue_ptr; - return retval; - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean QueryPbuffer(IntPtr hPbuffer, int iAttribute, [Out] int* piValue) - { - return Delegates.wglQueryPbufferEXT((IntPtr)hPbuffer, (int)iAttribute, (int*)piValue); - } - - [System.CLSCompliant(false)] - public static - Boolean GetPixelFormatAttrib(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int[] piAttributes, [Out] int[] piValues) - { - unsafe - { - fixed (int* piAttributes_ptr = piAttributes) - fixed (int* piValues_ptr = piValues) - { - return Delegates.wglGetPixelFormatAttribivEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues_ptr); - } - } - } - - public static - Boolean GetPixelFormatAttrib(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [Out] int[] piAttributes, [Out] int[] piValues) - { - unsafe - { - fixed (int* piAttributes_ptr = piAttributes) - fixed (int* piValues_ptr = piValues) - { - return Delegates.wglGetPixelFormatAttribivEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues_ptr); - } - } - } - - [System.CLSCompliant(false)] - public static - Boolean GetPixelFormatAttrib(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] out int piAttributes, [Out] out int piValues) - { - unsafe - { - fixed (int* piAttributes_ptr = &piAttributes) - fixed (int* piValues_ptr = &piValues) - { - Boolean retval = Delegates.wglGetPixelFormatAttribivEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues_ptr); - piAttributes = *piAttributes_ptr; - piValues = *piValues_ptr; - return retval; - } - } - } - - public static - Boolean GetPixelFormatAttrib(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [Out] out int piAttributes, [Out] out int piValues) - { - unsafe - { - fixed (int* piAttributes_ptr = &piAttributes) - fixed (int* piValues_ptr = &piValues) - { - Boolean retval = Delegates.wglGetPixelFormatAttribivEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues_ptr); - piAttributes = *piAttributes_ptr; - piValues = *piValues_ptr; - return retval; - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetPixelFormatAttrib(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int* piAttributes, [Out] int* piValues) - { - return Delegates.wglGetPixelFormatAttribivEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (int*)piValues); - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetPixelFormatAttrib(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [Out] int* piAttributes, [Out] int* piValues) - { - return Delegates.wglGetPixelFormatAttribivEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (int*)piValues); - } - - [System.CLSCompliant(false)] - public static - Boolean GetPixelFormatAttrib(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int[] piAttributes, [Out] Single[] pfValues) - { - unsafe - { - fixed (int* piAttributes_ptr = piAttributes) - fixed (Single* pfValues_ptr = pfValues) - { - return Delegates.wglGetPixelFormatAttribfvEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues_ptr); - } - } - } - - public static - Boolean GetPixelFormatAttrib(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [Out] int[] piAttributes, [Out] Single[] pfValues) - { - unsafe - { - fixed (int* piAttributes_ptr = piAttributes) - fixed (Single* pfValues_ptr = pfValues) - { - return Delegates.wglGetPixelFormatAttribfvEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues_ptr); - } - } - } - - [System.CLSCompliant(false)] - public static - Boolean GetPixelFormatAttrib(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] out int piAttributes, [Out] out Single pfValues) - { - unsafe - { - fixed (int* piAttributes_ptr = &piAttributes) - fixed (Single* pfValues_ptr = &pfValues) - { - Boolean retval = Delegates.wglGetPixelFormatAttribfvEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues_ptr); - piAttributes = *piAttributes_ptr; - pfValues = *pfValues_ptr; - return retval; - } - } - } - - public static - Boolean GetPixelFormatAttrib(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [Out] out int piAttributes, [Out] out Single pfValues) - { - unsafe - { - fixed (int* piAttributes_ptr = &piAttributes) - fixed (Single* pfValues_ptr = &pfValues) - { - Boolean retval = Delegates.wglGetPixelFormatAttribfvEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues_ptr); - piAttributes = *piAttributes_ptr; - pfValues = *pfValues_ptr; - return retval; - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetPixelFormatAttrib(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int* piAttributes, [Out] Single* pfValues) - { - return Delegates.wglGetPixelFormatAttribfvEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (Single*)pfValues); - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetPixelFormatAttrib(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [Out] int* piAttributes, [Out] Single* pfValues) - { - return Delegates.wglGetPixelFormatAttribfvEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (Single*)pfValues); - } - - public static + public static Boolean SwapInterval(int interval) { return Delegates.wglSwapIntervalEXT((int)interval); } - public static + public static int GetSwapInterval() { return Delegates.wglGetSwapIntervalEXT(); } } - - public static partial class NV - { - [System.CLSCompliant(false)] - public static - unsafe IntPtr AllocateMemory(Int32 size, Single readfreq, Single writefreq, Single priority) - { - return Delegates.wglAllocateMemoryNV((Int32)size, (Single)readfreq, (Single)writefreq, (Single)priority); - } - - public static - void FreeMemory([Out] IntPtr pointer) - { - unsafe - { - Delegates.wglFreeMemoryNV((IntPtr)pointer); - } - } - - public static - void FreeMemory([In, Out] object pointer) - { - unsafe - { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); - try - { - Delegates.wglFreeMemoryNV((IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - } - } - - } - - public static partial class Oml - { - public static - Boolean GetSyncValues(IntPtr hdc, [Out] Int64[] ust, [Out] Int64[] msc, [Out] Int64[] sbc) - { - unsafe - { - fixed (Int64* ust_ptr = ust) - fixed (Int64* msc_ptr = msc) - fixed (Int64* sbc_ptr = sbc) - { - return Delegates.wglGetSyncValuesOML((IntPtr)hdc, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc_ptr); - } - } - } - - public static - Boolean GetSyncValues(IntPtr hdc, [Out] out Int64 ust, [Out] out Int64 msc, [Out] out Int64 sbc) - { - unsafe - { - fixed (Int64* ust_ptr = &ust) - fixed (Int64* msc_ptr = &msc) - fixed (Int64* sbc_ptr = &sbc) - { - Boolean retval = Delegates.wglGetSyncValuesOML((IntPtr)hdc, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc_ptr); - ust = *ust_ptr; - msc = *msc_ptr; - sbc = *sbc_ptr; - return retval; - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetSyncValues(IntPtr hdc, [Out] Int64* ust, [Out] Int64* msc, [Out] Int64* sbc) - { - return Delegates.wglGetSyncValuesOML((IntPtr)hdc, (Int64*)ust, (Int64*)msc, (Int64*)sbc); - } - - public static - Boolean GetMscRate(IntPtr hdc, [Out] Int32[] numerator, [Out] Int32[] denominator) - { - unsafe - { - fixed (Int32* numerator_ptr = numerator) - fixed (Int32* denominator_ptr = denominator) - { - return Delegates.wglGetMscRateOML((IntPtr)hdc, (Int32*)numerator_ptr, (Int32*)denominator_ptr); - } - } - } - - public static - Boolean GetMscRate(IntPtr hdc, [Out] out Int32 numerator, [Out] out Int32 denominator) - { - unsafe - { - fixed (Int32* numerator_ptr = &numerator) - fixed (Int32* denominator_ptr = &denominator) - { - Boolean retval = Delegates.wglGetMscRateOML((IntPtr)hdc, (Int32*)numerator_ptr, (Int32*)denominator_ptr); - numerator = *numerator_ptr; - denominator = *denominator_ptr; - return retval; - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetMscRate(IntPtr hdc, [Out] Int32* numerator, [Out] Int32* denominator) - { - return Delegates.wglGetMscRateOML((IntPtr)hdc, (Int32*)numerator, (Int32*)denominator); - } - - public static - Int64 SwapBuffersMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder) - { - return Delegates.wglSwapBuffersMscOML((IntPtr)hdc, (Int64)target_msc, (Int64)divisor, (Int64)remainder); - } - - public static - Int64 SwapLayerBuffersMsc(IntPtr hdc, int fuPlanes, Int64 target_msc, Int64 divisor, Int64 remainder) - { - return Delegates.wglSwapLayerBuffersMscOML((IntPtr)hdc, (int)fuPlanes, (Int64)target_msc, (Int64)divisor, (Int64)remainder); - } - - public static - Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] Int64[] ust, [Out] Int64[] msc, [Out] Int64[] sbc) - { - unsafe - { - fixed (Int64* ust_ptr = ust) - fixed (Int64* msc_ptr = msc) - fixed (Int64* sbc_ptr = sbc) - { - return Delegates.wglWaitForMscOML((IntPtr)hdc, (Int64)target_msc, (Int64)divisor, (Int64)remainder, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc_ptr); - } - } - } - - public static - Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] out Int64 ust, [Out] out Int64 msc, [Out] out Int64 sbc) - { - unsafe - { - fixed (Int64* ust_ptr = &ust) - fixed (Int64* msc_ptr = &msc) - fixed (Int64* sbc_ptr = &sbc) - { - Boolean retval = Delegates.wglWaitForMscOML((IntPtr)hdc, (Int64)target_msc, (Int64)divisor, (Int64)remainder, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc_ptr); - ust = *ust_ptr; - msc = *msc_ptr; - sbc = *sbc_ptr; - return retval; - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] Int64* ust, [Out] Int64* msc, [Out] Int64* sbc) - { - return Delegates.wglWaitForMscOML((IntPtr)hdc, (Int64)target_msc, (Int64)divisor, (Int64)remainder, (Int64*)ust, (Int64*)msc, (Int64*)sbc); - } - - public static - Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] Int64[] ust, [Out] Int64[] msc, [Out] Int64[] sbc) - { - unsafe - { - fixed (Int64* ust_ptr = ust) - fixed (Int64* msc_ptr = msc) - fixed (Int64* sbc_ptr = sbc) - { - return Delegates.wglWaitForSbcOML((IntPtr)hdc, (Int64)target_sbc, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc_ptr); - } - } - } - - public static - Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] out Int64 ust, [Out] out Int64 msc, [Out] out Int64 sbc) - { - unsafe - { - fixed (Int64* ust_ptr = &ust) - fixed (Int64* msc_ptr = &msc) - fixed (Int64* sbc_ptr = &sbc) - { - Boolean retval = Delegates.wglWaitForSbcOML((IntPtr)hdc, (Int64)target_sbc, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc_ptr); - ust = *ust_ptr; - msc = *msc_ptr; - sbc = *sbc_ptr; - return retval; - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] Int64* ust, [Out] Int64* msc, [Out] Int64* sbc) - { - return Delegates.wglWaitForSbcOML((IntPtr)hdc, (Int64)target_sbc, (Int64*)ust, (Int64*)msc, (Int64*)sbc); - } - - } - - public static partial class I3d - { - public static - Boolean GetDigitalVideoParameters(IntPtr hDC, int iAttribute, [Out] int[] piValue) - { - unsafe - { - fixed (int* piValue_ptr = piValue) - { - return Delegates.wglGetDigitalVideoParametersI3D((IntPtr)hDC, (int)iAttribute, (int*)piValue_ptr); - } - } - } - - public static - Boolean GetDigitalVideoParameters(IntPtr hDC, int iAttribute, [Out] out int piValue) - { - unsafe - { - fixed (int* piValue_ptr = &piValue) - { - Boolean retval = Delegates.wglGetDigitalVideoParametersI3D((IntPtr)hDC, (int)iAttribute, (int*)piValue_ptr); - piValue = *piValue_ptr; - return retval; - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetDigitalVideoParameters(IntPtr hDC, int iAttribute, [Out] int* piValue) - { - return Delegates.wglGetDigitalVideoParametersI3D((IntPtr)hDC, (int)iAttribute, (int*)piValue); - } - - public static - Boolean SetDigitalVideoParameters(IntPtr hDC, int iAttribute, int[] piValue) - { - unsafe - { - fixed (int* piValue_ptr = piValue) - { - return Delegates.wglSetDigitalVideoParametersI3D((IntPtr)hDC, (int)iAttribute, (int*)piValue_ptr); - } - } - } - - public static - Boolean SetDigitalVideoParameters(IntPtr hDC, int iAttribute, ref int piValue) - { - unsafe - { - fixed (int* piValue_ptr = &piValue) - { - return Delegates.wglSetDigitalVideoParametersI3D((IntPtr)hDC, (int)iAttribute, (int*)piValue_ptr); - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean SetDigitalVideoParameters(IntPtr hDC, int iAttribute, int* piValue) - { - return Delegates.wglSetDigitalVideoParametersI3D((IntPtr)hDC, (int)iAttribute, (int*)piValue); - } - - public static - Boolean GetGammaTableParameters(IntPtr hDC, int iAttribute, [Out] int[] piValue) - { - unsafe - { - fixed (int* piValue_ptr = piValue) - { - return Delegates.wglGetGammaTableParametersI3D((IntPtr)hDC, (int)iAttribute, (int*)piValue_ptr); - } - } - } - - public static - Boolean GetGammaTableParameters(IntPtr hDC, int iAttribute, [Out] out int piValue) - { - unsafe - { - fixed (int* piValue_ptr = &piValue) - { - Boolean retval = Delegates.wglGetGammaTableParametersI3D((IntPtr)hDC, (int)iAttribute, (int*)piValue_ptr); - piValue = *piValue_ptr; - return retval; - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetGammaTableParameters(IntPtr hDC, int iAttribute, [Out] int* piValue) - { - return Delegates.wglGetGammaTableParametersI3D((IntPtr)hDC, (int)iAttribute, (int*)piValue); - } - - public static - Boolean SetGammaTableParameters(IntPtr hDC, int iAttribute, int[] piValue) - { - unsafe - { - fixed (int* piValue_ptr = piValue) - { - return Delegates.wglSetGammaTableParametersI3D((IntPtr)hDC, (int)iAttribute, (int*)piValue_ptr); - } - } - } - - public static - Boolean SetGammaTableParameters(IntPtr hDC, int iAttribute, ref int piValue) - { - unsafe - { - fixed (int* piValue_ptr = &piValue) - { - return Delegates.wglSetGammaTableParametersI3D((IntPtr)hDC, (int)iAttribute, (int*)piValue_ptr); - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean SetGammaTableParameters(IntPtr hDC, int iAttribute, int* piValue) - { - return Delegates.wglSetGammaTableParametersI3D((IntPtr)hDC, (int)iAttribute, (int*)piValue); - } - - [System.CLSCompliant(false)] - public static - Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16[] puRed, [Out] UInt16[] puGreen, [Out] UInt16[] puBlue) - { - unsafe - { - fixed (UInt16* puRed_ptr = puRed) - fixed (UInt16* puGreen_ptr = puGreen) - fixed (UInt16* puBlue_ptr = puBlue) - { - return Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - } - } - } - - public static - Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] Int16[] puRed, [Out] Int16[] puGreen, [Out] Int16[] puBlue) - { - unsafe - { - fixed (Int16* puRed_ptr = puRed) - fixed (Int16* puGreen_ptr = puGreen) - fixed (Int16* puBlue_ptr = puBlue) - { - return Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - } - } - } - - [System.CLSCompliant(false)] - public static - Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out UInt16 puRed, [Out] out UInt16 puGreen, [Out] out UInt16 puBlue) - { - unsafe - { - fixed (UInt16* puRed_ptr = &puRed) - fixed (UInt16* puGreen_ptr = &puGreen) - fixed (UInt16* puBlue_ptr = &puBlue) - { - Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - puRed = *puRed_ptr; - puGreen = *puGreen_ptr; - puBlue = *puBlue_ptr; - return retval; - } - } - } - - public static - Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out Int16 puRed, [Out] out Int16 puGreen, [Out] out Int16 puBlue) - { - unsafe - { - fixed (Int16* puRed_ptr = &puRed) - fixed (Int16* puGreen_ptr = &puGreen) - fixed (Int16* puBlue_ptr = &puBlue) - { - Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - puRed = *puRed_ptr; - puGreen = *puGreen_ptr; - puBlue = *puBlue_ptr; - return retval; - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16* puRed, [Out] UInt16* puGreen, [Out] UInt16* puBlue) - { - return Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen, (UInt16*)puBlue); - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] Int16* puRed, [Out] Int16* puGreen, [Out] Int16* puBlue) - { - return Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen, (UInt16*)puBlue); - } - - [System.CLSCompliant(false)] - public static - Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16[] puRed, UInt16[] puGreen, UInt16[] puBlue) - { - unsafe - { - fixed (UInt16* puRed_ptr = puRed) - fixed (UInt16* puGreen_ptr = puGreen) - fixed (UInt16* puBlue_ptr = puBlue) - { - return Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - } - } - } - - public static - Boolean SetGammaTable(IntPtr hDC, int iEntries, Int16[] puRed, Int16[] puGreen, Int16[] puBlue) - { - unsafe - { - fixed (Int16* puRed_ptr = puRed) - fixed (Int16* puGreen_ptr = puGreen) - fixed (Int16* puBlue_ptr = puBlue) - { - return Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - } - } - } - - [System.CLSCompliant(false)] - public static - Boolean SetGammaTable(IntPtr hDC, int iEntries, ref UInt16 puRed, ref UInt16 puGreen, ref UInt16 puBlue) - { - unsafe - { - fixed (UInt16* puRed_ptr = &puRed) - fixed (UInt16* puGreen_ptr = &puGreen) - fixed (UInt16* puBlue_ptr = &puBlue) - { - return Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - } - } - } - - public static - Boolean SetGammaTable(IntPtr hDC, int iEntries, ref Int16 puRed, ref Int16 puGreen, ref Int16 puBlue) - { - unsafe - { - fixed (Int16* puRed_ptr = &puRed) - fixed (Int16* puGreen_ptr = &puGreen) - fixed (Int16* puBlue_ptr = &puBlue) - { - return Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16* puRed, UInt16* puGreen, UInt16* puBlue) - { - return Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen, (UInt16*)puBlue); - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, Int16* puRed, Int16* puGreen, Int16* puBlue) - { - return Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen, (UInt16*)puBlue); - } - - public static - Boolean EnableGenlock(IntPtr hDC) - { - return Delegates.wglEnableGenlockI3D((IntPtr)hDC); - } - - public static - Boolean DisableGenlock(IntPtr hDC) - { - return Delegates.wglDisableGenlockI3D((IntPtr)hDC); - } - - public static - Boolean IsEnabledGenlock(IntPtr hDC, [Out] Boolean[] pFlag) - { - unsafe - { - fixed (Boolean* pFlag_ptr = pFlag) - { - return Delegates.wglIsEnabledGenlockI3D((IntPtr)hDC, (Boolean*)pFlag_ptr); - } - } - } - - public static - Boolean IsEnabledGenlock(IntPtr hDC, [Out] out Boolean pFlag) - { - unsafe - { - fixed (Boolean* pFlag_ptr = &pFlag) - { - Boolean retval = Delegates.wglIsEnabledGenlockI3D((IntPtr)hDC, (Boolean*)pFlag_ptr); - pFlag = *pFlag_ptr; - return retval; - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean IsEnabledGenlock(IntPtr hDC, [Out] Boolean* pFlag) - { - return Delegates.wglIsEnabledGenlockI3D((IntPtr)hDC, (Boolean*)pFlag); - } - - [System.CLSCompliant(false)] - public static - Boolean GenlockSource(IntPtr hDC, UInt32 uSource) - { - return Delegates.wglGenlockSourceI3D((IntPtr)hDC, (UInt32)uSource); - } - - public static - Boolean GenlockSource(IntPtr hDC, Int32 uSource) - { - return Delegates.wglGenlockSourceI3D((IntPtr)hDC, (UInt32)uSource); - } - - [System.CLSCompliant(false)] - public static - Boolean GetGenlockSource(IntPtr hDC, [Out] UInt32[] uSource) - { - unsafe - { - fixed (UInt32* uSource_ptr = uSource) - { - return Delegates.wglGetGenlockSourceI3D((IntPtr)hDC, (UInt32*)uSource_ptr); - } - } - } - - public static - Boolean GetGenlockSource(IntPtr hDC, [Out] Int32[] uSource) - { - unsafe - { - fixed (Int32* uSource_ptr = uSource) - { - return Delegates.wglGetGenlockSourceI3D((IntPtr)hDC, (UInt32*)uSource_ptr); - } - } - } - - [System.CLSCompliant(false)] - public static - Boolean GetGenlockSource(IntPtr hDC, [Out] out UInt32 uSource) - { - unsafe - { - fixed (UInt32* uSource_ptr = &uSource) - { - Boolean retval = Delegates.wglGetGenlockSourceI3D((IntPtr)hDC, (UInt32*)uSource_ptr); - uSource = *uSource_ptr; - return retval; - } - } - } - - public static - Boolean GetGenlockSource(IntPtr hDC, [Out] out Int32 uSource) - { - unsafe - { - fixed (Int32* uSource_ptr = &uSource) - { - Boolean retval = Delegates.wglGetGenlockSourceI3D((IntPtr)hDC, (UInt32*)uSource_ptr); - uSource = *uSource_ptr; - return retval; - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetGenlockSource(IntPtr hDC, [Out] UInt32* uSource) - { - return Delegates.wglGetGenlockSourceI3D((IntPtr)hDC, (UInt32*)uSource); - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetGenlockSource(IntPtr hDC, [Out] Int32* uSource) - { - return Delegates.wglGetGenlockSourceI3D((IntPtr)hDC, (UInt32*)uSource); - } - - [System.CLSCompliant(false)] - public static - Boolean GenlockSourceEdge(IntPtr hDC, UInt32 uEdge) - { - return Delegates.wglGenlockSourceEdgeI3D((IntPtr)hDC, (UInt32)uEdge); - } - - public static - Boolean GenlockSourceEdge(IntPtr hDC, Int32 uEdge) - { - return Delegates.wglGenlockSourceEdgeI3D((IntPtr)hDC, (UInt32)uEdge); - } - - [System.CLSCompliant(false)] - public static - Boolean GetGenlockSourceEdge(IntPtr hDC, [Out] UInt32[] uEdge) - { - unsafe - { - fixed (UInt32* uEdge_ptr = uEdge) - { - return Delegates.wglGetGenlockSourceEdgeI3D((IntPtr)hDC, (UInt32*)uEdge_ptr); - } - } - } - - public static - Boolean GetGenlockSourceEdge(IntPtr hDC, [Out] Int32[] uEdge) - { - unsafe - { - fixed (Int32* uEdge_ptr = uEdge) - { - return Delegates.wglGetGenlockSourceEdgeI3D((IntPtr)hDC, (UInt32*)uEdge_ptr); - } - } - } - - [System.CLSCompliant(false)] - public static - Boolean GetGenlockSourceEdge(IntPtr hDC, [Out] out UInt32 uEdge) - { - unsafe - { - fixed (UInt32* uEdge_ptr = &uEdge) - { - Boolean retval = Delegates.wglGetGenlockSourceEdgeI3D((IntPtr)hDC, (UInt32*)uEdge_ptr); - uEdge = *uEdge_ptr; - return retval; - } - } - } - - public static - Boolean GetGenlockSourceEdge(IntPtr hDC, [Out] out Int32 uEdge) - { - unsafe - { - fixed (Int32* uEdge_ptr = &uEdge) - { - Boolean retval = Delegates.wglGetGenlockSourceEdgeI3D((IntPtr)hDC, (UInt32*)uEdge_ptr); - uEdge = *uEdge_ptr; - return retval; - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetGenlockSourceEdge(IntPtr hDC, [Out] UInt32* uEdge) - { - return Delegates.wglGetGenlockSourceEdgeI3D((IntPtr)hDC, (UInt32*)uEdge); - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetGenlockSourceEdge(IntPtr hDC, [Out] Int32* uEdge) - { - return Delegates.wglGetGenlockSourceEdgeI3D((IntPtr)hDC, (UInt32*)uEdge); - } - - [System.CLSCompliant(false)] - public static - Boolean GenlockSampleRate(IntPtr hDC, UInt32 uRate) - { - return Delegates.wglGenlockSampleRateI3D((IntPtr)hDC, (UInt32)uRate); - } - - public static - Boolean GenlockSampleRate(IntPtr hDC, Int32 uRate) - { - return Delegates.wglGenlockSampleRateI3D((IntPtr)hDC, (UInt32)uRate); - } - - [System.CLSCompliant(false)] - public static - Boolean GetGenlockSampleRate(IntPtr hDC, [Out] UInt32[] uRate) - { - unsafe - { - fixed (UInt32* uRate_ptr = uRate) - { - return Delegates.wglGetGenlockSampleRateI3D((IntPtr)hDC, (UInt32*)uRate_ptr); - } - } - } - - public static - Boolean GetGenlockSampleRate(IntPtr hDC, [Out] Int32[] uRate) - { - unsafe - { - fixed (Int32* uRate_ptr = uRate) - { - return Delegates.wglGetGenlockSampleRateI3D((IntPtr)hDC, (UInt32*)uRate_ptr); - } - } - } - - [System.CLSCompliant(false)] - public static - Boolean GetGenlockSampleRate(IntPtr hDC, [Out] out UInt32 uRate) - { - unsafe - { - fixed (UInt32* uRate_ptr = &uRate) - { - Boolean retval = Delegates.wglGetGenlockSampleRateI3D((IntPtr)hDC, (UInt32*)uRate_ptr); - uRate = *uRate_ptr; - return retval; - } - } - } - - public static - Boolean GetGenlockSampleRate(IntPtr hDC, [Out] out Int32 uRate) - { - unsafe - { - fixed (Int32* uRate_ptr = &uRate) - { - Boolean retval = Delegates.wglGetGenlockSampleRateI3D((IntPtr)hDC, (UInt32*)uRate_ptr); - uRate = *uRate_ptr; - return retval; - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetGenlockSampleRate(IntPtr hDC, [Out] UInt32* uRate) - { - return Delegates.wglGetGenlockSampleRateI3D((IntPtr)hDC, (UInt32*)uRate); - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetGenlockSampleRate(IntPtr hDC, [Out] Int32* uRate) - { - return Delegates.wglGetGenlockSampleRateI3D((IntPtr)hDC, (UInt32*)uRate); - } - - [System.CLSCompliant(false)] - public static - Boolean GenlockSourceDelay(IntPtr hDC, UInt32 uDelay) - { - return Delegates.wglGenlockSourceDelayI3D((IntPtr)hDC, (UInt32)uDelay); - } - - public static - Boolean GenlockSourceDelay(IntPtr hDC, Int32 uDelay) - { - return Delegates.wglGenlockSourceDelayI3D((IntPtr)hDC, (UInt32)uDelay); - } - - [System.CLSCompliant(false)] - public static - Boolean GetGenlockSourceDelay(IntPtr hDC, [Out] UInt32[] uDelay) - { - unsafe - { - fixed (UInt32* uDelay_ptr = uDelay) - { - return Delegates.wglGetGenlockSourceDelayI3D((IntPtr)hDC, (UInt32*)uDelay_ptr); - } - } - } - - public static - Boolean GetGenlockSourceDelay(IntPtr hDC, [Out] Int32[] uDelay) - { - unsafe - { - fixed (Int32* uDelay_ptr = uDelay) - { - return Delegates.wglGetGenlockSourceDelayI3D((IntPtr)hDC, (UInt32*)uDelay_ptr); - } - } - } - - [System.CLSCompliant(false)] - public static - Boolean GetGenlockSourceDelay(IntPtr hDC, [Out] out UInt32 uDelay) - { - unsafe - { - fixed (UInt32* uDelay_ptr = &uDelay) - { - Boolean retval = Delegates.wglGetGenlockSourceDelayI3D((IntPtr)hDC, (UInt32*)uDelay_ptr); - uDelay = *uDelay_ptr; - return retval; - } - } - } - - public static - Boolean GetGenlockSourceDelay(IntPtr hDC, [Out] out Int32 uDelay) - { - unsafe - { - fixed (Int32* uDelay_ptr = &uDelay) - { - Boolean retval = Delegates.wglGetGenlockSourceDelayI3D((IntPtr)hDC, (UInt32*)uDelay_ptr); - uDelay = *uDelay_ptr; - return retval; - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetGenlockSourceDelay(IntPtr hDC, [Out] UInt32* uDelay) - { - return Delegates.wglGetGenlockSourceDelayI3D((IntPtr)hDC, (UInt32*)uDelay); - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetGenlockSourceDelay(IntPtr hDC, [Out] Int32* uDelay) - { - return Delegates.wglGetGenlockSourceDelayI3D((IntPtr)hDC, (UInt32*)uDelay); - } - - [System.CLSCompliant(false)] - public static - Boolean QueryGenlockMaxSourceDelay(IntPtr hDC, [Out] UInt32[] uMaxLineDelay, [Out] UInt32[] uMaxPixelDelay) - { - unsafe - { - fixed (UInt32* uMaxLineDelay_ptr = uMaxLineDelay) - fixed (UInt32* uMaxPixelDelay_ptr = uMaxPixelDelay) - { - return Delegates.wglQueryGenlockMaxSourceDelayI3D((IntPtr)hDC, (UInt32*)uMaxLineDelay_ptr, (UInt32*)uMaxPixelDelay_ptr); - } - } - } - - public static - Boolean QueryGenlockMaxSourceDelay(IntPtr hDC, [Out] Int32[] uMaxLineDelay, [Out] Int32[] uMaxPixelDelay) - { - unsafe - { - fixed (Int32* uMaxLineDelay_ptr = uMaxLineDelay) - fixed (Int32* uMaxPixelDelay_ptr = uMaxPixelDelay) - { - return Delegates.wglQueryGenlockMaxSourceDelayI3D((IntPtr)hDC, (UInt32*)uMaxLineDelay_ptr, (UInt32*)uMaxPixelDelay_ptr); - } - } - } - - [System.CLSCompliant(false)] - public static - Boolean QueryGenlockMaxSourceDelay(IntPtr hDC, [Out] out UInt32 uMaxLineDelay, [Out] out UInt32 uMaxPixelDelay) - { - unsafe - { - fixed (UInt32* uMaxLineDelay_ptr = &uMaxLineDelay) - fixed (UInt32* uMaxPixelDelay_ptr = &uMaxPixelDelay) - { - Boolean retval = Delegates.wglQueryGenlockMaxSourceDelayI3D((IntPtr)hDC, (UInt32*)uMaxLineDelay_ptr, (UInt32*)uMaxPixelDelay_ptr); - uMaxLineDelay = *uMaxLineDelay_ptr; - uMaxPixelDelay = *uMaxPixelDelay_ptr; - return retval; - } - } - } - - public static - Boolean QueryGenlockMaxSourceDelay(IntPtr hDC, [Out] out Int32 uMaxLineDelay, [Out] out Int32 uMaxPixelDelay) - { - unsafe - { - fixed (Int32* uMaxLineDelay_ptr = &uMaxLineDelay) - fixed (Int32* uMaxPixelDelay_ptr = &uMaxPixelDelay) - { - Boolean retval = Delegates.wglQueryGenlockMaxSourceDelayI3D((IntPtr)hDC, (UInt32*)uMaxLineDelay_ptr, (UInt32*)uMaxPixelDelay_ptr); - uMaxLineDelay = *uMaxLineDelay_ptr; - uMaxPixelDelay = *uMaxPixelDelay_ptr; - return retval; - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean QueryGenlockMaxSourceDelay(IntPtr hDC, [Out] UInt32* uMaxLineDelay, [Out] UInt32* uMaxPixelDelay) - { - return Delegates.wglQueryGenlockMaxSourceDelayI3D((IntPtr)hDC, (UInt32*)uMaxLineDelay, (UInt32*)uMaxPixelDelay); - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean QueryGenlockMaxSourceDelay(IntPtr hDC, [Out] Int32* uMaxLineDelay, [Out] Int32* uMaxPixelDelay) - { - return Delegates.wglQueryGenlockMaxSourceDelayI3D((IntPtr)hDC, (UInt32*)uMaxLineDelay, (UInt32*)uMaxPixelDelay); - } - - [System.CLSCompliant(false)] - public static - unsafe IntPtr CreateImageBuffer(IntPtr hDC, Int32 dwSize, UInt32 uFlags) - { - return Delegates.wglCreateImageBufferI3D((IntPtr)hDC, (Int32)dwSize, (UInt32)uFlags); - } - - [System.CLSCompliant(false)] - public static - unsafe IntPtr CreateImageBuffer(IntPtr hDC, Int32 dwSize, Int32 uFlags) - { - return Delegates.wglCreateImageBufferI3D((IntPtr)hDC, (Int32)dwSize, (UInt32)uFlags); - } - - public static - Boolean DestroyImageBuffer(IntPtr hDC, IntPtr pAddress) - { - unsafe - { - return Delegates.wglDestroyImageBufferI3D((IntPtr)hDC, (IntPtr)pAddress); - } - } - - public static - Boolean DestroyImageBuffer(IntPtr hDC, [In, Out] object pAddress) - { - unsafe - { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); - try - { - return Delegates.wglDestroyImageBufferI3D((IntPtr)hDC, (IntPtr)pAddress_ptr.AddrOfPinnedObject()); - } - finally - { - pAddress_ptr.Free(); - } - } - } - - [System.CLSCompliant(false)] - public static - Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr[] pEvent, IntPtr pAddress, Int32[] pSize, UInt32 count) - { - unsafe - { - fixed (IntPtr* pEvent_ptr = pEvent) - fixed (Int32* pSize_ptr = pSize) - { - return Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (IntPtr)pAddress, (Int32*)pSize_ptr, (UInt32)count); - } - } - } - - public static - Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr[] pEvent, IntPtr pAddress, Int32[] pSize, Int32 count) - { - unsafe - { - fixed (IntPtr* pEvent_ptr = pEvent) - fixed (Int32* pSize_ptr = pSize) - { - return Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (IntPtr)pAddress, (Int32*)pSize_ptr, (UInt32)count); - } - } - } - - [System.CLSCompliant(false)] - public static - Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr[] pEvent, [In, Out] object pAddress, Int32[] pSize, UInt32 count) - { - unsafe - { - fixed (IntPtr* pEvent_ptr = pEvent) - fixed (Int32* pSize_ptr = pSize) - { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); - try - { - return Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (IntPtr)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); - } - finally - { - pAddress_ptr.Free(); - } - } - } - } - - public static - Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr[] pEvent, [In, Out] object pAddress, Int32[] pSize, Int32 count) - { - unsafe - { - fixed (IntPtr* pEvent_ptr = pEvent) - fixed (Int32* pSize_ptr = pSize) - { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); - try - { - return Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (IntPtr)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); - } - finally - { - pAddress_ptr.Free(); - } - } - } - } - - [System.CLSCompliant(false)] - public static - Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr[] pEvent, [In, Out] object pAddress, ref Int32 pSize, UInt32 count) - { - unsafe - { - fixed (IntPtr* pEvent_ptr = pEvent) - fixed (Int32* pSize_ptr = &pSize) - { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); - try - { - return Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (IntPtr)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); - } - finally - { - pAddress_ptr.Free(); - } - } - } - } - - public static - Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr[] pEvent, [In, Out] object pAddress, ref Int32 pSize, Int32 count) - { - unsafe - { - fixed (IntPtr* pEvent_ptr = pEvent) - fixed (Int32* pSize_ptr = &pSize) - { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); - try - { - return Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (IntPtr)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); - } - finally - { - pAddress_ptr.Free(); - } - } - } - } - - [System.CLSCompliant(false)] - public static - Boolean AssociateImageBufferEvents(IntPtr hDC, ref IntPtr pEvent, [In, Out] object pAddress, Int32[] pSize, UInt32 count) - { - unsafe - { - fixed (IntPtr* pEvent_ptr = &pEvent) - fixed (Int32* pSize_ptr = pSize) - { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); - try - { - return Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (IntPtr)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); - } - finally - { - pAddress_ptr.Free(); - } - } - } - } - - public static - Boolean AssociateImageBufferEvents(IntPtr hDC, ref IntPtr pEvent, [In, Out] object pAddress, Int32[] pSize, Int32 count) - { - unsafe - { - fixed (IntPtr* pEvent_ptr = &pEvent) - fixed (Int32* pSize_ptr = pSize) - { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); - try - { - return Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (IntPtr)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); - } - finally - { - pAddress_ptr.Free(); - } - } - } - } - - [System.CLSCompliant(false)] - public static - Boolean AssociateImageBufferEvents(IntPtr hDC, ref IntPtr pEvent, [In, Out] object pAddress, ref Int32 pSize, UInt32 count) - { - unsafe - { - fixed (IntPtr* pEvent_ptr = &pEvent) - fixed (Int32* pSize_ptr = &pSize) - { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); - try - { - return Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (IntPtr)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); - } - finally - { - pAddress_ptr.Free(); - } - } - } - } - - public static - Boolean AssociateImageBufferEvents(IntPtr hDC, ref IntPtr pEvent, [In, Out] object pAddress, ref Int32 pSize, Int32 count) - { - unsafe - { - fixed (IntPtr* pEvent_ptr = &pEvent) - fixed (Int32* pSize_ptr = &pSize) - { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); - try - { - return Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (IntPtr)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); - } - finally - { - pAddress_ptr.Free(); - } - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr* pEvent, [In, Out] object pAddress, Int32* pSize, UInt32 count) - { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); - try - { - return Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent, (IntPtr)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize, (UInt32)count); - } - finally - { - pAddress_ptr.Free(); - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr* pEvent, [In, Out] object pAddress, Int32* pSize, Int32 count) - { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); - try - { - return Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent, (IntPtr)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize, (UInt32)count); - } - finally - { - pAddress_ptr.Free(); - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr* pEvent, [In, Out] object pAddress, Int32[] pSize, UInt32 count) - { - unsafe - { - fixed (Int32* pSize_ptr = pSize) - { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); - try - { - return Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent, (IntPtr)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); - } - finally - { - pAddress_ptr.Free(); - } - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr* pEvent, [In, Out] object pAddress, Int32[] pSize, Int32 count) - { - unsafe - { - fixed (Int32* pSize_ptr = pSize) - { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); - try - { - return Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent, (IntPtr)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); - } - finally - { - pAddress_ptr.Free(); - } - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr* pEvent, [In, Out] object pAddress, ref Int32 pSize, UInt32 count) - { - unsafe - { - fixed (Int32* pSize_ptr = &pSize) - { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); - try - { - return Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent, (IntPtr)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); - } - finally - { - pAddress_ptr.Free(); - } - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr* pEvent, [In, Out] object pAddress, ref Int32 pSize, Int32 count) - { - unsafe - { - fixed (Int32* pSize_ptr = &pSize) - { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); - try - { - return Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent, (IntPtr)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); - } - finally - { - pAddress_ptr.Free(); - } - } - } - } - - [System.CLSCompliant(false)] - public static - Boolean ReleaseImageBufferEvents(IntPtr hDC, IntPtr pAddress, UInt32 count) - { - unsafe - { - return Delegates.wglReleaseImageBufferEventsI3D((IntPtr)hDC, (IntPtr)pAddress, (UInt32)count); - } - } - - public static - Boolean ReleaseImageBufferEvents(IntPtr hDC, IntPtr pAddress, Int32 count) - { - unsafe - { - return Delegates.wglReleaseImageBufferEventsI3D((IntPtr)hDC, (IntPtr)pAddress, (UInt32)count); - } - } - - [System.CLSCompliant(false)] - public static - Boolean ReleaseImageBufferEvents(IntPtr hDC, [In, Out] object pAddress, UInt32 count) - { - unsafe - { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); - try - { - return Delegates.wglReleaseImageBufferEventsI3D((IntPtr)hDC, (IntPtr)pAddress_ptr.AddrOfPinnedObject(), (UInt32)count); - } - finally - { - pAddress_ptr.Free(); - } - } - } - - public static - Boolean ReleaseImageBufferEvents(IntPtr hDC, [In, Out] object pAddress, Int32 count) - { - unsafe - { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); - try - { - return Delegates.wglReleaseImageBufferEventsI3D((IntPtr)hDC, (IntPtr)pAddress_ptr.AddrOfPinnedObject(), (UInt32)count); - } - finally - { - pAddress_ptr.Free(); - } - } - } - - public static - Boolean EnableFrameLock() - { - return Delegates.wglEnableFrameLockI3D(); - } - - public static - Boolean DisableFrameLock() - { - return Delegates.wglDisableFrameLockI3D(); - } - - public static - Boolean IsEnabledFrameLock([Out] Boolean[] pFlag) - { - unsafe - { - fixed (Boolean* pFlag_ptr = pFlag) - { - return Delegates.wglIsEnabledFrameLockI3D((Boolean*)pFlag_ptr); - } - } - } - - public static - Boolean IsEnabledFrameLock([Out] out Boolean pFlag) - { - unsafe - { - fixed (Boolean* pFlag_ptr = &pFlag) - { - Boolean retval = Delegates.wglIsEnabledFrameLockI3D((Boolean*)pFlag_ptr); - pFlag = *pFlag_ptr; - return retval; - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean IsEnabledFrameLock([Out] Boolean* pFlag) - { - return Delegates.wglIsEnabledFrameLockI3D((Boolean*)pFlag); - } - - public static - Boolean QueryFrameLockMaster([Out] Boolean[] pFlag) - { - unsafe - { - fixed (Boolean* pFlag_ptr = pFlag) - { - return Delegates.wglQueryFrameLockMasterI3D((Boolean*)pFlag_ptr); - } - } - } - - public static - Boolean QueryFrameLockMaster([Out] out Boolean pFlag) - { - unsafe - { - fixed (Boolean* pFlag_ptr = &pFlag) - { - Boolean retval = Delegates.wglQueryFrameLockMasterI3D((Boolean*)pFlag_ptr); - pFlag = *pFlag_ptr; - return retval; - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean QueryFrameLockMaster([Out] Boolean* pFlag) - { - return Delegates.wglQueryFrameLockMasterI3D((Boolean*)pFlag); - } - - public static - Boolean GetFrameUsage([Out] float[] pUsage) - { - unsafe - { - fixed (float* pUsage_ptr = pUsage) - { - return Delegates.wglGetFrameUsageI3D((float*)pUsage_ptr); - } - } - } - - public static - Boolean GetFrameUsage([Out] out float pUsage) - { - unsafe - { - fixed (float* pUsage_ptr = &pUsage) - { - Boolean retval = Delegates.wglGetFrameUsageI3D((float*)pUsage_ptr); - pUsage = *pUsage_ptr; - return retval; - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetFrameUsage([Out] float* pUsage) - { - return Delegates.wglGetFrameUsageI3D((float*)pUsage); - } - - public static - Boolean BeginFrameTracking() - { - return Delegates.wglBeginFrameTrackingI3D(); - } - - public static - Boolean EndFrameTracking() - { - return Delegates.wglEndFrameTrackingI3D(); - } - - public static - Boolean QueryFrameTracking([Out] Int32[] pFrameCount, [Out] Int32[] pMissedFrames, [Out] float[] pLastMissedUsage) - { - unsafe - { - fixed (Int32* pFrameCount_ptr = pFrameCount) - fixed (Int32* pMissedFrames_ptr = pMissedFrames) - fixed (float* pLastMissedUsage_ptr = pLastMissedUsage) - { - return Delegates.wglQueryFrameTrackingI3D((Int32*)pFrameCount_ptr, (Int32*)pMissedFrames_ptr, (float*)pLastMissedUsage_ptr); - } - } - } - - public static - Boolean QueryFrameTracking([Out] out Int32 pFrameCount, [Out] out Int32 pMissedFrames, [Out] out float pLastMissedUsage) - { - unsafe - { - fixed (Int32* pFrameCount_ptr = &pFrameCount) - fixed (Int32* pMissedFrames_ptr = &pMissedFrames) - fixed (float* pLastMissedUsage_ptr = &pLastMissedUsage) - { - Boolean retval = Delegates.wglQueryFrameTrackingI3D((Int32*)pFrameCount_ptr, (Int32*)pMissedFrames_ptr, (float*)pLastMissedUsage_ptr); - pFrameCount = *pFrameCount_ptr; - pMissedFrames = *pMissedFrames_ptr; - pLastMissedUsage = *pLastMissedUsage_ptr; - return retval; - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean QueryFrameTracking([Out] Int32* pFrameCount, [Out] Int32* pMissedFrames, [Out] float* pLastMissedUsage) - { - return Delegates.wglQueryFrameTrackingI3D((Int32*)pFrameCount, (Int32*)pMissedFrames, (float*)pLastMissedUsage); - } - - } - } } diff --git a/Source/OpenTK/Platform/Windows/Bindings/WglCore.cs b/Source/OpenTK/Platform/Windows/Bindings/WglCore.cs deleted file mode 100644 index b2bfa4db..00000000 --- a/Source/OpenTK/Platform/Windows/Bindings/WglCore.cs +++ /dev/null @@ -1,94 +0,0 @@ -namespace OpenTK.Platform.Windows -{ - using System; - using System.Runtime.InteropServices; - #pragma warning disable 3019 - #pragma warning disable 1591 - - partial class Wgl - { - - internal static partial class Imports - { - - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglCreateContext", ExactSpelling = true, SetLastError=true)] - internal extern static IntPtr CreateContext(IntPtr hDc); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglDeleteContext", ExactSpelling = true, SetLastError = true)] - internal extern static Boolean DeleteContext(IntPtr oldContext); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglGetCurrentContext", ExactSpelling = true, SetLastError=true)] - internal extern static IntPtr GetCurrentContext(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglMakeCurrent", ExactSpelling = true, SetLastError=true)] - internal extern static Boolean MakeCurrent(IntPtr hDc, IntPtr newContext); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglCopyContext", ExactSpelling = true, SetLastError = true)] - internal extern static Boolean CopyContext(IntPtr hglrcSrc, IntPtr hglrcDst, UInt32 mask); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglChoosePixelFormat", ExactSpelling = true, SetLastError = true)] - internal extern static unsafe int ChoosePixelFormat(IntPtr hDc, PixelFormatDescriptor* pPfd); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglDescribePixelFormat", ExactSpelling = true, SetLastError = true)] - internal extern static unsafe int DescribePixelFormat(IntPtr hdc, int ipfd, UInt32 cjpfd, PixelFormatDescriptor* ppfd); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglGetCurrentDC", ExactSpelling = true, SetLastError = true)] - internal extern static IntPtr GetCurrentDC(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglGetDefaultProcAddress", ExactSpelling = true, SetLastError = true)] - internal extern static IntPtr GetDefaultProcAddress(String lpszProc); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglGetProcAddress", ExactSpelling = true, SetLastError = true)] - internal extern static IntPtr GetProcAddress(String lpszProc); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglGetPixelFormat", ExactSpelling = true, SetLastError = true)] - internal extern static int GetPixelFormat(IntPtr hdc); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglSetPixelFormat", ExactSpelling = true, SetLastError = true)] - internal extern static unsafe Boolean SetPixelFormat(IntPtr hdc, int ipfd, PixelFormatDescriptor* ppfd); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglSwapBuffers", ExactSpelling = true, SetLastError = true)] - internal extern static Boolean SwapBuffers(IntPtr hdc); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglShareLists", ExactSpelling = true, SetLastError = true)] - internal extern static Boolean ShareLists(IntPtr hrcSrvShare, IntPtr hrcSrvSource); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglCreateLayerContext", ExactSpelling = true, SetLastError = true)] - internal extern static IntPtr CreateLayerContext(IntPtr hDc, int level); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglDescribeLayerPlane", ExactSpelling = true)] - internal extern static unsafe Boolean DescribeLayerPlane(IntPtr hDc, int pixelFormat, int layerPlane, UInt32 nBytes, LayerPlaneDescriptor* plpd); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglSetLayerPaletteEntries", ExactSpelling = true)] - internal extern static unsafe int SetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32* pcr); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglGetLayerPaletteEntries", ExactSpelling = true)] - internal extern static unsafe int GetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32* pcr); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglRealizeLayerPalette", ExactSpelling = true)] - internal extern static Boolean RealizeLayerPalette(IntPtr hdc, int iLayerPlane, Boolean bRealize); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglSwapLayerBuffers", ExactSpelling = true)] - internal extern static Boolean SwapLayerBuffers(IntPtr hdc, UInt32 fuFlags); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglUseFontBitmapsA", CharSet = CharSet.Auto)] - internal extern static Boolean UseFontBitmapsA(IntPtr hDC, Int32 first, Int32 count, Int32 listBase); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglUseFontBitmapsW", CharSet = CharSet.Auto)] - internal extern static Boolean UseFontBitmapsW(IntPtr hDC, Int32 first, Int32 count, Int32 listBase); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglUseFontOutlinesA", CharSet = CharSet.Auto)] - internal extern static unsafe Boolean UseFontOutlinesA(IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, GlyphMetricsFloat* glyphMetrics); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglUseFontOutlinesW", CharSet = CharSet.Auto)] - internal extern static unsafe Boolean UseFontOutlinesW(IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, GlyphMetricsFloat* glyphMetrics); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglMakeContextCurrentEXT", ExactSpelling = true, SetLastError = true)] - internal extern static Boolean MakeContextCurrentEXT(IntPtr hDrawDC, IntPtr hReadDC, IntPtr hglrc); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglChoosePixelFormatEXT", ExactSpelling = true, SetLastError = true)] - internal extern static unsafe Boolean ChoosePixelFormatEXT(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats); - } - } -} diff --git a/Source/OpenTK/Platform/Windows/Bindings/WglDelegates.cs b/Source/OpenTK/Platform/Windows/Bindings/WglDelegates.cs index a9272038..0a3cc695 100644 --- a/Source/OpenTK/Platform/Windows/Bindings/WglDelegates.cs +++ b/Source/OpenTK/Platform/Windows/Bindings/WglDelegates.cs @@ -1,3 +1,30 @@ +#region License +// +// The Open Toolkit Library License +// +// Copyright (c) 2006 - 2013 Stefanos Apostolopoulos +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do +// so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +// OTHER DEALINGS IN THE SOFTWARE. +// +#endregion + namespace OpenTK.Platform.Windows { using System; @@ -10,94 +37,10 @@ namespace OpenTK.Platform.Windows { internal static partial class Delegates { - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr CreateContext(IntPtr hDc); - internal static CreateContext wglCreateContext; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean DeleteContext(IntPtr oldContext); - internal static DeleteContext wglDeleteContext; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr GetCurrentContext(); - internal static GetCurrentContext wglGetCurrentContext; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean MakeCurrent(IntPtr hDc, IntPtr newContext); - internal static MakeCurrent wglMakeCurrent; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean CopyContext(IntPtr hglrcSrc, IntPtr hglrcDst, UInt32 mask); - internal static CopyContext wglCopyContext; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate int ChoosePixelFormat(IntPtr hDc, PixelFormatDescriptor* pPfd); - internal unsafe static ChoosePixelFormat wglChoosePixelFormat; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate int DescribePixelFormat(IntPtr hdc, int ipfd, UInt32 cjpfd, PixelFormatDescriptor* ppfd); - internal unsafe static DescribePixelFormat wglDescribePixelFormat; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr GetCurrentDC(); - internal static GetCurrentDC wglGetCurrentDC; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr GetDefaultProcAddress(String lpszProc); - internal static GetDefaultProcAddress wglGetDefaultProcAddress; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr GetProcAddress(String lpszProc); - internal static GetProcAddress wglGetProcAddress; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate int GetPixelFormat(IntPtr hdc); - internal static GetPixelFormat wglGetPixelFormat; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Boolean SetPixelFormat(IntPtr hdc, int ipfd, PixelFormatDescriptor* ppfd); - internal unsafe static SetPixelFormat wglSetPixelFormat; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean SwapBuffers(IntPtr hdc); - internal static SwapBuffers wglSwapBuffers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean ShareLists(IntPtr hrcSrvShare, IntPtr hrcSrvSource); - internal static ShareLists wglShareLists; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr CreateLayerContext(IntPtr hDc, int level); - internal static CreateLayerContext wglCreateLayerContext; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Boolean DescribeLayerPlane(IntPtr hDc, int pixelFormat, int layerPlane, UInt32 nBytes, LayerPlaneDescriptor* plpd); - internal unsafe static DescribeLayerPlane wglDescribeLayerPlane; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate int SetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32* pcr); - internal unsafe static SetLayerPaletteEntries wglSetLayerPaletteEntries; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate int GetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32* pcr); - internal unsafe static GetLayerPaletteEntries wglGetLayerPaletteEntries; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean RealizeLayerPalette(IntPtr hdc, int iLayerPlane, Boolean bRealize); - internal static RealizeLayerPalette wglRealizeLayerPalette; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean SwapLayerBuffers(IntPtr hdc, UInt32 fuFlags); - internal static SwapLayerBuffers wglSwapLayerBuffers; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean UseFontBitmapsA(IntPtr hDC, Int32 first, Int32 count, Int32 listBase); - internal static UseFontBitmapsA wglUseFontBitmapsA; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean UseFontBitmapsW(IntPtr hDC, Int32 first, Int32 count, Int32 listBase); - internal static UseFontBitmapsW wglUseFontBitmapsW; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Boolean UseFontOutlinesA(IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, GlyphMetricsFloat* glyphMetrics); - internal unsafe static UseFontOutlinesA wglUseFontOutlinesA; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Boolean UseFontOutlinesW(IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, GlyphMetricsFloat* glyphMetrics); - internal unsafe static UseFontOutlinesW wglUseFontOutlinesW; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate IntPtr CreateContextAttribsARB(IntPtr hDC, IntPtr hShareContext, int* attribList); internal unsafe static CreateContextAttribsARB wglCreateContextAttribsARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr CreateBufferRegionARB(IntPtr hDC, int iLayerPlane, UInt32 uType); - internal static CreateBufferRegionARB wglCreateBufferRegionARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DeleteBufferRegionARB(IntPtr hRegion); - internal static DeleteBufferRegionARB wglDeleteBufferRegionARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean SaveBufferRegionARB(IntPtr hRegion, int x, int y, int width, int height); - internal static SaveBufferRegionARB wglSaveBufferRegionARB; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean RestoreBufferRegionARB(IntPtr hRegion, int x, int y, int width, int height, int xSrc, int ySrc); - internal static RestoreBufferRegionARB wglRestoreBufferRegionARB; - [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate IntPtr GetExtensionsStringARB(IntPtr hdc); internal static GetExtensionsStringARB wglGetExtensionsStringARB; [System.Security.SuppressUnmanagedCodeSecurity()] @@ -140,170 +83,14 @@ namespace OpenTK.Platform.Windows internal unsafe delegate Boolean SetPbufferAttribARB(IntPtr hPbuffer, int* piAttribList); internal unsafe static SetPbufferAttribARB wglSetPbufferAttribARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool CreateDisplayColorTableEXT(UInt16 id); - internal static CreateDisplayColorTableEXT wglCreateDisplayColorTableEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate bool LoadDisplayColorTableEXT(UInt16* table, UInt32 length); - internal unsafe static LoadDisplayColorTableEXT wglLoadDisplayColorTableEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool BindDisplayColorTableEXT(UInt16 id); - internal static BindDisplayColorTableEXT wglBindDisplayColorTableEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DestroyDisplayColorTableEXT(UInt16 id); - internal static DestroyDisplayColorTableEXT wglDestroyDisplayColorTableEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate IntPtr GetExtensionsStringEXT(); internal static GetExtensionsStringEXT wglGetExtensionsStringEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean MakeContextCurrentEXT(IntPtr hDrawDC, IntPtr hReadDC, IntPtr hglrc); - internal static MakeContextCurrentEXT wglMakeContextCurrentEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr GetCurrentReadDCEXT(); - internal static GetCurrentReadDCEXT wglGetCurrentReadDCEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate IntPtr CreatePbufferEXT(IntPtr hDC, int iPixelFormat, int iWidth, int iHeight, int* piAttribList); - internal unsafe static CreatePbufferEXT wglCreatePbufferEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr GetPbufferDCEXT(IntPtr hPbuffer); - internal static GetPbufferDCEXT wglGetPbufferDCEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate int ReleasePbufferDCEXT(IntPtr hPbuffer, IntPtr hDC); - internal static ReleasePbufferDCEXT wglReleasePbufferDCEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean DestroyPbufferEXT(IntPtr hPbuffer); - internal static DestroyPbufferEXT wglDestroyPbufferEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Boolean QueryPbufferEXT(IntPtr hPbuffer, int iAttribute, [Out] int* piValue); - internal unsafe static QueryPbufferEXT wglQueryPbufferEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Boolean GetPixelFormatAttribivEXT(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int* piAttributes, [Out] int* piValues); - internal unsafe static GetPixelFormatAttribivEXT wglGetPixelFormatAttribivEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Boolean GetPixelFormatAttribfvEXT(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int* piAttributes, [Out] Single* pfValues); - internal unsafe static GetPixelFormatAttribfvEXT wglGetPixelFormatAttribfvEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Boolean ChoosePixelFormatEXT(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats); - internal unsafe static ChoosePixelFormatEXT wglChoosePixelFormatEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate Boolean SwapIntervalEXT(int interval); internal static SwapIntervalEXT wglSwapIntervalEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate int GetSwapIntervalEXT(); internal static GetSwapIntervalEXT wglGetSwapIntervalEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate IntPtr AllocateMemoryNV(Int32 size, Single readfreq, Single writefreq, Single priority); - internal unsafe static AllocateMemoryNV wglAllocateMemoryNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FreeMemoryNV([Out] IntPtr pointer); - internal static FreeMemoryNV wglFreeMemoryNV; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Boolean GetSyncValuesOML(IntPtr hdc, [Out] Int64* ust, [Out] Int64* msc, [Out] Int64* sbc); - internal unsafe static GetSyncValuesOML wglGetSyncValuesOML; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Boolean GetMscRateOML(IntPtr hdc, [Out] Int32* numerator, [Out] Int32* denominator); - internal unsafe static GetMscRateOML wglGetMscRateOML; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int64 SwapBuffersMscOML(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder); - internal static SwapBuffersMscOML wglSwapBuffersMscOML; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int64 SwapLayerBuffersMscOML(IntPtr hdc, int fuPlanes, Int64 target_msc, Int64 divisor, Int64 remainder); - internal static SwapLayerBuffersMscOML wglSwapLayerBuffersMscOML; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Boolean WaitForMscOML(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] Int64* ust, [Out] Int64* msc, [Out] Int64* sbc); - internal unsafe static WaitForMscOML wglWaitForMscOML; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Boolean WaitForSbcOML(IntPtr hdc, Int64 target_sbc, [Out] Int64* ust, [Out] Int64* msc, [Out] Int64* sbc); - internal unsafe static WaitForSbcOML wglWaitForSbcOML; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Boolean GetDigitalVideoParametersI3D(IntPtr hDC, int iAttribute, [Out] int* piValue); - internal unsafe static GetDigitalVideoParametersI3D wglGetDigitalVideoParametersI3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Boolean SetDigitalVideoParametersI3D(IntPtr hDC, int iAttribute, int* piValue); - internal unsafe static SetDigitalVideoParametersI3D wglSetDigitalVideoParametersI3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Boolean GetGammaTableParametersI3D(IntPtr hDC, int iAttribute, [Out] int* piValue); - internal unsafe static GetGammaTableParametersI3D wglGetGammaTableParametersI3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Boolean SetGammaTableParametersI3D(IntPtr hDC, int iAttribute, int* piValue); - internal unsafe static SetGammaTableParametersI3D wglSetGammaTableParametersI3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Boolean GetGammaTableI3D(IntPtr hDC, int iEntries, [Out] UInt16* puRed, [Out] UInt16* puGreen, [Out] UInt16* puBlue); - internal unsafe static GetGammaTableI3D wglGetGammaTableI3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Boolean SetGammaTableI3D(IntPtr hDC, int iEntries, UInt16* puRed, UInt16* puGreen, UInt16* puBlue); - internal unsafe static SetGammaTableI3D wglSetGammaTableI3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean EnableGenlockI3D(IntPtr hDC); - internal static EnableGenlockI3D wglEnableGenlockI3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean DisableGenlockI3D(IntPtr hDC); - internal static DisableGenlockI3D wglDisableGenlockI3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Boolean IsEnabledGenlockI3D(IntPtr hDC, [Out] Boolean* pFlag); - internal unsafe static IsEnabledGenlockI3D wglIsEnabledGenlockI3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean GenlockSourceI3D(IntPtr hDC, UInt32 uSource); - internal static GenlockSourceI3D wglGenlockSourceI3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Boolean GetGenlockSourceI3D(IntPtr hDC, [Out] UInt32* uSource); - internal unsafe static GetGenlockSourceI3D wglGetGenlockSourceI3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean GenlockSourceEdgeI3D(IntPtr hDC, UInt32 uEdge); - internal static GenlockSourceEdgeI3D wglGenlockSourceEdgeI3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Boolean GetGenlockSourceEdgeI3D(IntPtr hDC, [Out] UInt32* uEdge); - internal unsafe static GetGenlockSourceEdgeI3D wglGetGenlockSourceEdgeI3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean GenlockSampleRateI3D(IntPtr hDC, UInt32 uRate); - internal static GenlockSampleRateI3D wglGenlockSampleRateI3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Boolean GetGenlockSampleRateI3D(IntPtr hDC, [Out] UInt32* uRate); - internal unsafe static GetGenlockSampleRateI3D wglGetGenlockSampleRateI3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean GenlockSourceDelayI3D(IntPtr hDC, UInt32 uDelay); - internal static GenlockSourceDelayI3D wglGenlockSourceDelayI3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Boolean GetGenlockSourceDelayI3D(IntPtr hDC, [Out] UInt32* uDelay); - internal unsafe static GetGenlockSourceDelayI3D wglGetGenlockSourceDelayI3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Boolean QueryGenlockMaxSourceDelayI3D(IntPtr hDC, [Out] UInt32* uMaxLineDelay, [Out] UInt32* uMaxPixelDelay); - internal unsafe static QueryGenlockMaxSourceDelayI3D wglQueryGenlockMaxSourceDelayI3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate IntPtr CreateImageBufferI3D(IntPtr hDC, Int32 dwSize, UInt32 uFlags); - internal unsafe static CreateImageBufferI3D wglCreateImageBufferI3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean DestroyImageBufferI3D(IntPtr hDC, IntPtr pAddress); - internal static DestroyImageBufferI3D wglDestroyImageBufferI3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Boolean AssociateImageBufferEventsI3D(IntPtr hDC, IntPtr* pEvent, IntPtr pAddress, Int32* pSize, UInt32 count); - internal unsafe static AssociateImageBufferEventsI3D wglAssociateImageBufferEventsI3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean ReleaseImageBufferEventsI3D(IntPtr hDC, IntPtr pAddress, UInt32 count); - internal static ReleaseImageBufferEventsI3D wglReleaseImageBufferEventsI3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean EnableFrameLockI3D(); - internal static EnableFrameLockI3D wglEnableFrameLockI3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean DisableFrameLockI3D(); - internal static DisableFrameLockI3D wglDisableFrameLockI3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Boolean IsEnabledFrameLockI3D([Out] Boolean* pFlag); - internal unsafe static IsEnabledFrameLockI3D wglIsEnabledFrameLockI3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Boolean QueryFrameLockMasterI3D([Out] Boolean* pFlag); - internal unsafe static QueryFrameLockMasterI3D wglQueryFrameLockMasterI3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Boolean GetFrameUsageI3D([Out] float* pUsage); - internal unsafe static GetFrameUsageI3D wglGetFrameUsageI3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean BeginFrameTrackingI3D(); - internal static BeginFrameTrackingI3D wglBeginFrameTrackingI3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean EndFrameTrackingI3D(); - internal static EndFrameTrackingI3D wglEndFrameTrackingI3D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Boolean QueryFrameTrackingI3D([Out] Int32* pFrameCount, [Out] Int32* pMissedFrames, [Out] float* pLastMissedUsage); - internal unsafe static QueryFrameTrackingI3D wglQueryFrameTrackingI3D; } } } diff --git a/Source/OpenTK/Platform/Windows/WglHelper.cs b/Source/OpenTK/Platform/Windows/WglHelper.cs index 46231aca..fd1c3dee 100644 --- a/Source/OpenTK/Platform/Windows/WglHelper.cs +++ b/Source/OpenTK/Platform/Windows/WglHelper.cs @@ -22,7 +22,6 @@ namespace OpenTK.Platform.Windows assembly = Assembly.GetExecutingAssembly(); wglClass = assembly.GetType("OpenTK.Platform.Windows.Wgl"); delegatesClass = wglClass.GetNestedType("Delegates", BindingFlags.Static | BindingFlags.NonPublic); - importsClass = wglClass.GetNestedType("Imports", BindingFlags.Static | BindingFlags.NonPublic); //// Ensure core entry points are ready prior to accessing any method. //// Resolves bug [#993]: "Possible bug in GraphicsContext.CreateDummyContext()" @@ -38,7 +37,6 @@ namespace OpenTK.Platform.Windows private static Assembly assembly; private static Type wglClass; private static Type delegatesClass; - private static Type importsClass; private static bool rebuildExtensionList = true; @@ -59,16 +57,7 @@ namespace OpenTK.Platform.Windows /// static Delegate LoadDelegate(string name, Type signature) { - Delegate d; - string realName = name.StartsWith("wgl") ? name.Substring(3) : name; - - if (importsClass.GetMethod(realName, - BindingFlags.NonPublic | BindingFlags.Static) != null) - d = GetExtensionDelegate(name, signature) ?? - Delegate.CreateDelegate(signature, typeof(Imports), realName); - else - d = GetExtensionDelegate(name, signature); - + Delegate d = GetExtensionDelegate(name, signature); return d; } @@ -87,7 +76,7 @@ namespace OpenTK.Platform.Windows /// private static Delegate GetExtensionDelegate(string name, Type signature) { - IntPtr address = Imports.GetProcAddress(name); + IntPtr address = GetProcAddress(name); if (address == IntPtr.Zero || address == new IntPtr(1) || // Workaround for buggy nvidia drivers which return diff --git a/Source/OpenTK/Platform/Windows/WinGLContext.cs b/Source/OpenTK/Platform/Windows/WinGLContext.cs index 0312c280..e431ae6b 100644 --- a/Source/OpenTK/Platform/Windows/WinGLContext.cs +++ b/Source/OpenTK/Platform/Windows/WinGLContext.cs @@ -68,7 +68,7 @@ namespace OpenTK.Platform.Windows SetGraphicsModePFD(selector, GraphicsMode.Default, window); // Then, construct a temporary context and load all wgl extensions - ContextHandle temp_context = new ContextHandle(Wgl.Imports.CreateContext(window.DeviceContext)); + ContextHandle temp_context = new ContextHandle(Wgl.CreateContext(window.DeviceContext)); if (temp_context != ContextHandle.Zero) { // Make the context current. @@ -79,7 +79,7 @@ namespace OpenTK.Platform.Windows // Sigh... for (int retry = 0; retry < 5; retry++) { - bool success = Wgl.Imports.MakeCurrent(window.DeviceContext, temp_context.Handle); + bool success = Wgl.MakeCurrent(window.DeviceContext, temp_context.Handle); if (!success) { Debug.Print("wglMakeCurrent failed with error: {0}. Retrying", Marshal.GetLastWin32Error()); @@ -94,8 +94,8 @@ namespace OpenTK.Platform.Windows // Load wgl extensions and destroy temporary context Wgl.LoadAll(); - Wgl.Imports.MakeCurrent(IntPtr.Zero, IntPtr.Zero); - Wgl.Imports.DeleteContext(temp_context.Handle); + Wgl.MakeCurrent(IntPtr.Zero, IntPtr.Zero); + Wgl.DeleteContext(temp_context.Handle); } else { @@ -168,9 +168,9 @@ namespace OpenTK.Platform.Windows { // Failed to create GL3-level context, fall back to GL2. Debug.Write("Falling back to GL2... "); - Handle = new ContextHandle(Wgl.Imports.CreateContext(window.DeviceContext)); + Handle = new ContextHandle(Wgl.CreateContext(window.DeviceContext)); if (Handle == ContextHandle.Zero) - Handle = new ContextHandle(Wgl.Imports.CreateContext(window.DeviceContext)); + Handle = new ContextHandle(Wgl.CreateContext(window.DeviceContext)); if (Handle == ContextHandle.Zero) throw new GraphicsContextException( String.Format("Context creation failed. Wgl.CreateContext() error: {0}.", @@ -193,7 +193,7 @@ namespace OpenTK.Platform.Windows { Marshal.GetLastWin32Error(); Debug.Write(String.Format("Sharing state with context {0}: ", sharedContext)); - bool result = Wgl.Imports.ShareLists((sharedContext as IGraphicsContextInternal).Context.Handle, Handle.Handle); + bool result = Wgl.ShareLists((sharedContext as IGraphicsContextInternal).Context.Handle, Handle.Handle); Debug.WriteLine(result ? "success!" : "failed with win32 error " + Marshal.GetLastWin32Error()); } } @@ -255,11 +255,11 @@ namespace OpenTK.Platform.Windows if (wnd.Handle == IntPtr.Zero) throw new ArgumentException("window", "Must point to a valid window."); - success = Wgl.Imports.MakeCurrent(wnd.DeviceContext, Handle.Handle); + success = Wgl.MakeCurrent(wnd.DeviceContext, Handle.Handle); } else { - success = Wgl.Imports.MakeCurrent(IntPtr.Zero, IntPtr.Zero); + success = Wgl.MakeCurrent(IntPtr.Zero, IntPtr.Zero); } if (!success) @@ -274,7 +274,7 @@ namespace OpenTK.Platform.Windows public override bool IsCurrent { - get { return Wgl.Imports.GetCurrentContext() == Handle.Handle; } + get { return Wgl.GetCurrentContext() == Handle.Handle; } } #endregion @@ -338,7 +338,30 @@ namespace OpenTK.Platform.Windows public override IntPtr GetAddress(string function_string) { - return Wgl.Imports.GetProcAddress(function_string); + IntPtr address = Wgl.GetProcAddress(function_string); + if (!IsValid(address)) + { + address = Functions.GetProcAddress(opengl32Handle, function_string); + } + return address; + } + + public override IntPtr GetAddress(IntPtr function_string) + { + IntPtr address = Wgl.GetProcAddress(function_string); + if (!IsValid(address)) + { + address = Functions.GetProcAddress(opengl32Handle, function_string); + } + return address; + } + + static bool IsValid(IntPtr address) + { + // See https://www.opengl.org/wiki/Load_OpenGL_Functions + long a = address.ToInt64(); + bool is_valid = (a < -1 )|| (a > 3); + return is_valid; } #endregion @@ -390,7 +413,7 @@ namespace OpenTK.Platform.Windows { get { - return Wgl.Imports.GetCurrentDC(); + return Wgl.GetCurrentDC(); } } @@ -449,7 +472,7 @@ namespace OpenTK.Platform.Windows try { // This will fail if the user calls Dispose() on thread X when the context is current on thread Y. - if (!Wgl.Imports.DeleteContext(Handle.Handle)) + if (!Wgl.DeleteContext(Handle.Handle)) Debug.Print("Failed to destroy OpenGL context {0}. Error: {1}", Handle.ToString(), Marshal.GetLastWin32Error()); } diff --git a/Source/OpenTK/Platform/Windows/WinGraphicsMode.cs b/Source/OpenTK/Platform/Windows/WinGraphicsMode.cs index 57b801bc..67f3ce19 100644 --- a/Source/OpenTK/Platform/Windows/WinGraphicsMode.cs +++ b/Source/OpenTK/Platform/Windows/WinGraphicsMode.cs @@ -109,15 +109,9 @@ namespace OpenTK.Platform.Windows static int DescribePixelFormat(IntPtr hdc, int ipfd, int cjpfd, ref PixelFormatDescriptor pfd) { - unsafe - { - fixed (PixelFormatDescriptor* ppfd = &pfd) - { - // Note: DescribePixelFormat found in gdi32 is extremely slow - // on nvidia, for some reason. - return Wgl.Imports.DescribePixelFormat(hdc, ipfd, (uint)cjpfd, ppfd); - } - } + // Note: DescribePixelFormat found in gdi32 is extremely slow + // on nvidia, for some reason. + return Wgl.DescribePixelFormat(hdc, ipfd, (uint)cjpfd, out pfd); } #endregion diff --git a/Source/OpenTK/Platform/X11/Bindings/Glx.cs b/Source/OpenTK/Platform/X11/Bindings/Glx.cs index c5e3ccb6..9c1920f6 100644 --- a/Source/OpenTK/Platform/X11/Bindings/Glx.cs +++ b/Source/OpenTK/Platform/X11/Bindings/Glx.cs @@ -308,6 +308,9 @@ namespace OpenTK.Platform.X11 [DllImport(Library, EntryPoint = "glXGetProcAddress")] public static extern IntPtr GetProcAddress([MarshalAs(UnmanagedType.LPTStr)] string procName); + [DllImport(Library, EntryPoint = "glXGetProcAddress")] + public static extern IntPtr GetProcAddress(IntPtr procName); + [DllImport(Library, EntryPoint = "glXGetConfig")] public static extern int GetConfig(IntPtr dpy, ref XVisualInfo vis, GLXAttribute attrib, out int value); diff --git a/Source/OpenTK/Platform/X11/X11GLContext.cs b/Source/OpenTK/Platform/X11/X11GLContext.cs index 143e081f..93e0ac2e 100644 --- a/Source/OpenTK/Platform/X11/X11GLContext.cs +++ b/Source/OpenTK/Platform/X11/X11GLContext.cs @@ -376,18 +376,6 @@ namespace OpenTK.Platform.X11 #endregion - #region GetAddress - - public override IntPtr GetAddress(string function) - { - using (new XLock(Display)) - { - return Glx.GetProcAddress(function); - } - } - - #endregion - #region LoadAll public override void LoadAll() @@ -403,11 +391,25 @@ namespace OpenTK.Platform.X11 #endregion - #region --- IGLContextInternal Members --- + #region --- IGraphicsContextInternal Members --- - #region IWindowInfo IGLContextInternal.Info + #region GetAddress - //IWindowInfo IGraphicsContextInternal.Info { get { return window; } } + public override IntPtr GetAddress(string function) + { + using (new XLock(Display)) + { + return Glx.GetProcAddress(function); + } + } + + public override IntPtr GetAddress(IntPtr function) + { + using (new XLock(Display)) + { + return Glx.GetProcAddress(function); + } + } #endregion diff --git a/Source/OpenTK/Properties/Resources.Designer.cs b/Source/OpenTK/Properties/Resources.Designer.cs deleted file mode 100644 index c0fada84..00000000 --- a/Source/OpenTK/Properties/Resources.Designer.cs +++ /dev/null @@ -1,49 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Mono Runtime Version: 4.0.30319.17020 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -namespace OpenTK.Properties { - using System; - - - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources { - - private static System.Resources.ResourceManager resourceMan; - - private static System.Globalization.CultureInfo resourceCulture; - - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() { - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - internal static System.Resources.ResourceManager ResourceManager { - get { - if (object.Equals(null, resourceMan)) { - System.Resources.ResourceManager temp = new System.Resources.ResourceManager("OpenTK.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - internal static System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - } -} diff --git a/Source/OpenTK/Properties/Resources.resx b/Source/OpenTK/Properties/Resources.resx deleted file mode 100644 index 7080a7d1..00000000 --- a/Source/OpenTK/Properties/Resources.resx +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/Source/OpenTK/RewrittenAttribute.cs b/Source/OpenTK/RewrittenAttribute.cs new file mode 100644 index 00000000..d49f1992 --- /dev/null +++ b/Source/OpenTK/RewrittenAttribute.cs @@ -0,0 +1,43 @@ +#region License +// +// The Open Toolkit Library License +// +// Copyright (c) 2006 - 2013 Stefanos Apostolopoulos for the Open Toolkit library +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do +// so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +// OTHER DEALINGS IN THE SOFTWARE. +// +#endregion + +using System; + +namespace OpenTK +{ + [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false, Inherited = false)] + class RewrittenAttribute : Attribute + { + internal bool Rewritten; + + public RewrittenAttribute(bool rewritten) + { + Rewritten = rewritten; + } + } +} + diff --git a/Source/OpenTK/SlotAttribute.cs b/Source/OpenTK/SlotAttribute.cs new file mode 100644 index 00000000..28fde6c3 --- /dev/null +++ b/Source/OpenTK/SlotAttribute.cs @@ -0,0 +1,55 @@ +#region License +// +// The Open Toolkit Library License +// +// Copyright (c) 2006 - 2013 Stefanos Apostolopoulos for the Open Toolkit library +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do +// so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +// OTHER DEALINGS IN THE SOFTWARE. +// +#endregion + +using System; + +namespace OpenTK +{ + /// + /// Defines the slot index for a wrapper function. + /// This type supports OpenTK and should not be + /// used in user code. + /// + [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)] + public class SlotAttribute : Attribute + { + /// + /// Defines the slot index for a wrapper function. + /// + internal int Slot; + + /// + /// Constructs a new instance. + /// + /// The slot index for a wrapper function. + public SlotAttribute(int index) + { + Slot = index; + } + } +} +